
#taxmeld-wire {display:block;width:100%;min-width:0;background:#fff;color:#161616;font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color-scheme:light;text-align:left}
#taxmeld-wire *{box-sizing:border-box}
#taxmeld-wire [hidden]{display:none!important}
#taxmeld-wire .tw-reviewbar{border-block:1px solid #444;display:flex;justify-content:space-between;align-items:baseline;padding:9px 8px;gap:10px;flex-wrap:wrap}
#taxmeld-wire .tw-reviewbar small,#taxmeld-wire small{font-size:12px}
#taxmeld-wire .tw-layout{display:grid;grid-template-columns:minmax(108px,15fr) minmax(0,63fr) minmax(145px,22fr);align-items:start}
#taxmeld-wire .tw-menu,#taxmeld-wire .tw-notes{padding:12px 9px;min-width:0;background:#fafafa}
#taxmeld-wire .tw-menu h2,#taxmeld-wire .tw-notes h2{font-size:14px;margin:0 0 9px;font-weight:650;letter-spacing:0}
#taxmeld-wire .tw-menu details{padding:4px 0;border-top:1px solid #ccc}
#taxmeld-wire summary{cursor:pointer;font-weight:600}
#taxmeld-wire .tw-menu button,#taxmeld-wire .tw-mob select{appearance:none;width:100%;font:inherit;font-size:12px;color:inherit;text-align:left;background:transparent;border:0;padding:4px;cursor:pointer}
#taxmeld-wire .tw-menu button[aria-current=page]{background:#e7e7e7;border-inline-start:3px solid #161616;font-weight:700}
#taxmeld-wire button:focus-visible,#taxmeld-wire summary:focus-visible{outline:2px solid #222;outline-offset:1px}
#taxmeld-wire .tw-mob{display:none}
#taxmeld-wire .tw-rail-demo{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:9px;align-items:start}
#taxmeld-wire .tw-rail-demo .tw-side{margin-top:10px}
@media(max-width:760px){#taxmeld-wire .tw-rail-demo{grid-template-columns:1fr}}
#taxmeld-wire .tw-page{min-width:0;border-inline:1px solid #bbb;padding:11px 13px 20px;background:white}
#taxmeld-wire .tw-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;border-bottom:1px solid #555;padding-bottom:8px;margin-bottom:14px}
#taxmeld-wire .tw-header strong{font-size:17px;letter-spacing:-.4px}
#taxmeld-wire .tw-acts{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
#taxmeld-wire .tw-btn{display:inline-flex;gap:5px;align-items:baseline;justify-content:center;padding:4px 7px;border:1px solid #777;color:#161616;background:#fff;font-size:12px;line-height:1.45}
#taxmeld-wire .tw-header .tw-btn{padding:2px 4px}
#taxmeld-wire .tw-btn.strong{font-weight:700;border:2px solid #333}
#taxmeld-wire .tw-tag{border:1px solid #666;padding:0 4px;white-space:nowrap;font-size:11px}
#taxmeld-wire .tw-num{font-size:10px;line-height:1.2;vertical-align:super;white-space:nowrap;font-weight:600;color:#444}
#taxmeld-wire .tw-crumb{color:#515151;font-size:12px}
#taxmeld-wire .tw-page h1{font-size:23px;line-height:1.3;letter-spacing:0;margin:4px 0 10px;font-weight:700}
#taxmeld-wire .tw-page h2{font-size:16px;line-height:1.35;margin:0 0 7px;font-weight:650}
#taxmeld-wire .tw-page h3{font-size:14px;margin:0 0 5px;font-weight:650}
#taxmeld-wire .tw-page p{margin:5px 0 8px}
#taxmeld-wire .tw-section{border:1px solid #888;padding:10px;margin-top:10px;min-width:0}
#taxmeld-wire .tw-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;align-items:start}
#taxmeld-wire .tw-field{display:block;font-size:13px;margin:4px 0;min-width:0}
#taxmeld-wire .tw-box{border:1px solid #929292;min-height:29px;display:flex;justify-content:space-between;align-items:center;background:white;padding:3px 7px;color:#252525;margin-top:2px}
#taxmeld-wire .tw-tip{font-size:12px;border-left:2px solid #666;background:#f4f4f4;padding:5px 7px;margin:6px 0 8px}
#taxmeld-wire .tw-stack{display:grid;gap:7px}
#taxmeld-wire .tw-compact{padding:6px 0;border-top:1px solid #aaa}
#taxmeld-wire .tw-kpi{font-size:23px;line-height:1.3;font-weight:650;margin:4px 0}
#taxmeld-wire .tw-summary{border-top:1px solid #999;padding:6px 0;margin-top:5px}
#taxmeld-wire .tw-note{border-top:1px solid #c8c8c8;padding:6px 0;overflow-wrap:anywhere;font-size:12px}
#taxmeld-wire .tw-note b{display:block;font-size:12px}
#taxmeld-wire .tw-notes details{margin:10px 0}
#taxmeld-wire .tw-table{border-collapse:collapse;font-size:12px;width:100%;table-layout:fixed}
#taxmeld-wire .tw-table td,#taxmeld-wire .tw-table th{border-bottom:1px solid #bbb;padding:5px;text-align:left;overflow-wrap:anywhere}
#taxmeld-wire .tw-flow{font-size:13px;margin:5px 0;padding:6px 0;border-block:1px solid #999}
#taxmeld-wire .tw-card{border:1px solid #999;padding:8px;min-width:0}
#taxmeld-wire .tw-side{border-left:3px solid #555;background:#f6f6f6;padding:8px;margin-top:12px}
#taxmeld-wire .tw-side .tw-acts{margin:4px 0}
#taxmeld-wire .tw-dialog{max-width:390px;margin:14px auto;border:2px solid #444;padding:12px}
#taxmeld-wire .tw-idx{margin:6px 0}
#taxmeld-wire .tw-idx ul{padding-left:20px;margin:5px 0;font-size:13px}
@media(max-width:800px){#taxmeld-wire .tw-page{padding:9px}#taxmeld-wire .tw-menu,#taxmeld-wire .tw-notes{padding:9px 6px}#taxmeld-wire .tw-btn{padding:3px 5px}}
@media(max-width:619px){#taxmeld-wire .tw-layout{grid-template-columns:minmax(0,1fr)}#taxmeld-wire .tw-menu{display:none}#taxmeld-wire .tw-mob{display:block;padding:6px;border-bottom:1px solid #999}#taxmeld-wire .tw-mob select{appearance:auto;font-size:15px}#taxmeld-wire .tw-page{border:0}#taxmeld-wire .tw-notes{border-top:1px solid #777}#taxmeld-wire .tw-reviewbar{font-size:13px}}
@media(max-width:410px){#taxmeld-wire .tw-pair{grid-template-columns:minmax(0,1fr)}}

#taxmeld-wire .review-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
#taxmeld-wire button,#taxmeld-wire select,#taxmeld-wire input{font:inherit;color:inherit}
#taxmeld-wire button.tw-btn,#taxmeld-wire a.tw-btn{cursor:pointer;text-decoration:none}
#taxmeld-wire .review-tools button,#taxmeld-wire .review-tools select{border:1px solid #777;background:#fff;color:#222;font-size:12px;padding:4px 7px}
#taxmeld-wire.oper .tw-layout{grid-template-columns:minmax(0,1fr)}
#taxmeld-wire.oper .tw-menu,#taxmeld-wire.oper .tw-notes{display:none}
#taxmeld-wire.oper.show-menu .tw-menu,#taxmeld-wire.oper.show-notes .tw-notes{display:block}
#taxmeld-wire.oper.show-menu .tw-layout{grid-template-columns:minmax(120px,11%) minmax(0,1fr)}
#taxmeld-wire.oper.show-notes .tw-layout{grid-template-columns:minmax(0,1fr) minmax(155px,14%)}
#taxmeld-wire.oper.show-menu.show-notes .tw-layout{grid-template-columns:minmax(120px,11%) minmax(0,1fr) minmax(155px,14%)}
#taxmeld-wire .tw-page{container-type:inline-size;container-name:product}
#taxmeld-wire .tw-reviewbar{padding-block:5px}
#taxmeld-wire.oper .tw-header{margin-bottom:5px}
#taxmeld-wire.oper .tw-page h1{margin:3px 0 6px}
#taxmeld-wire .calc-shell{display:grid;grid-template-columns:minmax(130px,16fr) minmax(0,61fr) minmax(150px,23fr);gap:12px;align-items:start}
#taxmeld-wire .calc-center{min-width:0;container-type:inline-size;container-name:workarea}
#taxmeld-wire .calc-center:focus{outline:0}
#taxmeld-wire .rail-info,#taxmeld-wire .rail-work{min-width:0;border-top:2px solid #333;background:#f8f8f8;padding:8px}
#taxmeld-wire .calc-center .tw-section:first-child{margin-top:0}
#taxmeld-wire .rail-work h3{margin:9px 0 3px}
#taxmeld-wire .rail-item{display:block;text-align:left;background:#fff;border:1px solid #aaa;padding:6px 7px;font-size:13px;width:100%;cursor:pointer;margin:4px 0;color:#161616}
#taxmeld-wire .rail-item[aria-pressed=true]{border:2px solid #333;padding:5px 6px}
#taxmeld-wire .rail-item .st{display:block;font-size:12px;color:#444;margin-top:2px}
#taxmeld-wire .rail-item:disabled{cursor:default}
#taxmeld-wire .rail-info summary,#taxmeld-wire .rail-work summary{font-size:13px}
#taxmeld-wire .rail-info h3,#taxmeld-wire .rail-work h2{font-size:14px}
#taxmeld-wire .rail-info .tw-btn{margin-block:3px}
#taxmeld-wire .calc-rail-title{font-weight:650}
#taxmeld-wire .calc-switch{display:none}
#taxmeld-wire .cf-input{display:block;width:100%;min-width:0;padding:5px 6px;border:1px solid #888;background:#fff;color:#161616;border-radius:0}
#taxmeld-wire .calc-center .tw-field{overflow-wrap:anywhere}
#taxmeld-wire .current-op{display:flex;align-items:baseline;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-bottom:8px}
#taxmeld-wire .current-op h2{margin:0}
#taxmeld-wire .guide-lines li{margin:4px 0}
#taxmeld-wire .guide-lines{padding-left:19px}
#taxmeld-wire .calc-note{font-size:12px;color:#444}
#taxmeld-wire .tw-notes button{background:#fff;border:1px solid #999;font:inherit}
#taxmeld-wire .sample-row{border-top:1px solid #aaa;padding:5px 0}
#taxmeld-wire .review-tools :is(select,button):focus-visible,#taxmeld-wire .cf-input:focus-visible,#taxmeld-wire a:focus-visible{outline:2px solid #333}
#taxmeld-wire .tw-page .tw-summary summary{font-weight:500}
#taxmeld-wire .tw-page .tw-summary{border:0;border-top:1px solid #aaa}
#taxmeld-wire .tw-mob{display:none}
#taxmeld-wire:not(.oper) .review-tools [data-outer]{display:none}
@container product (max-width:829px){
 #taxmeld-wire .calc-shell{grid-template-columns:minmax(0,1fr) minmax(155px,27%);gap:8px}
 #taxmeld-wire .rail-info{grid-column:1/-1;padding:5px 8px}
 #taxmeld-wire .rail-info:not(.reveal) .rail-contents{display:none}
 #taxmeld-wire .rail-info .calc-switch{display:block}
 #taxmeld-wire .rail-info>.calc-rail-title{display:none}
}
@container product (max-width:575px){
 #taxmeld-wire .calc-shell{grid-template-columns:minmax(0,1fr)}
 #taxmeld-wire .rail-info{grid-row:1}
 #taxmeld-wire .rail-work{grid-row:2;padding:5px 8px}
 #taxmeld-wire .calc-center{grid-row:3}
 #taxmeld-wire .rail-work:not(.reveal) .rail-contents{display:none}
 #taxmeld-wire .rail-work>.calc-rail-title{display:none}
 #taxmeld-wire .rail-work .calc-switch{display:block}
}
#taxmeld-wire .calc-switch{width:100%;text-align:left;border:0;background:transparent;font:inherit;font-weight:650;cursor:pointer;padding:4px 0}
@container workarea (max-width:390px){#taxmeld-wire .calc-center .tw-pair{grid-template-columns:1fr}}
@media(max-width:930px){
 #taxmeld-wire.oper .tw-layout,#taxmeld-wire.oper.show-menu .tw-layout,#taxmeld-wire.oper.show-notes .tw-layout,#taxmeld-wire.oper.show-menu.show-notes .tw-layout{grid-template-columns:minmax(0,1fr)}
 #taxmeld-wire.oper .tw-menu{order:0}#taxmeld-wire.oper .tw-notes{order:1}#taxmeld-wire.oper .tw-page{order:2}
}
@media(max-width:619px){#taxmeld-wire:not(.oper) .tw-mob{display:block}}


#taxmeld-wire .parent-card{border:1px solid #555;background:#fff;padding:12px;min-width:0}
#taxmeld-wire .parent-label{font-size:13px;font-weight:700;border-bottom:2px solid #333;padding-bottom:6px}
#taxmeld-wire .parent-card>.tw-section{border:0;border-bottom:1px solid #bbb;margin:0;padding:10px 0}
#taxmeld-wire .parent-card>.tw-section:last-child{border-bottom:0}
#taxmeld-wire .child-card{margin:10px 0 10px 10px;border:1px dashed #777;border-left:4px solid #6a6a6a;background:#fafafa;padding:10px;min-width:0;scroll-margin-block:10px}
#taxmeld-wire .child-card .tw-section{background:#fff;border:0;border-top:1px solid #aaa;padding:8px 0;margin:4px 0}
#taxmeld-wire .child-card .current-op small{display:block}
#taxmeld-wire .child-card:focus-visible{outline:2px solid #111;outline-offset:2px}
#taxmeld-wire .guide-links{display:grid;gap:3px}
#taxmeld-wire .guide-links .tw-btn{border:0;justify-content:space-between;border-bottom:1px solid #ccc;text-decoration:underline;text-underline-offset:2px;text-align:left}
#taxmeld-wire .premium-entry{border:1px solid #555;border-top:3px solid #333;background:#fff;padding:7px;margin:7px 0}
#taxmeld-wire .premium-entry strong,#taxmeld-wire .premium-entry small{display:block;margin:3px 0}
#taxmeld-wire .premium-label{font-size:11px;letter-spacing:.04em}
#taxmeld-wire .premium-action{background:#333;color:white;border:1px solid #333;padding:4px 7px;font-size:12px;cursor:pointer}
#taxmeld-wire .premium-action:disabled{background:#eee;color:#555;border-color:#aaa;cursor:default}
#taxmeld-wire .rail-item[aria-expanded=true]{border:2px solid #333;padding:5px 6px}
#taxmeld-wire .advanced-child{border-style:solid;border-top:3px double #222}
@media(max-width:575px){#taxmeld-wire .child-card{margin-left:4px;padding:8px}#taxmeld-wire .parent-card{padding:8px}}

#taxmeld-wire .premium-entry[data-access=trial] .premium-action{background:#fff;color:#161616;border:1px dashed #555}#taxmeld-wire .tool-help{border-top:1px solid #aaa;margin-top:8px;padding-top:5px}#taxmeld-wire .tool-help .tw-acts{display:grid;gap:4px}#taxmeld-wire .tool-help a{text-align:left}#taxmeld-wire .field-reason{font-weight:400;display:block;line-height:1.45}#taxmeld-wire .cf-input:disabled,#taxmeld-wire .tw-btn:disabled{color:#555;background:#eee;border-style:dashed;cursor:default}#taxmeld-wire .locked-group{min-width:0;border:1px dashed #999}#taxmeld-wire .advanced-child .tw-section>.tw-btn{margin:3px 4px 3px 0}.tool-upload{display:block;margin:.8rem 0;font-weight:600}.tool-upload input{display:block;max-width:100%;margin:.4rem 0}.advanced-child td{overflow-wrap:anywhere}.advanced-child .tw-table{width:100%}.advanced-child .tw-pair{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr))}.advanced-child .tw-field{min-width:0}.advanced-child .tw-section{min-width:0}
#taxmeld-wire .premium-entry{display:block;width:100%;min-width:0;text-align:left;cursor:pointer;color:#161616}
#taxmeld-wire .premium-entry .premium-action{display:inline-block;margin-top:4px}
#taxmeld-wire .premium-entry[data-state="info"] .premium-action{background:white;color:#333;border:1px dashed #777}
#taxmeld-wire .tool-shelf{margin-top:10px}
#taxmeld-wire .left-offer{margin-top:8px;padding-top:8px;border-top:1px solid #999}
#taxmeld-wire .left-offer h3{margin-bottom:2px}
#taxmeld-wire .tool-gate{box-sizing:border-box;width:min(26rem,calc(100% - 28px));max-height:85vh;overflow:auto;border:2px solid #444;padding:18px;background:white;color:#161616}
#taxmeld-wire .tool-gate::backdrop{background:rgb(0 0 0 / .35)}
#taxmeld-wire .tool-gate h2{margin:0 0 10px;font-size:18px}
#taxmeld-wire .tool-gate p{margin:8px 0}
#taxmeld-wire .tool-gate ul{padding-left:1.4em}
#taxmeld-wire .tool-gate .tw-acts{margin-top:14px}
@container product (max-width:575px){#taxmeld-wire .tool-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}#taxmeld-wire .tool-cards>.premium-entry{margin:0}#taxmeld-wire .tool-shelf{margin:5px 0}}


/* TaxMeld product preview. The signed wordmark and public-site palette carry across all views. */
html, body { margin: 0; padding: 0; background: #f3f5fa; }
#taxmeld-wire {
  --navy: #1b2c4f;
  --ink: #202d44;
  --muted: #53627a;
  --faint: #6c7890;
  --line: #d8dfeb;
  --accent: #2f45a5;
  --accent-dark: #203587;
  --accent-soft: #edf1fd;
  --green: #246351;
  --green-soft: #eaf5ee;
  --amber: #815614;
  --amber-soft: #fff5e2;
  --canvas: #f3f5fa;
  --paper: white;
  --gutter: clamp(12px, 2.3vw, 38px);
  background: var(--canvas); color: var(--ink);
  font: 14px/1.57 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
#taxmeld-wire .tw-reviewbar, #taxmeld-wire .tw-menu, #taxmeld-wire .tw-notes, #taxmeld-wire .tw-mob { display: none !important; }
#taxmeld-wire .tw-layout, #taxmeld-wire.oper .tw-layout { display: block !important; }
#taxmeld-wire .tw-page {
  max-width: 1550px; min-height: 100dvh; margin: auto; padding: 0 var(--gutter) 44px;
  border: 0; background: var(--canvas); color: var(--ink);
}
#taxmeld-wire :is(a, button, input, select, summary):focus-visible,
#taxmeld-wire .child-card:focus-visible, #taxmeld-wire .cf-input:focus-visible {
  outline: 3px solid #627ad3; outline-offset: 3px;
}
#taxmeld-wire :is(button, a, summary) { -webkit-tap-highlight-color: transparent; }
#taxmeld-wire .tw-header, #taxmeld-wire.oper .tw-header {
  min-height: 58px; margin: 0 calc(-1 * var(--gutter)) 22px;
  border: 0; border-bottom: 1px solid var(--line); background: white;
  padding: 9px var(--gutter); align-items: center; gap: 8px 16px;
}
#taxmeld-wire .tw-header :is(strong, .brand-wordmark) { color: var(--navy); }
#taxmeld-wire .tw-header .brand-wordmark { display: block; width: 104px; height: auto; }
#taxmeld-wire .tw-header strong { letter-spacing: -.04em; font-size: 24px; }
#taxmeld-wire .tw-header .tw-acts { gap: 4px; }
#taxmeld-wire .tw-header .tw-btn {
  border: none; border-radius: 6px; padding: 6px 8px; min-height: 32px;
  font-size: 12px; font-weight: 600; background: none; color: var(--navy);
}
#taxmeld-wire .tw-header .tw-btn:last-child { background: var(--accent-soft); color: var(--accent); }
#taxmeld-wire .tw-crumb { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
/* A step opened without this tab's draft explains the loss before the form. */
#taxmeld-wire .tw-page > .tw-draft-missing { margin: 0 0 16px; max-width: 980px; }
#taxmeld-wire .tw-page > .tw-draft-missing p { margin: 0 0 8px; }
#taxmeld-wire .tw-page > .tw-draft-missing p:last-of-type { margin-bottom: 10px; }
#taxmeld-wire:not(.oper) .tw-page > .tw-draft-missing { margin-left: auto; margin-right: auto; }
#taxmeld-wire .tw-page h1, #taxmeld-wire.oper .tw-page h1 {
  color: var(--navy); font-size: clamp(25px, 3.2vw, 40px); line-height: 1.24;
  letter-spacing: -.04em; font-weight: 720; margin: 5px 0 17px; text-wrap: balance;
}
#taxmeld-wire .tw-page h2 {
  color: var(--navy); font-size: 18px; line-height: 1.4; font-weight: 670; letter-spacing: -.018em; margin: 0 0 11px;
}
#taxmeld-wire .tw-page h3 {
  color: var(--navy); font-size: 14px; font-weight: 650; line-height: 1.48; margin: 0 0 6px;
}
#taxmeld-wire .tw-page p { color: var(--muted); margin: 6px 0 10px; overflow-wrap: anywhere; }
#taxmeld-wire .tw-page p:last-child { margin-bottom: 0; }
#taxmeld-wire .tw-section, #taxmeld-wire .tw-card, #taxmeld-wire .tw-dialog {
  background: var(--paper); border: 1px solid var(--line); border-radius: 13px;
  padding: clamp(16px, 2.1vw, 28px); margin-top: 14px;
}
#taxmeld-wire .tw-card { margin: 0; padding: 15px; }
#taxmeld-wire .tw-pair { gap: 11px 16px; }
#taxmeld-wire .tw-stack { gap: 12px; }
#taxmeld-wire .tw-acts { align-items: center; gap: 8px; }
#taxmeld-wire .tw-btn {
  align-items: center; min-height: 35px; max-width: 100%; text-align: start; overflow-wrap: anywhere;
  gap: 4px; padding: 6px 11px; font-size: 12px; font-weight: 590; line-height: 1.5;
  border: 1px solid #cbd4e5; border-radius: 7px; background: white; color: var(--accent);
}
#taxmeld-wire .tw-btn.strong {
  padding: 7px 13px; border: 1px solid var(--accent); background: var(--accent); color: white; font-weight: 650;
}
#taxmeld-wire .tw-btn.strong:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
#taxmeld-wire a.tw-btn:hover, #taxmeld-wire button.tw-btn:not(:disabled):not(.strong):hover { border-color: #a5b3d8; background: #f0f3fd; }
#taxmeld-wire .tw-btn:disabled, #taxmeld-wire .cf-input:disabled {
  border: 1px solid #d5dbe5; background: #edf0f5; color: #59677e; cursor: default;
}
#taxmeld-wire .tw-num {
  color: #56658a; font: 600 9px/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace; vertical-align: super;
}
#taxmeld-wire .strong .tw-num, #taxmeld-wire .left-offer .tw-num { color: #e4eaff; }
#taxmeld-wire .tw-tag {
  display: inline-block; padding: 2px 6px; background: var(--accent-soft); color: var(--accent);
  border: 0; border-radius: 4px; font-size: 11px; font-weight: 660;
}
#taxmeld-wire .tw-tip {
  border: 0; border-left: 3px solid #91a7df; border-radius: 4px 8px 8px 4px; background: var(--accent-soft);
  padding: 9px 12px; margin: 8px 0 12px; color: #364780; font-size: 13px;
}
#taxmeld-wire [role=alert].tw-tip { background: #fff0ef; border-color: #c87964; color: #8b382a; }
#taxmeld-wire .tw-compact, #taxmeld-wire .sample-row { border-top: 1px solid var(--line); padding: 13px 0; }
#taxmeld-wire .sample-row:last-child { padding-bottom: 0; }
#taxmeld-wire .tw-table { color: var(--ink); font-size: 12px; }
#taxmeld-wire .tw-table :is(th,td) { vertical-align: top; padding: 9px 7px; border-bottom: 1px solid var(--line); }
#taxmeld-wire .tw-table th { color: var(--muted); background: #f1f4fa; letter-spacing: .01em; }
#taxmeld-wire .tw-table tr:last-child td { border-bottom: 0; }

