:root{font-family:Inter,Arial,sans-serif;color:#202a2a;background:#f6f7f5;font-synthesis:none;--green:#174b3c;--muted:#67736f;--line:#e3e8e3}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #bf953e;outline-offset:4px}[hidden]{display:none!important}header{height:84px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(5%,calc((100vw - 1160px)/2));gap:20px}.brand{display:flex;align-items:center;text-decoration:none;color:#21382f;font-size:17px;font-weight:800;letter-spacing:1px;white-space:nowrap}.brandmark{display:grid;place-items:center;background:var(--green);color:#edcf8e;width:39px;height:39px;border-radius:11px;margin-right:12px;font-family:Georgia,serif;letter-spacing:-2px;font-size:22px}.gold{color:#a77a24}.account{display:flex;gap:16px;align-items:center;font-size:13px;color:var(--muted)}main{max-width:1160px;margin:auto;padding:38px 24px 20px}.intro{margin:0 0 30px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#967328}h1{font-size:34px;letter-spacing:-1px;margin:10px 0 12px;font-weight:700}.intro p{color:var(--muted);font-size:15px;line-height:1.6;margin:0}.workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:26px;align-items:start}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 3px 12px #22382d03}h2{font-size:16px;margin:0;font-weight:700}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 18px}label{display:block;font-size:12px;font-weight:600;color:#44514c;line-height:1.5}input,select{width:100%;min-width:0;border:1px solid #dce2dd;border-radius:8px;background:#fff;color:#202a2a;padding:12px 13px;margin-top:7px;outline:none;height:46px;font-size:14px}input:focus,select:focus{border-color:#39705c;box-shadow:0 0 0 3px #39705c15}.input-wrap{position:relative;display:block}.input-wrap>span{position:absolute;left:14px;top:20px;color:#809086;font-size:14px}.input-wrap input{padding-left:31px}small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:7px;line-height:1.5}.divider{padding-top:23px;border-top:1px solid var(--line);margin:25px 0 18px}.optional{margin-top:25px;border-top:1px solid var(--line);padding-top:19px}.optional summary{font-size:13px;font-weight:600;color:#58665d}.optional summary span{font-size:11px;color:#8b968f;font-weight:400;margin-left:8px}summary{cursor:pointer}.optional .grid{margin-top:16px}.primary{background:var(--green);color:white;border:0;border-radius:9px;padding:14px 20px;font-size:14px;font-weight:600;width:100%;margin-top:20px}.primary:hover{background:#226149}.calculate{display:flex;justify-content:center;align-items:center;gap:20px;height:50px;margin-top:26px}.calculate span{font-size:20px}.micro{font-size:11px;line-height:1.7;color:var(--muted);margin:13px 0 0}.card>.micro{text-align:center}.quiet{border:1px solid #dce2dd;background:#fff;padding:8px 15px;border-radius:7px;font-size:12px;color:var(--green)}.text-button{background:none;border:0;font-size:12px;font-weight:600;color:var(--green);padding:0}.per-order{font-size:10px;background:#f2f4f0;padding:5px 8px;border-radius:5px;color:var(--muted)}.muted{color:var(--muted);font-size:12px;line-height:1.6}.results .section-title{margin-bottom:8px}.results #result-status{margin:0 0 21px}.settlement{background:#f1f5ef;border:1px solid #e2e9de;border-radius:12px;padding:23px;color:#3b5545}.settlement>span{font-size:12px;font-weight:600}.settlement strong{display:block;font-size:38px;letter-spacing:-1px;color:var(--green);margin:10px 0}.settlement small{max-width:260px;font-size:11px}.profit-row{display:flex;align-items:center;justify-content:space-between;padding:24px 2px;font-size:13px}.profit-row strong{font-size:23px}.adjusted{background:#fbf8ef;border:1px solid #efe7d2;border-radius:11px;padding:20px}.adjusted span{font-size:12px;color:#79602d;font-weight:600}.adjusted strong{display:block;font-size:31px;margin-top:8px;color:#674c16}.negative{color:#ad3535!important}#breakdown{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}#breakdown summary{font-size:12px;color:#546359}dl{font-size:12px}dl div{display:flex;justify-content:space-between;gap:12px;margin-top:13px}dt{color:var(--muted)}dd{margin:0;font-variant-numeric:tabular-nums}.credit-card{border-radius:14px;border:1px solid #dfe5dd;background:#eef2eb;padding:24px;margin-top:20px}.credit-card h2{font-size:18px;color:#344f3c}.credit-card p{font-size:12px;color:var(--muted);line-height:1.6}.secondary{background:#fff;border:1px solid #becfbc;color:var(--green);width:100%;padding:12px;border-radius:8px;font-size:13px;font-weight:600}.credit-card .micro{font-size:10px;text-align:center;margin-bottom:0}#message{font-size:13px;line-height:1.6;color:#694d1d;margin-top:18px}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;color:#7d877f;font-size:11px;margin-top:38px;padding-top:20px}.notice{background:#fff8e6;border:1px solid #eedbaa;border-radius:8px;color:#715b2c;padding:12px 16px;font-size:12px;line-height:1.6;margin-bottom:25px}dialog{border:1px solid var(--line);border-radius:16px;padding:30px;width:420px;max-width:calc(100vw - 30px);box-shadow:0 20px 80px #0003}dialog::backdrop{background:#12231cab}dialog label{margin-top:18px}.close{float:right;border:0;background:none;font-size:25px;color:#58665d}#auth-message{font-size:12px;line-height:1.6;color:#735424}.stale{opacity:.55}@media(max-width:760px){header{padding:0 20px;height:70px}.account>span{display:none}main{padding:26px 16px 16px}h1{font-size:27px}.workspace{grid-template-columns:1fr;gap:20px}.card{padding:22px}.intro{margin-bottom:23px}footer{flex-direction:column;gap:8px}.settlement strong{font-size:35px}}@media(max-width:380px){.grid{grid-template-columns:1fr}.brand{font-size:14px}.brandmark{width:32px;height:32px;margin-right:8px}.card{padding:18px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s ease}}

.gst-status{margin-top:16px;padding:18px;border-radius:12px;border:1px solid;line-height:1.6}.gst-covered{background:#edf8f0;border-color:#b9dfc3;color:#176735}.gst-payable{background:#fff1f0;border-color:#efc0bc;color:#a42d27}.gst-heading{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.gst-heading>span:first-child{display:grid;place-items:center;width:24px;height:24px;border:1px solid currentColor;border-radius:50%;font-size:15px}.gst-status>strong{display:block;font-size:17px;margin-top:12px}.gst-status>p{font-size:12px;margin:7px 0}.gst-status dl{border-top:1px solid #8883;padding-top:2px}.gst-status dt{color:inherit}.gst-status dd{white-space:nowrap;font-weight:600}.gst-status small{font-size:10px;color:inherit;opacity:.9}


.tax-results{margin-top:4px;border:1px solid #eadbc5;border-radius:14px;overflow:hidden;box-shadow:0 6px 24px #7c512409}.tax-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 20px;background:#fff2f0;color:#a42d27}.tax-summary>span{font-size:12px;font-weight:600}.tax-summary small{display:inline;font-size:10px;color:inherit;font-weight:400}.tax-summary strong{font-size:23px;white-space:nowrap;letter-spacing:-.5px}.tax-results .adjusted{border:0;border-radius:0;background:linear-gradient(120deg,#fffaf0,#f8efd9);padding:22px 20px}.tax-results .adjusted strong{font-size:35px;font-variant-numeric:tabular-nums;letter-spacing:-1px}


.customer-price{grid-column:1/-1;border:1px solid #dfe8dc;border-radius:10px;background:#f3f6f0;padding:15px 17px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px}.customer-price>span{font-size:12px;font-weight:600;color:#44514c}.customer-price output{grid-column:2;grid-row:1/3;font-size:24px;font-weight:700;color:#174b3c;font-variant-numeric:tabular-nums}.customer-price small{margin:0;font-size:10px}

/* Google sign-in uses the secure hosted account chooser. */
.google-login{display:block;width:100%;padding:14px 18px;border:1px solid #747775;border-radius:8px;background:#fff;color:#1f1f1f;font:500 16px Arial,sans-serif;cursor:pointer;margin-top:20px}
.google-login:hover:not(:disabled){background:#f2f5f3;box-shadow:0 2px 6px #00000014}
.google-login:focus-visible{outline:3px solid #174b3c;outline-offset:3px}
.google-login:disabled{opacity:.5;cursor:not-allowed}
.auth-divider{text-align:center;font-size:13px;color:#68756f;margin:20px 0}
