/* SMSEDEN app — festive design tokens shared with the public site (web/src/styles/global.css). */
:root {
  color-scheme: light dark;
  --bg: #FFF7E8; --surface: #FFFFFF; --ink: #1B1A33; --border: #1B1A33; --line: #EADFC8;
  --text: #1B1A33; --muted: #55537A; --accent: #2D5BFF; --accent-text: #1F47D6; --accent-contrast: #FFFFFF;
  --yellow: #FFC93C; --coral: #FF5A4E; --mint: #2EC4A0; --warn-bg: #FFC93C; --warn-text: #1B1A33;
  --danger-bg: #FFE1DE; --danger-text: #8A1C14; --ok-bg: #D8F5EC; --ok-text: #0F5C48;
  --radius: 22px; --maxw: 64rem; --font-head: 'Rubik', system-ui, sans-serif; --font-body: 'Nunito', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14132A; --surface: #1F1E3D; --ink: #000; --border: #6E6CA0; --line: #34335C; --text: #FFF7E8; --muted: #C9C7E6;
    --accent: #7D9BFF; --accent-text: #9DB3FF; --accent-contrast: #0E0D20; --warn-bg: #3A3010; --warn-text: #FFE08A;
    --danger-bg: #4A1A1A; --danger-text: #FFC2BD; --ok-bg: #0F3A30; --ok-text: #A8EBD6; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 600 1.0625rem/1.6 var(--font-body); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; border-radius: 12px; }
.skip:focus { left: 8px; top: 8px; }
header.site { border-bottom: 2.5px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-mark { flex: none; overflow: visible; }
.brand-mark .lg-f { fill: #1B1A33; }
.brand-mark .lg-s { stroke: #1B1A33; }
.brand-word { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.01em; line-height: 1; color: #1B1A33; }
.brand-word span { color: #2D5BFF; }
@media (prefers-color-scheme: dark) {
  .brand-mark .lg-f { fill: #000; }
  .brand-mark .lg-s { stroke: #000; }
  .brand-word { color: #FFF7E8; }
  .brand-word span { color: #7D9BFF; }
}
nav.main { display: flex; flex-wrap: wrap; gap: 2px 16px; align-items: center; }
nav.main a, nav.main button.linklike { color: var(--text); text-decoration: none; font: inherit; font-weight: 800; padding: 8px 2px; min-height: 44px; display: inline-flex; align-items: center; background: none; border: 0; cursor: pointer; }
nav.main a:hover, nav.main button.linklike:hover { text-decoration: underline; text-decoration-color: var(--accent); }
nav.main a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 4px; }
main { padding: 28px 0 56px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); line-height: 1.15; margin: 1.4em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1em 0 .3em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.card { background: var(--surface); border: 2.5px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 22px; box-shadow: 6px 6px 0 var(--yellow); }
.card.coral { box-shadow: 6px 6px 0 var(--coral); }
.card.mint { box-shadow: 6px 6px 0 var(--mint); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.narrow { max-width: 34rem; margin-left: auto; margin-right: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 44px; padding: 8px 22px; background: var(--accent); color: var(--accent-contrast); border: 2.5px solid var(--ink); border-radius: 16px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.secondary { background: var(--surface); color: var(--text); }
.btn.danger { background: var(--coral); color: #1B1A33; }
.btn.small { min-height: 44px; padding: 6px 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; align-items: center; }
.field { margin: 0 0 18px; }
.field label, .field .label { display: block; font-weight: 800; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-size: .92rem; font-weight: 600; margin-top: 4px; }
.field .error { color: var(--danger-text); font-weight: 800; margin-top: 4px; }
input[type=text], input[type=password], input[type=email], input[type=tel], input[type=time], input[type=date], input[type=search], input[type=file], select, textarea {
  width: 100%; min-height: 48px; padding: 8px 14px; border: 2.5px solid var(--border); border-radius: 16px; background: var(--bg); color: var(--text); font: inherit; }
textarea { min-height: 7rem; }
input[type=checkbox], input[type=radio] { width: 24px; height: 24px; accent-color: var(--accent); vertical-align: middle; margin-right: 8px; }
.check { display: flex; align-items: center; min-height: 44px; font-weight: 700; }
.check label { font-weight: 700; margin: 0; }
.grid2 { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.alert { border: 2.5px solid var(--ink); border-radius: 16px; padding: 10px 14px; margin: 0 0 18px; font-weight: 700; }
.alert.warn { background: var(--warn-bg); color: var(--warn-text); }
.alert.error { background: var(--danger-bg); color: var(--danger-text); }
.alert.ok { background: var(--ok-bg); color: var(--ok-text); }
.travel-bar { background: var(--yellow); color: #1B1A33; border-bottom: 2.5px solid var(--ink); }
.travel-bar .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-top: 10px; padding-bottom: 10px; font-weight: 800; }
.travel-bar form { display: inline; }
.travel-bar .btn { box-shadow: 3px 3px 0 var(--ink); min-height: 44px; }
.stepper { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 20px; flex-wrap: wrap; }
.stepper li { padding: 6px 14px; border: 2.5px solid var(--border); border-radius: 999px; background: var(--surface); font-weight: 800; }
.stepper li[aria-current="step"] { background: var(--yellow); color: #1B1A33; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { text-align: left; padding: 10px 8px; border-bottom: 2px dashed var(--line); vertical-align: top; }
.table-wrap { overflow-x: auto; }
.badge { display: inline-block; padding: 2px 10px; border: 2px solid var(--border); border-radius: 999px; font-size: .85rem; font-weight: 800; background: var(--surface); }
.badge.ok { background: var(--mint); color: #1B1A33; } .badge.warn { background: var(--yellow); color: #1B1A33; } .badge.bad { background: var(--coral); color: #1B1A33; }
footer.site { border-top: 2.5px solid var(--line); padding: 24px 0 36px; color: var(--muted); font-size: .95rem; }
footer.site a { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.preview-box { white-space: pre-wrap; background: var(--bg); border: 2.5px dashed var(--border); border-radius: 16px; padding: 14px; }
.honeypot { position: absolute; left: -5000px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
