:root {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', system-ui, sans-serif;
  color: #203d45;
  background: #f3f6f5;
  font-synthesis: none;
  --ink: #203d45;
  --muted: #63797e;
  --teal: #09686a;
  --dark: #123f45;
  --line: #dce6e4;
  --mint: #e9f4ee;
  --white: #fff;
  --red: #ad3b39;
  --amber: #94650d;
  --shadow: 0 12px 40px #203d4508;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e6a841;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 15px;
}
small {
  font-size: 11px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: ui-monospace, monospace;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 12px;
  background: var(--white);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.initial-loading {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  background: #f5f8f7;
  text-decoration: none;
}
.btn.primary {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}
.btn.primary:hover {
  background: #07575a;
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
}
.btn.small {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 12px;
}
.btn.danger {
  color: var(--red);
  border-color: #eacac7;
}
.btn.danger:hover {
  background: #fff3f1;
}
.btn.icon {
  width: 37px;
  padding: 0;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 9px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: #edf2f1;
  color: #5b7074;
  white-space: nowrap;
}
.pill.green {
  background: #e5f2e8;
  color: #2f6f46;
}
.pill.teal {
  background: #e1f1f0;
  color: #0b6267;
}
.pill.red {
  background: #ffedea;
  color: #a53e37;
}
.pill.amber {
  background: #fff3d6;
  color: #92640f;
}
.dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.panel-head {
  padding: 19px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel-body {
  padding: 23px;
}
.empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--muted);
}
.empty .empty-icon {
  font-size: 29px;
  display: block;
  color: #8eaaa8;
  margin-bottom: 8px;
}
.empty strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 5px;
}
.notice {
  border-radius: 9px;
  padding: 13px 16px;
  background: #f1f7f6;
  color: #466666;
  font-size: 12px;
  line-height: 1.8;
}
.notice.error {
  background: #fff0ed;
  color: #a33b37;
  border: 1px solid #f0d2cb;
}
.notice.warning {
  background: #fff8e6;
  color: #7d652c;
}
.page-error {
  padding: 25px;
}
.loading-line {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
.text-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
}
.section-gap {
  margin-top: 24px;
}
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 20px;
}
.mini-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Plan cards shared by the public homepage and workspace. */
.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  position: relative;
}
.plan-card.featured {
  border: 2px solid var(--teal);
  background: #f8fcf9;
}
.plan-card .plan-price {
  font-size: 33px;
  letter-spacing: -0.05em;
  margin: 18px 0 6px;
  font-weight: 800;
}
.plan-price small {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.plan-features li {
  font-size: 12px;
  margin: 10px 0;
  color: var(--muted);
  display: flex;
  gap: 9px;
}
.plan-features li:before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  color: var(--muted);
  font-size: 13px;
  padding: 14px 0 0;
}
/* Workspace */
.workspace {
  display: grid;
  grid-template-columns: 228px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 25px 16px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  width: 228px;
  z-index: 20;
}
.sidebar .brand {
  margin: 0 9px 31px;
  font-size: 14px;
}
.sidebar .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 20px;
}
.nav-group-label {
  font-size: 10px;
  color: #879798;
  letter-spacing: 0.1em;
  margin: 24px 14px 8px;
}
.side-nav {
  display: grid;
  gap: 4px;
}
.side-nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #5b7074;
}
.side-nav a:hover {
  background: #f3f7f5;
  text-decoration: none;
}
.side-nav a.active {
  color: var(--teal);
  background: #eaf4ed;
  font-weight: 700;
}
.nav-symbol {
  width: 19px;
  font-size: 17px;
  line-height: 1;
  text-align: center;
}
.side-foot {
  margin-top: auto;
  padding-top: 30px;
}
.account-tile {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 10px;
  border-top: 1px solid var(--line);
}
.avatar {
  background: #dcece3;
  color: #426958;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.account-tile strong {
  font-size: 12px;
  display: block;
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-tile small {
  display: block;
  font-size: 10px;
}
.main-column {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 34px;
  background: #ffffffd9;
  gap: 20px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb span {
  color: var(--ink);
  font-weight: 600;
  margin-left: 12px;
}
.store-switch {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 12px;
  min-height: 36px;
  max-width: 230px;
  padding: 6px 28px 6px 12px;
}
.date-stamp {
  font-size: 12px;
  color: var(--muted);
}
.page {
  max-width: 1610px;
  margin: auto;
  padding: 30px 34px 45px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.page-heading h1 {
  font-size: 27px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  padding: 19px 20px;
  border-radius: 12px;
}
.metric-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 8px 0 1px;
  line-height: 1.3;
}
.metric-value small {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 5px;
}
.metric-foot {
  font-size: 10px;
  color: #849492;
}
.metric-icon {
  color: #6c8f86;
  font-size: 15px;
}
.reservation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 21px;
  align-items: start;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 19px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.view-switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: #f0f4f2;
  border-radius: 8px;
}
.view-switch button {
  border: 0;
  background: transparent;
  padding: 7px 11px;
  font-size: 11px;
  color: var(--muted);
  border-radius: 6px;
  font-weight: 600;
}
.view-switch button.active {
  background: #fff;
  color: var(--teal);
  box-shadow: 0 1px 5px #203d4510;
}
.date-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}
.date-nav input {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  min-width: 127px;
}
.schedule-scroll {
  overflow-x: auto;
  padding-bottom: 10px;
}
.schedule {
  min-width: 610px;
}
.schedule-header,
.schedule-row {
  display: grid;
  grid-template-columns: 96px 1fr;
}
.schedule-header {
  height: 39px;
  background: #fcfdfc;
  border-bottom: 1px solid var(--line);
}
.schedule-header > span {
  font-size: 10px;
  color: var(--muted);
  padding: 11px 13px;
  border-right: 1px solid var(--line);
}
.schedule-hours {
  position: relative;
  margin-right: 16px;
}
.hour-mark {
  position: absolute;
  transform: translateX(-50%);
  font-size: 10px;
  top: 11px;
  color: #839290;
}
.hour-mark:first-child {
  transform: none;
}
.schedule-row {
  min-height: 85px;
  border-bottom: 1px solid #edf1ef;
}
.table-label {
  padding: 18px 12px;
  border-right: 1px solid var(--line);
}
.table-label strong {
  display: block;
  font-size: 11px;
}
.table-label small {
  font-size: 9px;
}
.schedule-track {
  position: relative;
  margin-right: 16px;
  background: repeating-linear-gradient(
    to right,
    transparent,
    transparent calc(16.6667% - 1px),
    #edf1ef calc(16.6667% - 1px),
    #edf1ef 16.6667%
  );
  min-height: 84px;
}
.booking {
  position: absolute;
  top: 12px;
  min-height: 58px;
  background: #e9f2e7;
  border: 1px solid #d1e5cf;
  border-left: 3px solid #74a364;
  border-radius: 6px;
  text-align: left;
  padding: 7px 9px;
  overflow: hidden;
  color: #325c39;
  min-width: 40px;
}
.booking strong {
  font-size: 11px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.booking small {
  font-size: 9px;
  color: inherit;
  white-space: nowrap;
}
.booking.arrived {
  background: #e6f1f2;
  border-color: #c9e2e4;
  border-left-color: #4f9196;
  color: #2b6065;
}
.schedule-note {
  padding: 12px 19px;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.schedule-note i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block;
  background: #d7e9d0;
  margin-right: 6px;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  min-width: 700px;
}
.week-day {
  border-right: 1px solid var(--line);
  min-height: 260px;
  padding: 12px 9px;
}
.week-day:last-child {
  border: 0;
}
.week-day-head {
  text-align: center;
  margin-bottom: 13px;
  font-size: 11px;
  color: var(--muted);
}
.week-day-head strong {
  font-size: 23px;
  display: block;
  color: var(--ink);
}
.week-day.today {
  background: #f3faf5;
}
.week-booking {
  border: 0;
  border-left: 3px solid #8eac81;
  border-radius: 4px;
  background: #edf4e9;
  width: 100%;
  padding: 7px;
  margin-bottom: 7px;
  text-align: left;
  font-size: 10px;
  color: #365c3d;
}
.week-booking strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-wrap {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.data-table th {
  text-align: left;
  padding: 12px 17px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  background: #fafcfb;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 13px 17px;
  border-bottom: 1px solid #edf1ef;
  vertical-align: middle;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table td strong {
  font-size: 12px;
}
.data-table .subtext {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.data-table .nowrap {
  white-space: nowrap;
}
.upcoming {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.upcoming:last-child {
  border: 0;
}
.upcoming-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 7px;
}
.upcoming-time {
  font-size: 17px;
  font-weight: 700;
}
.upcoming-name {
  font-size: 12px;
  font-weight: 600;
}
.upcoming-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.readiness {
  background: #f5f8f1;
  border: 1px solid #e0e9d9;
  border-radius: 13px;
  padding: 19px;
}
.readiness h3 {
  font-size: 12px;
}
.check-item {
  display: flex;
  gap: 9px;
  font-size: 11px;
  color: #58695a;
  margin-top: 11px;
}
.check-circle {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #b8c8b3;
  font-size: 10px;
  flex-shrink: 0;
}
.check-circle.done {
  background: #729166;
  color: white;
  border-color: #729166;
}
.notification-item {
  padding: 14px 18px;
  border-bottom: 1px solid #edf1ef;
  font-size: 11px;
}
.notification-item:last-child {
  border: 0;
}
.notification-item time {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.notification-item .text-link {
  margin-top: 7px;
  font-size: 10px;
}
.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.filter-row input,
.filter-row select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  background: #fff;
  font-size: 12px;
}
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.tabs button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 15px;
  font-size: 12px;
  color: var(--muted);
}
.tabs button.active {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}
.setting-summary {
  padding: 18px 21px;
  display: flex;
  gap: 24px;
  align-items: center;
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 22px;
}
.setting-summary strong {
  font-size: 23px;
}
.setting-summary small {
  display: block;
}
.account-card {
  max-width: 700px;
}
.definition-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  font-size: 12px;
  margin: 0;
}
.definition-list dt {
  color: var(--muted);
}
.definition-list dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Forms and dialogs */
form {
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 18px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.field {
  display: grid;
  align-content: start;
  gap: 6px;
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfdcd8;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  min-height: 42px;
  min-width: 0;
}
.field textarea {
  resize: vertical;
  min-height: 87px;
}
.field small {
  font-size: 10px;
  line-height: 1.7;
  font-weight: 400;
}
.required {
  color: #a75743;
  font-size: 10px;
  margin-left: 5px;
}
.field input:disabled {
  background: #f3f6f4;
  color: var(--muted);
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}
.checkbox-line input {
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 0;
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.form-error {
  margin-top: 15px;
}
.form-success {
  margin-top: 15px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.section-title p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}
.toggle-field {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.form-inline-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0;
}
.danger-zone {
  padding: 20px;
  border: 1px solid #e6d6d2;
  border-radius: 12px;
  margin-top: 24px;
}
.danger-zone h3 {
  color: #974b41;
  font-size: 13px;
}
.danger-zone p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 13px;
}
dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(650px, calc(100vw - 28px));
  max-height: calc(100vh - 55px);
  box-shadow: 0 28px 100px #102e4540;
  color: var(--ink);
  overflow: auto;
}
dialog::backdrop {
  background: #12313c65;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.dialog-head h2 {
  font-size: 19px;
}
.dialog-body {
  padding: 24px 25px;
}
.dialog-intro {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 20px;
}
.login-dialog {
  width: min(460px, calc(100vw - 28px));
}
.login-dialog .form-grid {
  grid-template-columns: 1fr;
}
.login-dialog .btn.primary {
  width: 100%;
}
#toast {
  position: fixed;
  right: 26px;
  bottom: 25px;
  z-index: 80;
  background: var(--dark);
  color: white;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 10px 30px #203d4530;
  transform: translateY(100px);
  opacity: 0;
  transition: 0.2s;
  max-width: calc(100vw - 40px);
}
#toast.show {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu {
  display: none;
}
.noscript {
  padding: 24px;
  color: var(--red);
  background: #fff1ec;
}

