:root{--charcoal:#2e3949;--purple:#7c70bb;--green:#2da780;--ink:#293449;--line:#dedede;--page:#f5f5f5;--row:#f8f8f8}*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font:14px/1.45 Arial,Helvetica,sans-serif}a{color:var(--purple);text-decoration:none}a:hover{text-decoration:underline}.topbar{height:86px;background:var(--charcoal)}.topnav{max-width:1570px;margin:auto;display:flex;align-items:center;gap:26px;padding:12px 20px;color:white;min-height:52px}.topnav a{color:white;font-size:14px;font-weight:600}.topnav .home-link{font-size:34px;line-height:1;color:var(--purple)}.topnav a[aria-current]{box-shadow:0 2px var(--purple)}.workspace{max-width:1570px;width:calc(100% - 48px);margin:-34px auto 0;position:relative}.workspace-header{display:flex;align-items:center;gap:12px;background:white;min-height:72px;border-radius:3px;box-shadow:0 8px 22px #0002;padding:4px 14px}.brand{display:flex;align-items:center;gap:4px;color:var(--charcoal);font-size:27px;font-weight:700;letter-spacing:-1px;padding:10px 20px 10px 0;border-right:1px solid var(--line);align-self:stretch}.brand-mark{color:var(--purple);font-size:34px}.workspace-title{display:flex;flex-direction:column;gap:2px;font-size:12px}.workspace-title strong{color:var(--purple);font-size:14px}.account{margin-left:auto;display:flex;align-items:center;gap:20px;font-size:13px}.account form{margin:0}.text-button{background:transparent;color:var(--ink);border-bottom:3px solid #e78489;border-radius:0;padding:20px 12px;text-transform:none;box-shadow:none}.tabs{display:flex;gap:6px;align-items:end;background:white;margin:22px 0 20px;padding:10px 4px 15px;position:relative}.tabs:after{content:"";position:absolute;left:0;right:0;bottom:15px;height:1px;background:#d5d5d5}.tabs a{position:relative;z-index:1;background:white;color:var(--ink);border:1px solid #d5d5d5;border-radius:2px 2px 0 0;padding:5px 20px;min-width:100px;text-align:center}.tabs a[aria-current]{background:var(--purple);color:white;font-weight:600}.language-tag{margin-left:auto;background:var(--purple);color:white;font-size:12px;font-weight:700;padding:5px 15px;align-self:center}.shell{display:flex;align-items:flex-start;gap:10px}aside{width:263px;flex-shrink:0;background:white;box-shadow:0 2px 4px #0003;border-radius:3px;overflow:hidden}.section-heading{background:var(--charcoal);color:white;font-weight:700;padding:11px 13px}aside nav a{display:flex;justify-content:space-between;color:#252525;padding:11px 13px;border-bottom:1px solid #f0f0f0;font-weight:600}aside nav a[aria-current]{background:var(--purple);color:white}aside nav a.sub-link{font-weight:400;padding:10px 13px}main{flex:1;min-width:0;background:white;box-shadow:0 0 15px #0002;border-radius:3px;padding:20px 10px;min-height:550px}h1{font-size:17px;line-height:1.4;color:#4644c5;margin:0 0 5px}h2{font-size:14px;background:var(--row);border-left:3px solid var(--purple);padding:12px 10px;margin:0 0 18px;color:var(--ink)}p{margin:8px 0 14px}.muted,footer{color:#697180}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px;padding:12px;border:1px solid var(--line);border-left:3px solid #4644c5;border-radius:10px;box-shadow:0 2px 5px #0001}.toolbar p{margin:0;font-size:12px}.card{background:white;border:1px solid #ececec;border-radius:3px;padding:12px;margin:16px 0;box-shadow:0 2px 6px #0000000a}.stats,.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.stats .card{margin:0;border-left:3px solid var(--purple);background:var(--row);padding:16px}.number{font-size:32px;font-weight:700;color:var(--charcoal);margin-top:6px}.button,button{display:inline-block;background:var(--green);color:white;padding:7px 14px;border:0;border-radius:3px;font:700 11px/1.4 Arial,Helvetica,sans-serif;text-transform:uppercase;cursor:pointer;box-shadow:0 2px 5px #0001}.button:hover,button:hover{filter:brightness(.95);text-decoration:none}.filters button{background:var(--purple)}input,select,textarea{width:100%;min-height:32px;padding:6px 9px;border:1px solid #e4e4e4;border-radius:2px;font:14px Arial,Helvetica,sans-serif;color:var(--ink);background:white}input:disabled,input[readonly],select:disabled,textarea[readonly]{background:#eee;color:#687080}textarea{min-height:70px;resize:vertical}label{display:block;margin-bottom:14px;font-weight:600;font-size:13px}label input,label select,label textarea{margin-top:5px}label small{display:block;margin-top:5px;font-size:12px;font-weight:400;color:#697180}.filters{display:flex;gap:10px;align-items:center;margin:18px 0}.filters input{flex:1;background:#f5f5f5;border:0;border-bottom:1px solid #999;border-radius:0;padding:12px 16px;letter-spacing:.4px;font-size:12px}.filters select{width:180px}table{width:100%;border-collapse:separate;border-spacing:0 8px}th,td{text-align:left;padding:12px 15px}th{font-size:12px;background:var(--charcoal);color:white;font-weight:700}th:first-child{border-radius:3px 0 0 3px}th:last-child{border-radius:0 3px 3px 0}td{background:var(--row);font-size:13px}td:first-child{border-left:3px solid var(--purple);border-radius:3px 0 0 3px}td:last-child{border-radius:0 3px 3px 0}.table-wrap{overflow:auto}.notice{padding:12px;background:#e7f5ef;border-left:3px solid var(--green);margin:0 0 16px}.errors{padding:14px;background:#fff1f1;border-left:3px solid #e78489;margin:0 0 16px}.errors ul{margin-bottom:0}.login{max-width:450px;margin:50px auto}.login h1{margin:10px 0}.login form{margin-top:24px}footer{font-size:11px;margin:20px 0 30px}dl{display:grid;grid-template-columns:180px 1fr;gap:0;margin:0}dt,dd{padding:10px;background:var(--row);border-bottom:7px solid white}dt{border-left:3px solid var(--purple);font-weight:600}dd{margin:0;overflow-wrap:anywhere}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--purple);outline-offset:2px}@media(min-width:1700px){.workspace{width:82%}}@media(max-width:900px){aside{width:205px}.workspace{width:calc(100% - 28px)}.workspace-title span{max-width:240px}.account{gap:8px}.brand{font-size:24px;padding-right:12px}}@media(max-width:650px){.topnav{padding-left:14px;gap:16px}.topnav a{font-size:12px}.workspace-header{flex-wrap:wrap;padding:8px 12px}.workspace-title{flex:1}.account{width:100%;justify-content:space-between;border-top:1px solid #eee}.text-button{padding:8px}.tabs{margin-top:14px}.shell{display:block}aside{width:100%;margin-bottom:12px}aside nav{display:flex;flex-wrap:wrap}aside nav a{flex:1;min-width:120px}.section-heading{padding:7px 12px}.stats,.grid{grid-template-columns:1fr}.toolbar,.filters{flex-wrap:wrap}.filters input{min-width:180px}.filters select{flex:1}main{min-height:400px}.brand{font-size:23px}dl{grid-template-columns:110px 1fr}.tabs a{padding:6px 12px;min-width:85px}.workspace-title span{font-size:11px}}
/* Dashboard service tiles follow the reference's four-column workspace. */
.dashboard-page .shell{margin-top:24px}.dashboard-page main{padding:0;background:transparent;box-shadow:none;border-radius:0;min-height:0}.dashboard-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.service-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:146px;padding:16px 15px 14px;border-radius:4px;color:white;box-shadow:0 8px 22px #0002;overflow:hidden}.service-tile h2{background:none;border:0;padding:0;margin:auto 0 0;color:white;font-size:20px;line-height:1.12;font-weight:600}.service-tile .tile-note{display:block;font-size:11px;line-height:1.3;margin-top:8px;color:#fff;opacity:.95}.service-tile:nth-child(-n+4){min-height:176px}.tile-eyebrow{font-size:14px;font-weight:600}.tile-income{background:linear-gradient(110deg,#1579ff,#20bfd7)}.tile-income h2{font-size:31px;font-weight:750;margin:18px 0 auto;letter-spacing:-1px}.tile-income .tile-note{align-self:flex-end}.tile-trader{background:linear-gradient(165deg,#08785b,#103449)}.tile-trader h2{align-self:stretch;text-align:right;font-size:21px;line-height:1.5}.tile-information{background:linear-gradient(110deg,#6241a5,#979ef5)}.tile-wordmark{font-size:25px;font-weight:750}.tile-wordmark span{font-size:14px;color:#ffe29a}.tile-withholding{background:linear-gradient(105deg,#138366,#65c7b4)}.tile-sales{background:linear-gradient(105deg,#c148f5,#e6a1fa)}.tile-invoice{background:linear-gradient(105deg,#7e462a,#b98260)}.tile-help{background:linear-gradient(105deg,#fa543d,#ffb456)}.tile-payments{background:linear-gradient(105deg,#214f91,#50a4ec)}.tile-icon{display:flex;align-items:center;justify-content:center;width:38px;height:42px;color:white;border:2px solid #fff;border-radius:5px;font-size:29px;font-weight:600;margin:2px 0 17px}.tile-help .tile-icon{border-radius:50%;height:40px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:1050px){.dashboard-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.service-tile,.service-tile:nth-child(-n+4){min-height:165px}}@media(max-width:540px){.dashboard-tiles{grid-template-columns:1fr}.dashboard-page .shell{margin-top:16px}.service-tile,.service-tile:nth-child(-n+4){min-height:155px}.tile-income h2{font-size:29px}}
.tile-launch{position:absolute;inset:0;width:100%;height:100%;background:transparent;box-shadow:none;z-index:1;border-radius:4px}.tile-launch:hover{background:#ffffff12}.period-dialog{padding:0;border:0;border-radius:4px;width:min(486px,calc(100% - 32px));color:var(--ink);box-shadow:0 12px 30px #0005}.period-dialog::backdrop{background:#0005}.dialog-heading{display:flex;align-items:center;justify-content:space-between;background:var(--charcoal);color:white;padding:10px;font-size:13px}.dialog-heading button{background:transparent;font-size:22px;box-shadow:none;padding:0 10px}.dialog-body{padding:20px}.dialog-body label{font-weight:400;color:#777}.dialog-body select{border:2px solid var(--purple);height:38px}.period-range{background:#eee;padding:14px;border-radius:3px;min-height:46px}.dialog-body>button{float:right;margin-bottom:8px}.return-setup{background:#edf1f5;padding:20px}.setup-heading{display:flex;justify-content:space-between;border-bottom:1px solid #c5cbd1;padding-bottom:12px;margin-bottom:20px}.setup-heading>a{font-size:26px;line-height:1;color:#777}.taxpayer-picker{max-width:640px;margin-bottom:22px}.taxpayer-picker label{margin:12px 0 4px}.taxpayer-picker small{display:block;margin-top:6px;color:#697180}.income-sources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.source-option{display:flex;align-items:center;gap:12px;padding:16px 18px;background:white;border:2px solid #ddd;border-radius:6px;min-height:58px;margin:0;font-size:14px;font-weight:400;cursor:pointer}.source-option input{width:18px;min-height:18px;height:18px;flex-shrink:0;margin:0;accent-color:#4ca394}.source-option:has(input:checked){background:#dfeaec;border-color:#4ca394}.residency-row{display:flex;align-items:center;gap:14px;border-top:1px solid #c5cbd1;padding:14px 0;margin-top:15px}.residency-row strong{margin-right:24px}.residency-row .source-option{min-height:44px;padding:10px}.economic-summary{background:white;border-top:5px solid #4ca394;box-shadow:0 7px 12px #0002;padding:20px}.summary-heading{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #cdd1da;padding-bottom:12px;margin-bottom:16px}.summary-heading h2{font-size:26px;border:0;padding:0;margin:0;background:none}.summary-heading>div{text-align:right;font-size:13px;flex-shrink:0}.summary-note{background:#e9eaf1;border-left:4px solid #8589da;border-radius:16px;padding:16px 14px;margin:18px 0 34px;line-height:1.6}.setup-actions{border-top:1px solid #cdd1da;display:flex;justify-content:flex-end;align-items:center;gap:24px;padding-top:14px}.setup-actions button{background:var(--purple);padding:14px 22px}button:disabled{opacity:.5;cursor:not-allowed}.field-error{color:#a52838}@media(max-width:1100px){.income-sources{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-heading{flex-wrap:wrap}.summary-heading>div{text-align:left}}@media(max-width:650px){.income-sources{grid-template-columns:1fr}.return-setup{padding:10px}.residency-row{flex-wrap:wrap}.residency-row strong{width:100%;margin:0}.summary-heading h2{font-size:22px}.economic-summary{padding:14px}}

/* Keep taxpayer search and selection aligned in one compact row. */
.taxpayer-picker{max-width:none;background:#fff;border:1px solid #dde1e7;border-left:3px solid var(--purple);border-radius:5px;padding:14px 16px;margin-bottom:22px}.taxpayer-picker-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.taxpayer-picker-row>div{min-width:0}.taxpayer-picker-row label{margin:0 0 7px;font-size:13px}.taxpayer-picker-row input,.taxpayer-picker-row select{margin:0;min-height:40px;padding:10px 12px;border-color:#d6dbe3;border-radius:4px}.taxpayer-picker-row select[size="1"]{height:40px}.taxpayer-picker>small{margin-top:9px;font-size:12px}@media(max-width:650px){.taxpayer-picker-row{grid-template-columns:1fr;gap:14px}.taxpayer-picker{padding:12px}}
.editor-heading{display:flex;justify-content:space-between;align-items:center;background:white;padding:14px 18px;border-radius:3px;box-shadow:0 3px 10px #0001;font-size:13px}.editor-heading strong{color:var(--purple)}.editor-actions{display:flex;align-items:center;gap:20px}.editor-actions button{background:none;box-shadow:none;color:var(--ink);font-size:13px;font-weight:400;text-transform:none;padding:6px}.editor-tabs{display:flex;align-items:center;background:white;margin:24px 0 20px;padding:10px 4px;border-bottom:1px solid #ddd}.editor-tabs>span:first-child{background:var(--purple);color:white;padding:7px 20px;font-weight:700}.return-editor{display:flex;gap:10px;align-items:flex-start}.schedule-nav{display:flex;flex-direction:column;width:263px}.schedule-nav>a{display:flex;justify-content:space-between;padding:12px;border-bottom:1px solid #eee;color:#252525;font-weight:600}.schedule-nav>a[aria-current]{background:var(--charcoal);color:white}.schedule-subtitle{padding:10px 12px;color:white;background:var(--purple);font-size:13px}.schedule-panel{flex:1;min-width:0;padding:20px 10px 10px;background:white;box-shadow:0 3px 16px #0002;border-radius:3px}.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.schedule-toolbar input{max-width:425px;background:#f5f5f5;border:0;border-bottom:1px solid #999;padding:12px 16px;font-size:12px;letter-spacing:.4px}.schedule-toolbar .button{background:var(--purple)}.schedule-panel h1{padding:14px 12px;border:1px solid #ddd;border-left:3px solid #4644c5;border-radius:10px;box-shadow:0 2px 5px #0001;font-size:14px}.schedule-note{font-size:11px;color:#697180;margin:12px}.schedule-table-wrap{overflow:auto}.schedule-table{min-width:850px;table-layout:fixed;border-spacing:0 10px}.schedule-table th:first-child{width:42%}.schedule-table th:nth-child(2){width:8%}.schedule-table th{padding:14px 10px;font-size:12px;text-align:center}.schedule-table th:first-child{text-align:left}.schedule-table td{padding:4px 0;background:white;font-size:13px;border-radius:0;border:0;vertical-align:top}.schedule-table td:first-child{padding:10px 20px 10px 30px}.schedule-table td:nth-child(2){background:#fafafa;border:1px solid #e9e9e9;padding:8px 10px}.schedule-table input{border-radius:0;height:32px;min-height:32px;padding:5px;font-size:13px;text-align:right}.schedule-table .schedule-total td{background:#f8f8f8;padding:10px 6px;font-weight:700;vertical-align:middle}.schedule-table .schedule-total td:first-child{border-left:3px solid var(--purple);padding:12px}.schedule-bottom{display:flex;justify-content:flex-end;gap:10px;margin:26px 5px 0}.schedule-bottom button{background:var(--purple);min-width:90px}.schedule-bottom button:disabled{background:#a4acb7}@media(max-width:900px){.schedule-nav{width:200px}.schedule-toolbar{flex-wrap:wrap}}@media(max-width:650px){.return-editor{display:block}.schedule-nav{width:100%;margin-bottom:12px}.editor-heading{flex-wrap:wrap;gap:12px}.editor-actions{gap:16px}.schedule-panel{padding:12px 8px}}@media print{.topbar,.workspace-header,.editor-actions,.editor-tabs,.schedule-nav,.schedule-toolbar,.schedule-bottom,footer{display:none!important}.workspace{width:100%;margin:0}.return-editor{display:block}.schedule-panel{box-shadow:none}.schedule-table{min-width:0}.schedule-note{color:black}.schedule-table input{border:0}.schedule-table-wrap{overflow:visible}}

.editor-header-content{flex:1;box-shadow:none;padding:8px 4px}.schedule-total td{overflow-wrap:anywhere}
.income-sources-dialog{width:min(720px,calc(100% - 32px));max-height:85vh;padding:0;border:0;border-radius:5px;color:var(--ink);box-shadow:0 12px 35px #0005}.income-sources-dialog::backdrop{background:#0006}.income-source-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.income-source-options [hidden]{display:none}.income-sources-dialog .dialog-body{overflow:auto}.income-sources-dialog .setup-actions button:first-child{background:#8a909a}#income-source-error{color:#a52838;background:#fff1f1;padding:12px;border-radius:3px}.schedule-toolbar>button{background:var(--purple)}#schedule-form[aria-busy="true"]{opacity:.7;cursor:wait}@media(max-width:650px){.income-source-options{grid-template-columns:1fr}}
.employer-heading{display:flex;justify-content:space-between;align-items:center;margin:16px 0;padding:10px 12px;border:1px solid #ddd;border-left:3px solid var(--green);border-radius:10px;box-shadow:0 2px 5px #0001;color:var(--green)}.employer-heading button{background:#4b9e91}.employer-record{display:flex;justify-content:space-between;gap:14px;background:#f8f8f8;padding:10px;margin:8px 0}.employer-record button{background:var(--purple)}.employer-dialog{max-width:450px}.employer-dialog .dialog-heading{background:var(--purple)}.employer-dialog label{margin-top:20px}.employer-dialog input{min-height:44px}.deduction-group{margin:12px 0 20px}.deduction-group summary{cursor:pointer;list-style-position:inside;color:var(--green);font-weight:700;padding:14px;border:1px solid #ddd;border-left:3px solid var(--green);border-radius:10px}.deduction-table th:first-child{width:42%}.schedule-toolbar{flex-wrap:wrap}.schedule-toolbar .calculate-button{background:var(--green)}#report-values dl{grid-template-columns:1fr 1fr}#report-message{padding:12px;background:#fff4d9;border-left:3px solid #d9ac43}
/* IRIS-style expandable section navigation, using native keyboard-accessible details. */
.return-editor>.schedule-nav{display:block;background:transparent;box-shadow:none;border-radius:0;overflow:visible;width:263px;flex:0 0 263px}.return-nav-group{margin:0;background:white;box-shadow:0 2px 3px #0002;border-bottom:1px solid #eee}.return-nav-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:11px 12px;min-height:40px;color:#252525;font-size:14px;font-weight:600;background:white}.return-nav-group>summary::-webkit-details-marker{display:none}.return-nav-group[open]{margin:14px 0;border-radius:3px;overflow:hidden}.return-nav-group:first-child[open]{margin-top:0}.return-nav-group[open]>summary{background:var(--charcoal);color:white}.nav-chevron{font-size:21px;line-height:1;transition:transform .15s}.return-nav-group[open] .nav-chevron{transform:rotate(90deg)}.return-nav-children>a,.return-nav-children>button,.return-nav-children>.nav-unavailable{display:flex;align-items:flex-start;gap:6px;min-height:38px;padding:9px 12px;border:0;border-bottom:1px solid #d6d6d6;color:#161616;font:400 14px/1.45 Arial,Helvetica,sans-serif;background:white;text-align:left;width:100%;text-transform:none;border-radius:0;box-shadow:none;text-decoration:none;overflow-wrap:anywhere}.return-nav-children>a:hover,.return-nav-children>button:hover{background:#f0edf9}.return-nav-children>a[aria-current="page"]{background:var(--purple);color:white}.return-nav-children>.nav-unavailable{color:#717782;cursor:default}.nav-unavailable small{display:block;font-size:10px;color:#858b94;margin-top:2px}.return-nav-group>summary:focus-visible{outline:2px solid var(--purple);outline-offset:-3px}.schedule-toolbar{gap:8px}.schedule-toolbar input{flex:1 1 240px}.schedule-toolbar button{min-height:32px}.schedule-panel{width:0}.schedule-table-wrap{max-width:100%;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}@media(max-width:1000px){.return-editor>.schedule-nav{width:225px;flex-basis:225px}.schedule-toolbar input{max-width:none;flex-basis:100%}}@media(max-width:760px){.return-editor{display:block}.return-editor>.schedule-nav{width:100%;margin-bottom:16px}.return-nav-group>summary{min-height:44px}.return-nav-children>a,.return-nav-children>button,.return-nav-children>.nav-unavailable{min-height:44px;padding:11px 14px}.schedule-panel{width:100%}.schedule-toolbar{display:grid;grid-template-columns:1fr 1fr}.schedule-toolbar input{grid-column:1/-1;min-width:0;width:100%}.schedule-toolbar button{padding:10px 8px;min-height:42px}.schedule-toolbar [data-employment-report="summary"]{grid-column:1/-1;grid-row:3}.editor-heading{min-width:0;flex-wrap:wrap;gap:10px}.editor-header-content>div:first-child{overflow-wrap:anywhere}.employer-heading{flex-wrap:wrap;gap:12px}.employer-record{flex-wrap:wrap}.setup-actions{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.nav-chevron{transition:none}}
.attribute-button{white-space:nowrap;padding:5px 8px;background:white;color:var(--purple);border:1px solid var(--purple);font-size:10px;text-transform:none;box-shadow:none}.deduction-table th.attribute-column{width:95px}.average-rate-info td:first-child{padding:0 10px 8px;border:0}.average-rate-info td>div{background:#e5edf9;border:1px solid #c3d3f2;border-radius:3px;padding:12px 14px;color:var(--ink);font-size:12px;line-height:1.5}.average-rate-info small{display:block;color:#626b7a;margin-top:4px}.average-rate-info span{color:var(--purple);font-size:18px;margin-right:8px}.average-attribute-dialog .dialog-heading{background:var(--purple);padding:16px 20px}.average-attribute-dialog .dialog-body{padding:26px 24px}.average-attribute-dialog input:not([type="hidden"]){height:40px}.average-attribute-dialog .setup-actions button{background:var(--purple);min-width:100px}#average-attribute-error{color:#a52838}.deduction-group>summary{list-style:none;display:flex;justify-content:space-between;align-items:center}.deduction-group>summary::-webkit-details-marker{display:none}.deduction-group>summary:after{content:'⌄';color:var(--purple);font-size:20px}.deduction-group[open]>summary:after{content:'⌃'}

.return-nav-group.is-active>summary{background:var(--charcoal);color:white;border-left:3px solid var(--purple);padding-left:9px}.active-section-label{display:block;font-size:11px;line-height:1.4;color:#ddd5ff;font-weight:400;margin-top:3px}.return-nav-group[open] .active-section-label{display:none}

.schedule-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.schedule-search-field{display:flex;align-items:center;gap:10px;flex:0 1 425px;min-width:220px;min-height:42px;padding:0 13px;border:1px solid #dce0e8;border-radius:6px;background:#f7f8fb;color:#7b739f;transition:border-color .18s,box-shadow .18s,background .18s}.schedule-search-field:focus-within{background:white;border-color:var(--purple);box-shadow:0 0 0 3px #7c70bb18}.schedule-search-field svg{flex-shrink:0}.schedule-toolbar .schedule-search-field input{flex:1;min-width:0;width:100%;max-width:none;background:transparent;border:0;outline:none;padding:11px 0;letter-spacing:0;font-size:13px;min-height:40px}.schedule-search-field input::placeholder{color:#7a8190}.schedule-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto;flex-wrap:wrap}.schedule-toolbar-actions button{background:var(--purple);min-height:34px;padding:8px 13px;white-space:normal}.schedule-toolbar-actions .calculate-button{background:var(--green)}@media(max-width:1100px){.schedule-toolbar .schedule-search-field{flex:1 1 100%;min-width:0}.schedule-toolbar-actions{width:100%}}@media(max-width:760px){.schedule-toolbar{display:flex;gap:12px}.schedule-toolbar-actions{display:flex;justify-content:flex-end;gap:8px}.schedule-toolbar-actions button{min-height:42px;flex:1 1 auto}.schedule-toolbar-actions [data-employment-report="summary"]{order:0}.schedule-toolbar .schedule-search-field input{min-height:44px}}@media(prefers-reduced-motion:reduce){.schedule-search-field{transition:none}}

/* Keep code boxes and monetary controls equal in height, even beside multiline labels. */
.income-schedule-table{border-spacing:0 12px}.income-schedule-table .schedule-data-row td{padding:0;vertical-align:top;background:transparent;border:0}.income-schedule-table .schedule-data-row td:first-child{padding:6px 22px 6px 30px;line-height:17px}.income-schedule-table .schedule-data-row td:nth-child(2){padding:0;border:0;background:transparent}.schedule-code-value{display:block;height:30px;line-height:28px;padding:0 10px;background:#fafafa;border:1px solid #e5e5e5;border-radius:3px 0 0 3px;font-size:13px}.income-schedule-table .schedule-data-row input{display:block;height:30px;min-height:30px;padding:4px 7px;margin:0;border:1px solid #e5e5e5;border-left:0;line-height:20px;box-shadow:none}.income-schedule-table .schedule-data-row td:last-child input{border-radius:0 3px 3px 0;background:#eee}.income-schedule-table .schedule-total td{height:42px;padding:9px 7px}.income-schedule-table .schedule-total td:first-child{padding-left:12px}.income-schedule-table thead th{line-height:18px;vertical-align:middle}.income-schedule-table .schedule-data-row input:focus-visible{position:relative;z-index:1;outline:2px solid var(--purple);outline-offset:-2px}@media(max-width:760px){.income-schedule-table .schedule-data-row input,.schedule-code-value{height:36px;min-height:36px}.schedule-code-value{line-height:34px}.income-schedule-table .schedule-data-row input{padding-top:7px;padding-bottom:7px}}

/* Deduction tables: consistent controls, with space reserved for rate attributes. */
.deduction-table{border-spacing:0 10px}.deduction-table th:nth-child(2){width:105px}.deduction-table-average{min-width:940px}.deduction-table-average th:first-child{width:40%}.deduction-table th.attribute-column{width:90px}.deduction-table .schedule-data-row td{padding:0;vertical-align:top;border:0;background:transparent}.deduction-table .schedule-data-row td:first-child{padding:6px 20px 6px 28px;line-height:17px}.deduction-table .schedule-data-row td:nth-child(2){background:transparent;border:0;padding:0}.deduction-table .schedule-data-row input{display:block;height:30px;min-height:30px;padding:4px 7px;margin:0;border:1px solid #e5e5e5;border-left:0;line-height:20px;box-shadow:none}.deduction-table .schedule-data-row input[readonly]{background:#eee}.deduction-table .schedule-data-row td:last-child input{border-radius:0 3px 3px 0}.deduction-table-average .schedule-data-row td:last-child{padding:0 0 0 6px}.deduction-table .attribute-button{height:30px;padding:4px 8px;border-radius:3px}.deduction-table .schedule-total td{height:42px;padding:9px 8px;vertical-align:middle}.deduction-table .schedule-total td:first-child{padding-left:12px}.deduction-table .schedule-total td:nth-child(2){border:0;background:#f8f8f8}.deduction-table .average-rate-info td{padding:0 8px 8px}.deduction-table thead th{line-height:18px;vertical-align:middle}.deduction-table .schedule-data-row input:focus-visible{position:relative;z-index:1;outline:2px solid var(--purple);outline-offset:-2px}@media(max-width:760px){.deduction-table .schedule-data-row input,.deduction-table .attribute-button{height:36px;min-height:36px}.deduction-table .schedule-data-row input{padding-top:7px;padding-bottom:7px}.deduction-group>summary{min-height:48px}}

.calculation-result{border:1px solid #ddd;border-left:3px solid var(--purple);padding:14px;margin-top:20px;background:#fafafd;border-radius:5px}.calculation-result h2{margin:0 0 12px}.calculation-result dl{grid-template-columns:minmax(150px,1fr) minmax(110px,1fr)}.calculation-result dd{text-align:right;font-variant-numeric:tabular-nums}.calculation-result small{display:block;color:#697180;margin-top:10px}
.property-table{min-width:850px;table-layout:fixed}.property-table th:first-child{width:42%}.property-table th:nth-child(2){width:8%}.property-table th:nth-child(3),.property-table th:nth-child(4),.property-table th:nth-child(5){width:14%}.property-table th.property-actions-column{width:8%}.property-table td:nth-child(n+3):nth-child(-n+5){text-align:right}.property-table .property-detail-row td:first-child{padding-left:30px;font-style:italic;font-size:12px}.property-table .schedule-total td{height:42px}.property-table .schedule-data-row input{height:30px}.property-table .attribute-button{white-space:nowrap}.property-info{background:#e5ecf8;border:1px solid #c3d3fa;border-radius:3px;padding:12px 14px;color:#293548;font-weight:400;text-align:left}.property-dialog{width:min(850px,calc(100vw - 24px));max-height:85vh}.property-dialog .dialog-body{max-height:70vh;overflow:auto}.property-options{display:grid;gap:12px;margin:20px 0}.property-options .source-option{border:1px solid #49a99b;padding:20px;background:#f4faf9}.property-options small{display:block;color:#64748b}.property-dialog textarea,.property-dialog select{width:100%;border:1px solid #ddd;padding:10px;border-radius:3px;font:inherit;margin-bottom:15px}.property-remove{color:#e55757!important;border-color:#e55757!important}.property-dialog [hidden]{display:none!important}@media(max-width:600px){.property-options .source-option{padding:12px}.property-dialog .dialog-body{padding:16px}.property-dialog .setup-actions{flex-wrap:wrap}}
.property-table .schedule-data-row:not(.property-detail-row) td:nth-child(n+3):nth-child(-n+5):not(:has(input)){background:#eee;font-weight:500}.property-table .schedule-data-row td{vertical-align:middle}.property-table .property-detail-row td:nth-child(n+3):nth-child(-n+5){background:#fafafa}
.property-table{border-spacing:0 10px}.property-table .schedule-data-row td,.property-table .schedule-total td{padding:0;vertical-align:middle;background:transparent}.property-table .schedule-data-row td:first-child{padding:7px 20px 7px 30px;line-height:17px}.property-table .property-detail-row td:first-child{padding-left:50px}.property-table .schedule-data-row td:nth-child(2),.property-table .schedule-total td:nth-child(2){padding:0;border:0;background:transparent}.property-table .schedule-code-value{height:30px;min-height:30px;line-height:28px}.property-value{display:block;min-height:30px;line-height:28px;padding:0 10px;border:1px solid #e5e5e5;border-left:0;background:#eee;text-align:right;font-weight:inherit}.property-rent-value{background:white}.property-table .schedule-data-row input{display:block;height:30px;min-height:30px;margin:0;padding:4px 7px;line-height:20px;border:1px solid #e5e5e5;border-left:0;box-shadow:none}.property-table .schedule-data-row input[readonly]{background:#eee}.property-table .schedule-total td{background:#f8f8f8;height:42px}.property-table .schedule-total td:first-child{padding:10px 12px}.property-table td:last-child{padding-left:5px!important}.property-table .property-detail-row .attribute-button{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;min-height:22px;padding:0;margin-right:4px}.property-edit-button{color:#e9a500!important;border-color:#e9a500!important}.property-info{margin:8px 10px 4px}.property-table thead th{padding:14px 10px}.property-table .property-detail-row td:nth-child(n+3):nth-child(-n+5),.property-table .schedule-data-row:not(.property-detail-row) td:nth-child(n+3):nth-child(-n+5):not(:has(input)){background:transparent}
.property-table .property-info-row td{padding:8px 0 4px;background:white;border:0}.property-table .property-info-row .property-info{margin:0 10px}
.trading-table{border-spacing:0 10px}.trading-table .trading-emphasized td{background:#f8f8f8!important;font-weight:700}.trading-table .trading-emphasized td:first-child{border-left:3px solid var(--purple);padding:10px 12px}.trading-table .trading-emphasized td:nth-child(2){border:0;padding:0}.trading-table .trading-emphasized .schedule-code-value{font-weight:700}.trading-table .schedule-data-row td{vertical-align:middle}.trading-table .schedule-data-row input{font-weight:inherit}.trading-table .schedule-data-row input[readonly]{background:#eee}.trading-table .schedule-data-row:not(.trading-emphasized):hover td,.trading-table .schedule-data-row:not(.trading-emphasized):focus-within td{background:#e4ebf8!important}.trading-table .schedule-data-row:not(.trading-emphasized) td:first-child{padding-top:9px;padding-bottom:9px}.trading-table .trading-derived input{border-color:#eee}
.trading-table .trading-emphasized td:first-child{font-size:12px}.trading-table .schedule-data-row:not(.trading-emphasized) td:first-child{padding-top:6px;padding-bottom:6px}.trading-table .schedule-data-row input[readonly]{color:#555}.trading-table .trading-emphasized td:first-child{padding-top:9px;padding-bottom:9px}
@media(max-width:760px){.workspace:has(.trading-table) .editor-header-content{flex:1 1 100%;min-width:0}.workspace:has(.trading-table) .editor-heading>div:first-child{min-width:0;overflow-wrap:anywhere}.workspace:has(.trading-table) .workspace-header{flex-wrap:wrap}.workspace:has(.trading-table) .brand{border-right:0}.workspace:has(.trading-table) .editor-actions{flex-wrap:wrap}}
.deduction-selection-dialog{width:min(800px,calc(100% - 24px))}.deduction-selection-dialog .dialog-heading{background:var(--purple);padding:12px 15px}.deduction-selection-dialog .dialog-body{padding:12px;max-height:70vh;overflow:auto}.deduction-selection-dialog .schedule-search-field{width:100%;margin-bottom:12px}.deduction-selection-options{display:grid;gap:7px;max-height:45vh;overflow:auto;margin-bottom:12px}.deduction-selection-options .source-option{min-height:43px;border:1px solid #ddd;border-radius:3px;padding:9px 12px;font-size:14px;font-weight:400;color:#666;display:flex;align-items:center;gap:18px;margin:0}.deduction-selection-options .source-option input{width:18px;min-height:18px;flex:0 0 18px;margin:0}.deduction-selection-options [hidden],.trading-table tr[hidden]{display:none!important}.deduction-actions{width:108px!important}.trading-table .deduction-actions{padding:0 6px!important;vertical-align:middle!important}.deduction-actions button{white-space:nowrap;padding:5px 8px}.deduction-selection-dialog button:disabled{opacity:.5;cursor:default}
.deduction-selection-dialog .schedule-search-field input{min-width:0;background:transparent;border:0;outline:none;font-size:13px}.deduction-selection-dialog .source-option{font-size:16px;letter-spacing:.2px}.deduction-selection-dialog .setup-actions button{min-width:100px;min-height:32px}.deduction-selection-dialog .setup-actions button:last-child{background:var(--purple)}
.allowance-table{min-width:850px}.allowance-table th:first-child{width:42%}.allowance-table th:nth-child(2){width:8%}.allowance-table th:nth-child(n+3):nth-child(-n+5){width:14%}.allowance-table .schedule-data-row td:last-child input{background:transparent}.allowance-table .schedule-data-row input[readonly]{background:#eee;color:#555}@media(max-width:760px){.workspace:has(.allowance-table) .editor-header-content{flex:1 1 100%;min-width:0}.workspace:has(.allowance-table) .workspace-header{flex-wrap:wrap}}

.schedule-panel:has(.allowance-table) .deduction-group>summary{min-height:48px;padding:9px 14px}.allowance-table{margin-top:-10px}

.withholding-table{min-width:850px;margin-top:-10px}.withholding-table th:first-child{width:42%}.withholding-table th:nth-child(2){width:9%}.withholding-table .deduction-actions{width:90px;white-space:nowrap}.withholding-table .schedule-data-row input[readonly]{background:#eee;color:#555}.withholding-table .withholding-detail td{background:#f8f8f8}.withholding-table .withholding-detail td:first-child{padding-left:35px}.withholding-table .withholding-detail td:first-child input{font-size:12px;background:transparent}.withholding-minimum{min-width:1100px}.withholding-minimum th:first-child{width:40%}.withholding-minimum th{overflow-wrap:normal}.linked-withholding{color:#e99b37;font-size:17px}.schedule-panel:has(.withholding-table) .deduction-group>summary{min-height:48px;padding:9px 14px}

.withholding-table .withholding-detail td:first-child{text-align:left;font-size:12px}.withholding-table .withholding-detail td:first-child input{text-align:left}.withholding-edit{color:#e6a200;border-color:#e6a200}.withholding-table .withholding-detail td:last-child{white-space:nowrap}

.computation-table{min-width:950px;table-layout:fixed}.computation-table th:first-child{width:42%}.computation-table th:nth-child(2){width:9%}.computation-table th:nth-child(n+3):nth-child(-n+6){width:11.5%}.computation-table .deduction-actions{width:95px;white-space:nowrap}.computation-table .computation-highlight td{background:#e5edf9!important}.computation-table .schedule-data-row input[readonly]{background:#eee;color:#555}.computation-table .schedule-data-row td:first-child{padding:10px 12px;line-height:18px}.computation-table .schedule-data-row:not(.trading-emphasized) td:first-child{padding-left:30px}.computation-table .computation-highlight td:first-child{border-left:3px solid var(--purple)}
.wealth-table{min-width:800px;table-layout:fixed}.wealth-table th:first-child{width:50%}.wealth-table th:nth-child(2){width:9%}.wealth-table th:nth-child(3){width:32%}.wealth-table .wealth-actions{width:9%;white-space:nowrap}.wealth-table .wealth-actions button{padding:2px 5px;margin-right:4px}.wealth-table .wealth-detail-row td:first-child{font-style:italic;padding-left:30px}.wealth-information{background:#f5f0fb;border:1px solid #d6c6f4;border-radius:3px;padding:12px;color:#263247}.wealth-table td{padding-top:5px;padding-bottom:5px}.wealth-detail-dialog{width:600px}.wealth-detail-dialog label{display:block;margin-bottom:20px}.wealth-detail-dialog [hidden]{display:none!important}.wealth-detail-dialog input,.wealth-detail-dialog textarea,.wealth-detail-dialog select{width:100%;box-sizing:border-box}.wealth-lookup{display:flex;gap:8px}.wealth-lookup input{flex:1;min-width:0}.wealth-detail-dialog small{font-size:11px;color:#667085}.wealth-table [data-wealth-remove]{color:#ed3f3f;border-color:#ed3f3f}.wealth-table [data-wealth-edit]{color:#e7a100;border-color:#e7a100}
.wealth-table .schedule-data-row td:nth-child(2){padding:0}.wealth-table .schedule-data-row input{height:30px;min-height:30px}.wealth-table .schedule-code-value{height:30px;min-height:30px;line-height:28px}.wealth-table .schedule-data-row td:first-child{padding-top:8px;padding-bottom:8px}.wealth-table .wealth-actions [data-wealth-remove-group]{color:#ed3f3f;border-color:#ed3f3f}
.wealth-property-dialog{width:850px;max-width:calc(100vw - 32px);border-radius:3px}.wealth-property-dialog .dialog-heading{padding:10px 15px;min-height:40px;box-sizing:border-box}.wealth-property-dialog .dialog-body{padding:24px 18px 28px}.property-information-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 14px}.property-information-grid input,.property-information-grid select{width:100%;height:40px;margin:0;padding:0 15px;border:1px solid #aaa;border-radius:4px;background-color:#fff;box-sizing:border-box;font-size:12px;color:#555;min-width:0}.property-information-grid input:disabled{background:#e9ecef}.property-information-grid input[readonly]{background:#eee;font-weight:700}.property-information-grid :focus{outline:2px solid #b525dc;outline-offset:1px;border-color:#b525dc}.wealth-property-dialog .setup-actions{margin-top:36px}.wealth-property-dialog .setup-actions button{min-width:100px;font-size:10px;height:27px;padding:4px 16px}.property-location-combobox{padding-right:28px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='%23888'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}@media(max-width:640px){.property-information-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.wealth-property-dialog .dialog-body{padding:20px 16px}.wealth-property-dialog .setup-actions{margin-top:24px}}@media(max-width:400px){.property-information-grid{grid-template-columns:1fr}}
.property-date-field{position:relative;display:block;margin:0}.property-date-field span{position:absolute;left:15px;top:12px;font-size:12px;color:#666;pointer-events:none}.property-date-field:not(.has-value):not(:focus-within) input{color:transparent}.property-date-field.has-value span,.property-date-field:focus-within span{display:none}
.wealth-property-dialog{margin:min(13vh,100px) auto;max-height:calc(100vh - 32px);overflow:auto}.wealth-property-dialog .dialog-heading{background:var(--purple);color:#fff;height:40px;min-height:40px}.wealth-property-dialog .dialog-heading strong{font-size:14px;line-height:20px}.wealth-property-dialog .dialog-heading button{height:20px;width:24px;min-height:0;padding:0;background:transparent;border:0;box-shadow:none;color:white;line-height:20px;font-size:20px}.wealth-property-dialog .setup-actions{border:0;padding-top:0}.wealth-property-dialog .setup-actions button{background:var(--purple);color:#fff}.wealth-property-dialog .setup-actions button:disabled{opacity:.65}@media(max-width:640px){.wealth-property-dialog{margin:16px auto}}
.reconciliation-dialog .dialog-heading{background:#7d72b9;color:#fff;min-height:40px}.reconciliation-dialog .dialog-heading button{color:#fff}.reconciliation-dialog .income-source-options{max-height:430px;overflow:auto}.reconciliation-dialog:has(#reconciliation-options:not([hidden])){width:768px;max-width:95vw}.reconciliation-dialog [hidden]{display:none!important}
#reconciliation-editor .schedule-value{display:block;height:30px;line-height:28px;padding:0 10px;background:#eee;text-align:right;border:1px solid #e5e5e5;border-left:0}#reconciliation-editor .schedule-data-row input{text-align:right}#reconciliation-editor td:last-child button{padding:2px 5px;margin:0 4px;min-height:22px;font-size:11px}#reconciliation-editor [data-reconciliation-delete]{color:#ed3f3f;border-color:transparent}#reconciliation-editor [data-reconciliation-edit]{color:#e7a100;border-color:#e7a100}
#reconciliation-editor [data-reconciliation-open]{color:#7d72b9;background:white;border:1px solid #7d72b9;box-shadow:none;border-radius:3px}#reconciliation-editor [data-reconciliation-edit],#reconciliation-editor [data-reconciliation-delete]{background:white;box-shadow:none;border-radius:3px}.reconciliation-dialog textarea:focus{outline:2px solid #b41de0;outline-offset:-1px}
/* Personal expenses selection matches the wealth statement picker. */
.reconciliation-dialog.expense-selection-dialog{width:768px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);border-radius:5px}
.expense-selection-dialog .dialog-heading{height:40px;min-height:40px;box-sizing:border-box;padding:10px 15px;background:#7d72b9}
.expense-selection-dialog .dialog-heading strong{font-size:14px;line-height:20px}
.expense-selection-dialog .dialog-heading button{height:20px;min-height:0;width:22px;padding:0;font-size:20px;line-height:20px}
.expense-selection-dialog .dialog-body{padding:10px 10px 0;overflow:visible}
.expense-selection-dialog .reconciliation-option-search{display:flex;align-items:center;position:relative;margin:0 0 11px;background:#fafafa;border-bottom:1px solid #222;box-shadow:0 2px 3px #0001;border-radius:3px;height:39px;box-sizing:border-box}
.expense-selection-dialog .reconciliation-option-search input{height:38px;min-height:38px;margin:0;padding:0 44px 0 14px;background:transparent;border:0;border-radius:0;box-shadow:none;font-size:13px;font-weight:400;color:#666;outline-offset:-2px}
.expense-selection-dialog .reconciliation-option-search svg{position:absolute;right:22px;top:9px;width:21px;height:21px;stroke:#777;stroke-width:2;fill:none;pointer-events:none}
.expense-selection-dialog #reconciliation-options{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin:0;max-height:min(435px,calc(100dvh - 180px));overflow:auto;padding:0 4px 0 0}
.expense-selection-dialog #reconciliation-options .source-option{display:flex;align-items:center;gap:25px;min-height:42px;box-sizing:border-box;padding:9px 11px;border:1px solid #ddd;border-radius:3px;font-size:16px;font-weight:400;letter-spacing:.2px;line-height:22px;color:#777;background:#fff;margin:0}
.expense-selection-dialog #reconciliation-options .source-option:has(input:checked){background:#f4faf8;border-color:#55b5a5}
.expense-selection-dialog #reconciliation-options input{appearance:none;width:18px;min-width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0;border:1px solid #ddd;border-radius:3px;background:#fff;opacity:1;position:relative}
.expense-selection-dialog #reconciliation-options input:checked{background:#55b5a5;border-color:#55b5a5}
.expense-selection-dialog #reconciliation-options input:checked:after{content:'';position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}
.expense-selection-dialog .setup-actions{margin:5px -10px 0;padding:10px 20px 12px;border-top:1px solid #ddd;gap:10px;flex-wrap:nowrap}
.expense-selection-dialog .setup-actions button{min-width:100px;height:30px;min-height:30px;padding:4px 16px;font-size:10px;border-radius:3px;background:#7d72b9;box-shadow:0 3px 5px #0002}
.expense-selection-dialog .setup-actions button:first-child{background:#8b8992}
.expense-selection-dialog .setup-actions button:disabled{opacity:.65}
@media(max-width:500px){.expense-selection-dialog #reconciliation-options .source-option{font-size:14px;gap:15px}.expense-selection-dialog .setup-actions{padding-right:14px}}
.business-tax-selection{width:768px;max-width:calc(100vw - 24px)}.business-tax-selection .dialog-heading{height:40px;box-sizing:border-box;background:#7d72b9;padding:10px 15px}.business-tax-selection .dialog-heading strong{font-size:14px}.business-tax-selection .dialog-heading button{padding:0;min-height:20px;line-height:20px}.business-tax-selection .dialog-body{padding:10px}.business-tax-selection .schedule-search-field{height:39px;background:#fafafa;border-bottom:1px solid #222;border-radius:3px;margin-bottom:11px}.business-tax-selection .deduction-selection-options{max-height:min(435px,calc(100dvh - 190px));gap:7px;margin:0}.business-tax-selection .source-option{min-height:42px;padding:9px 11px;font-size:16px;line-height:22px;gap:25px;border-radius:3px}.business-tax-selection .source-option:has(input:checked){background:#f4faf8;border-color:#55b5a5}.business-tax-selection .setup-actions{padding:10px 10px 0;margin-top:5px;gap:10px}.business-tax-selection .setup-actions button{height:30px;min-height:30px;padding:4px 16px;min-width:100px;font-size:10px;border-radius:3px}.business-tax-selection .setup-actions button:first-child{background:#8b8992}.business-tax-selection .setup-actions button:last-child{background:#7d72b9}

/* Business balance sheet */
.schedule-panel:has(#balance-editor){padding-bottom:24px}
#balance-editor{--balance-border:#e5e7ed;--balance-muted:#f6f7f9;color:#29364a}
.balance-business{display:flex;align-items:center;gap:20px;margin:0 0 16px;padding:12px 14px;background:#f8f9fc;border:1px solid #e8e9f0;border-radius:6px}
.balance-business label{display:flex;align-items:center;gap:12px;margin:0;color:#667085;font-size:12px;font-weight:600}
.balance-business select,.balance-business input{width:auto;min-width:220px;max-width:100%;height:34px;padding:5px 12px;margin:0;border:1px solid #d9dce5;border-radius:4px;background:white;color:#29364a;font-size:13px}
.balance-header,.balance-row{display:grid;grid-template-columns:minmax(240px,1fr) 105px minmax(180px,33%) 100px;align-items:center;gap:0;box-sizing:border-box;color:#29364a;font-size:13px}
.balance-header{min-height:44px;padding:8px 14px;margin:0 0 20px;background:#2e3b4c;color:#fff;border-radius:3px;font-size:12px}
.balance-header strong:nth-child(3){text-align:center}
.balance-row{min-height:42px;padding:5px 14px;margin:0 0 4px;border-left:3px solid transparent;border-radius:3px;transition:background .15s}
.balance-row:not(.balance-summary):hover{background:#fafbfe}
.balance-row>span:first-child{padding:0 24px 0 12px;line-height:19px;overflow-wrap:anywhere}
.balance-summary{min-height:44px;margin:12px 0 9px;background:#f5f6f8;border-left-color:#8073be;font-weight:700}
.balance-summary>span:first-child{padding-left:0;font-size:12px}
.balance-detail-row>span:first-child{padding-left:28px;color:#687386;font-size:12px}
.balance-code,.balance-amount,.balance-row>input{height:30px;min-height:30px;box-sizing:border-box;padding:5px 10px;border:1px solid var(--balance-border);font:inherit;line-height:18px}
.balance-code{background:#fafafa;border-radius:3px 0 0 3px;color:#455168;font-variant-numeric:tabular-nums}
.balance-amount,.balance-row>input{width:100%;margin:0;text-align:right;border-left:0;border-radius:0 3px 3px 0;font-variant-numeric:tabular-nums}
.balance-amount{background:#eee;color:#555}
.balance-row>input{background:#fff;color:#344054;transition:border-color .15s,box-shadow .15s}
.balance-row>input:focus{outline:none;border-color:#8275bd;box-shadow:0 0 0 2px #8275bd22;position:relative}
.balance-row>input:disabled{background:#f4f5f7;color:#667085}
.balance-summary .balance-amount{background:#eaecef;color:#344054}
.balance-row-actions{display:flex;align-items:center;gap:5px;padding-left:6px}
.balance-row-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:23px;height:23px;min-width:23px;margin:0;padding:2px 6px;background:#fff;border:1px solid #8275bd;color:#7567b3;border-radius:3px;box-shadow:none;font-size:11px;font-weight:600;line-height:16px;white-space:nowrap;text-transform:none;transition:background .15s,transform .15s}
.balance-row-actions button:hover{background:#f1eefb;transform:translateY(-1px)}
.balance-row-actions button[data-balance-action=remove]{color:#df4141;border-color:#f0b8b8}
.balance-row-actions button[data-balance-action=remove]:hover{background:#fff0f0}
.balance-row-actions button[data-balance-action=edit]{color:#b78508;border-color:#e5bb52}
.balance-row-actions button[data-balance-action=edit]:hover{background:#fff9e9}
.balance-row-actions button[data-balance-action=transfer]{color:#58677c;border-color:#b3bdca}
.balance-notice{margin:0 10px 14px;padding:12px 14px;border:1px solid #d6c4f5;background:#f6f1fc;color:#50516b;border-radius:4px;font-size:12px;line-height:20px}
.balance-detail-dialog{width:600px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:7px;box-shadow:0 20px 60px #18213840;overflow:auto}
.balance-detail-dialog::backdrop,#balance-select-property::backdrop,#balance-property-dialog::backdrop{background:#1c253b60}
.balance-detail-dialog .dialog-heading,#balance-select-property .dialog-heading,#balance-property-dialog .dialog-heading{display:flex;align-items:center;justify-content:space-between;height:40px;min-height:40px;padding:9px 15px;box-sizing:border-box;background:#8073ba;color:white}
.balance-detail-dialog .dialog-heading strong,#balance-select-property .dialog-heading strong{font-size:14px;line-height:20px}
.balance-detail-dialog .dialog-heading button,#balance-select-property .dialog-heading button,#balance-property-dialog .dialog-heading button{height:24px;width:24px;min-height:0;margin:0;padding:0;border:0;background:transparent;color:#fff;box-shadow:none;font-size:21px;line-height:20px}
.balance-detail-dialog .dialog-body{padding:28px 32px 0}
.balance-detail-dialog #balance-detail-fields>input{display:block;box-sizing:border-box;width:100%;height:40px;margin:0 0 28px;padding:10px 15px;border:1px solid #b8bdc7;border-radius:4px;background:white;color:#344054;font-size:13px}
.balance-detail-dialog input:focus,#balance-select-property input:focus{outline:2px solid #8275bd55;outline-offset:1px;border-color:#8275bd}
.balance-checkbox{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;padding:10px 13px;border:1px solid #dce1eb;border-radius:7px;margin:0 10px 22px 0;font-size:13px;color:#344054}
.balance-checkbox:has(input:checked){background:#f2faf7;border-color:#6bb7a7}
.balance-checkbox input[type=checkbox]{width:15px;height:15px;min-height:0;flex:0 0 15px;margin:0;padding:0;accent-color:#55b4a5}
.balance-manual-note{font-size:11px;line-height:18px;color:#7a8494;margin:0 0 14px}
.balance-detail-dialog .setup-actions{margin:8px -32px 0;padding:14px 22px;border-top:1px solid #ececf1;gap:10px}
.balance-detail-dialog .setup-actions button,#balance-select-property .setup-actions button{min-width:100px;height:30px;min-height:30px;padding:5px 15px;font-size:10px;text-transform:uppercase;border-radius:3px;background:#8073ba;box-shadow:0 2px 5px #0002}
.balance-detail-dialog .setup-actions button:first-child{background:#8c8c98}
#balance-select-property{border-radius:6px;box-shadow:0 20px 60px #18213840}
#balance-select-property .dialog-body{padding:20px}
#balance-select-property .dialog-body>p{margin:5px 6px 20px;font-size:14px;line-height:22px;color:#777}
#balance-property-options{max-height:320px;overflow:auto;margin-top:16px}
.balance-property-option{display:flex;align-items:center;gap:24px;min-height:70px;box-sizing:border-box;border:1px solid #ddd;border-radius:4px;padding:20px 24px;margin:0 10px 16px;font-size:14px;line-height:21px;color:#737373;font-weight:600}
.balance-property-option:has(input:checked){background:#f4faf8;border-color:#74b9ab}
.balance-property-option input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0;accent-color:#52b4a4}
#balance-property-search{width:100%;height:40px;box-sizing:border-box;padding:10px 14px;margin:0;border:0;border-bottom:1px solid #555;border-radius:3px;background:#f7f7f7;font-size:13px}
#balance-new-property{width:calc(100% - 20px);min-height:46px;margin:16px 10px 0;padding:12px;border:2px dashed #7869b6;color:#6657b4;background:white;border-radius:10px;box-shadow:0 2px 4px #0001;font-size:11px;text-transform:none}
#balance-new-property:hover{background:#f8f6ff}
#balance-select-property .setup-actions{border:0;margin-top:14px;padding:0 8px 4px}
#balance-select-property button:disabled{opacity:.55;cursor:not-allowed}
#balance-property-dialog{z-index:3;border-radius:6px;box-shadow:0 20px 60px #18213840}
.balance-row[hidden]{display:none}
@media(max-width:800px){#balance-editor{overflow-x:auto}.balance-header,.balance-row{min-width:700px}.balance-business{flex-wrap:wrap}.balance-business label{flex-wrap:wrap}.balance-business select,.balance-business input{min-width:180px}}
@media(max-width:480px){.balance-detail-dialog .dialog-body{padding:22px 18px 0}.balance-detail-dialog .setup-actions{margin-left:-18px;margin-right:-18px;padding:12px 18px}.balance-checkbox{display:flex;width:fit-content;margin-bottom:12px}.balance-property-option{padding:16px;gap:14px;font-size:13px}#balance-select-property .dialog-body{padding:16px}}
.pdf-document-details{margin:0 0 18px;border:1px solid #e1ddef;border-radius:5px;background:#fff;font-size:13px}.pdf-document-details>summary{cursor:pointer;padding:12px 16px;color:#6556a4;font-weight:600}.pdf-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:4px 16px}.pdf-document-grid label{font-size:12px;color:#586477}.pdf-document-grid input{width:100%;box-sizing:border-box;margin:6px 0;padding:8px;height:36px}.pdf-document-grid small{font-size:11px}.pdf-document-details>p{padding:0 16px 12px;color:#667085;font-size:12px}@media(max-width:650px){.pdf-document-grid{grid-template-columns:1fr}}