/* The estimator heading, step indicator and two tool rails share one baseline. */
#taxmeld-wire .tw-flow {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; gap: 7px;
  color: var(--muted); border: 0; padding: 0; margin: 0 0 19px; font-size: 13px;
}
#taxmeld-wire .tw-flow > span {
  display: flex; gap: 7px; align-items: center; min-width: 0; border-top: 3px solid #d9dfeb; padding: 7px 1px 0;
}
#taxmeld-wire .tw-flow > span i {
  display: inline-grid; place-items: center; flex: 0 0 19px; height: 19px; color: var(--muted);
  background: #e5eaf3; border-radius: 50%; font: 650 11px/1 ui-monospace, Menlo, monospace;
}
#taxmeld-wire .tw-flow > [aria-current=step] { color: var(--accent); font-weight: 680; border-color: var(--accent); }
#taxmeld-wire .tw-flow > [aria-current=step] i { background: var(--accent); color: white; }
#taxmeld-wire .tw-flow > [data-done=true] { border-color: #99aadd; }
#taxmeld-wire .tw-flow > [data-done=true] i { color: var(--accent); background: #dee6fb; }
#taxmeld-wire .calc-shell {
  display: grid; grid-template-columns: minmax(133px,.74fr) minmax(0,2.38fr) minmax(180px,1fr);
  align-items: start; gap: clamp(12px, 1.4vw, 24px);
}
#taxmeld-wire :is(.rail-info, .rail-work) { border: 0; border-radius: 0; padding: 0; background: none; }
#taxmeld-wire .calc-rail-title {
  color: var(--navy); font-size: 14px; font-weight: 700; border-bottom: 1px solid #cbd4e4; padding: 2px 0 9px;
}
#taxmeld-wire .rail-info .rail-contents > p {
  font-size: 13px; line-height: 1.7; color: var(--muted); margin: 9px 0 16px;
}
#taxmeld-wire .rail-info h3, #taxmeld-wire .rail-work h3 { margin: 10px 0 6px; font-size: 12px; color: var(--muted); font-weight: 670; }
#taxmeld-wire .guide-links { display: grid; gap: 0; }
#taxmeld-wire .guide-links a.tw-btn, #taxmeld-wire .tool-help a.tw-btn {
  display: block; padding: 6px 0; margin: 0; min-height: 29px; line-height: 1.5; border: 0;
  border-bottom: 1px solid var(--line); border-radius: 0; background: none; text-align: start; text-decoration: none;
  color: #364b84; font-weight: 540;
}
#taxmeld-wire .guide-links a.tw-btn:hover, #taxmeld-wire .tool-help a.tw-btn:hover { text-decoration: underline; color: var(--accent); background: transparent; }
#taxmeld-wire .left-offer, #taxmeld-wire .tw-side {
  margin: 17px 0 0; padding: 13px; border: 0; border-radius: 10px; background: #253967; color: white;
}
#taxmeld-wire .left-offer h3, #taxmeld-wire .tw-side h3 {
  margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 650; color: #fff;
}
#taxmeld-wire :is(.left-offer, .tw-side) a.tw-btn {
  justify-content: flex-start; min-height: 26px; padding: 3px 0; margin: 0; border: 0; border-radius: 0;
  background: transparent; color: #e5ebff; font-size: 12px; text-decoration-line: underline; text-underline-offset: 3px;
}
#taxmeld-wire .tw-page .tw-side p { color: #d6dff6; }
#taxmeld-wire .tool-help { border: 0; padding: 0; margin-top: 15px; }
#taxmeld-wire .rail-work .rail-item, #taxmeld-wire .rail-work .rail-item[aria-expanded=true] {
  position: relative; width: 100%; margin: 5px 0; padding: 8px 22px 8px 10px; border: 1px solid var(--line);
  border-radius: 8px; background: white; color: var(--navy); font-size: 13px; font-weight: 610; line-height: 1.4;
}
#taxmeld-wire .rail-item::after {
  content: '+'; position: absolute; right: 7px; top: 8px; width: 13px; font-size: 15px; line-height: 1; color: #52658d;
}
#taxmeld-wire .rail-work .rail-item[aria-expanded=true] { border-color: #719d90; background: #eff7f3; }
#taxmeld-wire .rail-item[aria-expanded=true]::after { content: '−'; }
#taxmeld-wire .rail-item:disabled { opacity: .7; }
#taxmeld-wire .rail-item .st { font-size: 11px; font-weight: 440; color: var(--muted); line-height: 1.45; }
#taxmeld-wire .rail-item[aria-expanded=true] .st { color: var(--green); }
#taxmeld-wire .rail-work details > summary { padding: 7px 0; font-size: 12px; font-weight: 600; color: var(--muted); }
#taxmeld-wire .tool-shelf { margin: 13px 0 0; }
#taxmeld-wire .tool-shelf > h3 { border-top: 1px solid var(--line); padding-top: 11px; }
#taxmeld-wire .tool-cards { display: grid; gap: 7px; }
#taxmeld-wire .premium-entry {
  position: relative; width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: flex-start;
  margin: 0; padding: 10px 11px; border: 1px solid #d3dbe8; border-radius: 9px; background: #fff; color: var(--ink);
  line-height: 1.42; text-align: start; transition: border-color .12s ease, background-color .12s ease;
}
#taxmeld-wire .premium-entry:hover { border-color: #8799c5; background: #f9faff; }
#taxmeld-wire .premium-entry[data-state=ready] { background: #f1f4ff; border-color: #a9b8e7; }
#taxmeld-wire .premium-entry[aria-expanded=true] { border-color: var(--accent); box-shadow: inset 2px 0 var(--accent); }
#taxmeld-wire .premium-label { font-size: 10px; font-weight: 610; color: #59647b; letter-spacing: .025em; }
#taxmeld-wire .premium-entry[data-access=trial] .premium-label { color: var(--green); }
#taxmeld-wire .premium-entry[data-access=entitled] .premium-label { color: var(--accent); }
#taxmeld-wire .premium-entry strong { margin: 4px 0 3px; font-size: 14px; font-weight: 690; color: var(--navy); }
#taxmeld-wire .premium-entry small { font-size: 11px; color: var(--muted); margin: 0 0 3px; line-height: 1.55; }
#taxmeld-wire .premium-entry .premium-action, #taxmeld-wire .premium-entry[data-access=trial] .premium-action,
#taxmeld-wire .premium-entry[data-state=info] .premium-action {
  display: inline-block; margin: 5px 0 0; padding: 3px 6px; border: 0; border-radius: 4px;
  background: #edf0f6; color: #43536e; font-weight: 650; font-size: 11px; line-height: 1.5;
}
#taxmeld-wire .premium-entry[data-state=ready] .premium-action { background: var(--accent); color: white; }
#taxmeld-wire .premium-entry[data-access=pending] { background: #f6f7fa; border-style: dashed; }
#taxmeld-wire .premium-entry[data-access=pending] .premium-label { color: #6b6253; }

