:root{color:#0f172a;background:#f8fafc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}button,input,textarea,select{font:inherit}button{border:0}.screen-center,.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#e2e8f0}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-card{width:min(520px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 24px 70px #0f172a29;padding:34px}.auth-logo{display:block;width:280px;max-width:85%;height:auto;margin:-70px auto -34px}.auth-tabs,.admin-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:6px;padding:5px;border-radius:8px;background:#f1f5f9;margin-bottom:22px}.auth-tabs button,.admin-tabs button{min-height:42px;border-radius:6px;background:transparent;color:#475569;font-weight:700;cursor:pointer}.admin-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.auth-tabs .active,.admin-tabs .active{background:#fff;color:#0f172a;box-shadow:0 1px 4px #0f172a1f}.auth-form,.editor-form{display:grid;gap:16px}label{display:grid;gap:7px;color:#334155;font-size:.9rem;font-weight:800}input,textarea,select{width:100%;border:1px solid #cbd5e1;border-radius:7px;padding:12px 13px;background:#fff;color:#0f172a;outline:none}textarea{resize:vertical;line-height:1.5}input:focus,textarea:focus,select:focus{border-color:#2563eb;box-shadow:0 0 0 4px #2563eb21}.two-col,.three-col{display:grid;gap:14px}.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.three-col{grid-template-columns:1.2fr 1fr .8fr}.primary-button,.ghost-button,.small-button,.back-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:7px;cursor:pointer;font-weight:800}.primary-button{background:#2563eb;color:#fff;padding:0 18px}.primary-button:disabled{background:#94a3b8;cursor:wait}.ghost-button,.back-button{background:#fff;border:1px solid #cbd5e1;color:#334155;padding:0 13px}.small-button{min-height:36px;padding:0 12px;background:#e0ecff;color:#1d4ed8}.small-button.success{background:#dcfce7;color:#166534}.small-button.muted{background:#f1f5f9;color:#475569}.icon-button{width:42px;padding:0;background:#f1f5f9;color:#475569}.icon-button.danger:hover{background:#fee2e2;color:#b91c1c}.inline-alert,.notice,.muted-line{display:flex;align-items:center;gap:10px;border-radius:7px;padding:12px 14px;font-size:.92rem;font-weight:700}.inline-alert.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.inline-alert.success,.notice{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0}.notice{width:min(1180px,calc(100% - 32px));margin:18px auto 0}.muted-line{color:#64748b;background:#f8fafc}.app-shell{min-height:100vh;background:#f8fafc}.topbar{position:sticky;top:0;z-index:20;height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 26px;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 8px #0f172a0a}.brand{width:180px;height:78px;display:flex;align-items:center;justify-content:flex-start;background:transparent;cursor:pointer;overflow:hidden}.brand img{width:170px;height:auto;object-fit:contain}.topbar-actions{display:flex;align-items:center;gap:12px}.email-label{color:#64748b;font-size:.9rem;font-weight:700}.page{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:34px 0 64px}.page-heading{margin-bottom:28px}.admin-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px}.eyebrow,.module-eyebrow{color:#0f172a;text-transform:uppercase;letter-spacing:0;font-size:.78rem;font-weight:900}h1,h2,p{margin-top:0}h1{margin-bottom:0;color:#0f172a;font-size:clamp(2rem,5vw,3.2rem);line-height:1.05}h2{color:#1e293b}.module-section{margin-top:18px}.module-section.spacious{margin-top:44px}.section-banner{width:100%;min-height:42px;display:flex;align-items:center;padding:0 18px;border-radius:7px;background:#2563eb;color:#fff;font-weight:900;box-shadow:0 10px 24px #2563eb2e}.section-title{margin-bottom:16px}.section-title h2{margin-bottom:0}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}.module-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.module-card{min-height:218px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;padding:24px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#475569;cursor:pointer;box-shadow:0 1px 4px #0f172a0a;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.module-card:hover{transform:translateY(-3px);border-color:#bfdbfe;box-shadow:0 16px 36px #0f172a17}.module-card strong{color:#0f172a;font-size:1.55rem;line-height:1.18}.module-card span:last-child{line-height:1.5}.module-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:8px}.accent-blue .module-icon{background:#dbeafe;color:#1d4ed8}.accent-emerald .module-icon{background:#d1fae5;color:#047857}.accent-amber .module-icon{background:#fef3c7;color:#b45309}.accent-rose .module-icon{background:#ffe4e6;color:#be123c}.accent-cyan .module-icon{background:#cffafe;color:#0e7490}.accent-violet .module-icon{background:#ede9fe;color:#6d28d9}.detail-page{padding-top:24px}.content-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:28px;align-items:start;margin-top:22px}.content-copy,.media-panel,.editor-form,.admin-table,.module-list{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 4px #0f172a0a}.content-copy{padding:30px}.lead{color:#475569;font-size:1.1rem;line-height:1.6;margin:14px 0 24px}.body-text{color:#334155;line-height:1.7}.body-text p{margin-bottom:14px}.media-panel{overflow:hidden}.media-panel img,.media-panel video{display:block;width:100%;max-height:560px;object-fit:cover;background:#0f172a}.admin-stats{display:flex;gap:10px;flex-wrap:wrap}.admin-stats span,.status-pill{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;background:#e0ecff;color:#1d4ed8;font-size:.82rem;font-weight:900}.admin-table{display:grid}.user-row,.module-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;min-height:78px;padding:16px 18px;border-bottom:1px solid #e2e8f0}.module-list-item{grid-template-columns:minmax(0,1fr) auto}.user-row:last-child,.module-list-item:last-child{border-bottom:0}.user-row div:first-child,.module-list-item div:first-child{display:grid;gap:4px}.user-row span,.module-list-item span{color:#64748b;font-size:.9rem}.status-pill.pending{background:#fef3c7;color:#92400e}.status-pill.approved{background:#dcfce7;color:#166534}.status-pill.rejected{background:#fee2e2;color:#991b1b}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.empty-state{color:#64748b;padding:24px}.content-admin{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:18px;align-items:start}.availability-page .back-button{margin-bottom:22px}.availability-page{width:min(1720px,calc(100% - 28px))}.availability-heading p{max-width:680px;margin:12px 0 0;color:#64748b;line-height:1.5}.availability-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.availability-card,.admin-availability,.driver-availability{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 4px #0f172a0a}.availability-card{padding:20px}.availability-card h2{margin-bottom:14px;text-transform:capitalize}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-bottom:8px;color:#64748b;font-size:.78rem;font-weight:900;text-align:center}.availability-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.availability-day{min-width:0;display:grid;gap:8px;align-content:start;border:1px solid #e2e8f0;border-radius:8px;padding:10px;background:#f8fafc}.availability-day.is-empty{background:transparent;border-color:transparent;box-shadow:none}.availability-day.is-available{border-color:#86efac;background:#f0fdf4}.availability-day.is-maybe{border-color:#fde68a;background:#fffbeb}.day-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.day-head strong{color:#0f172a}.day-head span{color:#64748b;font-size:.75rem;font-weight:800}.availability-toggle{display:grid;gap:5px}.availability-toggle button{min-height:32px;border-radius:6px;background:#fff;border:1px solid #cbd5e1;color:#475569;cursor:pointer;font-size:.78rem;font-weight:900}.availability-toggle button.active.available{background:#16a34a;border-color:#16a34a;color:#fff}.availability-toggle button.active.maybe{background:#d97706;border-color:#d97706;color:#fff}.availability-day textarea{min-height:58px;padding:8px;font-size:.82rem}.availability-day textarea:disabled{background:#e2e8f0;color:#94a3b8}.saving-line{color:#2563eb;font-size:.75rem;font-weight:900}.admin-availability{display:grid;gap:16px;padding:18px}.admin-filter{width:min(260px,100%)}.availability-summary{display:grid;gap:14px}.driver-availability{padding:16px}.driver-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.driver-head div:first-child{display:grid;gap:4px}.driver-head span{color:#64748b;font-size:.9rem}.driver-counts{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.driver-counts span{min-height:28px;display:inline-flex;align-items:center;border-radius:999px;padding:0 10px;font-weight:900}.count-available{background:#dcfce7;color:#166534}.count-maybe{background:#fef3c7;color:#92400e}.admin-day-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.admin-day-entry{display:grid;gap:5px;border-radius:8px;padding:11px;border:1px solid #e2e8f0;background:#f8fafc}.admin-day-entry.available{border-color:#86efac;background:#f0fdf4}.admin-day-entry.maybe{border-color:#fde68a;background:#fffbeb}.admin-day-entry span{color:#475569;font-size:.88rem;font-weight:800}.admin-day-entry p{margin:0;color:#334155;line-height:1.45}.editor-form,.module-list{padding:20px}.form-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.form-title h2{margin-bottom:0}.check-row{display:flex;grid-template-columns:none;align-items:center;gap:10px}.check-row input{width:18px;height:18px}@media(max-width:860px){.topbar{height:auto;min-height:72px;padding:8px 14px}.brand,.brand img{width:126px}.email-label{display:none}.page{width:min(100% - 24px,1180px);padding-top:24px}.two-col,.three-col,.module-grid,.module-grid.two,.content-layout,.content-admin{grid-template-columns:1fr}.module-card{min-height:188px;padding:20px}.admin-heading,.user-row,.module-list-item{grid-template-columns:1fr;align-items:start}.row-actions{justify-content:flex-start}.availability-days{grid-template-columns:repeat(7,minmax(96px,1fr));overflow-x:auto;padding-bottom:8px}.calendar-weekdays{grid-template-columns:repeat(7,minmax(96px,1fr));overflow-x:auto}.driver-head{display:grid}.driver-counts{justify-content:flex-start}.auth-card{padding:24px}}@media(max-width:560px){.auth-screen{align-items:start;padding:18px 12px}.auth-card{padding:20px 16px;margin-top:44px}.auth-logo{width:220px;margin:-58px auto -24px}.topbar{align-items:center;gap:8px}.brand{width:104px;height:58px}.brand img{width:118px}.topbar-actions{gap:7px}.topbar-actions .ghost-button{width:42px;padding:0;font-size:0}h1{font-size:2rem}.page{width:calc(100% - 20px);padding-bottom:36px}.section-banner{min-height:40px;padding:0 14px}.module-grid{gap:12px;margin-top:12px}.module-section.spacious{margin-top:30px}.module-card{min-height:164px;padding:18px;gap:10px}.module-card strong{font-size:1.28rem}.module-icon{width:48px;height:48px}.content-copy{padding:22px 18px}.availability-page{width:calc(100% - 16px)}.availability-months{grid-template-columns:1fr;gap:16px}.availability-card,.admin-availability,.driver-availability{padding:14px}.availability-days{grid-template-columns:repeat(7,minmax(104px,1fr))}.availability-day{min-height:188px}.availability-day.is-empty{display:block}.availability-toggle{grid-template-columns:1fr}.availability-toggle button{min-height:34px}.user-row,.module-list-item{padding:14px}.row-actions,.row-actions .small-button,.primary-button{width:100%}}
