.client-management{width:min(1120px,100%);min-width:0;color:var(--foreground);font-family:var(--font-poppins), "Poppins", Arial, Helvetica, sans-serif;margin:auto}.client-management :is(button,input,textarea,select){font-family:var(--font-poppins), "Poppins", Arial, Helvetica, sans-serif}.client-notice{color:#356f55;background:#e9f7ef;border:1px solid #bde5cc;border-radius:10px;margin-bottom:12px;padding:11px 14px;font-size:.72rem;font-weight:600}.dark .client-notice{color:#86d3a9;background:#173025;border-color:#28533a}.client-filters{grid-template-columns:minmax(260px,1fr) 190px;gap:10px;margin-bottom:10px;display:grid}.client-filters>label{border:1px solid var(--border);background:var(--surface);border-radius:9px;align-items:center;gap:9px;min-height:42px;padding:0 12px;display:flex}.client-filters>label:focus-within{border-color:#0876ed;box-shadow:0 0 0 3px #0876ed17}.client-filters svg{width:16px;color:var(--muted)}.client-filters input{width:100%;color:var(--foreground);font-family:var(--font-poppins), Arial, sans-serif;background:0 0;border:0;outline:0;font-size:.68rem;font-weight:500}.client-table{border:1px solid var(--border);background:var(--surface);border-radius:14px;overflow:hidden}.client-table>header,.client-table>article{grid-template-columns:1.2fr 1.2fr 1fr .6fr .7fr 108px;align-items:center;gap:12px;padding:0 15px;display:grid}.client-table>header{min-height:43px;color:var(--muted);background:var(--surface-muted);text-transform:uppercase;font-size:.58rem;font-weight:800}.client-table>header span:last-child{text-align:right}.client-table>article{border-top:1px solid var(--border);min-height:70px;font-size:.66rem}.client-table>article:hover{background:var(--surface-muted)}.client-table article>div:first-child{align-items:center;gap:9px;min-width:0;display:flex}.client-table article>div:first-child>b{color:#fff;background:#0876ed;border-radius:9px;flex:none;place-items:center;width:34px;height:34px;font-size:.58rem;display:grid}.client-table article>div:first-child>span,.client-table article>span:nth-child(2){gap:2px;min-width:0;display:grid}.client-table :is(strong,small,article>span){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.client-table small,.client-table article>span{color:var(--muted);font-size:.6rem}.client-table em{border-radius:99px;width:max-content;padding:5px 8px;font-size:.55rem;font-style:normal;font-weight:800}.client-table em.active{color:#177553;background:#e7f7ef}.client-table em.inactive{color:#a44751;background:#fae9eb}.client-state{border:1px dashed var(--border);min-height:190px;color:var(--muted);background:var(--surface);border-radius:14px;justify-content:center;align-items:center;gap:9px;font-size:.7rem;display:flex}.client-state.error{color:#9a4551;flex-direction:column}.client-state>svg{color:#0876ed;width:30px}.client-state>i{border:2px solid #0876ed;border-right-color:#0000;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite client-spin}.client-state button{color:#0876ed;min-height:36px;font-family:var(--font-poppins), Arial, sans-serif;cursor:pointer;background:0 0;border:1px solid #0876ed;border-radius:8px;padding:0 12px;font-size:.64rem;font-weight:700;transition:border-color .16s,background .16s,color .16s,box-shadow .16s,transform .16s}.client-state button:hover,.client-state button:focus-visible,.client-history-state button:hover,.client-history-state button:focus-visible{color:#fff;background:#0876ed;border-color:#0876ed;outline:0;transform:translateY(-1px);box-shadow:0 10px 24px #0876ed29}.dark .client-state button:hover,.dark .client-state button:focus-visible,.dark .client-history-state button:hover,.dark .client-history-state button:focus-visible{color:#a7d7ff;background:#212123;border-color:#424244}.client-pagination{color:var(--muted);justify-content:space-between;align-items:center;margin-top:10px;font-size:.63rem;display:flex}.client-pagination div{gap:6px;display:flex}.client-pagination button{border:1px solid var(--border);width:32px;height:31px;color:var(--foreground);background:var(--surface);border-radius:8px;place-items:center;display:grid}.client-pagination button:disabled{opacity:.4}.client-pagination svg{width:14px}.client-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding:22px;display:grid}.client-detail-grid article{border:1px solid var(--border);background:var(--surface-muted);border-radius:10px;gap:5px;min-width:0;padding:14px;display:grid}.client-detail-grid article span{color:var(--muted);font-size:.61rem}.client-detail-grid article strong{text-overflow:ellipsis;font-size:.7rem;overflow:hidden}.client-detail-grid .management-form-footer{grid-column:1/-1;margin-top:5px}@keyframes client-spin{to{transform:rotate(360deg)}}@media (max-width:900px){.client-table{overflow-x:auto}.client-table>header,.client-table>article{min-width:900px}}@media (max-width:680px){.client-filters,.client-detail-grid{grid-template-columns:1fr}.client-detail-grid .management-form-footer{grid-column:1}.client-pagination{flex-direction:column;align-items:flex-start;gap:10px}}.client-mobile-list{display:none}.client-pagination>div{flex-wrap:wrap}.client-pagination button{width:auto;min-width:32px;font-family:var(--font-poppins), Arial, sans-serif;padding:0 8px;font-size:.61rem;font-weight:700}.client-pagination button.active{color:#fff;background:#0876ed;border-color:#0876ed}.client-state-actions,.client-detail-actions{align-items:center;gap:8px;display:flex}.client-detail-workspace{display:grid}.client-pricing{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:0 22px 22px;overflow:hidden}.client-pricing>header{border-bottom:1px solid var(--border);background:var(--surface-muted);justify-content:space-between;align-items:center;gap:14px;min-height:70px;padding:14px 16px;display:flex}.client-pricing>header>div:first-child{gap:2px;display:grid}.client-pricing>header span{color:#0876ed;letter-spacing:.07em;text-transform:uppercase;font-size:.61rem;font-weight:800}.client-pricing h3{color:var(--foreground);margin:0;font-size:.9rem;font-weight:700}.client-pricing-list{display:grid}.client-pricing-list>article{border-top:1px solid var(--border);grid-template-columns:minmax(180px,1.3fr) minmax(120px,.95fr) minmax(150px,1fr) minmax(100px,.75fr) auto;align-items:center;gap:12px;min-height:82px;padding:14px 16px;display:grid}.client-pricing-list>article:first-child{border-top:0}.client-pricing-list>article>div{gap:4px;min-width:0;display:grid}.client-pricing-list>article :is(strong,span){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.client-pricing-list>article>div span,.client-pricing-detail>header p,.client-pricing-history article small,.client-pricing-history article p{color:var(--muted);font-size:.61rem}.client-pricing-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.client-pricing-actions button{border:1px solid var(--border);min-height:34px;color:var(--foreground);background:var(--surface-muted);font-family:var(--font-poppins), Arial, Helvetica, sans-serif;cursor:pointer;border-radius:9px;padding:0 12px;font-size:.63rem;font-weight:700}.client-pricing-actions button:hover,.client-pricing-actions button:focus-visible{color:#0876ed;background:color-mix(in srgb, #0876ed 7%, var(--surface));border-color:#0876ed}.client-pricing-detail{border-top:1px solid var(--border);background:var(--surface-muted);gap:16px;padding:16px;display:grid}.client-pricing-detail>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.client-pricing-detail>header>div{gap:4px;display:grid}.client-pricing-detail>header h4{margin:0;font-size:.82rem}.client-pricing-detail>header span{color:#0876ed;letter-spacing:.07em;text-transform:uppercase;font-size:.61rem;font-weight:800}.client-pricing-detail textarea{resize:vertical;width:100%;min-height:94px;color:var(--foreground);font-family:var(--font-poppins), Arial, Helvetica, sans-serif;background:0 0;border:0;outline:0;font-size:.68rem;line-height:1.55}.client-pricing-history{gap:12px;display:grid}.client-pricing-history>article{border:1px solid var(--border);background:var(--surface);border-radius:10px;gap:5px;padding:14px;display:grid}.client-pricing-history-list{display:grid}.client-pricing-history-list>article{border-top:1px solid var(--border);background:var(--surface);gap:8px;padding:14px;display:grid}.client-pricing-history-list>article:first-child{border-top:0}.client-pricing-history-list>article>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.client-pricing-history-list>article p{margin:0}.client-contacts{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:0 22px 22px;overflow:hidden}.client-contacts>header{border-bottom:1px solid var(--border);background:var(--surface-muted);justify-content:space-between;align-items:center;gap:14px;min-height:70px;padding:14px 16px;display:flex}.client-contacts>header>div:first-child{gap:2px;display:grid}.client-contacts>header span,.client-contact-form-heading>span{color:#0876ed;letter-spacing:.07em;text-transform:uppercase;font-size:.61rem;font-weight:800}.client-contacts h3,.client-contact-form-heading h3{color:var(--foreground);margin:0;font-size:.9rem;font-weight:700}.client-contact-list{display:grid}.client-contact-list>article{border-top:1px solid var(--border);min-height:72px;color:var(--foreground);grid-template-columns:38px minmax(130px,1fr) minmax(150px,1.15fr) minmax(120px,.9fr) auto 42px;align-items:center;gap:11px;padding:12px 15px;font-size:.65rem;display:grid}.client-contact-list>article:first-child{border-top:0}.client-contact-avatar{color:#fff;text-transform:uppercase;background:#0876ed;border-radius:10px;place-items:center;width:36px;height:36px;font-size:.59rem;font-weight:800;display:grid}.client-contact-identity,.client-contact-channel{gap:3px;min-width:0;display:grid}.client-contact-identity span,.client-contact-channel span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.6rem;overflow:hidden}.client-contact-channel{grid-template-columns:15px 1fr;align-items:center}.client-contact-channel svg{color:#0876ed;width:14px}.client-contact-badges{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.client-contact-badges em,.client-mobile-list em{border-radius:99px;align-items:center;gap:4px;width:max-content;padding:5px 7px;font-size:.53rem;font-style:normal;font-weight:800;display:inline-flex}.client-contact-badges em svg{width:11px}.client-contact-badges .primary{color:#0876ed;background:color-mix(in srgb, #0876ed 11%, var(--surface))}.client-contact-badges .active,.client-mobile-list em.active{color:#177553;background:#e7f7ef}.client-contact-badges .inactive,.client-mobile-list em.inactive{color:#a44751;background:#fae9eb}.client-contact-empty{min-height:150px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:24px;display:flex}.client-contact-empty svg{color:#0876ed;width:27px}.client-contact-empty strong{color:var(--foreground);font-size:.72rem}.client-contact-empty span{font-size:.63rem}.client-contact-form{border-top:0}.client-contact-form-heading{border-bottom:1px solid var(--border);grid-column:1/-1;gap:3px;padding-bottom:8px;display:grid}.client-contact-form-heading p{color:var(--muted);margin:0;font-size:.65rem}.client-primary-toggle{border:1px solid var(--border);min-height:45px;color:var(--muted);background:var(--surface);font-family:var(--font-poppins), Arial, Helvetica, sans-serif;cursor:pointer;border-radius:9px;align-items:center;gap:9px;padding:0 12px;font-size:.68rem;font-weight:700;display:inline-flex}.client-primary-toggle>span{background:color-mix(in srgb, var(--muted) 24%, var(--surface));border-radius:99px;width:34px;height:19px;position:relative}.client-primary-toggle>span:after{content:"";background:var(--surface);border-radius:50%;width:13px;height:13px;transition:transform .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #1e142838}.client-primary-toggle.active{border-color:color-mix(in srgb, #0876ed 45%, var(--border));color:#0876ed}.client-primary-toggle.active>span{background:#0876ed}.client-primary-toggle.active>span:after{transform:translate(15px)}.client-history{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:0 22px 22px;overflow:hidden}.client-history>header{border-bottom:1px solid var(--border);background:var(--surface-muted);justify-content:space-between;align-items:center;gap:14px;min-height:70px;padding:14px 16px;display:flex}.client-history>header>div{gap:2px;display:grid}.client-history>header span,.client-history-editor>div>span{color:#0876ed;letter-spacing:.07em;text-transform:uppercase;font-size:.61rem;font-weight:800}.client-history>header h3{margin:0;font-size:.9rem}.client-history-tabs{border-bottom:1px solid var(--border);background:var(--surface);gap:6px;padding:10px 12px;display:flex}.client-history-tabs button{min-height:39px;color:var(--muted);font-family:var(--font-poppins), Arial, Helvetica, sans-serif;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:7px;padding:0 12px;font-size:.67rem;font-weight:700;display:inline-flex}.client-history-tabs button:hover,.client-history-tabs button.active{border-color:color-mix(in srgb, #0876ed 28%, var(--border));color:#0876ed;background:color-mix(in srgb, #0876ed 9%, var(--surface))}.client-history-tabs svg{width:15px}.client-history-tabs em{min-width:21px;height:21px;color:var(--muted);background:var(--surface-muted);border-radius:99px;place-items:center;padding:0 5px;font-size:.53rem;font-style:normal;display:grid}.client-history-editor{border:1px solid var(--border);background:var(--surface-muted);border-radius:11px;gap:14px;margin:14px;padding:16px;display:grid}.client-history-editor>div,.client-history-editor label{gap:4px;display:grid}.client-history-editor>div>strong{font-size:.8rem}.client-history-editor label>span{color:var(--foreground);font-size:.66rem;font-weight:700}.client-history-editor textarea{resize:vertical;border:1px solid var(--border);width:100%;min-height:112px;color:var(--foreground);background:var(--surface);font-family:var(--font-poppins), Arial, Helvetica, sans-serif;border-radius:9px;outline:0;padding:12px 13px;font-size:.68rem;line-height:1.65}.client-history-editor textarea:focus{border-color:#0876ed;box-shadow:0 0 0 3px #0876ed17}.client-history-editor textarea[aria-invalid=true]{border-color:#c8616d}.client-history-editor label small{color:var(--muted);text-align:right;font-size:.57rem}.client-history-editor textarea[aria-invalid=true]+small{color:#b84855}.client-history-editor footer{justify-content:flex-end;gap:8px;display:flex}.client-history-list,.client-activity-list{display:grid}.client-history-list>article{border-top:1px solid var(--border);grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:11px;padding:15px 16px;display:grid}.client-history-list>article:first-child,.client-activity-list>article:first-child{border-top:0}.client-history-avatar{color:#fff;text-transform:uppercase;background:#0876ed;border-radius:10px;place-items:center;width:36px;height:36px;font-size:.58rem;font-weight:800;display:grid}.client-history-list>article>div:nth-child(2){gap:7px;min-width:0;display:grid}.client-history-list article header{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.client-history-list article header strong{font-size:.7rem}.client-history-list article header span,.client-activity-list article span{color:var(--muted);font-size:.59rem}.client-history-list p{color:var(--foreground);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.66rem;line-height:1.65}.client-activity-list>article{border-top:1px solid var(--border);grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 16px;display:grid}.client-activity-list>article>i{color:#0876ed;background:color-mix(in srgb, #0876ed 10%, var(--surface));border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.client-activity-list svg{width:15px}.client-activity-list>article>div{gap:3px;display:grid}.client-activity-list strong{font-size:.66rem}.client-activity-list em{color:#0876ed;background:color-mix(in srgb, #0876ed 9%, var(--surface));letter-spacing:.03em;border-radius:99px;padding:5px 8px;font-size:.52rem;font-style:normal;font-weight:800}.client-history-state{min-height:145px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:24px;font-size:.63rem;display:flex}.client-history-state>svg{color:#0876ed;width:27px}.client-history-state>i{border:2px solid #0876ed;border-right-color:#0000;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite client-spin}.client-history-state strong{color:var(--foreground);font-size:.7rem}.client-history-state.error strong{color:#a44751}.client-history-state button{color:#0876ed;min-height:34px;font-family:var(--font-poppins), Arial, Helvetica, sans-serif;cursor:pointer;background:0 0;border:1px solid #0876ed;border-radius:8px;padding:0 12px;font-size:.62rem;font-weight:700;transition:border-color .16s,background .16s,color .16s,box-shadow .16s,transform .16s}@media (max-width:760px){.client-table{display:none}.client-mobile-list{gap:10px;display:grid}.client-mobile-list>article{border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:13px;padding:14px;display:grid}.client-mobile-list header{grid-template-columns:36px 1fr auto;align-items:center;gap:9px;display:grid}.client-mobile-list header>b{color:#fff;background:#0876ed;border-radius:9px;place-items:center;width:34px;height:34px;font-size:.58rem;display:grid}.client-mobile-list header>div{gap:2px;min-width:0;display:grid}.client-mobile-list header strong{text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.client-mobile-list header span,.client-mobile-list :is(dt,dd){color:var(--muted);font-size:.58rem}.client-mobile-list dl{grid-template-columns:1fr 1fr;gap:9px;margin:0;display:grid}.client-mobile-list dl>div{gap:3px;min-width:0;display:grid}.client-mobile-list dd{color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.client-contacts,.client-pricing,.client-history{margin:0 14px 14px}.client-contacts>header,.client-detail-actions,.client-pricing>header,.client-pricing-detail>header,.client-pricing-actions,.client-pricing-history-list>article>div{flex-direction:column;align-items:stretch}.client-pricing-list>article{grid-template-columns:1fr}.client-contact-list>article{grid-template-columns:38px 1fr auto}.client-contact-channel{grid-column:1/-1}.client-contact-badges{grid-column:1/3;justify-content:flex-start}.client-contact-form{grid-template-columns:1fr}.client-contact-form>*{grid-column:1}.client-history>header,.client-history-editor footer{flex-direction:column;align-items:stretch}.client-history-tabs{overflow-x:auto}.client-history-tabs button{flex:none}.client-history-list>article{grid-template-columns:38px minmax(0,1fr)}.client-history-list>article>.crud-actions{grid-column:2;justify-self:start}.client-activity-list>article{grid-template-columns:34px minmax(0,1fr)}.client-activity-list em{grid-column:2;width:max-content}}@media (max-width:1180px){.client-pricing-list{overflow-x:auto}.client-pricing-list>article{min-width:min-content}}
.client-work{font-family:var(--font-poppins), Arial, Helvetica, sans-serif}.client-work>header .client-detail-actions a{text-decoration:none}.client-work-state{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:28px 16px;font-size:.66rem;font-weight:600;display:flex}.client-work-state svg{width:15px}.client-work-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;padding:16px;display:grid}.client-work-summary article{border:1px solid var(--border);background:var(--surface-muted);border-radius:10px;gap:5px;min-width:0;padding:14px;display:grid}.client-work-summary span{color:var(--muted);align-items:center;gap:6px;font-size:.61rem;font-weight:600;display:flex}.client-work-summary span svg{color:#0876ed;width:13px}.client-work-summary strong{color:var(--foreground);letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;font-size:1.05rem;font-weight:700;overflow:hidden}.client-work-summary small{color:var(--muted);font-size:.6rem;font-weight:500}.client-work-summary article.due strong{color:#b74858}.client-work .good{color:#287150}.client-work-services{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;padding:0 16px 16px;display:grid}.client-work-services article{border:1px solid var(--border);border-radius:10px;grid-template-columns:1fr auto;gap:2px 10px;padding:10px 12px;display:grid}.client-work-services strong{color:var(--foreground);font-size:.66rem;font-weight:700}.client-work-services span{color:var(--muted);grid-column:1;font-size:.6rem}.client-work-services em{color:var(--foreground);grid-area:1/2/span 2;align-self:center;font-size:.66rem;font-style:normal;font-weight:700}.client-work-tools{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;display:flex}.client-work-filters{flex-wrap:wrap;gap:6px;display:flex}.client-work-filters button{border:1px solid var(--border);min-height:32px;color:var(--foreground);background:var(--surface);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:0 11px;font-family:inherit;font-size:.62rem;font-weight:700;display:inline-flex}.client-work-filters button em{min-width:18px;color:var(--muted);background:var(--surface-muted);text-align:center;border-radius:999px;padding:1px 5px;font-size:.56rem;font-style:normal}.client-work-filters button.active{color:#0876ed;background:color-mix(in srgb, #0876ed 8%, var(--surface));border-color:#0876ed}.client-work-filters button.active em{color:#fff;background:#0876ed}.client-work-search{border:1px solid var(--border);background:var(--surface);border-radius:8px;align-items:center;gap:7px;min-width:220px;min-height:34px;padding:0 11px;display:flex}.client-work-search svg{width:14px;color:var(--muted)}.client-work-search input{width:100%;color:var(--foreground);background:0 0;border:0;outline:0;font-family:inherit;font-size:.64rem}.client-work-search:focus-within{border-color:#0876ed}.client-work-table{border-top:1px solid var(--border);display:grid}.client-work-row{border-top:1px solid var(--border);color:var(--foreground);grid-template-columns:minmax(200px,2fr) minmax(120px,1fr) 110px minmax(130px,1fr) 110px;align-items:center;gap:12px;padding:11px 16px;font-size:.64rem;text-decoration:none;display:grid}.client-work-row:first-child{border-top:0}.client-work-row.head{color:var(--muted);background:var(--surface-muted);letter-spacing:.04em;text-transform:uppercase;padding-block:9px;font-size:.58rem;font-weight:700}a.client-work-row:hover{background:var(--surface-muted)}.client-work-row>span{gap:2px;min-width:0;display:grid}.client-work-row .video strong{text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:700;overflow:hidden}.client-work-row small{color:var(--muted);font-size:.58rem;font-weight:500}.client-work-row .amount{text-align:right;font-weight:700}.client-work-row.head>span:last-child{text-align:right}.client-work-row .late{color:#b74858;font-weight:700}.client-work-status{color:#0876ed;background:#0876ed1a;border-radius:999px;justify-self:start;padding:3px 9px;font-size:.58rem;font-style:normal;font-weight:700}.client-work-status.active{color:#287150;background:#2871501f}.client-work-status.inactive{color:#b74858;background:#b748581a}.client-work-sheets{border-top:1px solid var(--border);padding:14px 16px 16px}.client-work-sheets h4{color:#0876ed;letter-spacing:.07em;text-transform:uppercase;margin:0 0 10px;font-size:.6rem;font-weight:800}.dark .client-work-sheets h4{color:#8cc8ff}.client-work-money{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.client-work-money article{min-width:0;padding:14px 16px}.client-work-money article+article{border-left:1px solid var(--border)}.client-work-money h4{color:#0876ed;letter-spacing:.07em;text-transform:uppercase;margin:0 0 8px;font-size:.6rem;font-weight:800}.client-work-money ul{margin:0;padding:0;list-style:none;display:grid}.client-work-money li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:8px 0;display:flex}.client-work-money li:last-child{border-bottom:0}.client-work-money li>span{gap:1px;min-width:0;display:grid}.client-work-money strong{color:var(--foreground);font-size:.64rem;font-weight:700}.client-work-money small,.client-work-money p{color:var(--muted);font-size:.6rem}.client-work-money p{margin:0}.client-work-money a{color:#0876ed;font-weight:700;text-decoration:none}.client-work-money em{color:var(--foreground);flex:none;font-size:.66rem;font-style:normal;font-weight:700}.dark .client-work-summary span svg,.dark .client-work-money h4,.dark .client-work-money a,.dark .client-work-filters button.active{color:#8cc8ff}.dark .client-work-filters button.active{border-color:#0876ed}.dark .client-work .good,.dark .client-work-status.active{color:#86d3a9}.dark .client-work-summary article.due strong,.dark .client-work-row .late,.dark .client-work-status.inactive{color:#f0a6af}.dark .client-work-status{color:#8cc8ff}@media (max-width:980px){.client-work-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.client-work-money{grid-template-columns:1fr}.client-work-money article+article{border-top:1px solid var(--border);border-left:0}}@media (max-width:760px){.client-work-summary{grid-template-columns:1fr}.client-work-search{width:100%;min-width:0}.client-work-row.head{display:none}.client-work-row{grid-template-columns:1fr auto;gap:6px 12px}.client-work-row .video{grid-column:1/-1}.client-work-row .amount{grid-area:2/2}}.client-billing{margin-top:16px}.client-billing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.client-billing-grid>article{border:1px solid var(--border);background:var(--surface);border-radius:12px;align-content:start;gap:12px;min-width:0;padding:16px;display:grid}.client-billing-grid h4{color:#0876ed;letter-spacing:.07em;text-transform:uppercase;align-items:center;gap:7px;margin:0;font-size:.6rem;font-weight:800;display:flex}.dark .client-billing-grid h4{color:#8cc8ff}.client-billing-grid h4 svg{width:14px;height:14px}.client-billing-message{color:#287150;background:#ebf8f0;border:1px solid #c5e7d2;border-radius:10px;grid-column:1/-1;margin:0;padding:10px 12px;font-size:.64rem;font-weight:600}.client-billing-message.error{color:#9a4551;background:#fbf0f2;border-color:#efc8ce}.dark .client-billing-message{color:#86d3a9;background:#13241b;border-color:#23503a}.dark .client-billing-message.error{color:#f0a6af;background:#2a1418;border-color:#5a2a32}.client-billing-switch{cursor:pointer;align-items:center;gap:10px;font-size:.68rem;display:inline-flex}.client-billing-switch input{opacity:0;pointer-events:none;position:absolute}.client-billing-switch>span{background:var(--border);border-radius:999px;flex:none;width:38px;height:22px;transition:background .16s;position:relative}.client-billing-switch>span:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .16s;position:absolute;top:3px;left:3px}.client-billing-switch input:checked+span{background:#0876ed}.client-billing-switch input:checked+span:after{transform:translate(16px)}.client-billing-switch input:focus-visible+span{outline-offset:2px;outline:2px solid #0876ed}.client-billing-fields,.client-billing-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.client-billing-form .client-billing-note,.client-billing-actions{grid-column:1/-1}.client-billing-actions{justify-content:flex-end;gap:8px;display:flex}.client-billing-note{color:var(--muted);margin:0;font-size:.6rem;line-height:1.5}.client-billing-grid button{justify-self:start}.client-billing-package{border:1px solid var(--border);background:var(--surface-muted);border-radius:10px;gap:8px;padding:12px;display:grid}.client-billing-package strong,.client-billing-row strong{font-size:.7rem;display:block}.client-billing-package small,.client-billing-row small{color:var(--muted);font-size:.6rem}.client-billing-meter{background:var(--surface);border-radius:5px;height:6px;display:block;overflow:hidden}.client-billing-meter i{border-radius:inherit;background:#0876ed;height:100%;display:block}.client-billing-end{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.client-billing-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:8px 0;display:flex}.client-billing-history summary{color:var(--muted);cursor:pointer;font-size:.62rem;font-weight:700}@media (max-width:900px){.client-billing-grid,.client-billing-fields,.client-billing-form{grid-template-columns:1fr}}@media (min-width:761px) and (max-width:1180px){.client-work-table{overflow-x:auto}.client-work-row{min-width:min-content}}
.sheet-book{min-width:0;font-family:var(--font-poppins), Arial, Helvetica, sans-serif;gap:12px;display:grid}.sheets-empty{color:var(--muted);margin:0;font-size:.66rem}.sheet-month{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;display:flex}.sheet-month>span{color:var(--muted);font-size:.64rem;font-weight:700}.sheet-month .loopless-select{min-width:190px}.sheet-month small{color:var(--muted);font-size:.62rem;font-weight:600}.sheet-tabs{align-items:center;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.sheet-tabs button{border:1px solid var(--border);min-height:38px;color:var(--foreground);background:var(--surface);text-align:left;white-space:nowrap;cursor:pointer;border-radius:9px;flex:none;justify-items:start;gap:3px;padding:8px 14px;font-family:inherit;font-size:.64rem;font-weight:700;transition:border-color .16s,background .16s,color .16s;display:inline-grid}.sheet-tab-title{align-items:center;gap:8px;display:inline-flex}.sheet-tabs button small,.sheet-tab-flow{color:var(--muted);font-size:.58rem;font-weight:500}.sheet-tab-left{color:var(--foreground);font-size:.58rem;font-weight:650}.sheet-tab-left.minus{color:#b74858}.dark .sheet-tab-left.minus{color:#f0a6af}.sheet-tab-arrow{width:14px;height:14px;color:var(--muted);flex:none}.sheet-tabs button:hover{border-color:#b9dcff}.sheet-tabs button.active{color:#065ec1;background:color-mix(in srgb, #0876ed 8%, var(--surface));border-color:#0876ed}.dark .sheet-tabs button.active{color:#8cc8ff}.sheet-page{min-width:0;color:var(--foreground);gap:12px;display:grid}.sheet-summary{border:1px solid var(--border);background:var(--surface);border-radius:14px;grid-template-columns:minmax(220px,1fr) minmax(0,1.6fr);align-items:center;gap:16px 24px;padding:15px 18px;display:grid}.sheet-summary-main{gap:3px;min-width:0;display:grid}.sheet-summary-main>span{color:var(--muted);font-size:.66rem;font-weight:500}.sheet-summary-main>strong{font-size:.94rem;font-weight:700}.sheet-meter{gap:5px;margin-top:6px;display:grid}.sheet-meter>span{background:var(--surface-muted);border-radius:5px;height:6px;display:block;overflow:hidden}.sheet-meter i{border-radius:inherit;background:#0876ed;height:100%;display:block}.sheet-page.over .sheet-meter i{background:#b74858}.sheet-meter small{color:var(--muted);font-size:.58rem;font-weight:600}.sheet-figures{grid-template-columns:repeat(4,minmax(0,1fr));margin:0;display:grid}.sheet-figures>div{border-left:1px solid var(--border);gap:3px;min-width:0;padding:2px 16px;display:grid}.sheet-figures dt{color:var(--muted);font-size:.58rem;font-weight:600}.sheet-figures dd{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.74rem;font-weight:700;overflow:hidden}.sheet-summary-main{position:relative}.sheet-summary-action{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.sheet-summary-action a,.sheet-summary-action button{color:#fff;cursor:pointer;background:#0876ed;border:1px solid #0876ed;border-radius:9px;align-items:center;gap:6px;min-height:34px;padding:0 12px;font-family:inherit;font-size:.62rem;font-weight:700;text-decoration:none;display:inline-flex}.sheet-summary-action .secondary{border-color:var(--border);color:var(--foreground);background:var(--surface-muted)}.sheet-summary-action svg{width:14px;height:14px}.sheet-summary-action button:disabled{cursor:default;opacity:.55}.sheet-table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:14px;overflow-x:auto}.sheet-table{border-collapse:collapse;width:100%;min-width:780px;font-size:.65rem}.sheet-table th,.sheet-table td{border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;padding:0 16px}.sheet-table td{height:52px}.sheet-table th:nth-child(-n+2),.sheet-table td:nth-child(-n+2){text-align:left}.sheet-table thead th{height:40px;color:var(--muted);background:var(--surface-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.56rem;font-weight:800}.sheet-table thead tr.sheet-filters th{background:var(--surface);letter-spacing:0;text-transform:none;height:auto;padding:8px;font-weight:500}.sheet-table thead tr.sheet-filters th:first-child{padding-left:16px}.sheet-table thead tr.sheet-filters th:last-child{padding-right:16px}.sheet-filters input{border:1px solid var(--border);width:100%;min-width:120px;height:36px;color:var(--foreground);background:var(--surface);border-radius:9px;padding:0 10px;font-family:inherit;font-size:.62rem}.sheet-filters .loopless-select,.sheet-filters [class*=select]{min-width:110px;font-size:.62rem}.sheet-no-rows{color:var(--muted);text-align:center!important}.sheet-filtered{color:var(--muted);align-items:center;gap:10px;font-weight:600;display:inline-flex}.sheet-filtered button{color:#0876ed;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-family:inherit;font-size:.6rem;font-weight:700;display:inline-flex}.sheet-filtered svg{width:12px;height:12px}.sheet-table td:first-child{width:1%;color:var(--muted)}.sheet-table td.details{text-overflow:ellipsis;max-width:360px;font-weight:600;overflow:hidden}.sheet-table tbody tr.money td.details{font-weight:700}.sheet-table tbody tr:hover{background:color-mix(in srgb, var(--surface-muted) 64%, transparent)}.sheet-table td:last-child{font-weight:700}.sheet-table tfoot td:nth-child(n){text-align:right}.sheet-table tfoot th,.sheet-table tfoot td:nth-child(n){background:var(--surface-muted);border-bottom:0;height:46px;font-weight:700}.sheet-book .plus{color:#287150}.sheet-book .minus{color:#b74858}.dark .sheet-book .plus{color:#86d3a9}.dark .sheet-book .minus{color:#f0a6af}@media (max-width:860px){.sheet-summary{grid-template-columns:1fr}.sheet-figures{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 0}.sheet-figures>div:nth-child(odd){border-left:0;padding-left:0}}@media (max-width:620px){.sheet-table-wrap{overflow-x:visible}.sheet-table{min-width:0}.sheet-table,.sheet-table thead,.sheet-table tbody,.sheet-table tfoot,.sheet-table tr{display:block}.sheet-table thead tr:first-child{display:none}.sheet-table thead tr.sheet-filters{border-bottom:1px solid var(--border);background:var(--surface-muted);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 12px;display:grid}.sheet-table thead tr.sheet-filters th{background:0 0;border:0;height:auto;padding:0;display:block}.sheet-table thead tr.sheet-filters th:nth-child(-n+2){grid-column:span 3}.sheet-table thead tr.sheet-filters .loopless-select{min-width:0}.sheet-table tbody tr,.sheet-table tfoot tr{border-bottom:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 10px;padding:12px 14px;display:grid}.sheet-table td,.sheet-table tfoot th{text-align:left;white-space:normal;border:0;width:auto;height:auto;padding:0;display:block}.sheet-table tbody td:first-child,.sheet-table tbody td.details,.sheet-table td.sheet-no-rows,.sheet-table tfoot th{grid-column:1/-1}.sheet-table tbody td:first-child{font-size:.58rem}.sheet-table tbody td.details{max-width:none;margin-bottom:4px}.sheet-table tbody td:empty{visibility:hidden}.sheet-table tbody td:nth-child(n+3):before,.sheet-table tfoot td:before{color:var(--muted);font-size:.52rem;font-weight:700;display:block}.sheet-table tbody td:nth-child(3):before,.sheet-table tfoot td:nth-child(2):before{content:"Paid in"}.sheet-table tbody td:nth-child(4):before,.sheet-table tfoot td:nth-child(3):before{content:"Used"}.sheet-table tbody td:nth-child(5):before,.sheet-table tfoot td:nth-child(4):before{content:"Balance"}.sheet-table thead tr.sheet-filters th:nth-child(n){padding:0}.sheet-table thead tr.sheet-filters th:nth-child(n+3):before{color:var(--muted);text-align:left;margin-bottom:3px;font-size:.52rem;font-weight:700;display:block}.sheet-table thead tr.sheet-filters th:nth-child(3):before{content:"Paid in"}.sheet-table thead tr.sheet-filters th:nth-child(4):before{content:"Used"}.sheet-table thead tr.sheet-filters th:nth-child(5):before{content:"Balance"}.sheet-table tbody td:first-child{white-space:nowrap;width:auto}.sheet-table tfoot tr{background:var(--surface-muted)}.sheet-table tfoot th,.sheet-table tfoot td:nth-child(n){text-align:left;background:0 0;height:auto}}
.client-import-drop{border:1.5px dashed var(--border);background:var(--surface-muted);cursor:pointer;border-radius:12px;align-items:center;gap:14px;padding:18px;transition:border-color .16s;display:flex;position:relative}.client-import-drop:hover,.client-import-drop:focus-within{border-color:#0876ed}.client-import-drop.busy{opacity:.7;cursor:progress}.client-import-drop>svg{color:#0876ed;flex:none;width:22px;height:22px}.client-import-drop span{gap:3px;display:grid}.client-import-drop strong{font-size:.74rem}.client-import-drop small{color:var(--muted);font-size:.64rem}.client-import-drop input{opacity:0;cursor:pointer;position:absolute;inset:0}.client-import-error{color:#9a4551;background:#fbf0f2;border-radius:10px;margin:0;padding:10px 12px;font-size:.68rem;font-weight:600}.dark .client-import-error{color:#f0a6af;background:#2a1418}.client-import-group{gap:8px;display:grid}.client-import-group h4{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;margin:0;font-size:.62rem;font-weight:700}.client-import-option{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.client-import-option input{accent-color:#0876ed;flex:none;width:16px;height:16px;margin:2px 0 0}.client-import-option span{gap:3px;min-width:0;display:grid}.client-import-option strong{font-size:.72rem}.client-import-option small{color:var(--muted);font-size:.64rem}.client-import-option em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;font-style:normal;overflow:hidden}.client-import-lines{gap:6px;max-height:260px;display:grid;overflow:auto}.client-import-lines table{border-collapse:collapse;width:100%;font-size:.64rem}.client-import-lines th{border-bottom:1px solid var(--border);color:var(--muted);text-align:left;text-transform:uppercase;padding:7px 8px;font-size:.58rem}.client-import-lines td{border-bottom:1px solid var(--border);padding:7px 8px}.client-import-lines :is(th,td):last-child{text-align:right;white-space:nowrap}.client-import-lines td.plus{color:#287150;font-weight:700}.dark .client-import-lines td.plus{color:#86d3a9}.client-import-lines small{color:var(--muted);font-size:.62rem}.client-import-warnings{gap:6px;margin:0;padding:0;list-style:none;display:grid}.client-import-warnings li{color:#9a5a06;align-items:flex-start;gap:8px;font-size:.66rem;font-weight:600;display:flex}.dark .client-import-warnings li{color:#f3b766}.client-import-warnings svg{flex:none;width:15px;height:15px}.client-import-done{color:#1d4d36;background:#ebf8f0;border:1px solid #c5e7d2;border-radius:12px;align-items:flex-start;gap:12px;padding:16px;display:flex}.dark .client-import-done{color:#b7e6cb;background:#13241b;border-color:#23503a}.client-import-done svg{color:#287150;flex:none;width:22px;height:22px}.client-import-done strong{font-size:.78rem}.client-import-done p{margin:4px 0 0;font-size:.7rem;line-height:1.6}
