/* Clear Craft Studio — single stylesheet. No external fonts, no frameworks. */
:root {
  --ink: #0d1b2a;
  --ink-2: #13263b;
  --ink-3: #1d3550;
  --paper: #fbfaf7;
  --white: #ffffff;
  --soft: #f3f0e9;
  --line: #e3dfd5;
  --text: #1b2432;
  --muted: #586374;
  --teal: #0b7d73;
  --teal-dark: #08645c;
  --mint: #2dd4bf;
  --amber: #fbbf24;
  --amber-dark: #f59e0b;
  --red: #b42318;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 8px 24px rgba(13, 27, 42, .07);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .45);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap: 1160px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.3rem; font-weight: 750; }
h4 { font-size: 1.05rem; font-weight: 700; margin-top: 1.4em; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--soft); padding: .1em .35em; border-radius: 5px; }
:focus-visible { outline: 3px solid var(--amber-dark); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.fine { font-size: .92rem; color: var(--muted); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-accent { background: var(--amber); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(251, 191, 36, .7); }
.btn-accent:hover { background: #fcd34d; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-small { min-height: 38px; padding: .45em 1.05em; font-size: .95rem; }
.btn-lg { min-height: 54px; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.ico-ext { width: .9em; height: .9em; flex: none; }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 27, 42, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; white-space: nowrap; }
.brand-name span { color: var(--mint); font-weight: 600; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) { color: #d6dde6; text-decoration: none; font-weight: 600; font-size: .97rem; padding: 8px 12px; border-radius: 8px; }
.site-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }
.site-nav .btn-small { background: var(--amber); color: var(--ink); margin-left: 6px; }
.site-nav .lang-switch { border: 1px solid rgba(255, 255, 255, .2); }
.nav-toggle { display: none; }

@media (max-width: 1099px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    background: transparent; border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 8px var(--gutter) 18px; display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { display: block; padding: 12px 10px; font-size: 1.05rem; }
  .site-nav .lang-switch { border: 0; }
  .site-nav .btn-small { margin: 10px 0 0; width: 100%; min-height: 48px; }
  .no-js .site-nav { position: static; display: block; padding: 0 0 12px; }
}

/* ---------- hero */
.hero {
  position: relative; overflow: hidden; color: #e6ecf2;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(45, 212, 191, .18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(251, 191, 36, .10), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 120px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }
.hero h1 { color: #fff; }
.hero h1 span { display: block; color: var(--mint); }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: #c3cdd8; max-width: 38em; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.6em; }
.hero-note { font-size: .95rem; color: #93a1b1; margin: 0; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--teal); margin-bottom: .9em; }
.kicker-light { color: var(--mint); }

.hero-visual { position: relative; padding: 10px 0 40px; }
.mock {
  background: #f8fafc; border-radius: 18px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08);
  overflow: hidden; transform: rotate(-1.2deg); max-width: 520px; margin-left: auto; color: var(--text);
}
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; background: #e9eef3; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c8d1db; }
.mock-bar span:first-child { background: #f87171; } .mock-bar span:nth-child(2) { background: #fbbf24; } .mock-bar span:nth-child(3) { background: #34d399; }
.mock-body { padding: 18px 18px 16px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: .98rem; }
.mock-pill { background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.mock-row { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #e7ebf0; font-size: .82rem; }
.mock-id { font-weight: 700; color: #64748b; font-variant-numeric: tabular-nums; }
.mock-line { height: 8px; border-radius: 6px; background: #dbe3ec; }
.mock-line.w70 { width: 70%; } .mock-line.w55 { width: 55%; } .mock-line.w80 { width: 80%; } .mock-line.w60 { width: 60%; }
.chip { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip-new { background: #fef3c7; color: #92400e; }
.chip-route { background: #dbeafe; color: #1e40af; }
.chip-done { background: #d1fae5; color: #065f46; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 84px; margin: 14px 0 12px; padding-top: 6px; border-top: 1px solid #e7ebf0; }
.mock-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #2dd4bf, #0b7d73); }
.mock-chart span:nth-child(1) { height: 38%; } .mock-chart span:nth-child(2) { height: 52%; } .mock-chart span:nth-child(3) { height: 46%; }
.mock-chart span:nth-child(4) { height: 68%; } .mock-chart span:nth-child(5) { height: 61%; } .mock-chart span:nth-child(6) { height: 82%; }
.mock-chart span:nth-child(7) { height: 94%; background: linear-gradient(180deg, #fcd34d, #f59e0b); }
.mock-sync { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: #065f46; }
.mock-sync .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }

.pains { list-style: none; padding: 0; margin: 0; }
.pain {
  position: absolute; background: rgba(19, 38, 59, .94); color: #c3cdd8; border: 1px solid rgba(255, 255, 255, .12);
  padding: 9px 14px; border-radius: 12px; font-size: .86rem; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
  white-space: nowrap;
}
.pain s { text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.pain::before { content: "✕"; color: var(--amber); font-weight: 800; margin-right: 8px; }
.pain.p1 { left: -10px; top: -8px; }
.pain.p2 { right: -10px; bottom: 6%; }
.pain.p3 { left: 6%; bottom: -4px; }
@media (max-width: 959px) {
  .mock { margin: 0 auto; }
  .pain.p1 { left: 0; top: auto; bottom: 64px; }
  .pain.p2 { right: 0; bottom: 18px; }
  .pain.p3 { display: none; }
}
@media (max-width: 420px) { .pain { font-size: .78rem; padding: 7px 10px; } }

/* ---------- sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: 40px 0 88px; }
.section-soft { background: var(--soft); }
.section-ink { background: var(--ink); color: #c3cdd8; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-lead { font-size: 1.13rem; color: var(--muted); }

/* ---------- services */
.svc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.svc p { color: #3a4556; }
.svc .btn { align-self: flex-start; margin-top: auto; }
.svc-icon { width: 50px; height: 50px; border-radius: 14px; background: #e6f6f3; color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.svc-icon svg { width: 26px; height: 26px; }
.svc-feature { display: grid; gap: 28px; margin-bottom: 24px; border-color: #cfe9e4; }
@media (min-width: 900px) { .svc-feature { grid-template-columns: 1.35fr 1fr; padding: 40px; gap: 44px; } }
.svc-feature h3 { font-size: 1.6rem; }
.svc-price-box { background: var(--ink); color: #d6dde6; border-radius: 18px; padding: 28px; align-self: start; }
.svc-price-box .price-name { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--mint); margin-bottom: 14px; }
.price-list { margin: 0 0 18px; display: grid; gap: 14px; }
.price-list div { border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: 14px; }
.price-list dt { font-size: 1.75rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.2; }
.price-list dd { margin: 2px 0 0; font-size: .93rem; color: #a9b6c4; }
.svc-price-box .credit { font-weight: 600; color: #fff; background: rgba(45, 212, 191, .12); border-left: 3px solid var(--mint); padding: 10px 14px; border-radius: 8px; font-size: .95rem; }
.svc-pair { display: grid; gap: 24px; }
@media (min-width: 820px) { .svc-pair { grid-template-columns: 1fr 1fr; } }
.price { margin: 6px 0 6px; color: var(--text) !important; }
.price strong { font-size: 1.55rem; color: var(--ink); letter-spacing: -.02em; margin-right: 4px; }
.price span { color: var(--muted); font-size: .95rem; }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: auto; }
.svc-actions .btn { margin-top: 0; }

/* ---------- proof */
.proof-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } }
.proof { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-lg); padding: 28px; }
.proof-num { display: inline-block; font-weight: 800; color: var(--amber); font-size: .9rem; letter-spacing: .1em; margin-bottom: 14px; }
.proof p { color: #b4c0cd; margin: 0; font-size: 1rem; }
.proof-note { margin: 28px 0 0; color: #93a1b1; font-size: .97rem; }

/* ---------- work */
.work-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(13, 27, 42, .06), 0 18px 40px rgba(13, 27, 42, .12); }
.work-shot { display: block; background: #e9eef3; padding: 0; text-decoration: none; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e9eef3; border-bottom: 1px solid #dbe2ea; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #c8d1db; }
.browser-bar em { font-style: normal; font-size: .76rem; color: #5b6676; background: #fff; border-radius: 6px; padding: 2px 10px; margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.work-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.work-body p { color: #3a4556; font-size: 1rem; }
.work-body .text-link { margin-top: auto; overflow-wrap: anywhere; }
.tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .78rem; font-weight: 700; color: var(--teal-dark); background: #e6f6f3; padding: 4px 10px; border-radius: 999px; }

.video-band {
  margin-top: 28px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 22px;
  padding: 24px 26px; border-radius: var(--radius-lg); text-decoration: none; color: #d6dde6;
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%); box-shadow: var(--shadow);
}
.video-band:hover { color: #fff; }
.video-band strong { display: block; color: #fff; font-size: 1.2rem; margin-bottom: 2px; }
.video-band-copy span { font-size: .98rem; color: #a9b6c4; }
.play { width: 58px; height: 58px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(251, 191, 36, .14); }
.play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-band-cta { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--amber); }
@media (min-width: 760px) { .video-band { grid-template-columns: auto 1fr auto; } .video-band-cta { grid-column: auto; } }

/* ---------- process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step h3 { font-size: 1.12rem; margin-bottom: .35em; }
.step p { margin: 0; font-size: .97rem; color: #3a4556; }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--amber); font-weight: 800; margin-bottom: 14px; }
.steps-note { margin: 26px 0 0; color: var(--muted); }

/* ---------- contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } }
.contact-card { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.contact-card p { margin: 0; }
.contact-card .phone { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 6px; }
.contact-card .phone a { color: var(--ink); text-decoration: none; }
.contact-card .phone a:hover { color: var(--teal); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-narrow { max-width: 560px; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.opt { font-weight: 500; color: var(--muted); font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1.5px solid #cfd6df; border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%23586374' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #8a94a3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11, 125, 115, .15); }
.has-error input, .has-error textarea { border-color: var(--red); }
.error { color: var(--red); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.form-alert { background: #fef3f2; color: var(--red); border: 1px solid #fecdca; border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 20px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- simple pages */
.page-hero { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: #c3cdd8; padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 64px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: .3em; }
.page-hero .muted { color: #93a1b1; margin: 0; }
.page-hero-center { text-align: center; padding: clamp(72px, 12vw, 140px) 0; }
.page-hero-center .section-lead { color: #c3cdd8; max-width: 34em; margin: 0 auto 1.6em; }
.page-hero-center .section-lead a { color: var(--amber); font-weight: 700; }
.page-hero-center .kicker { color: var(--mint); }
.thanks-icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--mint); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(45, 212, 191, .15); }
.thanks-icon svg { width: 36px; height: 36px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); margin-bottom: 18px; }
.notice svg { width: 28px; height: 28px; flex: none; }
.notice p { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.notice-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }

/* ---------- footer */
.site-footer { background: var(--ink); color: #a9b6c4; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.2fr 1.3fr 1fr; } }
.brand-footer { margin-bottom: 12px; }
.footer-tag { margin: 0; color: #93a1b1; }
.casl p { margin: 0 0 4px; }
.casl strong { color: #fff; }
.site-footer a { color: #d6dde6; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-base { padding-top: 22px; font-size: .86rem; color: #7d8b9b; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .hero-visual, .form, .video-band { display: none !important; }
  body { background: #fff; }
}
.field-row-1 { grid-template-columns: 1fr; }

/* =====================================================================
   Deal-closing pages (2026-10-21): booking, quick checks, case studies,
   proposals, admin. Same tokens as above.
   ===================================================================== */
.site-nav a[aria-current="page"]:not(.btn) { color: #fff; background: rgba(255, 255, 255, .09); }
.page-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #c3cdd8; max-width: 44em; margin: 0 0 1.2em; }
.h3 { font-size: 1.3rem; font-weight: 750; }
.center { text-align: center; }
.hint { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.narrow-wide { max-width: 920px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: #e6f6f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%230b7d73' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.check-list-light li { color: #d6dde6; }
.check-list-light li::before { background-color: rgba(45, 212, 191, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%232dd4bf' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 30px); box-shadow: var(--shadow); min-width: 0; }
.panel + .panel { margin-top: 18px; }
.panel-center { text-align: center; }
.panel-title { font-size: 1.15rem; margin: 0 0 14px; }
.panel-title + .error { margin: -6px 0 12px; }
.panel-ink { background: var(--ink); color: #c3cdd8; border-color: var(--ink); }
.panel-ink h2, .panel-ink h3 { color: #fff; }
.panel-ink .fine { color: #93a1b1; }
.form-flat { box-shadow: none; border: 0; padding: 0; background: transparent; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: #3a4556; margin: 4px 0 18px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--teal); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.cta-band p { margin: 0; }
.cta-band h2 { margin-bottom: .25em; }
.svc-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; }
.svc-cta-row .btn { margin-top: 0; }
.svc-cta-row .text-link { font-size: .95rem; }
.svc-price-box .book-link { display: block; text-align: center; margin-top: 12px; color: var(--mint); }
.proof-link { display: inline-flex; margin-top: 16px; color: var(--mint); font-weight: 700; text-decoration: none; }
.proof-link:hover { color: #fff; text-decoration: underline; }
.contact-book { margin-top: 16px; }
.contact-book p { margin: 0 0 10px; }

/* ---------- booking */
.book-layout { display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) { .book-layout { grid-template-columns: 1fr 1fr; gap: 28px; } }
.day-list { list-style: none; padding: 0 0 6px; margin: 0 0 26px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
@media (min-width: 960px) { .day-list { flex-wrap: wrap; overflow: visible; } }
.day-chip { display: grid; justify-items: center; min-width: 64px; padding: 8px 6px; border: 1.5px solid #cfd6df; border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff; line-height: 1.15; }
.day-chip:hover { border-color: var(--teal); color: var(--ink); }
.day-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.day-wd, .day-mo { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.day-n { font-size: 1.35rem; font-weight: 800; }
.slot-grid { border: 0; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot span { display: grid; place-items: center; min-height: 48px; padding: 6px; border: 1.5px solid #cfd6df; border-radius: 12px; font-weight: 700; background: #fff; text-align: center; }
.slot span small { display: block; font-weight: 600; font-size: .74rem; color: var(--muted); }
.slot input:hover + span { border-color: var(--teal); }
.slot input:focus-visible + span { outline: 3px solid var(--amber-dark); outline-offset: 2px; }
.slot input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.slot input:checked + span small { color: #d9f3ef; }
.tz-note { margin: 4px 0 0; }
.picked-slot { font-weight: 700; color: var(--teal-dark); min-height: 1.4em; margin: 0 0 10px; }
.booking-card .kv { margin: 0 0 10px; display: grid; gap: 12px; }
.kv div { display: grid; gap: 2px; }
@media (min-width: 620px) { .kv div { grid-template-columns: 110px 1fr; gap: 14px; } }
.kv dt { font-weight: 800; color: var(--muted); text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; padding-top: 3px; }
.kv dd { margin: 0; font-weight: 600; }

/* ---------- quick checks */
.check-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .check-grid:not(.check-grid-focus) { grid-template-columns: 1fr 1fr; } }
.check-card h2 { margin-bottom: .4em; }
.check-card-main { border-color: #cfe9e4; }
.check-also { margin: 6px 0 -8px; font-weight: 700; color: var(--muted); }
.input-btn { display: flex; gap: 10px; flex-wrap: wrap; }
.input-btn input { flex: 1 1 220px; }
.input-btn .btn { flex: 0 0 auto; }
.form-inline-check .field { margin-bottom: 8px; }
.busy-note { display: flex; align-items: center; gap: 10px; color: var(--teal-dark); font-weight: 600; margin: 8px 0 0; }
.busy-note[hidden] { display: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #cfe9e4; border-top-color: var(--teal); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.check-public { margin: 18px 0 0; }
.result-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.result-host { font-size: clamp(1.7rem, 4.4vw, 2.6rem); overflow-wrap: anywhere; }
.result-hero .muted { margin: 0 0 4px; }
.score-ring { width: 128px; height: 128px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; flex: none; border: 8px solid var(--ring); background: var(--ink-2); }
.score-hi { --ring: #2dd4bf; } .score-mid { --ring: #fbbf24; } .score-lo { --ring: #f87171; }
.score-n { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.score-of { font-size: .85rem; color: #93a1b1; }
.result-grid { display: grid; gap: 30px; align-items: start; }
@media (min-width: 980px) { .result-grid { grid-template-columns: 1.6fr 1fr; gap: 40px; } .result-side { position: sticky; top: 90px; } }
.result-verdict { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.tally { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tally li { padding: 6px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.tally-bad { background: #fef3f2; color: var(--red); }
.tally-warn { background: #fffbeb; color: #92400e; }
.tally-good { background: #ecfdf5; color: #065f46; }
.findings { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.finding { display: grid; grid-template-columns: 108px 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: var(--radius); }
.finding h3 { font-size: 1.02rem; margin: 0 0 4px; }
.finding p { margin: 0; color: #3a4556; font-size: .96rem; }
.finding-bad { border-left-color: #f04438; }
.finding-warn { border-left-color: var(--amber-dark); }
.finding-good { border-left-color: #12b76a; }
.finding-badge { justify-self: start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; white-space: nowrap; margin-top: 2px; }
.finding-bad .finding-badge { background: #fef3f2; color: var(--red); }
.finding-warn .finding-badge { background: #fffbeb; color: #92400e; }
.finding-good .finding-badge { background: #ecfdf5; color: #065f46; }
@media (max-width: 520px) { .finding { grid-template-columns: 1fr; gap: 8px; } }
.next-title { margin-top: 1.6em; }
.result-side .panel { margin-bottom: 18px; }
.result-side .panel + .panel { margin-top: 0; }

/* ---------- case studies */
.case-list { display: grid; gap: 22px; }
@media (min-width: 960px) { .case-list { grid-template-columns: repeat(3, 1fr); } }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.case-card .kicker { margin-bottom: .4em; }
.case-card h2 a { color: var(--ink); text-decoration: none; }
.case-card h2 a:hover { color: var(--teal); }
.case-card p { color: #3a4556; }
.case-card .btn { align-self: flex-start; margin-top: auto; }
.mini-stats { margin: 0 0 20px; display: grid; gap: 10px; }
.mini-stats div { display: flex; gap: 10px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 10px; }
.mini-stats dt { font-weight: 800; color: var(--ink); white-space: nowrap; }
.mini-stats dd { margin: 0; color: var(--muted); font-size: .92rem; }
.crumbs { margin: 0 0 16px; font-size: .95rem; }
.crumbs a { color: var(--mint); text-decoration: none; font-weight: 600; }
.case-title { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
.case-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .case-layout { grid-template-columns: 1.55fr 1fr; gap: 48px; } .case-side { position: sticky; top: 90px; } }
.case-body h2:first-child { margin-top: 0; }
.case-body h3 { font-size: 1.08rem; margin: 1.2em 0 .4em; }
.stat-list { margin: 0 0 14px; display: grid; gap: 14px; }
.stat-list div { border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: 12px; }
.stat-list dt { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.2; }
.stat-list dd { margin: 2px 0 0; color: #a9b6c4; font-size: .93rem; }
.live-links a { font-weight: 700; }
.case-more { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 760px) { .case-more { grid-template-columns: 1fr 1fr; } }
.case-mini { display: block; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.case-mini:hover { border-color: var(--teal); color: var(--ink); }
.case-mini .kicker { display: block; margin-bottom: 4px; }

/* ---------- proposal document */
.page-proposal { background: #eef1f4; }
.doc-wrap { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); }
.doc-bar { background: var(--ink); }
.doc-bar-row { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 12px; }
.doc-bar .btn-ghost { min-height: 38px; }
.doc-admin-note { margin: 16px 0 0; padding: 10px 14px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; font-size: .92rem; }
.doc-banner { margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; background: #f1f5f9; border: 1px solid #dbe2ea; font-weight: 600; }
.doc-banner.ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.doc { background: #fff; margin: 18px 0 0; border-radius: 16px; box-shadow: var(--shadow); padding: clamp(22px, 5vw, 52px); }
.doc-head { display: grid; gap: 18px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 3px solid var(--amber); }
@media (min-width: 720px) { .doc-head { grid-template-columns: 1fr auto; align-items: end; } }
.doc-title { font-size: clamp(1.7rem, 4.4vw, 2.5rem); margin: 0 0 .3em; }
.doc-for { margin: 0; color: var(--muted); }
.doc-meta { margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.doc-meta div { display: flex; gap: 10px; justify-content: space-between; }
@media (min-width: 720px) { .doc-meta { text-align: right; } .doc-meta div { justify-content: flex-end; } }
.doc-meta dt { color: var(--muted); }
.doc-meta dd { margin: 0; font-weight: 700; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: #e2e8f0; color: #334155; }
.pill-ok, .pill-accepted { background: #d1fae5; color: #065f46; }
.pill-sent { background: #e0f2fe; color: #075985; }
.pill-viewed { background: #dbeafe; color: #1e40af; }
.pill-declined { background: #fee4e2; color: var(--red); }
.pill-draft { background: #f1f5f9; color: #475569; }
.doc-intro { font-size: 1.08rem; color: #1e293b; }
.doc-section { margin: 30px 0; }
.doc-section h2 { font-size: 1.3rem; padding-bottom: 8px; border-bottom: 1px solid #eef2f6; margin-bottom: 12px; }
.doc-section h4 { margin-top: 1em; }
.doc-section ul, .doc-section ol { padding-left: 1.25em; margin: 0 0 1em; }
.doc-section li { margin-bottom: .35em; }
.table-scroll { overflow-x: auto; }
table.items { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.items th, table.items td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
table.items thead th { background: var(--ink); color: #fff; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
table.items .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.items .detail { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; margin-top: 2px; }
table.items tfoot td { border-bottom: 0; padding-top: 8px; padding-bottom: 8px; }
table.items tr.total td { font-weight: 800; font-size: 1.12rem; border-top: 2px solid var(--ink); padding-top: 12px; }
table.items tr.deposit-row td { color: var(--teal-dark); font-weight: 700; }
@media (max-width: 600px) {
  table.items thead { display: none; }
  table.items tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
  table.items tbody td { border: 0; padding: 2px 0; }
  table.items tbody td:first-child { grid-column: 1 / -1; }
  table.items tbody td.r { text-align: left; white-space: normal; }
  table.items tbody td.r::before { content: attr(data-l) ": "; color: var(--muted); font-weight: 600; }
  table.items tbody td:nth-child(2) { display: none; }
  table.items tfoot td { padding-left: 0; padding-right: 0; }
  table.items tfoot td.r:first-child { text-align: left; white-space: normal; }
}
.doc-terms { font-size: .95rem; color: #475569; }
.doc-sign-off { margin: 30px 0 0; font-weight: 700; }
.doc-box { margin: 32px 0 0; padding: clamp(18px, 3.5vw, 28px); border-radius: 14px; border: 1px solid #dbe2ea; background: #f8fafc; }
.doc-box h2 { font-size: 1.25rem; margin-bottom: .4em; }
.doc-box-sign { border-color: #cfe9e4; background: #f3fbf9; }
.doc-box-ok { border-color: #a7f3d0; background: #ecfdf5; }
.doc-box-deposit { border-color: #fde68a; background: #fffbeb; }
.dep-paid { font-weight: 700; color: #065f46; }
.doc-note { padding: 10px 14px; background: #fff; border: 1px solid #dbe2ea; border-radius: 10px; }
.doc-note-err { border-color: #fecdca; color: var(--red); }
.sig-img { display: block; max-width: 100%; width: 360px; height: auto; background: #fff; border: 1px solid #dbe2ea; border-radius: 10px; padding: 6px; margin: 10px 0; }
.sig-wrap { position: relative; }
.sigpad { display: block; width: 100%; height: 180px; background: #fff; border: 1.5px dashed #9fb3c8; border-radius: 12px; touch-action: none; cursor: crosshair; }
.sigpad:focus-visible { outline: 3px solid var(--amber-dark); outline-offset: 2px; }
.sig-line { position: absolute; left: 18px; right: 18px; bottom: 34px; border-bottom: 1px solid #cbd5e1; color: #94a3b8; font-size: .9rem; line-height: 1; padding-bottom: 4px; pointer-events: none; }
.sig-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.sig-tools .hint { margin: 0; }
.decline { margin-top: 22px; border-top: 1px solid #dbe2ea; padding-top: 14px; }
.decline summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.decline form { margin-top: 12px; }
.doc-foot { text-align: center; padding: 22px 0 40px; color: var(--muted); }
.doc-foot p { margin: 0 0 4px; }
@media print {
  .page-proposal { background: #fff; }
  .doc-bar .btn, .doc-banner, .doc-admin-note, .doc-box-sign, .doc-box-deposit .btn, .decline, .doc-foot { display: none !important; }
  .doc-bar { background: #fff; border-bottom: 2px solid var(--ink); }
  .doc-bar .brand-name { color: var(--ink); }
  .doc { box-shadow: none; padding: 0; margin: 12px 0 0; }
  .doc-section, .doc-box { break-inside: avoid; }
  table.items thead th { background: #fff; color: var(--ink); border-bottom: 2px solid var(--ink); }
}

/* ---------- admin */
.adm { background: #f3f5f8; }
.adm-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.adm-bar { background: var(--ink); }
.adm-bar-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; min-height: 62px; padding-top: 8px; padding-bottom: 8px; }
.adm-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.adm-nav a { color: #d6dde6; text-decoration: none; font-weight: 600; font-size: .94rem; padding: 7px 10px; border-radius: 8px; }
.adm-nav a:hover, .adm-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.adm-logout { margin: 0 0 0 6px; }
.adm-logout button { font: inherit; font-size: .9rem; color: #d6dde6; background: transparent; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.adm-main { padding-top: 26px; padding-bottom: 60px; }
.adm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.adm-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.adm-head p { margin: 4px 0 0; }
.adm-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: clamp(16px, 3vw, 24px); margin-bottom: 18px; min-width: 0; }
.adm-card h2 { font-size: 1.12rem; margin-bottom: .6em; }
.adm-card > summary { cursor: pointer; font-weight: 700; }
.adm-narrow { max-width: 520px; margin: 30px auto; }
.adm-steps { padding-left: 1.2em; }
.adm-steps li { margin-bottom: .5em; }
.adm-inline { display: inline-block; margin: 0 0 16px; }
.adm-flash { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-weight: 600; border: 1px solid; }
.adm-flash-ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.adm-flash-err { background: #fef3f2; border-color: #fecdca; color: var(--red); }
.adm-flash-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.adm-todo { border-color: #fde68a; background: #fffdf3; }
.adm-todo ul { margin: 0; padding-left: 1.2em; }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.adm-stat { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; }
.adm-stat strong { display: block; font-size: 1.8rem; color: var(--ink); line-height: 1.1; }
.adm-stat span { color: var(--muted); font-size: .92rem; }
.adm-cols { display: grid; gap: 18px; }
@media (min-width: 900px) { .adm-cols { grid-template-columns: 1fr 1fr; } }
.adm-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.adm-table th, .adm-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #edf0f4; vertical-align: top; }
.adm-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.adm-table tr.is-off td { opacity: .55; }
.adm-copy { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adm-copy input { flex: 1 1 320px; min-width: 0; font: inherit; font-size: .9rem; padding: 9px 12px; border: 1.5px solid #cfd6df; border-radius: 10px; background: #f8fafc; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.adm-actions form { margin: 0; }
.adm-ok { border-color: #a7f3d0; background: #f6fef9; }
.adm-inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0; }
.adm-inline-form label { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; }
.adm-inline-form input, .adm-inline-form select { font: inherit; padding: 8px 10px; border: 1.5px solid #cfd6df; border-radius: 10px; min-height: 40px; }
.adm-fieldset { border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; margin: 0 0 18px; min-width: 0; }
.adm-fieldset legend { font-weight: 800; padding: 0 6px; color: var(--ink); }
.adm-fieldset[disabled] { opacity: .7; }
.adm-rows { display: grid; gap: 12px; margin-bottom: 10px; }
.adm-row { border: 1px dashed #cfd6df; border-radius: 12px; padding: 12px; background: #fbfcfd; }
.adm-row .field { margin-bottom: 8px; }
.adm-row-item { display: grid; gap: 0 10px; }
@media (min-width: 900px) { .adm-row-item { grid-template-columns: 2fr 2fr 80px 140px auto; align-items: end; } .adm-row-item .adm-row-tools { padding-bottom: 8px; } }
.adm-row-tools { display: flex; gap: 6px; justify-content: flex-end; }
.adm-row-tools .btn { min-height: 34px; padding: .3em .8em; }
.field-row-3 { display: grid; gap: 0 18px; }
@media (min-width: 720px) { .field-row-3 { grid-template-columns: repeat(3, 1fr); } }
.field-md { max-width: 220px; }
.adm-total { margin: 8px 0 0; padding: 10px 14px; background: #f1f5f9; border-radius: 10px; }
.adm-danger { border-color: #fecdca; }
.adm-radio { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; cursor: pointer; }
.adm-radio input { margin-top: 5px; accent-color: var(--teal); }
.adm-days { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-day { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border: 1.5px solid #cfd6df; border-radius: 10px; cursor: pointer; font-weight: 600; }
.adm-narrow-form { max-width: 420px; }
.adm code { overflow-wrap: anywhere; }
.page-hero-center .text-link { color: var(--mint); }
button.btn-ghost, button.btn-outline { background: transparent; }
.doc-bar .btn-ghost { white-space: nowrap; font-size: .9rem; }
@media (max-width: 420px) { .doc-bar .brand-name { font-size: 1rem; } .doc-bar .btn-ghost { padding: .4em .8em; } }
@media (max-width: 600px) {
  table.items, table.items tbody, table.items tfoot { display: block; width: 100%; }
  table.items tfoot tr { display: flex; justify-content: space-between; gap: 0; }
  table.items tfoot td:last-child { padding-left: 12px; }
  table.items tfoot td[colspan] { flex: 1; }
}
