/* HAcct identity and member-specific theme. Geometry remains in style.css. */
.breadcrumb>.product-name{color:#252a37}
:root{--accent:#d0121b;--accent-strong:#bd1019;--accent-soft:#fdf1f1;--accent-soft-strong:#f8dadd;--on-accent:#fff;--green:var(--accent);--ink:#222634;--muted:#717987;--line:#e7eaf0;--surface:#fff;--positive:#197750;--negative:#c03938;color:#222634;background:#f6f7fb}
body{color:var(--ink);background:#f6f7fb}.sidebar,.topbar{background:#fff;border-color:var(--line)}.sidebar{padding-top:28px}.brand.company-brand{background:transparent;border:0;padding:0;width:100%;text-align:left;gap:11px;line-height:1.4;color:var(--ink)}.company-brand img{width:48px;height:48px;flex:none;border-radius:12px;border:1px solid #f0f1f5}.company-brand>span{min-width:0;font-size:20px;letter-spacing:-.7px;overflow-wrap:anywhere}.company-brand small{color:#737b89;font-size:11px;line-height:1.6;letter-spacing:0;margin-top:4px;font-weight:400;max-width:130px}.company-caption{font-size:10px;color:#959caa;margin-top:13px;margin-bottom:32px;display:flex;align-items:center;gap:5px}.company-caption .icon{height:12px;width:12px}.sidebar nav{margin-top:7px}.nav-item{font-size:13px;color:#747d8c;min-height:47px}.nav-item:hover{background:#f6f7fb}.nav-item.active{background:var(--accent-soft);color:var(--accent-strong)}.nav-count{background:var(--accent-soft-strong);color:var(--accent-strong)}.sidebar-bottom{color:#7c8493}.version-note{color:#969eab;display:flex;align-items:center;justify-content:space-between;font-size:10px}.product-name{font-size:18px;font-weight:750;letter-spacing:-.6px;color:#252a37}.product-name>span{color:var(--accent-strong)}.status-dot{background:var(--positive)}.icon-button{color:#8a93a1}.icon-button:hover{background:#f1f3f8}.breadcrumb{color:#8991a0;align-items:center}.breadcrumb .product-name{font-size:15px;margin-right:5px}.breadcrumb>span{color:#cbd0da}.date-display{color:#848d9d}.eyebrow{color:#939bad;font-size:10px;letter-spacing:1.7px}.page-title h1{color:#252936;font-weight:700}.page-title p{color:#7e8796;font-size:13px}.button{border-color:#e1e5ed;color:#505969;background:#fff}.button:hover{background:#f5f6fa}.button.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.button.primary:hover{background:var(--accent-strong);border-color:var(--accent-strong);color:#fff}.button:focus-visible,.icon-button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:var(--accent-strong)}.text-button{color:var(--accent-strong)}
.demo-strip{background:#eef1f6;color:#7a8493}.demo-strip b{color:#596579}.demo-strip button{color:#697689}.notice{background:#fff;border-color:#e7eaf1;color:#7d8796;border-radius:10px;box-shadow:0 2px 8px #17223802}.notice-label{background:var(--accent-soft);color:var(--accent-strong)}.summary-card{background:#fff!important;border-color:#e6eaf1!important;box-shadow:0 4px 16px #13203903}.summary-card.receive{background:linear-gradient(115deg,#fff 45%,var(--accent-soft))!important}.summary-card:hover{border-color:var(--accent-soft-strong)!important}.metric-label{color:#687486;font-size:13px}.metric-icon{background:var(--accent-soft)!important;color:var(--accent-strong)!important}.metric-value{color:#242a39;letter-spacing:-1.3px}.metric-bottom{color:#8b94a4;font-size:11px}.metric-bottom .badge{background:#f2f4f8;color:#7c8799}.metric-bottom .badge.danger{background:#fff0ef;color:#bf5552}.section-title h2{color:#2c3342;font-size:18px}.section-title p{color:#8a93a3;font-size:11px}.section-note{color:#7e8899}.project-card{border-color:#e8ebf1;box-shadow:0 3px 12px #14243f02}.project-card:hover{border-color:#d4dae5}.project-code,.project-card:nth-child(3n+2) .project-code,.project-card:nth-child(3n) .project-code{background:var(--accent-soft);color:var(--accent-strong);font-weight:650}.project-open h3{color:#303746;font-size:16px}.project-open>.muted{color:#8d96a5;font-size:12px}.profit-block{border-color:#edf0f5}.profit-block>span:first-child{color:#9199a9;font-size:11px}.profit-block>strong{color:#283240;font-weight:700;font-size:26px}.card-money{color:#929bac;font-size:11px}.card-money strong{color:#687488}.card-foot{color:#919bac;font-size:10px}.collection-progress{background:#f0f2f7}.collection-progress>div{background:var(--accent)}.badge{background:#f1f3f7;color:#7e8898;font-size:10px}.badge.green{background:#eaf6ee;color:#408563}.badge.amber{background:#fff5de;color:#a3782e}.badge.danger{background:#fff0ef;color:#bf5552}.income{color:var(--positive)}.negative,.danger-text{color:var(--negative)!important}.panel,.ledger-card,.party-card{border-color:#e7eaf1}.flow-icon.income{background:#edf7f1;color:var(--positive)}.flow-icon.expense{background:#fff6e8;color:#ae8646}.flow-icon{background:#f2f4f8;color:#8e99aa}.row-main strong{color:#3a4353}.row-main>span,.row-amount>span,.row-amount>small{color:#8b96a6}.row-amount>strong{color:#3a4558}.row-amount>strong.income{color:var(--positive)}.month-mini>div{color:#929bad}.month-mini strong{color:#5a667c}.month-mini .income{color:var(--positive)}.attention-card{background:#fff;border-color:#e7eaf1}.attention-card>span{color:#929bad}.attention-card strong{color:#5b667b}.attention-card>.icon{color:#a1aabc}.quick-grid>button{border-color:#e5e9f1}.quick-grid>button>.icon{color:var(--accent-strong)}.quick-grid span{color:#8d98ab}.quick-grid>button:hover{border-color:var(--accent-soft-strong);background:var(--accent-soft)}
.toolbar select,.search,.date-filters input,.month-picker input{border-color:#e1e6ef;color:#5d687b}.search .icon{color:#a0a9bb}.search input::placeholder{color:#a0a9ba}.tabs{border-color:#e6eaf2}.tabs>button{color:#949daf}.tabs>button.active{color:var(--accent-strong);border-color:var(--accent)}.result-count{color:#929daf}.empty-state{border-color:#dce2ee}.empty-icon{background:var(--accent-soft);color:var(--accent-strong)}.empty-state p,.quiet-empty{color:#919cae}.party-avatar{background:var(--accent-soft);color:var(--accent-strong)}.party-card:hover{border-color:var(--accent-soft-strong)}.party-card>p,.party-link,.party-stats span{color:#8995a8}.party-stats{border-color:#edf0f6}.party-stats strong{color:#4f5c72}.month-picker{color:#7f8da2}.month-summary .panel>span{color:#8b96a9}.month-summary strong{color:#3b465b}.month-summary strong.income{color:var(--positive)}.bar-row>span{color:#8a96a9}.bar-track{background:#f0f3f8}.income-bar{background:var(--accent)}.expense-bar{background:#c2ccdd}.month-summary .panel:last-child{background:#fff}
.setting-panel h2{color:#30394b}.setting-panel>p{color:#8591a5}.board-option{border-color:#e2e7f0;background:#fff}.board-option.selected{border-color:var(--accent-soft-strong);background:var(--accent-soft)}.radio-mark{border-color:#cdd5e2}.selected .radio-mark{border-color:var(--accent)}.board-option strong{color:#5b677d}.board-option small{color:#8b98ad}.setting-row{border-color:#edf0f5}.setting-row strong{color:#556178}.setting-row p{color:#8d9bb0}.switch{background:#e2e7ef}.switch.on{background:var(--accent)}.category-chips button{background:#f2f5f9;color:#6a7890}.category-chips span{color:#9ca9bc}.info-box{background:#f5f7fb;border-color:#e8edf5;color:#7a89a1}.fine-print{color:#8b98ad!important}.future-panel{background:#f1f4fa}.history-list strong{color:#6b7890}.history-list span{color:#9ca8bb}footer{color:#a0a9b8;border-color:#e5eaf2}
dialog{border-color:#e0e6f0;box-shadow:0 22px 100px #17223828;color:#3c475b}dialog::backdrop{background:#17243a55}.modal-header{border-color:#e8ecf3}.modal-header h2{color:#2e3748}.modal-footer{background:#fbfcfe;border-color:#e6ebf3}.field>span{color:#67758c}.field input,.field select,.field textarea{background:#fff;border-color:#dce3ee;color:#3f4c63}.field input::placeholder{color:#a3aec0}.field small{color:#94a1b6}.form-details{border-color:#e5eaf3}.form-details>summary{color:#6e7f98}.tax-preview{background:var(--accent-soft);color:#8592a7}.tax-preview strong{color:#596a83}.tax-preview .tax-total{border-color:var(--accent-soft-strong);color:var(--accent-strong)}.tax-total strong{color:var(--accent-strong)}.entry-choices>button{background:#f8fafe;border-color:#e4eaf4}.entry-choices>button:hover{background:var(--accent-soft);border-color:var(--accent-soft-strong)}.entry-choices>button>.icon:first-child{color:var(--accent-strong)}.entry-choices small{color:#8b99af}.entry-choices strong{color:#4b5b75}.allocation-title p,.allocation-row small{color:#8d9cb3}.allocation-list{border-color:#e3eaf4}.allocation-row{border-color:#edf1f7}.allocation-row input[type=checkbox]{accent-color:var(--accent)}.allocation-amount input{background:#f9fbff;border-color:#dce5f1}.detail-summary{background:#f6f8fc;border-color:#e5eaf4}.detail-summary>div>span{color:#8795ab}.detail-summary strong{color:#34425b}.detail-summary small,.detail-meta{color:#8b9bb2}.stage-strip{border-color:#e5ebf4}.stage-strip button{color:#94a3b9}.stage-strip button.selected{background:var(--accent-soft);color:var(--accent-strong)}.notes{background:#f7f9fd;color:#7e8fa7}.amount-breakdown{color:#8b9bb2}.amount-breakdown b{color:#637993}.allocation-detail>div{color:#8296af}.allocation-detail strong{color:#526d8b}.confirm-copy{color:#8496b0}.confirm-copy b{color:#425a79}.backup-preview{color:#607b9a}#toast{background:#27364c;border-color:#394960;color:#fff;box-shadow:0 5px 30px #17223822}
.company-setting{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px}.company-setting-main{display:flex;align-items:center;gap:18px;min-width:0}.company-setting-main>img{width:64px;height:64px;border-radius:15px;border:1px solid #edf0f6;flex:none}.company-setting-main h2{font-size:19px;overflow-wrap:anywhere}.company-setting-main p{font-size:12px;color:#8996ab;line-height:1.8;margin-top:6px;overflow-wrap:anywhere}.company-setting-main small{display:block;margin-top:7px;color:#a0aabb;font-size:11px}.theme-options{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.theme-swatch{width:43px;height:43px;min-height:43px;position:relative;border-radius:50%;background:var(--swatch);border:4px solid #fff;box-shadow:0 0 0 1px #e4e8f1;display:grid;place-items:center}.theme-swatch .icon{width:18px;height:18px;filter:drop-shadow(0 1px 1px #0003)}.theme-swatch.selected{box-shadow:0 0 0 2px var(--accent-strong)}.custom-theme{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.custom-theme label{display:flex;align-items:center;gap:10px;color:#7788a0;font-size:12px}.custom-theme input[type=color]{height:40px;width:48px;border:1px solid #dce4f0;border-radius:9px;padding:4px;background:#fff;cursor:pointer}.custom-theme input[type=text]{width:100px;border:1px solid #dce4f0;border-radius:9px;padding:10px;font-size:12px;background:#fff}.theme-preview{border:1px solid #e5eaf3;border-radius:10px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;color:#6d7f9a;font-size:12px;background:#fafbfe}.theme-preview strong{color:var(--accent-strong)}.theme-preview .button{font-size:11px}.settings-grid{gap:22px}.theme-setting .fine-print{margin-top:12px}.company-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}.company-settings-link{font-size:11px;color:#9aa7bc}.brand img{object-fit:contain}.product-chip{display:inline-flex;align-items:center;gap:7px}.product-chip img{width:24px;height:24px;object-fit:contain}
@media(max-width:900px){.company-brand>span{font-size:17px}.company-brand img{width:38px;height:38px}.company-brand small{font-size:10px;max-width:100px}.company-setting-main{gap:13px}.breadcrumb .product-name{font-size:13px}.page-title p{font-size:12px}}
@media(max-width:650px){main{padding-top:26px}.topbar{height:66px;background:#fff}.breadcrumb{display:flex;gap:7px;font-size:10px}.breadcrumb .product-name{font-size:15px;margin-right:1px}.topbar-company{display:inline-block;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-title h1{font-size:26px}.page-title p{font-size:12px}.notice{font-size:11px}.summary-card{padding:18px 14px}.metric-label{font-size:12px}.metric-value{font-size:26px}.metric-bottom{font-size:11px}.metric-bottom .badge{font-size:10px}.section-title h2{font-size:18px}.section-title p{font-size:11px}.project-open h3{font-size:18px}.profit-block>strong{font-size:29px}.project-open>.muted{font-size:12px}.card-money{font-size:12px}.card-foot{font-size:11px}.row-main>span{font-size:11px}.month-summary .panel:last-child{background:var(--accent-soft)}.mobile-nav{background:#fffffff2;border-color:#e3e9f2}.mobile-nav>button{color:#9aa7bb;font-size:10px}.mobile-nav>button.active{background:var(--accent-soft);color:var(--accent-strong)}.mobile-add{background:var(--accent);color:var(--on-accent);box-shadow:0 6px 20px #17223822}.company-setting{display:block;padding:22px 18px}.company-setting-main{align-items:flex-start}.company-setting-main>img{width:54px;height:54px}.company-setting-main h2{font-size:18px}.company-setting-main p{font-size:12px}.company-setting>.button{margin-top:18px;width:100%}.company-details-grid{grid-template-columns:1fr}.theme-swatch{width:44px;height:44px}.theme-options{gap:11px}.theme-preview{padding:14px;gap:10px;font-size:11px}.custom-theme{gap:9px}.custom-theme label{font-size:11px}.custom-theme>.button{flex:1}.custom-theme input[type=text]{font-size:16px;width:100px}.theme-preview .button{font-size:11px}.demo-strip{font-size:11px}.date-display{display:none}}
@media(max-width:360px){.metric-value{font-size:20px;letter-spacing:-1.2px}.breadcrumb .product-name{font-size:13px}.topbar-company{max-width:75px}.topbar{padding:0 12px}.theme-preview{flex-wrap:wrap}}
.modal-controls{display:flex;align-items:center;gap:3px;flex:none}.modal-header>div:first-child{min-width:0}.modal-header h2{overflow-wrap:anywhere}.field .field-hint{display:inline;font-size:10px;font-weight:400;color:#8591a5;margin:0 0 0 4px}.brand.company-brand:hover{opacity:.8}
@media(max-width:650px){.modal-controls{gap:0}.modal-header{gap:6px}.modal-header h2{font-size:20px}.field .field-hint{display:block;margin:4px 0 0;line-height:1.5}.modal-controls .icon-button{min-width:36px}}

.period-tabs{margin-bottom:16px}.period-picker{display:flex;align-items:center;gap:6px;min-width:0}.period-picker .month-picker{min-width:0}.period-picker .month-picker input{max-width:180px}.period-picker input[type=number]{width:105px}.period-caption{font-size:13px;color:#6b7890;margin:12px 0 0}.period-picker .icon-button{min-width:34px;min-height:40px}.period-picker .month-picker input{font-size:14px}
@media(max-width:650px){.monthly-toolbar{flex-wrap:wrap}.period-picker{width:100%;gap:3px}.period-picker .month-picker{flex:1}.period-picker .month-picker input{width:100%;min-width:0;font-size:16px}.period-caption{font-size:12px}.period-tabs>button{flex:1}.period-picker .button{padding:8px;min-width:43px}}

.breadcrumb>button{background:transparent;padding:0}.breadcrumb>.product-name{color:#252a37}.breadcrumb>.topbar-company{color:#687487;font-weight:650;font-size:inherit}

@media(max-width:650px){.period-picker{flex-wrap:wrap}.period-picker .month-picker{min-width:120px}.period-picker .button{min-width:40px}}
@media(max-width:650px){.period-picker .month-picker{min-width:calc(100% - 80px)}.period-picker{row-gap:8px}}

.badge.unpaid{background:#ffe8e8;color:#bc202c;font-weight:650;border:1px solid #f7c9cd}.unpaid-text{color:#bc202c!important;font-weight:650!important}

.allocation-search-row{display:flex;align-items:flex-end;gap:12px;margin:18px 0 0}.allocation-search-row>.field{flex:1;min-width:0}.allocation-search-row>.button{flex:none;min-height:42px}.allocation-feedback{color:#bc202c;font-size:12px;line-height:1.7;min-height:0;margin:9px 0}.allocation-feedback:empty{display:none}.allocation-search-row~.allocation-list{margin-top:14px}.selected-allocation{flex-wrap:wrap;gap:12px}.allocation-record{flex:1;min-width:150px}.allocation-record strong{display:block;font-size:13px;overflow-wrap:anywhere}.allocation-record small{display:block;font-size:11px;line-height:1.7;margin-top:5px}.selected-allocation .allocation-amount{margin-left:0;flex:none;width:190px;max-width:100%}.allocation-remove{font-size:11px;min-height:36px;white-space:nowrap}.allocation-search-row .field input:disabled{background:#f5f7fa;color:#8794a8}
@media(max-width:650px){.allocation-search-row{gap:8px;flex-wrap:wrap}.allocation-search-row>.field{flex-basis:100%}.allocation-search-row>.button{margin-left:auto;min-height:42px}.selected-allocation .allocation-record{flex-basis:100%}.selected-allocation .allocation-amount{flex:1;width:auto;min-width:120px}.selected-allocation .allocation-amount input{min-width:0;width:100%}}

.allocation-auto-amount{text-align:right;min-width:130px}.allocation-auto-amount small{display:block;font-size:10px;color:#8794a8}.allocation-auto-amount strong{display:block;margin-top:5px;font-size:17px;color:#34425b}.allocation-mode-controls{border:1px solid #e5eaf3;border-radius:10px;padding:13px 15px;margin-top:14px}.allocation-mode-controls label{display:flex;align-items:center;gap:9px;font-size:12px;color:#56677f;cursor:pointer}.allocation-mode-controls input{accent-color:var(--accent);width:18px;height:18px}.allocation-mode-controls p{font-size:11px;color:#8794a8;margin-top:6px;line-height:1.6}.allocation-warning{background:#fff1f1!important;color:#b82736!important;border-color:#f4cbd0!important}.allocation-record small{overflow-wrap:anywhere}
@media(max-width:650px){.allocation-auto-amount{text-align:left;flex:1;min-width:120px}.allocation-auto-amount strong{font-size:18px}}

dialog.warning-dialog{width:min(380px,calc(100% - 40px));max-height:calc(100dvh - 64px);border:1px solid #eadfe2;border-radius:20px;padding:0;overflow:auto;box-shadow:0 18px 80px #17223845;color:#34425b;background:#fff}dialog.warning-dialog::backdrop{background:#17223875;backdrop-filter:blur(3px)}.warning-content{padding:26px;display:flex;flex-direction:column;gap:16px}.warning-mark{display:grid;place-items:center;align-self:flex-start;width:42px;height:42px;border-radius:50%;background:#ffe9e9;color:#bd2434;font-size:25px;font-weight:700}.warning-content h2{font-size:20px;letter-spacing:-.6px;color:#283345}.warning-content p{font-size:14px;line-height:1.9;color:#61718b;white-space:pre-wrap;overflow-wrap:anywhere;max-height:42dvh;overflow:auto}.warning-confirm{width:100%;min-height:46px;margin-top:4px;font-size:14px}
@media(max-width:650px){dialog.warning-dialog{width:calc(100% - 44px);max-width:380px}.warning-content{padding:23px;gap:14px}.warning-content h2{font-size:19px}.warning-content p{font-size:14px}}

.cloud-start { margin:0 0 28px; border:1px solid var(--accent-soft-strong); padding:24px; }
.cloud-start h2 {margin-top:0;}
.backup-item {padding:16px 0;border-bottom:1px solid var(--line);}
.backup-item p {margin:7px 0 12px;}

/* Verification is the service user's responsibility; keep this notice red for every theme. */
.verification-notice { margin:0 0 22px; padding:16px 18px; border:1px solid #f0c5cb; border-radius:12px; background:#fff3f4; color:#ae2535; font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.verification-notice strong { display:block; color:#ae2535; font-size:14px; margin-bottom:6px; }
.verification-notice p { margin:0; color:#ae2535; }
.verification-notice p+p { margin-top:5px; }

.party-entry-actions,.import-tools,.import-review-tools,.import-row-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.import-intro{line-height:1.7;color:#667083;margin:0 0 18px}.import-drop{padding:22px;border:2px dashed #d5dce7;border-radius:14px;background:#fafbfe;margin-bottom:12px}.import-drop>label{display:block;font-weight:650;margin-bottom:12px;color:#323c4b}.import-drop>input{width:100%;max-width:100%;font-size:13px}.import-drop>p{font-size:12px;color:#8a93a1;margin:12px 0 0}.import-file-list{max-height:180px;overflow:auto;margin-bottom:12px}.import-file-list>div{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.import-file-list span{min-width:0;overflow-wrap:anywhere;font-size:13px}.import-file-list small{color:#8b94a3}.import-tools{margin:15px 0}.import-start{display:flex;justify-content:flex-end;padding-top:18px}.import-progress{padding:16px 0}.import-progress[hidden]{display:none}.import-progress strong{display:block;white-space:pre-line;font-size:13px;color:#536074;overflow-wrap:anywhere;line-height:1.6}.import-progress progress{display:block;width:100%;height:10px;margin:14px 0;accent-color:var(--accent)}.import-review-tools{justify-content:space-between;margin:18px 0}.import-review-tools>strong{font-size:13px}.import-review-tools>div{display:flex;gap:12px}.import-review-list{display:grid;gap:14px}.import-review-item{border:1px solid #e0e5ee;border-radius:14px;padding:18px;background:#fff}.import-review-item.read-failed{border-color:#f0c5cb}.import-review-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.import-review-heading>label{display:flex;align-items:flex-start;gap:10px;font-size:15px;min-width:0;overflow-wrap:anywhere}.import-review-heading input{width:20px;height:20px;flex:none;accent-color:var(--accent);margin:0}.import-review-item>p{font-size:12px;line-height:1.6;margin:8px 0;color:#69768a;overflow-wrap:anywhere}.import-source{font-size:12px!important;color:#8993a3!important;overflow-wrap:anywhere}.import-review-item>.import-duplicate{color:#a25b1c;background:#fff7e9;padding:8px 10px;border-radius:8px}.import-review-item>.import-row-warning{color:#ae2535}.import-row-actions{margin-top:12px}.import-row-actions>label{display:flex;gap:7px;align-items:center;font-size:12px;color:#69768a;min-width:0;flex-wrap:wrap}.import-row-actions select{padding:8px;border:1px solid #dce2ec;border-radius:7px;background:#fff;max-width:100%;font-size:12px}.import-raw{margin-top:20px}.import-raw>pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;background:#f6f7fb;padding:14px;font-size:12px;line-height:1.6}.import-messages{font-size:12px;line-height:1.6;color:#8a5b21;margin:15px 0}
@media(max-width:600px){.party-entry-actions{width:100%;justify-content:flex-end}.party-entry-actions .button{font-size:11px;padding:10px 12px}.import-drop{padding:16px}.import-review-item{padding:14px}.import-review-heading>label{font-size:14px}.import-review-heading .button{font-size:11px;white-space:nowrap}.import-review-tools>div{gap:10px}.import-review-tools .text-button{font-size:11px}.import-row-actions>label{width:100%}}

/* Entry shortcuts share the standard expense ledger and modal navigation. */
.expense-entry-tabs{margin:0 0 20px}.expense-entry-tabs>button{flex:1;text-align:center}
.record-tab-description{font-size:12px;line-height:1.8;color:#8391a6;margin:-3px 0 16px;overflow-wrap:anywhere}
.stage-strip>button{min-width:0;overflow-wrap:anywhere;line-height:1.5}
@media(max-width:650px){.record-tab-description{font-size:11px;margin:0 0 15px}.expense-entry-tabs>button{font-size:13px}}

.notice>.notice-open{padding:0;min-width:0;min-height:30px;flex:1;background:transparent;color:inherit;text-align:left;font:inherit;line-height:inherit;overflow-wrap:anywhere}
.notice>.notice-open:hover{text-decoration:underline;text-underline-offset:3px}
.project-title-link{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;background:transparent;color:inherit;font:inherit;text-align:left;padding:0;line-height:inherit;overflow-wrap:anywhere}
.project-title-link>.icon{width:18px;height:18px;flex:none;opacity:.55}
.project-title-link:hover{text-decoration:underline;text-underline-offset:5px}
.project-title-link:focus-visible,.notice-open:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
@media(max-width:650px){.project-title-link>.icon{width:15px;height:15px}}

.sidebar-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;margin-bottom:12px}.sidebar-tools .button{min-width:0;width:100%;margin:0;padding:9px 6px;gap:5px;font-size:11px;white-space:nowrap}.sidebar-tools .icon{width:15px;height:15px;flex:none}

/* Keep the company name readable beside the fixed logo at every sidebar width. */
.company-brand>span.company-brand-copy{flex:1;min-width:0;max-width:100%;overflow-wrap:normal}.company-brand img{flex-shrink:0}.company-brand .company-brand-name{display:block;width:100%;min-width:0;margin:0;font-size:var(--company-name-font-size,20px);font-weight:750;line-height:1.35;letter-spacing:-.45px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-brand .company-brand-name.is-multiline{display:-webkit-box;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;max-height:2.7em}.company-brand .company-brand-copy>small{display:block;width:100%;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:0}

/* The supplied full HAcct logo already includes its frame and wordmark. */
.company-brand img,.company-setting-main>img{background:#fff;border:0;border-radius:0;object-fit:contain}
.breadcrumb button.product-name{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;flex:none}

.product-name.product-logo{display:inline-flex;align-items:center;gap:6px}.product-logo>img{width:34px;height:34px;object-fit:contain;background:#fff}.product-name>.product-label{color:var(--ink);font-size:14px;letter-spacing:-.4px}

/* Company identity is separate from installed app branding. */
.company-logo-editor{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;margin:0 0 24px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.company-logo-preview{width:96px;height:96px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.company-logo-preview>img{display:block;width:88px;height:88px;object-fit:contain}
.company-logo-controls{min-width:0}.company-logo-controls h3{font-size:14px;margin:0 0 12px}.company-logo-controls .field{margin-bottom:10px}.company-logo-controls input[type=file]{max-width:100%;width:100%;min-width:0;padding:9px;font-size:12px}.company-logo-controls [data-company-logo-status]{margin:10px 0 0;line-height:1.6;overflow-wrap:anywhere}
.company-logo-rules{grid-column:1/-1;margin:0;line-height:1.7}
.breadcrumb button.product-name{gap:0;min-width:0;font-size:15px}
.product-name.product-logo{font-size:16px;line-height:1.2;gap:6px}
.product-logo>img{width:1em;height:1em;flex:none}
.product-name>.product-label{color:var(--ink);font-size:inherit}
.product-label>span{color:var(--accent-strong)}
@media(max-width:650px){.company-logo-editor{grid-template-columns:72px minmax(0,1fr);padding:14px;gap:12px}.company-logo-preview{width:72px;height:72px;border-radius:10px}.company-logo-preview>img{width:64px;height:64px}.company-logo-controls input[type=file]{font-size:11px}.company-logo-controls .button{font-size:11px}.company-logo-rules{font-size:11px}.breadcrumb button.product-name{font-size:15px}}

.sidebar-tools .sidebar-admin-entry{grid-column:1/-1}
.mobile-admin-entry{display:none}
.admin-menu-list,.admin-social-list{display:grid;gap:8px}
.admin-menu-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff);color:var(--ink);text-align:left}
.admin-menu-row.is-planned{background:#f6f8fb;color:#596678}
.admin-menu-status{margin-left:auto;color:#637188;font-size:10px;white-space:nowrap}
.admin-menu-row:hover{background:var(--accent-soft)}
.admin-menu-row>.icon{width:15px;height:15px;flex:none;color:var(--muted)}
.admin-social-list{margin-top:16px}
.admin-social-provider{display:grid;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:10px}
.admin-social-provider>div{display:flex;align-items:center;justify-content:space-between;gap:8px}
.admin-social-provider h3{font-size:14px}
@media(max-width:650px){.mobile-admin-entry.button{display:flex;width:100%;justify-content:center;margin-bottom:12px}}