/* The primary form, applied supplements, and paid tools have three separate visual treatments. */
#taxmeld-wire .calc-center { container: workarea / inline-size; }
#taxmeld-wire .parent-card {
  overflow: clip; min-width: 0; background: var(--paper); border: 1px solid #cbd5e6;
  padding: 0 clamp(15px, 2.2vw, 30px) 6px; border-radius: 14px; box-shadow: 0 2px 5px #1b2c4f08;
}
#taxmeld-wire .parent-label {
  margin: 0 clamp(-30px, -2.2vw, -15px) 0; padding: 10px clamp(15px, 2.2vw, 30px);
  border: 0; border-bottom: 1px solid #d9e0ed;
  color: #344978; background: #ebeff9; font-size: 12px; line-height: 1.5; font-weight: 650;
}
#taxmeld-wire .parent-card > .tw-section {
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; padding: 19px 0; box-shadow: none;
}
#taxmeld-wire .parent-card > .tw-section:last-child { border-bottom: 0; }
#taxmeld-wire .parent-card > p { margin: 13px 0 -4px; font-size: 12px; font-weight: 540; }
#taxmeld-wire .tw-field {
  font-size: 13px; font-weight: 580; line-height: 1.55; color: #33435e; margin: 6px 0; overflow-wrap: anywhere;
}
#taxmeld-wire .cf-input, #taxmeld-wire .tw-box {
  display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 39px; margin-top: 5px;
  border: 1px solid #aebbd1; border-radius: 7px; background: white; padding: 7px 9px; color: var(--ink);
  font: 480 14px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}
