:root{--bg:#f4f6f8;--card:#ffffff;--text:#17202a;--muted:#667085;--line:#e4e7ec;--soft:#eef2f6;--dark:#182230;--blue:#1769e8;--blue-hover:#0f5fd7;--danger-bg:#fff4f4;--danger-border:#ffc9c9}*{box-sizing:border-box}body,html{margin:0;min-height:100%;max-width:100%;overflow-x:hidden}body{background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}h1{font-size:clamp(30px,5vw,48px);line-height:1;letter-spacing:-.035em}h1,h2{margin:6px 0 8px}h2{font-size:24px}.muted,.subtitle{color:var(--muted)}.subtitle{margin:0;max-width:650px;line-height:1.55}.eyebrow{color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.drivedesk-layout{min-height:100vh;background:#f7f9fc}.app-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:42px 0 60px}.drivedesk-content{min-height:100vh;margin-left:250px;padding:34px 38px 50px}.drivedesk-content .app-shell{width:100%;max-width:1180px;margin:0 auto;padding:0}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:8px 0 24px}.primary-action,.refresh{min-height:42px;padding:9px 16px;border-radius:9px;font-size:14px;font-weight:700;line-height:1.2;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.primary-action{background:var(--blue);border:1px solid var(--blue);color:#ffffff}.primary-action:hover:not(:disabled){background:var(--blue-hover);border-color:var(--blue-hover)}.refresh{background:#ffffff;border:1px solid #d7dee8;color:#172033}.refresh:hover:not(:disabled){background:#f7f9fc;border-color:#c5cedb}.primary-action:disabled,.refresh:disabled{cursor:default;opacity:.6}.appointment-card,.debug,.panel{background:var(--card);border:1px solid var(--line);border-radius:18px}.panel{width:100%;padding:22px}.panel p{line-height:1.55}.error-panel{background:var(--danger-bg);border-color:var(--danger-border)}.app-sidebar{position:fixed;inset:0 auto 0 0;z-index:100;display:flex;width:250px;height:100vh;flex-direction:column;background:#ffffff;border-right:1px solid #e4e9f0;color:#172033}.sidebar-brand{display:flex;min-height:118px;align-items:center;padding:22px 20px;border-bottom:1px solid #e9edf3}.sidebar-brand-button{display:flex;width:100%;align-items:center;padding:0;background:transparent;border:0}.sidebar-logo{display:block;width:100%;max-width:195px;height:auto;object-fit:contain}.sidebar-school{display:flex;flex-direction:column;gap:5px;margin:18px 14px 8px;padding:12px 13px;background:#f6f8fb;border:1px solid #e3e8ef;border-radius:10px}.sidebar-school-label,.sidebar-school>span{color:#667085;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.sidebar-school strong{overflow:hidden;color:#1d4ed8;font-size:13px;line-height:1.35;text-overflow:ellipsis}.sidebar-nav{display:flex;flex:1 1;flex-direction:column;gap:5px;padding:14px}.sidebar-nav-item{display:flex;width:100%;min-height:48px;align-items:center;gap:12px;padding:0 13px;background:transparent;border:1px solid transparent;border-radius:9px;color:#56627a;font:inherit;font-size:14px;font-weight:700;text-align:left;transition:background .15s ease,border-color .15s ease,color .15s ease}.sidebar-nav-item:hover{background:#f6f8fb;color:#1d4ed8}.sidebar-nav-item.active{background:#eef4ff;border-color:#dbe7ff;color:#1463e6}.sidebar-nav-icon{display:grid;width:20px;height:20px;flex:0 0 20px;place-items:center}.sidebar-nav-icon svg{width:19px;height:19px;fill:currentColor}.sidebar-nav-label{min-width:0}.sidebar-footer{padding:16px 14px 20px;border-top:1px solid #e9edf3}.sidebar-copyright{margin:14px 0 0;text-align:center}.sidebar-copyright,.sidebar-legal-links{color:#98a2b3;font-size:11px;line-height:1.45}.sidebar-legal-links{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:4px}.sidebar-legal-links a{color:inherit;text-decoration:none}.sidebar-legal-links a:hover{color:#667085}.sidebar-status{display:flex;align-items:center;gap:10px;padding:10px 6px}.sidebar-status-icon{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;background:#eaf8ef;border:1px solid #d5efde;border-radius:50%;color:#16a34a;font-size:14px;font-weight:800}.sidebar-status-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.sidebar-status-title{display:flex;align-items:center;gap:6px}.sidebar-status-title strong{color:#172033;font-size:12px}.sidebar-status-copy>span{color:#7c8799;font-size:10px}.sidebar-status-dot{width:7px;height:7px;flex:0 0 7px;background:#22c55e;border-radius:50%}.mobile-app-header{display:none}.mobile-brand-logo{width:124px;height:auto;object-fit:contain}.mobile-legal-footer{display:none}.appointments-dashboard{width:100%;max-width:1200px;margin:0 auto}.appointments-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.appointments-header h1{margin:4px 0 8px;font-size:clamp(38px,5vw,52px);line-height:1;letter-spacing:-.035em}.appointments-header .subtitle{max-width:620px;margin:0;color:#667085;font-size:16px;line-height:1.55}.appointments-filter-panel{display:grid;grid-gap:16px;gap:16px;margin-bottom:24px}.appointments-filter-grid{display:grid;grid-gap:16px;gap:16px;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(180px,.8fr));align-items:start}.appointments-filter-search .complete-text-input{max-width:none}.appointments-filter-note{color:#667085;font-size:12px;font-weight:700}.appointments-filter-actions{display:flex;justify-content:flex-end}.appointments-filter-clear{min-height:40px;padding:8px 14px;background:#ffffff;border:1px solid #d0d7e2;border-radius:10px;color:#344054;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.appointments-filter-clear:hover{background:#f8fafc;border-color:#c2cad6}.appointment-summary{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;gap:16px;margin-bottom:34px}.appointment-summary-card{padding:20px 22px;background:#ffffff;border:1px solid #dfe4ea;border-radius:16px}.appointment-summary-card span{display:block;margin-bottom:8px;color:#667085;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.appointment-summary-card strong{display:block;color:#101828;font-size:28px;line-height:1.1}.appointment-groups{display:flex;flex-direction:column;gap:34px}.appointment-day{min-width:0}.appointment-day-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}.appointment-day-header h2{margin:3px 0 0;color:#101828;font-size:25px;line-height:1.2}.appointment-day-count{display:inline-flex;min-width:68px;min-height:36px;align-items:center;justify-content:center;padding:6px 12px;background:#e9eef5;border-radius:999px;color:#344054;font-size:12px;font-weight:800;line-height:1.15;text-align:center;white-space:nowrap}.appointment-list{display:flex;flex-direction:column;gap:10px}.appointment-row{display:grid;grid-template-columns:105px minmax(0,1fr) auto;min-height:88px;align-items:center;grid-gap:20px;gap:20px;padding:16px 18px;background:#ffffff;border:1px solid #dfe4ea;border-radius:15px}.appointment-row:hover{border-color:#cbd3dc}.appointment-time-column{color:#101828;font-size:16px;font-weight:800;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.appointment-main{min-width:0}.customer-name{margin-bottom:5px;color:#101828;font-size:18px;font-weight:800;line-height:1.25}.appointment-details{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:#667085;font-size:14px}.appointment-dot{color:#98a2b3}.appointment-actions{display:flex;justify-content:flex-end}.appointment-actions .primary-action,.appointment-card .primary-action,.appointment-row .primary-action{width:auto;min-width:148px;min-height:40px;padding:8px 14px;white-space:nowrap}.appointment-empty{padding:50px 30px;text-align:center}.appointment-empty h2{margin-top:0}.appointment-empty p{margin-bottom:22px;color:#667085}.account-page{width:100%;max-width:980px;margin:0 auto}.account-details-panel,.account-password-panel{margin-bottom:18px}.account-details-panel h2,.account-password-panel h2{margin-top:0;margin-bottom:16px}.account-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.account-detail-card{min-width:0;padding:18px;background:#fff;border:1px solid #dfe4ea;border-radius:14px}.account-detail-card span{display:block;margin-bottom:8px;color:#667085;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.account-detail-card strong{display:block;overflow-wrap:anywhere;color:#101828;font-size:18px;line-height:1.35}.account-password-form{display:grid;grid-gap:16px;gap:16px;margin-top:18px}.account-password-form label{display:grid;grid-gap:7px;gap:7px}.account-password-form label>span{color:#111827;font-size:13px;font-weight:800}.account-password-form input{width:100%;min-height:48px;padding:0 14px;background:#fff;border:1px solid #dfe4ea;border-radius:10px;color:#111827;font:inherit}.account-password-form input:focus{outline:none;border-color:#98a2b3;box-shadow:0 0 0 3px rgba(152,162,179,.12)}.account-password-form .primary-action{width:-moz-fit-content;width:fit-content;min-width:170px}.account-message{padding:12px 14px;border-radius:10px;font-size:13px;font-weight:700}.account-message-error{background:#fef2f2;border:1px solid #fecaca;color:#b42318}.account-message-success{background:#edfdf3;border:1px solid #c7f0d8;color:#067647}.settings-page{width:100%;max-width:980px;margin:0 auto}.settings-panel h2{margin-top:0;margin-bottom:10px}.settings-panel-header{margin-bottom:18px}.settings-form{display:grid;grid-gap:16px;gap:16px}.settings-logo-section{display:grid;grid-gap:12px;gap:12px;padding:16px;background:#f8fafc;border:1px solid #dfe4ea;border-radius:14px}.settings-logo-label{color:#111827;font-size:13px;font-weight:800}.settings-logo-empty,.settings-logo-preview-card{display:flex;min-height:120px;align-items:center;justify-content:center;padding:18px;background:#ffffff;border:1px solid #dfe4ea;border-radius:12px}.settings-logo-empty{color:#667085;font-size:14px;font-weight:700}.settings-logo-preview{display:block;max-width:100%;max-height:120px;object-fit:contain}.settings-signature-preview-card{display:flex;min-height:120px;align-items:center;justify-content:flex-start;padding:18px;background:#ffffff;border:1px solid #dfe4ea;border-radius:12px}.settings-signature-preview{display:block;max-width:min(100%,260px);max-height:90px;object-fit:contain}.settings-logo-help{margin:0;color:#667085;font-size:13px;line-height:1.45}.settings-logo-actions{display:grid;grid-gap:12px;gap:12px}.settings-logo-actions input[type=file]{width:100%;min-height:48px;padding:10px 12px;background:#fff;border:1px solid #dfe4ea;border-radius:10px}.settings-logo-buttons{display:flex;flex-wrap:wrap;gap:10px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px 14px;gap:16px 14px}.settings-grid label{display:grid;grid-gap:7px;gap:7px}.settings-grid label>span{color:#111827;font-size:13px;font-weight:800}.settings-grid input{width:100%;min-height:48px;padding:0 14px;background:#fff;border:1px solid #dfe4ea;border-radius:10px;color:#111827;font:inherit}.settings-grid input:focus{outline:none;border-color:#98a2b3;box-shadow:0 0 0 3px rgba(152,162,179,.12)}.settings-grid input:disabled{background:#f8fafc;color:#667085}.settings-grid-wide{grid-column:1/-1}.settings-message{padding:12px 14px;border-radius:10px;font-size:13px;font-weight:700}.settings-message-error{background:#fef2f2;border:1px solid #fecaca;color:#b42318}.settings-message-success{background:#edfdf3;border:1px solid #c7f0d8;color:#067647}.students-page{width:min(1180px,calc(100% - 32px));max-width:1180px;margin:0 auto}.students-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:26px}.students-header h1{margin:4px 0 6px;font-size:clamp(36px,5vw,52px);line-height:1}.students-summary{display:grid;grid-template-columns:repeat(2,minmax(0,180px));grid-gap:12px;gap:12px;margin-bottom:20px}.students-summary>div{padding:18px;background:#fff;border:1px solid #dfe4ea;border-radius:14px}.students-summary span{display:block;margin-bottom:8px;color:#667085;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.students-summary strong{display:block;font-size:22px}.students-search{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.students-search label{font-size:13px;font-weight:800}.students-search input{width:100%;min-height:48px;padding:0 14px;background:#fff;border:1px solid #dfe4ea;border-radius:10px;color:#111827;font:inherit}.students-search input:focus{outline:none;border-color:#98a2b3;box-shadow:0 0 0 3px rgba(152,162,179,.12)}.students-panel{overflow:hidden;background:#fff;border:1px solid #dfe4ea;border-radius:16px}.students-desktop-view{display:block}.students-mobile-view{display:none}.students-table-scroll{width:100%;overflow-x:auto}.students-table{width:100%;border-collapse:collapse;table-layout:auto}.students-table td,.students-table th{padding:14px 12px;border-bottom:1px solid #edf0f3;text-align:left;vertical-align:middle}.students-table th{background:#f8fafc;color:#667085;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.students-table tbody tr:last-child td{border-bottom:0}.student-table-row{cursor:pointer;transition:background .15s ease}.student-table-row:hover{background:#f6f9ff}.student-list-name{color:#111827;font-weight:800;white-space:nowrap}.student-list-location,.student-list-secondary{margin-top:3px;color:#667085;font-size:13px}.student-balance{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.student-balance-due{font-weight:800}.student-open-cell{text-align:right!important}.student-record-button{min-height:38px;padding:0 14px;background:#1463e6;border:1px solid #1463e6;border-radius:9px;color:#fff;font:inherit;font-size:14px;font-weight:800;white-space:nowrap}.student-record-button:hover,.student-table-row:hover .student-record-button{background:#0f55c8;border-color:#0f55c8}.students-empty{padding:50px 24px;color:#667085;text-align:center}.student-mobile-card{padding:16px;background:#ffffff;border:1px solid #dbe3ee;border-radius:14px}.student-mobile-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #e7edf5}.student-mobile-header>div:first-child{min-width:0}.student-mobile-header h2{margin:0;font-size:18px;line-height:1.25}.student-mobile-header p{margin:4px 0 0;color:#64748b;font-size:13px}.student-mobile-balance{flex:0 0 auto;text-align:right}.student-mobile-balance span,.student-mobile-details span{display:block;color:#64748b;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.student-mobile-balance span{margin-bottom:3px}.student-mobile-balance strong{font-size:15px;white-space:nowrap}.student-mobile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px 14px;gap:16px 14px}.student-mobile-details>div{min-width:0}.student-mobile-details span{margin-bottom:4px}.student-mobile-details strong{display:block;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.student-mobile-details small{display:block;margin-top:3px;color:#64748b;font-size:12px;line-height:1.3}.student-mobile-record-button{width:100%;min-height:42px;margin-top:16px;padding:8px 14px;background:var(--blue);border:0;border-radius:9px;color:#ffffff;font:inherit;font-size:13px;font-weight:700}.ledger-page{width:min(1180px,calc(100% - 32px));max-width:1180px;margin:0 auto}.ledger-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}.ledger-header h1{margin:4px 0 6px;font-size:clamp(36px,5vw,52px);line-height:1}.ledger-header-actions{display:flex;gap:12px}.ledger-export{position:relative}.ledger-export-trigger{min-width:108px}.ledger-export-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:20;display:grid;min-width:150px;padding:8px;background:#ffffff;border:1px solid #dfe4ea;border-radius:12px;box-shadow:0 12px 30px rgba(15,23,42,.12)}.ledger-export-option{min-height:40px;padding:8px 12px;background:transparent;border:0;border-radius:8px;color:#172033;font:inherit;font-size:14px;font-weight:700;text-align:left}.ledger-export-option:hover{background:#f6f9ff;color:#1463e6}.print-only{display:none}.ledger-print-only{display:none!important}.ledger-tabs{display:inline-flex;gap:8px;padding:6px;margin-bottom:20px;background:#eef2f7;border:1px solid #d8e0ea;border-radius:14px}.ledger-tab-button{min-height:42px;padding:9px 16px;background:transparent;border:1px solid transparent;border-radius:10px;color:#475467;font:inherit;font-size:14px;font-weight:800;transition:background .15s ease,border-color .15s ease,color .15s ease}.ledger-tab-button:hover{background:rgba(255,255,255,.72);border-color:#d8e0ea}.ledger-tab-button.active{background:#ffffff;border-color:#d8e0ea;color:#1463e6}.ledger-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:20px}.ledger-summary-paid{grid-template-columns:minmax(220px,320px)}.ledger-summary-card{min-width:0;padding:18px;background:#fff;border:1px solid #dfe4ea;border-radius:14px}.ledger-summary-card span{display:block;margin-bottom:8px;color:#667085;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.ledger-summary-card strong{display:block;font-size:22px}.ledger-controls{display:grid;grid-template-columns:minmax(280px,1fr) 200px 200px;grid-gap:14px;gap:14px;align-items:end;margin-bottom:18px}.ledger-filter,.ledger-search{display:flex;min-width:0;flex-direction:column;gap:7px}.ledger-filter label,.ledger-search label{color:#111827;font-size:13px;font-weight:800}.ledger-filter input,.ledger-filter select,.ledger-search input{width:100%;height:48px;min-height:48px;padding:0 14px;background:#fff;border:1px solid #dfe4ea;border-radius:10px;color:#111827;font:inherit}.ledger-filter input:focus,.ledger-filter select:focus,.ledger-search input:focus{outline:2px solid #cbd5e1;outline-offset:1px}.ledger-custom-dates{display:grid;grid-template-columns:200px 200px auto;grid-gap:14px;gap:14px;align-items:end;grid-column:1/-1}.ledger-clear-filter{display:flex;align-items:flex-end}.ledger-clear-filter button{height:48px;min-height:48px;padding-inline:22px;white-space:nowrap}.ledger-panel{min-width:0;max-width:100%;overflow:hidden;background:#fff;border:1px solid #dfe4ea;border-radius:16px}.ledger-desktop-view{display:block;min-width:0;max-width:100%}.ledger-mobile-view{display:none}.ledger-table-scroll{display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.ledger-table{width:100%;min-width:1050px;border-collapse:collapse;table-layout:auto}.ledger-table td,.ledger-table th{padding:14px 10px;border-bottom:1px solid #edf0f3;text-align:left;vertical-align:middle;white-space:nowrap}.ledger-table th{background:#f8fafc;color:#667085;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.ledger-table td:first-child,.ledger-table th:first-child{padding-left:12px}.ledger-table td:last-child,.ledger-table th:last-child{padding-right:12px}.ledger-table tbody tr{transition:background .15s ease}.ledger-table tbody tr:hover{background:#f6f9ff}.ledger-table tbody tr:last-child td{border-bottom:0}.ledger-student{min-width:180px;color:#172033;font-weight:700;white-space:normal!important}.ledger-table td:nth-child(3),.ledger-table th:nth-child(3){min-width:115px;white-space:normal}.ledger-table td:nth-child(4),.ledger-table th:nth-child(4){min-width:95px}.ledger-table tbody tr td:nth-child(7){font-weight:600}.ledger-number{text-align:right!important;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ledger-receipt-link{padding:2px 0;background:transparent;border:0;color:#1463e6;font:inherit;font-weight:800;text-decoration:none}.ledger-receipt-link:hover{color:#0f55c8;text-decoration:underline}.ledger-empty{padding:50px 24px;color:#667085;text-align:center}.ledger-success{margin-bottom:18px;background:#edfdf3;border-color:#c7f0d8}.ledger-success p{margin:0;color:#067647;font-size:13px;font-weight:700}.ledger-paid-table{min-width:900px}.ledger-paid-table td:nth-child(2),.ledger-paid-table td:nth-child(3),.ledger-paid-table td:nth-child(7),.ledger-paid-table th:nth-child(2),.ledger-paid-table th:nth-child(3),.ledger-paid-table th:nth-child(7){white-space:normal}.ledger-notes-cell{min-width:180px;white-space:normal!important}.ledger-print-sections{gap:22px}.ledger-print-section .ledger-summary{margin-top:10px}.ledger-modal{width:min(100%,680px)}.ledger-modal-form{display:grid;grid-gap:16px;gap:16px}.ledger-payment-methods{max-width:none}.ledger-notes-input{max-width:none;min-height:110px;padding:12px 14px;resize:vertical}.ledger-mobile-card{overflow:hidden;background:#ffffff;border:1px solid #dbe3ee;border-radius:14px}.ledger-mobile-card-header{padding:15px 16px 13px;border-bottom:1px solid #e7edf4}.ledger-mobile-card-header h3{margin:0;font-size:17px;font-weight:800;line-height:1.25}.ledger-mobile-card-header p{margin:4px 0 0;color:#64748b;font-size:13px;line-height:1.4}.ledger-mobile-details{padding:5px 16px}.ledger-mobile-detail{display:flex;min-height:39px;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #edf1f5}.ledger-mobile-detail span{color:#64748b;font-size:13px}.ledger-mobile-detail strong{color:#0f172a;font-size:13px;font-weight:700;text-align:right}.ledger-mobile-detail-wide{display:block;min-height:auto;padding:12px 0}.ledger-mobile-detail-wide strong{display:block;margin-top:4px;text-align:left}.ledger-mobile-balance{border-bottom:0}.ledger-mobile-receipt{display:flex;min-height:46px;align-items:center;justify-content:space-between;gap:18px;padding:0 16px;background:#f8fafc;border-top:1px solid #e7edf4}.ledger-mobile-receipt>span{color:#64748b;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.ledger-mobile-receipt .ledger-receipt-link{font-size:14px;font-weight:800}.complete-page{width:100%;max-width:1180px;margin:0 auto}.complete-header{margin-bottom:24px}.complete-header h1{margin:4px 0 8px;font-size:clamp(38px,5vw,52px);line-height:1;letter-spacing:-.035em}.complete-header .subtitle{max-width:680px;margin:0;color:#667085;font-size:16px;line-height:1.5}.complete-details-card,.complete-payment-card{background:#ffffff;border:1px solid #dfe4ea;border-radius:16px;box-shadow:0 1px 2px rgba(16,24,40,.03)}.complete-details-card{padding:24px;margin-bottom:18px}.complete-details-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-top:8px;padding-bottom:22px;border-bottom:1px solid #edf0f3}.complete-details-header h2{margin:0 0 5px;color:#101828;font-size:25px;line-height:1.2}.complete-service{color:#667085;font-size:15px}.complete-price{display:flex;min-width:135px;flex-direction:column;align-items:flex-end;gap:4px}.complete-price span{color:#667085;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.complete-price strong{color:#101828;font-size:22px}.complete-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:22px 36px;gap:22px 36px;padding-top:22px}.complete-detail{min-width:0}.complete-detail>span,.complete-note>span{display:block;margin-bottom:5px;color:#667085;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.complete-detail strong{display:block;color:#101828;font-size:14px;font-weight:700;line-height:1.45}.complete-address{line-height:1.5!important}.complete-note{margin-top:22px;padding:14px 16px;background:#f8fafc;border:1px solid #edf0f3;border-radius:10px}.complete-note strong{display:block;color:#344054;font-size:13px;font-weight:600;line-height:1.5}.complete-payment-card{padding:24px}.complete-payment-card h2{margin:5px 0 0;color:#101828;font-size:26px;line-height:1.2}.complete-payment-content{display:grid;grid-gap:22px;gap:22px;margin-top:24px}.complete-field{display:flex;flex-direction:column;gap:8px}.complete-field>span{color:#344054;font-size:13px;font-weight:800}.complete-money-input{display:flex;width:100%;max-width:320px;min-height:50px;align-items:center;overflow:hidden;background:#ffffff;border:1px solid #cfd6df;border-radius:10px}.complete-money-input:focus-within{border-color:#101828;box-shadow:0 0 0 3px rgba(16,24,40,.08)}.complete-money-input>span{display:grid;width:44px;height:100%;place-items:center;color:#667085;font-size:17px;font-weight:700}.complete-money-input input{width:100%;min-height:48px;padding:0 14px 0 0;background:transparent;border:0;outline:0;color:#101828;font:inherit;font-size:18px;font-weight:700}.complete-text-input{width:100%;max-width:320px;min-height:50px;padding:0 14px;background:#ffffff;border:1px solid #cfd6df;border-radius:10px;color:#101828;font:inherit;font-size:16px;outline:0}.complete-text-input:focus{border-color:#101828;box-shadow:0 0 0 3px rgba(16,24,40,.08)}.complete-payment-methods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;max-width:760px}.complete-payment-button{position:relative;min-height:52px;padding:0 16px;background:#ffffff;border:1px solid #cfd6df;border-radius:10px;color:#344054;font:inherit;font-size:14px;font-weight:800;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.complete-payment-button:not(.selected):hover:not(:disabled){background:#f8fafc;border-color:#98a2b3}.complete-payment-button.selected{background:#1463e6;border-color:#1463e6;color:#ffffff}.complete-payment-button.selected:hover:not(:disabled){background:#0f55c8;border-color:#0f55c8}.complete-payment-button:active:not(:disabled){transform:translateY(1px)}.complete-payment-button:disabled{cursor:not-allowed;opacity:.65}.complete-payment-check{margin-right:6px;font-size:13px}.complete-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:1px;gap:1px;max-width:760px;overflow:hidden;background:#dfe4ea;border:1px solid #dfe4ea;border-radius:12px}.complete-summary>div{padding:16px 18px;background:#f8fafc}.complete-summary span{display:block;margin-bottom:5px;color:#667085;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.complete-summary strong{color:#101828;font-size:18px}.complete-error{max-width:760px;padding:13px 15px;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:#b42318;font-size:13px;font-weight:700}.complete-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-top:2px}.complete-save{min-height:50px;padding-inline:22px}.success-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin-top:20px}.success-actions button{width:100%;min-height:52px}.success-actions button:last-child{grid-column:1/-1}.receipt-page{width:min(850px,calc(100% - 32px));max-width:850px;margin:0 auto}.receipt-toolbar{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.receipt-toolbar-actions{display:flex;align-items:center;gap:10px}.receipt-toolbar-actions .primary-action,.receipt-toolbar-actions .refresh{width:auto}.receipt-document{width:100%;padding:36px;background:#fff;border:1px solid #dfe4ea;border-radius:18px}.receipt-header{justify-content:space-between;gap:30px}.receipt-brand,.receipt-header{display:flex;align-items:flex-start}.receipt-brand{min-width:0;flex-direction:column}.receipt-logo{display:block;width:360px;max-width:100%;height:auto;object-fit:contain}.receipt-school-name{color:#101828;font-size:22px;font-weight:800;line-height:1.15}.receipt-brand h1,.receipt-header h1{margin:14px 0 0;font-size:36px}.receipt-number{flex:0 0 auto;text-align:right}.receipt-label,.receipt-number span{display:block;color:#667085;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.receipt-number strong{display:block;margin-top:5px;font-size:24px}.receipt-divider{height:1px;margin:28px 0;background:#dfe4ea}.receipt-meta-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}.receipt-meta-grid strong{display:block;margin-top:6px;font-size:18px}.receipt-section{margin-top:32px}.receipt-section h2{margin:0 0 14px;font-size:18px}.receipt-student-name{margin-bottom:6px;font-size:22px;font-weight:800}.receipt-row{display:flex;justify-content:space-between;gap:30px;padding:12px 0;border-bottom:1px solid #edf0f3}.receipt-row strong{text-align:right}.receipt-total{font-size:18px}.receipt-legal-notice{margin-top:22px;padding-top:14px;border-top:1px solid #dfe4ea;color:#374151;font-size:11px;line-height:1.4}.receipt-legal-notice p{margin:0 0 8px}.receipt-legal-notice p:last-child{margin-bottom:0}.receipt-footer{display:flex;flex-direction:column;gap:4px;margin-top:38px;padding-top:20px;border-top:1px solid #dfe4ea;color:#667085}.receipt-signature{margin-top:24px;padding-top:16px;border-top:1px solid #dfe4ea}.receipt-signature .receipt-label{margin-bottom:10px}.receipt-signature-image{display:block;max-width:220px;max-height:80px;object-fit:contain}.receipt-signature-name{margin-top:8px;color:#101828;font-size:16px;font-weight:700}.receipt-void-notice{color:#9f1239}.record-card-page{max-width:1250px}.record-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.student-record-card{padding:34px 38px 42px;background:#fff;border:1px solid #d8dde5;border-radius:16px;color:#000}.record-school-heading{margin-bottom:24px;font-size:12px;line-height:1.25;text-align:center}.record-school-heading h1{margin:8px 0 0;color:#000;font-size:20px;line-height:1.1;text-decoration:underline}.record-student-info{margin-bottom:14px}.record-section-title{display:inline-block;margin-bottom:8px;border-bottom:1px solid #000;font-size:14px;font-weight:800}.record-info-row{display:flex;min-height:30px;align-items:flex-end;gap:8px}.record-label{flex:0 0 auto;font-size:13px;font-weight:700}.record-line{flex:1 1;min-width:0;min-height:22px;padding:2px 5px 3px;border-bottom:1px solid #000;font-size:14px}.record-info-split{display:grid;grid-template-columns:1.35fr .65fr;grid-gap:24px;gap:24px}.record-desktop-table{display:block}.record-mobile-history{display:none}.record-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.student-record-table{width:100%;min-width:900px;border-collapse:collapse;table-layout:fixed;color:#000}.student-record-table td,.student-record-table th{padding:5px 4px;border:1px solid #000;font-size:11px;line-height:1.15}.student-record-table th{background:#fff;font-weight:800;text-align:center;vertical-align:middle;white-space:nowrap}.student-record-table td{height:29px;vertical-align:middle}.voided-record-row{background:#fff6f7}.student-record-table .col-date,.student-record-table .col-time{width:8%}.student-record-table .col-service{width:31%}.student-record-table .col-balance,.student-record-table .col-paid,.student-record-table .col-price{width:8%}.student-record-table .col-receipt{width:10%}.student-record-table .col-payment{width:19%}.service-cell{white-space:nowrap}.instructor-inline{font-weight:700}.number-cell{text-align:right;white-space:nowrap}.center-cell{text-align:center}.payment-method-cell{font-weight:700;text-align:center;white-space:nowrap}.record-void-note{margin-top:4px;color:#9f1239;font-size:10px;font-weight:800;line-height:1.25;white-space:normal}.blank-record-row td{height:28px}.record-mobile-history-title{margin-bottom:10px;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.record-mobile-entry{margin-bottom:12px;padding:14px;background:#ffffff;border:1px solid #dbe3ee;border-radius:12px}.record-mobile-entry-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #e7edf4}.record-mobile-entry-header>div:first-child{display:grid;grid-gap:3px;gap:3px}.record-mobile-entry-header strong{font-size:14px}.record-mobile-entry-header span{color:#64748b;font-size:12px}.record-mobile-entry-balance{text-align:right}.record-mobile-entry-balance span{display:block;margin-bottom:2px;color:#64748b;font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.record-mobile-entry-balance strong{font-size:14px}.record-mobile-service{margin-bottom:14px;font-size:14px;font-weight:700;line-height:1.35}.record-mobile-service span{color:#64748b;font-weight:500}.record-mobile-void-note{margin-bottom:12px;color:#9f1239;font-size:11px;font-weight:800;line-height:1.35}.record-mobile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.record-mobile-grid span{display:block;margin-bottom:3px;color:#64748b;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.record-mobile-grid strong{display:block;font-size:13px}.record-mobile-empty{padding:16px;background:#f8fafc;border:1px solid #dbe3ee;border-radius:12px;color:#64748b;font-size:13px}.workflow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;grid-gap:12px;margin:6px 0 28px}.flow-step,.workflow{align-items:center;gap:12px}.flow-step{display:flex;min-height:82px;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:16px;font-weight:700}.flow-step strong{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;background:var(--soft);border-radius:50%}.flow-arrow{color:var(--muted);font-size:24px}.debug{margin-top:28px;overflow:hidden}.debug summary{padding:16px 18px;cursor:pointer;font-weight:700}.debug pre{max-height:440px;margin:0;padding:18px;overflow:auto;background:#111827;border-top:1px solid var(--line);color:#e5e7eb;font-size:12px;line-height:1.5}@media (max-width:1000px){.app-sidebar{width:215px}.drivedesk-content{margin-left:215px;padding:28px 24px 40px}.sidebar-brand{padding-inline:16px}.sidebar-logo{max-width:175px}.ledger-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.ledger-controls{grid-template-columns:1fr 1fr}.ledger-search{grid-column:1/-1}.ledger-custom-dates{grid-template-columns:1fr 1fr}.ledger-custom-dates .ledger-clear-filter{grid-column:1/-1}.ledger-clear-filter button{width:100%}}@media (max-width:900px){.students-table{min-width:900px}.complete-payment-methods{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:850px){.appointment-row{grid-template-columns:90px minmax(0,1fr)}.appointment-actions{grid-column:2;justify-content:flex-start}}@media (max-width:760px){.app-sidebar{position:fixed;inset:auto 0 0 0;width:100%;height:68px;flex-direction:row;background:#ffffff;border-top:1px solid #e4e9f0;border-right:0}.sidebar-brand,.sidebar-footer,.sidebar-school{display:none}.sidebar-nav{display:grid;width:100%;grid-template-columns:repeat(3,1fr);grid-gap:4px;gap:4px;padding:7px 10px}.sidebar-nav-item{min-height:54px;flex-direction:column;justify-content:center;gap:3px;padding:4px;border-radius:8px;font-size:10px}.sidebar-nav-icon{width:20px;height:20px}.sidebar-nav-item-history .sidebar-nav-label{display:block;width:100%;text-align:center}.drivedesk-content{margin-left:0;padding:0 16px 92px}.mobile-app-header{display:flex;align-items:center;justify-content:flex-start;margin:0 -16px 24px;padding:14px 16px;background:#ffffff;border-bottom:1px solid #e4e9f0;color:#172033}.mobile-brand-logo{width:min(180px,calc(100vw - 96px));min-width:140px}.primary-action,.refresh{min-height:44px;font-size:14px}.appointment-card .primary-action,.appointment-row .primary-action{width:100%;min-width:0;min-height:42px;padding:8px 14px}.appointment-day-count{min-width:64px;min-height:42px;padding:6px 10px}.students-desktop-view{display:none}.students-mobile-view{display:grid;grid-gap:12px;gap:12px}.students-panel{padding:0;overflow:visible;background:transparent;border:0}.students-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.students-summary>div{min-width:0}}@media (max-width:700px){.ledger-desktop-view{display:none}.ledger-mobile-view{display:grid;grid-gap:12px;gap:12px}.ledger-panel{overflow:visible}.ledger-header{align-items:flex-start}.ledger-header-actions{width:auto}.ledger-header-actions .primary-action{width:auto;min-width:0;min-height:40px;padding:8px 14px;white-space:nowrap}.record-card-page{padding-left:14px;padding-right:14px}.record-card-actions{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.record-card-actions .primary-action,.record-card-actions .refresh{width:auto;min-width:0;min-height:40px;padding:8px 14px;font-size:13px;white-space:nowrap}.student-record-card{padding:18px 14px;overflow:visible}.record-school-heading{font-size:11px;line-height:1.35}.record-school-heading h1{margin-top:10px;font-size:17px}.record-student-info{margin-top:20px}.record-info-row,.record-section-title{margin-bottom:10px}.record-info-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;grid-gap:8px;gap:8px}.record-info-split{display:block}.record-label{white-space:nowrap}.record-line{min-width:0;overflow-wrap:anywhere}.record-desktop-table{display:none}.record-mobile-history{display:block;margin-top:18px}.success-actions{gap:10px}.success-actions button{min-height:46px}.receipt-toolbar{display:grid;grid-template-columns:auto 1fr;align-items:center;grid-gap:10px;gap:10px}.receipt-toolbar>.refresh{width:auto;min-width:0}.receipt-toolbar-actions{display:flex;justify-content:flex-end;gap:8px}.receipt-toolbar-actions .primary-action,.receipt-toolbar-actions .refresh{width:auto;min-width:0;min-height:40px;padding:8px 11px;font-size:12px;white-space:nowrap}}@media (max-width:640px){.app-shell{width:100%;padding:20px 16px 40px}.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;grid-gap:12px;gap:12px}.topbar h1{font-size:34px;line-height:1}.topbar .subtitle{grid-column:1/-1}.topbar .refresh{width:auto!important;min-width:0!important;min-height:38px!important;padding:7px 13px!important;border-radius:8px!important;font-size:13px!important}input,select,textarea{width:100%!important;max-width:none!important;min-height:48px}.panel{padding:20px;border-radius:16px}.appointments-header{flex-direction:column;margin-bottom:22px}.appointments-header .primary-action{width:100%}.appointment-summary{gap:10px;margin-bottom:28px}.appointment-summary,.appointments-filter-grid{grid-template-columns:1fr}.appointments-filter-actions{justify-content:stretch}.appointments-filter-clear{width:100%}.account-details-grid{grid-template-columns:1fr}.account-password-form .primary-action{width:100%}.settings-grid{grid-template-columns:1fr}.settings-grid-wide{grid-column:auto}.settings-logo-buttons{display:grid;grid-template-columns:1fr}.appointment-summary-card{padding:16px}.appointment-summary-card strong{font-size:23px}.appointment-day-header{align-items:flex-start}.appointment-day-header h2{font-size:21px}.appointment-row{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:14px}.appointment-time-column{font-size:14px}.appointment-actions{width:100%}.appointment-actions .primary-action{width:100%;margin-top:10px}.students-page{width:100%;max-width:none}.mobile-legal-footer{display:grid;grid-gap:8px;gap:8px;margin-top:28px;padding:0 0 96px;color:#667085;font-size:11px;text-align:center}.mobile-legal-footer p{margin:0}.mobile-legal-links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.mobile-legal-links a{color:#56627a;font-size:11px;font-weight:700;text-decoration:none}.mobile-legal-links a:hover{color:#1463e6}.students-header{flex-direction:column;gap:18px}.students-summary>div{padding:14px}.students-summary strong{font-size:19px}.students-search input{min-height:46px}.ledger-page{width:100%;max-width:none}.ledger-tabs{display:grid;grid-template-columns:1fr 1fr}.ledger-header{flex-direction:column;gap:18px}.ledger-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-summary-card{padding:14px}.ledger-summary-card strong{font-size:19px}.ledger-controls{grid-template-columns:1fr}.ledger-search{grid-column:auto}.ledger-custom-dates{grid-template-columns:1fr}.ledger-custom-dates .ledger-clear-filter{grid-column:auto}.ledger-summary-paid{grid-template-columns:1fr}.ledger-payment-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.complete-page{padding-bottom:90px}.complete-header{margin-bottom:22px}.complete-header h1{margin-top:4px;margin-bottom:6px}.complete-header .subtitle{margin-top:0;line-height:1.45}.complete-details-card,.complete-payment-card{padding:18px;border-radius:14px}.complete-details-header{display:block;margin-top:8px;padding-bottom:18px}.complete-details-header h2{margin:0 0 2px}.complete-service{margin-top:2px}.complete-price{margin-top:12px;align-items:flex-start;text-align:left}.complete-details-grid{grid-template-columns:1fr;gap:16px;padding-top:18px}.complete-detail strong{line-height:1.35}.complete-note{margin-top:18px;padding:12px 14px}.complete-payment-card{margin-top:16px}.complete-payment-card h2{margin-top:4px;margin-bottom:18px}.complete-payment-content{gap:18px}.complete-payment-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.complete-payment-button{min-height:48px}.complete-money-input,.complete-text-input{max-width:none}.complete-summary{grid-template-columns:1fr}.complete-summary>div{padding:12px 14px}.complete-actions{display:grid;grid-template-columns:1fr;grid-gap:10px;gap:10px}.complete-actions button{width:100%;min-height:50px}.success-actions{grid-template-columns:1fr}.success-actions button:last-child{grid-column:auto}.receipt-page{width:100%;max-width:none}.receipt-document{padding:22px 18px;border-radius:14px}.receipt-header{flex-direction:column;gap:18px}.receipt-logo{width:260px}.receipt-brand h1,.receipt-header h1{font-size:30px}.receipt-number{text-align:left}.receipt-meta-grid{grid-template-columns:1fr}.receipt-row{flex-direction:column;gap:4px}.receipt-row strong{text-align:left}.workflow{grid-template-columns:1fr;gap:10px}.flow-arrow{display:none}.flow-step{width:100%;min-height:64px}}@media (max-width:380px){.app-shell{padding-left:12px;padding-right:12px}.panel{padding:16px}.customer-name{overflow-wrap:anywhere}}@media print{.app-sidebar,.mobile-app-header{display:none!important}.drivedesk-layout{background:#ffffff}.drivedesk-content,.ledger-page{margin:0!important;padding:0!important}.ledger-page{page:ledger;width:100%!important;max-width:none!important}.ledger-controls,.ledger-header-actions,.ledger-page .no-print{display:none!important}.print-only{display:grid!important}.ledger-print-only{display:block!important}.ledger-print-sections{display:grid}.ledger-header{margin-bottom:18px}.ledger-header h1{font-size:28px}.ledger-summary{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;break-inside:avoid;page-break-inside:avoid}.ledger-summary-paid{grid-template-columns:220px}.ledger-summary-card{padding:8px;border-radius:0}.ledger-summary-card span{font-size:8px}.ledger-summary-card strong{font-size:12px}.ledger-panel{overflow:visible;border:1px solid #d9dee7;border-radius:0}.ledger-mobile-view{display:none!important}.ledger-desktop-view{display:block!important}.ledger-table-scroll{overflow:visible}.ledger-table{width:100%;min-width:0;font-size:10px}.ledger-table th{padding:8px 7px;font-size:8px}.ledger-table td{padding:8px 7px}.ledger-table tr{break-inside:avoid;page-break-inside:avoid}.ledger-receipt-link{color:#000000;text-decoration:none}.record-card-page{page:record-card;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.record-card-actions,.record-card-page .no-print,.record-mobile-history{display:none!important}.record-desktop-table{display:block!important}.student-record-card{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;zoom:.9}.record-table-scroll{width:100%!important;overflow:visible!important}.student-record-table{width:100%!important;min-width:0!important;margin:0!important;border-collapse:collapse;table-layout:fixed!important}.student-record-table td,.student-record-table th{box-sizing:border-box;overflow:hidden}.student-record-table .col-date,.student-record-table .col-time{width:8%}.student-record-table .col-service{width:31%}.student-record-table .col-balance,.student-record-table .col-paid,.student-record-table .col-price{width:8%}.student-record-table .col-receipt{width:10%}.student-record-table .col-payment{width:19%}.payment-method-cell{white-space:normal!important}.student-record-table tr{break-inside:avoid;page-break-inside:avoid}}@page ledger{size:landscape;margin:.45in}@page record-card{size:portrait;margin:.3in}.auth-page{min-height:100vh;position:relative;isolation:isolate;background:radial-gradient(circle at top,rgba(29,78,216,.1),transparent 40%),linear-gradient(180deg,#f3f7fd,#eef3f9)}.auth-page-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr)}.auth-page-centered{display:grid;place-items:center;padding:32px 20px}.auth-hero-panel{position:relative;min-height:100vh;overflow:hidden;background:linear-gradient(135deg,rgba(7,24,54,.48),rgba(11,42,92,.3)),url(/drivedesk-login-bg.png);background-size:cover;background-position:50%;background-repeat:no-repeat}.auth-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,12,28,.2),rgba(4,12,28,.56)),linear-gradient(90deg,rgba(5,15,34,.72),rgba(5,15,34,.26)),radial-gradient(circle at top right,rgba(80,138,255,.16),transparent 34%)}.auth-hero-content{position:absolute;left:clamp(36px,5vw,64px);right:32px;bottom:clamp(180px,22vh,260px);z-index:1;max-width:440px;color:#ffffff}.auth-hero-title{margin:0 0 18px;color:#ffffff;font-size:clamp(38px,4.8vw,58px);line-height:.96;letter-spacing:-.045em}.auth-hero-copy{margin:0;max-width:390px;color:rgba(241,245,249,.84);font-size:16px;line-height:1.65}.auth-hero-note{margin:14px 0 0;max-width:390px;color:rgba(226,232,240,.72);font-size:14px;line-height:1.55}.auth-form-panel{display:grid;min-height:100vh;align-items:center;padding:48px 32px}.auth-form-panel-centered{width:100%;min-height:auto;padding:0}.auth-form-shell{width:min(100%,430px);margin:0 auto;padding:38px;background:rgba(255,255,255,.96);border:1px solid rgba(214,223,234,.9);border-radius:28px;box-shadow:0 24px 60px rgba(15,23,42,.12);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.auth-page-logo{display:block;width:min(100%,260px);height:auto;margin-bottom:28px}.auth-heading{margin-bottom:24px}.auth-heading h2{margin:0 0 8px;color:#0f172a;font-size:32px;line-height:1.05;letter-spacing:-.04em}.auth-heading p{margin:0;color:#667085;font-size:15px;line-height:1.6}.auth-form{display:grid;grid-gap:18px;gap:18px}.auth-form label{display:grid;grid-gap:7px;gap:7px}.auth-form label>span{color:#0f172a;font-size:13px;font-weight:800}.auth-form input{width:100%;min-height:52px;padding:0 15px;background:#fdfefe;border:1px solid #d7dee8;border-radius:14px;color:#101828;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.auth-form input:focus{outline:none;border-color:#1769e8;box-shadow:0 0 0 4px rgba(23,105,232,.1);background:#ffffff}.auth-footer-actions,.auth-inline-actions{display:flex}.auth-inline-actions{justify-content:flex-end}.auth-footer-actions{justify-content:center;margin-top:20px}.auth-copyright{margin:18px 0 0;color:#98a2b3;font-size:11px;line-height:1.5;text-align:center}.auth-submit{width:100%;min-height:52px;margin-top:4px;border-radius:14px;box-shadow:0 10px 20px rgba(23,105,232,.18)}.auth-inline-link,.auth-secondary-link{color:#1769e8;font-size:13px;font-weight:700;text-decoration:none}.auth-inline-link:hover,.auth-secondary-link:hover{text-decoration:underline}.login-error{background:#fef2f2;border:1px solid #fecaca;color:#b42318}.auth-status-card,.login-error,.login-success{padding:12px 13px;border-radius:12px;font-size:13px;font-weight:700}.login-success{background:#edfdf3;border:1px solid #c7f0d8;color:#067647}.auth-status-card{margin-bottom:20px;background:#f8fbff;border:1px solid #d6e4fb;color:#3b4f72}.auth-only-layout{width:100%;min-height:100vh}.legal-page{min-height:100vh;padding:36px 20px;background:radial-gradient(circle at top,rgba(29,78,216,.08),transparent 38%),linear-gradient(180deg,#f3f7fd,#eef3f9)}.legal-page-card{width:min(100%,920px);margin:0 auto;padding:32px;background:rgba(255,255,255,.96);border:1px solid rgba(214,223,234,.9);border-radius:28px;box-shadow:0 24px 60px rgba(15,23,42,.1)}.legal-page-logo{display:block;width:min(100%,250px);height:auto;margin-bottom:28px}.legal-page-copy{color:#334155;line-height:1.7}.legal-page-copy h1{margin:6px 0 10px;color:#0f172a;font-size:clamp(34px,5vw,46px);line-height:1;letter-spacing:-.04em}.legal-page-copy h2{margin:0 0 10px;color:#0f172a;font-size:22px}.legal-page-copy p{margin:0 0 18px}.legal-page-copy section+section{margin-top:18px}.legal-page-updated{color:#667085;font-size:14px;font-weight:700}.legal-back-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:8px;padding:0 16px;background:#eef4ff;border:1px solid #dbe7ff;border-radius:10px;color:#1463e6;font-size:14px;font-weight:800;text-decoration:none}.legal-back-link:hover{background:#e4eeff}.auth-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#f4f7fb;color:#667085;font-size:14px;font-weight:700}.auth-loading-logo{width:52px;height:52px;object-fit:contain}.sidebar-logout{width:100%;display:flex;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;background:transparent;border:1px solid #dfe4ea;border-radius:9px;color:#475467;font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.sidebar-logout:hover{background:#f8fafc;border-color:#cfd6df;color:#101828}.sidebar-logout:disabled{opacity:.6;cursor:default}.sidebar-logout-icon{width:18px;height:18px;display:flex;align-items:center;justify-content:center;flex:0 0 18px}.sidebar-logout-icon svg{width:18px;height:18px;fill:currentColor}.sidebar-mobile-logout{display:none}@media (max-width:760px){.sidebar-nav{grid-template-columns:repeat(6,1fr)}.sidebar-mobile-logout{display:flex}.sidebar-copyright,.sidebar-legal-links{display:none}.auth-page-split{grid-template-columns:1fr}.legal-page{padding:24px 16px}.legal-page-card{padding:24px 20px;border-radius:22px}.legal-page-logo{width:min(100%,210px);margin-bottom:24px}.legal-page-copy h2{font-size:19px}.auth-hero-panel{display:none}.auth-form-panel,.auth-page-centered{min-height:100vh;padding:24px 16px}.auth-form-shell{padding:28px 22px;border-radius:24px;box-shadow:0 18px 40px rgba(15,23,42,.08)}.auth-page-logo{width:min(100%,230px);margin-bottom:24px}.auth-heading h2{font-size:28px}.auth-form input,.auth-submit{min-height:50px}}@media (max-width:420px){.auth-form-shell{padding:24px 18px}.auth-heading h2{font-size:25px}}.history-page{gap:24px}.history-filter-panel{display:grid;grid-gap:20px;gap:20px}.history-filter-grid{display:grid;grid-gap:16px;gap:16px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.history-filter-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.history-range-copy{color:#475569;font-size:.95rem;font-weight:600}.history-appointment-card{align-items:center}.history-appointment-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}.history-appointment-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;color:#64748b;font-size:.9rem}.history-delete-button{border-color:#fecaca;color:#991b1b}.history-delete-button:hover:not(:disabled){background:#fef2f2}.history-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;padding:24px;z-index:40}.history-modal{width:min(100%,520px);background:#ffffff;border-radius:24px;border:1px solid #e2e8f0;box-shadow:0 32px 70px rgba(15,23,42,.22);padding:28px;display:grid;grid-gap:16px;gap:16px}@media (max-width:720px){.history-appointment-actions{width:100%}.history-filter-actions{align-items:stretch}}.demo-mode-banner{padding:10px 16px;border-bottom:1px solid #e3b341;font-size:.82rem;letter-spacing:.02em;text-align:center;margin-bottom:18px}.demo-mode-banner,.demo-reset-button{width:100%;background:#fff7d6;color:#6b4f00;font-weight:700}.demo-reset-button{margin:14px 0 4px;padding:9px 12px;border:1px solid #d8a928;border-radius:6px;font-size:.78rem;cursor:pointer}.demo-reset-button:hover:not(:disabled){background:#ffefad}.demo-reset-button:disabled{cursor:wait;opacity:.65}