@media (min-width: 1500px) {
  .reservation-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .schedule-row {
    min-height: 97px;
  }
  .schedule-track {
    min-height: 96px;
  }
  .booking {
    top: 16px;
    min-height: 61px;
  }
}
@media (max-width: 1200px) {
  .reservation-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .reservation-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .reservation-aside > .section-gap {
    margin-top: 0;
  }
  .reservation-aside .readiness {
    grid-column: 1/-1;
  }
  .page {
    padding: 27px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
}
@media (max-width: 960px) {
  .workspace {
    grid-template-columns: 190px 1fr;
  }
  .sidebar {
    width: 190px;
    padding: 22px 10px;
  }
  .sidebar .brand {
    font-size: 12px;
    gap: 8px;
  }
  .sidebar .brand-mark {
    width: 29px;
    height: 29px;
    font-size: 18px;
  }
  .side-nav a {
    font-size: 11px;
    padding: 10px;
  }
  .topbar {
    height: 65px;
  }
  .date-stamp {
    display: none;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric {
    padding: 15px;
  }
  .metric-value {
    font-size: 25px;
  }
  .grid-three {
    grid-template-columns: 1fr;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .plan-card {
    padding: 19px;
  }
  .plan-card .plan-price {
    font-size: 26px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
}
@media (max-width: 720px) {
  .workspace {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 228px;
    box-shadow: 10px 0 50px #234c4520;
  }
  .workspace.menu-open .sidebar {
    transform: translateX(0);
  }
  .workspace.menu-open:after {
    content: '';
    position: fixed;
    inset: 0;
    background: #123f4533;
    z-index: 15;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .menu-close {
    align-self: flex-end;
    margin-bottom: 12px;
  }
  .main-column {
    width: 100%;
  }
  .topbar {
    padding: 0 17px;
    gap: 10px;
    height: 62px;
  }
  .breadcrumb {
    display: none;
  }
  .store-switch {
    max-width: 180px;
  }
  .page {
    padding: 22px 16px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading > .actions .btn {
    padding: 9px 11px;
    font-size: 11px;
    min-height: 38px;
  }
  .page-heading > .actions .btn.ghost {
    display: none;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .metric-value {
    font-size: 27px;
  }
  .metric {
    padding: 15px 16px;
  }
  .reservation-aside {
    display: block;
  }
  .reservation-aside > .section-gap {
    margin-top: 20px;
  }
  .panel-head {
    padding: 16px;
  }
  .panel-body {
    padding: 18px;
  }
  .toolbar {
    padding: 12px;
  }
  .date-nav {
    gap: 2px;
  }
  .view-switch button {
    padding: 6px 9px;
  }
  .reservation-layout {
    gap: 18px;
  }
  .definition-list {
    grid-template-columns: 105px 1fr;
  }
  .plan-card .plan-price {
    font-size: 33px;
  }
  .dialog-head {
    padding: 18px 20px;
  }
  .dialog-body {
    padding: 20px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .data-table th,
  .data-table td {
    padding: 11px 12px;
  }
  .setting-summary {
    flex-wrap: wrap;
    gap: 18px;
  }
  .tabs {
    gap: 5px;
  }
  .tabs button {
    font-size: 11px;
    padding: 8px 11px;
  }
  .filter-row {
    padding: 14px;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.spread {
  justify-content: space-between;
}
.section-bottom {
  margin-bottom: 20px;
}
.schedule-note .legend-teal {
  background: #c9e3e4;
}
.recording-audio {
  width: 100%;
  margin-top: 12px;
}
.number-assignment {
  margin: 6px 0 12px;
}
.transcript {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 14px 0;
  max-height: 350px;
  overflow: auto;
}
.transcript li {
  background: #f3f7f4;
  padding: 12px 15px;
  border-radius: 8px;
}
.transcript strong {
  font-size: 10px;
  color: var(--teal);
}
.transcript p {
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.filter-row.panel {
  margin-bottom: 17px;
}
.filter-row input[name='query'] {
  flex: 1;
  min-width: 190px;
}
.legal-reading {
  max-height: 45vh;
  overflow: auto;
  padding: 15px 18px;
  background: #f4f7f5;
  border-radius: 10px;
}
.legal-reading section + section {
  margin-top: 18px;
}
.legal-reading p {
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 12px;
  margin-top: 7px;
}
/* Standalone account entry pages share the same compact form treatment. */
.standalone-entry {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}
.entry-card {
  width: min(100%, 540px);
}
.entry-card .form-grid {
  grid-template-columns: 1fr;
}
.entry-card h1 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
}
.notification-settings {
  margin-top: 24px;
  padding-top: 28px;
  border-top: 1px solid #dce7e5;
}
.notification-settings > p {
  margin: 12px 0 20px;
}
.notification-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin: 20px 0;
}
.notification-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #dce7e5;
  border-radius: 16px;
  background: #f8fbfa;
}
.notification-card h3 {
  margin-bottom: 16px;
}
.notification-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 16px;
}
.notification-switch input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: #087074;
}
.notification-card fieldset {
  margin-top: 20px;
  min-width: 0;
}
.notification-card fieldset:disabled {
  opacity: 0.5;
}
.notification-choice-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.notification-card .field {
  min-width: 0;
  width: 100%;
}
.notification-preview {
  margin: 8px 0 0;
  padding: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 13px;
  background: white;
  border-radius: 8px;
}
.reception-summary {
  padding: 20px 32px 0;
}
.reception-summary:empty {
  display: none;
}
.reception-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #bddbd6;
  border-left: 5px solid #087074;
  border-radius: 14px;
}
.reception-banner.needs-setup {
  border-left-color: #cc8a17;
}
.reception-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #446b71;
}
.reception-number {
  display: block;
  color: #08676d;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.5;
  white-space: nowrap;
}
.reception-status {
  flex: 1 1 230px;
}
.reception-status p {
  margin: 4px 0 0;
  font-size: 14px;
}
.setting-caption {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.setting-caption label {
  margin: 0;
}
.help-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 0;
  border: 1px solid #6b9396;
  border-radius: 50%;
  background: #f4faf9;
  color: #075c63;
  font-weight: 800;
  font-family: Georgia, serif;
  font-size: 18px;
  cursor: pointer;
}
.help-info:hover,
.help-info:focus-visible {
  background: #dcefe9;
  outline-offset: 3px;
}
.setting-field {
  gap: 8px;
}
.opening-phone {
  padding: 18px 22px;
  background: #eaf5f1;
  border-radius: 12px;
}
.opening-phone small {
  display: block;
}
.opening-steps {
  padding-left: 28px;
  margin: 24px 0;
}
.opening-steps > li {
  padding: 0 0 24px 8px;
  margin: 0 0 24px;
  border-bottom: 1px solid #dce7e5;
}
.opening-steps > li::marker {
  color: #087074;
  font-size: 20px;
  font-weight: 800;
}
.opening-steps h3 {
  margin: 0 0 12px;
}
.opening-steps p {
  margin: 8px 0 14px;
}
.opening-steps .pill {
  display: inline-block;
  margin: 4px;
  font-size: 12px;
}
.opening-blockers {
  padding-left: 20px;
  color: #835c15;
}
.opening-blockers li {
  margin: 10px 0;
}
.opening-test-progress {
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}
.opening-test-progress li {
  flex: 1;
  padding: 10px 4px;
  color: #526c76;
  border-bottom: 3px solid #dce7e5;
  font-size: 14px;
}
.opening-test-progress [aria-current] {
  color: #075c63;
  border-color: #087074;
  font-weight: 800;
}
.opening-test-progress span {
  display: inline-block;
  margin-right: 6px;
}
.opening-test-instructions {
  padding-left: 22px;
  margin: 24px 0;
}
.opening-test-instructions li {
  margin: 12px 0;
}
.opening-test-back {
  border-top: 1px solid #dce7e5;
  margin-top: 24px;
  padding-top: 16px;
}
.opening-test-status {
  padding: 32px 12px;
}
.opening-reservation {
  padding: 18px 22px;
  background: #f0f6f4;
  border: 1px solid #dce7e5;
  border-radius: 12px;
  margin-top: 20px;
}
.opening-reservation h4 {
  margin: 0 0 12px;
  font-size: 18px;
}
.opening-reservation dl {
  margin-bottom: 0;
}
.opening-reservation dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #dce7e5;
}
.opening-reservation dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.opening-test-help {
  margin: 20px 0;
}
.opening-test-help summary {
  color: #075c63;
  cursor: pointer;
}
@media (max-width: 640px) {
  .opening-test-progress {
    gap: 6px;
  }
  .opening-test-progress li {
    font-size: 12px;
  }
  .opening-reservation {
    padding: 14px;
  }
  .opening-reservation dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .reception-summary {
    padding: 12px 16px 0;
  }
  .reception-banner {
    padding: 16px;
    gap: 12px;
  }
  .reception-banner > .btn {
    width: 100%;
  }
  .opening-steps {
    padding-left: 23px;
  }
  .opening-steps > li {
    padding-left: 2px;
  }
  .opening-guide .btn {
    max-width: 100%;
    white-space: normal;
  }
  .opening-phone {
    padding: 16px 14px;
  }
  .opening-phone .reception-number {
    font-size: 20px;
  }
}
/* Keep an already open form intact when a newer workspace is deployed. */
.workspace-update:not([hidden]) {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: #163d47;
  background: #fff8df;
  border: 1px solid #d2a94f;
  border-radius: 12px;
  box-shadow: 0 4px 20px #0002;
}
