/* Bayrakçı Satış – calm, editorial, black on warm grey. Colors are Alperen's (11.11.2026). */
:root {
  --bg: #e6e4e4;        /* page */
  --box: #222222;       /* boxes */
  --red: #bb2020;       /* buttons, logo, corporate identity */
  --ink: #222222;       /* text on the page */
  --ink-2: #6b6868;     /* quiet text on the page */
  --paper: #e6e4e4;     /* text on boxes */
  --paper-2: #9a9797;   /* quiet text on boxes */
  --hair: rgba(34, 34, 34, .22);
  --hair-box: rgba(230, 228, 228, .16);
  --tabbar-h: 64px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: Montserrat, -apple-system, "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }

/* header: a quiet centered wordmark */
.top { position: sticky; top: 0; z-index: 3; background: var(--red);
  padding: calc(env(safe-area-inset-top) + 10px) 16px 10px; text-align: center; }
.top .logo { display: block; height: 54px; width: auto; margin: 0 auto; }

main { max-width: 560px; margin: 0 auto; padding: 28px 20px calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 32px); }
.page[hidden] { display: none; }

/* typography */
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.center { text-align: center; display: block; }
.headline { font-weight: 300; font-size: 34px; line-height: 1.15; letter-spacing: -.01em; text-align: center; margin: 14px 0 12px; }
.headline b { font-weight: 600; }
.lede { text-align: center; font-size: 15px; color: var(--ink); margin: 0 auto 6px; max-width: 30em; }
.lede + .box { margin-top: 28px; }
.note { text-align: center; font-size: 13px; font-style: italic; font-weight: 300; color: var(--ink-2); margin: 4px 0 28px; }
.footnote { text-align: center; font-size: 11px; letter-spacing: .08em; color: var(--ink-2); margin-top: 28px; }
.up { color: var(--ink); } .down { color: var(--red); }

/* month switch */
.month-nav { display: flex; align-items: center; justify-content: center; gap: 18px; }
.month-nav button { width: 32px; height: 32px; font-size: 22px; font-weight: 300; line-height: 1; border-radius: 50%; }
.month-nav button:disabled { opacity: .2; cursor: default; }

