:root {
  --lime: #B9FF00;
  --lime-soft: #F1FFD2;
  --lime-dark: #5E8500;
  --bg: #FAFAF7;
  --text: #171914;
  --muted: #6B6F66;
  --line: #ECECE6;
  --card: #FFFFFF;
  --red: #E5484D;
  --red-soft: #FDECEC;
  --blue: #3E63DD;
  --blue-soft: #EAF0FF;
  --amber: #B7791F;
  --amber-soft: #FFF5DD;
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Inter", "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #E9EAE4;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

/* ---------- Desktop stage: phone frame + side panel ---------- */
.stage { min-height: 100%; display: flex; justify-content: center; align-items: flex-start; gap: 40px; padding: 32px 24px; }
.phone {
  width: 390px; height: 844px; flex: none;
  background: var(--bg); border-radius: 44px; overflow: hidden; position: relative;
  box-shadow: 0 0 0 10px #171914, 0 30px 80px rgba(0,0,0,.25);
  display: flex; flex-direction: column;
}
.side { width: 300px; font-size: 14px; position: sticky; top: 32px; }
.side .logo { font-size: 28px; }
.side h3 { margin: 24px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.side ol { margin: 0; padding-left: 22px; line-height: 1.9; }
.side ol a { text-decoration: none; border-bottom: 1px dashed #aaa; }
.side ol a.on { font-weight: 700; border-bottom-color: var(--text); }
.side p { color: var(--muted); line-height: 1.5; margin: 8px 0; }
.side .reset { margin-top: 12px; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fff; }

@media (max-width: 760px) {
  body { background: var(--bg); }
  .stage { padding: 0; display: block; }
  .phone { width: 100%; height: 100dvh; border-radius: 0; box-shadow: none; }
  .side { display: none; }
  .statusbar { display: none !important; }
}

/* ---------- Phone chrome ---------- */
.statusbar { height: 44px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0 28px; font-size: 14px; font-weight: 600; }
.statusbar .icons { letter-spacing: 2px; font-size: 12px; }
.screen { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 20px 24px; position: relative; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen.center { display: flex; flex-direction: column; }

.topbar { display: flex; align-items: center; gap: 8px; min-height: 48px; margin-bottom: 8px; }
.topbar h1 { flex: 1; text-align: center; font-size: 17px; margin: 0; padding-right: 36px; }
.topbar h1.left { text-align: left; font-size: 26px; padding-right: 0; }
.back { width: 36px; height: 36px; border: none; background: none; font-size: 22px; padding: 0; text-align: left; }
.iconbtn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; position: relative; font-size: 18px; }
.iconbtn .dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--lime); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }

.tabbar { flex: none; display: flex; border-top: 1px solid var(--line); background: #fff; padding: 6px 4px 18px; }
.tabbar a { flex: 1; text-align: center; text-decoration: none; font-size: 11px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; align-items: center; position: relative; }
.tabbar a .ic { font-size: 20px; line-height: 24px; filter: grayscale(1); opacity: .7; }
.tabbar a.on { color: var(--text); font-weight: 700; }
.tabbar a.on .ic { filter: none; opacity: 1; }
.tabbar a .dot { position: absolute; top: -2px; left: calc(50% + 6px); background: var(--lime); color: var(--text); font-size: 10px; font-weight: 700; border-radius: 8px; padding: 0 5px; }

/* ---------- Brand ---------- */
.logo { font-weight: 900; letter-spacing: -.02em; font-size: 26px; line-height: 1; white-space: nowrap; }
.logo i { font-style: normal; color: var(--lime); text-shadow: 0 0 0 var(--lime); }
.logo.xl { font-size: 52px; }
.tagline { font-size: 20px; line-height: 1.25; margin: 10px 0 0; }
.script { font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; color: var(--muted); transform: rotate(-6deg); display: inline-block; }

/* ---------- Building blocks ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.card + .card { margin-top: 10px; }
.section { margin: 20px 0 10px; font-size: 16px; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.mt { margin-top: 14px; } .mt2 { margin-top: 24px; }

.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: none; border-radius: 14px; padding: 15px 16px; font-weight: 700; font-size: 16px; text-decoration: none; }
.btn.primary { background: var(--lime); color: var(--text); }
.btn.primary:active { filter: brightness(.95); }
.btn.dark { background: var(--text); color: #fff; }
.btn.ghost { background: #fff; border: 1.5px solid var(--text); }
.btn.soft { background: #F1F1EC; }
.btn.small { padding: 10px 14px; font-size: 14px; width: auto; border-radius: 12px; }
.btn[disabled] { opacity: .45; cursor: default; }
.link { background: none; border: none; padding: 0; color: var(--lime-dark); font-weight: 600; text-decoration: none; }

.field { margin-top: 12px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 13px 14px; outline: none; }
.input:focus { border-color: var(--text); }
textarea.input { resize: none; min-height: 90px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.error { font-size: 13px; color: var(--red); margin-top: 8px; }

.segment { display: flex; background: #F1F1EC; border-radius: 12px; padding: 4px; }
.segment button { flex: 1; border: none; background: none; padding: 9px 6px; border-radius: 9px; font-size: 14px; color: var(--muted); }
.segment button.on { background: #fff; color: var(--text); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 12px; font-size: 14px; }
.chip.on { background: var(--lime); border-color: var(--lime); font-weight: 700; }

.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 8px; white-space: nowrap; }
.badge.green { background: var(--lime-soft); color: var(--lime-dark); }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.amber { background: var(--amber-soft); color: var(--amber); }
.badge.gray { background: #F1F1EC; color: var(--muted); }

.option { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 13px 14px; width: 100%; text-align: left; }
.option + .option { margin-top: 8px; }
.option.on { border-color: var(--lime-dark); box-shadow: 0 0 0 3px var(--lime-soft); }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9CBC2; flex: none; }
.option.on .radio { border: 6px solid var(--text); }

.menu a, .menu button { display: flex; align-items: center; gap: 12px; padding: 14px 2px; border: none; border-bottom: 1px solid var(--line); background: none; width: 100%; text-align: left; text-decoration: none; font-size: 15px; }
.menu .ic { width: 24px; text-align: center; }
.menu .chev { margin-left: auto; color: var(--muted); }

.toggle { width: 46px; height: 28px; border-radius: 14px; background: #DCDDD6; border: none; position: relative; flex: none; padding: 0; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.toggle.on { background: var(--lime); }
.toggle.on::after { left: 21px; }

/* ---------- Eira ---------- */
.eira { display: block; object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); }
.hero { background: linear-gradient(135deg, #fff 0%, var(--lime-soft) 100%); border-radius: 20px; padding: 16px; display: flex; align-items: center; gap: 10px; overflow: hidden; }
.hero h2 { margin: 0; font-size: 24px; line-height: 1.15; }
.hero p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.hero img { width: 110px; height: 140px; object-fit: cover; border-radius: 16px; flex: none; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; font-size: 12px; }
.steps3 .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--lime-soft); display: grid; place-items: center; margin: 0 auto 6px; font-size: 20px; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; font-size: 12px; }
.price b { display: block; font-size: 17px; margin: 4px 0 2px; }
.price.best { border-color: var(--lime-dark); background: var(--lime-soft); }

/* ---------- Upload ---------- */
.drop { border: 1.5px dashed #C9CBC2; border-radius: 14px; padding: 18px; text-align: center; background: #fff; display: block; cursor: pointer; }
.drop .ic { font-size: 26px; }
.file { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-top: 8px; font-size: 14px; }
.file .ext { width: 34px; height: 40px; border-radius: 6px; background: var(--red-soft); color: var(--red); font-size: 10px; font-weight: 800; display: grid; place-items: center; flex: none; }
.file .x { border: none; background: none; font-size: 18px; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { margin: 6px 0 0; padding: 0; list-style: none; }
.timeline li { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .pt { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 14px; background: #F1F1EC; color: var(--muted); z-index: 1; }
.timeline li.done .pt { background: var(--lime); color: var(--text); }
.timeline li.done::before { background: var(--lime); }
.timeline li.now .pt { background: var(--text); color: var(--lime); box-shadow: 0 0 0 6px var(--lime-soft); animation: pulse 1.4s infinite; }
.timeline li.fail .pt { background: var(--red); color: #fff; }
.timeline .t { font-size: 15px; font-weight: 600; }
.timeline .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(185,255,0,.15); } }

.progress { height: 8px; border-radius: 4px; background: #F1F1EC; overflow: hidden; }
.progress > div { height: 100%; background: var(--lime); border-radius: 4px; transition: width .5s; }

.bubble-eira { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, #fff, var(--lime-soft)); border-radius: 18px; padding: 14px; }
.bubble-eira img { width: 84px; height: 98px; object-fit: cover; border-radius: 14px; flex: none; }
.bubble-eira b { font-size: 17px; line-height: 1.2; display: block; }

/* ---------- Solution ---------- */
.solution { font-size: 15px; line-height: 1.55; }
.solution h4 { margin: 14px 0 6px; font-size: 15px; }
.solution .formula { font-family: "Cambria Math", "Times New Roman", serif; font-size: 18px; background: #F7F7F2; border-radius: 10px; padding: 8px 12px; margin: 6px 0; }
.solution .answer { background: var(--lime-soft); border-radius: 10px; padding: 10px 12px; font-weight: 700; }
.stars { display: flex; gap: 6px; font-size: 32px; }
.stars button { border: none; background: none; padding: 0; color: #DCDDD6; line-height: 1; }
.stars button.on { color: #F5B700; }

/* ---------- Orders list ---------- */
.order { display: flex; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; }
.order + .order { margin-top: 8px; }
.order .id { font-weight: 700; }
.order .r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-weight: 700; }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 80%; padding: 10px 12px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.msg .who { font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.msg .tm { font-size: 11px; color: var(--muted); text-align: right; margin-top: 4px; }
.msg.them { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--lime-soft); align-self: flex-end; border-bottom-right-radius: 4px; }
.composer { flex: none; display: flex; gap: 8px; padding: 10px 16px 18px; border-top: 1px solid var(--line); background: #fff; }
.composer .input { border-radius: 22px; padding: 11px 16px; }
.composer button { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--lime); font-size: 18px; flex: none; }

/* ---------- Balance ---------- */
.bigbal { display: flex; align-items: center; justify-content: space-between; background: var(--lime-soft); border-radius: 20px; padding: 18px; }
.bigbal .n { font-size: 54px; font-weight: 900; line-height: 1; }
.ledger { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ledger .q { font-weight: 700; white-space: nowrap; }
.ledger .q.plus { color: var(--lime-dark); }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
details summary { font-weight: 600; cursor: pointer; list-style: none; }
details summary::after { content: "+"; float: right; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Overlays ---------- */
.sheet-bg { position: absolute; inset: 0; background: rgba(23,25,20,.4); display: flex; align-items: flex-end; z-index: 20; animation: fade .15s; }
.sheet { background: var(--bg); width: 100%; border-radius: 24px 24px 0 0; padding: 18px 20px 26px; max-height: 85%; overflow-y: auto; animation: up .2s; }
.sheet h3 { margin: 0 0 6px; font-size: 19px; }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: #D3D4CC; margin: -6px auto 14px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }

.toast { position: absolute; left: 16px; right: 16px; top: 52px; background: var(--text); color: #fff; padding: 12px 14px; border-radius: 14px; font-size: 14px; z-index: 30; display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: drop .25s; }
.toast img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; flex: none; }
@keyframes drop { from { transform: translateY(-20px); opacity: 0; } }

.proto-note { border: 1.5px dashed #C9CBC2; border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--muted); background: #fff; }
.proto-note b { color: var(--text); }

/* ---------- Bank stub ---------- */
.bank { background: #fff; }
.bank .bank-head { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bank .tb { width: 36px; height: 36px; border-radius: 10px; background: #FFDD2D; display: grid; place-items: center; font-weight: 900; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--lime-soft); border-top-color: var(--lime-dark); animation: spin 0.9s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= ЗАЩИЩЕНО: additions ================= */
.hdr { display: flex; align-items: center; gap: 8px; min-height: 52px; margin-bottom: 6px; }
.hdr .logo { font-size: 24px; flex: 1; text-align: center; }
.hdr .pricepill { font-size: 12px; font-weight: 700; background: var(--lime-soft); color: var(--lime-dark); border-radius: 10px; padding: 4px 8px; white-space: nowrap; }
.hdr .step { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
h1.title { font-size: 25px; line-height: 1.15; margin: 6px 0 4px; }
.lead { color: var(--muted); font-size: 14px; margin: 0 0 12px; line-height: 1.4; }
.check { list-style: none; padding: 0; margin: 8px 0; }
.check li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; }
.check li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--lime) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171914' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 13px no-repeat; }
.check li.off::before { background: #F1F1EC; }
.check li.bad::before { background: var(--red); }
.counter { font-weight: 700; font-size: 13px; background: #F1F1EC; border-radius: 10px; padding: 4px 9px; }
.counter.full { background: var(--amber-soft); color: var(--amber); }
.cat { margin-top: 16px; }
.cat h4 { margin: 0 0 4px; font-size: 14px; }
.cat .opt { color: var(--muted); font-weight: 400; }
.file .ext.docx, .file .ext.doc { background: var(--blue-soft); color: var(--blue); }
.file .ext.pptx { background: var(--amber-soft); color: var(--amber); }
.file .ext.jpg, .file .ext.png { background: var(--lime-soft); color: var(--lime-dark); }
.conflict { border: 1.5px solid var(--amber); background: #fff; border-radius: 16px; padding: 14px; margin-top: 12px; }
.conflict .src { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.conflict .option { margin-top: 8px; }
.qtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 8px 0 4px; }
.qtabs button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.qtabs button.on { background: var(--text); color: #fff; border-color: var(--text); font-weight: 700; }
.q { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-top: 8px; }
.q .k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.q .k.likely { color: var(--lime-dark); } .q .k.clarifying { color: var(--blue); } .q .k.hard { color: var(--red); }
.q h4 { margin: 4px 0 6px; font-size: 15px; line-height: 1.35; }
.q p { margin: 6px 0; font-size: 14px; line-height: 1.5; }
.q .thesis { background: var(--lime-soft); border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 600; }
.q .srcq { font-size: 12px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 8px; margin-top: 6px; font-style: italic; }
.q .weak { font-size: 12px; color: var(--amber); font-weight: 600; }
.split { display: grid; gap: 12px; }
.viewswitch { display: flex; gap: 6px; margin-top: 10px; }
.viewswitch button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 10px; font-size: 13px; }
.viewswitch button.on { background: var(--text); color: #fff; }

/* ---------- Desktop layout (section 8: mobile and desktop) ---------- */
body.desk { background: var(--bg); }
body.desk .stage { display: block; padding: 0; }
body.desk .side { display: none; }
body.desk .phone { width: 100%; height: 100vh; border-radius: 0; box-shadow: none; flex-direction: row-reverse; }
body.desk .statusbar { display: none; }
body.desk #view { max-width: 980px; margin: 0 auto; width: 100%; }
body.desk .screen { padding: 12px 40px 40px; }
body.desk .tabbar { flex-direction: column; justify-content: flex-start; width: 230px; border-top: none; border-right: 1px solid var(--line); padding: 24px 12px; gap: 4px; }
body.desk .tabbar::before { content: "ЗАЩИЩЕНО."; font-weight: 900; font-size: 22px; letter-spacing: -.02em; padding: 0 10px 18px; }
body.desk .tabbar a { flex: none; flex-direction: row; gap: 10px; font-size: 15px; padding: 10px; border-radius: 12px; }
body.desk .tabbar a.on { background: var(--lime-soft); }
.tabbar .deskextra { display: none; }
body.desk .tabbar .deskextra { display: block;  margin-top: auto; font-size: 12px; color: var(--muted); padding: 10px; }
body.desk .split { grid-template-columns: 1fr 1fr; align-items: start; }
body.desk .hdr .logo { font-size: 30px; text-align: left; }
body.desk .btn { max-width: 420px; }
body.desk .sheet-bg { align-items: center; justify-content: center; }
body.desk .sheet { max-width: 520px; border-radius: 24px; }

/* ---------- Outline icons (Lucide), same sizes as «Решено» ---------- */
.i { width: 1.2em; height: 1.2em; vertical-align: -0.22em; flex: none; }
.i.lime { color: var(--lime-dark); }
.i.warn { color: var(--amber); }
.tabbar a .ic .i { width: 22px; height: 22px; }
.tabbar a .ic { filter: none; opacity: 1; line-height: 0; }
.tabbar a.on .ic .i { color: var(--text); stroke-width: 2.2; }
.menu .ic .i { width: 22px; height: 22px; color: var(--text); }
.menu button .ic .i { color: var(--red); }
.menu .chev .i { width: 18px; height: 18px; }
.drop .ic .i { width: 30px; height: 30px; }
.back .i { width: 22px; height: 22px; vertical-align: middle; }
.composer button .i { width: 20px; height: 20px; }
.timeline .pt .i { width: 15px; height: 15px; vertical-align: middle; }
.file .x .i { width: 18px; height: 18px; }
.thesis .i { color: var(--lime-dark); margin-top: 1px; }
.qtabs button .i { width: 15px; height: 15px; vertical-align: -0.2em; }

/* ---------- closer to the mockup ---------- */
.hdr .logo { font-size: clamp(22px, 7.6vw, 34px); }
body.desk .hdr .logo { font-size: 34px; }
.logo.xl { font-size: clamp(38px, 12.5vw, 56px); }
h1.title { font-size: clamp(22px, 6.6vw, 28px); font-weight: 800; letter-spacing: -.01em; }
.welcome { text-align: left; }
.welcome-logo { margin-top: 18px; }
.welcome-title { font-size: clamp(24px, 7.4vw, 32px); line-height: 1.12; font-weight: 800; margin: 10px 0 0; max-width: 360px; }
.welcome-hero { position: relative; flex: 1; min-height: 260px; margin-top: 8px; }
.welcome-hero img { position: absolute; right: -20px; bottom: 0; height: 100%; max-height: 420px; width: 75%; object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(to left, #000 65%, transparent); mask-image: linear-gradient(to left, #000 65%, transparent); }
.welcome-near { position: absolute; left: 0; top: 18px; font-size: 26px; color: var(--text); }
.welcome-list { position: absolute; left: 0; bottom: 6px; background: rgba(255,255,255,.85); border-radius: 14px; padding: 6px 10px; }
.welcome-list li { padding: 3px 0; font-size: 13px; font-weight: 600; }
.menu .toggle, .menu button.toggle { width: 46px; height: 28px; padding: 0; border: none; border-radius: 14px; flex: none; }
.order.defense { align-items: center; padding: 10px 12px; }
.order.defense img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.order.defense .id { font-size: 15px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kit { display: grid; gap: 8px; margin-top: 6px; }
.kitfile { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-align: left; width: 100%; }
.kitfile b { display: block; font-size: 14px; }
.kitfile .tiny { display: block; }
.kitfile.on { border-color: var(--lime-dark); box-shadow: 0 0 0 3px var(--lime-soft); }
.kitfile > .i { color: var(--muted); }
.kitic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.kitic .i { width: 22px; height: 22px; }
.kitic.blue { background: var(--blue-soft); color: var(--blue); }
.kitic.amber { background: var(--amber-soft); color: var(--amber); }
.kitic.green { background: var(--lime-soft); color: var(--lime-dark); }
.kitic.red { background: var(--red-soft); color: var(--red); }
.ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.menu button.toggle { background: #DCDDD6; border-bottom: none; }
.menu button.toggle.on { background: var(--lime); }
