/* Additive controls keep the approved emerald layout. */
.native-choice{position:absolute!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;border:0!important;white-space:nowrap!important}.choice-button{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;min-height:48px;height:auto;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.6;font-size:14px;padding:12px;color:var(--ink);background:#fdfefb;border:1px solid var(--line);border-radius:8px}.choice-button:after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex:0 0 7px;margin-right:3px;align-self:center}.choice-options{display:grid;gap:9px}.choice-option{display:block;width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:10px;padding:15px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;color:var(--ink);font-size:14px;margin-bottom:8px}.choice-option.active{background:var(--mint);border-color:#83a18c}.choice-option small{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:6px}#choiceDialog{z-index:100}#choiceDialog .dialog-head h2{font-size:17px;line-height:1.5}.segmented{grid-template-columns:repeat(3,minmax(0,1fr))}#priceModeBox{max-width:100%}.settlement-field{border-top:1px solid var(--line);padding-top:18px;margin-top:15px}.registry-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0}.registry-toolbar .hint{max-width:550px}.table-mode{display:block}.registry-table td,.registry-table th{font-size:11px;padding:12px;text-align:left;white-space:nowrap}.registry-table th{background:#f5f8f1}.registry-table .actions{margin:0;min-width:250px}.registry-table .btn{font-size:10px;min-height:34px;padding:7px 9px}.registry-table input[type=checkbox]{width:18px;height:18px;accent-color:#123f33}.compact-tables .registry-table td{padding-top:7px;padding-bottom:7px}.taxpayer-card{border:1px solid var(--line);border-radius:10px;padding:15px;margin:12px 0}.export-column{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:8px 0}.export-column .check{margin:0}.export-column>div{display:flex;gap:3px;flex:0 0 auto}.export-column .btn{min-height:35px;padding:6px 10px}.preference-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);font-size:13px;padding:10px 0}.preference-row button[aria-pressed=true]{background:var(--mint);border-color:#8eae91}.install-brand{display:flex;gap:15px;align-items:center;font-size:20px;font-family:Georgia,serif}.install-brand img{width:80px;height:80px;border-radius:18px}.print-properties{margin-bottom:18px}.header-actions>#installApp{font-size:11px;white-space:nowrap}#featureDialog p{font-size:13px;line-height:1.8}#pinAfterSaveBox{margin-top:15px}
body.dark{--paper:#10231b;--white:#182e23;--ink:#e0eee2;--green:#b0dcc0;--green2:#b9e3c5;--mint:#284b36;--muted:#a0b5a3;--line:#34533d;--red:#efb4a4;color-scheme:dark;background:var(--paper);color:var(--ink)}.dark .panel,.dark .result-card,.dark .stat,.dark .object-card,.dark .deal-card,.dark dialog,.dark .btn,.dark .icon-btn,.dark .choice-option,.dark .variant-tabs button{background:#182e23;color:var(--ink);border-color:var(--line)}.dark .field input,.dark .field select,.dark .field textarea,.dark .choice-button,.dark .nested,.dark .cost-item{background:#1b3527;color:var(--ink);border-color:var(--line)}.dark .field label,.dark .field small,.dark .hint,.dark .tag,.dark .mini-result,.dark .object-meta,.dark .card-detail span{color:var(--muted)}.dark .btn.primary,.dark .hero-result{background:#175038;color:#eff8ef}.dark .brand img{filter:brightness(0) invert(1)}.dark .segmented,.dark .tax-explanation,.dark .install-header,.dark .registry-table th{background:#203e2d}.dark .segmented button.active,.dark .variant-tabs button.active,.dark .choice-option.active{background:#34583e;color:#f0fff2}.dark .mobile-total{background:#175038;color:#eff8ef}.dark .mobile-total strong{color:#eff8ef}.dark .main-nav{background:#152e22f5}.dark .notice{background:#25452c;color:#d4edd8;border-color:#416149}.dark .notice.error{background:#4a3027;color:#f6d0c0;border-color:#765346}.dark .print-report{color:#10251a;background:#fff}.dark input::placeholder{color:#829989}.dark .net-result small,.dark .result-line small{color:#a1bea7}.dark .main-nav button.active{background:#2d5138}.dark .mini-result b,.dark .card-detail b{color:#e0eee2}
@media(max-width:700px){.choice-button{font-size:16px;line-height:1.65}.choice-option{font-size:16px}#screen-calc .details-body>.row,#objectForm>.row{grid-template-columns:1fr}#priceModeBox .choice-button{font-size:14px}.header-actions>#installApp{font-size:9px;padding:8px;min-height:38px}.header-actions .save-state{display:none}.preference-row{align-items:flex-start;flex-direction:column}.registry-toolbar .actions{width:100%}.registry-toolbar .btn{flex:1}.registry-toolbar{gap:5px}.export-column{font-size:12px}#featureDialog{max-height:88dvh}.print-properties .result-line{font-size:11px}}
@media print{.print-report{background:white!important;color:#10251a!important}.print-report .net-result strong{color:#123f33!important}.print-report .result-line{border-color:#ddd!important}.print-report .hint{color:#536a57!important}}
/* Fourth feedback package: compact choices and one consistent price editor. */
.choice-button{height:46px;min-height:46px;gap:9px;padding:10px 12px;white-space:nowrap;overflow-wrap:normal;word-break:normal;line-height:1.4;font-size:14px}.choice-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.choice-button:after{flex-shrink:0}.choice-option{overflow-wrap:normal;word-break:normal;hyphens:none;min-height:44px;line-height:1.5;margin:0;padding:12px 14px;font-size:14px}.choice-options{gap:5px;overflow:auto;overscroll-behavior:contain;min-height:0}.choice-option.active{box-shadow:inset 3px 0 0 var(--green)}#choiceDialog .dialog-head{margin-bottom:12px;gap:12px}#choiceDialog .dialog-head h2{font-size:14px}#choiceDialog .dialog-head .icon-btn{flex:0 0 36px;width:36px;height:36px;min-height:36px}#choiceDialog.choice-popover{position:fixed;margin:0;padding:14px;max-width:calc(100vw - 24px);border-radius:12px;box-shadow:0 18px 50px #102d2422}#choiceDialog::backdrop{background:#123b2b14;backdrop-filter:none}.amount-mode-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px}.amount-mode-caption{font-size:12px;font-weight:600;color:var(--ink)}.amount-mode-control{width:150px;max-width:48%;margin:0;flex:0 0 150px}.amount-mode-control .choice-button{font-size:13px!important;min-height:40px;height:40px;padding:8px 11px}.primary-fields>.field>label{min-height:29px;display:flex;align-items:flex-end;margin-bottom:8px}.primary-fields>.field>label.sr-only{position:absolute;min-height:0}.primary-fields .source-field input{font-variant-numeric:tabular-nums;font-size:23px!important}.primary-fields{grid-template-columns:minmax(85px,.7fr) minmax(0,1.5fr)}.field-label-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.field-label-actions>label{margin:0}.field-label-actions .text-btn{min-height:32px;padding:3px 0;font-size:11px;white-space:nowrap}.install-header{gap:12px}.install-header .switch{flex:0 0 43px;width:43px;height:25px;min-height:25px;margin:0}.install-header .switch input{width:43px!important;height:25px!important;min-height:25px!important;padding:0}.install-header>span{min-width:0}.table-zoom{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:4px 0 16px}.table-zoom>span{font-size:11px;color:var(--muted);margin-right:7px}.table-zoom .btn{min-height:36px;padding:7px 10px;font-size:11px}.table-zoom .btn[aria-pressed=true]{background:var(--mint);border-color:#8da48f}.registry-scroll{max-width:100%;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border:1px solid var(--line);border-radius:8px}.registry-table{--table-scale:1;font-variant-numeric:tabular-nums}.registry-table td,.registry-table th{font-size:max(9px,calc(11px * var(--table-scale)));padding:max(5px,calc(12px * var(--table-scale)))}.registry-table .actions{min-width:calc(250px * var(--table-scale));gap:calc(9px * var(--table-scale))}.registry-table .btn{font-size:max(9px,calc(10px * var(--table-scale)));min-height:max(28px,calc(34px * var(--table-scale)));padding:calc(7px * var(--table-scale)) calc(9px * var(--table-scale))}.registry-table input[type=checkbox]{width:max(14px,calc(18px * var(--table-scale)));height:max(14px,calc(18px * var(--table-scale)))}.compact-tables .registry-table td{padding-top:max(5px,calc(7px * var(--table-scale)));padding-bottom:max(5px,calc(7px * var(--table-scale)))}
body.black{--paper:#08090a;--white:#141516;--ink:#eeeeef;--green:#dedee0;--green2:#f4f4f5;--mint:#2a2b2d;--muted:#a9aaae;--line:#36373b;--red:#efb4a4;background:var(--paper);color:var(--ink)}.black .panel,.black .result-card,.black .stat,.black .object-card,.black .deal-card,.black dialog,.black .btn,.black .icon-btn,.black .choice-option,.black .variant-tabs button{background:#141516;color:var(--ink);border-color:var(--line)}.black .field input,.black .field select,.black .field textarea,.black .choice-button,.black .nested,.black .cost-item{background:#1b1c1e;color:var(--ink);border-color:var(--line)}.black .btn.primary{background:#e0e0e2;color:#101112;border-color:#e0e0e2}.black .hero-result,.black .mobile-total{background:#28292c;color:#fff}.black .hero-result small,.black .hero-result>span,.black .mobile-total small{color:#c3c3c7}.black .segmented,.black .tax-explanation,.black .install-header,.black .registry-table th{background:#202124}.black .segmented button.active,.black .variant-tabs button.active,.black .choice-option.active,.black .main-nav button.active{background:#34363a;color:#fff}.black .main-nav{background:#17181af5}.black .mini-result b,.black .card-detail b{color:#eeeeef}.black .notice{background:#252729;color:#e4e4e6;border-color:#44464b}.black .notice.error{background:#3e2727;color:#f2cccc;border-color:#765346}.black .switch input:checked+span{background:#666970}.black .choice-button:after{border-color:#ddd}.black .net-result strong,.black .net-result small,.black .result-line small{color:#ddd}
@media(max-width:700px){#choiceDialog.choice-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:62dvh;border-radius:18px 18px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column}#choiceDialog.choice-sheet:not([open]){display:none}#choiceDialog.choice-sheet:before{content:'';width:34px;height:4px;background:#aebbb1;border-radius:3px;margin:-7px auto 14px;flex-shrink:0}.choice-button{font-size:14px;line-height:1.4}.choice-option{font-size:15px}.amount-mode-row{margin-top:-2px;gap:10px}.amount-mode-caption{font-size:11px}.amount-mode-control{flex-basis:138px;width:138px}.primary-fields{grid-template-columns:minmax(83px,.7fr) minmax(0,1.5fr);gap:12px}.primary-fields>.field>label{min-height:28px}.primary-fields .source-field input{font-size:22px!important}.field-label-actions .text-btn{min-height:32px}.table-zoom .btn{min-height:40px}.install-header{padding:12px}.install-header b{font-size:12px}.install-header small{font-size:9px;line-height:1.5}.preference-row .actions{gap:6px}.preference-row .actions .btn{font-size:10px;padding:9px 11px}}

.save-state.unsaved{display:inline-block!important;color:var(--red);font-weight:650;cursor:pointer;white-space:nowrap;max-width:100%;font-size:11px}.save-state.unsaved:focus-visible{outline:2px solid var(--red);outline-offset:3px}
