@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{--background: 0 0% 100%;--foreground: 240 10% 3.9%;--card: 0 0% 100%;--card-foreground: 240 10% 3.9%;--popover: 0 0% 100%;--popover-foreground: 240 10% 3.9%;--primary: 217 91% 60%;--primary-foreground: 0 0% 100%;--secondary: 240 4.8% 95.9%;--secondary-foreground: 240 5.9% 10%;--muted: 240 4.8% 95.9%;--muted-foreground: 240 3.8% 46.1%;--accent: 213 94% 95%;--accent-foreground: 217 91% 40%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 240 5.9% 90%;--input: 240 5.9% 90%;--ring: 217 91% 60%;--radius: .5rem;--success: 160 84% 39%;--success-foreground: 0 0% 100%;--success-bg: 142 76% 96%;--warning: 38 92% 50%;--warning-bg: 38 100% 96%;--danger: 0 84% 60%;--danger-bg: 0 93% 97%;--sidebar-width: 256px;--sidebar-collapsed-width: 52px;--sidebar-bg: hsl(220 70% 14%);--sidebar-bg-hover: hsl(220 60% 20%);--sidebar-bg-active: hsl(220 60% 24%);--sidebar-text: hsl(210 40% 80%);--sidebar-text-active: hsl(0 0% 100%);--sidebar-text-muted: hsl(215 30% 55%);--sidebar-border: hsl(220 50% 20%);--sidebar-accent: hsl(217 91% 60%)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:14px}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:hsl(var(--background));color:hsl(var(--foreground));min-height:100vh;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-width);background:var(--sidebar-bg);border-right:1px solid var(--sidebar-border);display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;z-index:50;overflow-x:hidden;overflow-y:auto;transition:width .2s ease}.sidebar--collapsed{width:var(--sidebar-collapsed-width)}.sidebar__header{display:flex;align-items:center;gap:10px;padding:16px 16px 12px;border-bottom:1px solid var(--sidebar-border)}.sidebar__logo{width:32px;height:32px;border-radius:var(--radius);background:var(--sidebar-accent);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar__logo svg{width:16px;height:16px}.sidebar__brand-info{flex:1;min-width:0}.sidebar__brand-name{font-size:13px;font-weight:600;color:var(--sidebar-text-active);line-height:1.2}.sidebar__brand-sub{font-size:11px;color:var(--sidebar-text-muted)}.sidebar__nav{flex:1;padding:12px 8px}.sidebar__section-label{font-size:10px;font-weight:600;color:var(--sidebar-text-muted);padding:8px 12px 4px;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;overflow:hidden}.sidebar__nav-item{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:var(--radius);font-size:13px;font-weight:500;color:var(--sidebar-text);cursor:pointer;transition:all .15s ease;text-decoration:none;border:none;background:none;width:100%;text-align:left;white-space:nowrap;overflow:hidden}.sidebar__nav-item:hover{background:var(--sidebar-bg-hover);color:var(--sidebar-text-active)}.sidebar__nav-item--active{background:var(--sidebar-bg-active);color:var(--sidebar-text-active);font-weight:600}.sidebar__nav-item svg{width:16px;height:16px;flex-shrink:0;opacity:.7}.sidebar__nav-item--active svg{opacity:1}.sidebar__nav-item--sub{padding-left:36px!important;font-size:13px}.sidebar--collapsed .sidebar__nav-item--sub{padding-left:14px!important;font-size:12px}.sidebar__footer{padding:12px 8px;border-top:1px solid var(--sidebar-border)}.sidebar__footer .separator{border-color:var(--sidebar-border)!important;background:var(--sidebar-border)!important}.sidebar__collapse-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;border:1px solid hsl(var(--border));background:hsl(var(--background));color:hsl(var(--muted-foreground));cursor:pointer;position:fixed;top:18px;left:calc(var(--sidebar-width) - 12px);z-index:51;transition:background .15s,color .15s,left .2s ease;box-shadow:0 1px 4px #00000026}.app--sidebar-collapsed .sidebar__collapse-btn{left:calc(var(--sidebar-collapsed-width) - 12px)}.sidebar__collapse-btn:hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.sidebar__collapse-btn svg{width:13px;height:13px;transition:transform .2s ease}.sidebar--collapsed .sidebar__collapse-btn svg{transform:rotate(180deg)}.sidebar__user{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:var(--radius)}.sidebar__avatar{width:28px;height:28px;border-radius:50%;background:var(--sidebar-accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;flex-shrink:0}.sidebar__user-info{flex:1;min-width:0}.sidebar__user-name{font-size:13px;font-weight:500;color:var(--sidebar-text-active);line-height:1.2}.sidebar__user-email{font-size:11px;color:var(--sidebar-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar__signout-btn{display:flex;align-items:center;gap:8px;margin:8px 12px;width:calc(100% - 24px);padding:6px 12px;border-radius:var(--radius);font-family:inherit;font-size:12px;font-weight:500;color:var(--sidebar-text);background:transparent;border:1px solid var(--sidebar-border);cursor:pointer;transition:all .15s ease}.sidebar__signout-btn svg{width:14px;height:14px}.sidebar__signout-btn:hover{background:var(--sidebar-bg-hover);color:var(--sidebar-text-active);border-color:var(--sidebar-text-muted)}.main-content{flex:1;margin-left:var(--sidebar-width);min-height:100vh;overflow-x:hidden;transition:margin-left .2s ease;background:#f6f7f9}.app--sidebar-collapsed .main-content{margin-left:var(--sidebar-collapsed-width)}.content-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid hsl(var(--border));background:hsl(var(--background));position:sticky;top:0;z-index:10}.content-header__title{font-size:18px;font-weight:700;color:hsl(var(--foreground));letter-spacing:-.02em}.content-header__actions{display:flex;align-items:center;gap:8px}.search-input{display:flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));color:hsl(var(--muted-foreground));font-size:13px;font-family:inherit;width:240px;transition:border-color .15s ease}.search-input:focus{outline:none;border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring) / .1)}.search-input::placeholder{color:hsl(var(--muted-foreground))}.page-content{padding:24px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:10px;padding:20px 24px;transition:box-shadow .2s ease,transform .2s ease;box-shadow:0 1px 3px #0000000a}.card:hover{box-shadow:0 4px 12px #0000000f;transform:translateY(-1px)}.card__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.card__title{font-size:13px;font-weight:500;color:hsl(var(--muted-foreground))}.card__trend{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:500;padding:2px 6px;border-radius:100px}.card__trend--up{color:hsl(var(--success));background:hsl(var(--success-bg))}.card__trend--down{color:hsl(var(--danger));background:hsl(var(--danger-bg))}.card__trend--warn{color:hsl(var(--warning));background:hsl(var(--warning-bg))}.card__trend svg{width:12px;height:12px}.card__value{font-size:28px;font-weight:700;line-height:1.2;color:hsl(var(--foreground));letter-spacing:-.02em}.card__description{font-size:12px;color:hsl(var(--muted-foreground));margin-top:4px}.card__icon{color:hsl(var(--muted-foreground));display:flex}.card__icon svg{width:18px;height:18px}.dash-section__title{font-size:14px;font-weight:600;color:hsl(var(--foreground));margin:0 0 12px;display:flex;align-items:center;gap:6px}.dash-section__title svg{width:16px;height:16px;color:hsl(var(--muted-foreground))}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 16px;border-radius:var(--radius);font-family:inherit;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease;white-space:nowrap;border:1px solid transparent;line-height:1.25}.btn svg{width:14px;height:14px}.btn:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.btn--primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary))}.btn--primary:hover{background:hsl(var(--primary) / .9)}.btn--outline{background:hsl(var(--background));color:hsl(var(--primary));border-color:hsl(var(--primary) / .3)}.btn--outline:hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.btn--ghost{background:transparent;color:hsl(var(--primary));border-color:transparent}.btn--ghost:hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.btn--success{background:hsl(var(--success));color:hsl(var(--success-foreground));border-color:hsl(var(--success))}.btn--success:hover{background:hsl(var(--success) / .9)}.btn--danger{background:hsl(var(--destructive));color:hsl(var(--destructive-foreground));border-color:hsl(var(--destructive))}.btn--danger:hover{background:hsl(var(--destructive) / .9)}.btn--danger-ghost{background:transparent;color:hsl(var(--destructive));border-color:transparent}.btn--danger-ghost:hover{background:hsl(var(--danger-bg))}.btn--sm{padding:6px 12px;font-size:12px;border-radius:calc(var(--radius) - 2px)}.btn--xs{padding:4px 8px;font-size:12px;border-radius:calc(var(--radius) - 2px)}.btn--icon{padding:6px;width:32px;height:32px}.btn--icon svg{width:16px;height:16px}.archive-toggle{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:500;padding:4px 10px;border-radius:calc(var(--radius) - 2px);border:1px solid hsl(var(--input));background:hsl(var(--background));color:hsl(var(--muted-foreground));cursor:pointer;transition:all .15s}.archive-toggle svg{width:14px;height:14px}.archive-toggle:hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.archive-toggle:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.archived-banner{display:flex;align-items:center;gap:8px;padding:8px 14px;background:#fff8eb;border:1px solid hsl(38 92% 80%);border-radius:var(--radius);color:#ab6f07;font-size:12px;font-weight:500;margin-bottom:12px}.archived-banner svg{width:14px;height:14px;flex-shrink:0}.btn--restore{background:transparent;color:#1a9948;border-color:transparent;padding:4px 8px;font-size:11px;gap:4px}.btn--restore svg{width:13px;height:13px}.btn--restore:hover{background:#edfdf3}.sheet-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:hidden}.sheet-card__header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid hsl(var(--border))}.sheet-card__title{font-size:15px;font-weight:600;color:hsl(var(--foreground));display:flex;align-items:center;gap:8px}.sheet-card__title svg{width:16px;height:16px;color:hsl(var(--muted-foreground))}.sheet-card__actions{display:flex;gap:8px;align-items:center}.sheet-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.sheet-table-wrap::-webkit-scrollbar{height:6px}.sheet-table-wrap::-webkit-scrollbar-track{background:transparent}.sheet-table-wrap::-webkit-scrollbar-thumb{background:hsl(var(--border));border-radius:3px}.sheet-table{width:100%;border-collapse:collapse}.sheet-table th{text-align:left;padding:10px 16px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;color:hsl(var(--muted-foreground));background:#f6f7f9;border-bottom:1px solid hsl(var(--border));white-space:nowrap;position:sticky;top:0;z-index:2}.sheet-table td{white-space:nowrap}.row-client{cursor:pointer;transition:background .1s ease}.row-client td{padding:12px 16px;font-weight:500;border-bottom:1px solid hsl(var(--border));background:hsl(var(--background));font-size:13px;color:hsl(var(--foreground))}.row-client:hover td{background:hsl(var(--muted))}.row-client td:first-child{border-left:3px solid transparent}.row-client--RED td:first-child{border-left-color:hsl(var(--destructive))}.row-client--ORANGE td:first-child{border-left-color:hsl(var(--warning))}.row-client--YELLOW td:first-child{border-left-color:#f59f0a}.row-client--BLUE td:first-child{border-left-color:hsl(var(--success))}.row-client__toggle{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:calc(var(--radius) - 2px);background:transparent;font-size:10px;color:hsl(var(--muted-foreground));transition:all .15s ease;flex-shrink:0}.row-client:hover .row-client__toggle{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.row-client__toggle--open{background:hsl(var(--accent));color:hsl(var(--accent-foreground));transform:rotate(90deg)}.row-client__client-name{font-size:13px;font-weight:600;color:hsl(var(--foreground))}.row-auth td{padding:10px 16px;border-bottom:1px solid hsl(var(--border) / .5);font-size:13px;color:hsl(var(--muted-foreground));background:hsl(var(--muted) / .3);transition:background .1s ease}.row-auth:hover td{background:hsl(var(--muted))}.row-auth:last-child td{border-bottom:1px solid hsl(var(--border))}.row-auth__indent{padding-left:48px!important;color:hsl(var(--muted-foreground));font-size:12px}.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 10px;border-radius:100px;font-size:11px;font-weight:500;white-space:nowrap;border:1px solid transparent}.badge--default{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.badge--outline{background:transparent;color:hsl(var(--foreground));border-color:hsl(var(--border))}.service-chips{display:flex;flex-wrap:wrap;gap:4px}.service-chip{display:inline-flex;align-items:center;gap:3px;padding:2px 10px;border-radius:100px;font-size:11px;font-weight:500;background:hsl(var(--secondary));color:hsl(var(--secondary-foreground));white-space:nowrap;border:1px solid hsl(var(--border))}.insurance-badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:100px;font-size:11px;font-weight:500;background:hsl(var(--secondary));color:hsl(var(--secondary-foreground));border:1px solid hsl(var(--border))}.status-cell{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:100px;font-size:11px;font-weight:500;white-space:nowrap}.status-cell:before{content:"";width:6px;height:6px;border-radius:50%;flex-shrink:0}.status-cell--RED{background:hsl(var(--danger-bg));color:hsl(var(--destructive))}.status-cell--RED:before{background:hsl(var(--destructive))}.status-cell--ORANGE{background:hsl(var(--warning-bg));color:hsl(var(--warning))}.status-cell--ORANGE:before{background:hsl(var(--warning))}.status-cell--YELLOW{background:hsl(var(--warning-bg));color:#a37629}.status-cell--YELLOW:before{background:#a37629}.status-cell--BLUE{background:hsl(var(--success-bg));color:hsl(var(--success))}.status-cell--BLUE:before{background:hsl(var(--success))}.days-cell{font-variant-numeric:tabular-nums;font-weight:600;font-size:13px}.days-cell--positive{color:hsl(var(--success))}.days-cell--warning{color:hsl(var(--warning))}.days-cell--expired{color:hsl(var(--destructive))}.days-summary{font-variant-numeric:tabular-nums;font-size:12px;color:hsl(var(--muted-foreground));font-weight:500}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:hsl(var(--foreground) / .5);display:flex;align-items:center;justify-content:center;z-index:100;animation:fadeIn .15s ease;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) + 4px);padding:24px;width:92%;max-width:520px;box-shadow:0 16px 70px hsl(var(--foreground) / .15);animation:dialogIn .2s ease;max-height:85vh;overflow-y:auto;position:relative}.modal__close{position:absolute;top:12px;right:12px;background:transparent;border:none;padding:4px;border-radius:var(--radius);color:hsl(var(--muted-foreground));cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s}.modal__close:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.modal__close:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.modal--wide{max-width:640px}.modal__title{font-size:17px;font-weight:600;color:hsl(var(--foreground));margin-bottom:4px;letter-spacing:-.01em}.modal__desc{font-size:13px;color:hsl(var(--muted-foreground));margin-bottom:20px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes dialogIn{0%{opacity:0;transform:scale(.96) translateY(4px)}to{opacity:1;transform:scale(1) translateY(0)}}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:13px;font-weight:500;color:hsl(var(--foreground));margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:8px 12px;border:1px solid hsl(var(--input));border-radius:var(--radius);background:hsl(var(--background));color:hsl(var(--foreground));font-family:inherit;font-size:13px;transition:all .15s ease;line-height:1.5}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring) / .15)}.form-group input::placeholder,.form-group textarea::placeholder{color:hsl(var(--muted-foreground))}.form-group select option{background:hsl(var(--background));color:hsl(var(--foreground))}.form-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:24px;padding-top:16px;border-top:1px solid hsl(var(--border))}.empty-state{text-align:center;padding:60px 20px;color:hsl(var(--muted-foreground))}.empty-state__icon{width:48px;height:48px;margin:0 auto 12px;border-radius:var(--radius);background:hsl(var(--muted));display:flex;align-items:center;justify-content:center}.empty-state__icon svg{width:24px;height:24px;color:hsl(var(--muted-foreground))}.empty-state__title{font-size:15px;font-weight:600;color:hsl(var(--foreground));margin-bottom:6px}.empty-state__desc{font-size:13px;color:hsl(var(--muted-foreground));margin-bottom:18px}.toast{position:fixed;bottom:20px;right:20px;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:var(--radius);font-size:13px;font-weight:500;border:1px solid hsl(var(--border));background:hsl(var(--card));color:hsl(var(--foreground));box-shadow:0 4px 12px hsl(var(--foreground) / .12);z-index:200;max-width:360px;animation:toastIn .25s ease;overflow:hidden}.toast svg{width:16px;height:16px;flex-shrink:0}.toast--success{border-left:3px solid hsl(var(--success))}.toast--success svg{color:hsl(var(--success))}.toast--error{border-left:3px solid hsl(var(--destructive))}.toast--error svg{color:hsl(var(--destructive))}.toast--info{border-left:3px solid hsl(var(--primary))}.toast--info svg{color:hsl(var(--primary))}.toast--undo{border-left:3px solid hsl(35 80% 50%)}.toast--undo svg{color:#e69119}.toast__message{flex:1}.toast__undo-btn{padding:4px 10px;border:1px solid hsl(var(--primary));border-radius:var(--radius);background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.toast__undo-btn:hover{opacity:.9}.toast__progress{position:absolute;bottom:0;left:0;height:2px;background:#e69119;transition:width 50ms linear;border-radius:0 0 var(--radius) var(--radius)}.toast:not(.toast--undo) .toast__progress{display:none}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.row-actions{display:flex;gap:2px;align-items:center}.separator{height:1px;background:hsl(var(--border));margin:4px 0}@media(max-width:1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.sidebar{display:none}.main-content{margin-left:0}.content-header{padding:12px 16px}.page-content{padding:16px}.stats-grid{grid-template-columns:repeat(2,1fr)}.modal{padding:20px;width:96%}.search-input{width:180px}}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:hsl(var(--border));border-radius:3px}::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground))}.skeleton{background:linear-gradient(90deg,hsl(var(--muted)) 25%,hsl(var(--border)),hsl(var(--muted)) 75%);background-size:200% 100%;animation:skeleton-pulse 1.5s ease infinite;border-radius:var(--radius)}@keyframes skeleton-pulse{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.skeleton-row{height:42px;border-radius:0}.table-info-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 24px;border-top:1px solid hsl(var(--border));font-size:12px;color:hsl(var(--muted-foreground));flex-wrap:wrap;gap:8px}.filter-bar{display:flex;gap:6px;padding:8px 24px;border-bottom:1px solid hsl(var(--border));background:hsl(var(--muted) / .3)}.bulk-action-bar{display:flex;align-items:center;gap:12px;padding:8px 24px;background:#18181b;color:#fafafa;font-size:13px;font-weight:500}.filter-btn{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid hsl(var(--border));border-radius:999px;background:hsl(var(--background));color:hsl(var(--muted-foreground));font-size:12px;font-weight:500;cursor:pointer;transition:all .15s ease}.filter-btn:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.filter-btn--active{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary))}.filter-btn--active:hover{background:hsl(var(--primary));color:hsl(var(--primary-foreground));opacity:.9}.filter-btn--danger.filter-btn--active{background:hsl(var(--danger));border-color:hsl(var(--danger))}.filter-btn--warning.filter-btn--active{background:hsl(var(--warning));border-color:hsl(var(--warning));color:#09090b}.filter-btn__count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:hsl(var(--muted));font-size:10px;font-weight:600;line-height:1}.filter-btn--active .filter-btn__count{background:#ffffff40;color:inherit}.pagination{display:flex;align-items:center;gap:4px}.pagination .btn{min-width:32px;justify-content:center;padding:4px 8px;font-size:12px}.pagination .btn:disabled{opacity:.4;pointer-events:none}.pagination__dots{width:28px;text-align:center;color:hsl(var(--muted-foreground));font-size:12px;-webkit-user-select:none;user-select:none}.it-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.it-card{display:flex;align-items:center;gap:16px;padding:16px 20px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);transition:box-shadow .15s ease,transform .15s ease}.it-card:hover{box-shadow:0 2px 8px hsl(var(--foreground) / .06);transform:translateY(-1px)}.it-card__color{width:40px;height:40px;border-radius:50%;flex-shrink:0;border:2px solid hsl(var(--border));box-shadow:0 1px 3px hsl(var(--foreground) / .08)}.it-card__info{flex:1;min-width:0}.it-card__name{font-size:14px;font-weight:600;color:hsl(var(--foreground));letter-spacing:.02em}.it-card__hex{font-size:12px;color:hsl(var(--muted-foreground));font-family:ui-monospace,SF Mono,Fira Code,monospace;margin-top:2px}.it-card__actions{display:flex;gap:2px;flex-shrink:0}.color-picker-row{display:flex;align-items:center;gap:10px}.color-picker-input{width:40px;height:36px;border:1px solid hsl(var(--border));border-radius:var(--radius);padding:2px;cursor:pointer;background:transparent}.color-picker-input::-webkit-color-swatch-wrapper{padding:0}.color-picker-input::-webkit-color-swatch{border:none;border-radius:calc(var(--radius) - 2px)}.color-preview{width:28px;height:28px;border-radius:50%;border:2px solid hsl(var(--border));flex-shrink:0;box-shadow:0 1px 3px hsl(var(--foreground) / .08)}.svc-group{margin-bottom:24px}.svc-group__label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:hsl(var(--muted-foreground));margin-bottom:10px;padding-left:2px}.svc-code-badge{display:flex;align-items:center;justify-content:center;width:56px;height:36px;border-radius:var(--radius);background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-size:11px;font-weight:700;letter-spacing:.04em;flex-shrink:0}.ts-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:var(--radius-full);font-size:11px;font-weight:600;text-transform:capitalize;letter-spacing:.03em}.ts-badge--draft{background:#e7b0081f;color:#ac8306}.ts-badge--submitted{background:#16a2491f;color:#117e39}.ts-badge--critical{background:#fde8e8;color:#bc1010;border:1px solid hsl(0 84% 85%);font-weight:600;font-size:10px;text-transform:uppercase;letter-spacing:.5px}.ts-auth-limit{font-size:11px;color:hsl(var(--muted-foreground));font-weight:400}.sdr-client-info{display:flex;flex-wrap:wrap;gap:24px;padding:14px 20px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);margin-bottom:20px;font-size:14px}.sdr-info-field{display:flex;align-items:center;gap:6px}.sdr-info-label{color:hsl(var(--muted-foreground));font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.sdr-info-value{font-weight:500}.sdr-section{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:hidden;margin-bottom:20px}.sdr-section-title{padding:10px 16px;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.04em;background:#1791cf;color:#fff;display:flex;align-items:center;gap:10px}.sdr-section-tag{background:#ffffff40;padding:2px 8px;border-radius:var(--radius-full);font-size:10px;font-weight:700;border:none;color:#fff;font-family:inherit;letter-spacing:.04em}button.sdr-section-tag{cursor:pointer;transition:background .15s,opacity .15s,box-shadow .15s}button.sdr-section-tag:hover:not(:disabled){background:#ffffff73}.sdr-section-tag--active{background:#fff!important;color:#1791cf!important;box-shadow:0 1px 4px #0003}.sdr-section-tag--available{background:#ffffff40;color:#fff}.sdr-section-tag--disabled{background:#ffffff1a;color:#fff6;text-decoration:line-through;cursor:not-allowed!important}.sdr-section--disabled{position:relative;opacity:.45;pointer-events:none;filter:grayscale(.5)}.sdr-section--disabled:after{content:"Not approved for this client";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:8px 16px;background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:var(--radius);font-size:13px;font-weight:600;color:hsl(var(--foreground));pointer-events:auto;opacity:1;box-shadow:0 4px 12px #00000026}.sdr-subsection-label{padding:6px 16px;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.04em;background:hsl(var(--muted));color:hsl(var(--muted-foreground));border-top:1px solid hsl(var(--border))}.sdr-day-header-row{display:grid;grid-template-columns:180px repeat(7,1fr);padding:0 8px;background:hsl(var(--muted));border-bottom:1px solid hsl(var(--border));min-height:40px;align-items:center}.sdr-day-header{text-align:center;padding:6px 0}.sdr-day-name{font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:hsl(var(--foreground))}.sdr-day-date{font-size:10px;color:hsl(var(--muted-foreground))}.sdr-activity-row{display:grid;grid-template-columns:180px repeat(7,1fr);padding:0 8px;border-top:1px solid hsl(var(--border) / .5);min-height:34px;align-items:center}.sdr-activity-row:hover{background:hsl(var(--muted) / .25)}.sdr-activity-row--respite{background:#edf9fd;border-top:1.5px solid hsl(195 60% 80%)}.sdr-activity-row--respite .sdr-activity-label{color:#1b7898}.sdr-activity-label{font-size:12px;padding:4px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sdr-activity-cell{display:flex;align-items:center;justify-content:center;padding:2px 0}.sdr-activity-cell input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:hsl(200 80% 45%)}.sdr-initials-row{background:hsl(var(--muted) / .3);border-top:1px solid hsl(var(--border))}.sdr-initials-input{width:44px;text-align:center;padding:3px 4px;border:1px solid hsl(var(--border));border-radius:var(--radius);font-size:11px;font-weight:700;text-transform:uppercase;background:hsl(var(--background))}.sdr-initials-input:disabled{background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.sdr-time-row{background:hsl(var(--muted) / .15);border-top:1px solid hsl(var(--border))}.sdr-required{color:#ef4343;font-weight:700;margin-left:2px}.sdr-shift--s2{background:#e8f2fc;border-left:3px solid hsl(210 70% 55%)}.sdr-shift--s3{background:#e7f9f0;border-left:3px solid hsl(150 50% 45%)}.sdr-shift--s4{background:#fcf2e3;border-left:3px solid hsl(35 70% 50%)}.sdr-shift--s5{background:#f5ebfa;border-left:3px solid hsl(280 50% 55%)}.sdr-time-input{width:100%;max-width:100px;padding:4px 6px;border:1px solid hsl(var(--border));border-radius:var(--radius);font-size:12px;background:hsl(var(--background))}.sdr-time-input:disabled{background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.sdr-add-shift-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;margin:4px 0;border:1px dashed hsl(var(--primary));border-radius:var(--radius);background:transparent;color:hsl(var(--primary));font-size:12px;font-weight:500;cursor:pointer;transition:background .15s,color .15s}.sdr-add-shift-btn:hover{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.sdr-remove-shift-btn{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:6px;border:none;border-radius:50%;background:#ef43431f;color:#ef4343;font-size:13px;font-weight:600;line-height:1;cursor:pointer;transition:background .15s;vertical-align:middle}.sdr-remove-shift-btn:hover{background:#ef4343;color:#fff}.sdr-total-row{background:hsl(var(--muted));border-top:2px solid hsl(var(--border));min-height:40px}.sdr-hours-cell{font-weight:600;font-size:13px;color:hsl(var(--foreground))}.sdr-services-toggle{display:flex;align-items:center;gap:20px;padding:12px 16px;margin-bottom:16px;background:hsl(var(--muted) / .4);border:1px solid hsl(var(--border));border-radius:var(--radius);font-size:13px}.sdr-services-toggle__label{font-weight:600;color:hsl(var(--foreground));margin-right:4px}.sdr-services-toggle__item{display:flex;align-items:center;gap:6px;cursor:pointer;font-weight:500;color:hsl(var(--foreground))}.sdr-services-toggle__item input[type=checkbox]{cursor:pointer}.pca-form-page{min-height:100vh;background:hsl(var(--background))}.pca-form-header{padding:24px 16px 8px;text-align:center;border-bottom:1px solid hsl(var(--border));background:hsl(var(--muted) / .3)}.pca-form-header h1{margin:0;font-size:22px;font-weight:700}.pca-form-week-nav{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 4px}.pca-form-week-nav__btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));font-size:18px;cursor:pointer;color:hsl(var(--foreground));transition:background .15s}.pca-form-week-nav__btn:hover{background:hsl(var(--muted))}.pca-form-week-nav__label{display:flex;align-items:center;gap:8px}.pca-form-week-nav__input-label{font-size:13px;font-weight:500;color:hsl(var(--muted-foreground));white-space:nowrap}.pca-form-week-nav__input{padding:4px 8px;border:1px solid hsl(var(--border));border-radius:var(--radius);font-size:14px;background:hsl(var(--background));color:hsl(var(--foreground))}.pca-form-week{margin:4px 0 12px;font-size:14px;color:hsl(var(--muted-foreground))}.pca-form-meta{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;font-size:13px;color:hsl(var(--muted-foreground))}.pca-form-auth-limits{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap;font-size:12px;margin-top:8px;color:hsl(var(--muted-foreground))}.pca-form-auth-limits strong{font-weight:600;color:hsl(var(--foreground))}.pca-form-auth-chip{display:inline-flex;align-items:center;padding:3px 10px;border-radius:20px;background:#f1f5f9;color:#3d668f;font-weight:500;font-size:12px}.pca-form-auth-chip--exceeded{background:#fce8e8;color:#dc2828;font-weight:600}.pca-form-hint{margin:8px 0 16px;padding:10px 14px;background:#e8f6fc;border-left:3px solid hsl(200 80% 45%);border-radius:4px;font-size:13px;color:hsl(var(--foreground))}.sdr-field-error{border:2px solid hsl(var(--destructive))!important;background:#ef43430d!important}.sdr-field-error-msg{font-size:11px;color:hsl(var(--destructive));margin-top:2px;text-align:center}.sdr-sig-error .signature-pad__canvas{border-color:hsl(var(--destructive))!important;background:#ef43430d!important}.sdr-name-error input{border:2px solid hsl(var(--destructive))!important;background:#ef43430d!important}.sdr-totals-bar{display:flex;gap:0;margin-bottom:20px;border:2px solid hsl(var(--border));border-radius:var(--radius);overflow:hidden}.sdr-total-item{flex:1;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding:14px 20px;font-size:14px;border-right:1px solid hsl(var(--border));background:hsl(var(--card))}.sdr-total-item:last-child{border-right:none}.sdr-total-item strong{font-size:18px;color:#1791cf}.sdr-total-item--exceeded{background:#fdf1f1}.sdr-total-item--exceeded strong{color:#dc2828}.sdr-total-warning{width:100%;font-size:11px;font-weight:600;color:#dc2828;margin-top:2px;text-align:right}.sdr-supervisor-row{padding:12px 16px;font-size:13px;border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground))}.ts-signatures{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:0 16px 16px}.signature-pad-wrap{display:flex;flex-direction:column;gap:8px}.signature-pad__label{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:hsl(var(--muted-foreground))}.signature-pad__canvas{border:2px dashed hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));cursor:crosshair;touch-action:none;width:100%;max-width:400px;height:120px}.signature-pad__canvas--disabled{cursor:default;opacity:.7;background:hsl(var(--muted))}.clickable-row{cursor:pointer;transition:background .15s}.clickable-row:hover{background:hsl(var(--primary) / .06)}.clickable-row td:first-child{position:relative}.clickable-row:hover td:first-child:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:hsl(var(--primary));border-radius:0 2px 2px 0}.btn--xs{padding:4px 10px;font-size:11px;min-height:auto}.filter-select{padding:6px 12px;border:1px solid hsl(var(--border));border-radius:var(--radius);font-size:13px;background:hsl(var(--card));color:hsl(var(--foreground))}.data-table{width:100%;border-collapse:collapse;font-size:14px}.data-table th{text-align:left;padding:10px 16px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:hsl(var(--muted-foreground));background:hsl(var(--primary) / .04);border-bottom:2px solid hsl(var(--border));white-space:nowrap}.data-table td{padding:12px 16px;border-bottom:1px solid hsl(var(--border));color:hsl(var(--foreground))}.data-table tbody tr:hover{background:hsl(var(--primary) / .04)}.data-table tbody tr:last-child td{border-bottom:none}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#f3f4f6,#e0e4eb)}.login-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:16px;box-shadow:0 8px 32px #00000014,0 2px 8px #0000000a;width:100%;max-width:420px;padding:40px;overflow:hidden;position:relative}.login-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,hsl(var(--primary)),#6da2f8)}.login-card__header{text-align:center;margin-bottom:32px}.login-card__logo{width:48px;height:48px;margin:0 auto 16px;color:hsl(var(--primary))}.login-card__logo svg{width:48px;height:48px}.login-card__title{font-size:24px;font-weight:700;color:hsl(var(--foreground));margin:0 0 4px}.login-card__subtitle{font-size:14px;color:hsl(var(--muted-foreground));margin:0}.login-card__form .form-group{margin-bottom:16px}.login-card__form input{width:100%}.login-error{display:flex;align-items:center;gap:8px;padding:10px 14px;margin-bottom:16px;background:#ef434314;border:1px solid hsl(0 84% 60% / .25);border-radius:var(--radius);color:#bc1010;font-size:13px;font-weight:500}.login-error svg{width:16px;height:16px;flex-shrink:0}.login-forgot-link{font-size:13px;color:hsl(var(--muted-foreground));text-decoration:none;transition:color .15s}.login-forgot-link:hover{color:hsl(var(--foreground));text-decoration:underline}.reset-success{text-align:center;padding:8px 0}.reset-success__icon{width:48px;height:48px;margin:0 auto;color:#21c45d}.reset-success__icon svg{width:48px;height:48px}.share-link-row{display:flex;gap:8px;align-items:center}.share-link-input{flex:1;font-size:13px;padding:8px 12px;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted));color:hsl(var(--foreground));font-family:monospace;outline:none}.share-link-row .btn svg{width:14px;height:14px}.signing-page{min-height:100vh;background:linear-gradient(135deg,#f2f4f8,#dee3ed);display:flex;align-items:flex-start;justify-content:center;padding:24px 12px 48px}.signing-form-container{width:100%;max-width:520px;background:hsl(var(--card));border-radius:16px;box-shadow:0 4px 24px #00000014;padding:24px 20px}.signing-header{text-align:center;margin-bottom:20px}.signing-header__logo{width:44px;height:44px;margin:0 auto 8px;color:hsl(var(--primary))}.signing-header__logo svg{width:100%;height:100%}.signing-header__title{font-size:22px;font-weight:700;margin:0 0 2px}.signing-header__sub{font-size:14px;color:hsl(var(--muted-foreground));margin:0}.signing-info-bar{display:flex;flex-wrap:wrap;gap:8px 20px;background:hsl(var(--muted));border-radius:var(--radius);padding:12px 16px;font-size:13px;margin-bottom:20px}.signing-entries{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.signing-day-card{border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:hidden}.signing-day-card__header{background:hsl(var(--muted));padding:10px 14px;font-weight:600;font-size:14px;display:flex;justify-content:space-between;align-items:center}.signing-day-card__header span{font-weight:400;color:hsl(var(--muted-foreground));font-size:13px}.signing-day-card__body{padding:14px}.signing-field-row{display:flex;gap:10px;align-items:flex-end}.signing-field{flex:1}.signing-field label{display:block;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;color:hsl(var(--muted-foreground));margin-bottom:4px}.signing-field input[type=time],.signing-field input[type=text]{width:100%;padding:8px 10px;border:1px solid hsl(var(--border));border-radius:var(--radius);font-size:14px;outline:none}.signing-field input:focus{border-color:hsl(var(--primary));box-shadow:0 0 0 2px hsl(var(--primary) / .15)}.signing-hours{padding:8px 0;font-size:14px;font-weight:600;color:hsl(var(--foreground))}.signing-signature-section{border:1px solid hsl(var(--border));border-radius:var(--radius);padding:16px;margin-bottom:8px}.signing-signature-section .form-group{margin-bottom:14px}.signing-signature-section .form-group label{font-size:13px;font-weight:600}.signing-signature-section .form-group input{width:100%}.signing-card{width:100%;max-width:420px;background:hsl(var(--card));border-radius:16px;box-shadow:0 4px 24px #00000014;padding:48px 32px;text-align:center;margin-top:15vh}.signing-card__icon{width:56px;height:56px;margin:0 auto 16px}.signing-card__icon svg{width:100%;height:100%}.signing-card h2{font-size:20px;margin:0 0 8px}.signing-card p{font-size:14px;color:hsl(var(--muted-foreground));margin:0;line-height:1.5}@media(max-width:480px){.signing-form-container{padding:16px 14px;border-radius:12px}.signing-field-row{flex-wrap:wrap}.signing-info-bar{flex-direction:column;gap:4px}}.payroll-tabs{display:flex;gap:0;border-bottom:2px solid hsl(var(--border));margin-bottom:16px}.payroll-tab{padding:8px 18px;font-size:13px;font-weight:500;cursor:pointer;border:none;background:none;color:#71717a;border-bottom:2px solid transparent;margin-bottom:-2px;display:flex;align-items:center;gap:6px;transition:color .15s}.payroll-tab:hover{color:hsl(var(--foreground))}.payroll-tab--active{color:hsl(var(--foreground));border-bottom-color:hsl(var(--foreground))}.payroll-tab__badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;font-size:11px;font-weight:700;background:#e0cef3;color:#592d86}.payroll-tab__badge--zero{background:hsl(var(--muted));color:#71717a}.payroll-row--needs-review{background:#f5effb}.payroll-row--void{background:#fdecec;color:#b82e2e}.payroll-row--incomplete{background:#fdedf2}.payroll-row--unauthorized{background:#fef9e1}.payroll-row--overlap{font-weight:700}.payroll-row--merged-original{background:#f3f4f6;border-left:3px solid hsl(240 3.8% 76%)}.payroll-client-group{margin-bottom:24px}.payroll-client-banner{display:flex;align-items:center;gap:12px;padding:8px 12px;background:hsl(var(--muted));border-radius:var(--radius) var(--radius) 0 0;font-weight:600;font-size:14px}.payroll-client-banner__auths{font-size:12px;color:#71717a;font-weight:400;font-family:monospace}.payroll-total-row{background:hsl(var(--muted));font-weight:700}.payroll-employee-totals-row td{background:hsl(var(--muted));padding:6px 10px}.payroll-employee-totals__label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#71717a;margin-right:12px}.payroll-employee-totals__item{display:inline-flex;align-items:center;gap:6px;margin-right:20px;font-size:12px}.payroll-employee-totals__name{font-weight:600}.payroll-employee-totals__units{color:#71717a;font-family:monospace}.payroll-employee-totals__void{font-size:11px;color:#b82e2e;background:#fdecec;padding:1px 5px;border-radius:3px}.payroll-visits-table{width:100%;border-collapse:collapse;font-size:13px}.payroll-visits-table th,.payroll-visits-table td{padding:6px 10px;border-bottom:1px solid hsl(var(--border))}.payroll-legend{display:flex;gap:8px;margin-bottom:12px;font-size:12px;flex-wrap:wrap;align-items:center}.payroll-legend__item{padding:3px 8px;border-radius:4px;cursor:pointer;border:2px solid transparent;font-family:inherit;font-size:inherit;background-color:inherit;transition:opacity .15s,border-color .15s}.payroll-legend__item:hover{opacity:.8}.payroll-legend__item--active{border-color:hsl(var(--foreground))!important;box-shadow:0 0 0 1px hsl(var(--foreground))}.payroll-legend__item--needs-review{background:#f5effb;color:#639}.payroll-legend__item--void{background:#fdecec;color:#b82e2e}.payroll-legend__item--incomplete{background:#fdedf2}.payroll-legend__item--unauthorized{background:#fef9e1}.payroll-legend__item--overlap{font-weight:700;border:1px solid hsl(var(--border))}.payroll-legend__item--overcap{background:#fcd9d9;font-weight:700}.payroll-legend__item--timeflag{background:#fee8c3;font-weight:600}.signing-card.schedule-view-card{max-width:1200px;width:100%;box-sizing:border-box;padding:28px 32px;margin-top:24px;text-align:left;overflow-x:auto}.schedule-view-table{width:100%;border-collapse:collapse;font-size:14px;table-layout:auto}.schedule-view-table th{text-align:left;padding:10px 14px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;color:hsl(var(--muted-foreground));border-bottom:2px solid hsl(var(--border));white-space:nowrap}.schedule-view-table td{padding:12px 14px;border-bottom:1px solid hsl(var(--border));vertical-align:top;line-height:1.5;white-space:nowrap}.schedule-view-table tbody tr:last-child td{border-bottom:none}.schedule-view-table__day{border-right:2px solid hsl(var(--border));background:hsl(var(--muted) / .4);white-space:nowrap}.schedule-view-table__day-name{display:block;font-weight:800;font-size:16px;letter-spacing:.3px}.schedule-view-table__day-date{display:block;font-size:13px;font-weight:600;color:hsl(var(--muted-foreground));margin-top:2px}.schedule-view-table__time{white-space:nowrap;font-weight:500;font-size:13px}.schedule-view-table__client{font-weight:500}.schedule-view-table__service-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;background:hsl(var(--accent));color:hsl(var(--accent-foreground));white-space:nowrap}.schedule-view-table__details{font-size:13px;color:hsl(var(--muted-foreground));word-break:break-word;white-space:normal;min-width:180px}.schedule-view-table__meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:2px}.schedule-view-table__notes{margin-top:4px;font-style:italic}@media(max-width:640px){.signing-card.schedule-view-card{padding:16px;margin-top:12px}.schedule-view-table,.schedule-view-table thead,.schedule-view-table tbody,.schedule-view-table tr,.schedule-view-table th,.schedule-view-table td{display:block;width:100%}.schedule-view-table thead{display:none}.schedule-view-table tbody tr{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:10px;margin-bottom:10px;padding:14px 16px;box-shadow:0 1px 3px #0000000a}.schedule-view-table td{padding:3px 0;border-bottom:none;border-right:none;background:none}.schedule-view-table td[data-label]:before{content:attr(data-label) ": ";font-weight:600;font-size:12px;color:hsl(var(--muted-foreground));margin-right:4px}.schedule-view-table__day{border-right:none;background:none;padding-bottom:8px;margin-bottom:6px;border-bottom:1px solid hsl(var(--border))}.schedule-view-table__day-name{font-size:15px}.schedule-view-table__time,.schedule-view-table__client{font-size:14px}.schedule-view-table__details{font-size:13px;margin-top:4px}.schedule-view-table__details:before{display:block;margin-bottom:2px}}.schedule-view-hours{display:flex;align-items:center;gap:16px;padding:12px 16px;margin-bottom:16px;background:hsl(var(--muted) / .4);border-radius:8px;border:1px solid hsl(var(--border))}.schedule-view-hours__weekly{display:flex;flex-direction:column;align-items:center;padding-right:16px;border-right:1px solid hsl(var(--border))}.schedule-view-hours__weekly-label{font-size:11px;font-weight:600;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.3px}.schedule-view-hours__weekly-value{font-size:20px;font-weight:700;color:hsl(var(--foreground))}.schedule-view-hours__daily{display:flex;gap:6px;flex:1;justify-content:space-around}.schedule-view-hours__day{display:flex;flex-direction:column;align-items:center;min-width:36px}.schedule-view-hours__day-name{font-size:11px;font-weight:600;color:hsl(var(--muted-foreground))}.schedule-view-hours__day-hrs{font-size:14px;font-weight:500;color:hsl(var(--muted-foreground))}.schedule-view-hours__day--active .schedule-view-hours__day-name{color:hsl(var(--foreground))}.schedule-view-hours__day--active .schedule-view-hours__day-hrs{color:#0b64f4;font-weight:700}@media(max-width:640px){.schedule-view-hours{flex-direction:column;gap:10px}.schedule-view-hours__weekly{padding-right:0;border-right:none;padding-bottom:8px;border-bottom:1px solid hsl(var(--border));width:100%}}.sched-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.sched-week-nav{display:flex;align-items:center;gap:6px}.sched-week-nav__label{font-size:15px;font-weight:600;color:hsl(var(--foreground));margin:0 6px;white-space:nowrap}.sched-view-toggle{display:flex;gap:2px;background:hsl(var(--muted));border-radius:8px;padding:3px}.sched-view-toggle__btn{display:flex;align-items:center;gap:6px;padding:6px 14px;border:none;border-radius:6px;background:transparent;color:hsl(var(--muted-foreground));cursor:pointer;font-size:13px;font-weight:500;font-family:inherit;transition:all .15s}.sched-view-toggle__btn svg{width:14px;height:14px}.sched-view-toggle__btn:hover{color:hsl(var(--foreground))}.sched-view-toggle__btn--active{background:hsl(var(--background));color:hsl(var(--foreground));box-shadow:0 1px 3px #0000001a}.sched-view-toggle__label{font-size:13px;font-weight:500;color:hsl(var(--muted-foreground));padding:0 8px 0 4px}.sched-card__header .sched-view-toggle{background:#ffffff26}.sched-card__header .sched-view-toggle__label{color:#ffffffe6}.sched-card__header .sched-view-toggle__btn{color:#ffffffbf}.sched-card__header .sched-view-toggle__btn:hover{color:#fff}.sched-card__header .sched-view-toggle__btn--active{background:#fff;color:#0b64f4}.sched-dashboard-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.sched-dashboard-row .sched-card{margin-bottom:0;display:flex;flex-direction:column}.sched-dashboard-row .sched-card__body{flex:1}@media(max-width:1100px){.sched-dashboard-row{grid-template-columns:1fr}}.sched-matrix-wrap{overflow-x:auto;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--card))}.sched-matrix{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;table-layout:fixed}.sched-matrix thead th{background:hsl(var(--muted) / .5);color:hsl(var(--muted-foreground));font-weight:600;padding:10px 8px;text-align:center;border-bottom:1px solid hsl(var(--border));position:sticky;top:0;z-index:2}.sched-matrix__row-head{width:160px;min-width:160px;text-align:left!important;font-size:10px;text-transform:uppercase;letter-spacing:.06em;border-right:2px solid hsl(var(--border));background:hsl(var(--muted) / .7)!important;position:sticky;left:0;z-index:3}.sched-matrix__day-head{width:calc((100% - 160px) / 7);display:table-cell}.sched-matrix__day-abbr{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:hsl(var(--muted-foreground));line-height:1.2}.sched-matrix__day-num{display:block;font-size:15px;font-weight:700;color:hsl(var(--foreground));line-height:1.2;margin-top:2px}.sched-matrix__day-head--today{background:#ecf3fe!important}.sched-matrix__day-head--today .sched-matrix__day-abbr,.sched-matrix__day-head--today .sched-matrix__day-num{color:#0a5adb}.sched-matrix tbody tr:nth-child(2n) td{background:hsl(var(--muted) / .2)}.sched-matrix tbody tr:nth-child(2n) .sched-matrix__row-label{background:hsl(var(--muted) / .55)}.sched-matrix tbody tr:hover td{background:hsl(var(--muted) / .35)}.sched-matrix tbody tr:hover .sched-matrix__row-label{background:hsl(var(--muted) / .7)}.sched-matrix tbody tr:not(:last-child) td{border-bottom:1px solid hsl(var(--border) / .6)}.sched-matrix__row-label{padding:10px 12px;font-weight:600;font-size:12px;color:hsl(var(--foreground));background:hsl(var(--muted) / .4);border-right:2px solid hsl(var(--border));vertical-align:middle;word-break:break-word;position:sticky;left:0;z-index:1}.sched-matrix__cell{padding:6px 5px;vertical-align:top;min-height:60px;transition:background .15s ease}.sched-matrix__cell--today{background:#f5f9ff!important;box-shadow:inset 0 0 0 1px #cee0fd}.sched-matrix__cell--empty{text-align:center;vertical-align:middle}.sched-matrix__cell-placeholder{color:hsl(var(--muted-foreground) / .3);font-size:14px;-webkit-user-select:none;user-select:none}.sched-matrix__chip{display:block;width:100%;padding:6px 8px 6px 10px;margin-bottom:4px;border:none;border-left:3px solid var(--chip-color, #6B7280);border-radius:4px;background:color-mix(in srgb,var(--chip-color, #6B7280) 12%,white);color:hsl(var(--foreground));font-size:11px;text-align:left;cursor:pointer;transition:background .15s ease,transform .12s ease,box-shadow .15s ease;overflow:hidden;line-height:1.3}.sched-matrix__chip:last-child{margin-bottom:0}.sched-matrix__chip:hover{background:color-mix(in srgb,var(--chip-color, #6B7280) 20%,white);transform:translateY(-1px);box-shadow:0 2px 6px #00000014}.sched-matrix__chip-name{display:block;font-weight:600;font-size:11px;color:hsl(var(--foreground));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.sched-matrix__chip-meta{display:flex;align-items:center;gap:6px;margin-top:2px;font-size:10px;color:hsl(var(--muted-foreground));white-space:nowrap;overflow:hidden}.sched-matrix__chip-time{font-weight:500;font-variant-numeric:tabular-nums}.sched-matrix__chip-service{font-weight:600;color:var(--chip-color, #6B7280);text-transform:uppercase;letter-spacing:.03em;font-size:9px;padding:1px 5px;border-radius:3px;background:color-mix(in srgb,var(--chip-color, #6B7280) 15%,white)}.sched-matrix__chip--cancelled{opacity:.5}.sched-matrix__chip--cancelled .sched-matrix__chip-name{text-decoration:line-through}.sched-matrix__chip--overlap{box-shadow:0 0 0 2px #ef434359}.sched-stats-bar{display:flex;gap:24px;padding:12px 16px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;margin-bottom:16px;flex-wrap:wrap}.sched-stats-bar__item{display:flex;align-items:baseline;gap:6px}.sched-stats-bar__value{font-size:20px;font-weight:700;color:hsl(var(--foreground))}.sched-stats-bar__label{font-size:13px;color:hsl(var(--muted-foreground))}.sched-stats-bar__item--warn .sched-stats-bar__value{color:#ef4343}.sched-stats-bar__item--warn .sched-stats-bar__label{color:#c33}.sched-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:10px;margin-bottom:16px;overflow:hidden}.sched-card__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#0b64f4;color:#fff}.sched-card__header-left{display:flex;align-items:center;gap:8px}.sched-card__header-icon svg{width:18px;height:18px}.sched-card__header-title{font-size:15px;font-weight:600}.sched-card__header-actions{display:flex;align-items:center;gap:8px}.sched-card__select{padding:6px 12px;border:1px solid rgba(255,255,255,.3);border-radius:6px;background:#ffffff26;color:#fff;font-size:14px;font-family:inherit;cursor:pointer;min-width:200px}.sched-card__select option{background:hsl(var(--card));color:hsl(var(--foreground))}.sched-card__select:focus{outline:none;border-color:#fff9}.sched-card__select::placeholder{color:#ffffff80}.searchable-select{position:relative}.searchable-select__dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:50;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);max-height:220px;overflow-y:auto;margin:0;padding:4px;list-style:none;box-shadow:0 4px 16px hsl(var(--foreground) / .08),0 1px 3px hsl(var(--foreground) / .04)}.searchable-select__item{padding:7px 10px;cursor:pointer;font-size:13px;color:hsl(var(--foreground));border-radius:calc(var(--radius) - 2px);transition:background .1s}.searchable-select__item:hover,.searchable-select__item--active{background:hsl(var(--muted))}.searchable-select__empty{padding:8px 10px;font-size:13px;color:hsl(var(--muted-foreground))}.sched-card__header-actions .searchable-select__dropdown{background:hsl(var(--card));border-color:hsl(var(--border))}.sched-card__header-actions .searchable-select__item{color:hsl(var(--foreground))}.sched-card__body{padding:16px}.sched-card__chevron{display:flex;align-items:center;transition:transform .2s}.sched-card__chevron--open{transform:rotate(90deg)}.sched-card--collapsed .sched-card__header{border-radius:10px}.sched-card__expand-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid rgba(255,255,255,.3);border-radius:6px;background:#ffffff26;color:#fff;cursor:pointer;transition:background .15s}.sched-card__expand-btn:hover{background:#ffffff4d}.sched-card--fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;margin:0;border-radius:0;display:flex;flex-direction:column}.sched-card--fullscreen .sched-card__header{border-radius:0;flex-shrink:0}.sched-card--fullscreen .sched-card__body{flex:1;overflow-y:auto;padding:24px}.sched-card__backdrop{display:none}.sched-auth-bar{display:flex;align-items:center;gap:16px;padding:10px 16px;background:#f0f6fe;border:1px solid hsl(217 91% 88%);border-radius:8px;margin-bottom:16px;flex-wrap:wrap}.sched-auth-bar__item{display:flex;align-items:center;gap:6px}.sched-auth-bar__item--service{gap:4px}.sched-auth-bar__label{font-size:12px;color:#506b95;font-weight:500}.sched-auth-bar__value{font-size:14px;font-weight:700;color:#1e55ae}.sched-auth-bar__value--sched{color:#cf8b17}.sched-auth-bar__value--remain{color:#1a9948}.sched-auth-bar__value--over{color:#ed2c2c}.sched-auth-bar__sep{width:1px;height:24px;background:#bdc8db}.sched-auth-bar__dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.sched-wg{border:1px solid hsl(var(--border));border-radius:8px;overflow:hidden;margin-bottom:16px;background:hsl(var(--card))}.sched-wg__header{display:flex;border-bottom:2px solid hsl(var(--border));background:hsl(var(--muted) / .4)}.sched-wg__day-header{flex:1;text-align:center;padding:8px 4px;border-left:1px solid hsl(var(--border))}.sched-wg__day-header--today{background:#f5f9ff}.sched-wg__day-abbr{display:block;font-size:10px;font-weight:600;text-transform:uppercase;color:hsl(var(--muted-foreground));letter-spacing:.5px}.sched-wg__day-header--today .sched-wg__day-abbr{color:#0b64f4}.sched-wg__day-num{display:block;font-size:13px;font-weight:700;color:hsl(var(--foreground))}.sched-wg__day-header--today .sched-wg__day-num{color:#0b64f4}.sched-wg__body{display:flex;position:relative;overflow-y:auto}.sched-wg__gutter{width:60px;flex-shrink:0;position:relative;border-right:1px solid hsl(var(--border))}.sched-wg__header>.sched-wg__gutter{width:60px;flex-shrink:0;border-right:1px solid hsl(var(--border))}.sched-wg__hour-label{position:absolute;left:0;right:0;height:60px;display:flex;align-items:flex-start;justify-content:center;padding-top:2px;font-size:10px;font-weight:500;color:hsl(var(--muted-foreground))}.sched-wg__day-col{flex:1;position:relative;border-left:1px solid hsl(var(--border));cursor:pointer;min-height:100%}.sched-wg__day-col--today{background:#f5f9ff}.sched-wg__hline{position:absolute;left:0;right:0;height:0;border-top:1px solid hsl(var(--border) / .5);pointer-events:none;z-index:0}.sched-wg__block{position:absolute;border:none;border-left:3px solid var(--block-color, #6B7280);border-radius:0 4px 4px 0;background:var(--block-bg, hsl(var(--muted)));cursor:pointer;font-family:inherit;padding:3px 6px;overflow:hidden;z-index:1;text-align:left;display:flex;flex-direction:column;gap:1px;transition:opacity .15s,box-shadow .15s;box-sizing:border-box}.sched-wg__block:hover{opacity:.9;box-shadow:0 2px 8px #00000026;z-index:5}.sched-wg__block--cancelled{opacity:.4;text-decoration:line-through}.sched-wg__block--overlap{border-left-color:#ef4343!important;animation:sched-wg-pulse 2s ease-in-out infinite}@keyframes sched-wg-pulse{0%,to{box-shadow:0 0 #ef434326}50%{box-shadow:0 0 0 3px #ef434326}}.sched-wg__block-badge{padding:1px 4px;border-radius:4px;color:#fff;font-size:8px;font-weight:700;flex-shrink:0;line-height:1.3;align-self:flex-start}.sched-wg__block-time{font-size:10px;font-weight:600;color:hsl(var(--foreground));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sched-wg__block-label{font-size:10px;color:hsl(var(--foreground) / .75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sched-wg__block-clip{font-size:10px;color:hsl(var(--muted-foreground));font-style:italic}.sched-client-info{margin-bottom:12px}.sched-client-info__details{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.sched-client-info__tag{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:hsl(var(--muted-foreground));padding:3px 10px;background:hsl(var(--muted));border-radius:6px}.sched-client-info__tag svg{width:12px;height:12px}.sched-client-info__tag--gate{background:#fef5e7;color:#664a19;font-weight:600;border:1px solid hsl(38 92% 80%)}.sched-client-info__notes{font-size:12px;color:hsl(var(--muted-foreground));font-style:italic;margin-top:6px}.sched-employee-info{padding:8px 12px;background:hsl(var(--muted));border-radius:6px;margin-bottom:12px;font-size:13px;color:hsl(var(--foreground))}.sched-auth-table{width:100%;border-collapse:collapse;margin-bottom:14px;font-size:13px}.sched-auth-table th{text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:hsl(var(--muted-foreground));padding:6px 10px;border-bottom:1px solid hsl(var(--border))}.sched-auth-table td{padding:8px 10px;border-bottom:1px solid hsl(var(--border) / .5);color:hsl(var(--foreground))}.sched-auth-table tbody tr:last-child td{border-bottom:none}.sched-auth-table__svc{display:flex;align-items:center;gap:8px;font-weight:500}.sched-auth-table__dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.sched-emp-totals{padding:10px 12px;margin-bottom:12px;background:hsl(var(--muted) / .4);border-radius:var(--radius);border:1px solid hsl(var(--border))}.sched-emp-totals__weekly{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.sched-emp-totals__weekly-label{font-size:12px;font-weight:600;color:hsl(var(--foreground))}.sched-emp-totals__weekly-value{font-size:16px;font-weight:700;color:hsl(var(--primary))}.sched-emp-totals__daily{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:10px}.sched-emp-totals__day{text-align:center;padding:4px 0;border-radius:var(--radius);background:hsl(var(--muted))}.sched-emp-totals__day--active{background:hsl(var(--primary) / .1)}.sched-emp-totals__day-name{display:block;font-size:10px;font-weight:600;color:hsl(var(--muted-foreground));text-transform:uppercase}.sched-emp-totals__day-hrs{display:block;font-size:12px;font-weight:600;color:hsl(var(--foreground))}.sched-emp-totals__day--active .sched-emp-totals__day-hrs{color:hsl(var(--primary))}.sched-emp-totals__clients{border-top:1px solid hsl(var(--border));padding-top:8px}.sched-emp-totals__clients-label{font-size:11px;font-weight:600;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px;display:block}.sched-emp-totals__client-row{display:flex;justify-content:space-between;font-size:12px;padding:3px 0;color:hsl(var(--foreground))}.sched-emp-totals__client-hrs{font-weight:600}.sched-prompt{display:flex;flex-direction:column;align-items:center;gap:12px;padding:40px 24px;text-align:center;color:hsl(var(--muted-foreground));font-size:14px}.sched-prompt svg{width:32px;height:32px;opacity:.35}.sched-overview-table-wrap{overflow-x:auto}.sched-overview-table{width:100%;border-collapse:collapse;font-size:13px}.sched-overview-table th{text-align:left;padding:8px 10px;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:hsl(var(--muted-foreground));border-bottom:2px solid hsl(var(--border))}.sched-overview-table td{padding:8px 10px;border-bottom:1px solid hsl(var(--border));color:hsl(var(--foreground))}.sched-overview-table__row:hover{background:hsl(var(--muted) / .5)}.sched-overview-table__row--overlap td{background:#fef1f1}.sched-overview-table__row--cancelled{opacity:.5}.sched-overview-table__time{white-space:nowrap;font-variant-numeric:tabular-nums}.sched-service-badge{display:inline-block;padding:2px 8px;border-radius:10px;color:#fff;font-size:11px;font-weight:600}.sched-status{font-size:11px;font-weight:500;padding:2px 8px;border-radius:10px;text-transform:capitalize}.sched-status--scheduled{background:#e7f0fe;color:#2160c4}.sched-status--completed{background:#e0faea;color:#1a9948}.sched-status--cancelled{background:#fde8e8;color:#b82e2e}.sched-overlap-warning{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;background:#fef5e7;border:1px solid hsl(38 92% 75%);border-radius:8px;margin-bottom:16px;color:#7a591f;font-size:13px}.sched-overlap-warning svg{width:18px;height:18px;flex-shrink:0;margin-top:1px}.sched-overlap-warning strong{display:block;margin-bottom:2px}.sched-legend{display:flex;flex-wrap:wrap;gap:12px;padding:10px 0;margin-bottom:8px}.sched-legend__item{display:flex;align-items:center;gap:6px;font-size:12px;color:hsl(var(--muted-foreground))}.sched-legend__dot{width:10px;height:10px;border-radius:50%}.sched-delivery-text{width:100%;font-family:SF Mono,Fira Code,Cascadia Code,monospace;font-size:12px;line-height:1.5;background:hsl(var(--muted) / .3);border:1px solid hsl(var(--border));border-radius:var(--radius);padding:12px;color:hsl(var(--foreground));resize:vertical;cursor:text}.sched-delivery-text:focus{outline:2px solid hsl(var(--ring));outline-offset:1px}.sched-hours-display{display:flex;align-items:baseline;gap:6px;padding:8px 12px;border-left:3px solid;background:hsl(var(--muted));border-radius:0 6px 6px 0;margin:4px 0 12px}.sched-hours-display__value{font-size:18px;font-weight:700;color:hsl(var(--foreground))}.sched-hours-display__label{font-size:12px;color:hsl(var(--muted-foreground))}.sched-hours-display__sep{font-size:14px;color:hsl(var(--muted-foreground));margin:0 2px}.sched-modal-auth-table{width:100%;border-collapse:collapse;margin-bottom:14px;font-size:13px;background:hsl(var(--muted) / .3);border-radius:var(--radius);overflow:hidden}.sched-modal-auth-table th{text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:hsl(var(--muted-foreground));padding:6px 12px;border-bottom:1px solid hsl(var(--border))}.sched-modal-auth-table td{padding:6px 12px;color:hsl(var(--foreground))}.sched-modal-auth-table tbody tr+tr td{border-top:1px solid hsl(var(--border) / .4)}.sched-emp-toggle{display:flex;gap:2px;margin-bottom:6px;background:hsl(var(--muted));border-radius:6px;padding:2px;width:fit-content}.sched-emp-toggle__btn{padding:3px 10px;border:none;border-radius:4px;background:transparent;color:hsl(var(--muted-foreground));cursor:pointer;font-size:11px;font-weight:500;font-family:inherit;transition:all .15s}.sched-emp-toggle__btn:hover{color:hsl(var(--foreground))}.sched-emp-toggle__btn--active{background:hsl(var(--background));color:hsl(var(--foreground));box-shadow:0 1px 2px #00000014}.sched-day-grid{display:flex;flex-direction:column;margin-bottom:12px;border:1px solid hsl(var(--border));border-radius:8px;overflow:hidden}.sched-day-row{background:hsl(var(--card));transition:background .15s ease}.sched-day-row:not(:last-child){border-bottom:1px solid hsl(var(--border) / .5)}.sched-day-row--active{background:#f0f6fe}.sched-day-row__header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px}.sched-day-row__toggle{display:flex;align-items:center;gap:10px;cursor:pointer}.sched-day-row__toggle input[type=checkbox]{width:16px;height:16px;accent-color:hsl(217 91% 50%);cursor:pointer}.sched-day-row__day{font-weight:600;font-size:14px;color:hsl(var(--foreground));min-width:36px}.sched-day-row__date{font-size:12px;color:hsl(var(--muted-foreground));font-variant-numeric:tabular-nums}.sched-day-row__badge{font-size:11px;font-weight:600;padding:3px 10px;border-radius:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.sched-day-row__fields{display:flex;align-items:flex-end;gap:10px;padding:0 14px 12px 42px;flex-wrap:wrap}.sched-day-row__field{display:flex;flex-direction:column;gap:3px;flex:1;min-width:80px}.sched-day-row__field-label{font-size:10px;font-weight:600;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.05em}.sched-day-row__input{font-size:13px;padding:6px 8px;border:1px solid hsl(var(--border));border-radius:6px;background:hsl(var(--card));color:hsl(var(--foreground));width:100%;font-variant-numeric:tabular-nums}.sched-day-row__input:focus{outline:none;border-color:#0b64f4;box-shadow:0 0 0 2px #0b64f426}.sched-day-row__apply{font-size:11px;padding:6px 12px;border:1px solid hsl(217 91% 80%);border-radius:6px;background:hsl(var(--card));color:#0b64f4;cursor:pointer;white-space:nowrap;font-weight:500;transition:background .15s ease;align-self:flex-end}.sched-day-row__apply:hover{background:#e7f0fe;border-color:#0b64f4}.sched-recurring{padding:12px 14px;background:hsl(var(--muted));border-radius:8px;margin-bottom:12px}.sched-recurring__toggle{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:hsl(var(--foreground));cursor:pointer}.sched-recurring__toggle input[type=checkbox]{width:16px;height:16px;accent-color:hsl(var(--primary));cursor:pointer}.sched-recurring__options{margin-top:10px;padding-top:10px;border-top:1px solid hsl(var(--border))}.sched-recurring__preview{margin-top:8px;font-size:13px;color:hsl(var(--primary));font-weight:500}.sched-overlap-confirm{margin:8px 0 16px}.sched-overlap-confirm__msg{font-size:14px;font-weight:500;color:hsl(var(--foreground));margin:0 0 10px}.sched-overlap-confirm__list{display:flex;flex-direction:column;gap:6px;padding:10px 12px;background:#fef9f0;border:1px solid hsl(38 92% 85%);border-radius:6px}.sched-overlap-confirm__item{font-size:13px;color:#664a19}.btn--xs{padding:2px 6px;font-size:12px}.btn--xs svg{width:14px;height:14px}.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:768px){.sched-toolbar{flex-direction:column;align-items:stretch}.sched-wg__gutter{width:40px}.sched-wg__header>.sched-wg__gutter{width:40px}.sched-wg__hour-label,.sched-wg__block-time{font-size:8px}.sched-wg__block-label{display:none}.sched-wg__block-badge{font-size:7px}.sched-card__select{min-width:140px}.form-grid-2{grid-template-columns:1fr}.sched-auth-bar{gap:8px;padding:8px 12px}}.payroll-legend__item--review{background:#f5effb;color:#639}.dashboard-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid hsl(240 5.9% 90%);border-radius:8px;padding:20px;text-align:center}.stat-card__value{font-size:2rem;font-weight:700;color:#09090b}.stat-card__label{font-size:.85rem;color:#71717a;margin-top:4px}.dashboard-alert{padding:12px 16px;border-radius:8px;margin-bottom:16px}.dashboard-alert--warn{background:#fef3c7;border:1px solid hsl(48 96% 53%);color:#db7706}.sched-auth-info{padding:8px 12px;border-radius:6px;background:#edfdf3;border:1px solid hsl(142 71% 45%);font-size:.85rem;margin-top:8px;display:flex;gap:12px;flex-wrap:wrap}.sched-auth-info--warn{background:#fef3c8;border-color:#facc14}.sched-auth-info--over{background:#fee1e1;border-color:#ef4343}.sched-auth-info__warning{width:100%;color:#ef4343;font-weight:500}.sched-auth-info__warning--over{color:#dc2828}.form-warning{padding:8px 12px;border-radius:6px;background:#fef3c8;border:1px solid hsl(48 96% 53%);color:#db7706;font-size:.85rem;margin-top:8px}.text-warn{color:#facc14;margin-left:4px}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:50;display:flex;justify-content:flex-end}.drawer-panel{width:400px;max-width:100%;height:100%;background:hsl(var(--card));border-left:1px solid hsl(var(--border));overflow-y:auto;padding:24px;position:relative;animation:drawer-slide-in .2s ease-out}@keyframes drawer-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-panel__close{position:absolute;top:16px;right:16px;background:none;border:none;cursor:pointer;color:hsl(var(--muted-foreground));padding:4px;border-radius:4px}.drawer-panel__close:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.drawer-header{margin-bottom:20px;padding-right:32px}.drawer-header__name{font-size:18px;font-weight:700;color:hsl(var(--foreground));margin:0 0 4px}.drawer-header__meta{font-size:13px;color:hsl(var(--muted-foreground));display:flex;align-items:center;gap:8px;flex-wrap:wrap}.drawer-section{margin-bottom:20px}.drawer-section__title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:hsl(var(--muted-foreground));margin:0 0 10px;padding-bottom:6px;border-bottom:1px solid hsl(var(--border))}.drawer-field{margin-bottom:10px}.drawer-field__label{display:block;font-size:12px;font-weight:500;color:hsl(var(--muted-foreground));margin-bottom:3px}.drawer-field__input{width:100%;padding:6px 10px;border:1px solid hsl(var(--border));border-radius:6px;font-size:13px;font-family:inherit;background:hsl(var(--background));color:hsl(var(--foreground))}.drawer-field__input:focus{outline:none;border-color:hsl(var(--primary));box-shadow:0 0 0 2px hsl(var(--primary) / .15)}.drawer-field__textarea{resize:vertical;min-height:60px}.drawer-auth-table{width:100%;border-collapse:collapse;font-size:12px}.drawer-auth-table th{text-align:left;padding:6px 8px;font-weight:600;color:hsl(var(--muted-foreground));border-bottom:2px solid hsl(var(--border));white-space:nowrap}.drawer-auth-table td{padding:6px 8px;border-bottom:1px solid hsl(var(--border));color:hsl(var(--foreground))}.drawer-auth-table tr:hover{background:hsl(var(--muted) / .5)}@media(max-width:700px){.drawer-panel{width:100%}}.activity-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:200;animation:fadeIn .15s ease}.activity-drawer{position:fixed;top:0;right:0;bottom:0;width:380px;max-width:100%;background:hsl(var(--card));border-left:1px solid hsl(var(--border));display:flex;flex-direction:column;animation:slideInRight .2s ease;z-index:201}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.activity-drawer__header{display:flex;align-items:center;gap:8px;padding:16px 16px 12px;border-bottom:1px solid hsl(var(--border))}.activity-drawer__title{font-size:16px;font-weight:700;color:hsl(var(--foreground));margin:0;flex:1}.activity-drawer__filter{font-size:11px;font-weight:500;padding:2px 8px;border-radius:4px;background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.activity-drawer__close{background:none;border:none;cursor:pointer;color:hsl(var(--muted-foreground));padding:4px;border-radius:4px;display:flex;align-items:center}.activity-drawer__close:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.activity-drawer__body{flex:1;overflow-y:auto;padding:8px 0}.activity-drawer__loading,.activity-drawer__empty{padding:32px 16px;text-align:center;color:hsl(var(--muted-foreground));font-size:13px}.activity-drawer__pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;border-top:1px solid hsl(var(--border))}.activity-drawer__page-info{font-size:12px;color:hsl(var(--muted-foreground))}.activity-item{padding:10px 16px;border-bottom:1px solid hsl(var(--border) / .5);transition:background .1s}.activity-item:hover{background:hsl(var(--muted) / .4)}.activity-item__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.activity-item__badge{font-size:11px;font-weight:600;padding:1px 7px;border-radius:4px}.activity-item__time{font-size:11px;color:hsl(var(--muted-foreground))}.activity-item__body{display:flex;flex-direction:column;gap:1px}.activity-item__user{font-size:13px;font-weight:500;color:hsl(var(--foreground))}.activity-item__entity{font-size:12px;color:hsl(var(--muted-foreground))}.activity-item__expand-hint{font-size:11px;color:hsl(var(--muted-foreground));margin-top:2px;font-style:italic}.activity-changes{margin-top:6px;padding:6px 8px;background:hsl(var(--muted) / .5);border-radius:4px;font-size:11px}.activity-change{display:flex;align-items:baseline;gap:4px;margin-bottom:2px;flex-wrap:wrap}.activity-change__field{font-weight:600;color:hsl(var(--foreground))}.activity-change__old{color:#dc2626;text-decoration:line-through;word-break:break-all}.activity-change__arrow{color:hsl(var(--muted-foreground))}.activity-change__new{color:#16a34a;word-break:break-all}@media(max-width:500px){.activity-drawer{width:100%}.activity-toggle-btn{top:12px;right:12px}}.signing-highlight{border-radius:8px;padding:12px}.signing-highlight--pca{background:#e8f1fc;border:2px solid hsl(213 80% 75%)}.signing-highlight--client{background:#e2f8ea;border:2px solid hsl(142 60% 70%)}.signing-highlight__label{font-weight:700;font-size:14px;margin-bottom:8px;color:hsl(var(--foreground))}.signing-highlight__sublabel{font-weight:600;font-size:12px;margin-bottom:6px;color:hsl(var(--muted-foreground))}.signing-signature-section{margin-top:16px}.signing-activity-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:4px 12px;margin-bottom:8px}.signing-activity-check{display:flex;align-items:center;gap:6px;font-size:13px;cursor:pointer}.signing-activity-check input[type=checkbox]{width:16px;height:16px;cursor:pointer}.signing-section-label{font-weight:600;font-size:13px;margin-bottom:6px;color:hsl(var(--foreground));padding-bottom:2px;border-bottom:1px solid hsl(var(--border))}.signing-totals{display:flex;justify-content:space-around;padding:12px;background:hsl(var(--muted));border-radius:8px;margin-top:16px;font-size:14px}.signing-missing{background:#fef0d7;border:1px solid hsl(38 96% 70%);border-radius:8px;padding:12px;margin-top:16px;font-size:13px}.signing-missing ul{margin:6px 0 0;padding-left:20px}.signing-missing li{margin-bottom:2px}.cp-page{background:#f6f7f9;min-height:calc(100vh - 60px);padding-bottom:40px!important}.cp-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:80px 0;color:hsl(var(--muted-foreground));font-size:14px}.cp-loading__spinner{width:32px;height:32px;border:3px solid hsl(var(--border));border-top-color:hsl(var(--primary));border-radius:50%;animation:cp-spin .8s linear infinite}@keyframes cp-spin{to{transform:rotate(360deg)}}.cp-hero{display:grid;grid-template-columns:1.6fr .7fr 1fr 1.1fr;gap:1px;background:hsl(var(--border));border:1px solid hsl(var(--border));border-radius:12px;overflow:hidden;margin-bottom:20px;box-shadow:0 1px 3px #0000000a,0 4px 12px #00000005}.cp-hero__profile{display:flex;gap:16px;padding:20px 24px;background:linear-gradient(135deg,#f0f6fe,hsl(var(--card)));align-items:center}.cp-hero__avatar{width:72px;height:72px;border-radius:14px;background:linear-gradient(135deg,#3c83f6,#0a5adb);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;flex-shrink:0;box-shadow:0 2px 8px #3c83f64d;letter-spacing:-.02em}.cp-hero__info{min-width:0;flex:1}.cp-hero__name{font-size:20px;font-weight:700;margin-bottom:10px;line-height:1.2;color:hsl(var(--foreground))}.cp-hero__fields{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}.cp-hero__field{font-size:12.5px;display:flex;gap:6px}.cp-hero__field-label{color:hsl(var(--muted-foreground));white-space:nowrap}.cp-hero__field-value{color:hsl(var(--foreground));font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-hero__section{padding:16px 20px;background:hsl(var(--card))}.cp-hero__section-title{font-size:11px;font-weight:700;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}.cp-hero__section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.cp-hero__section-header .cp-hero__section-title{margin-bottom:0}.cp-services-list{display:flex;flex-wrap:wrap;gap:6px}.cp-service-chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:100px;font-size:11px;font-weight:600;background:#16a2491a;color:#117e39;letter-spacing:.02em}.cp-care-team-list{list-style:none;padding:0;margin:0;counter-reset:ct}.cp-care-team-item{display:flex;align-items:center;gap:6px;padding:5px 0;font-size:13px;counter-increment:ct;border-bottom:1px solid hsl(var(--border) / .4)}.cp-care-team-item:last-child{border-bottom:none}.cp-care-team-item:before{content:counter(ct) ".";font-weight:700;color:hsl(var(--primary));min-width:18px}.cp-care-team-name{font-weight:500}.cp-care-team-role{color:hsl(var(--muted-foreground));font-size:11px}.cp-inline-action{margin-left:auto;opacity:0;transition:opacity .15s}.cp-care-team-item:hover .cp-inline-action{opacity:1}.cp-notes-textarea{width:100%;resize:vertical;font-size:13px;font-family:inherit;border:1px solid hsl(var(--border));border-radius:6px;padding:8px 10px}.cp-notes-content{font-size:13px;color:hsl(var(--foreground));line-height:1.7}.cp-notes-line{display:flex;align-items:baseline;gap:8px}.cp-notes-bullet{width:4px;height:4px;border-radius:50%;background:hsl(var(--muted-foreground));flex-shrink:0;margin-top:7px}.cp-empty-text{font-size:13px;color:hsl(var(--muted-foreground));margin:0}.cp-main-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;align-items:start}.cp-left-col,.cp-right-col{display:flex;flex-direction:column;gap:20px}.cp-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:10px;overflow:hidden}.cp-card--elevated{box-shadow:0 1px 3px #0000000a,0 4px 12px #00000005;transition:box-shadow .2s ease}.cp-card--elevated:hover{box-shadow:0 2px 6px #0000000f,0 8px 24px #0000000a}.cp-card__header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid hsl(var(--border));background:hsl(var(--card))}.cp-card__header--hospital{background:linear-gradient(135deg,snow,hsl(var(--card)))}.cp-card__title{font-size:13px;font-weight:600;display:flex;align-items:center;gap:8px;margin:0;color:hsl(var(--foreground))}.cp-card__title svg{width:16px;height:16px;color:hsl(var(--muted-foreground))}.cp-card__count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:100px;font-size:11px;font-weight:600;background:hsl(var(--primary) / .1);color:hsl(var(--primary))}.cp-card__supertitle{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;line-height:1}.cp-card__supertitle--red{color:#ed2c2c}.cp-card__dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex-shrink:0}.cp-card__dot--green{background:#16a249;box-shadow:0 0 0 3px #16a24933}.cp-card__body{padding:12px 14px}.cp-empty-state-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 16px;text-align:center}.cp-empty-state-card__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.cp-empty-state-card__icon svg{width:20px;height:20px}.cp-empty-state-card p{font-size:13px;color:hsl(var(--muted-foreground));margin:0}.cp-auth-sections{display:flex;flex-direction:column;gap:10px}.cp-auth-group{display:flex;gap:0;border-radius:8px;overflow:hidden;background:var(--auth-bg, hsl(var(--muted)));border:1px solid hsl(var(--border) / .6)}.cp-auth-group__bar{width:4px;flex-shrink:0;background:var(--auth-accent, hsl(var(--primary)))}.cp-auth-group__content{flex:1;padding:8px 12px}.cp-auth-group__title{font-size:12px;font-weight:700;color:var(--auth-accent, hsl(var(--primary)));margin:0 0 4px;text-transform:uppercase;letter-spacing:.03em}.cp-auth-item{padding:6px 0}.cp-auth-item+.cp-auth-item{border-top:1px solid hsl(var(--border) / .3)}.cp-auth-item__row{display:flex;align-items:center;gap:8px}.cp-auth-item__dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.cp-auth-item__name{font-weight:500;font-size:13.5px;flex:1}.cp-auth-item__units{font-size:12px;font-weight:600;color:hsl(var(--muted-foreground));background:hsl(var(--card));padding:2px 8px;border-radius:100px}.cp-auth-item__dates{font-size:12px;color:hsl(var(--muted-foreground));margin-top:2px;padding-left:15px}.cp-doc-folders{display:flex;flex-direction:column;gap:0;padding:8px 0!important}.cp-doc-folder{border-bottom:1px solid hsl(var(--border) / .3)}.cp-doc-folder:last-child{border-bottom:none}.cp-doc-folder__header{display:flex;align-items:center;gap:6px;padding:8px 20px;font-size:13px;font-weight:600;cursor:pointer;background:none;border:none;width:100%;text-align:left;color:hsl(var(--muted-foreground));transition:background .15s,color .15s;font-family:inherit}.cp-doc-folder--has-files .cp-doc-folder__header{color:var(--folder-color, hsl(var(--primary)))}.cp-doc-folder__header:hover{background:hsl(var(--muted) / .5)}.cp-doc-folder__chevron{display:flex;transition:transform .2s ease}.cp-doc-folder__chevron svg{width:12px;height:12px}.cp-doc-folder__icon{display:flex}.cp-doc-folder__icon svg{width:16px;height:16px}.cp-doc-folder__name{flex:1;font-size:13px}.cp-doc-folder__count{font-size:11px;font-weight:600;background:hsl(var(--primary) / .08);color:hsl(var(--primary));padding:1px 7px;border-radius:100px}.cp-doc-folder__upload{opacity:0;transition:opacity .15s;width:28px!important;height:28px!important;padding:4px!important}.cp-doc-folder__header:hover .cp-doc-folder__upload{opacity:1}.cp-doc-folder__files{padding:2px 20px 10px 52px}.cp-doc-file{display:flex;align-items:center;gap:8px;padding:6px 8px;font-size:13px;border-radius:6px;transition:background .1s}.cp-doc-file:hover{background:hsl(var(--muted) / .5)}.cp-doc-file__icon{color:hsl(var(--muted-foreground));display:flex}.cp-doc-file__icon svg{width:14px;height:14px}.cp-doc-file__name{font-weight:500;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-doc-file__meta{font-size:12px;color:hsl(var(--muted-foreground));white-space:nowrap}.cp-doc-file__actions{display:flex;gap:2px;opacity:0;transition:opacity .15s}.cp-doc-file:hover .cp-doc-file__actions{opacity:1}.cp-visit-timeline{display:flex;flex-direction:column;gap:0}.cp-visit-entry{display:flex;gap:14px;position:relative}.cp-visit-entry__track{display:flex;flex-direction:column;align-items:center;width:12px;flex-shrink:0;padding-top:14px}.cp-timeline-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0;z-index:1;box-shadow:0 0 0 3px hsl(var(--card))}.cp-timeline-dot--blue{background:#3c83f6;box-shadow:0 0 0 3px hsl(var(--card)),0 0 0 5px #3c83f633}.cp-timeline-dot--green{background:#16a249;box-shadow:0 0 0 3px hsl(var(--card)),0 0 0 5px #16a24926}.cp-timeline-dot--gray{background:hsl(var(--muted-foreground) / .4)}.cp-timeline-line{width:2px;flex:1;background:hsl(var(--border));min-height:12px}.cp-visit-entry__card{flex:1;padding:12px 16px;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--card));margin-bottom:10px;transition:box-shadow .15s}.cp-visit-entry__card:hover{box-shadow:0 2px 8px #0000000a}.cp-visit-entry__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.cp-visit-entry__title{font-weight:600;font-size:14px}.cp-visit-entry__meta{font-size:12px;color:hsl(var(--muted-foreground));line-height:1.5}.cp-visit-entry__actions{display:flex;align-items:center;gap:2px;margin-top:6px;opacity:0;transition:opacity .15s}.cp-visit-entry__card:hover .cp-visit-entry__actions{opacity:1}.ts-badge--upcoming{background:#3c83f61a;color:#0a5adb}.cp-incident-list{display:flex;flex-direction:column;gap:10px}.cp-incident-entry{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border-radius:8px;border:1px solid hsl(var(--border));transition:box-shadow .15s;position:relative}.cp-incident-entry:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:8px 0 0 8px}.cp-incident-entry--open{background:#fef6f6;border-color:#f2d9d9}.cp-incident-entry--open:before{background:#ef4343}.cp-incident-entry--resolved{background:hsl(var(--card))}.cp-incident-entry--resolved:before{background:#16a249}.cp-incident-entry:hover{box-shadow:0 2px 8px #0000000a}.cp-incident-entry__icon{flex-shrink:0;margin-top:1px;display:flex}.cp-incident-entry--open .cp-incident-entry__icon{color:#ef4343}.cp-incident-entry--resolved .cp-incident-entry__icon{color:#16a249}.cp-incident-entry__icon svg{width:18px;height:18px}.cp-incident-entry__content{flex:1;min-width:0}.cp-incident-entry__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:3px}.cp-incident-entry__title{font-weight:600;font-size:14px}.cp-incident-entry__meta{font-size:12px;color:hsl(var(--muted-foreground));line-height:1.5}.cp-incident-entry__actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.cp-bio{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:20px 24px;margin-bottom:0}.cp-bio__main{display:flex;align-items:flex-start;gap:16px;margin-bottom:16px}.cp-bio__avatar{width:52px;height:52px;border-radius:50%;background:hsl(var(--primary));color:hsl(var(--primary-foreground));display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:600;flex-shrink:0}.cp-bio__info{flex:1;min-width:0}.cp-bio__name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.cp-bio__name{font-size:20px;font-weight:700;color:hsl(var(--foreground));line-height:1.2;margin:0}.cp-bio__chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.cp-bio__fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px 24px;padding-top:16px;border-top:1px solid hsl(var(--border))}.cp-bio__field{display:flex;flex-direction:column;gap:2px}.cp-bio__field-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--muted-foreground))}.cp-bio__field-value{font-size:13px;color:hsl(var(--foreground));font-weight:500}.cp-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 10px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.5}.cp-chip--program{background:#e6f1fe;color:#0950c3;border:1px solid hsl(217 70% 85%)}.cp-chip--risk{background:#fef0f0;color:#c52020;border:1px solid hsl(0 72% 85%)}.cp-chip--complaint{background:#fff8eb;color:#c76c05;border:1px solid hsl(38 92% 80%)}.cp-chip--sdpc{background:#f5edfd;color:#6629a3;border:1px solid hsl(270 60% 80%)}.cp-contact-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cp-contact-card{padding:12px;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--card))}.cp-contact-card__badge{display:inline-block;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:2px 8px;border-radius:4px;background:#e7f0fe;color:#0950c3;margin-bottom:8px}.cp-contact-card__badge--secondary{background:#edeff3;color:#637083}.cp-contact-card__name{font-size:14px;font-weight:600;color:hsl(var(--foreground))}.cp-contact-card__relation{font-size:12px;color:hsl(var(--muted-foreground));margin-top:2px}.cp-contact-card__phone{font-size:13px;color:hsl(var(--foreground));margin-top:6px;font-family:var(--font-mono, monospace)}.cp-tabs{display:flex;gap:0;border-bottom:2px solid hsl(var(--border));margin-bottom:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.cp-tabs::-webkit-scrollbar{display:none}.cp-tab{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;font-size:13px;font-weight:500;color:hsl(var(--muted-foreground));background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;white-space:nowrap;transition:color .15s,border-color .15s}.cp-tab:hover{color:hsl(var(--foreground))}.cp-tab--active{color:hsl(var(--primary));border-bottom-color:hsl(var(--primary));font-weight:600}.cp-tab__badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;font-size:10px;font-weight:700;background:hsl(var(--muted));color:hsl(var(--muted-foreground));line-height:1}.cp-tab__badge--danger{background:#fde8e8;color:#c52020}.cp-tab-content{padding-top:20px}.cp-tab-panel{animation:cp-fade-in .15s ease}@keyframes cp-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.cp-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cp-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cp-stat{text-align:center;padding:12px 8px;background:hsl(var(--muted) / .5);border-radius:var(--radius)}.cp-stat__value{font-size:24px;font-weight:700;color:hsl(var(--primary));line-height:1.2}.cp-stat__label{font-size:11px;color:hsl(var(--muted-foreground));font-weight:500;margin-top:2px}.cp-insurance-detail{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.cp-insurance-row{padding:10px 14px;background:hsl(var(--muted) / .5);border-radius:var(--radius)}.cp-insurance-label{display:block;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--muted-foreground));margin-bottom:4px}.cp-insurance-value{font-size:14px;font-weight:500;color:hsl(var(--foreground))}.cp-service-chip--sm{padding:1px 8px;font-size:10px}.cp-auth-item__status{margin-top:4px}.cl-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-weight:600;background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.cl-avatar--sm{width:32px;height:32px;font-size:13px}.cl-filters{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.cl-filters__search{position:relative;max-width:360px}.cl-filters__search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:hsl(var(--muted-foreground));display:flex;align-items:center;pointer-events:none}.cl-filters__search-icon svg{width:15px;height:15px}.cl-filters__search-input{width:100%;padding:7px 32px;border:1px solid hsl(var(--border));border-radius:var(--radius);font-size:13px;background:hsl(var(--background));color:hsl(var(--foreground));transition:border-color .15s,box-shadow .15s}.cl-filters__search-input:focus{outline:none;border-color:hsl(var(--primary));box-shadow:0 0 0 2px hsl(var(--primary) / .1)}.cl-filters__search-input::placeholder{color:hsl(var(--muted-foreground))}.cl-filters__search-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;font-size:18px;line-height:1;color:hsl(var(--muted-foreground));padding:2px 6px;border-radius:4px}.cl-filters__search-clear:hover{color:hsl(var(--foreground));background:hsl(var(--muted))}.cl-filters__tabs{display:flex;flex-wrap:wrap;gap:6px}.cl-filters__tab{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid hsl(var(--border));border-radius:9999px;background:hsl(var(--background));color:hsl(var(--muted-foreground));font-size:12.5px;font-weight:500;cursor:pointer;transition:all .15s}.cl-filters__tab:hover{border-color:hsl(var(--foreground) / .2);color:hsl(var(--foreground))}.cl-filters__tab--active{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary))}.cl-filters__tab--active:hover{background:hsl(var(--primary) / .9);border-color:hsl(var(--primary) / .9);color:hsl(var(--primary-foreground))}.cl-filters__tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;font-size:11px;font-weight:600;background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.cl-filters__tab--active .cl-filters__tab-count{background:hsl(var(--primary-foreground) / .2);color:hsl(var(--primary-foreground))}.auth-note-trigger{display:inline-flex;align-items:center;margin-left:4px;cursor:pointer}.auth-note-indicator{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:4px;color:hsl(var(--muted-foreground));opacity:0;transition:opacity .15s,color .15s,background .15s}.auth-note-indicator svg{width:12px;height:12px}tr:hover .auth-note-indicator{opacity:.6}tr:hover .auth-note-indicator:hover{opacity:1;background:hsl(var(--muted))}.auth-note-indicator--has-note{opacity:1;color:#db7706}.auth-note-indicator--has-note:hover{background:#fff6e5}tr:hover .auth-note-indicator--has-note{opacity:1}.row-client__client-name--has-note{color:#ae5f04}.auth-note-editor{display:inline-flex;margin-left:4px}.auth-note-editor__input{width:200px;padding:2px 6px;border:1px solid hsl(var(--primary));border-radius:var(--radius);font-size:12px;background:hsl(var(--background));color:hsl(var(--foreground));box-shadow:0 0 0 2px hsl(var(--primary) / .1)}.auth-note-editor__input:focus{outline:none}@media(max-width:1200px){.cp-summary-grid{grid-template-columns:1fr 1fr}.cp-bio__fields{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}@media(max-width:900px){.cp-summary-grid,.cp-bio__fields{grid-template-columns:1fr}.cp-bio__main{flex-direction:column;align-items:center;text-align:center}.cp-bio__chips{justify-content:center}.cp-stats-grid{grid-template-columns:repeat(2,1fr)}}
