/* Little Manila Rising — Scheduler
   Brand: Paper White > Natural Green > Bright Blue ≈ Rising Gold > Dark Green */

@font-face {
  font-family: 'Didact Gothic';
  src: url('/fonts/didact-gothic-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Forum';
  src: url('/fonts/forum-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aileron';
  src: url('/fonts/aileron-latin-800-normal.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #053c00;
  --blue: #007a95;
  --gold: #e99e0f;
  --paper: #f8f7f0;
  --dark: #272d19;

  --ink: #1d2214;
  --ink-2: #4a5040;
  --ink-3: #757a6b;
  --line: #e2dfd2;
  --line-2: #d3cfbf;
  --card: #ffffff;
  --tint-green: #eaf0e3;
  --tint-blue: #e3f1f4;
  --tint-gold: #fcf1dc;
  --danger: #a3361f;
  --danger-tint: #f8e6e1;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(39, 45, 25, 0.06), 0 2px 8px rgba(39, 45, 25, 0.05);
  --font-head: 'Didact Gothic', system-ui, sans-serif;
  --font-body: 'Didact Gothic', system-ui, sans-serif;
  --font-serif: 'Forum', Georgia, serif;
  --font-label: 'Aileron', 'Didact Gothic', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}
a { color: var(--blue); }
a:hover { color: var(--green); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; margin: 0; color: var(--green); }
h1 { font-size: 30px; line-height: 1.2; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
.label, .eyebrow {
  font-family: var(--font-label);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11.5px;
  color: var(--ink-2);
}
.muted { color: var(--ink-3); }
.serif { font-family: var(--font-serif); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
svg.icon { width: 18px; height: 18px; flex: none; vertical-align: middle; }

/* ---------- Buttons & form ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
  border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px;
  cursor: pointer; text-decoration: none; white-space: nowrap; line-height: 1.2;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: var(--green); color: var(--green); }
.btn-primary { background: var(--green); border-color: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.btn-gold:hover { background: #d18b06; border-color: #d18b06; color: var(--dark); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-danger { color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); background: var(--danger-tint); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-icon { padding: 7px; border-radius: 8px; border-color: transparent; background: transparent; }
.btn-icon:hover { background: var(--tint-green); border-color: transparent; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }

.field { display: block; margin-bottom: 18px; }
.field > span.lbl { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.field .hint { display: block; font-size: 13px; color: var(--ink-3); margin-top: 5px; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=time],
select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 12px; min-height: 40px;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}
input:focus, select:focus, textarea:focus { outline-offset: 0; border-color: var(--blue); }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span {
  display: flex; align-items: center; padding: 0 10px; background: var(--paper); border: 1px solid var(--line-2);
  border-right: 0; border-radius: 8px 0 0 8px; color: var(--ink-3); font-size: 13.5px; white-space: nowrap;
}
.input-prefix input { border-radius: 0 8px 8px 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1 1 160px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.radio-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.radio-card { position: relative; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; background: #fff; cursor: pointer; display: block; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card strong { display: block; font-weight: 400; color: var(--ink); }
.radio-card small { color: var(--ink-3); font-size: 13px; }
.radio-card:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: var(--tint-green); }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: block; width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-2); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

.alert { border-radius: 8px; padding: 11px 14px; margin-bottom: 18px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: var(--tint-green); color: var(--green); border: 1px solid #c9d8bd; }
.alert-error { background: var(--danger-tint); color: var(--danger); border: 1px solid #ecc6bc; }
.alert-info { background: var(--tint-gold); color: #6b4a06; border: 1px solid #f1dcae; }
.alert ul { margin: 0; padding-left: 18px; }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.badge-blue { background: var(--tint-blue); border-color: #c5e1e8; color: #005b70; }
.badge-gold { background: var(--tint-gold); border-color: #f1dcae; color: #7a5304; }
.badge-off { background: #eee; color: #666; }
.badge svg.icon { width: 13px; height: 13px; }

/* ---------- Admin shell ---------- */
.shell { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.sidebar {
  background: var(--green); color: var(--paper); padding: 20px 14px; display: flex; flex-direction: column; gap: 6px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .brand { display: block; padding: 4px 8px 18px; text-decoration: none; }
.sidebar .brand img { width: 100%; max-width: 200px; display: block; }
.sidebar .brand small { display: block; margin-top: 8px; font-family: var(--font-label); font-weight: 800; letter-spacing: .14em; font-size: 10.5px; color: var(--gold); }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: #dfe6d6; text-decoration: none;
  border-left: 3px solid transparent;
}
.sidebar nav a:hover { background: rgba(248, 247, 240, 0.08); color: #fff; }
.sidebar nav a.active { background: rgba(248, 247, 240, 0.13); color: #fff; border-left-color: var(--gold); }
.sidebar .create { margin: 0 0 14px; }
.sidebar .spacer { flex: 1; }
.sidebar .me { display: flex; gap: 10px; align-items: center; padding: 12px 8px 4px; border-top: 1px solid rgba(248, 247, 240, 0.16); margin-top: 8px; }
.sidebar .me .who { min-width: 0; flex: 1; }
.sidebar .me .who div { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .me .who small { color: #b9c6ad; font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .me form { margin: 0; }
.sidebar .me button { background: none; border: 0; color: #b9c6ad; cursor: pointer; padding: 6px; border-radius: 6px; }
.sidebar .me button:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--dark); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-label); font-weight: 800; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 64px; height: 64px; font-size: 22px; }

.main { min-width: 0; }
.topbar { display: none; }
.page { padding: 34px 40px 60px; max-width: 1120px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.page-sub { color: var(--ink-3); margin: 6px 0 0; }
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin: 22px 0 24px; overflow-x: auto; }
.tabs a { padding: 10px 0; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active { color: var(--green); border-bottom-color: var(--green); }
.tabs a:hover { color: var(--green); }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.panel h2 { margin-bottom: 4px; }
.panel .panel-sub { color: var(--ink-3); margin: 0 0 18px; font-size: 14px; }

.owner-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 14px; flex-wrap: wrap; }
.owner-row .who { display: flex; align-items: center; gap: 10px; }
.search { position: relative; max-width: 420px; margin-top: 20px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search input { padding-left: 38px; border-radius: 999px; }

/* Event type cards */
.et-list { display: flex; flex-direction: column; gap: 14px; }
.et-card {
  position: relative; display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 18px 26px; box-shadow: var(--shadow); overflow: hidden;
}
.et-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c, var(--green)); }
.et-card.off { opacity: .62; }
.et-card .info { flex: 1; min-width: 0; }
.et-card h3 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--ink); font-size: 19px; }
.et-card h3 a { color: inherit; text-decoration: none; }
.et-card h3 a:hover { color: var(--green); text-decoration: underline; }
.et-card .meta { color: var(--ink-2); font-size: 14px; margin-top: 3px; }
.et-card .meta .dot { margin: 0 6px; color: var(--ink-3); }
.et-card .avail { color: var(--ink-3); font-size: 14px; }
.et-card .tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.menu { position: relative; }
.menu-list {
  position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 28px rgba(39, 45, 25, .16); min-width: 200px; padding: 6px; z-index: 20;
}
.menu-list a, .menu-list button {
  display: flex; width: 100%; gap: 10px; align-items: center; text-align: left; padding: 9px 10px; border: 0; background: none;
  font: inherit; font-size: 14px; color: var(--ink); text-decoration: none; border-radius: 6px; cursor: pointer;
}
.menu-list a:hover, .menu-list button:hover { background: var(--paper); }
.menu-list .danger { color: var(--danger); }
.menu-list form { margin: 0; }
.menu-list hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }

.empty { text-align: center; padding: 48px 20px; color: var(--ink-3); background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty h3 { color: var(--ink-2); margin-bottom: 6px; }

/* Availability */
.day-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.day-row:last-child { border-bottom: 0; }
.day-row .ranges { display: flex; flex-direction: column; gap: 8px; }
.range { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.range input[type=time] { width: 130px; flex: none; }
.day-row .unavailable { color: var(--ink-3); padding-top: 8px; }
.day-row .check { padding-top: 9px; }

/* Tables / lists */
.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.list-item { display: flex; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.list-item:last-child { border-bottom: 0; }
.list-item .grow { flex: 1; min-width: 200px; }
.list-date { padding: 10px 20px; background: var(--paper); border-bottom: 1px solid var(--line); font-family: var(--font-label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; color: var(--ink-2); }
.dot-c { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--green)); flex: none; }
.when { min-width: 150px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--paper); }
details.cancel-box summary { list-style: none; }
details.cancel-box summary::-webkit-details-marker { display: none; }
details.cancel-box[open] { flex-basis: 100%; }
.cancel-form { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.cancel-form input { flex: 1 1 240px; }

/* ---------- Public pages ---------- */
.pub { min-height: 100vh; display: flex; flex-direction: column; }
.pub-header { padding: 22px 24px 0; display: flex; justify-content: center; }
.pub-header img { height: 54px; width: auto; }
.pub-main { flex: 1; display: flex; justify-content: center; padding: 24px 16px 40px; }
.pub-card {
  position: relative; width: 100%; max-width: 1000px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 2px 4px rgba(39, 45, 25, .05), 0 10px 30px rgba(39, 45, 25, .07); overflow: hidden;
}
.pub-card.narrow { max-width: 640px; }
.pub-card .sunrule { height: 5px; background: linear-gradient(90deg, var(--green) 0 50%, var(--blue) 50% 75%, var(--gold) 75% 100%); }
.pub-footer { text-align: center; color: var(--ink-3); font-size: 13px; padding: 0 16px 28px; }
.pub-footer a { color: var(--ink-3); }

.landing-head { text-align: center; padding: 40px 24px 10px; }
.landing-head .avatar-lg { margin-bottom: 12px; }
.landing-head h1 { font-size: 26px; }
.landing-head .role { color: var(--ink-3); margin-top: 2px; }
.landing-head .welcome { font-family: var(--font-serif); font-size: 19px; color: var(--ink-2); max-width: 520px; margin: 14px auto 0; line-height: 1.45; }
.landing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; padding: 18px 56px 48px; }
.landing-item {
  display: flex; align-items: center; gap: 16px; padding: 26px 6px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.landing-item:hover { background: var(--paper); }
.landing-item .dot-c { width: 26px; height: 26px; }
.landing-item .t { flex: 1; }
.landing-item .t strong { display: block; font-weight: 400; font-size: 18px; color: var(--ink); }
.landing-item .t small { color: var(--ink-3); font-size: 14px; }
.landing-item .chev { color: var(--green); }

/* Booking widget */
.book { display: grid; grid-template-columns: 300px 1fr; min-height: 560px; }
.book-info { padding: 28px 26px; border-right: 1px solid var(--line); }
.book-info .back { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); align-items: center; justify-content: center; color: var(--blue); margin-bottom: 16px; }
.book-info .host { color: var(--ink-3); display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.book-info h1 { font-size: 26px; margin-bottom: 16px; color: var(--ink); }
.book-info .facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.book-info .facts li { display: flex; gap: 10px; align-items: flex-start; }
.book-info .facts svg { margin-top: 2px; color: var(--ink-3); }
.book-info .desc { color: var(--ink-2); white-space: pre-line; font-size: 14.5px; }
.book-info .resched { background: var(--tint-gold); border: 1px solid #f1dcae; border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #6b4a06; margin-bottom: 14px; }

.book-pick { padding: 28px 30px; display: flex; flex-direction: column; }
.book-pick h2 { color: var(--ink); font-size: 20px; margin-bottom: 18px; }
.pick-grid { display: grid; grid-template-columns: minmax(0, 1fr) 0; gap: 0; transition: grid-template-columns .2s; }
.pick-grid.has-day { grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; }
.cal-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 14px; }
.cal-head .m { min-width: 160px; text-align: center; font-size: 16px; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tint-blue); color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cal-nav:disabled { background: transparent; color: var(--line-2); cursor: default; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal .dow { font-family: var(--font-label); font-weight: 800; font-size: 11px; letter-spacing: .08em; color: var(--ink-3); padding: 6px 0; }
.cal button {
  aspect-ratio: 1; max-width: 48px; width: 100%; margin: 0 auto; border-radius: 50%; border: 0; font: inherit; font-size: 15px;
  background: transparent; color: var(--ink-3); cursor: default;
}
.cal button.avail { background: var(--tint-blue); color: var(--blue); cursor: pointer; font-weight: 700; }
.cal button.avail:hover { background: #cde6ec; }
.cal button.sel { background: var(--blue); color: #fff; }
.cal button.today { position: relative; }
.cal button.today::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transform: translateX(-50%); }
.tz { margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.tz label { display: block; margin-bottom: 6px; }
.tz select { max-width: 320px; }
.times h3 { font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.times-list { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.time-row { display: flex; gap: 8px; }
.time-btn {
  flex: 1; border: 1px solid var(--blue); color: var(--blue); background: #fff; border-radius: 8px; padding: 12px; font: inherit;
  font-weight: 700; cursor: pointer; transition: all .15s;
}
.time-btn:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.time-row.chosen .time-btn { background: var(--ink-2); border-color: var(--ink-2); color: #fff; flex: 0 0 48%; }
.time-next { flex: 1; display: none; }
.time-row.chosen .time-next { display: inline-flex; border-radius: 8px; }
.loading { color: var(--ink-3); padding: 30px 0; text-align: center; }
.notice { color: var(--ink-2); background: var(--paper); border-radius: 8px; padding: 14px 16px; font-size: 14px; }

.book-form { max-width: 520px; }
.book-form .chosen-time { display: flex; gap: 10px; align-items: center; color: var(--ink-2); margin-bottom: 18px; }
.hp { position: absolute; left: -9999px; }

/* Confirmation */
.confirm { padding: 40px 36px; text-align: center; }
.confirm .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--tint-green); color: var(--green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.confirm .ok.cx { background: var(--danger-tint); color: var(--danger); }
.confirm .ok svg { width: 28px; height: 28px; }
.confirm h1 { margin-bottom: 6px; }
.summary { text-align: left; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin: 24px auto 0; max-width: 460px; }
.summary h3 { color: var(--ink); margin-bottom: 10px; }
.summary ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.summary li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.summary svg { margin-top: 2px; color: var(--ink-3); }
.manage { margin-top: 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Login */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: var(--green); color: var(--paper); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art img { width: 280px; max-width: 100%; position: relative; }
.login-art .rays { position: absolute; right: -140px; bottom: -140px; width: 520px; height: 520px; opacity: .22; }
.login-art blockquote { font-family: var(--font-serif); font-size: 28px; line-height: 1.3; margin: 0; max-width: 420px; position: relative; padding-left: 18px; border-left: 2px solid var(--gold); }
.login-art .foot { font-size: 13px; color: #b9c6ad; position: relative; }
.login-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.login-form .box { width: 100%; max-width: 380px; }
.login-form h1 { margin: 8px 0 8px; }
.login-form p { color: var(--ink-2); }
.gbtn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 12px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; margin-top: 22px; }
.gbtn:hover { border-color: var(--green); color: var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 270px; z-index: 50; transform: translateX(-100%); transition: transform .2s; }
  .shell.nav-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .3); }
  .topbar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--green); position: sticky; top: 0; z-index: 40; }
  .topbar img { height: 34px; }
  .topbar button { background: none; border: 0; color: var(--paper); padding: 6px; cursor: pointer; }
  .page { padding: 24px 16px 48px; }
  .et-card { flex-direction: column; align-items: stretch; }
  .et-card .tools { justify-content: flex-start; }
  .et-card .menu-list { left: 0; right: auto; }
  .book { grid-template-columns: 1fr; }
  .book-info { border-right: 0; border-bottom: 1px solid var(--line); }
  .pick-grid.has-day { grid-template-columns: 1fr; }
  .landing-grid { grid-template-columns: 1fr; padding: 10px 20px 30px; }
  .login { grid-template-columns: 1fr; }
  .login-art { padding: 28px 24px; min-height: 0; gap: 24px; }
  .login-art blockquote { font-size: 22px; }
  .day-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 520px) {
  .book-pick { padding: 22px 16px; }
  .book-info { padding: 22px 18px; }
  .confirm { padding: 32px 18px; }
  .pub-main { padding: 12px 10px 28px; }
  h1 { font-size: 25px; }
}
