/* Standalone comparisons keep their wider tables and all existing controls. */
.page { width:min(1120px,calc(100% - 40px)); }
.page * { letter-spacing:0; }
.logo a { font-size:28px; }
.back { margin:8px 0 28px; font-size:14px; }
.tool,.panel,.formbox,.card,.example { background:transparent; border:0; border-radius:0; box-shadow:none; }
.tool,.panel,.formbox { padding:0; }
.panel,.formbox,.resultbox,.tablebox { color:#ececec; }
.tool { margin-bottom:24px; }
.content { display:block; }
.content > .card { padding:24px 0; border-top:1px solid #454545; border-bottom:0; }
.example { padding:0; }
.layout { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:36px; }
.field { background:none; border:0; border-radius:0; padding:0; min-width:0; }
.fields { gap:18px; }
.section { text-transform:none; font-size:16px; color:#ececec; }
label { font-size:15px; font-weight:600; }
input,select { background:#292929; border:1px solid #555; border-radius:8px; color:#ececec; min-height:50px; font-size:17px; }
.panel p,.panel li,.help,.notice,.resultbox span { color:#b4b4b4; }
.heroresult { background:#292929; border-radius:8px; padding:24px; }
.heroresult strong { font-size:44px; color:#8fd3ff; overflow-wrap:anywhere; }
.results { position:static; min-width:0; }
.resultgrid { gap:0 18px; }
.resultbox,.tablebox,.notice { background:transparent; border:0; border-radius:0; box-shadow:none; padding:12px 0; min-width:0; }
.resultbox { border-top:1px solid #454545; }
.resultbox strong { overflow-wrap:anywhere; color:#ececec; }
.tablebox table { min-width:0; table-layout:fixed; }
.tablebox th,.tablebox td { border-color:#454545; overflow-wrap:anywhere; padding:10px 6px; }
.tablebox th:first-child,.tablebox td:first-child { color:#b4b4b4; width:46%; }
.advanced { background:transparent; border:0; border-top:1px solid #454545; border-radius:0; }
.advanced summary,.advanced summary:hover { background:transparent; color:#8fd3ff; padding:14px 0; }
.advanced summary small { color:#b4b4b4; }
.advanced-fields { padding:0; gap:18px; }
.billable-preset { background:#292929; border-color:#555; color:#ececec; border-radius:8px; min-height:44px; }
.billable-preset.active { background:#8fd3ff; color:#171717; border-color:#8fd3ff; }
.button { background:none; color:#8fd3ff; padding:10px 0; border-radius:0; text-decoration:underline; }
#nztw .nw-calcpanel,#nztw .nw-fieldgroup,#nztw .nw-field { background:transparent; border:0; border-radius:0; box-shadow:none; padding:0; min-width:0; }
#nztw .nw-payelayout { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:36px; }
#nztw .fields { gap:18px; }
#nztw label { font-size:15px; font-weight:600; }
#nztw input,#nztw select { background:#292929; border-color:#555; border-radius:8px; min-height:50px; font-size:17px; }
#nztw .results-stack { position:static; min-width:0; gap:20px; }
#nztw .summary-cards { gap:12px; }
#nztw .nw-result { background:transparent; border:0; border-radius:0; border-bottom:1px solid #454545; padding:12px 0; min-width:0; }
#nztw .nw-result.primary { background:#292929; border:0; border-radius:8px; padding:16px; }
#nztw .nw-result.primary strong { color:#8fd3ff; font-size:26px; }
#nztw .nw-result.loss strong { color:#ffb28e; }
#nztw .comparison-table-wrap,#nztw .mobile-comparison,#nztw .chart-card,#nztw .insight-card,#nztw .fairness-note,#nztw .gst-note,#nztw .method-note { background:transparent; border:0; border-radius:0; box-shadow:none; padding:16px 0; border-top:1px solid #454545; }
#nztw .nw-grouphead { font-size:16px; text-transform:none; letter-spacing:0; color:#ececec; }
#nztw .nw-grouphead::after { display:none; }
#nztw .choicebtn { border-radius:8px; min-height:44px; background:#292929; }
#nztw .choicebtn.on { background:#8fd3ff; border-color:#8fd3ff; color:#171717; }
#nztw .nw-payebar { min-height:14px; border-radius:4px; box-shadow:none; }
#nztw :is(input,select,button,summary):focus-visible { outline:3px solid #8fd3ff; outline-offset:3px; }
#nztw [aria-invalid="true"] { border-color:#ef9a9a; }
@media(max-width:900px) {
  .layout,#nztw .nw-payelayout { grid-template-columns:minmax(0,1fr); gap:24px; }
}
@media(max-width:620px) {
  .page { width:calc(100% - 32px); }
  .fields,.advanced-fields { grid-template-columns:minmax(0,1fr); }
  .heroresult { padding:20px; }
  .heroresult strong { font-size:40px; }
  #nztw .nw-result.primary strong { font-size:24px; }
}
