.product-page main{max-width:1600px;margin:auto}.product-hero{padding:70px 5% 36px;max-width:1080px}.product-hero h1{font-size:clamp(2.2rem,4.6vw,4.2rem);line-height:1.08;letter-spacing:-.045em;margin:20px 0}.product-hero .lead{max-width:790px;font-size:1.1rem;color:var(--muted);line-height:1.7}.product-hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:24px}.product-hero-actions p{font-size:.82rem;color:var(--muted);margin:0}.product-hero .primary-link{display:inline-flex;align-items:center;gap:22px;padding:14px 18px;background:var(--green);color:var(--white);border-radius:5px}.product-stage{margin:0 3%;border:1px solid var(--line);border-radius:10px;background:var(--white);overflow:clip;scroll-margin-top:90px;min-height:380px}.product-stage[data-product-view=income],.product-stage[data-product-view=revenue]{min-height:690px}.product-loading{padding:55px;color:var(--muted)}.product-preview-heading{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:20px;border-bottom:1px solid var(--line)}.product-preview-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));cursor:pointer}.product-preview-panels:focus-visible{outline:3px solid var(--green);outline-offset:-3px}.product-preview-panels .statement-panel{min-width:0;display:block!important;border:0;border-radius:0}.product-preview-panels .table-scroll{overflow:hidden;max-height:330px}.product-preview-panels table{width:100%;min-width:420px}.product-preview-panels table th:first-child{min-width:170px}.product-preview-panels td{font-size:.77rem}.product-explanation{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:65px 5% 35px}.product-explanation h2,.product-privacy h2{font-size:1.45rem;line-height:1.3;letter-spacing:-.025em;margin:0 0 15px}.product-explanation p,.product-privacy p{color:var(--muted);line-height:1.75;max-width:730px}.product-privacy{margin:10px 5% 35px;padding:30px 0;border-top:1px solid var(--line)}.product-related{display:flex;flex-wrap:wrap;gap:20px;padding:0 5% 50px;font-size:.9rem}.product-model{margin:0!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:20px!important}.product-model-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.product-model .company{display:block;padding:0}.product-model .company h3{font-size:1.25rem;margin:8px 0}.product-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:20px 0 8px}.product-controls button,.product-save-actions button{padding:8px 12px;border:1px solid var(--line);border-radius:4px}.product-mode{display:flex;gap:3px}.product-mode [aria-pressed=true]{background:var(--green-soft);border-color:var(--green);font-weight:700}.product-draft-status{margin-left:auto;color:var(--muted);font-size:.78rem}.product-mode-hint{font-size:.76rem;color:var(--muted);max-width:850px;margin:8px 0 18px}.product-simple{padding:15px;background:var(--surface);border:1px solid var(--line);border-radius:5px;margin-bottom:20px}.product-simple #assumption-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px}.product-simple .driver{margin:0}.product-simple .assumption-hint{margin-top:0}.product-model #statement-grid{display:block}.product-model #statement-grid>.statement-panel{display:block!important;width:100%;min-width:0}.product-model .table-scroll{max-height:660px;overflow:auto}.product-model .statement-title{padding:12px}.product-model #statement-grid table{min-width:720px;width:100%}.product-model .model-mode-tools[hidden]{display:none}.product-model #industry-tag[hidden]{display:none}.product-stage .primary{background:var(--green);color:var(--white);padding:12px 16px;border-radius:5px;font-size:.85rem}.product-model #company-name{max-width:500px}.product-stage dialog{max-width:560px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:10px;padding:24px;color:var(--ink);background:var(--white)}.product-stage dialog::backdrop{background:#0008}.product-stage dialog h2{font-size:1.3rem}.product-stage dialog label{display:block;margin-bottom:8px}.product-stage dialog input{width:100%;padding:10px;border:1px solid var(--line);background:var(--white);color:var(--ink)}.product-save-actions{display:flex;gap:10px;margin:20px 0}.product-stage #product-save-error{color:var(--orange)}
html[data-theme=dark] .product-stage,html[data-theme=dark] .product-stage dialog{background:#182a23}html[data-theme=dark] .product-stage .primary,html[data-theme=dark] .product-hero .primary-link{color:#14271d}html[data-theme=dark] .product-simple{background:#1c3027}html[data-theme=dark] .product-stage dialog input{background:#182a23}
@media(max-width:700px){.product-hero{padding:38px 5% 28px}.product-hero .lead{font-size:1rem}.product-hero-actions{gap:14px}.product-explanation{grid-template-columns:1fr;gap:25px;padding-top:35px}.product-stage{margin:0 12px}.product-model{padding:12px!important}.product-model-heading{align-items:stretch;flex-direction:column;gap:10px}.product-model-heading .primary{width:100%}.product-draft-status{width:100%;margin:4px 0}.product-controls{gap:6px}.product-controls button{font-size:.8rem}.product-simple #assumption-inputs{grid-template-columns:1fr}.product-preview-panels{grid-template-columns:1fr}.product-preview-panels .statement-panel+.statement-panel{border-top:1px solid var(--line)}.product-mode-hint{font-size:.75rem}.product-model #company-name{max-width:100%}}

@media(max-width:700px){.product-model #statement-grid table{min-width:0;width:calc(170px + var(--period-count)*110px)}.product-model #statement-grid col:first-child{width:170px!important}.product-model #statement-grid col:not(:first-child){width:110px!important}.product-model .inline-model-row th{padding-left:20px}.product-model .inline-model-row.finance-assumption th{padding-left:28px}}

.product-preview-panels .table-scroll{min-height:0;max-height:none}.product-hero .primary-link{margin-top:0}html[data-theme=dark] .product-hero .primary-link{color:#14271d!important}

/* A Balance Sheet entry is always stacked, regardless of full-model layout. */
[data-product-view=balance] #statement-grid{display:flex!important;flex-direction:column!important;gap:24px}
[data-product-view=balance] #statement-grid>.statement-panel,[data-product-view=balance] #statement-grid>.product-simple{width:100%;min-width:0;margin:0}
[data-product-view=balance] #balance-panel{order:0}
[data-product-view=balance] .product-simple{order:1}
[data-product-view=balance] #income-panel{order:2}
.product-full-model{padding:30px 8px 12px;border-top:1px solid var(--line);margin-top:28px}
.product-full-model h2{font-size:1.4rem}.product-full-model p{max-width:780px;color:var(--muted)}
.product-faq{padding:10px 5% 35px;max-width:1000px}.product-faq h3{font-size:1rem;margin-bottom:8px}.product-faq p{color:var(--muted);line-height:1.75}.product-faq>div{margin:22px 0}