#taxmeld-wire select.cf-input { padding-right: 4px; }
#taxmeld-wire .field-reason { font-size: 11px; font-weight: 450; color: var(--muted); margin-top: 3px; }
#taxmeld-wire .tw-box { display: flex; }
#taxmeld-wire .calc-center > .tw-acts:last-child { margin-top: 13px; justify-content: space-between; }
#taxmeld-wire .calc-center > .tw-acts:last-child .tw-btn { min-height: 39px; }
#taxmeld-wire .calc-center > .tw-acts:last-child .strong:only-child { margin-left: auto; }
#taxmeld-wire .calc-center > .tw-acts:last-child .strong { padding-inline: 16px; }
#taxmeld-wire .tw-page details.tw-summary {
  border: 0; border-top: 1px solid var(--line); padding: 0; margin: 0; color: var(--navy); font-size: 13px; line-height: 1.55;
}
#taxmeld-wire .tw-page .tw-summary summary { padding: 11px 0; font-weight: 580; }
#taxmeld-wire .tw-page details.tw-summary[open] { padding-bottom: 8px; }
#taxmeld-wire .child-card, #taxmeld-wire .advanced-child {
  position: relative; border: 1px solid #b9d4ca; border-inline-start: 4px solid #508574;
  background: #f4f9f6; padding: 15px clamp(14px, 1.7vw, 24px); border-radius: 11px; margin: 14px 0 0 12px;
}
#taxmeld-wire .advanced-child { border-color: #c2cdec; border-inline-start-color: #647cc8; background: #f1f4fd; }
#taxmeld-wire .current-op { align-items: flex-start; flex-wrap: nowrap; gap: 8px; margin: 0; }
#taxmeld-wire .current-op h2 { font-size: 20px; margin: 2px 0 3px; }
#taxmeld-wire .current-op small:first-child { font-size: 11px; font-weight: 630; color: var(--green); }
#taxmeld-wire .advanced-child .current-op small:first-child { color: var(--accent); }
#taxmeld-wire .current-op small[data-panel-status] { color: var(--muted); font-size: 12px; }
#taxmeld-wire .current-op > button { flex: none; min-height: 29px; font-size: 11px; }
#taxmeld-wire .child-card .tw-section {
  margin: 11px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid #d5e2dc; border-radius: 0; background: none;
}
#taxmeld-wire .advanced-child .tw-section { border-color: #d6dff2; }
#taxmeld-wire .child-card .tw-section h2 { font-size: 16px; margin-bottom: 8px; }
#taxmeld-wire .child-card > .tw-acts { border-top: 1px solid #d0dfd7; margin-top: 15px; padding-top: 12px; }
#taxmeld-wire .child-card:not(.advanced-child) > .tw-acts .strong { background: #286450; border-color: #286450; }
#taxmeld-wire .tool-upload { margin: 12px 0 0; padding: 12px; font-size: 13px; border: 1px dashed #b0bddc; border-radius: 8px; }
#taxmeld-wire input[type=file] { display: block; max-width: 100%; margin-top: 5px; font-size: 12px; }
#taxmeld-wire input::file-selector-button { font: inherit; color: var(--accent); border: 1px solid #b4c0d9; padding: 4px 8px; border-radius: 4px; background: white; }
#taxmeld-wire .locked-group { margin: 10px 0 0; border: 1px dashed #c4ccd9; border-radius: 6px; }

