:root{font-family:Inter,ui-sans-serif,system-ui;color:#17201e;background:#f4f7f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}.dark{color:#e7eeec;background:#0d1513}.app{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{background:#102d28;color:#dff7f0;padding:24px 16px;position:fixed;inset:0 auto 0 0;width:250px;display:flex;flex-direction:column}.brand{font-weight:800;font-size:20px;display:flex;gap:10px;align-items:center;margin:0 8px 28px}.nav{display:grid;gap:5px}.sidebar-footer{margin-top:auto;padding:16px 10px 0;border-top:1px solid #ffffff22}.sidebar-footer a{color:inherit;text-decoration:none;display:grid;gap:3px}.sidebar-footer small{opacity:.72;overflow-wrap:anywhere}.household-switcher{min-width:150px;max-width:240px;padding:10px 34px 10px 12px;border:1px solid #d8e2df;border-radius:10px;background:#fff}.settings-card{max-width:900px}.account-settings{margin-top:28px}.cloud-management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.inset-card{padding:16px;box-shadow:none}.cloud-member-list{display:grid;gap:10px}.member-access{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:12px}.member-access label{display:flex;gap:7px;align-items:center;font-weight:500}.invitation-row{padding:10px 0;border-bottom:1px solid #e2ebe8}.household-setting-row{padding:8px 0;border-bottom:1px solid #e2ebe8}.admin-account-detail{width:min(900px,calc(100vw - 32px))}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{width:min(440px,100%)}.login-contact{text-align:center;font-size:.85rem}.error{color:#b42318}@media (max-width:700px){.cloud-management-grid{grid-template-columns:1fr}.household-switcher{min-width:110px;max-width:145px}}.nav button{background:transparent;border:0;color:inherit;text-align:left;padding:11px 13px;border-radius:10px;cursor:pointer;display:flex;gap:11px}.nav button:hover,.nav button.active{background:#1d4d45;color:#fff}.main{grid-column:2;padding:0 28px 90px}.header{height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px}.search{max-width:520px;flex:1;border:1px solid #d8e2df;border-radius:12px;padding:11px 14px;background:#fff}.dark .search,.dark .card,.dark input,.dark select,.dark textarea{background:#16231f;color:#e7eeec;border-color:#30423d}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{background:#fff;border:1px solid #e2ebe8;border-radius:16px;padding:20px;box-shadow:0 2px 12px #163c3208}.metric{font-size:28px;font-weight:800;margin-top:10px}.metric-hint{display:block;margin-top:2px;color:var(--muted);font-size:.74rem}.header-spacer{flex:1}.lock-notice{margin:14px 0;padding:12px 16px;border:1px solid #f2c94c;border-radius:12px;background:#fff8db;color:#624b00;font-weight:650}.locked-content button,.locked-content input,.locked-content select,.locked-content textarea{pointer-events:none;opacity:.55}.dark .lock-notice{background:#3d320d;color:#ffe88c;border-color:#715f1b}.dashboard{display:grid;gap:22px}.dashboard-topline,.dashboard-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.dashboard-topline h2,.dashboard-section-title h3,.dashboard-topline p,.dashboard-section-title p{margin:0}.dashboard-actions{display:flex;flex-wrap:wrap;gap:7px}.dashboard-actions button,.text-button{border:0;background:#e3f2ee;color:#075e56;padding:9px 12px;border-radius:9px;font-weight:750;cursor:pointer}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-metrics button{text-align:left;cursor:pointer;color:inherit}.dashboard-metrics span,.dashboard-metrics small{display:block;color:#687b77}.dashboard-metrics strong{display:block;margin:8px 0 4px;font-size:clamp(1.45rem,2.4vw,2rem)}.dashboard-attention{border-color:#f0cf69}.attention-row{width:100%;display:grid;grid-template-columns:72px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 4px;border:0;border-top:1px solid #e4ebe9;background:transparent;color:inherit;text-align:left;cursor:pointer}.attention-row small,.upcoming-row small,.dashboard-project small,.dashboard-areas small,.activity-list small{display:block;color:#687b77}.attention-kind{padding:5px 7px;border-radius:7px;background:#fff1d6;color:#815500;text-align:center;font-size:.75rem;font-weight:800}.attention-kind.task{background:#e7efff;color:#2854a0}.attention-kind.warranty{background:#efe7ff;color:#6240a2}.dashboard-ok{margin-top:14px;padding:14px;border-radius:10px;background:#e9f7f1;color:#176b50;font-weight:700}.dashboard-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-project{text-align:left;color:inherit;cursor:pointer}.dashboard-project h3{margin:12px 0 4px}.budget-progress,.category-bar>div:last-child{height:7px;margin:12px 0 7px;overflow:hidden;border-radius:999px;background:#e3ebe9}.budget-progress span,.category-bar>div:last-child span{display:block;height:100%;border-radius:inherit;background:#0f8277}.dashboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.upcoming-row{width:100%;display:grid;grid-template-columns:92px 1fr;gap:12px;padding:11px 0;border:0;border-top:1px solid #e4ebe9;background:transparent;color:inherit;text-align:left;cursor:pointer}.upcoming-row time{font-weight:750;color:#0f766e}.category-bar{margin-top:14px}.category-bar>div:last-child{margin-top:6px}.dashboard-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dashboard-areas button{display:flex;align-items:center;gap:12px;color:inherit;text-align:left;cursor:pointer}.activity-list>div{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-top:1px solid #e4ebe9}.activity-list .audit-dot{position:static;flex:0 0 auto;margin-top:5px}.dark .dashboard-actions button,.dark .text-button{background:#193b35;color:#8ad9ca}.dark .dashboard-ok{background:#14352b;color:#8de0bd}.dark .attention-row,.dark .upcoming-row,.dark .activity-list>div{border-color:#2a3a36}@media (max-width: 1000px){.dashboard-metrics,.dashboard-projects,.dashboard-areas{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 700px){.dashboard-topline{align-items:flex-start;flex-direction:column}.dashboard-metrics,.dashboard-projects,.dashboard-columns,.dashboard-areas{grid-template-columns:1fr}.attention-row{grid-template-columns:64px 1fr}.attention-row time{grid-column:2}.attention-row>span:last-child{display:none}}.muted{color:#6b7c77}.row{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.btn{border:0;background:#0f766e;color:#fff;padding:10px 15px;border-radius:10px;cursor:pointer;font-weight:650}.btn.secondary{background:#e6efed;color:#1e4540}.grid2{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-top:16px}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px 8px;border-bottom:1px solid #e5ecea;text-align:left}.form{display:grid;gap:12px}.form input,.form select,.form textarea{display:block;width:100%;min-width:0;max-width:100%;border:1px solid #cfddda;padding:11px;border-radius:9px}.dialog{position:fixed;top:0;right:0;bottom:0;left:0;background:#0008;display:grid;place-items:center;padding:14px;overflow:hidden;z-index:20}.dialog>div{background:#fff;color:#17201e;width:min(680px,100%);min-width:0;max-width:100%;max-height:calc(100dvh - 28px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:24px;border-radius:18px}.dialog>div>h2:first-child{margin:0 0 20px}.toast{position:fixed;right:20px;bottom:22px;background:#143c35;color:#fff;padding:14px 18px;border-radius:12px;z-index:30}.mobile-nav,.fab,.menu{display:none}.skeleton{height:90px;border-radius:16px;background:linear-gradient(90deg,#edf2f0,#fff,#edf2f0);background-size:200%;animation:p 1.2s infinite}@keyframes p{to{background-position:-200%}}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.project-card{font:inherit;text-align:left;background:#fff;color:inherit;border:1px solid #e2ebe8;border-radius:16px;padding:20px;cursor:pointer;transition:.18s transform,.18s box-shadow}.project-card:hover{transform:translateY(-2px);box-shadow:0 8px 28px #163c3218;border-color:#8bc2b7}.project-card h3{font-size:19px;margin:18px 0 8px}.open-link{color:#0f766e;font-weight:700}.budget-label{color:#6b7c77;font-size:13px;font-weight:600}.badge{font-size:12px;padding:5px 9px;border-radius:99px;background:#e8eeec}.badge.active{background:#d9f4ed;color:#08705e}.badge.completed{background:#e0ecff;color:#2459a9}.badge.cancelled{background:#fde5e2;color:#a33329}.project-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.project-head h2{font-size:30px;margin:16px 0 8px}.back{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#0f766e;font-weight:700;cursor:pointer;margin:0 0 14px;padding:0}.tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid #d9e4e1;margin-bottom:16px}.tabs button{border:0;background:transparent;color:inherit;padding:12px 16px;cursor:pointer;white-space:nowrap}.tabs button.active{color:#0f766e;border-bottom:3px solid #0f766e;font-weight:750}.details{display:grid;grid-template-columns:1fr 1fr;gap:12px}.details dt{color:#6b7c77}.details dd{margin:0;font-weight:650}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.form-grid>:last-child:nth-child(odd){grid-column:1 / -1}.form-grid>*,.form>*{min-width:0}.form label{display:grid;gap:6px;font-weight:650}.icon-danger{border:0;background:#fee9e7;color:#b42318;padding:10px;border-radius:10px;cursor:pointer}.timeline p{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e5ecea}.relation-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 14px}.inline-filter{display:flex;justify-content:flex-end;margin:0 0 12px}.inline-filter label{display:grid;gap:6px;min-width:min(280px,100%);font-weight:650}.inline-filter select{min-height:42px;padding:9px 11px;border:1px solid #cfddda;border-radius:9px;background:inherit;color:inherit}.relation-heading h3,.relation-heading p{margin:0 0 4px}.form-error{margin:0;padding:10px 12px;border-radius:9px;background:#fee9e7;color:#a52218}.btn:disabled{cursor:wait;opacity:.65}.action-table tbody tr{cursor:pointer}.action-table tbody tr:hover{background:#f3f8f6}.dark .action-table tbody tr:hover{background:#1c2c27}.cell-description{display:block;color:#6b7c77;font-weight:400;margin-top:4px}.record-origin{color:#0f766e;font-weight:650}.dark .record-origin{color:#5eead4}.photo-card .record-origin{display:block;padding:0 7px 7px;font-size:10px}.table-actions{display:flex;gap:5px}.table-actions button{display:grid;place-items:center;border:0;border-radius:8px;padding:7px;background:#e8f0ee;color:#28514a;cursor:pointer}.table-actions button.danger{background:#fee9e7;color:#b42318}.empty-action{display:grid;justify-items:center;text-align:center;gap:7px;padding:34px 12px}.large-dialog{width:min(680px,100%)!important}.nested-dialog{z-index:40}.eyebrow{color:#0f766e;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.detail-description{white-space:pre-wrap;color:#53645f;padding:14px 0;border-bottom:1px solid #e1e9e7}.detail-list{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:8px 0}.detail-list dt{color:#6b7c77}.detail-list dd{margin:0;font-weight:650}.file-link,.attachment-row a{color:#0f766e;font-weight:750}.attachments{border-top:1px solid #e1e9e7;margin-top:18px;padding-top:14px}.attachment-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #e6edeb}.attachment-row small{display:block;color:#6b7c77;margin-top:3px}.attachment-delete{border:0;background:#fee9e7;color:#b42318;border-radius:7px;padding:6px;cursor:pointer;display:grid;place-items:center}.main-note p,.note-card p{white-space:pre-wrap;line-height:1.55}.notes-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.note-card h3{margin:0}.note-card small{display:block;margin-top:14px}.album-bar{display:flex;gap:7px;overflow-x:auto;padding:2px 0 14px}.album-bar button{border:1px solid #d2dfdc;border-radius:99px;padding:8px 13px;background:#fff;color:inherit;white-space:nowrap;cursor:pointer}.album-bar button.active{background:#0f766e;border-color:#0f766e;color:#fff}.album-bar button.album-delete{color:#b42318}.dark .album-bar button{background:#16231f;border-color:#30423d}.dark .album-bar button.active{background:#0f766e}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px}.photo-card{border:0;padding:0;background:#fff;color:inherit;border-radius:13px;overflow:hidden;cursor:pointer;text-align:left;box-shadow:0 2px 10px #163c3212}.photo-card img{width:100%;aspect-ratio:1;display:block;object-fit:cover}.photo-card span{display:block;padding:6px 7px;font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#07110feb;display:grid;place-items:center;padding:45px;color:#fff}.lightbox-content{max-width:min(1100px,85vw);max-height:90vh}.lightbox-content img{display:block;max-width:100%;max-height:78vh;object-fit:contain;margin:auto}.lightbox-content>.row{padding:12px 0}.lightbox-content small{display:block;color:#b7c8c3}.lightbox-close,.lightbox-prev,.lightbox-next{position:fixed;border:0;border-radius:50%;width:45px;height:45px;display:grid;place-items:center;background:#ffffff20;color:#fff;cursor:pointer}.lightbox-close{right:20px;top:20px}.lightbox-prev{left:18px;top:50%}.lightbox-next{right:18px;top:50%}.audit-timeline{padding-left:30px}.history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.history-toolbar h3,.history-toolbar p{margin:0 0 4px}.history-search{width:min(360px,100%);border:1px solid #cfddda;border-radius:10px;padding:10px 13px;background:#fff;color:inherit}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:14px}.pagination button{border:1px solid #cbdad6;background:#fff;color:#195047;border-radius:9px;padding:9px 12px;cursor:pointer}.pagination button:disabled{opacity:.45;cursor:default}.dark .history-search,.dark .pagination button{background:#16231f;color:#e7eeec;border-color:#30423d}.project-information{margin-top:16px}.area-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.area-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;text-align:left;border:1px solid #e0eae7;border-radius:15px;background:#fff;color:inherit;padding:18px;cursor:pointer}.area-card:hover{border-color:#76b5aa;box-shadow:0 7px 22px #163c3212}.area-card h3,.area-card p{margin:0 0 5px}.area-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#e3f2ee;font-size:23px}.area-icon.large{width:50px;height:50px;font-size:27px}.area-icon-fieldset{grid-column:1 / -1;min-width:0;margin:0;padding:0;border:0}.form-section{display:grid;grid-column:1 / -1;gap:14px}.form-section>h3{margin:0 0 2px}.document-owner-picker{display:grid;gap:10px;padding:14px;border:1px solid #dce7e4;border-radius:12px;background:#f8fbfa}.owner-search-results{display:grid;gap:6px;max-height:245px;overflow-y:auto}.owner-search-results button,.owner-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border:1px solid #dce7e4;border-radius:10px;background:#fff;color:inherit;text-align:left}.owner-search-results button{cursor:pointer}.owner-search-results button:hover{border-color:#0f766e;background:#eef8f5}.owner-search-results strong,.owner-search-results small,.owner-selection strong,.owner-selection small{display:block}.owner-search-results small,.owner-selection small{margin-top:2px;color:#6b7c77}.form-warning{color:#8a5a00;font-weight:600}.form-info{align-self:stretch;padding:11px 12px;border:1px solid #b9ddd5;border-radius:10px;background:#eef8f5;color:#28514a;font-size:.84rem;font-weight:600;line-height:1.4}.dark .document-owner-picker,.dark .owner-search-results button,.dark .owner-selection{background:#16231f;border-color:#30423d}.area-icon-fieldset legend{margin-bottom:8px;font-weight:700}.area-icon-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;max-height:260px;padding:4px;overflow-y:auto}.area-icon-picker button{min-height:76px;padding:8px 5px;border:1px solid #d7e2df;border-radius:12px;background:#fff;color:inherit;cursor:pointer}.area-icon-picker button span{display:block;margin-bottom:3px;font-size:1.65rem}.area-icon-picker button small{display:block;color:#687b77;font-size:.68rem;line-height:1.15}.area-icon-picker button:hover,.area-icon-picker button.selected{border-color:#0f8277;background:#e3f2ee;box-shadow:0 0 0 2px #0f82772e}.dark .area-icon-picker button{background:#14221f;border-color:#30433f}.dark .area-icon-picker button:hover,.dark .area-icon-picker button.selected{background:#183b35;border-color:#55a99b}.area-info{margin-top:16px}.pre-wrap{white-space:pre-wrap;line-height:1.5}.label-hint{font-weight:400}.dark .area-card{background:#16231f;border-color:#30423d}.audit-item{position:relative;padding:3px 0 24px 25px;border-left:2px solid #dce7e4}.audit-item:last-child{border-left-color:transparent}.audit-item p{margin:5px 0;color:#53645f}.audit-item small{color:#758680}.audit-dot{position:absolute;width:13px;height:13px;border-radius:50%;background:#0f766e;left:-7px;top:5px;border:3px solid #e5f5f1}.audit-dot.delete,.audit-dot.delete_file{background:#c3362b}.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dark .project-card{background:#16231f;border-color:#30423d}.dark .dialog>div{background:#16231f;color:#e7eeec}.dark .btn.secondary{background:#293b36;color:#e7eeec}@media (max-width: 900px){.cards{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.project-grid,.area-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 700px){.app{display:block}.sidebar{display:none}.main{padding:0 14px 90px}.header{height:64px}.header h1{font-size:20px}.search{display:none}.cards{grid-template-columns:1fr 1fr;gap:10px}.card{padding:15px}.metric{font-size:22px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#102d28;color:#fff;z-index:10;justify-content:space-around;padding:9px 4px calc(9px + env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:transparent;color:inherit;font-size:11px;display:grid;justify-items:center;gap:3px}.fab{display:block;position:fixed;right:18px;bottom:78px;border:0;width:54px;height:54px;border-radius:50%;background:#0f766e;color:#fff;font-size:28px;z-index:9}.table thead{display:none}.table,.table tbody,.table tr,.table td{display:block}.table tr{border:1px solid #e2ebe8;border-radius:12px;margin:10px 0;padding:9px}.table td{border:0;padding:5px}.table td:before{content:attr(data-label);font-weight:700;margin-right:8px}.menu{display:block}.project-grid,.area-grid{grid-template-columns:1fr}.area-metrics{grid-template-columns:1fr 1fr}.project-head{display:block}.project-head>.row{margin-top:16px}.project-head h2{font-size:25px}.form-grid{grid-template-columns:1fr}.project-metrics{grid-template-columns:1fr 1fr}.details{grid-template-columns:1fr}.details dd{margin-bottom:8px}.relation-heading{align-items:flex-start}.relation-heading .btn{white-space:nowrap}.detail-list{grid-template-columns:1fr;gap:3px}.detail-list dd{margin-bottom:10px}.attachment-row{grid-template-columns:auto 1fr}.attachment-row a{grid-column:2}.notes-grid{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(4,1fr)}.history-toolbar{display:block}.history-search{margin-top:8px}.pagination{gap:8px;font-size:13px}.pagination button{padding:8px}.lightbox{padding:55px 12px 20px}.lightbox-prev,.lightbox-next{top:auto;bottom:20px}.relation-heading>.row{flex-wrap:wrap;justify-content:flex-end}}.device-filter-actions{align-items:end;align-self:end;min-height:44px}.device-result-count{margin:12px 0 4px}.admin-log-filters{margin-bottom:12px}.log-summary p{display:flex;align-items:center;gap:6px}.log-table-wrap{overflow-x:auto}.log-level{display:inline-flex;border-radius:999px;padding:3px 8px;font-size:.75rem;font-weight:800;background:#e7f0f7;color:#28566f}.log-level.warn{background:#fff1cc;color:#8a5300}.log-level.error{background:#fee4e2;color:#b42318}.table-icon-link{display:inline-grid;place-items:center;color:inherit}.document-open-button{display:inline-flex;margin-top:18px;text-decoration:none}.task-priority{display:inline-flex;border-radius:999px;padding:3px 8px;font-size:.78rem;font-weight:750;background:#eef2f3}.task-priority.high{background:#fee4e2;color:#b42318}.task-priority.low{background:#e5f6ed;color:#16794a}.task-overdue{color:#b42318;font-weight:750}.badge.open,.badge.in_progress{background:#fff1cc;color:#8a5300}.badge.done{background:#e5f6ed;color:#16794a}.expense-filters,.list-filter-panel{gap:18px;margin-bottom:12px;padding:22px}.list-filter-heading{display:flex;align-items:center;gap:12px}.list-filter-heading h3,.list-filter-heading p{margin:0}.list-filter-heading p{margin-top:3px;font-size:.9rem}.list-filter-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#e5f3f0;color:#0f766e}.list-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 16px}.list-filter-grid label{display:grid;align-content:end;gap:7px;min-width:0;color:#304b45;font-size:.86rem;font-weight:700}.list-filter-grid input,.list-filter-grid select{width:100%;min-width:0;height:44px;box-sizing:border-box;background:#fbfdfc}.list-filter-grid input:focus,.list-filter-grid select:focus{border-color:#0f766e;outline:3px solid #0f766e1f}.filter-field-note{color:#6b7c77;font-size:.76rem;font-weight:500;line-height:1.35}.list-filter-search{grid-column:span 2}.list-filter-actions{padding-top:16px;border-top:1px solid #e5ecea}.list-filter-actions .btn{min-height:42px}.dark .list-filter-icon{background:#20433b;color:#79c8b8}.dark .list-filter-grid label{color:#cfddd9}.dark .list-filter-grid input,.dark .list-filter-grid select{background:#13201d}.dark .list-filter-actions{border-top-color:#30423d}.expense-filter-heading{display:flex;align-items:center;gap:12px}.expense-filter-heading h3,.expense-filter-heading p{margin:0}.expense-filter-heading p{margin-top:3px;font-size:.9rem}.expense-filter-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#e5f3f0;color:#0f766e}.expense-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 16px}.expense-filter-grid label{display:grid;align-content:end;gap:7px;min-width:0;color:#304b45;font-size:.86rem;font-weight:700}.expense-filter-grid input,.expense-filter-grid select{width:100%;min-width:0;height:44px;box-sizing:border-box;background:#fbfdfc}.expense-filter-grid input:focus,.expense-filter-grid select:focus{border-color:#0f766e;outline:3px solid #0f766e1f}.expense-filter-search{grid-column:span 2}.expense-filter-actions{padding-top:16px;border-top:1px solid #e5ecea}.expense-filter-actions .btn{min-height:42px}.dark .expense-filter-icon{background:#20433b;color:#79c8b8}.dark .expense-filter-grid label{color:#cfddd9}.dark .expense-filter-grid input,.dark .expense-filter-grid select{background:#13201d}.dark .expense-filter-actions{border-top-color:#30423d}@media (max-width: 1100px){.expense-filter-grid,.list-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.expense-filters,.list-filter-panel{padding:17px}.expense-filter-grid,.list-filter-grid{grid-template-columns:1fr}.expense-filter-search,.list-filter-search{grid-column:auto}.expense-filter-actions,.list-filter-actions{align-items:stretch;flex-direction:column}.expense-filter-actions .btn,.list-filter-actions .btn{width:100%}}.expense-summary{margin:10px 0}.expense-summary p{margin:0}.expense-summary-note{display:block;margin-top:3px}.filter-suggestion{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;border-color:#f1c75b}.filter-suggestion p{margin:0}.payment-status{display:inline-flex;border-radius:999px;padding:3px 8px;font-size:.78rem;font-weight:750;background:#fff1cc;color:#8a5300}.payment-status.paid{background:#e5f6ed;color:#16794a}.payment-status.overdue{background:#fee4e2;color:#b42318}.payment-status.cancelled{background:#eef2f3;color:#667085}.supplier-link-picker{display:flex;align-items:end;gap:12px;margin-bottom:14px}.supplier-link-picker label{display:grid;flex:1;gap:7px;font-weight:700}.supplier-link-picker select{border:1px solid #cfddda;border-radius:9px;min-height:43px;padding:10px}.category-manager-list{display:grid;gap:8px;max-height:300px;margin:14px 0 20px;overflow-y:auto}.category-manager-row{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e0e9e7;border-radius:10px}.category-color{width:13px;height:13px;border-radius:50%}@media (max-width: 640px){.supplier-link-picker{align-items:stretch;flex-direction:column}}.overhead-dialog{width:min(760px,calc(100vw - 32px));max-width:760px}.overhead-dialog .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.overhead-dialog .form-grid .full{grid-column:1/-1}.clickable-row{cursor:pointer}.clickable-row:hover{background:#f6faf9}.table-actions button.success,.table-payment-action.success{background:#e5f6ed;color:#16794a}.overhead-bulk-bar{display:flex;align-items:center;gap:12px;margin:12px 0;padding:14px 18px}.overhead-bulk-bar strong{margin-right:auto}.danger-action{background:#b42318!important;color:#fff!important}.action-table input[type=checkbox]{width:18px;height:18px;accent-color:#0f766e;cursor:pointer}.task-bulk-bar label{display:grid;gap:4px;font-size:.8rem;font-weight:700}.task-bulk-bar select{min-width:155px;padding:9px 34px 9px 10px;border:1px solid #cfddda;border-radius:9px;background:#fff}.overhead-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 22px}.overhead-detail-stat{padding:16px;border:1px solid #e0e9e7;border-radius:12px;background:#f8fbfa}.overhead-detail-stat strong{margin-top:5px;font-size:1.15rem}.overhead-payment-table{overflow-x:auto;margin-bottom:24px}.overhead-payment-table .table{min-width:600px}.table-payment-action{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:9px;background:#e6efed;color:#1e4540;cursor:pointer}.overhead-attachments-section{padding:18px;border:1px solid #e0e9e7;border-radius:14px;background:#fbfdfc}.overhead-attachments-section h3{margin-top:0}.overhead-attachment-list{display:grid;gap:6px;margin-bottom:14px}.overhead-attachment-list a{padding:9px 11px;border-radius:9px;background:#edf5f3;color:#0f766e;font-weight:650;text-decoration:none}.overhead-inline-attachment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.overhead-attachment-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end}.overhead-attachment-submit{grid-column:1/-1}.overhead-detail-actions{margin-top:18px}.result-summary{margin:18px 0 10px}.block{display:block}.status-toggle{border:0;border-radius:999px;padding:7px 11px;font-weight:700;cursor:pointer}.status-toggle.active{color:#087443;background:#dcf6e9}.status-toggle.inactive{color:#9b2c2c;background:#fee8e7}@media (max-width:700px){.overhead-dialog .form-grid,.overhead-detail-summary,.overhead-attachment-form,.overhead-inline-attachment-grid{grid-template-columns:1fr}.overhead-dialog .form-grid .full{grid-column:auto}.result-summary,.overhead-bulk-bar{align-items:stretch;flex-direction:column}.overhead-bulk-bar strong{margin-right:0}.overhead-payment-table{overflow:visible}.overhead-payment-table .table{min-width:0}.overhead-detail-actions{align-items:stretch;flex-direction:column}}
