/* Kanakku — Mocha brown, Champagne gold and Burnt amber, with Charcoal black;
   Aurora green for money in and Crimson red for money out and warnings */
:root {
  --brick: #5B4632;
  --brick-dark: #45351F;
  --turmeric: #C8792C;
  --turmeric-soft: #F4D9A0;
  --charcoal: #171717;
  --ink: #2B2521;
  --muted: #6F6457;
  --paper: #FBF5EA;
  --card: #fffdf8;
  --line: #E9DCC3;
  --crimson: #A31C1B;
  --crimson-soft: #F6DEDC;
  --green: #39C95A;
  --green-dark: #1F7A37;
  --green-soft: #DDF5E3;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(33,29,26,.06), 0 8px 24px -12px rgba(33,29,26,.25);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif Tamil", serif;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Noto Sans Tamil", "Latha", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; }
a { color: var(--brick); }
h1, h2, h3 { font-family: var(--serif); color: var(--charcoal); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; border-radius: 6px; }

/* buttons & inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 1.2em;
  border-radius: 999px; border: 2px solid var(--charcoal); background: var(--charcoal); color: #fff; font: 600 1rem var(--sans);
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.brick { background: var(--brick); border-color: var(--brick); }
.btn.brick:hover { background: var(--brick-dark); border-color: var(--brick-dark); }
.btn.ghost { background: transparent; color: var(--charcoal); }
.btn.ghost:hover { background: var(--turmeric-soft); }
.btn.small { min-height: 36px; padding: 0 .9em; font-size: .9rem; }
.btn.danger { background: transparent; color: var(--crimson); border-color: var(--crimson); }
.btn.google { background: #fff; color: var(--charcoal); border-color: var(--line); width: 100%; }
label { display: block; font-weight: 600; font-size: .92rem; margin: .9em 0 .35em; color: var(--charcoal); }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; min-height: 46px; padding: .65em .9em; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; font: 1rem var(--sans); color: var(--charcoal); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--turmeric); outline: none; box-shadow: 0 0 0 3px var(--turmeric-soft); }
.check { display: flex; gap: .6em; align-items: flex-start; font-weight: 400; }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--brick); }
.msg { padding: .7em 1em; border-radius: 10px; margin: .8em 0; font-size: .95rem; }
.msg.err { background: var(--crimson-soft); color: var(--crimson); border-left: 4px solid var(--crimson); }
.msg.ok { background: var(--green-soft); color: var(--charcoal); border-left: 4px solid var(--green); }
.hint { color: var(--muted); font-size: .88rem; }

/* site header / footer (public pages) */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 3rem); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--charcoal); font: 700 1.35rem var(--serif); }
.brand img { width: 34px; height: 34px; }
.brand small { font: 500 .8rem var(--sans); color: var(--muted); }
.head-actions { display: flex; gap: .5rem; }
.site-foot { border-top: 1px solid var(--line); padding: 2rem clamp(1rem, 4vw, 3rem); color: var(--muted); font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.site-foot a { color: var(--ink); margin-right: 1rem; }

/* landing */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(1.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vw, 5rem); max-width: 1240px; margin: 0 auto; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brick); background: var(--turmeric-soft); padding: .3em .8em; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--turmeric); }
.lede { font-size: 1.15rem; color: var(--ink); max-width: 34em; }
.tamil-line { font-size: 1.05rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

.ledger { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.ledger-top { background: var(--charcoal); color: #fff; padding: .85rem 1.1rem; display: flex; justify-content: space-between; font-size: .9rem; }
.ledger-top b { color: var(--turmeric); }
.ledger-body { padding: 1.2rem; }
.ledger-q { font: 600 1.05rem var(--sans); color: var(--charcoal); min-height: 3.2em; border-left: 4px solid var(--turmeric); padding-left: .8rem; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--brick); vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
.agent-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; }
.agent-chip { font-size: .82rem; font-weight: 600; padding: .35em .75em; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); transition: all .3s ease; }
.agent-chip.on { background: var(--turmeric); border-color: var(--turmeric); color: var(--charcoal); }
.agent-chip.done { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.ledger-answer { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 1rem; }
.big-num { font: 700 2.4rem var(--serif); color: var(--brick); }
.stamp { font-size: .78rem; font-weight: 700; color: var(--charcoal); border: 2px solid var(--charcoal); border-radius: 6px; padding: .1em .5em; transform: rotate(-4deg); opacity: 0; transition: opacity .4s ease; }
.stamp.show { opacity: 1; }
@keyframes blink { 50% { opacity: 0; } }

.band { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); }
.band.dark { background: var(--charcoal); color: #EFE7DA; }
.band.dark h2, .band.dark h3 { color: #fff; }
.wrap { max-width: 1180px; margin: 0 auto; }
.steps4 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 1.5rem; counter-reset: s; }
.step4 { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; position: relative; }
.band.dark .step4 { background: #242120; border-color: #3d3631; }
.step4 .who { font: 700 1.05rem var(--serif); color: var(--turmeric); display: block; margin-bottom: .3rem; }
.step4 p { margin: 0; font-size: .95rem; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.who-card { background: var(--card); border-radius: var(--radius); padding: 1.2rem; border-top: 5px solid var(--brick); box-shadow: var(--shadow); }
.who-card:nth-child(2) { border-top-color: var(--turmeric); }
.who-card:nth-child(3) { border-top-color: var(--charcoal); }
.who-card q { display: block; color: var(--muted); font-style: italic; margin-top: .5rem; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.5rem; }
.promise div { border-left: 4px solid var(--turmeric); padding-left: 1rem; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* sign-in */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--charcoal); color: #EFE7DA; padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { color: #fff; }
.auth-side .brand { color: #fff; }
.auth-side ul { padding-left: 1.1rem; }
.auth-side li { margin: .5rem 0; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.auth-card { width: 100%; max-width: 430px; }
.tabs { display: flex; gap: .3rem; background: #F1E6CF; border-radius: 999px; padding: 4px; margin-bottom: 1.2rem; }
.tabs button { flex: 1; min-height: 42px; border: 0; border-radius: 999px; background: transparent; font: 600 .98rem var(--sans); color: var(--muted); cursor: pointer; }
.tabs button.on { background: #fff; color: var(--charcoal); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.or { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; margin: 1rem 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.demo-box { margin-top: 1.4rem; padding: 1rem; border: 1.5px dashed var(--turmeric); border-radius: var(--radius); background: #FFF9EE; }

/* app shell */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--charcoal); color: #d8cdbd; padding: 1.1rem .8rem; display: flex; flex-direction: column; gap: .2rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { color: #fff; padding: .2rem .6rem 1rem; }
.nav-group { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #9b8f82; margin: 1rem .7rem .35rem; font-weight: 700; }
.nav-btn { display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 44px; padding: 0 .8rem; border: 0; border-radius: 10px;
  background: transparent; color: #e9dfd0; font: 500 .97rem var(--sans); cursor: pointer; text-align: left; }
.nav-btn:hover { background: #2f2925; }
.nav-btn.on { background: var(--turmeric); color: var(--charcoal); font-weight: 700; }
.nav-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.nav-btn .count { margin-left: auto; background: var(--crimson); color: #fff; font-size: .75rem; border-radius: 999px; padding: .05em .55em; }
.side-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid #2B2521; }
.who-am-i { font-size: .85rem; padding: .3rem .7rem .6rem; color: #b9ad9e; word-break: break-all; }
.main { padding: clamp(1rem, 3vw, 2.2rem); min-width: 0; }
.topbar { display: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.page-head p { color: var(--muted); margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 2.2vw, 1.5rem); box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.2rem; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; border-top: 4px solid var(--turmeric); }
.kpi:nth-child(4n+1) { border-top-color: var(--brick); }
.kpi:nth-child(4n+3) { border-top-color: var(--charcoal); }
.kpi b { display: block; font: 700 1.8rem var(--serif); color: var(--charcoal); }
.kpi span { color: var(--muted); font-size: .88rem; }
.banner { background: var(--brick); color: #fff; padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; }

/* flow strip */
.flow { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.flow span { font-size: .82rem; font-weight: 700; padding: .35em .8em; border-radius: 999px; background: #F1E6CF; color: var(--muted); }
.flow span.on { background: var(--charcoal); color: #fff; }

/* ask */
.ask-box { display: grid; gap: .8rem; }
.qcards { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.qcard { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: .55em .85em; font: .92rem var(--sans); color: var(--charcoal); cursor: pointer; text-align: left; }
.qcard:hover { border-color: var(--turmeric); background: #FFF9EE; }
.progress { display: grid; gap: .55rem; }
.pstep { display: grid; grid-template-columns: 96px 1fr; gap: .8rem; align-items: start; padding: .55rem .7rem; border-radius: 10px; background: #FBF5EA; animation: fadeup .35s ease; font-size: .93rem; }
.pstep .ag { font-weight: 700; color: var(--charcoal); }
.pstep.error { background: var(--crimson-soft); }
.pstep.warn { background: var(--turmeric-soft); }
.pstep.ok .ag::after { content: " ✔"; color: var(--green-dark); }
@keyframes fadeup { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.answer-text { font: 600 1.2rem var(--serif); color: var(--charcoal); }
.badge { display: inline-flex; align-items: center; gap: .35em; font-size: .8rem; font-weight: 700; border-radius: 999px; padding: .25em .7em; }
.badge.rev { background: var(--charcoal); color: #fff; }
.badge.fix { background: var(--turmeric-soft); color: var(--charcoal); }
.badge.fail { background: var(--crimson-soft); color: var(--crimson); }
.badge.run { background: var(--turmeric); color: var(--charcoal); }
details.how { margin-top: 1rem; border: 1px solid var(--line); border-radius: 12px; padding: .7rem 1rem; background: #FFF9EE; }
details.how summary { cursor: pointer; font-weight: 700; color: var(--brick); }
details.how ol { margin: .6rem 0 0; padding-left: 1.3rem; }
pre.code { background: var(--charcoal); color: #F6EAD3; padding: 1rem; border-radius: 10px; overflow-x: auto; font: .85rem/1.5 var(--mono); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--turmeric-soft); border-top-color: var(--brick); animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; max-height: 460px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
th, td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid #F0E5D0; white-space: nowrap; }
th { background: #F6EAD3; color: var(--charcoal); font-weight: 700; position: sticky; top: 0; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
tr:hover td { background: #FFF9EE; }

/* list rows */
.rowlist { display: grid; gap: .6rem; }
.lrow { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex-wrap: wrap; }
.lrow .t { font-weight: 600; color: var(--charcoal); word-break: break-word; }
.lrow .m { color: var(--muted); font-size: .85rem; }
.lrow .acts { display: flex; gap: .4rem; flex-wrap: wrap; }
.empty { text-align: center; padding: 2.2rem 1rem; color: var(--muted); }
.empty b { display: block; font: 700 1.2rem var(--serif); color: var(--charcoal); margin-bottom: .3rem; }

/* drop zone */
.drop { border: 2.5px dashed var(--turmeric); border-radius: 16px; padding: 2rem 1rem; text-align: center; background: #FFF9EE; cursor: pointer; transition: background .2s; }
.drop.over { background: var(--turmeric-soft); }
.drop b { font: 700 1.15rem var(--serif); color: var(--charcoal); }

/* chart */
.chart { margin-top: 1rem; }
.chart svg text { font: 11px var(--sans); fill: var(--ink); }

/* quick help */
.help-fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; min-height: 52px; border-radius: 999px; box-shadow: var(--shadow); }
.help-panel { position: fixed; right: 18px; bottom: 82px; width: min(360px, calc(100vw - 36px)); max-height: min(520px, calc(100vh - 110px));
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.4); z-index: 50; display: flex; flex-direction: column; }
.help-head { background: var(--brick); color: #fff; padding: .8rem 1rem; border-radius: 18px 18px 0 0; display: flex; justify-content: space-between; align-items: center; }
.help-head button { background: transparent; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.help-log { padding: .8rem; overflow-y: auto; flex: 1; display: grid; gap: .5rem; align-content: start; }
.bubble { padding: .55em .8em; border-radius: 12px; font-size: .92rem; max-width: 88%; }
.bubble.me { background: var(--charcoal); color: #fff; justify-self: end; }
.bubble.bot { background: #F4E8D2; color: var(--charcoal); }
.help-form { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid var(--line); }
.help-form input { min-height: 44px; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(33,29,26,.55); display: flex; align-items: center; justify-content: center; z-index: 60; padding: 1rem; }
.modal { background: var(--card); border-radius: 18px; padding: 1.5rem; max-width: 460px; width: 100%; }

/* legal pages */
.doc { max-width: 820px; margin: 0 auto; padding: 1rem clamp(1rem, 4vw, 2rem) 3rem; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2rem; }
.doc table { margin: 1rem 0; }
.doc td, .doc th { white-space: normal; vertical-align: top; }
.doc .updated { color: var(--muted); }

/* responsive */
@media (max-width: 1000px) {
  .steps4 { grid-template-columns: 1fr 1fr; }
  .who-grid, .kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero, .auth-wrap, .grid2, .promise, .grid3 { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; top: 60px; left: 0; bottom: 0; width: min(300px, 82vw); z-index: 40; transform: translateX(-105%); transition: transform .25s ease; height: auto; }
  .side > .brand { display: none; }
  .side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.45); }
  .topbar { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 .6rem; background: var(--charcoal); position: sticky; top: 0; z-index: 45; }
  .topbar .brand { color: #fff; font-size: 1.15rem; }
  .topbar button { min-width: 44px; min-height: 44px; background: transparent; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }
  .pstep { grid-template-columns: 1fr; gap: .1rem; }
  .topbar button.top-out { font: 600 .9rem var(--sans); border: 1.5px solid #5a504a; border-radius: 999px; padding: 0 .9em; min-height: 38px; }
  .main { padding-bottom: 96px; }
  .help-fab { min-height: 44px; padding: 0 1em; font-size: .9rem; right: 12px; bottom: 12px; }
  .head-actions .btn.ghost { display: none; }
}
@media (max-width: 520px) {
  .steps4, .who-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .kpi b { font-size: 1.4rem; }
  .lede { font-size: 1.05rem; }
  .big-num { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .side, .topbar, .help-fab, .help-panel { display: none !important; } .shell { display: block; } }
.mt { margin-top: 1rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
.grow { flex: 1; min-width: 240px; }
/* my money */
.bars { display: grid; gap: .45rem; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 160px) 1fr auto; gap: .6rem; align-items: center; font-size: .9rem; }
.bar-row .lab { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 12px; background: #F1E6CF; border-radius: 6px; position: relative; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: var(--brick); }
.bar-fill.t { background: var(--turmeric); }
.bar-fill.c { background: var(--charcoal); }
.bar-fill.g { background: var(--green); }
.bar-fill.over { background: var(--crimson); }
.bar-row .val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--charcoal); text-align: right; }
.bar-row .prev { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); }
.alert-list { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.alert { padding: .65rem .9rem; border-radius: 10px; font-size: .93rem; border-left: 4px solid var(--turmeric); background: var(--turmeric-soft); color: var(--charcoal); }
.alert.high { border-left-color: var(--crimson); background: var(--crimson-soft); color: #5E1010; }
.alert.info { border-left-color: var(--charcoal); background: #F1E6CF; }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .8rem; font-weight: 600; padding: .3em .75em; border-radius: 999px; background: #F1E6CF; color: var(--charcoal); }
.chip.ok { background: var(--charcoal); color: #fff; }
.guide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.guide div { border-top: 4px solid var(--turmeric); background: #FFF9EE; border-radius: 0 0 12px 12px; padding: .9rem; font-size: .92rem; }
.guide div:nth-child(1) { border-top-color: var(--brick); }
.guide div:nth-child(3) { border-top-color: var(--charcoal); }
.guide b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--charcoal); margin-bottom: .3rem; }
.guide ol { margin: 0; padding-left: 1.1rem; }
.cols-chart svg text { font: 10px var(--sans); fill: var(--muted); }
.inline-form { display: flex; gap: .5rem; align-items: flex-end; flex-wrap: wrap; }
.inline-form > div { flex: 1; min-width: 140px; }
.toggle { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.toggle input { width: 20px; height: 20px; accent-color: var(--brick); }
.report-sec h4 { font-family: var(--serif); font-size: 1.05rem; color: var(--charcoal); margin: 1rem 0 .3rem; }
.report-sec ul { margin: 0; padding-left: 1.2rem; }
.tx-in { color: var(--green-dark); font-weight: 700; }
td.click { cursor: pointer; }
@media (max-width: 1000px) { .guide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .guide { grid-template-columns: 1fr; } .bar-row { grid-template-columns: 90px 1fr auto; } }
.page-head select { width: auto; min-width: 130px; }
@media (max-width: 520px) { .hide-sm { display: none; } th, td { padding: .55rem .6rem; } }
.src-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: .8rem; }
.src { border: 1.5px solid var(--line); border-top: 5px solid var(--brick); border-radius: 12px; padding: 1rem; background: #fff; }
.src:nth-child(2) { border-top-color: var(--turmeric); }
.src:nth-child(3) { border-top-color: var(--charcoal); }
.src.off { opacity: .6; border-top-color: var(--line); }
.src-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.src-top b { font-family: var(--serif); font-size: 1.15rem; color: var(--charcoal); }
.src-num { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.src-num b { color: var(--charcoal); font-size: 1rem; }
.help-actions { display: flex; gap: .4rem; padding: .6rem .8rem 0; flex-wrap: wrap; }
.help-actions .btn { flex: 1; }
.help-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; display: grid; gap: .5rem; font-size: .92rem; }
.help-card input, .help-card textarea { min-height: 40px; }
.help-card textarea { min-height: 70px; }
.contact-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.contact-row a { flex: 1; text-align: center; }
.sales-box { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.sales-ways { display: grid; gap: .8rem; }
.sales-way { display: flex; gap: .9rem; align-items: center; background: #242120; border-radius: 12px; padding: .9rem 1rem; color: #EFE7DA; text-decoration: none; }
.sales-way b { display: block; color: #fff; font-size: 1.05rem; }
.sales-way span.ic { width: 40px; height: 40px; border-radius: 10px; background: var(--turmeric); color: var(--charcoal); display: grid; place-items: center; font-weight: 800; }
.sales-form { background: var(--card); color: var(--ink); border-radius: 16px; padding: 1.3rem; }
.sales-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.status-pill { font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .2em .7em; background: #F1E6CF; }
.status-pill.new { background: var(--crimson); color: #fff; }
.status-pill.won { background: var(--charcoal); color: #fff; }
@media (max-width: 820px) { .sales-box { grid-template-columns: 1fr; } .sales-form .two { grid-template-columns: 1fr; } }
