:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#172033;background:#f3f6fb;line-height:1.5;--primary:#3157d5;--primary-dark:#2445b6;--nav:#101a31;--surface:#fff;--border:#e1e7f0;--muted:#697386}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top right,#e7edff 0,transparent 32rem),#f3f6fb;min-height:100vh}.topbar{position:sticky;top:0;z-index:10;background:rgba(16,26,49,.96);backdrop-filter:blur(12px);color:#fff;padding:12px clamp(18px,5vw,72px);display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;box-shadow:0 8px 28px rgba(16,26,49,.16)}.brand{display:flex;align-items:center;gap:11px;font-size:1.12rem;font-weight:850;color:#fff;text-decoration:none;letter-spacing:-.02em}.brand-logo{width:44px;height:44px;object-fit:contain;border-radius:10px;background:#fff;padding:4px}.logo-placeholder{display:grid;place-items:center;width:44px;height:44px;border:1px dashed #91a0c5;border-radius:10px;font-size:.65rem;color:#b9c5e2;background:#1b2948}.topbar nav{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.topbar nav a{color:#dfe7fa;text-decoration:none;padding:8px 10px;border-radius:8px}.topbar nav a:hover{background:#223252;color:#fff}.logout-link{border:1px solid #425477}.user-chip{background:#22395f;padding:7px 11px;border-radius:999px;font-size:.83rem;margin-left:4px}.container{width:min(1220px,92vw);margin:32px auto}.footer{text-align:center;padding:34px;color:#697386}.grid{display:grid;gap:18px}.grid.cols-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.grid.cols-4{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.card{background:rgba(255,255,255,.96);border:1px solid var(--border);border-radius:18px;padding:22px;box-shadow:0 10px 30px rgba(29,46,83,.07)}.card h2,.card h3{margin-top:0}.stat{font-size:2.15rem;font-weight:850;letter-spacing:-.04em}.muted{color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:10px 15px;background:linear-gradient(135deg,var(--primary),#4772ef);color:#fff;text-decoration:none;cursor:pointer;font-weight:750;box-shadow:0 4px 12px rgba(49,87,213,.18)}.btn:hover{background:var(--primary-dark)}.btn.secondary{background:#edf1f8;color:#263754;box-shadow:none}.btn.danger{background:#c43d3d}.btn.success{background:#237a4c}.btn.small{padding:7px 10px;font-size:.86rem}form.inline{display:inline}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-weight:720;color:#27344d}.field input,.field select,.field textarea{width:100%;padding:10px 12px;border:1px solid #cbd4e2;border-radius:9px;font:inherit;background:#fff;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6f8deb;box-shadow:0 0 0 3px rgba(49,87,213,.1)}table{width:100%;border-collapse:collapse;background:#fff}th,td{padding:13px 11px;border-bottom:1px solid #e8ecf2;text-align:left;vertical-align:top}th{background:#f7f9fc;font-size:.84rem;color:#536075;text-transform:uppercase;letter-spacing:.035em}.table-wrap{overflow:auto;border-radius:15px;border:1px solid #e2e7ef;box-shadow:0 6px 20px rgba(29,46,83,.04)}.badge{display:inline-block;padding:4px 9px;border-radius:999px;font-size:.8rem;font-weight:750}.badge.free{background:#e2f5e9;color:#21633b}.badge.booked{background:#fde5e5;color:#8b2727}.badge.pending{background:#fff2cf;color:#7b5b07}.alert{padding:13px 15px;border-radius:10px;margin-bottom:17px}.alert.success{background:#e4f6ea;color:#23673d}.alert.error{background:#fde8e8;color:#8b2424}.login-shell{min-height:75vh;display:grid;place-items:center}.login-card{width:min(440px,92vw);padding:30px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}.section-head h1{margin:0;letter-spacing:-.035em}.section-head p{margin:.35rem 0 0}.appointment-group{margin:25px 0}.slot{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #edf0f4}.slot:last-child{border-bottom:0}.slot-time{font-weight:820;font-size:1.03rem}.empty{padding:35px;text-align:center;color:#6d7787}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.tabs a{padding:8px 12px;border-radius:8px;text-decoration:none;background:#e8edf5;color:#273752}.tabs a.active{background:var(--primary);color:#fff}.edit-row{display:grid;grid-template-columns:repeat(3,minmax(125px,1fr)) auto;gap:7px;align-items:center}.edit-row input,.edit-row select{padding:8px;border:1px solid #cbd3df;border-radius:7px}.edit-row .mini{width:82px}.note{background:#eef4ff;border-left:4px solid var(--primary);padding:12px 14px;border-radius:8px}.hero{padding:28px;background:linear-gradient(135deg,#182a55,#3157d5);color:#fff;border-radius:20px;box-shadow:0 16px 36px rgba(24,42,85,.2);margin-bottom:20px}.hero h1{margin:0 0 6px}.hero .muted{color:#dfe7ff}.import-result{max-height:370px;overflow:auto}.help-box{background:#f6f8fc;border:1px solid #e3e8f1;border-radius:12px;padding:15px}.moderator-label{font-size:.83rem;color:#65728a;margin-top:3px}@media(max-width:760px){.topbar{position:static;align-items:flex-start}.topbar nav{width:100%}.user-chip{order:10}.edit-row{grid-template-columns:1fr}.slot{align-items:flex-start;flex-direction:column}.container{width:min(94vw,1220px);margin-top:20px}th,td{min-width:125px}.brand{width:100%}}
/* Professional branch booking experience */
.booking-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px 36px;margin-bottom:20px;border-radius:24px;color:#fff;background:linear-gradient(125deg,#12213f 0%,#244dbd 58%,#4778ef 100%);box-shadow:0 20px 46px rgba(28,55,126,.22)}.booking-hero:after{content:"";position:absolute;width:290px;height:290px;border-radius:50%;right:-90px;top:-160px;background:rgba(255,255,255,.11)}.booking-hero>div,.booking-hero>a{position:relative;z-index:1}.booking-hero h1{margin:4px 0 7px;font-size:clamp(1.8rem,4vw,2.65rem);line-height:1.1;letter-spacing:-.045em}.booking-hero p{margin:0;color:#dfe7ff}.eyebrow{display:block;font-size:.72rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#7890c9}.booking-hero .eyebrow{color:#c7d5ff}.booking-history-btn{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);box-shadow:none;white-space:nowrap}.booking-history-btn:hover{background:#fff;color:#2445b6}.booking-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:28px}.booking-filter{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.compact-field{min-width:140px}.compact-field label{font-size:.79rem;text-transform:uppercase;letter-spacing:.045em;color:#65728a}.compact-field input{height:43px}.filter-button{height:43px}.clear-filter{align-self:center;color:var(--primary);font-weight:700;text-decoration:none}.status-legend{display:flex;gap:15px;flex-wrap:wrap;color:#65728a;font-size:.88rem}.status-legend span{display:flex;align-items:center;gap:7px}.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.legend-dot.available{background:#26925a;box-shadow:0 0 0 4px #e3f6eb}.legend-dot.booked{background:#d74646;box-shadow:0 0 0 4px #fde8e8}.booking-week{margin:34px 0}.week-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:15px}.week-heading h2{margin:2px 0 0;font-size:1.35rem;letter-spacing:-.025em}.week-count{padding:6px 11px;border-radius:999px;background:#e9eef9;color:#53617a;font-size:.8rem;font-weight:750}.booking-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:17px}.booking-card{display:flex;flex-direction:column;min-height:220px;background:#fff;border:1px solid #e0e6ef;border-radius:19px;overflow:hidden;box-shadow:0 10px 28px rgba(29,46,83,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.booking-card:hover{transform:translateY(-2px);box-shadow:0 15px 35px rgba(29,46,83,.11)}.booking-card.is-available:hover{border-color:#abd4bd}.booking-card.is-booked{background:linear-gradient(180deg,#fff 0%,#fffafa 100%)}.booking-card-top{display:flex;gap:16px;padding:21px 21px 18px;flex:1}.date-tile{width:70px;min-width:70px;height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:15px;background:#eef3ff;color:#2445b6}.date-tile span{text-transform:uppercase;font-size:.69rem;font-weight:850;letter-spacing:.09em}.date-tile strong{font-size:1.75rem;line-height:1.1}.date-tile small{font-size:.7rem;color:#6176ac}.is-booked .date-tile{background:#fff0f0;color:#b82f35}.is-booked .date-tile small{color:#a66669}.booking-info h3{margin:2px 0 1px;font-size:.96rem;color:#68758a;font-weight:700}.booking-time{font-size:1.55rem;font-weight:880;letter-spacing:-.035em;color:#172033}.booking-meta{margin-top:9px;color:#7a8595;font-size:.87rem}.booking-card-action{padding:0 16px 16px}.booking-card-action form{margin:0}.booking-status-button{width:100%;min-height:61px;display:flex;align-items:center;gap:12px;border:0;border-radius:13px;padding:11px 14px;text-align:left;font:inherit;font-weight:820}.booking-status-button small{display:block;margin-bottom:1px;font-size:.69rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;opacity:.8}.available-button{cursor:pointer;color:#fff;background:linear-gradient(135deg,#1f8751,#32a66b);box-shadow:0 8px 18px rgba(35,122,76,.2)}.available-button:hover{filter:brightness(.96);transform:translateY(-1px)}.booked-button{color:#9e252b;background:linear-gradient(135deg,#fde7e7,#ffdada);border:1px solid #f4c4c6}.status-icon{display:grid;place-items:center;width:34px;height:34px;min-width:34px;border-radius:50%;background:rgba(255,255,255,.2);font-size:1.05rem}.booked-button .status-icon{background:#d84348;color:#fff}.manage-booking-link{display:block;text-align:center;margin:9px 0 0;color:#9e3035;font-size:.83rem;font-weight:750;text-decoration:none}.manage-booking-link:hover{text-decoration:underline}@media(max-width:760px){.booking-hero{padding:27px 23px;align-items:flex-start;flex-direction:column}.booking-toolbar{align-items:flex-start;flex-direction:column}.booking-filter{width:100%}.compact-field{flex:1;min-width:120px}.filter-button{width:100%}.booking-grid{grid-template-columns:1fr}.booking-card{min-height:0}}

