:root{--g:#1f4d3a;--gold:#c89b52;--bg:#f8f6f2;--ink:#1c2420;--mut:#6b746f;--line:#e4dfd6;--card:#fff}
.setup-guide{max-width:800px;margin:0 auto;padding:32px 20px;line-height:1.7}.setup-guide h1{margin-top:24px;line-height:1.2}.setup-guide h2{font-size:22px;margin-top:24px;line-height:1.3}.setup-guide h2:first-child{margin-top:0}.setup-guide .card{margin:24px 0}.setup-guide code{overflow-wrap:anywhere}.setup-guide a,#google-help a{color:var(--g)}.setup-guide .btn{color:white;display:inline-block;text-decoration:none}
*{box-sizing:border-box}[hidden]{display:none!important}
body{margin:0;font-family:'DM Sans',sans-serif;background:var(--bg);color:var(--ink);font-size:15px}
h1,h2,h3,.brand b{font-family:Fraunces,Georgia,serif;margin:0}
button,input,select,textarea{font:inherit}
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#fff;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:8px;font-size:18px;min-width:0}.brand b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40vw}
.logo{width:36px;height:36px;border-radius:9px;background:var(--g);color:#fff;display:grid;place-items:center}
.logo.big{width:56px;height:56px;font-size:26px;margin:0 auto 10px}
.co{margin-left:auto;font-size:12px;color:var(--mut);max-width:30vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st{font-size:11px;color:var(--mut);white-space:nowrap}
.ib{border:0;background:#f0ece4;border-radius:10px;width:42px;height:42px;font-size:18px;cursor:pointer}
.drawer{position:fixed;top:0;left:0;bottom:0;width:86%;max-width:340px;background:#fff;z-index:40;transform:translateX(-102%);transition:.25s;overflow-y:auto;padding:18px 14px 28px;display:flex;flex-direction:column;gap:4px}
.drawer.open{transform:none;box-shadow:0 0 40px #0004}
.ov{position:fixed;inset:0;background:#0006;z-index:30;display:none}.ov.show{display:block}
.drawer h4{margin:16px 8px 6px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--mut)}
.drawer button{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:0 14px;border:0;background:none;border-radius:12px;text-align:left;cursor:pointer;font-size:15px}
.drawer button.on{background:#ece8df;font-weight:600}
.drawer .bot{margin-top:auto;padding-top:26px;border-top:1px solid var(--line)}
.drawer .out{color:#a3392f}
main{padding:14px 14px 150px;max-width:980px;margin:auto}
.bnav{position:fixed;left:0;right:0;bottom:0;z-index:20;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
.bnav button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;color:var(--mut);padding:6px 0;cursor:pointer}
.bnav button span{font-size:19px}.bnav .on{color:var(--g);font-weight:600}
.hero{position:relative;border-radius:18px;overflow:hidden;padding:26px 20px 24px;color:#fff;background:linear-gradient(135deg,#16372a,var(--g));background-size:cover;background-position:center;margin-bottom:18px}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(#0000002a,#000000a0)}
.hero>*{position:relative}.hero small{letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-size:12px}
.hero h1{font-size:38px;margin:8px 0}.hero p{margin:0 0 16px;opacity:.92;line-height:1.5}
.btn{background:var(--g);color:#fff;border:0;border-radius:10px;padding:11px 16px;font-weight:600;cursor:pointer}
.btn.gold{background:var(--gold)}.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.full{width:100%}
.hero .btn.ghost{background:#0003;color:#fff;border-color:#fff6}
.lk{border:0;background:none;color:var(--g);text-decoration:underline;cursor:pointer;padding:4px 0}
.ph{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:6px 0 14px;flex-wrap:wrap}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:14px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.kpi small{color:var(--mut);letter-spacing:.06em;text-transform:uppercase;font-size:11px}
.kpi b{display:block;font-size:19px;margin-top:6px;font-variant-numeric:tabular-nums}.kpi{margin:0}
.seg{display:flex;gap:4px;overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px;margin-bottom:12px}
.seg button{flex:1 0 auto;border:0;background:none;padding:9px 12px;border-radius:8px;cursor:pointer}.seg .on{background:var(--g);color:#fff}
.rg{display:flex;gap:8px;margin-bottom:12px}.rg input{flex:1}
label{display:grid;gap:5px;margin-bottom:11px;font-size:13px;color:var(--mut)}
input,select,textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}
.ck{display:flex;align-items:center;gap:8px}.ck input{width:auto}
.tw{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}
th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}.n{text-align:right!important;font-variant-numeric:tabular-nums}
tfoot th,tr.t td{font-weight:700;border-top:2px solid var(--ink);color:var(--ink)}
.sec td{background:#f3efe7;font-weight:600}
.mut{color:var(--mut)}.tt{text-align:right;margin:10px 0 0}.ok{color:#1f7a45}.bad{color:#a3392f}
.mo{position:fixed;inset:0;background:#0007;z-index:60;display:flex;align-items:flex-end;justify-content:center}
.md{background:#fff;width:100%;max-width:520px;max-height:92vh;display:flex;flex-direction:column;border-radius:18px 18px 0 0}
.mh,.mf{display:flex;justify-content:space-between;align-items:center;padding:14px 16px}.mf{gap:8px;border-top:1px solid var(--line)}.mf .btn{flex:1}
.mb{padding:4px 16px;overflow-y:auto}.err{color:#a3392f;font-size:13px;padding:0 16px 8px}
.row{display:grid;gap:6px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px dashed var(--line)}
.item,.ln{grid-template-columns:1fr 1fr}.item select,.ln select{grid-column:1/-1}
.tot{font-size:13px;margin:6px 0 10px}
.auth-page{min-height:100vh;background:#f6f5ef;display:flex;flex-direction:column}
.auth-header{display:flex;align-items:center;justify-content:space-between;width:min(1240px,100%);margin:auto;padding:28px 48px;border-bottom:1px solid #dfdfd3}
.auth-wordmark{display:flex;align-items:center;gap:10px;color:#243f32;text-decoration:none;font-size:29px;font-weight:700;letter-spacing:-1.5px}
.brand-mark{width:38px;height:38px;border:1px solid #aeb6a4;border-radius:11px;display:grid;place-items:center}.brand-mark svg{width:28px;height:28px}.wordmark-dot{color:var(--gold);margin-left:-10px}
.header-note{font-size:12px;color:#737e6c}.auth{width:min(1240px,100%);margin:auto;display:grid;grid-template-columns:1.15fr 1fr;gap:90px;padding:64px 48px 58px;align-items:center;flex:1}
.hero-a{text-align:left;min-width:0}.auth-eyebrow{display:flex;align-items:center;gap:10px;text-transform:uppercase;font-size:10px;font-weight:600;letter-spacing:1.7px;color:#647157;margin-bottom:24px}.auth-eyebrow span{width:7px;height:7px;border-radius:50%;background:var(--gold)}
.hero-a h1{font-size:clamp(46px,4.8vw,68px);line-height:1.08;letter-spacing:-2.6px;max-width:480px;font-weight:500;color:#283f30}.hero-a>p{font-size:16px;line-height:1.8;max-width:425px;color:#747b6d;margin:22px 0 30px}
.auth-cover{display:block;width:100%;max-width:460px;max-height:280px;object-fit:cover;border-radius:8px;border:1px solid #dce0d1}.auth-cover+.ledger-art{display:none}.ledger-art{max-width:460px;background:#eeefe5;border:1px solid #dce0d1;border-radius:8px;padding:18px 24px;transform:rotate(-1deg)}
.ledger-head{display:flex;align-items:center;justify-content:space-between;color:#6b7660;font-size:9px;letter-spacing:1.5px;padding-bottom:13px;border-bottom:1px solid #d4d9c9}.ledger-head svg{width:20px;height:20px;color:var(--g)}
.ledger-row{display:grid;grid-template-columns:32px 1fr;gap:4px 10px;padding:14px 0;border-bottom:1px solid #d4d9c9}.ledger-row>span{grid-row:span 2;font-size:11px;color:#939c85;padding-top:2px}.ledger-row b{font-size:13px;font-weight:600;color:#41513b}.ledger-row small{font-size:11px;color:#808975}
.ledger-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px}.ledger-foot span{font-size:8px;letter-spacing:1.2px;color:#8a927d}.ledger-foot svg{width:145px;height:34px;color:#788e64}
.auth-caption{margin-top:28px;position:relative;padding-left:20px;font-size:12px;color:#858b7a;line-height:1.8}.caption-line{position:absolute;left:0;top:5px;bottom:5px;width:2px;background:var(--gold)}
.access{max-width:410px;width:100%;justify-self:end;padding:36px 0}.access-kicker{font-size:10px;letter-spacing:1.7px;color:#889079;font-weight:600}.access-heading h2{font-size:33px;letter-spacing:-1px;font-weight:500;margin:12px 0 7px}.access-heading p{color:#848978;font-size:13px;margin:0 0 26px}
.access .card{padding:0;background:transparent;border:none;box-shadow:none}.access .tabs{gap:0;padding:4px;border:1px solid #dfe1d5;border-radius:8px;background:#eeefe7;margin-bottom:27px}.access .tabs button{background:transparent;border:none;border-radius:5px;color:#7d8572;padding:9px;font-size:12px;font-weight:600}.access .tabs .on{background:#fff;color:#2f4635;box-shadow:0 1px 4px #37402b0e}
.access label{font-size:12px;font-weight:500;color:#4c5745;margin-bottom:18px}.access input{background:#fffef9;border:1px solid #dcdfd2;border-radius:6px;height:46px;margin-top:9px;padding:12px 14px;font-size:13px}.access input::placeholder{color:#a0a494}.access input:focus{outline:2px solid #bac7ad;outline-offset:2px;border-color:var(--g)}
.access #auth-help{font-size:12px;line-height:1.6;margin:0 0 20px}
.access .btn{border-radius:6px;height:46px;font-size:13px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:10px}.access #submit-auth{justify-content:space-between;padding:0 18px}.access .btn.ghost{background:#fffef9;border:1px solid #dcdfd2;color:#495240}.access .or{display:flex;align-items:center;gap:12px;color:#8d9482;font-size:10px;margin:24px 0 19px}.access .or::before,.access .or::after{content:'';height:1px;flex:1;background:#dfe1d5}
.google-letter{font-size:18px;color:#4285f4}.access #gbtn{display:block;margin:0}.access-note{display:flex;align-items:flex-start;justify-content:center;gap:7px;font-size:10px;line-height:1.6;color:#939985;margin-top:21px}.access-note svg{width:13px;height:13px;flex-shrink:0;margin-top:1px}
.auth-footer{width:min(1240px,100%);margin:auto;display:flex;justify-content:space-between;padding:22px 48px;border-top:1px solid #dfdfd3;color:#939986;font-size:10px}.loading{text-align:center;padding:20vh 20px;color:#75806b}
button{transition:background .15s,transform .15s}button:not(:disabled):active{transform:translateY(1px)}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.auth .err{line-height:1.6}
@media(max-width:900px){.auth{gap:36px;padding:45px 30px}.auth-header{padding:24px 30px}.auth-footer{padding:20px 30px}.hero-a h1{font-size:48px}.ledger-art{padding:14px 18px}}
@media(max-width:650px){.auth-header{padding:20px 22px}.auth-wordmark{font-size:25px}.header-note{font-size:9px}.auth{grid-template-columns:1fr;padding:35px 24px;gap:28px}.hero-a h1{font-size:44px;max-width:320px}.auth-eyebrow{margin-bottom:16px;font-size:9px}.hero-a>p{font-size:14px;margin:15px 0 0}.ledger-art,.auth-caption{display:none}.access{max-width:none;padding:0;justify-self:stretch}.access-heading h2{font-size:28px}.access-kicker{display:none}.access-heading p{margin-bottom:22px}.auth-footer{padding:20px 24px;gap:10px;flex-direction:column}}
@media(prefers-reduced-motion:reduce){button{transition:none}.ledger-art{transform:none}}
.tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:14px}.tabs button{padding:10px;border:1px solid var(--line);background:#fff;border-radius:9px;cursor:pointer}.tabs .on{background:var(--g);color:#fff}
#gbtn{margin-top:12px;display:flex;justify-content:center}
.rh{text-align:center;margin-bottom:12px}.rh h2{font-size:22px}.rh p{margin:2px 0;color:var(--mut)}
@media(min-width:760px){.grid{grid-template-columns:repeat(4,1fr)}.md{border-radius:18px;margin:auto}.mo{align-items:center}}
@media print{.top,.bnav,.drawer,.ov,.seg,.rg,.ph .btn,.noprint{display:none!important}main{padding:0}.card{border:0}}
.or{text-align:center;color:var(--mut);margin:12px 0 4px;font-size:13px}
#rcpt{display:none}@media print{body.rc>*:not(#rcpt){display:none!important}body.rc #rcpt{display:block;max-width:420px;margin:0 auto;font-size:13px}#rcpt table{width:100%;border-collapse:collapse}#rcpt th,#rcpt td{padding:4px 2px;border-bottom:1px solid #ccc;text-align:left}#rcpt .n{text-align:right}}
.brand-mark img{width:100%;height:100%;object-fit:contain;border-radius:10px}
.auth-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;max-width:460px;margin-top:16px}
.auth-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;border:1px solid #dce0d1}
.auth-footer{position:relative;align-items:center}
.foot-edit{border:1px solid #dfdfd3;background:transparent;border-radius:50%;width:30px;height:30px;font-size:13px;cursor:pointer;opacity:.7}
.foot-edit:hover,.foot-edit:focus-visible{opacity:1;background:#fff}
.ed-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:8px}
.ed-gallery label{margin:0;font-size:12px}
.ed-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px}