/* Balances due lead; schedules, provenance and downloads sit in quieter disclosure rows. */
#taxmeld-wire .tw-kpi {
  font: 650 clamp(28px, 3.9vw, 45px)/1.08 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  letter-spacing: -.055em; color: var(--navy); margin: 9px 0 7px;
}
#taxmeld-wire[data-step="4"] .parent-card .tw-section:has(.tw-pair > .tw-card) .tw-pair { align-items: stretch; gap: 8px; }
#taxmeld-wire[data-step="4"] .parent-card .tw-card {
  border: 1px solid #d2dcf2; border-radius: 9px; background: #eff3fd; padding: 13px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
}
#taxmeld-wire[data-step="4"] .parent-card .tw-card h3 { color: #3f5389; font-size: 13px; margin: 0; }
#taxmeld-wire[data-step="4"] .parent-card .tw-card:first-child:has(.tw-kpi) { border-color: #e5d3ae; background: #fff5e3; }
#taxmeld-wire[data-step="4"] .parent-card .tw-card:first-child:has(.tw-kpi) :is(h3,.tw-kpi) { color: #704711; }
#taxmeld-wire[data-step="4"] .parent-card .tw-card:not(:has(.tw-kpi)) { background: #f6f7fa; border-style: dashed; }
#taxmeld-wire[data-step="4"] .parent-card .tw-card p { margin: 5px 0 11px; font-size: 12px; line-height: 1.5; }
#taxmeld-wire[data-step="4"] .parent-card .tw-card .tw-btn { margin-top: auto; min-height: 29px; padding: 4px 6px; }
#taxmeld-wire .tool-gate {
  width: min(424px, calc(100% - 24px)); max-height: 86dvh; padding: clamp(18px, 3vw, 29px);
  border: 1px solid #d2dcec; border-radius: 16px; background: white; color: var(--ink);
  box-shadow: 0 24px 80px #17295038; font: inherit; overscroll-behavior: contain;
}
#taxmeld-wire .tool-gate::backdrop { background: rgb(18 30 54 / .53); overflow: hidden; overscroll-behavior: contain; }
#taxmeld-wire .tool-gate h2 { margin: 0 0 10px; color: var(--navy); font-size: 22px; line-height: 1.35; letter-spacing: -.025em; }
#taxmeld-wire .tool-gate p { color: var(--muted); font-size: 13px; margin: 8px 0; }
#taxmeld-wire .tool-gate ul { background: var(--accent-soft); margin: 14px 0; padding: 12px 13px 12px 29px; border-radius: 8px; color: #384e84; font-size: 13px; }
#taxmeld-wire .tool-gate li + li { margin-top: 4px; }
#taxmeld-wire .tool-gate .tw-acts { gap: 6px; margin: 17px 0 0; }
#taxmeld-wire .tool-gate .tw-acts > * { min-height: 36px; }

