/* Hotel Assistant. NLD locked identity: ink, paper, slash (brand-assets/nld/production/tokens.css).
   Sizes are larger than the print scale there, because this is read one-handed on a phone. */
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }
:root {
  color-scheme: only light;
  --ink: #1A1A1A; --paper: #F5F2EC; --accent: #FF6B35;
  --line: #E5E2DC; --body: #4A4A4A; --on-ink: #B9B5AD;
  --skew: skewX(-18deg);
  --pad: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { height: 100%; margin: 0; overscroll-behavior: none; }
body {
  background: var(--ink); color: var(--ink);
  font: 400 1rem/1.45 'Satoshi', 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: left; touch-action: manipulation; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.main:focus, .sheet:focus { outline: none; }

.app { position: relative; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); }
.page { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.page::-webkit-scrollbar { display: none; }

/* ---- Top ---- */
.top { background: var(--ink); color: var(--paper); padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--pad) 24px; overflow: hidden; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 12px; font-size: .875rem; color: var(--on-ink); }
.pill { min-height: 48px; display: inline-flex; align-items: center; }
.pill span { border: 1px solid #5c5a56; border-radius: 4px; padding: 5px 10px; color: var(--paper); font-size: .8125rem; font-weight: 500; }
h1 { font-size: 1.75rem; line-height: 1.15; font-weight: 900; letter-spacing: -.02em; text-wrap: balance; }
.lede { color: var(--on-ink); margin-top: 8px; max-width: 34ch; text-wrap: pretty; }

.hero { display: flex; align-items: center; margin: 24px 0 4px; }
.hero b { font-size: 7.5rem; line-height: .86; font-weight: 900; letter-spacing: -.06em; }
.hero i { flex: none; width: 13px; height: 100px; margin: 0 32px 0 30px; background: var(--accent); border-radius: 1px; transform: var(--skew); }
.hero span { font-size: 1.375rem; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; max-width: 8ch; }
.hero + .lede { margin-top: 20px; }
.hero + .lede strong { color: var(--paper); font-weight: 700; }

/* ---- Lists ---- */
.main { padding: 0 var(--pad) 32px; }
.jump { display: grid; grid-template-columns: 1fr 1fr; margin: 0 calc(var(--pad) * -1); border-bottom: 1px solid var(--line); background: #fff; }
.jump button { padding: 16px var(--pad); min-height: 76px; display: flex; gap: 12px; align-items: center; font-size: .9375rem; line-height: 1.2; font-weight: 500; }
.jump button + button { border-left: 1px solid var(--line); }
.jump b { font-size: 2rem; line-height: 1; font-weight: 900; letter-spacing: -.03em; }

.group { margin-top: 28px; }
h2 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 700; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
h2::before { content: ''; width: 5px; height: 14px; background: var(--accent); border-radius: 1px; transform: var(--skew); }
h2 span { margin-left: auto; font-weight: 500; color: var(--body); }

.row { display: grid; grid-template-columns: 1fr 56px; border-bottom: 1px solid var(--line); overflow: hidden; }
.open { padding: 16px 8px 16px 0; min-width: 0; }
.who { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 1.0625rem; line-height: 1.25; font-weight: 700; }
.who time { flex: none; font-size: .8125rem; font-weight: 500; color: var(--body); }
.sum { display: block; margin-top: 4px; color: var(--body); overflow-wrap: anywhere; text-wrap: pretty; }
.note .sum { margin-top: 0; color: var(--ink); font-weight: 500; font-size: 1.0625rem; line-height: 1.35; }
.tags { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin-top: 8px; font-size: .875rem; line-height: 1.5; font-weight: 500; color: var(--ink); }
.hot { background: var(--accent); color: var(--ink); font-weight: 700; padding: 1px 8px; border-radius: 4px; }
.tags .soft { color: var(--body); }

.tick { display: grid; place-items: center; align-self: stretch; margin-right: -12px; }
.tick svg { width: 32px; height: 32px; border: 2px solid #8A8A8A; border-radius: 50%; padding: 5px; fill: none; stroke: transparent; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; transition: background .15s, border-color .15s, transform .2s var(--ease); }
.tick:active svg { transform: scale(.88); }
.going .tick svg { background: var(--ink); border-color: var(--ink); stroke: var(--paper); }
.going { overflow: hidden; animation: going .42s .12s var(--ease) forwards; }
@keyframes going { 40% { opacity: .35; } to { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; border-bottom-width: 0; } }
.fresh { animation: fresh 2s ease-out; }
@keyframes fresh { 0%, 45% { background: #fff; } }

.draft { border-bottom: 1px solid var(--line); padding: 20px 0; }
.quote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; white-space: pre-line; }
.paper { margin: 12px 0; padding: 14px 16px; background: #fff; border-radius: 8px; }
.draft .sum { margin: 0 0 14px; font-size: .9375rem; }

.empty { padding: 56px 0 32px; }
.empty i { display: block; width: 10px; height: 56px; margin: 0 0 24px 10px; background: var(--accent); border-radius: 1px; transform: var(--skew); }
.empty b { display: block; font-size: 1.5rem; line-height: 1.2; font-weight: 900; letter-spacing: -.02em; }
.empty p { color: var(--body); margin-top: 8px; max-width: 32ch; }

.foot { margin-top: 36px; font-size: .875rem; color: var(--body); }
.foot .btn { margin-bottom: 20px; font-size: 1rem; color: var(--ink); }
.by { display: flex; align-items: center; gap: 8px; }
.by svg { width: 20px; height: 20px; }

/* ---- Buttons ---- */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 8px; border: 2px solid var(--ink); font-weight: 700; text-align: center; line-height: 1.2; transition: transform .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.go { background: var(--accent); border-color: var(--accent); }
.btn:disabled { background: var(--line); border-color: var(--line); color: var(--body); cursor: default; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---- Bottom bar ---- */
.nav { flex: none; position: relative; display: grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; background: #fff; border-top: 1px solid var(--line); padding: 0 4px var(--bottom); }
.nav button { position: relative; height: 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: .75rem; line-height: 1.2; font-weight: 500; color: var(--body); white-space: nowrap; }
.nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav [aria-current] { color: var(--ink); font-weight: 900; }
.nav [aria-current]::before { content: ''; position: absolute; top: -1px; width: 34px; height: 4px; background: var(--accent); transform: var(--skew); }
.nav em { position: absolute; top: 8px; left: calc(50% + 7px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--paper); font: 700 .6875rem/19px 'Satoshi', sans-serif; text-align: center; }
.nav .add { color: var(--ink); font-weight: 700; }
.nav .add span { display: grid; place-items: center; width: 56px; height: 56px; margin-top: -30px; border-radius: 8px; background: var(--accent); box-shadow: 0 0 0 5px var(--paper); transition: transform .15s var(--ease); }
.nav .add:active span { transform: scale(.93); }
.nav .add svg { width: 28px; height: 28px; stroke-width: 2.75; }

/* ---- Sheets ---- */
.scrim { position: absolute; inset: 0; z-index: 5; background: rgba(26, 26, 26, .6); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; max-height: 92%; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-radius: 8px 8px 0 0; padding: 8px var(--pad) calc(var(--bottom) + 20px); transform: translateY(102%); transition: transform .32s var(--ease); }
.up .scrim { opacity: 1; pointer-events: auto; }
.up .sheet { transform: none; }
.shead { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-size: .875rem; font-weight: 500; color: var(--body); }
.shead button { min-width: 48px; min-height: 48px; margin-right: -8px; padding: 0 8px; font-weight: 700; color: var(--ink); }
.sheet h1 { font-size: 1.5rem; }
.sheet .sum { margin: 10px 0 12px; font-size: 1.0625rem; }
.sheet .tags { margin: 12px 0 20px; }
.stack { display: grid; gap: 10px; }
.mail { background: #fff; border-radius: 8px; padding: 18px; margin: 16px 0; }
.mail dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.mail dt { color: var(--body); }
.mail dd { margin: 0; font-weight: 700; }
.mail p { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.55; }
.aside { font-size: .9375rem; color: var(--body); margin: 0 0 14px; }

textarea { display: block; width: 100%; min-height: 104px; resize: none; margin: 12px 0 8px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; font-size: 1.125rem; line-height: 1.4; }
textarea::placeholder { color: #6f6c67; }
.read { min-height: 1.5em; margin-bottom: 14px; font-size: .9375rem; color: var(--body); }
.read b { color: var(--ink); }
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.pick button { min-height: 52px; border: 2px solid var(--line); background: #fff; border-radius: 8px; font-weight: 700; text-align: center; font-size: .9375rem; }
.pick [aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.rules { list-style: none; margin: 16px 0 20px; padding: 0; border-top: 2px solid var(--ink); }
.rules li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--body); }
.steps { margin: 16px 0 20px; padding: 0 0 0 1.4em; font-size: 1.0625rem; }
.steps li { padding: 8px 0 8px 6px; }
.steps li::marker { font-weight: 900; }
.rules b { display: block; color: var(--ink); }

/* ---- Toast ---- */
.toast { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: calc(var(--bottom) + 104px); display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 2px 8px 2px 18px; border-radius: 8px; background: var(--ink); color: var(--paper); font-weight: 500; opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.toast.show { opacity: 1; transform: none; visibility: visible; }
.toast button { min-height: 48px; padding: 0 12px; color: var(--accent); font-weight: 700; }

/* ---- Opening moment: the slash lands, then the list follows ---- */
.enter .hero b { animation: rise .5s var(--ease) both; }
.enter .hero i { animation: slash .55s .12s var(--ease) both; }
.enter .hero span, .enter .lede { animation: rise .5s .22s var(--ease) both; }
.enter .main > * { animation: rise .5s var(--ease) both; animation-delay: calc(.28s + var(--n, 0) * .07s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes slash { from { transform: var(--skew) scaleY(0); } }

/* Short phones */
@media (max-width: 350px) {
  .hero b { font-size: 6rem; }
  .hero i { margin: 0 24px 0 22px; height: 80px; }
  .nav button { font-size: .6875rem; }
}

/* Laptop: the same app in a phone-sized frame */
@media (min-width: 700px) {
  body { display: grid; place-items: center; background: var(--line); }
  .app { width: 412px; height: min(892px, calc(100dvh - 32px)); border-radius: 28px; box-shadow: 0 0 0 10px var(--ink), 0 24px 60px rgba(26, 26, 26, .3); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
