:root{--ink:#17313a;--muted:#667982;--line:#dce5e8;--panel:#fff;--bg:#eef3f5;--teal:#0b5363;--teal-dark:#073e4b;--purple:#76177d;--green:#00b050;--red:#f01b35;--yellow:#e4a20b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}html{height:100%}body{margin:0;min-width:320px;height:100%;overflow:hidden;background:var(--bg);font-size:16px}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}
.topbar{height:82px;flex:0 0 auto;padding:0 30px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 1px 8px rgb(23 49 58/6%)}.brand{display:flex;align-items:center;gap:13px;min-width:0}.brand-logo{display:block;width:150px;height:50px;object-fit:contain}.brand h1{margin:0;font-size:20px;line-height:1.15;letter-spacing:-.02em}.brand p{margin:3px 0 0;color:var(--muted);font-size:13px}.brand.compact{margin-bottom:24px}.brand.compact .brand-mark{width:48px;height:48px}.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--teal);color:#fff;font-weight:800;font-size:22px}.top-actions{display:flex;align-items:center;gap:10px}.user-name{font-size:14px;color:var(--muted)}
.primary,.secondary,.danger,.link-button{border-radius:9px;padding:10px 16px;border:1px solid transparent;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary{background:var(--teal);color:#fff}.primary:hover{background:var(--teal-dark)}.secondary,.link-button{background:#fff;border-color:#cfdadd;color:var(--ink)}.secondary:hover,.link-button:hover{background:#f4f7f8}.danger{background:#fff;border-color:#e6aeb2;color:#b51f2a}.danger:hover{background:#fff0f1;border-color:#d96f77}.text-button{border:0;background:transparent;color:var(--teal);font-weight:700;padding:0 8px}.workspace{height:calc(100vh - 82px);padding:24px 30px 24px;max-width:1920px;margin:0 auto;display:flex;flex-direction:column;overflow:hidden}.page-head{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}
.tabs{display:flex;background:#dfe8eb;border-radius:10px;padding:4px}.tabs button{min-width:145px;height:38px;padding:0 18px;border:0;border-radius:7px;background:transparent;color:#50656e;font-weight:700}.tabs button.active{background:#fff;color:var(--teal);box-shadow:0 1px 4px rgb(25 52 62/12%)}.page-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px}.search{width:min(360px,36vw);height:42px;position:relative}.search span{position:absolute;left:13px;top:5px;font-size:27px;color:#778990}.search input{width:100%;height:42px;padding:0 14px 0 40px;background:#fff;border:1px solid #cbd7db;border-radius:9px}.search input:focus{outline:3px solid rgb(11 83 99/14%);border-color:var(--teal)}.install-app-button{height:42px;padding:0 13px;border:1px solid #6dc590;border-radius:9px;background:#ecf9f1;color:#08713b;font-size:12px;font-weight:800;white-space:nowrap}.install-app-button:hover{background:#dff5e8}.sync-status{height:42px;min-width:205px;padding:5px 11px;border:1px solid #cbd7db;border-radius:9px;background:#fff;color:var(--ink);display:flex;align-items:center;gap:9px;text-align:left}.sync-status>i{width:10px;height:10px;border-radius:50%;background:#91a0a6;flex:0 0 auto}.sync-status>span{min-width:0;display:flex;flex-direction:column}.sync-status b{font-size:12px;line-height:1.15}.sync-status small{font-size:10px;line-height:1.2;color:var(--muted);white-space:nowrap}.sync-status.synced>i{background:var(--green)}.sync-status.syncing>i{background:var(--yellow);animation:sync-pulse 1s infinite}.sync-status.offline>i,.sync-status.error>i{background:var(--red)}@keyframes sync-pulse{50%{opacity:.3}}
.summary-grid{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(170px,1fr));gap:12px;margin-bottom:18px}.summary-card{min-height:72px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 17px;display:flex;align-items:center;gap:12px;text-align:left;box-shadow:0 1px 3px rgb(23 49 58/4%)}.summary-card:hover,.summary-card.selected{border-color:var(--teal);box-shadow:0 0 0 3px rgb(11 83 99/10%)}.summary-card span:last-child{display:flex;flex-direction:column}.summary-card strong{font-size:23px;line-height:1}.summary-card small{font-size:13px;color:var(--muted);margin-top:5px}.status-dot{width:13px;height:13px;border-radius:50%;flex:0 0 auto}.status-dot.active{background:var(--green)}.status-dot.soon{background:var(--yellow)}.status-dot.expired{background:var(--red)}
.notice,.error-banner,.success-banner{flex:0 0 auto;margin:0 0 16px;padding:12px 15px;border-radius:9px;border:1px solid}.notice.error,.error-banner{background:#fff0f1;border-color:#f1b9bd;color:#9f1721}.notice.success,.success-banner{background:#ecf9f1;border-color:#aadfbe;color:#126d38}.table-shell{flex:1 1 auto;min-height:0;background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 2px 7px rgb(23 49 58/5%);display:flex;flex-direction:column}.table-scroll{flex:1 1 auto;min-height:0;overflow:auto;max-height:none}table{border-collapse:separate;border-spacing:0;width:100%;min-width:1540px}th{position:sticky;top:0;z-index:3;height:45px;background:var(--teal);color:#fff;border-right:1px solid rgb(255 255 255/12%);font-size:13px;font-weight:800;text-align:center}td{height:78px;border-right:1px solid #e6edef;border-bottom:1px solid #e6edef;background:#fff;padding:0}th.client-col,td.client-col{position:sticky;left:0;width:270px;min-width:270px;z-index:2}th.contract-col,td.contract-col{position:sticky;left:270px;width:225px;min-width:225px;z-index:2}th.client-col,th.contract-col{z-index:5}tr:hover td{background:#f8fbfc}.client-button,.contract-button,.month-cell{width:100%;height:100%;border:0;background:transparent}.client-button,.contract-button{text-align:left;padding:10px 14px;display:flex;flex-direction:column;justify-content:center}.client-name{font-size:14px;font-weight:800;line-height:1.25}.comment-hint{font-size:12px;color:#7a8b92;margin-top:7px}.comment-hint.has-comment{color:var(--purple);font-weight:700}.contract-badge{display:inline-flex;align-items:center;gap:6px;width:max-content;font-size:11px;font-weight:800;padding:3px 7px;border-radius:99px;margin-bottom:4px}.contract-badge i{width:7px;height:7px;border-radius:50%}.contract-badge.active{background:#e6f8ed;color:#08713b}.contract-badge.active i{background:var(--green)}.contract-badge.soon{background:#fff4d7;color:#956600}.contract-badge.soon i{background:var(--yellow)}.contract-badge.expired{background:#ffe7e9;color:#ac1924}.contract-badge.expired i{background:var(--red)}.contract-button b{font-size:13px}.contract-button small{font-size:12px;color:var(--muted);margin-top:3px}.contract-note{font-size:11px;color:var(--purple);margin-top:4px;font-weight:700}.month-cell{min-width:85px;display:flex;align-items:center;justify-content:center}.month-cell.empty{color:transparent;font-size:26px;background:#fff;transition:color .12s ease,background .12s ease}.month-cell.empty:hover,.month-cell.empty:focus-visible{color:var(--teal);background:#edf7f8}.work-stack{flex-direction:column;align-items:center;gap:3px;padding:4px}.work-chip{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;font-size:15px;font-weight:900}.work-chip.planned{color:var(--red);font-size:16px;width:96px;display:grid;grid-template-columns:16px 24px minmax(38px,1fr);column-gap:3px;align-items:center;justify-content:center}.work-chip.planned i{width:14px;height:14px;border-radius:50%;background:var(--red);flex:0 0 auto}.work-markers{min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:3px}.work-chip.amount{flex-direction:column;gap:0;line-height:1.05}.work-chip.amount b{font-size:15px}.work-chip.amount small{font-size:11px;margin-top:2px}.work-chip.invoiced{color:var(--red)}.work-chip.paid{color:var(--green)}.work-chip.partial-payment .paid-part{color:var(--green)}.work-chip.partial-payment .unpaid-part{color:var(--red);margin-top:2px}.state-cell{text-align:center;color:var(--muted);height:170px}.table-foot{flex:0 0 auto;min-height:44px;padding:9px 15px;background:#f8fafb;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}
dialog{border:0;padding:0;border-radius:14px;box-shadow:0 18px 60px rgb(9 34 43/25%);width:min(620px,calc(100vw - 30px));max-height:calc(100vh - 30px)}dialog::backdrop{background:rgb(10 31 38/58%)}.dialog-card{padding:25px;position:relative;overflow:auto;max-height:calc(100vh - 30px)}.dialog-card h2{margin:0 35px 5px 0;font-size:21px}.dialog-card>p{margin:0 35px 20px 0;color:var(--muted);font-size:14px;line-height:1.45}.dialog-x{position:absolute;right:15px;top:12px;border:0;background:transparent;color:#71838a;font-size:29px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid .full{grid-column:1/-1}.form-stack{display:flex;flex-direction:column;gap:15px}label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700}input,select,textarea{width:100%;border:1px solid #c9d6da;border-radius:8px;background:#fff;color:var(--ink);padding:10px 11px;min-height:42px}textarea{min-height:80px;resize:vertical}.large-note{min-height:150px}input:focus,select:focus,textarea:focus{outline:3px solid rgb(11 83 99/13%);border-color:var(--teal)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.dialog-actions.split-actions{justify-content:space-between;align-items:center}.dialog-actions.split-actions>span{display:flex;gap:10px}.renew-check{flex-direction:row;align-items:flex-start;background:#f2f7f8;padding:13px;border-radius:9px}.renew-check input{width:18px;min-height:18px;margin-top:2px}.renew-check span{display:flex;flex-direction:column}.renew-check small{font-weight:400;color:var(--muted);margin-top:3px}.existing-works{background:#f4f7f8;padding:12px;border-radius:9px;margin-bottom:10px}.existing-works>b{font-size:13px}.existing-works>div{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:8px}.existing-works button{border:1px solid #cfdbde;background:#fff;border-radius:7px;padding:8px;text-align:left}.existing-works button.selected{border-color:var(--teal);box-shadow:0 0 0 2px rgb(11 83 99/10%)}.existing-works button span{display:block;font-size:11px;color:var(--muted)}.existing-works em{display:block;margin-top:3px;font-style:normal}.red-text{color:var(--red)}.green-text{color:var(--green)}.add-year{margin:4px 0 12px}.work-preview{text-align:center;border-radius:9px;background:#f5f8f9;padding:11px;margin-bottom:14px;font-weight:800}.work-preview.planned,.work-preview.invoiced{color:var(--red)}.work-preview.paid{color:var(--green)}.work-preview.partial{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(145deg,#e9f1f3,#f7f9fa)}.auth-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:15px;padding:30px;box-shadow:0 18px 50px rgb(15 48 59/13%)}.setup-card{width:min(620px,100%)}.form-divider{font-size:13px;font-weight:800;color:var(--teal);border-top:1px solid var(--line);padding-top:14px;margin-top:4px}.login-submit{width:100%;min-height:44px}.login-submit:disabled{cursor:wait;opacity:.88}.login-submit.loading::before{content:'';width:15px;height:15px;border:2px solid rgb(255 255 255/45%);border-top-color:#fff;border-radius:50%;animation:login-spin .7s linear infinite}@keyframes login-spin{to{transform:rotate(360deg)}}
.invite-form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px}.invite-result{margin-top:16px;padding:14px;border:1px solid #aadfbe;border-radius:10px;background:#ecf9f1}.invite-result>b{display:block;margin-bottom:9px;font-size:13px;color:#126d38}.invite-result>div{display:flex;gap:8px;margin-top:9px}.users-list-wrap{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}.users-list-wrap h3{margin:0 0 10px;font-size:15px}.user-row{min-height:50px;padding:8px 2px;border-bottom:1px solid #edf1f2;display:flex;align-items:center;justify-content:space-between;gap:10px}.user-row>span{display:flex;flex-direction:column}.user-row small{margin-top:3px;color:var(--muted)}.user-row>i{width:10px;height:10px;border-radius:50%;background:var(--yellow)}.user-row>i.active{background:var(--green)}.activation-user{margin:0 0 18px;color:var(--muted)}
@media(max-width:920px){.topbar{padding:0 16px}.workspace{padding:16px}.page-head{align-items:stretch;flex-direction:column}.tabs{overflow-x:auto}.tabs button{min-width:128px}.page-tools{width:100%}.search{width:100%}.summary-grid{grid-template-columns:repeat(3,1fr)}th.client-col,td.client-col{width:235px;min-width:235px}th.contract-col,td.contract-col{left:235px;width:215px;min-width:215px}}
@media(max-width:650px){body{height:auto;min-height:100%;overflow-y:auto}.topbar{height:70px}.brand-logo{width:105px;height:40px}.brand h1{font-size:16px}.brand p,.user-name,.top-actions .link-button{display:none}.topbar .primary{padding:9px 11px;font-size:13px}.workspace{height:auto;display:block;overflow:visible}.page-tools{align-items:stretch;flex-direction:column}.page-tools .link-button,.install-app-button,.sync-status{width:100%;min-width:0;display:inline-flex}.invite-form{grid-template-columns:1fr}.invite-result>div{display:grid;grid-template-columns:1fr 1fr}.summary-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.existing-works>div{grid-template-columns:1fr}.dialog-actions.split-actions{align-items:stretch;flex-direction:column}.dialog-actions.split-actions>span{display:grid;grid-template-columns:1fr 1fr}.dialog-actions.split-actions .danger{width:100%}.table-shell{max-width:100%;display:block}.table-scroll{width:100%;max-width:100%;max-height:none;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.table-foot{align-items:flex-start;gap:7px;flex-direction:column}.client-heading-note{display:none}th.client-col,td.client-col{width:170px;min-width:170px;overflow:hidden;isolation:isolate;box-shadow:7px 0 9px -9px rgb(23 49 58/75%)}th.client-col{z-index:8;background:var(--teal)}td.client-col{z-index:4;background:#fff}tr:hover td.client-col{background:#f8fbfc}th.contract-col{left:auto;width:190px;min-width:190px}td.contract-col{position:static;width:190px;min-width:190px}}

.primary:disabled{opacity:.7;cursor:wait}
input[readonly],textarea[readonly]{background:#f1f5f6;color:#52666e;cursor:not-allowed}
.work-stack{padding:2px}.work-chip.planned{width:82px;grid-template-columns:14px 20px minmax(42px,1fr)}

.client-cell-inner{height:100%;min-height:78px;display:flex;flex-direction:column}.client-cell-inner .client-button{height:auto;min-height:54px;flex:1}.branch-toggle{border:0;background:transparent;color:var(--teal);padding:0 14px 8px;text-align:left;font-size:12px;font-weight:800}.branch-toggle:hover{color:var(--purple)}.branch-toggle span{display:inline-block;width:13px}.branch-row td{background:#f5fafb}.branch-row td.client-col{box-shadow:inset 4px 0 0 #73b8c3,7px 0 9px -9px rgb(23 49 58/75%)}.branch-row .client-button{padding-left:22px}.branch-kicker{font-size:10px;line-height:1;color:var(--teal);font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px}.record-actions{display:flex;gap:8px}
.auth-page{height:auto;overflow-y:auto}

/* Poslovne oznake, aneksi i mesečni izveštaj */
.salesperson-filter{height:42px;padding:0 15px;border:1px solid #82afea;border-radius:9px;background:#f3f8ff;color:#185fb5;font-weight:800}.salesperson-filter:hover,.salesperson-filter.selected{background:#1976d2;border-color:#1976d2;color:#fff}.salesperson-dragan td.client-col{box-shadow:inset 5px 0 0 #1976d2}.salesperson-badge{display:inline-flex;width:max-content;margin-top:5px;padding:2px 7px;border-radius:99px;background:#e7f1ff;color:#1460b6;font-size:10px;font-weight:900;letter-spacing:.04em}.salesperson-check{flex-direction:row;align-items:flex-start;background:#f3f8ff;padding:12px;border-radius:9px}.salesperson-check input{width:18px;min-height:18px;margin-top:2px}.salesperson-check span{display:flex;flex-direction:column}.salesperson-check small{font-weight:400;color:var(--muted);margin-top:3px}
.work-chip.planned{position:relative}.work-chip.planned b{font-size:16px}.work-chip.planned.extraordinary{color:#9b20c8}.work-chip.planned.extraordinary i{background:#a52bd0}.work-chip.planned.corrective{color:#ff5a00}.work-chip.planned.corrective i{background:#ff6a00;box-shadow:0 0 0 2px #ffe0cc}.work-chip.planned.contract-start{color:#8b1538}.work-chip.planned.contract-start i{width:16px;height:16px;background:#8b1538}.work-kind-mark,.work-confirmation-mark{display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:8px;font-weight:900;line-height:1;border-radius:4px;padding:2px 3px}.work-kind-mark.extraordinary{background:#f1dcfa;color:#8120a7}.work-kind-mark.corrective{background:#ff6a00;color:#fff}.work-kind-mark.contract-start{background:#f4dde5;color:#7d1231}.work-confirmation-mark{background:#dff3f6;color:#086477}.work-chip.amount small{display:flex;align-items:center;justify-content:center;gap:3px}.more-works{font-size:10px;font-weight:800;color:var(--teal)}.violet-text{display:block;color:#8e22b5;font-style:normal;font-size:11px}.corrective-text{display:block;color:#ff5a00;font-style:normal;font-size:11px;font-weight:900}.burgundy-text{display:block;color:#8b1538;font-style:normal;font-size:11px}.confirmation-text{display:block;margin-top:3px;color:#086477;font-style:normal;font-size:10px}.work-preview.extraordinary{background:#f7eafa;color:#8e22b5}.work-preview.corrective{background:#fff0e6;color:#ff5a00}.work-preview.contract-start{background:#f8e8ed;color:#8b1538}

/* Na telefonu su sva četiri odeljka vidljiva bez horizontalnog prevlačenja. */
@media(max-width:650px){.page-head .tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;overflow:visible}.page-head .tabs button{width:100%;min-width:0;height:48px;padding:5px 8px;white-space:normal;line-height:1.15}}
.annex-count{font-size:10px;color:#8b1538;font-weight:800;margin-top:3px}.annex-section{grid-column:1/-1;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.annex-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.annex-heading .secondary{padding:7px 10px;font-size:12px}.annex-list{display:grid;gap:7px}.annex-item{width:100%;padding:9px 11px;border:1px solid #d8e2e5;border-radius:8px;background:#f8fafb;text-align:left;display:grid;gap:2px}.annex-item:hover{border-color:var(--teal)}.annex-item b{font-size:13px}.annex-item small{color:var(--muted)}.annex-item em{color:#8b1538;font-size:10px;font-style:normal;font-weight:800}.annex-item.inherited{cursor:default;border-style:dashed}.empty-annexes{font-size:12px;color:var(--muted)}
.report-dialog{width:min(1050px,calc(100vw - 30px))}.report-filters{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px}.report-summary{display:flex;justify-content:space-between;align-items:center;margin:16px 0 9px;color:var(--muted)}.report-summary b{color:var(--ink)}.report-preview-wrap{max-height:48vh;overflow:auto;border:1px solid var(--line);border-radius:9px}.report-preview{min-width:780px;border-collapse:collapse}.report-preview th{position:sticky;top:0;height:38px;font-size:11px}.report-preview td{height:auto;padding:8px 9px;font-size:12px}.report-preview td:nth-child(1){white-space:nowrap}.report-preview td:nth-child(2) small{display:block;color:#1976d2;margin-top:2px}.report-kind{display:inline-flex;padding:3px 6px;border-radius:99px;font-size:10px;font-weight:900;background:#ffe6e9;color:#d3162d}.report-kind.extraordinary{background:#f1dcfa;color:#8120a7}.report-kind.corrective{background:#ff6a00;color:#fff}
@media(max-width:1500px){.page-head{align-items:stretch;flex-wrap:wrap}.page-tools{flex:1 1 760px;flex-wrap:wrap}.page-tools .search{flex:1 1 260px;width:auto}}
@media(max-width:920px){.page-tools{flex:0 0 auto;flex-wrap:wrap}.report-filters{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.page-tools{flex:0 0 auto}.page-tools .search{flex:0 0 42px;width:100%;height:42px}.salesperson-filter{width:100%}.report-filters{grid-template-columns:1fr}.report-dialog .dialog-card{padding:18px}.annex-heading{align-items:stretch;flex-direction:column}.annex-heading .secondary{width:100%}}

.central-auto-info{background:#edf7f8;border:1px solid #b9d9df;border-radius:10px;padding:14px;margin:0 0 12px}.central-auto-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px}.central-auto-heading>b{font-size:14px;color:var(--teal)}.central-auto-heading span{font-size:12px;color:var(--muted);font-weight:800}.central-auto-summary{display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:#fff;border-radius:8px;padding:11px 12px;margin-bottom:8px}.central-auto-summary .auto-part{display:flex;flex-direction:column;gap:2px}.central-auto-summary .auto-part b{font-size:17px}.central-auto-summary .auto-part small{font-size:11px;font-weight:800}.central-auto-info>small{display:block;color:var(--muted);line-height:1.4;margin-bottom:10px}.central-auto-info #manual-central-override{width:100%}.existing-works button.auto-aggregate-item{background:#eef8f9;border-color:#a9d0d7}.existing-works button.auto-aggregate-item b{display:block;color:var(--teal);font-size:12px;margin:2px 0 4px}.existing-works button.auto-aggregate-item .auto-lines{display:flex;gap:9px;flex-wrap:wrap;font-size:12px;font-weight:900}.central-override-draft-note{font-size:12px;color:#7c5a00;background:#fff7d6;border:1px solid #ead58a;border-radius:8px;padding:9px 10px;margin:-4px 0 12px}.hidden{display:none!important}

/* Bez ugovora — četvrta sekcija */
.contract-badge.nocontract{background:#eef2f4;color:#566a72}.contract-badge.nocontract i{background:#7d9097}.contract-static{cursor:default}.summary-grid.no-contract-mode{grid-template-columns:minmax(220px,1fr)}.summary-grid.no-contract-mode .summary-card[data-filter="soon"],.summary-grid.no-contract-mode .summary-card[data-filter="expired"]{display:none}.summary-grid.no-contract-mode .summary-card{pointer-events:none}

.summary-grid.no-contract-mode .status-dot.active{background:#7d9097}

.client-name-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;width:100%;min-width:0}.client-name-row .client-name{min-width:0;flex:1}.client-debt{flex:0 0 auto;color:var(--red);font-size:13px;font-weight:900;line-height:1.25;text-align:right;white-space:nowrap;margin-left:auto}