/* Public pages keep the approved site's document illustration and type hierarchy. */
#taxmeld-wire:not(.oper) .tw-page > :is(h1,.tw-crumb,.tw-section,.tw-side,.tw-dialog,.home-hero,p) {
  max-width: 980px; margin-left: auto; margin-right: auto;
}
#taxmeld-wire:not(.oper) .tw-page > .tw-section { padding: clamp(16px,2.6vw,30px); }
#taxmeld-wire:not(.oper) .tw-section > .tw-acts { margin-top: 13px; }
#taxmeld-wire:not(.oper) .tw-section > div:has(> a.tw-btn:only-child) { margin-block: 5px; }
#taxmeld-wire:not(.oper) .tw-section > .tw-btn { margin: 3px 4px 3px 0; }
#taxmeld-wire .home-hero {
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(180px,.8fr);
  gap: 25px; align-items: center; margin-top: 12px; padding: clamp(22px, 4.2vw, 52px);
  background: #e5ebfa; border: 1px solid #cfd9ed; border-radius: 16px;
}
#taxmeld-wire .home-hero h1 { font-size: clamp(28px, 4.4vw, 52px); max-width: 10em; }
#taxmeld-wire .home-hero p { font-size: 15px; max-width: 30em; }
#taxmeld-wire .home-art { width: 100%; max-width: 310px; justify-self: end; overflow: hidden; border-radius: 11px; }
#taxmeld-wire .home-art svg { display: block; width: 100%; height: auto; }
#taxmeld-wire .home-entry { display: flex; align-items: end; flex-wrap: wrap; gap: 9px 16px; }
#taxmeld-wire .home-entry label { min-width: min(195px,100%); margin: 0; }
#taxmeld-wire .home-entry .tw-btn.strong { min-height: 39px; }
#taxmeld-wire[data-view="S01"] .tw-section .tw-stack { grid-template-columns: repeat(auto-fit,minmax(min(180px,100%),1fr)); }
#taxmeld-wire .calc-switch {
  width: 100%; min-height: 30px; margin: 0; padding: 4px 0; color: var(--navy);
  font-size: 13px; background: transparent; border: 0;
}
@container product (min-width: 1130px) {
  #taxmeld-wire .calc-shell { grid-template-columns: minmax(160px,.7fr) minmax(0,2.65fr) minmax(219px,.98fr); gap: 22px; }
  #taxmeld-wire .rail-work .rail-item { padding: 9px 26px 9px 12px; }
  #taxmeld-wire .premium-entry { padding: 12px 14px; }
}
@container product (max-width: 829px) {
  #taxmeld-wire .calc-shell { grid-template-columns: minmax(0,1fr) minmax(171px,27%); gap: 12px; }
  #taxmeld-wire .rail-info {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start;
    padding: 0; background: white; border: 1px solid var(--line); border-radius: 9px;
  }
  #taxmeld-wire .rail-info .calc-switch { padding: 9px 12px; }
  #taxmeld-wire .rail-info .rail-contents { grid-column: 1 / -1; grid-row: 2; padding: 0 12px 12px; }
  #taxmeld-wire .rail-info .guide-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 16px; }
  #taxmeld-wire .rail-info .left-offer {
    display: flex; flex-wrap: wrap; align-items: center; gap: 7px; grid-column: 2; grid-row: 1;
    padding: 5px 10px; margin: 3px; border-radius: 6px;
  }
  #taxmeld-wire .rail-info .left-offer h3 { margin: 0; font-size: 12px; }
  #taxmeld-wire .rail-info .left-offer a { padding: 0; min-height: 23px; }
  #taxmeld-wire .rail-info .tool-help { padding: 2px 12px 10px; grid-column: 1 / -1; margin: 0; }
  #taxmeld-wire .rail-info .tool-help .tw-acts { display: flex; }
}
@container product (max-width: 575px) {
  #taxmeld-wire .calc-shell { grid-template-columns: minmax(0,1fr); gap: 10px; }
  #taxmeld-wire .rail-info { grid-row: 1; display: block; }
  #taxmeld-wire .rail-info .left-offer {
    display: flex; justify-content: space-between; margin: 0; padding: 5px 11px;
    border-radius: 0 0 8px 8px; background: #e9edf9;
  }
  #taxmeld-wire .rail-info .left-offer h3 { color: var(--navy); font-size: 12px; }
  #taxmeld-wire .rail-info .left-offer .tw-btn, #taxmeld-wire .rail-info .left-offer .tw-num { color: var(--accent); }
  #taxmeld-wire .rail-info .calc-switch { min-height: 32px; padding: 5px 11px; }
  #taxmeld-wire .rail-info .rail-contents > p { margin: 0 0 8px; }
  #taxmeld-wire .rail-work { grid-row: 2; padding: 0; }
  #taxmeld-wire .rail-work > .calc-switch { border-bottom: 1px solid var(--line); text-align: left; padding: 4px 0; }
  #taxmeld-wire .rail-work .tool-shelf { margin: 6px 0 0; }
  #taxmeld-wire .tool-shelf > h3 { border: 0; padding: 0; margin: 0 0 5px; font-size: 11px; }
  #taxmeld-wire .tool-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  #taxmeld-wire .tool-cards > .premium-entry { padding: 8px 9px; margin: 0; }
  #taxmeld-wire .premium-entry strong { font-size: 13px; margin: 2px 0 4px; }
  #taxmeld-wire .premium-entry .premium-label { font-size: 10px; }
  #taxmeld-wire .premium-entry small { font-size: 11px; line-height: 1.45; }
  #taxmeld-wire .premium-entry .premium-action { margin-top: auto; }
  #taxmeld-wire .calc-center { grid-row: 3; }
  #taxmeld-wire .child-card { margin: 10px 0 0 5px; padding: 12px; }
  #taxmeld-wire .parent-card { padding: 0 14px 5px; }
  #taxmeld-wire .parent-label { margin: 0 -14px; padding: 8px 14px; }
  #taxmeld-wire .parent-card > .tw-section { padding: 15px 0; }
  #taxmeld-wire .home-hero { grid-template-columns: minmax(0,1fr) minmax(88px,30%); gap: 10px; padding: 17px; }
  #taxmeld-wire .home-hero h1 { font-size: 25px; }
  #taxmeld-wire .home-hero p { font-size: 13px; }
}
@container workarea (max-width: 390px) {
  #taxmeld-wire .calc-center .tw-pair { grid-template-columns: minmax(0,1fr); }
  #taxmeld-wire .tw-pair { gap: 1px; }
  #taxmeld-wire[data-step="4"] .parent-card .tw-card { padding: 11px; }
}
@media (max-width: 575px) {
  #taxmeld-wire { --gutter: 11px; }
  #taxmeld-wire .tw-header, #taxmeld-wire.oper .tw-header {
    min-height: 43px; padding-block: 5px; margin-bottom: 10px; gap: 4px;
  }
  #taxmeld-wire .tw-header .brand-wordmark { width: 76px; }
  #taxmeld-wire .tw-header .tw-acts { gap: 1px; }
  #taxmeld-wire .tw-header .tw-btn { padding: 4px; font-size: 11px; min-height: 29px; gap: 1px; }
  #taxmeld-wire .tw-page h1, #taxmeld-wire.oper .tw-page h1 { font-size: 25px; margin: 4px 0 10px; }
  #taxmeld-wire .tw-flow { gap: 4px; margin: 0 0 10px; font-size: 11px; }
  #taxmeld-wire .tw-flow > span { gap: 2px; border-top-width: 2px; padding: 4px 0 0; line-height: 1.35; align-items: start; }
  #taxmeld-wire .tw-flow > span i { flex-basis: 15px; height: 15px; font-size: 9px; }
  #taxmeld-wire .tw-field { font-size: 13px; }
  #taxmeld-wire .cf-input { font-size: 16px; }
  #taxmeld-wire .tw-page h2 { font-size: 17px; }
  #taxmeld-wire .tw-btn { font-size: 12px; }
  #taxmeld-wire .tw-table th, #taxmeld-wire .tw-table td { padding: 5px 4px; }
}
@media (max-width: 360px) {
  #taxmeld-wire { --gutter: 8px; }
  #taxmeld-wire .tw-header .brand-wordmark { width: 67px; }
  #taxmeld-wire .tw-header .tw-btn { padding-inline: 3px; }
  #taxmeld-wire .tw-flow { font-size: 10px; }
  #taxmeld-wire .tool-gate h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #taxmeld-wire .premium-entry { transition: none; }
}

#taxmeld-wire .tw-header .product-brand {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 3px 0;
  border: 0; border-radius: 3px; color: var(--navy); background: transparent; cursor: pointer;
}
#taxmeld-wire .product-brand .brand-square { display: block; width: 26px; height: 26px; }
#taxmeld-wire .product-brand .tw-num { align-self: flex-start; }
#taxmeld-wire .rail-info .left-offer a.tw-btn { display: inline; }
#taxmeld-wire .feature-intro { display: block; color: var(--ink); text-decoration: none; }
#taxmeld-wire .feature-intro > strong { display: block; margin-top: 7px; color: var(--navy); font-size: 17px; }
#taxmeld-wire .feature-intro:hover strong { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
#taxmeld-wire .home-feature .tw-acts { margin-top: 10px; }
#taxmeld-wire .home-start > a { margin-top: 10px; }
@container product (min-width: 576px) and (max-width: 829px) {
  #taxmeld-wire .rail-info.reveal .left-offer { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin: 0 12px 12px; }
}
@container product (max-width: 575px) {
  #taxmeld-wire[data-step="4"] .calc-center { grid-row: 2; }
  #taxmeld-wire[data-step="4"] .rail-work { grid-row: 3; margin-top: 6px; }
}
@media (max-width:575px) {
  #taxmeld-wire .tw-header .product-brand { gap: 3px; }
  #taxmeld-wire .product-brand .brand-square { width: 19px; height: 19px; }
  #taxmeld-wire .tw-header .brand-wordmark { width: 64px; }
}
@media (max-width:360px) {
  #taxmeld-wire .product-brand .brand-square { width: 16px; height: 16px; }
  #taxmeld-wire .tw-header .brand-wordmark { width: 52px; }
}
#taxmeld-wire .result-tool-jump { display: none; }
@container product (max-width: 575px) {
  #taxmeld-wire .result-tool-jump {
    display: inline-flex; align-items: center; min-height: 28px; margin: -4px 0 6px; color: var(--accent);
    font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  }
}
#taxmeld-wire.numbers-hidden .tw-num { display: none !important; }
#taxmeld-wire .review-selected, #taxmeld-wire .review-selected:disabled {
  outline: 3px solid #ac591d !important; outline-offset: 2px;
  box-shadow: 0 0 0 5px #fff4da;
}
#taxmeld-wire .rail-info .left-offer { position: relative; }
@container product (min-width: 830px) {
  #taxmeld-wire .rail-info .left-offer .tw-num { position: absolute; inset: 10px 7px auto auto; }
  #taxmeld-wire .rail-info .left-offer h3 { padding-right: 12px; font-size: 13px; }
}
@media (max-width:360px) {
  #taxmeld-wire .tw-header .product-brand .brand-square { display: none; }
  #taxmeld-wire .tw-header .product-brand { gap: 1px; }
}
#taxmeld-wire .home-intro h1 > span { display: inline-block; max-width: 100%; }
@container product (max-width: 400px) {
  #taxmeld-wire .home-hero { grid-template-columns: minmax(0,1fr) minmax(75px,24%); padding: 14px; }
  #taxmeld-wire .home-hero h1 { font-size: 23px; }
}

