@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--ink:#182230;--muted:#667085;--line:#e5eaf0;--bg:#f5f7fb;--blue:#3659e3;--blue2:#2746c7;--green:#13795b}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px 'DM Sans',sans-serif}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}.topbar{height:auto;min-height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:16px max(24px,calc((100vw - 1180px)/2));gap:20px}.brand{font:800 22px Manrope,sans-serif;color:var(--ink);letter-spacing:-.8px}.topbar nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.user{color:var(--muted);font-size:13px}.container{max-width:1180px;margin:36px auto;padding:0 24px;min-height:70vh}.hero{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 28px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px;color:var(--blue);margin:0 0 8px}h1,h2{font-family:Manrope,sans-serif;letter-spacing:-.7px}h1{font-size:clamp(27px,4vw,36px);margin:0 0 8px}h2{font-size:19px;margin:0 0 18px}.muted{color:var(--muted)}.small{font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:34px}.stat,.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 4px 16px #1b2b4a05}.stat span{display:block;color:var(--muted);font-size:13px;margin-bottom:12px}.stat strong{font:800 30px Manrope,sans-serif}.section-head{display:flex;justify-content:space-between;align-items:center;margin:24px 0 16px;gap:16px}.section-head h2{margin:0}.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:14px}table{border-collapse:collapse;width:100%;min-width:720px}th,td{text-align:left;padding:15px 16px;border-bottom:1px solid #edf0f4;font-size:13px}th{font-size:11px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted);background:#fafbfc}tr:last-child td{border-bottom:0}.pill{display:inline-block;border-radius:20px;padding:5px 9px;background:#edf2ff;color:#334fc4;font-size:11px;font-weight:700}.empty{text-align:center;color:var(--muted);padding:32px}.button,button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:var(--blue);color:#fff;padding:12px 17px;font:700 13px 'DM Sans',sans-serif;cursor:pointer}.button:hover,button:hover{background:var(--blue2);text-decoration:none}.button:disabled,button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#eef1f6;color:var(--ink)}.secondary:hover{background:#e1e6ef}.auth{max-width:470px;margin:35px auto;padding:30px}.auth h1{font-size:28px}.form-card{max-width:720px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.detail-grid>.card{min-width:0}form{display:grid;gap:15px}label{display:grid;gap:7px;font-size:13px;font-weight:600;color:#344054}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d7dee8;border-radius:9px;background:#fff;font:14px 'DM Sans',sans-serif;color:var(--ink);outline:none}input:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #3659e31a}form button{justify-self:start;margin-top:3px} .error,.notice{border-radius:10px;padding:12px 15px;font-size:13px;margin:0 0 18px}.error{background:#fff0f0;color:#a52626;border:1px solid #ffd5d5}.notice{background:#ecfdf3;color:#176447;border:1px solid #bcebd0}dl{display:grid;grid-template-columns:150px 1fr;gap:14px;margin:0}dt{color:var(--muted);font-size:13px}dd{margin:0;font-weight:600;overflow-wrap:anywhere}.inline{display:inline}.small-btn{padding:8px 10px;font-size:11px}footer{text-align:center;padding:26px;color:#98a2b3;font-size:12px;border-top:1px solid var(--line);background:#fff}@media(max-width:800px){.topbar{align-items:flex-start;flex-direction:column}.container{margin:24px auto;padding:0 16px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.hero{align-items:flex-start;flex-direction:column}.user{display:none}dl{grid-template-columns:125px 1fr}}@media(max-width:480px){.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.topbar nav{gap:12px;font-size:13px}}