/* boxes */
.box { background: var(--box); color: var(--paper); border-radius: 4px; padding: 22px 20px; margin: 0 0 16px; }
.box-title { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-align: center; margin-bottom: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 14px 6px; text-align: center; min-width: 0; }
.stat:nth-child(odd) { border-right: 1px solid var(--hair-box); }
.stat:nth-child(n+3) { border-top: 1px solid var(--hair-box); }
.stat .k { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-2); }
.stat .v { font-size: clamp(16px, 5vw, 22px); font-weight: 300; margin-top: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .v small { font-size: 13px; color: var(--paper-2); }
.stat .s { font-size: 11px; color: var(--paper-2); margin-top: 2px; }

/* do / don't style two columns */
.dodont { display: grid; grid-template-columns: 1fr 1fr; }
.dodont > div { padding: 0 12px; min-width: 0; }
.dodont > div:first-child { border-right: 1px solid var(--hair-box); padding-left: 0; }
.dodont > div:last-child { padding-right: 0; }
.col-title { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.col-title::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 2px; }
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { padding: 7px 0; font-size: 13px; line-height: 1.35; cursor: pointer; }
.mini li + li { border-top: 1px solid var(--hair-box); }
.mini .why { display: block; font-size: 11px; color: var(--paper-2); margin-top: 2px; }
.mini .empty { color: var(--paper-2); cursor: default; }

/* customers */
.search { display: block; width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: transparent; border: 0;
  border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 2px; margin: 8px 0 18px; text-align: center; outline: none; -webkit-appearance: none; }
.search::placeholder { color: var(--ink-2); }
.filters { display: flex; justify-content: safe center; gap: 14px; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; padding-bottom: 2px; }
.filters button { flex: none; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.filters button.on { color: var(--ink); border-bottom-color: var(--red); }
.people { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.people > li { padding: 16px 2px; border-bottom: 1px solid var(--hair); cursor: pointer; }
.people .r1 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.people .name { font-weight: 500; font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.people .amt { font-weight: 300; white-space: nowrap; font-variant-numeric: tabular-nums; }
.people .r2 { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-2); margin-top: 3px; }
.people .late::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-right: 7px; vertical-align: 2px; }
.tag { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .18em; color: #fff; background: var(--red); padding: 2px 6px; border-radius: 2px; margin-left: 8px; vertical-align: 2px; }
.details { margin-top: 14px; background: var(--box); color: var(--paper); border-radius: 4px; padding: 16px 18px; font-size: 13px; display: grid; gap: 10px; cursor: default; }
.details .k { display: block; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-2); }
.details a { text-decoration: none; border-bottom: 1px solid var(--red); }
.details .actions { display: flex; gap: 10px; margin-top: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; flex: 1; background: var(--red); color: #fff !important; border: 0 !important;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 12px 10px; border-radius: 999px; text-decoration: none; }

/* groups */
.cat { padding: 12px 0; }
.cat + .cat { border-top: 1px solid var(--hair-box); }
.cat .row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.cat .row .p { color: var(--paper-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cat .track { height: 2px; background: var(--hair-box); margin-top: 10px; }
.cat .fill { height: 100%; background: var(--red); }

/* profile: choose salesperson */
.choose { display: grid; gap: 10px; }
.choose button { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border: 1px solid var(--hair-box); border-radius: 999px; font-size: 14px; }
.choose button span { font-size: 11px; color: var(--paper-2); letter-spacing: .1em; }
.choose button.on { background: var(--red); border-color: var(--red); color: #fff; }
.choose button.on span { color: #fff; }

/* bottom tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: space-around;
  background: var(--red); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); }
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  color: #fff; opacity: .62; position: relative; }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.tabbar span { font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.tabbar button.on { opacity: 1; }
.tabbar button.on::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: #fff; }

.err { position: fixed; left: 16px; right: 16px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px); z-index: 4;
  background: var(--red); color: #fff; padding: 12px 16px; border-radius: 4px; font-size: 13px; }

@media (min-width: 600px) { .headline { font-size: 40px; } }

/* ---------- customer card, documents, orders ---------- */
.back { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin: -8px 0 14px; padding: 6px 0; }
.section { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-align: center; margin: 30px 0 12px; }
.center-actions { display: flex; gap: 10px; justify-content: center; margin: 18px 0 22px; }
.center-actions .btn { flex: 0 1 auto; min-width: 96px; }
.box-foot { font-size: 11px; color: var(--paper-2); text-align: center; margin: 14px 0 0; }
.stat .v.small { font-size: clamp(14px, 4.2vw, 18px); }

.moves { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.moves li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--hair); }
.moves li.link { cursor: pointer; }
.moves .l { min-width: 0; }
.moves .kind { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.moves .kind.pay::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); margin-right: 6px; vertical-align: 2px; }
.moves .kind.inv::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: 2px; }
.moves .det { font-size: 12px; color: var(--ink-2); margin-top: 2px; overflow-wrap: anywhere; }
.moves .r { text-align: right; white-space: nowrap; }
.moves .amt { font-variant-numeric: tabular-nums; font-weight: 500; }
.moves .bal { font-size: 11px; color: var(--ink-2); margin-top: 2px; font-variant-numeric: tabular-nums; }
.moves .open { font-size: 10px; color: var(--red); letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.moves .more { justify-content: center; color: var(--ink-2); font-size: 12px; cursor: pointer; }

.lines { list-style: none; margin: 0; padding: 0; }
.lines li { padding: 12px 0; border-bottom: 1px solid var(--hair-box); }
.lines li:first-child { padding-top: 0; }
.lines .n { font-size: 13px; font-weight: 500; }
.lines .q { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--paper-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.lines .q b { color: var(--paper); font-weight: 500; }
.sum { margin-top: 14px; font-size: 13px; display: grid; gap: 6px; }
.sum div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.sum div:last-child { font-weight: 600; font-size: 15px; padding-top: 8px; border-top: 1px solid var(--hair-box); }

.products { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.products li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--hair); }
.products .l { min-width: 0; flex: 1; }
.products .n { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.products .m { font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.products .m .out { color: var(--red); }
.products .p { font-size: 13px; font-variant-numeric: tabular-nums; margin-top: 3px; }
.products .p.none { color: var(--ink-2); font-style: italic; font-weight: 300; }
.stepper { display: flex; align-items: center; gap: 0; flex: none; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink); font-size: 18px; line-height: 1; }
.stepper button.add { width: auto; padding: 0 14px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: .16em; background: var(--red); border-color: var(--red); color: #fff; height: 32px; }
.stepper input { width: 46px; text-align: center; font: inherit; font-size: 14px; border: 0; background: transparent; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lines .stepper button { border-color: var(--paper); color: var(--paper); width: 28px; height: 28px; font-size: 15px; }
.lines .stepper input { color: var(--paper); width: 52px; }

.cartbar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--box); color: var(--paper);
  border-radius: 999px; padding: 8px 8px 8px 20px; font-size: 13px; box-shadow: 0 6px 24px rgba(0,0,0,.18); max-width: 536px; margin: 0 auto; }
.cartbar .btn { flex: none; padding: 11px 16px; }
#page-order { padding-bottom: 70px; }
.note-input { display: block; width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: transparent; border: 1px solid var(--hair);
  border-radius: 4px; padding: 12px; margin: 4px 0 16px; resize: vertical; }
.btn.wide { width: 100%; padding: 16px; font-size: 12px; }
.btn:disabled { opacity: .5; }
.orders-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.orders-list li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 2px; border-bottom: 1px solid var(--hair); font-size: 13px; cursor: pointer; }
.orders-list .st { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.muted { color: var(--ink-2); }
.cartbar[hidden] { display: none; }
.lines .q > b { white-space: nowrap; flex: none; }

/* ---------- step 2: no zoom, order tab, forms, approvals ---------- */
html { touch-action: manipulation; }
input, select, textarea, .search { font-size: 16px !important; }       /* iPhone zooms into smaller fields */
.tabbar button span { font-size: 8.5px; letter-spacing: .14em; }
.btn.outline { background: transparent; color: var(--ink) !important; border: 1px solid var(--ink) !important; }
.box .btn.outline { color: var(--paper) !important; border-color: var(--paper) !important; }
a.btn.wide { display: flex; margin: 0 0 18px; }
.actions.two { display: flex; gap: 10px; }
.actions.two .btn { flex: 1; padding: 15px; }
.form { display: grid; gap: 14px; margin-top: 20px; }
.form label { display: grid; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 8px 2px; outline: none; -webkit-appearance: none; }
.form select { background: transparent; }
.form .bad { border-bottom-color: var(--red); }
.form .btn { margin-top: 8px; }

.risk { display: grid; gap: 8px; font-size: 13px; }
.risk .row { display: flex; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
.risk .row span:first-child { color: var(--paper-2); }
.risk .bar { height: 3px; background: var(--hair-box); margin: 4px 0 2px; }
.risk .bar div { height: 100%; background: var(--paper); }
.risk .bar.amber div { background: #e0a43a; }
.risk .bar.red div { background: var(--red); }
.risk .verdict { font-size: 12px; text-align: center; margin-top: 6px; }
.risk .verdict.red { color: #ff8a80; }
.risk-title { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-align: center; margin-bottom: 12px; }

.products li { flex-wrap: wrap; }
.products .row2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 8px; }
.products .unit { font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--ink-2); text-transform: uppercase; }
.products .tagline { font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.products .tagline b { color: var(--ink); font-weight: 600; }
.disc-btn { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--red); padding: 4px 0; }
.disc-btn.on { color: var(--red); }
.disc { width: 100%; display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 10px 12px; background: var(--box); color: var(--paper); border-radius: 4px; }
.disc input { font: inherit; font-size: 16px; width: 110px; background: transparent; border: 0; border-bottom: 1px solid var(--paper); color: var(--paper); padding: 4px 2px; outline: none; }
.disc input.note { flex: 1; width: auto; min-width: 0; }
.disc span { font-size: 11px; color: var(--paper-2); }
.pill { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 2px 6px; border-radius: 2px; background: var(--red); color: #fff; margin: 0 4px 0 0; }
.pill.grey { background: var(--ink-2); }
.offline { position: fixed; left: 12px; right: 12px; top: calc(env(safe-area-inset-top) + 80px); z-index: 6; background: var(--box); color: var(--paper);
  border-radius: 4px; padding: 12px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.offline[hidden] { display: none; }
.offline button { color: #fff; background: var(--red); border-radius: 999px; padding: 8px 12px; font-size: 11px; font-weight: 600; letter-spacing: .1em; flex: none; }
.badge-dot { position: absolute; top: 9px; right: calc(50% - 18px); min-width: 16px; height: 16px; border-radius: 8px; background: #fff; color: var(--red);
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; letter-spacing: 0; }
.disc-btn { letter-spacing: .08em; white-space: nowrap; }
.disc { flex-wrap: wrap; }
.disc span { flex-basis: 100%; }
.disc input { flex: 0 0 120px; }
.disc input.note { flex: 1 1 140px; }
.products .row2 { gap: 8px; }

/* =========================================================================================
   Finishing touches (11.11.2026): calmer depth, finer type, gentle motion
   ========================================================================================= */
body { font-feature-settings: 'tnum' 1, 'lnum' 1; }
::selection { background: rgba(187, 32, 32, .18); }

/* header: a soft shadow instead of a hard edge */
.top { box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 12px 28px -22px rgba(0, 0, 0, .7); }

/* type: tighter headlines, balanced line breaks, a fine red rule under every section label */
.headline { letter-spacing: -.02em; text-wrap: balance; }
.lede { text-wrap: pretty; }
.eyebrow.center::after, .section::after { content: ''; display: block; width: 18px; height: 1px; background: var(--red); margin: 10px auto 0; }
.section { margin-top: 36px; }

/* boxes: rounded a little more, lifted softly */
.box, .details, .disc { border-radius: 10px; }
.box { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 22px 44px -30px rgba(0, 0, 0, .65); }
.stat .v { letter-spacing: -.01em; }

/* buttons and rows answer the finger */
.btn, .choose button, .stepper button, .chips button, .filters button, .back, .disc-btn { transition: transform .12s ease, background-color .2s ease, opacity .2s ease; }
.btn:active, .choose button:active, .stepper button:active { transform: scale(.96); }
.btn { box-shadow: 0 8px 18px -12px rgba(187, 32, 32, .9); }
.btn.outline { box-shadow: none; }
.people > li, .moves li.link, .orders-list li, .mini li, .products li { transition: background-color .15s ease; }
.people > li:active, .moves li.link:active, .orders-list li:active, .products li:active { background: rgba(34, 34, 34, .04); }
.mini li:active { background: rgba(230, 228, 228, .06); }

/* pages fade up into place */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page:not([hidden]) { animation: rise .32s cubic-bezier(.2, .7, .2, 1); }

/* bottom bar: a fine highlight line and a dot under the open tab */
.tabbar { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 -10px 30px -24px rgba(0, 0, 0, .8); }
.tabbar button.on::before { left: 50%; right: auto; width: 4px; height: 4px; border-radius: 50%; top: 8px; transform: translateX(-50%); }

/* quantity: a clear box you can type into */
.stepper { gap: 6px; }
.stepper input.qty, .stepper input { width: 64px; height: 36px; border: 1px solid rgba(34, 34, 34, .35); border-radius: 8px; background: rgba(255, 255, 255, .55);
  text-align: center; font-size: 16px; font-weight: 500; color: var(--ink); padding: 0 6px; -webkit-appearance: none; }
.stepper input:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(187, 32, 32, .12); }
.lines .stepper input { background: rgba(255, 255, 255, .06); border-color: rgba(230, 228, 228, .35); color: var(--paper); }
.lines .stepper input:focus { background: rgba(255, 255, 255, .1); }
.disc input { border-radius: 0; }

/* product groups: main row, then quieter rows for subgroups, and a breadcrumb */
.groupnav { margin: 6px 0 4px; }
.groupnav .filters { justify-content: flex-start; margin-bottom: 4px; }
.groupnav .filters.sub { gap: 8px; padding: 8px 0 6px; border-top: 1px solid var(--hair); }
.groupnav .filters.sub button { border: 1px solid var(--hair); border-radius: 999px; padding: 6px 12px; letter-spacing: .06em; text-transform: none; font-size: 12px; font-weight: 500; color: var(--ink); }
.groupnav .filters.sub button.on { background: var(--box); border-color: var(--box); color: var(--paper); }
.groupnav .crumb { font-size: 11px; color: var(--ink-2); letter-spacing: .04em; padding: 6px 2px 2px; }
.groupnav .crumb span { color: var(--red); margin: 0 4px; }

/* opening screen: red, the logo in the middle, a quote; any tap opens the app */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--red); color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 24px 32px calc(env(safe-area-inset-bottom) + 24px);
  transition: opacity .45s ease, transform .45s ease; cursor: pointer; -webkit-user-select: none; user-select: none; }
.splash img { width: min(64vw, 300px); height: auto; animation: splashIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.splash p { font-weight: 300; font-size: 17px; line-height: 1.5; letter-spacing: .02em; max-width: 22em; margin: 34px 0 0;
  animation: splashIn .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
.splash p::before { content: ''; display: block; width: 22px; height: 1px; background: rgba(255, 255, 255, .7); margin: 0 auto 22px; }
.splash-tap { position: absolute; bottom: calc(env(safe-area-inset-bottom) + 34px); font-size: 10px; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; opacity: .55; animation: breathe 2.4s 1.2s ease-in-out infinite; }
.splash.gone { opacity: 0; transform: scale(1.02); pointer-events: none; }
@keyframes splashIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: .75; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.team label { display: grid; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-2); margin-top: 14px; }
.team input { font: inherit; font-size: 16px; letter-spacing: 0; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid rgba(230,228,228,.4); border-radius: 0; padding: 8px 2px; outline: none; }
.team .actions { margin-top: 18px; }
#logout { margin-top: 28px; }
.tabbar[hidden] { display: none; }
#page-login { padding-top: 24px; }
.box[hidden], #o-risk[hidden], #r-risk[hidden] { display: none; }
.back[hidden], .tabbar button[hidden], a.btn[hidden] { display: none !important; }
.splash p cite { display: block; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .75; margin-top: 16px; }