/* Conditions are read before either footer action. Both dismiss controls return to the card. */
#taxmeld-wire .tool-gate .gate-heading {display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
#taxmeld-wire .tool-gate .gate-heading h2 {margin:0; flex:1; align-self:center}
#taxmeld-wire .tool-gate .gate-dismiss {
  position:relative; display:grid; place-items:center; flex:0 0 40px; min-height:40px;
  padding:0; border:1px solid #d6deeb; border-radius:8px; color:var(--navy); background:white;
  cursor:pointer;
}
#taxmeld-wire .tool-gate .gate-dismiss > span {font:25px/1 system-ui; transform:translateY(-1px)}
#taxmeld-wire .tool-gate .gate-dismiss:hover {background:var(--accent-soft)}
#taxmeld-wire .tool-gate .gate-dismiss .tw-num {position:absolute; right:-3px; top:-7px; background:white; padding:1px}
#taxmeld-wire .tool-gate .tw-acts {align-items:stretch; gap:8px; padding-top:12px; border-top:1px solid var(--line)}
#taxmeld-wire .tool-gate .gate-stay {margin-inline-start:auto}
@media(max-width:375px){
 #taxmeld-wire .tool-gate .tw-acts {gap:5px}
 #taxmeld-wire .tool-gate .tw-acts .tw-btn {padding-inline:7px; min-height:41px}
}

/* US English labels, forms, and payment schedules share the same reading order at every width. */
#taxmeld-wire .home-intro h1 > span { display: block; }
#taxmeld-wire .tw-page :is(.tw-btn,.rail-item,.premium-entry,.tw-field,.tw-summary,.parent-label) {
  white-space: normal; word-break: normal; overflow-wrap: break-word;
}
#taxmeld-wire .premium-entry .premium-action { max-inline-size: 100%; line-height: 1.4; }
#taxmeld-wire .tw-btn { max-inline-size: 100%; line-height: 1.45; }
#taxmeld-wire .tw-num { white-space: nowrap; font-variant-numeric: tabular-nums; }
#taxmeld-wire .tw-kpi { font-variant-numeric: tabular-nums lining-nums; }
#taxmeld-wire .tw-field, #taxmeld-wire .cf-input { min-inline-size: 0; }
#taxmeld-wire .table-region { container: data-table / inline-size; max-inline-size: 100%; }
@container data-table (max-width: 430px) {
  #taxmeld-wire .tw-table, #taxmeld-wire .tw-table :is(tbody,tr) { display: block; }
  #taxmeld-wire .tw-table thead {
    position: absolute; inline-size: 1px; block-size: 1px; clip-path: inset(50%); overflow: hidden;
  }
  #taxmeld-wire .tw-table tbody tr { border-block-end: 1px solid var(--line); padding-block: 6px; }
  #taxmeld-wire .tw-table td {
    display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 9px;
    border: 0; padding: 3px 0; font-variant-numeric: tabular-nums; word-break: normal;
  }
  #taxmeld-wire .tw-table td::before { content: attr(data-column); color: var(--muted); font-weight: 600; }
}
@media (max-width:575px) {
  #taxmeld-wire .tw-header, #taxmeld-wire.oper .tw-header { flex-wrap: wrap; }
  #taxmeld-wire .tw-header .tw-acts { flex-wrap: wrap; margin-inline-start: auto; }
  #taxmeld-wire .tw-flow { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 12px; font-size: 12px; }
  #taxmeld-wire .tw-flow > span { align-items: center; gap: 5px; }
  #taxmeld-wire .rail-info .left-offer { align-items: center; }
  #taxmeld-wire .tool-gate .tw-acts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  #taxmeld-wire .tool-gate .gate-stay { grid-column: 2; margin-inline-start: 0; }
  #taxmeld-wire .tw-header .tw-btn { font-size: 11px; padding-inline: 3px; }
  #taxmeld-wire .home-hero { grid-template-columns: 1fr; }
  #taxmeld-wire .home-hero .home-art { max-block-size: 100px; }
}


#taxmeld-wire:not(.oper) .tw-page > .instruction-guide {
  max-width: 820px; padding: 0; overflow: hidden; container-type: inline-size;
}
#taxmeld-wire .instruction-guide .guide-example {
  padding: 20px clamp(16px, 4%, 34px); background: #ecf1fb;
  border-bottom: 1px solid #d4deed;
}
#taxmeld-wire .guide-example small { color: #425882; font-size: 12px; font-weight: 650; }
#taxmeld-wire .guide-example h2 { margin: 4px 0 5px; font-size: clamp(1.08rem, .96rem + .55vw, 1.35rem); }
#taxmeld-wire .instruction-guide p { font-size: 14px; line-height: 1.75; max-width: 45em; }
#taxmeld-wire .guide-how { padding: 21px clamp(16px, 4%, 34px) 6px; }
#taxmeld-wire .guide-how > h2 { margin: 0 0 8px; }
#taxmeld-wire .guide-steps { list-style: decimal; margin: 0; padding: 0 0 0 1.65em; }
#taxmeld-wire .guide-steps li { padding: 12px 0 16px 3px; border-top: 1px solid var(--line); }
#taxmeld-wire .guide-steps li::marker { font-weight: 700; color: #304b90; font-variant-numeric: tabular-nums; }
#taxmeld-wire .guide-steps h3 { font-size: 16px; margin: 0 0 3px; }
#taxmeld-wire .guide-steps p { margin: 4px 0; }
#taxmeld-wire .guide-capture { max-width: 595px; margin: 12px 0 3px; }
#taxmeld-wire .guide-image-link {
  display: block; position: relative; width: 100%; padding: 8px 8px 5px; border: 1px solid #cbd5e5; border-radius: 8px;
  background: #f1f4fa; color: #334d88; text-align: end; font-size: 12px; line-height: 1.6; text-decoration: none; cursor: zoom-in;
}
#taxmeld-wire .guide-image-link:hover, #taxmeld-wire .guide-image-link:focus-visible { border-color: #5268a2; }
#taxmeld-wire .guide-image-link img { display: block; width: 100%; height: auto; margin-bottom: 4px; }
#taxmeld-wire .guide-image-open { text-decoration: underline; text-underline-offset: 2px; }
#taxmeld-wire .guide-capture figcaption { color: #435672; font-size: 13px; line-height: 1.6; margin-top: 6px; }
#taxmeld-wire:not(.oper) .tw-page > .guide-next { max-width: 820px; }
#taxmeld-wire .guide-next h2 { font-size: 16px; }
@container (max-width: 440px) {
  #taxmeld-wire .instruction-guide .guide-example { padding: 13px 12px; }
  #taxmeld-wire .guide-how { padding: 16px 12px 3px; }
  #taxmeld-wire .guide-steps { padding-inline-start: 21px; }
  #taxmeld-wire .guide-steps li { padding-inline-start: 0; }
  #taxmeld-wire .guide-capture { margin-inline-start: -21px; }
  #taxmeld-wire .guide-image-link { padding: 3px 3px 4px; }
}
#taxmeld-wire .guide-example .tw-acts { margin-top: 12px; }
#taxmeld-wire .instruction-guide .guide-return { margin: 0; max-width: none; padding: 11px clamp(12px, 4%, 34px); font-size: 13px; background: #f6f8fb; border-top: 1px solid var(--line); }