/* Compact professional appointment schedule */
.booking-hero{padding:24px 28px;border-radius:20px;margin-bottom:16px}.booking-hero h1{font-size:clamp(1.55rem,3vw,2.15rem)}.booking-toolbar{padding:16px 18px;margin-bottom:20px;border-radius:15px}.booking-week{margin:24px 0}.week-heading{margin-bottom:10px}.compact-schedule{display:grid;gap:14px}.schedule-day{background:#fff;border:1px solid #dfe5ee;border-radius:15px;overflow:hidden;box-shadow:0 7px 22px rgba(29,46,83,.055)}.schedule-day-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 16px;background:linear-gradient(180deg,#f8faff,#f3f6fb);border-bottom:1px solid #e3e8f0}.schedule-date{display:flex;align-items:baseline;gap:9px}.schedule-weekday{font-weight:850;color:#263754}.schedule-date strong{font-size:.9rem;color:#68758a}.day-summary{font-size:.76rem;font-weight:750;color:#65728a;background:#fff;border:1px solid #e0e6ef;padding:4px 9px;border-radius:999px}.schedule-rows{display:block}.schedule-row{min-height:64px;display:grid;grid-template-columns:135px minmax(130px,1fr) minmax(250px,360px);align-items:center;gap:16px;padding:9px 14px;border-bottom:1px solid #edf0f4;transition:background .15s ease}.schedule-row:last-child{border-bottom:0}.schedule-row:hover{background:#f9fbff}.schedule-row.is-booked{background:#fffafa}.schedule-row.is-booked:hover{background:#fff5f5}.schedule-time{display:flex;align-items:baseline;gap:5px;white-space:nowrap}.schedule-time strong{font-size:1.16rem;letter-spacing:-.025em;color:#172033}.schedule-time span{font-size:.82rem;color:#788397}.schedule-details{display:flex;align-items:center;gap:9px;min-width:0}.duration-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eef2f8;color:#526078;font-size:.76rem;font-weight:750;white-space:nowrap}.schedule-note{font-size:.82rem;color:#697386;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-action{display:flex;align-items:center;justify-content:flex-end;gap:10px}.schedule-action form{margin:0;width:100%;max-width:240px}.compact-book-button,.compact-booked-status{width:100%;min-height:42px;border-radius:10px;padding:7px 11px;display:flex;align-items:center;gap:9px;font:inherit;font-weight:800;text-align:left}.compact-book-button{justify-content:center;border:0;cursor:pointer;color:#fff;background:linear-gradient(135deg,#218352,#32a86c);box-shadow:0 5px 13px rgba(35,122,76,.18)}.compact-book-button:hover{filter:brightness(.96)}.compact-booked-status{color:#9c2e33;background:#fde9e9;border:1px solid #f3caca}.compact-booked-status.mine{color:#244f9f;background:#eaf1ff;border-color:#cbdaf8}.compact-booked-status small{display:block;font-size:.64rem;line-height:1.1;text-transform:uppercase;letter-spacing:.055em;opacity:.76}.compact-booked-status strong{display:block;margin-top:2px;font-size:.81rem;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-dot{width:9px;height:9px;min-width:9px;border-radius:50%;background:#b92f36;box-shadow:0 0 0 3px rgba(185,47,54,.12)}.compact-book-button .status-dot{background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.2)}.compact-booked-status.mine .status-dot{background:#3157d5;box-shadow:0 0 0 3px rgba(49,87,213,.12)}.compact-manage-link{font-size:.76rem;font-weight:780;color:#3157d5;text-decoration:none;white-space:nowrap}.compact-manage-link:hover{text-decoration:underline}
@media(max-width:850px){.schedule-row{grid-template-columns:105px 1fr;gap:8px 12px}.schedule-action{grid-column:1/-1;justify-content:stretch}.schedule-action form{max-width:none}.compact-booked-status{flex:1}.schedule-details{justify-content:flex-end}}
@media(max-width:560px){.booking-hero{padding:20px}.booking-toolbar{padding:14px}.schedule-day-header{align-items:flex-start}.schedule-date{display:block}.schedule-weekday{display:block}.day-summary{white-space:nowrap}.schedule-row{grid-template-columns:1fr;padding:11px 12px}.schedule-details{justify-content:flex-start}.schedule-action{grid-column:auto}.schedule-action{align-items:stretch;flex-direction:column}.compact-manage-link{text-align:center}.schedule-time strong{font-size:1.25rem}}