/* Extended calendar and admin workflow */
hr{border:0;border-top:1px solid var(--line);margin:24px 0}.filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.filters label{flex:1;min-width:150px}.calendar-list{display:grid;gap:14px;margin:20px 0}.day-card{padding:18px 22px}.day-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.day-title h2{margin:0}.slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px}.slot-btn{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#f2f5ff;border:1px solid #dce4ff;color:#243d9b;padding:12px;border-radius:10px;gap:5px}.slot-btn:hover{background:#e6ecff}.slot-btn small{font-weight:500;color:#596baf}.form-card{margin-top:22px}.compact{margin-top:12px;padding:12px;background:#f8f9fc;border-radius:10px}.compact label{margin-bottom:3px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto}.danger{background:#fff0f0;color:#a52626}.danger:hover{background:#ffdede}.report-card{margin-top:20px}.report-card h2{margin-bottom:14px}details{margin:10px 0}summary{cursor:pointer;color:var(--blue);font-weight:600;font-size:13px;padding:5px 0}.secondary{display:inline-flex}#reschedule-field{display:none}textarea{resize:vertical;min-height:100px}button.slot-btn{font-size:13px}@media(max-width:700px){.filters{align-items:stretch;flex-direction:column}.filters label{width:100%}.slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slot-btn{padding:10px}.section-head{align-items:flex-start;flex-wrap:wrap}}
/* User administration improvements */
.users-layout{align-items:start}.team-card{min-width:0}.user-row{padding:16px 0;border-bottom:1px solid var(--line)}.user-row:first-of-type{padding-top:0}.user-row:last-child{border-bottom:0}.user-row-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.user-row-head strong{display:block;margin-bottom:5px}.user-row-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.state{font-size:11px;font-weight:700;border-radius:20px;padding:5px 9px}.state-active{background:#e9f8ef;color:#176447}.state-inactive{background:#fff0f0;color:#a52626}.user-edit{margin:12px 0 8px}.user-edit summary{display:inline-flex;padding:8px 11px;border:1px solid #dce4ff;border-radius:8px;background:#f2f5ff}.user-edit[open] summary{margin-bottom:8px}.user-edit .compact{padding:15px}.delete-user-form{display:block;margin-top:10px}.delete-user-form button{margin-top:0}.import-summary{margin-bottom:18px}.import-summary ul{margin-bottom:0;padding-left:20px}.import-summary li{margin:5px 0;font-size:13px}@media(max-width:800px){.user-row-head{flex-direction:column}.user-row-tags{justify-content:flex-start}}

/* SessionDesk visual refresh: clearer hierarchy, calendar controls, and mobile usability */
:root{--ink:#172033;--muted:#68758b;--line:#e4e9f2;--bg:#f4f6fb;--blue:#4057d6;--blue2:#2d40b8;--green:#16845b;--shadow:0 14px 40px rgba(22,35,69,.07)}
body{background:radial-gradient(ellipse at top left,#eef2ff 0,transparent 42%),var(--bg);color:var(--ink);line-height:1.5}
.topbar{position:sticky;top:0;z-index:20;min-height:76px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(220,226,238,.9);padding:14px max(24px,calc((100vw - 1240px)/2));box-shadow:0 5px 20px rgba(30,42,75,.035)}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-1px}.brand:before{content:'S';display:grid;place-items:center;width:34px;height:34px;border-radius:11px;color:white;background:linear-gradient(145deg,#6278f0,#394ac5);font:800 17px Manrope,sans-serif;box-shadow:0 5px 12px #4057d633}
.topbar nav{gap:7px}.topbar nav a{display:inline-flex;align-items:center;padding:9px 12px;border-radius:9px;color:#4c5870;font-size:13px;font-weight:700;transition:background .15s,color .15s}.topbar nav a:hover{background:#eef1ff;color:var(--blue);text-decoration:none}.user{padding:8px 10px;background:#f5f7fb;border-radius:8px}
.container{max-width:1240px;margin:34px auto;padding:0 28px 48px;min-height:72vh}.hero{margin-bottom:26px}.hero h1{font-size:clamp(30px,4vw,42px);line-height:1.12;letter-spacing:-1.4px}.hero .muted{margin:8px 0 0;max-width:680px}.eyebrow{font-size:10px;letter-spacing:2px}.card,.stat{border:1px solid rgba(224,230,240,.95);border-radius:18px;box-shadow:var(--shadow);padding:24px;transition:box-shadow .2s,border-color .2s}.card:hover{border-color:#d9e0f4}.stats{gap:18px}.stat strong{letter-spacing:-1.2px}.section-head{margin:28px 0 16px}.section-head h2{margin:0}.table-wrap{border-color:var(--line);border-radius:13px}table{min-width:680px}th{background:#f7f8fc;padding:14px 17px}td{padding:15px 17px}tbody tr:hover td{background:#fafbff}
button,.button{border-radius:10px;padding:12px 17px;box-shadow:0 4px 10px rgba(64,87,214,.12);transition:transform .15s,background .15s,box-shadow .15s}button:hover,.button:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(64,87,214,.18)}button.secondary{box-shadow:none;border:1px solid #e0e5ef}button.secondary:hover{background:#e7ebf5;box-shadow:none}.danger{box-shadow:none}input,select,textarea{border-color:#d9e0ec;border-radius:10px;min-height:43px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#8795f3;box-shadow:0 0 0 4px rgba(64,87,214,.11)}label{gap:8px;color:#35415a;font-size:12px}form{gap:16px}.form-card{margin-top:22px}.pill{letter-spacing:.1px}.notice,.error{padding:14px 16px;border-radius:12px}
.hero-badge{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;padding:11px 14px;border-radius:12px;border:1px solid #dce4ff;background:rgba(255,255,255,.85);font-size:12px;font-weight:700;color:#3548ad;box-shadow:0 6px 20px rgba(48,67,140,.05)}.status-dot{width:8px;height:8px;display:inline-block;border-radius:100%;background:#20a66a;box-shadow:0 0 0 4px #20a66a1c}.availability-panels{margin-bottom:22px;align-items:stretch}.feature-card{position:relative;overflow:hidden}.feature-card:after{content:'';position:absolute;right:-40px;top:-45px;width:130px;height:130px;border-radius:50%;background:linear-gradient(145deg,#eef1ff,#f8f9ff);z-index:0}.feature-card>*{position:relative;z-index:1}.card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eef1ff;color:#4057d6;font-size:26px;font-weight:500;margin-bottom:16px}.unavailable-card .card-icon{background:#fff2e7;color:#b55b18}.feature-card h2{margin-bottom:8px;font-size:20px}.feature-card>p{font-size:13px;min-height:40px;margin:0 0 20px}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.helper-text{margin:0;color:#7a8498;font-size:12px;line-height:1.5}.table-card{margin-top:22px}.table-card .section-head{margin:0 0 16px}.table-card .section-head .eyebrow{margin-bottom:5px}.table-card .section-head h2{font-size:20px}.state{padding:6px 10px}.state-active{background:#e8f8ef;color:#14754f}.state-inactive{background:#fff0ef;color:#b43c37}.slot-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.day-card{padding:22px}.day-title{margin-bottom:18px}.day-title h2{font-size:21px}.slot-btn{position:relative;min-height:72px;justify-content:center;background:#f8f9ff;border:1px solid #e0e6ff;color:#293fa8;padding:13px 14px;box-shadow:none;gap:4px}.slot-btn small{font-size:11px;color:#6775b6;line-height:1.3}.slot-btn:hover{background:#edf0ff;border-color:#bac6ff;box-shadow:0 5px 15px rgba(64,87,214,.1);transform:translateY(-2px)}.slot-btn.selected{background:#4057d6;border-color:#4057d6;color:#fff;box-shadow:0 7px 18px #4057d633}.slot-btn.selected small{color:#e4e8ff}.refresh-note{margin:0 0 14px;padding-left:2px}.filters{align-items:end;gap:12px}.filters button{min-height:43px}.calendar-list{gap:16px}.empty{padding:35px 20px}.inline{display:inline-flex}.inline button{white-space:nowrap}footer{background:rgba(255,255,255,.8);padding:24px;border-top:1px solid var(--line);letter-spacing:.2px}
@media(max-width:900px){.topbar{position:static;align-items:flex-start}.topbar nav{width:100%}.container{padding:0 18px 34px}.hero-badge{white-space:normal}.detail-grid{grid-template-columns:1fr}.feature-card>p{min-height:0}}
@media(max-width:600px){.topbar{padding:15px 16px}.brand{font-size:21px}.topbar nav{gap:4px}.topbar nav a{padding:8px 9px;font-size:12px}.container{margin:24px auto;padding:0 13px 28px}.card,.stat{padding:18px;border-radius:15px}.hero{gap:14px}.hero h1{font-size:30px}.field-row{grid-template-columns:1fr}.slot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.slot-btn{min-width:0;overflow-wrap:anywhere}.day-card{padding:16px}.day-title h2{font-size:19px}.filters label{min-width:0}.stats{gap:10px}.table-card{padding:14px}.hero-badge{font-size:11px}}