.instruction-guide p{max-inline-size:74ch;text-wrap:pretty}
.guide-steps h3{line-height:1.35;text-wrap:balance}
.guide-image-link img{height:auto}
.guide-next .tw-acts a{white-space:normal;text-align:start}


#taxmeld-wire .ent-overview { display: grid; gap: 14px; }
#taxmeld-wire .ent-prices, #taxmeld-wire .ent-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
#taxmeld-wire .ent-prices > div { display: flex; align-items: start; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid #ccd6e6; border-radius: 9px; }
#taxmeld-wire .ent-prices > div:last-child { background: #f0f3fc; border-color: #b6c4e5; }
#taxmeld-wire .ent-prices h3 { margin: 0; font-size: 14px; }
#taxmeld-wire .ent-prices strong { font-size: 28px; line-height: 1.2; color: var(--navy); font-variant-numeric: tabular-nums; }
#taxmeld-wire .ent-prices small { color: var(--muted); font-size: 12px; }
#taxmeld-wire .ent-prices a { margin-top: 7px; }
#taxmeld-wire .ent-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 16px; font-size: 13px; }
#taxmeld-wire .ent-table .ent-name { width: 45%; }
#taxmeld-wire .ent-table th, #taxmeld-wire .ent-table td { padding: 8px 6px; border-bottom: 1px solid #deE4ef; text-align: center; vertical-align: middle; overflow-wrap: anywhere; }
#taxmeld-wire .ent-table th:first-child { text-align: start; }
#taxmeld-wire .ent-table thead th { position: sticky; inset-block-start: 0; z-index:1; color: #213769; background: #edf1fb; font-weight: 700; }
#taxmeld-wire .ent-table th[scope="row"] { font-weight: 500; }
#taxmeld-wire .ent-group th { background: #f4f6fa; color: #44546c; font-weight: 650; }
#taxmeld-wire .ent-included { color: #286550; font-weight: 590; }
#taxmeld-wire .ent-na { color: #6c7786; }
#taxmeld-wire .ent-facts > div { padding-inline-start: 11px; border-inline-start: 2px solid #c5d2eb; }
#taxmeld-wire .ent-facts p { margin: 0; }
.purchase-agreement { margin: 18px 0 12px; border-block-start: 1px solid #cbd6e5; padding: 17px 0 0; color: #26354b; }
.purchase-agreement h3,.purchase-agreement h4 { margin: 0 0 5px; }
.purchase-agreement h3 { font-size: 18px; }
.purchase-agreement h4 { margin-top: 12px; font: 650 14px/1.5 system-ui,sans-serif; }
.purchase-agreement p { margin: 4px 0; line-height: 1.62; font-size: 14px; }
.purchase-agreement p.policy-foot { font-size: 13px; color: #53627a; }
.policy-links { display: flex; flex-wrap:wrap; gap: 8px 15px; margin: 10px 0; }
.policy-links a { color: #2e4199; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.policy-check { position:relative; display:flex;align-items:flex-start;gap:8px;background:#edf2fb;border-radius:6px;padding:10px 22px 10px 12px;color:#243251;font-size:14px;line-height:1.52;cursor:pointer; }
/* The native checkbox spans the row; the review marker stays at the row edge. */
.policy-check input[type="checkbox"] { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.policy-check::before { content:""; display:grid; place-items:center; flex:0 0 18px; height:18px; box-sizing:border-box; margin:1px 0 0; border:1px solid #667995; border-radius:4px; background:#fff; }
.policy-check:has(input:checked)::before { content:"✓"; color:white; font:bold 14px/1 sans-serif; border-color:#2e4199; background:#2e4199; }
.policy-check:has(input:focus-visible) { outline:3px solid #657ad0; outline-offset:2px; }
@media(forced-colors:active) { .policy-check::before{color:ButtonText;border-color:ButtonText} .policy-check:has(input:checked)::before{background:Highlight;color:HighlightText} }
.purchase-agreement p.policy-error { color:#923b2c;font-size:13px;font-weight:600; }
.purchase-agreement [hidden] { display:none!important; }
@media (max-width:650px) {
  #taxmeld-wire .ent-prices { gap: 5px; }
  #taxmeld-wire .ent-prices > div {padding:8px 6px;border-radius:5px;}
  #taxmeld-wire .ent-prices .tw-btn {font-size:12px;padding:5px;}
  #taxmeld-wire .ent-facts {grid-template-columns:1fr;}
  #taxmeld-wire .ent-table { font-size:12px; }
  #taxmeld-wire .ent-table th,#taxmeld-wire .ent-table td {padding:7px 3px;line-height:1.5;}
  #taxmeld-wire .ent-table .ent-name {width:39%;}
}
@media(max-width:420px) {
  #taxmeld-wire .ent-prices {grid-template-columns:1fr;}
  #taxmeld-wire .ent-prices > div { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:9px 11px;}
  #taxmeld-wire .ent-prices strong {font-size:21px;grid-column:2;grid-row:1 / span 2;}
  #taxmeld-wire .ent-prices a {justify-self:start;grid-column:1/-1;}
}
#taxmeld-wire .ent-launch { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0 0;border-top:1px solid #d5deec; }
#taxmeld-wire .ent-launch p,#taxmeld-wire .ent-launch h3 { margin:0; }
#taxmeld-wire .ent-launch .tw-acts { margin:0; }
#taxmeld-wire .ent-facts { grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr)); }
.policy-refund { color:#344763; }
.purchase-agreement .consent-saved, .release-status {padding:8px 10px;color:#235242;background:#eef7f0;border-radius:5px;}
.quote-changes { margin:.7rem 0;padding:.6rem .8rem;background:#fff7e3;color:#593d09;border-left:3px solid #be9334; }
.quote-changes ul { margin:.3rem 0 0;padding-left:1.25rem; }
.purchase-scenarios { margin-top:20px; }
.purchase-scenarios > div { display:flex; align-items:end; gap:8px;flex-wrap:wrap;margin-top:12px; }
.purchase-scenarios label { display:grid;min-width:0;gap:5px;color:#47546c;font-size:13px; }
.purchase-scenarios select { box-sizing:border-box;max-width:100%;font:inherit;min-height:36px;padding:5px 10px;border:1px solid #a6b6d1;border-radius:5px;color:#273957;background:white; }
.release-delivery { border-top:1px solid #d2ddee;margin-top:14px;padding-top:12px; }
.release-delivery h3 { font:600 15px/1.4 system-ui,sans-serif;margin:0; }
.release-delivery p { margin:.45rem 0 0;line-height:1.65; }
@media(max-width:480px) {
  #main .purchase-agreement { padding-top:13px; }
  #main .purchase-scenarios > div { flex-direction:column;align-items:flex-start; }
  #main .purchase-scenarios select { width:100%; }
  #main .purchase-scenarios label { max-width:100%; }
  #main .ledger dd { overflow-wrap:anywhere; }
}

@media(max-width:760px) {
  #main .layout:has(.purchase-agreement) > aside { order:-1; }
}

/* At phone widths each feature carries its own three-plan comparison. */
@media (max-width: 540px) {
  #taxmeld-wire .ent-table { display: block; font-size: 13px; }
  #taxmeld-wire .ent-table colgroup { display: none; }
  #taxmeld-wire .ent-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #taxmeld-wire .ent-table tbody, #taxmeld-wire .ent-table tbody tr { display: block; }
  #taxmeld-wire .ent-table .ent-group th { margin-block: 18px 0; padding: 9px; color: #233657; }
  #taxmeld-wire .ent-table th[scope="row"] { padding: 12px 2px 4px; font-weight: 650; }
  #taxmeld-wire .ent-table tbody th { display: block; border-bottom: 0; }
  #taxmeld-wire .ent-table tbody td {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px; padding: 4px 2px; text-align: end; border: 0; overflow-wrap: break-word;
  }
  #taxmeld-wire .ent-table tbody td::before { content: attr(data-plan); content: attr(data-plan) / ""; text-align: start; color: #53637a; }
  #taxmeld-wire .ent-table tbody td:last-child { padding-bottom: 10px; border-bottom: 1px solid #dee4ef; }
}
@media (max-width: 560px) {
  #main .ledger > div { display: grid; grid-template-columns: 1fr; gap: 3px; }
  #main .ledger dd { text-align: start; margin-inline-start: 0; }
  #main .actions > :is(a,button),.phase-footer a { white-space: normal; }
  #main .page-head h1 { overflow-wrap: break-word; }
}
