.head-actions,.section-toolbar,.account-actions>div,.accounts-display-toolbar>div,.form-actions,.actions{align-items:stretch}.head-actions>button{height:40px!important;min-height:40px!important;margin:0!important;box-sizing:border-box}.head-actions>.action-icon{width:40px;min-width:40px}.head-actions>button>.icon{width:18px;height:18px}.finance-tabs>button:not(.active){color:var(--text)!important;font-weight:550}.finance-tabs>button.active{font-weight:750}.dynamic-table thead th,.dynamic-table .column-sort{text-transform:none!important;font-size:var(--text-min)!important;letter-spacing:0!important;line-height:1.3}
.tag.status-received{background:#d8f4e1;color:#155b31;border:1px solid #4aa971}.tag.status-paid{background:#dbecff;color:#16599b;border:1px solid #609dd7}.tag.status-partial{background:#fff0c5;color:#6e4800;border:1px solid #c99b28}.tag.status-planned{background:#e9e2ff;color:#533289;border:1px solid #9475cb}.tag.status-attention{background:#ffe0e4;color:#952336;border:1px solid #d66c7b}.tag.status-cancelled{background:#e2e4e7;color:#454b52;border:1px solid #9299a1}.tag[class*=status-]{font-weight:650;padding:5px 8px}
.record-field{display:flex!important;align-items:stretch!important;margin-top:6px;isolation:isolate}.record-field>input{margin:0!important;padding:9px 44px 9px 11px!important;height:42px;min-height:42px;box-sizing:border-box;border-radius:8px;width:100%}.record-field>button{display:flex;align-items:center;justify-content:center;position:absolute;top:1px;right:1px;bottom:1px;width:40px;height:40px!important;min-height:40px!important;padding:9px!important;border-radius:0 7px 7px 0;margin:0!important;color:var(--accent)}.record-field>button .icon{width:19px;height:19px}.record-field:has(input:disabled)>button{pointer-events:none;opacity:.45}.reference-suggestions{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 7px 22px #0002;z-index:180;max-height:280px;overflow:auto;padding:4px}.reference-suggestions[hidden]{display:none}.reference-suggestions>button{display:flex;width:100%;justify-content:flex-start;align-items:center;gap:9px;text-align:left;border:0;background:transparent;padding:9px;min-height:36px;font:inherit;margin:0}.reference-suggestions>button[aria-selected=true],.reference-suggestions>button:hover{background:var(--accentSoft)}.suggestion-icon{display:flex;align-items:center;flex:none}.suggestion-icon .icon{width:19px;height:19px}
label .field-help{font-family:inherit;font-size:1em;font-weight:750;font-style:italic;line-height:1;vertical-align:baseline;color:var(--accent);background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;width:16px;min-width:16px;height:1em;min-height:0;padding:0;margin:0 0 0 4px;display:inline-flex;align-items:baseline;justify-content:center}label .field-help:hover{color:var(--text);text-decoration:underline}.help-bubble{position:fixed!important;top:auto;left:auto;bottom:auto;z-index:250;width:min(320px,calc(100vw - 24px));box-sizing:border-box;max-height:40vh;overflow:auto;font-style:normal}
.accounts-display-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid var(--line)}.accounts-total-strip{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}.accounts-total-strip>span{display:flex;gap:8px;align-items:center;font-weight:650}.accounts-total-strip>strong{font-size:1.6rem;white-space:nowrap}.accounts-total-strip>small{flex-basis:100%;color:var(--muted);font-size:var(--text-min)}.account-card{display:flex;flex-direction:column;padding:18px!important;min-width:0;gap:12px}.account-card .card-top>span:last-child{font-weight:650}.account-card .card-top small{font-weight:400}.account-card .metric{font-size:1.65rem!important;margin:8px 0!important}.account-card .account-meta{font-size:var(--text-min);margin:0}.account-actions{display:block;margin-top:auto;padding-top:12px;border-top:1px solid var(--line)}.account-actions-label{display:block;color:var(--muted);font-size:var(--text-min);margin-bottom:8px}.account-actions>div{display:flex;flex-wrap:wrap;gap:6px}.account-actions .account-action{font-size:var(--text-min);padding:7px 8px;min-height:34px;height:34px;gap:5px}.account-action .icon{width:16px;height:16px}.accounts-as-list .account-card{grid-template-columns:minmax(160px,1.3fr) minmax(150px,1fr) minmax(140px,1fr) auto}.accounts-as-list .account-actions{border:0;padding:0;margin:0}.accounts-as-list .account-actions-label{display:none}.transfer-source,.transfer-target-preview:not(:empty){display:flex;gap:12px;align-items:center;padding:14px;background:var(--accentSoft);border:1px solid var(--line);border-radius:12px;margin-bottom:16px}.transfer-source>div,.transfer-target-preview>span:not(.account-token){flex:1}.transfer-source small,.transfer-source>div strong,.transfer-target-preview small{display:block}.transfer-source>strong,.transfer-target-preview>strong{white-space:nowrap;font-size:1.15rem}.transfer-source small,.transfer-target-preview small{color:var(--muted);font-size:var(--text-min)}
.record-type-filters{display:flex;gap:6px;flex-wrap:wrap;padding:0 0 16px}.record-type-filters button{padding:7px 12px;min-height:36px;font-size:var(--text-min);border-radius:20px;background:var(--surface)}.record-type-filters button[aria-pressed=true]{background:var(--accent);color:var(--onAccent);border-color:var(--accent);font-weight:650}.record-badge{background:var(--badge-color)!important;color:#fff!important;border:0!important}.record-badge .icon{width:21px;height:21px;color:inherit}.record-style-editor{display:grid;grid-template-columns:52px minmax(130px,1fr) 130px minmax(150px,1fr);gap:12px;align-items:center;background:var(--accentSoft);border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:18px}.record-style-editor>button{padding:0;border:0;background:transparent;min-width:48px}.record-style-editor .contact-avatar{width:46px;height:46px}.record-style-editor small{display:block;color:var(--muted);font-size:var(--text-min);margin-top:5px}.record-style-editor label{margin:0}.record-style-editor input[type=color]{height:40px;margin-top:6px}.shared-icon-control{display:block;margin-top:6px}.shared-icon-control>button{width:100%;justify-content:flex-start;gap:8px;min-height:40px;height:40px;margin:0;padding:8px}.shared-icon-control>button>span{flex:1;text-align:left}.shared-icon-control>button>.icon:last-child{width:17px}.icon-picker-dialog{width:min(620px,calc(100vw - 28px));max-height:82dvh;overflow:auto;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text)}.icon-picker-dialog::backdrop{background:#0005}.icon-picker-dialog .dialog-head{position:sticky;top:0;z-index:2;background:var(--surface);padding:14px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.icon-picker-dialog h2{font-size:1.1rem;margin:0}.icon-picker-dialog .icon-library{grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:7px;max-height:45vh;overflow:auto;margin-top:12px}.icon-picker-dialog .icon-library button{padding:10px;min-height:72px;font-size:var(--text-min)}.icon-picker-dialog .form-actions{padding:12px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line)}
.account-actions>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.account-actions [data-action=account-transfer]{grid-column:1/-1}.accounts-as-list .account-actions>div{display:flex}
.record-badge{color:var(--badge-ink,#fff)!important}.record-field:focus-within{z-index:190}
.record-field{margin-top:4px}.record-field>input{height:40px;min-height:40px}.record-field>button{height:38px!important;min-height:38px!important}.record-field>button .icon{width:18px;height:18px}
.shared-icon-control>button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.record-style-editor>label{grid-column:1/-1}}
.identity-field-group{padding:14px;border:1px solid var(--line);border-radius:12px;margin-bottom:16px}.identity-field-group h3{display:flex;gap:8px;align-items:center;font-size:1rem;margin:0 0 16px}.identity-field-group .form-grid,.identity-company .form-grid{align-items:start}.identity-step .identity-photo{width:54px;height:54px;flex:none}.identity-photo>button{width:54px;height:54px;border:0;background:transparent;padding:0;border-radius:50%;position:relative}.identity-photo>button::after{content:'+';position:absolute;bottom:0;right:0;background:var(--accent);color:var(--onAccent);border:2px solid var(--surface);border-radius:50%;width:18px;height:18px;font-size:16px;line-height:16px}.identity-photo .profile-initials,.identity-photo img{width:50px;height:50px}.access-confirmation{padding-top:16px;margin-top:16px;border-top:1px solid var(--line)}
.home-recent-list{margin:12px 0 16px}.home-recent-list article{padding:10px 0;border-bottom:1px solid var(--line);font-size:.9rem}.home-recent-list article:last-child{border-bottom:0}.home-recent-list small{display:block;color:var(--muted);font-size:var(--text-min);margin-top:5px}.home-recent-list .record-link{display:inline-flex;align-items:center;gap:8px;text-align:left;white-space:normal}.home-recent-list .contact-avatar{width:30px;height:30px;font-size:12px}.recent-money-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.recent-money-row>strong{white-space:nowrap}.catalog-section{margin-top:18px}.catalog-section h3{font-size:1rem;margin:0}.catalog-options{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.catalog-option{justify-content:space-between;gap:12px;font-size:var(--text-min);min-height:36px}.catalog-option.inactive{opacity:.65}.catalog-option>.icon{width:16px;height:16px}.summary-toggle{font-size:var(--text-min)}
@media(max-width:900px){.record-style-editor{grid-template-columns:52px 1fr}.record-style-editor>label{grid-column:auto}.accounts-display-toolbar{align-items:flex-start;flex-wrap:wrap}.accounts-as-list .account-card{display:grid!important;grid-template-columns:1fr 1fr}.accounts-as-list .account-actions{grid-column:1/-1}}
@media(max-width:600px){.head-actions{gap:6px}.head-actions>button{font-size:var(--text-min);padding:7px 9px}.accounts-total-strip>strong{font-size:1.4rem}.transfer-source,.transfer-target-preview:not(:empty){flex-wrap:wrap}.transfer-source>strong,.transfer-target-preview>strong{margin-left:auto}.record-style-editor{padding:10px;gap:10px}.identity-field-group{padding:12px}.record-type-filters{gap:5px}.record-type-filters button{padding:6px 9px}.reference-suggestions{max-height:230px}.icon-picker-dialog .icon-library{grid-template-columns:repeat(3,1fr)}}
