:root{font-family:-apple-system,BlinkMacSystemFont,'Hiragino Sans','Yu Gothic',sans-serif;color:#242b33;background:#fff;font-size:14px;line-height:1.65}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;padding:18px 30px;border-bottom:1px solid #d9dfe4}.brand{font-size:21px;font-weight:650;letter-spacing:.025em}.brand span{margin-left:14px;font-size:18px}small,.help{color:#65717d;font-size:12px}button,input,select,textarea{font:inherit;color:inherit}button{background:#fff;border:1px solid #c8d0d8;padding:6px 13px;border-radius:3px;cursor:pointer}button:hover{background:#f0f5f9}button.primary{background:#315f81;border-color:#315f81;color:#fff}button:disabled{opacity:.5;cursor:default}input,select,textarea{border:1px solid #bdc7d1;border-radius:2px;background:#fff;padding:6px 8px;max-width:100%}input[type=text],input[type=number]{width:130px}input[type=checkbox]{width:auto}input.wide{width:260px}textarea{width:100%;min-height:65px}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #6497bd;outline-offset:2px}.toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:12px 30px;background:#f8fafb}.toolbar #sample{margin-left:auto}#save-state{font-size:12px;color:#4a6477}nav{display:flex;border-bottom:1px solid #cdd5dd;padding:0 30px;gap:20px}nav button{border:0;border-radius:0;padding:14px 2px;background:none;color:#64717c}nav button.active{color:#244e70;border-bottom:3px solid #315f81;font-weight:600}main{padding:24px 30px 70px;max-width:1500px;margin:auto}h1{font-size:23px;font-weight:600;margin:0 0 6px}h2{font-size:17px;font-weight:600;margin:28px 0 10px}p{margin:6px 0 14px}.fields{display:flex;flex-wrap:wrap;gap:16px 24px;margin:18px 0}.field{display:flex;flex-direction:column;gap:4px}.field input,.field select{width:200px}.table-wrap{overflow-x:auto;margin:12px 0}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:13px}th{text-align:left;background:#f2f5f7;color:#475564;font-weight:600}td,th{padding:10px 11px;border-bottom:1px solid #dce2e8;vertical-align:top}td.num{text-align:right;font-variant-numeric:tabular-nums}tbody tr:hover{background:#fafcfe}table input{width:115px!important}table input.name{width:160px!important}details{padding:10px 0}summary{cursor:pointer;color:#315f81}details .fields{margin:12px 0}.summary{display:flex;flex-wrap:wrap;gap:28px;padding:18px 0;border-top:2px solid #3b5264;border-bottom:1px solid #cdd5dd;margin:20px 0}.metric span{display:block;color:#62717f;font-size:12px}.metric strong{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}.metric.emphasis strong{font-size:29px;color:#315f81}.negative{color:#b04545}#notice,.warning{background:#faf7ed;border-left:3px solid #b89851;padding:10px 14px;margin:0 0 15px;color:#6e5c30;font-size:12px}#notice:empty,#error:empty{display:none}#error{background:#fff0ee;border-left:3px solid #af4646;padding:10px;margin-bottom:12px;color:#8f3737}.seat-grid{display:grid;grid-template-columns:repeat(10,24px);gap:5px;margin:12px 0}.seat{width:24px;height:24px;border:1px solid #91a5b6;background:white;border-radius:3px}.seat.filled{background:#587e9b}.inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.link{border:0;background:none;padding:0;color:#315f81;text-decoration:underline}.muted{color:#7c8792}.report{display:none}footer{padding:15px 30px;border-top:1px solid #dce2e8;font-size:12px;color:#687784}.chart{height:170px;width:100%;border-bottom:1px solid #ccc}.screen-title{display:flex;justify-content:space-between;align-items:center}.subrow td{white-space:normal;background:#fafbfd}.report-preview{border:1px solid #ccd6df;padding:15px;max-height:500px;overflow:auto;white-space:normal}.report-preview table{font-size:10px}.report-preview h2{margin-top:30px}@media(max-width:700px){header{padding:12px}.brand span{font-size:14px}.toolbar,main{padding:14px}.toolbar #sample{margin-left:0}nav{padding:0 12px;gap:13px;overflow-x:auto;white-space:nowrap}nav button{font-size:12px}header small{display:none}.summary{gap:14px}.metric strong{font-size:21px}}@media print{@page{size:A4 landscape;margin:12mm}body>header,body>.toolbar,body>nav,body>main,body>footer{display:none}.report{display:block}.report h1{font-size:18px}.report h2{font-size:13px}.report table{white-space:normal;font-size:8px}.report td,.report th{padding:3px 4px}.report section{break-before:page}.report tr{break-inside:avoid}.report p{font-size:9px}}
@media(max-width:700px){.sales-table{overflow:visible}.sales-table table,.sales-table tbody{display:block;width:100%;white-space:normal}.sales-table thead{display:none}.sales-table tbody>tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #bcc9d4;margin-bottom:16px}.sales-table td{border:0;padding:9px 5px;min-width:0}.sales-table td::before{content:attr(data-label);display:block;font-size:11px;color:#65717d;margin-bottom:5px}.sales-table td:last-child{grid-column:1/-1}.sales-table td:nth-child(3) input,.sales-table td:nth-child(4) input{width:100%!important}.sales-table td:nth-child(3) button{margin-top:7px}.sales-table details .fields{gap:12px}.sales-table .seat-grid{grid-template-columns:repeat(10,20px)}.sales-table .seat{width:20px;height:20px}}
@media print{.report section:first-of-type{break-before:auto}.report thead{display:table-header-group}.report table{table-layout:auto}.report td{overflow-wrap:anywhere}}
.table-wrap input[type=checkbox]{width:auto!important}
@media(max-width:700px){.sales-table td>label{display:flex;align-items:center;gap:8px;white-space:nowrap}}
.p0-details{margin:24px 0}.p0-details h3{margin-top:24px}.p0-details button{margin:4px}.fields{min-width:0}.fields .field{min-width:0}.fields input,.fields select,.fields textarea{max-width:100%}
@media(max-width:600px){.p0-details .fields{grid-template-columns:1fr}.screen-title{flex-wrap:wrap}.field{min-width:0}main{min-width:0}.table-wrap{max-width:100%}}
@media print{thead{display:table-header-group}tr{break-inside:avoid}#report td,#report th{font-size:8px;padding:2px 3px;line-height:1.15}#report section{break-before:page}#report h2{break-after:avoid}}
.control-with-value{display:inline-flex;flex-direction:column;vertical-align:top;min-width:0;max-width:100%}.control-value{display:block;white-space:normal;overflow-wrap:anywhere;color:#475564;font-size:12px;line-height:1.5;margin-top:4px;max-width:200px}.tax-name .control-value{max-width:260px}.field .control-with-value{width:200px}.report-preview .report-table{white-space:normal;table-layout:fixed}.report-table .number{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;text-align:right;font-variant-numeric:tabular-nums}.report-table.keyvalue th:first-child,.report-table.keyvalue td:first-child{width:30%}.report-table.monthly th:first-child,.report-table.monthly td:first-child{width:27%}.report-table.comparison th:first-child,.report-table.comparison td:first-child{width:28%}
@media print{#report .report-section{break-before:page}#report .first-section{break-before:auto}#report .report-table{table-layout:fixed;font-size:10.5px;white-space:normal}#report .report-table td,#report .report-table th{font-size:10.5px;padding:4px 5px;line-height:1.4;word-break:normal;overflow-wrap:anywhere}#report .report-table.monthly td,#report .report-table.monthly th{font-size:10px;padding:3px 4px;line-height:1.3}#report .report-table.monthly tr{height:17px}#report h1{font-size:20px;margin-bottom:5px}#report h2{font-size:15px;margin:0 0 8px}#report .report-note,#report .report-identity{font-size:10px;line-height:1.5;margin:5px 0 12px}#report thead{display:table-header-group}#report tr{break-inside:avoid}#report th{background:#eef2f5}#report .report-table.keyvalue td{padding:6px 7px}#report .report-table.comparison td,#report .report-table.comparison th{font-size:12px;padding:8px 7px}}
.report-table.expense-grid th:first-child,.report-table.expense-grid td:first-child{width:27%}
@media print{#report .report-table.monthly td,#report .report-table.monthly th{font-size:11.5px;padding:4px 5px;line-height:1.4}#report .report-table.monthly tr{height:auto}#report .report-table.expense-grid td,#report .report-table.expense-grid th{font-size:11px;padding:4px 5px;line-height:1.3}}
.consultation-report[data-report-mode=detail] .report-table.keyvalue th:first-child,.consultation-report[data-report-mode=detail] .report-table.keyvalue td:first-child{width:60%}
@media print{#report .flow-section{break-before:auto;margin-top:18px}}
.breakeven{background:#edf3f6;border-top:2px solid #315f81;padding:20px 22px;margin:20px 0}.breakeven h2{font-size:24px;margin:0 0 14px}.breakeven .summary{border:0;margin:0 0 16px;padding:0;gap:24px}.breakeven .metric{flex:1 1 220px;min-width:0}.breakeven .metric span{font-size:14px}.breakeven .metric strong{display:block;font-size:clamp(26px,2.6vw,38px);line-height:1.5;overflow-wrap:anywhere}.breakeven .metric strong.negative{color:#b04545}.breakeven .help{font-size:13px;color:#475564}.breakeven button{margin-right:8px} [data-metric="labor-sales-ratio"] strong{white-space:nowrap}
@media(max-width:700px){.breakeven{padding:16px}.breakeven h2{font-size:22px}.breakeven .metric{flex-basis:240px}.breakeven .metric strong{font-size:30px}.breakeven .summary{gap:12px}}
/* Guided workspace: calm tables, ordered navigation, and one next action. */
body{display:grid;grid-template-columns:228px minmax(0,1fr)}body>header,body>.toolbar,body>footer{grid-column:1/-1}body>nav{grid-column:1;grid-row:3;flex-direction:column;gap:4px;padding:24px 12px;background:#f7f9fa;border-right:1px solid #d9e1e7;border-bottom:0;align-self:stretch}body>main{grid-column:2;grid-row:3;width:100%;padding:24px 32px 50px;min-width:0}body>nav button{display:flex;text-align:left;align-items:flex-start;gap:12px;padding:12px;border:0;white-space:normal}body>nav button b{display:grid;place-items:center;border:1px solid #b8c7d1;width:26px;height:26px;flex:none;border-radius:50%;font-weight:500}body>nav button span{font-size:14px;color:#384d5b}body>nav button small{display:block;font-size:11px;color:#73808b;font-weight:400}body>nav button.active{background:#e8f0f5;border:0}body>nav button.active b{background:#315f81;color:white;border-color:#315f81}.toolbar{gap:10px;padding:10px 24px}.toolbar #sample{margin-left:0}.toolbar button,.toolbar select{font-size:12px}.toolbar #save-state{margin-left:auto}.toolbar label{font-size:12px}.is-home>nav{display:none}.is-home>main{grid-column:1/-1;max-width:1040px}.is-home #scenario,.is-home #duplicate,.is-home #sample{display:none}.is-home .toolbar label:has(#scenario){display:none}.welcome{padding:35px 20px 45px}.eyebrow{color:#315f81;font-size:12px;font-weight:600;letter-spacing:.08em;margin-bottom:12px}.welcome h1{font-size:36px;line-height:1.55;font-weight:600;letter-spacing:.015em}.welcome-lead{font-size:16px;max-width:690px;margin:18px 0 26px}.welcome-action{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:20px 0}.welcome-action button{font-size:17px;padding:13px 24px}.welcome-action span{font-size:13px;color:#677581}.welcome-steps{list-style:none;padding:0;margin:35px 0;display:grid;grid-template-columns:1fr 1fr;gap:0 35px}.welcome-steps li{display:flex;gap:15px;padding:17px 0;border-top:1px solid #dce3e8}.welcome-steps li>span{color:#315f81;font-size:22px;min-width:22px}.welcome-steps p{font-size:12px;color:#677581;margin:4px 0}.welcome details{border-top:1px solid #dce3e8;padding:15px 0}.stage-intro{border-bottom:1px solid #ccd7df;margin:0 0 26px;padding-bottom:20px}.stage-intro h1{font-size:27px;line-height:1.5;margin:0 0 12px}.stage-intro>p:not(.eyebrow){max-width:850px}.guide-example{font-size:13px;color:#526a7c;background:#f3f7fa;padding:10px 13px;border-left:2px solid #93adbf}.stage-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.stage-actions span{font-size:12px;color:#6b7883}.stage-actions button{padding:9px 20px}.guide-detail,.guide-checks,.display-settings{border-top:1px solid #dce3e8;margin:15px 0;padding:13px 0}.guide-checks{background:#faf8f0;padding:12px 16px}.guide-checks ul{columns:2;font-size:13px}.guide-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid #ccd7df;margin:35px 0 0;padding-top:20px}.demo-banner{padding:12px 15px;margin-bottom:20px;background:#fbf2db;border-left:3px solid #ad8c43}.demo-banner button{margin-left:10px;font-size:12px}.reading-row{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;border-top:2px solid #3b5264;border-bottom:1px solid #ccd7df;padding:20px 0}.reading-row span{display:block;font-size:13px;color:#596a77}.reading-row strong{display:block;font-size:28px;margin:8px 0;color:#315f81}.reading-row p{font-size:12px;color:#677581}.result-reading{margin-bottom:28px}.result-reading h2{margin-top:0}.report-state{color:#315f81;background:#f1f6f9;padding:10px 14px}.display-settings .screen-title{gap:20px;flex-wrap:wrap;justify-content:flex-start}.display-settings .fields{margin:0}.stage-intro .primary{white-space:normal}body>main>div#content{min-width:0}
@media(max-width:900px){body{grid-template-columns:180px minmax(0,1fr)}body>main{padding:22px}.toolbar{padding:10px 16px}.reading-row{grid-template-columns:1fr;gap:10px}.reading-row>div{border-bottom:1px solid #e0e6ea}.reading-row>div:last-child{border:0}.stage-intro h1{font-size:24px}}
@media(max-width:700px){body{display:block}body>nav{display:flex;flex-direction:row;overflow:auto;padding:8px 12px;border-right:0;border-bottom:1px solid #d9e1e7;gap:6px}body>nav button{min-width:135px;gap:8px;padding:8px}body>nav button span{font-size:12px}body>nav button small{font-size:10px}.toolbar #duplicate,.toolbar #sample{display:none}.toolbar #save-state{margin-left:0}.toolbar label:has(#archive-select){max-width:100%}.toolbar #archive-select{max-width:230px}body>main{padding:18px 14px}.welcome{padding:20px 0}.welcome h1{font-size:29px}.welcome-lead{font-size:14px}.welcome-steps{grid-template-columns:1fr;gap:0}.guide-checks ul{columns:1}.stage-actions{align-items:flex-start}.stage-actions button{max-width:60%;padding:8px 12px}.stage-intro h1{font-size:24px}.guide-bottom button{font-size:12px}.demo-banner button{margin:8px 0 0}.reading-row strong{font-size:28px}.fields .field{max-width:100%}.guide-detail summary{white-space:normal}table{font-size:12px}body.is-home main{padding:18px}.toolbar #new-plan{max-width:160px}}
@media print{body{display:block}body>nav,body>main,body>.toolbar,body>header,body>footer{display:none!important}}
@media(max-width:700px){.labor-table{overflow:visible}.labor-table table,.labor-table tbody{display:block;width:100%;white-space:normal}.labor-table thead{display:none}.labor-table tbody>tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #bcc9d4;margin-bottom:18px}.labor-table td{border:0;padding:8px 5px;min-width:0}.labor-table td::before{content:attr(data-label);display:block;font-size:11px;color:#65717d;margin-bottom:5px}.labor-table td:last-child{grid-column:1/-1}.labor-table td input,.labor-table td select{width:100%!important;min-width:0}.labor-table td .fields .field{width:100%}.labor-table td input[type=checkbox]{width:auto!important}.labor-table .fields{gap:14px}}
[hidden]{display:none!important}.table-wrap details>summary{max-width:240px;white-space:normal;line-height:1.6}.funding-condition{border-left:3px solid #aa8050;background:#faf6ec;padding:10px 14px;margin-top:16px;font-size:13px}.funding-condition button{margin-left:10px;font-size:12px}
.startup-result{margin:0 0 30px;background:#f3f7fa;padding:18px 22px;border-top:2px solid #315f81}.startup-result h2{margin:0 0 12px;font-size:23px}.startup-result p{font-size:13px}.startup-checklist{padding:15px 0;border-bottom:1px solid #dce3e8}.startup-checklist h3{margin:0 0 10px}.checklist-buttons{display:flex;flex-wrap:wrap;gap:9px}.startup-checklist p{font-size:13px;margin:12px 0}.review-check{display:block;padding:15px 0}.document-steps{padding:16px 20px 16px 40px;background:#f1f6f9;margin:0 0 20px}.document-steps li{margin:7px 0}.download-reason,.missing-guide{font-size:13px;padding:12px 15px;background:#faf7ed;border-left:3px solid #b89851}.toolbar #save{font-size:12px}@media(max-width:700px){.startup-result{padding:15px}.checklist-buttons button{flex:1 1 135px;text-align:left}.document-steps{padding-left:30px}.toolbar #duplicate{display:inline-block}}
.plain-calendar{margin:16px 0 24px;padding:16px 0;border-top:1px solid #ced9e1;border-bottom:1px solid #ced9e1}.plain-calendar h2{margin:0 0 10px}.formula-line{display:block;white-space:normal;font-size:12px;color:#526979;margin-top:6px;max-width:240px}.average-helper{margin-top:12px}.average-helper .fields{white-space:normal}.weekday-question{margin:12px 0}.weekday-question>span{display:block;font-size:13px;margin-bottom:6px}.weekday-options{display:flex;flex-wrap:wrap;gap:12px}.weekday-options label{display:inline-flex;align-items:center;gap:5px;padding:4px 6px;white-space:nowrap}.table-wrap .weekday-options input{width:auto!important}.wage-formula td{white-space:normal;background:#f1f6f9;font-size:13px;padding:12px}.plain-payroll-total{margin:24px 0;padding:18px 0;border-top:2px solid #315f81}.plain-payroll-total h2{margin:0 0 16px}.payroll-parts{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.payroll-parts span{display:block;font-size:13px;color:#5b6f7d}.payroll-parts strong{display:block;font-size:25px;font-weight:600}.payroll-parts>b{font-weight:400;font-size:22px;color:#778794}.plain-payroll-total .summary{margin-bottom:12px}.labor-table td small{display:block;white-space:normal;font-size:12px;max-width:260px;margin-top:6px}.labor-table td select{max-width:210px}.average-helper input{width:145px!important}@media(max-width:700px){.wage-formula{display:block!important;border:0!important}.labor-table .wage-formula td{display:block}.labor-table .wage-formula td::before{content:none}.payroll-parts{gap:12px}.payroll-parts>div{width:100%}.payroll-parts>b{font-size:18px}.plain-calendar .fields{gap:16px}.weekday-options{gap:7px}.weekday-options label{padding:4px}.formula-line{max-width:100%}}
@media(min-width:701px){.sales-table table,.labor-table table{table-layout:fixed;width:100%;white-space:normal}.sales-table th,.labor-table th{white-space:normal;overflow-wrap:anywhere;line-height:1.5;padding:9px 7px}.sales-table td,.labor-table td{padding:10px 7px;min-width:0;overflow-wrap:anywhere}.sales-table table input,.labor-table table input{max-width:100%;width:100%!important}.sales-table table select,.labor-table table select{width:100%;max-width:100%;min-width:0}.labor-table .control-with-value{width:100%;max-width:100%}.labor-table td.work-times input[type=time]{display:block;width:100%!important;margin:3px 0}.labor-table .wage-formula td{white-space:normal}.sales-table th:last-child,.sales-table td:last-child{width:24%}.sales-table th:nth-child(5),.sales-table td:nth-child(5){width:8%}.labor-table td .field,.sales-table td .field{width:100%;max-width:100%}.sales-table td .fields,.labor-table td .fields{gap:12px}.sales-table td details>summary,.labor-table td details>summary{max-width:100%}.sales-table .control-with-value{max-width:100%}.sales-table td:nth-child(3)>button{font-size:12px;padding:4px;margin-top:6px}.labor-table td small{max-width:100%}}
