:root{--navy:#073451;--blue:#086cdb;--deep:#0b408c;--sky:#eef6ff;--paper:#f7f9fd;--ink:#172b45;--muted:#63758c;--border:#e0e9f3;--mint:#d1f5e9;--shadow:0 11px 32px rgba(17,54,98,.08);--radius:22px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.19;letter-spacing:-.028em}h1{font-size:clamp(2.1rem,5vw,3.1rem)}h2{font-size:1.35rem}h3{font-size:1.09rem}p{line-height:1.65}.app-shell{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr);grid-template-rows:72px auto}.topbar{grid-column:1/-1;grid-row:1;background:linear-gradient(108deg,#0a4589 0%,#0a69cf 85%);color:#fff;display:flex;align-items:center;padding:0 clamp(16px,4vw,35px);gap:12px;box-shadow:0 3px 18px #082f5b18;position:sticky;top:0;z-index:30}.topbar a{color:#fff}.brand{display:flex;align-items:center;gap:10px;font-size:1.28rem;font-weight:780;letter-spacing:-.035em}.brand:hover{text-decoration:none}.brand img{background:#fff;border-radius:13px;padding:3px}.brand-accent{color:#b8f1f0}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.live-dot{width:9px;height:9px;border:2px solid #fff9;border-radius:50%;background:#ffd986}.live-dot.ready{background:#a3f3ad}.live-dot.error{background:#ff9c8b}.icon-btn{border:0;background:transparent;font-size:23px;color:inherit;padding:6px 10px;border-radius:11px}.icon-btn:hover{background:#ffffff1f}.menu-btn{display:none}.side-nav{grid-column:1;grid-row:2;background:#fff;border-right:1px solid var(--border);padding:32px 14px 24px;position:sticky;top:72px;height:calc(100vh - 72px);display:flex;flex-direction:column;gap:5px;z-index:25}.side-label{font-size:.67rem;font-weight:800;color:#9baabc;letter-spacing:.12em;margin:4px 12px 9px}.side-gap{margin-top:27px}.side-item{display:flex;align-items:center;gap:14px;background:none;border:0;text-align:left;border-radius:12px;padding:12px 13px;color:#4c6380;font-weight:640}.side-item span{width:23px;text-align:center;font-size:22px;font-weight:400}.side-item:hover{background:#f0f7ff}.side-item.active{color:#0969d3;background:#e9f3ff}.side-bottom{margin-top:auto;color:#95a5b4;font-size:.73rem;text-align:center}.page-content{grid-column:2;grid-row:2;min-width:0;width:min(1100px,100%);margin:0 auto;padding:28px clamp(15px,3vw,36px) 95px}.view{display:none;animation:appear .24s ease}.view.active{display:block}.view.narrow{max-width:600px;margin-inline:auto}@keyframes appear{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}.bottom-nav{display:none}.landing-hero{position:relative;overflow:hidden;border-radius:29px;background:linear-gradient(115deg,#0b4c91 0%,#086ccb 60%,#0c98ba 130%);color:#fff;padding:clamp(32px,5vw,60px);min-height:410px;isolation:isolate}.hero-orbit,.hero-sun{pointer-events:none;position:absolute;border-radius:100%;z-index:-1}.hero-sun{background:#b5eac51e;width:380px;height:380px;right:-130px;top:-180px}.hero-orbit{border:65px solid #ffffff10;width:540px;height:540px;right:-160px;bottom:-350px}.eyebrow{font-size:.69rem;color:#0870d3;letter-spacing:.12em;font-weight:900}.eyebrow.light{color:#bcf5ec}.hero-symbol{width:64px;height:64px;display:block;margin:21px 0 17px;box-shadow:0 6px 25px #001c4925;border-radius:22px}.landing-hero h1{max-width:540px;font-size:clamp(2.2rem,5vw,3.65rem);margin-bottom:15px}.landing-hero p{max-width:570px;font-size:1.1rem;color:#e7f6ff}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:13px;border:1px solid transparent;min-height:46px;padding:10px 18px;font-weight:750;line-height:1.35;text-align:center;transition:transform .15s,box-shadow .15s}.btn:hover{transform:translateY(-1px);box-shadow:0 5px 18px #005bae1f;text-decoration:none}.btn:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #54a9fa;outline-offset:3px}.btn-primary{background:#086cdb;color:#fff}.btn-white{background:#fff;color:#075da8}.btn-outline{color:#fff;border-color:#ffffff77;background:#ffffff13}.btn-soft{background:#e9f3ff;color:#075fae}.btn-small{font-size:.82rem;min-height:36px;padding:7px 11px}.btn.full{width:100%}.hero-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:27px;color:#d7f8ff;font-size:.73rem}.hero-pills span{background:#ffffff17;border:1px solid #ffffff27;padding:6px 10px;border-radius:30px}.section-heading{display:flex;justify-content:space-between;align-items:center}.section-heading.compact{margin:29px 3px 17px}.section-heading h2{font-size:1.55rem;margin:5px 0}.features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.feature-card,.quick-card,.panel,.stat-card,.auth-card{background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:var(--radius)}.feature-card{padding:25px}.feature-card p{color:var(--muted);font-size:.9rem;margin:8px 0 0}.feature-card h3{margin:14px 0 0}.feature-icon{display:inline-grid;place-items:center;width:48px;height:48px;background:#e7f2ff;color:var(--blue);border-radius:14px;font-weight:900}.reassurance{margin-top:22px;background:#eafbf6;border:1px solid #cceee4;border-radius:18px;padding:18px 22px;display:flex;gap:14px;color:#19594c}.reassurance-icon{font-size:28px}.reassurance p{margin:4px 0 0;font-size:.88rem}.text-back{border:0;background:none;color:var(--blue);font-weight:750;padding:8px 0;margin-bottom:16px}.auth-card{padding:clamp(22px,5vw,42px)}.auth-card h1{font-size:2.05rem;margin:5px 0}.auth-icon{background:linear-gradient(135deg,#def4ff,#d6f8e9);color:#0878bf;font-size:27px;width:64px;height:64px;display:grid;place-items:center;border-radius:19px;margin-bottom:15px}.muted{color:var(--muted)}.form-stack{display:flex;flex-direction:column;gap:19px;margin-top:23px}.form-stack label{display:block;color:#243b56;font-size:.91rem;font-weight:750}.form-stack label small{font-weight:500;color:var(--muted)}.form-stack input:not([type=checkbox]),.form-stack select,.filter-row input,.filter-row select{margin-top:7px;width:100%;border:1.5px solid #d6e2ed;border-radius:12px;background:#fafdff;color:var(--ink);height:50px;padding:0 14px;outline:0}.form-stack input:focus,.form-stack select:focus,.filter-row input:focus,.filter-row select:focus{border-color:#067ce3;box-shadow:0 0 0 4px #0873dd1b}.form-stack small{display:block;font-size:.78rem;color:var(--muted);margin-top:6px}.form-stack .check-line{display:flex;align-items:flex-start;gap:12px;font-weight:500;font-size:.84rem}.check-line input{margin:4px 0 0;min-width:18px;min-height:18px;accent-color:var(--blue)}.tiny-note{font-size:.78rem;color:#6a7d95;text-align:center;margin:17px 0 0}.notice-soft{background:#edf6ff;color:#31577b;border-radius:12px;padding:12px 14px;font-size:.84rem;line-height:1.55;margin-top:14px}.dashboard-hero{color:#fff;background:linear-gradient(117deg,#0b509f,#137dc4 75%,#53a4bc);border-radius:25px;padding:35px clamp(25px,5vw,50px);position:relative;overflow:hidden}.dashboard-hero:after{content:'♡';position:absolute;font-size:240px;line-height:1;right:-10px;bottom:-110px;color:#ffffff1b;pointer-events:none}.dashboard-hero h1{margin:5px 0 14px;font-size:2.3rem}.dashboard-hero p{margin-top:14px;margin-bottom:0;color:#ebf7ff}.date-pill{display:inline-block;background:#fff;color:#18466d;border-radius:10px;padding:8px 13px;font-size:.86rem;font-weight:750}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:21px 0}.quick-card{text-align:left;min-height:157px;padding:21px 14px;border-top:5px solid #1985e9;color:var(--ink);display:flex;flex-direction:column;align-items:flex-start;gap:7px}.quick-card:hover{transform:translateY(-2px);border-color:#b0d4ff}.quick-card strong{line-height:1.25}.quick-card>span:last-child{font-size:.77rem;color:var(--muted)}.quick-icon{color:#0879ea;background:#eaf4ff;border-radius:11px;padding:4px 10px;font-size:24px;font-weight:800}.panel{padding:24px;margin-top:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.panel-head h2{color:var(--navy);margin:0;font-weight:760}.panel-icon{color:#096de0;font-size:27px}.empty-state{text-align:center;padding:24px;background:#f8fbff;border:1px dashed #c6d9ea;border-radius:13px;color:#667c94}.page-heading{margin:5px 2px 25px}.page-heading h1{margin:4px 0 8px}.page-heading p{color:var(--muted);margin-bottom:0}.step-bubble{border-radius:100%;display:grid;place-items:center;background:#dcefff;color:#086cdb;width:38px;height:38px;font-weight:800;margin-bottom:12px}.booking-panel h2{margin:0}.appointment-stack{display:flex;flex-direction:column;gap:12px}.appointment-row{border:1px solid var(--border);background:#fafeff;border-radius:15px;padding:17px;display:flex;gap:15px;justify-content:space-between;align-items:center}.appointment-main{min-width:0}.appointment-main strong{display:block;font-size:1rem;color:#114e76;overflow-wrap:anywhere}.appointment-main small{display:block;color:#6a7990;margin-top:6px}.appointment-main p{margin:5px 0;font-size:.87rem;color:#536a80}.status{display:inline-block;font-size:.7rem;font-weight:800;border-radius:99px;padding:5px 10px;white-space:nowrap}.status.Pending{background:#fff0c9;color:#8d560b}.status.Confirmed{background:#d6eaff;color:#0757af}.status.Completed{background:#dcf8e7;color:#207545}.status.Cancelled{background:#f9e4e5;color:#a32c39}.row-actions{display:flex;align-items:flex-end;gap:10px;flex-direction:column}.row-actions button{white-space:nowrap}.calendar-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}.calendar-top strong{font-size:1.15rem}.calendar-controls{display:flex;gap:7px}.calendar-controls button{border:1px solid var(--border);background:#eaf4ff;color:#0b65ba;border-radius:8px;padding:5px 12px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--border);border-radius:12px;overflow:hidden}.calendar-dayname{text-align:center;background:#f2f7fc;padding:9px 0;font-size:.78rem;font-weight:850;color:#546b83}.calendar-cell{min-height:67px;padding:7px 9px;border-top:1px solid var(--border);border-right:1px solid var(--border);font-size:.84rem;position:relative}.calendar-cell:nth-child(7n){border-right:0}.calendar-cell.dim{color:#b6c4d0;background:#f9fbfe}.calendar-cell.today{background:#eaf6fc;font-weight:900}.calendar-cell.marked:after{content:'';display:block;width:7px;height:7px;border-radius:50%;background:#0876e8;margin:6px auto 0}.calendar-legend{font-size:.76rem;color:var(--muted);margin-top:9px}.staff-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.staff-head h1{margin:5px 0 6px}.staff-head p{color:var(--muted);margin:0}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card{padding:21px;border-top:4px solid #1980e7}.stat-card span{display:block;color:var(--muted);font-size:.85rem;font-weight:600}.stat-card strong{display:block;color:#0759a8;font-size:2.05rem;margin-top:6px}.filter-row{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-bottom:18px}.filter-row input,.filter-row select{margin:0}.privacy-copy h2{margin-top:15px;margin-bottom:7px;color:#0e567d}.privacy-copy h2:first-child{margin-top:0}.privacy-copy p{color:#4c627a;margin:0 0 20px}.modal{width:min(95vw,480px);max-height:89vh;overflow:auto;border:0;border-radius:24px;box-shadow:0 20px 80px #001c4e50;padding:0}.modal::backdrop{background:#032144a8}.modal-body{padding:28px}.modal-body h2{margin-bottom:10px}.modal-body p{color:#62758b}.code-box{font:800 1.05rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;text-align:center;background:#ecf6ff;border:1px solid #accbe6;padding:17px;border-radius:12px;letter-spacing:.1em;margin:14px 0}.modal-body>.btn{margin:9px 0}.modal-top{display:flex;align-items:center;justify-content:space-between}.modal-top .icon-btn{color:#3d5268}.toast{position:fixed;bottom:94px;left:50%;transform:translateX(-50%);min-width:min(90vw,360px);max-width:92vw;background:#0f365e;color:#fff;padding:13px 20px;border-radius:13px;box-shadow:0 8px 32px #0029563c;z-index:100;text-align:center;font-size:.88rem}.toast.error{background:#8b2332}.backdrop{background:#06213e96;position:fixed;inset:72px 0 0;z-index:24}
@media(max-width:1000px){.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.features-grid{gap:10px}.feature-card{padding:19px}}
@media(max-width:740px){.app-shell{display:block}.topbar{height:65px;padding:0 15px}.menu-btn{display:inline-block}.brand{font-size:1.1rem}.brand img{width:35px;height:35px}.side-nav{position:fixed;top:65px;left:0;bottom:0;height:auto;width:255px;transform:translateX(-105%);transition:transform .2s;box-shadow:10px 0 30px #002b5922}.side-nav.open{transform:translateX(0)}.backdrop{inset:65px 0 0}.page-content{padding:16px 14px 100px;max-width:720px}.bottom-nav{height:calc(67px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid var(--border);z-index:20;box-shadow:0 -5px 26px #194b7620}.bottom-nav button{border:0;background:#fff;font-size:.64rem;font-weight:750;color:#72849a;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0}.bottom-nav button span{font-size:24px;line-height:1.3}.bottom-nav button.active{color:#086bdb;background:#f3f9ff}.landing-hero{padding:29px 25px;border-radius:22px;min-height:0}.landing-hero h1{font-size:2.35rem}.landing-hero p{font-size:.94rem}.hero-symbol{width:58px;height:58px}.hero-buttons{flex-direction:column;align-items:stretch}.hero-pills{font-size:.64rem}.features-grid{grid-template-columns:1fr}.feature-card{display:grid;grid-template-columns:auto 1fr;gap:0 14px;align-items:center}.feature-icon{grid-row:1/3}.feature-card h3{margin:0}.feature-card p{margin:4px 0 0}.reassurance{padding:17px}.quick-card{min-height:139px;padding:16px 12px}.dashboard-hero{padding:28px 24px}.dashboard-hero h1{font-size:1.9rem}.appointment-row{align-items:flex-start}.panel{padding:17px}.auth-card{padding:24px 20px}.calendar-cell{min-height:50px;padding:4px;font-size:.75rem}.calendar-dayname{font-size:.67rem;padding:7px 0}.filter-row{grid-template-columns:1fr}.stats-grid{gap:9px}.stat-card{padding:16px}.stat-card strong{font-size:1.7rem}.staff-head{align-items:flex-start}.staff-head h1{font-size:1.8rem}.row-actions{gap:6px}.row-actions button{font-size:.73rem}.toast{bottom:87px}}
@media(max-width:360px){.brand{font-size:1rem}.page-content{padding:12px 10px 96px}.appointment-row{flex-direction:column}.row-actions{flex-direction:row;align-items:center}.landing-hero{padding:24px 19px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.view{animation:none}*{transition:none!important}}

.hero-signout{position:relative;z-index:1;background:#ffffff13;color:#fff;border:1px solid #ffffff63;border-radius:9px;padding:7px 11px;font-size:.76rem;margin-top:14px;font-weight:730}.hero-signout:hover{background:#ffffff27}


/* GabaySpace V0.2 · school-owned visual design inspired by portal UI reference */
:root{--navy:#064a70;--blue:#076bf0;--deep:#153e86;--ink:#172b3c;--paper:#f6f8fb;--shadow:0 10px 25px rgba(20,44,74,.10);--radius:21px}
body{background:var(--paper);font-family:Arial,system-ui,-apple-system,'Segoe UI',sans-serif}
.topbar{background:linear-gradient(108deg,#173d88 0%,#076ffa 100%);height:72px;box-shadow:0 4px 14px #14396c18}
.brand{letter-spacing:-.025em;font-size:1.18rem;font-weight:750}.brand img{background:transparent;padding:0;border-radius:50%}.brand span{color:white}
.page-content{width:min(1100px,100%);padding-top:28px}
.side-nav{border-right:1px solid #e1e7f0}
.btn-primary{background:#086af1}.btn-soft{background:#e6f0ff;color:#0865df}
.panel,.auth-card,.quick-card,.stat-card,.feature-card{border-color:#e2e8f1;box-shadow:0 9px 23px rgba(24,49,77,.09)}
.ui-icon{height:25px;width:25px;display:inline-block;flex-shrink:0}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* 900ms app-style branded splash. CSS-only so it cannot trap the user on a frozen screen. */
.splash-screen{position:fixed;inset:0;z-index:100;background:#153e86;display:flex;flex-direction:column;gap:22px;align-items:center;justify-content:center;color:#fff;font-size:1.8rem;font-weight:550;pointer-events:none;animation:splashExit .95s ease-in-out both}
.splash-screen img{height:104px;width:104px;border-radius:26px;background:#fff;padding:8px;box-shadow:0 12px 40px #021d5570}
@keyframes splashExit{0%,60%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){.splash-screen{display:none;animation:none}}
/* Reference-inspired access page: blue campus background, top welcome card, white form. */
#view-landing{background:linear-gradient(150deg,#143e8cab,#0d68d133),url('campus.svg') center/cover no-repeat;border-radius:24px;min-height:740px;padding:60px 24px;position:relative}
.portal-entry{overflow:hidden;max-width:640px;margin:0 auto;border-radius:21px;box-shadow:0 15px 50px #001b544a;background:#fff}
.entry-head{padding:42px 35px 35px;text-align:center;color:white;background:linear-gradient(145deg,rgba(17,57,131,.96),rgba(6,106,230,.91));}
.entry-head img{height:65px;width:65px;display:block;margin:0 auto 12px;background:#fff;border-radius:50%;padding:5px}
.entry-identity{font-size:.65rem;font-weight:800;letter-spacing:.16em;color:#dcecff;margin-bottom:9px}
.entry-head h1{font-size:clamp(1.92rem,4.8vw,2.7rem);font-weight:800;letter-spacing:-.02em;margin:0 0 15px;line-height:1.12}
.entry-head p{line-height:1.6;color:#e9f5ff;font-size:1rem;margin:0 auto;max-width:475px}
.entry-body{padding:27px 35px 30px;background:#fff}.entry-heading{display:flex;align-items:center;gap:10px;color:#203247}.entry-heading .ui-icon{width:29px;height:29px}.entry-heading h2{font-size:1.45rem;margin:0;font-weight:790}.entry-help{font-size:.88rem;color:#64748b;margin:10px 0 17px}.entry-body .form-stack{margin:0;gap:14px}
.input-icon-wrap{display:flex;align-items:center;position:relative;background:#f8fafe;border:1.5px solid #dbe3ef;border-radius:12px;padding:0 13px;min-height:58px;gap:9px}
.input-icon-wrap:focus-within{border-color:#0b70f6;box-shadow:0 0 0 4px #0c75f11b}.input-icon-wrap>.ui-icon{color:#698099;width:22px;height:22px}
.input-icon-wrap input{height:54px;width:100%;background:transparent;border:0;outline:0;font:inherit;min-width:0}
.eye-btn{background:none;border:0;color:#086af1;font-size:.8rem;font-weight:700;padding:7px 2px}
.entry-body .btn-primary{height:54px;border-radius:10px;font-size:1.04rem}
.entry-options{display:flex;gap:9px;justify-content:space-between;align-items:center;margin:20px 0 4px;color:#65788f;font-size:.87rem}
.entry-options button{border:0;background:none;color:#0867e9;font-weight:750;font-size:.88rem;text-align:right}
.data-disclaimer{border-top:1px solid #eef0f4;margin:20px 0 0;padding-top:17px;display:flex;gap:8px;align-items:flex-start;color:#65758a;line-height:1.6;font-size:.77rem}
.data-disclaimer .ui-icon{height:17px;width:17px;color:#086af1;margin-top:1px}
.how-works{max-width:995px;margin:60px auto 0;padding:22px;border-radius:21px;background:#ffffffea;box-shadow:0 8px 28px #00194723}
.how-top{text-align:center;padding:8px 0 18px}.how-top h2{font-size:1.43rem;margin:5px 0}.feature-card{box-shadow:none;border-color:#e4ebf4;padding:21px}
/* Dashboard reference: welcome banner, four shortcuts, calendar and activity. */
.dashboard-hero{border-radius:15px;padding:32px 26px 31px;text-align:center;background:linear-gradient(105deg,#044dbeed,#086cdddf),url('campus.svg') center 55%/cover no-repeat;box-shadow:0 5px 12px #123d671c}
.dashboard-hero:after{display:none}.hero-topline{font-size:.69rem;letter-spacing:.13em;font-weight:800;color:#d2e6ff;margin-bottom:4px}
.dashboard-hero h1{margin:3px 0 11px;font-size:clamp(1.65rem,4vw,2.1rem)}
.dashboard-hero .date-pill{font-size:.95rem;border-radius:9px;box-shadow:0 1px 5px #062c5c22;padding:8px 15px;color:#183046}
.dashboard-hero p{font-size:1rem;margin:14px 0 0}.hero-signout{margin-top:15px}
.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 25px;margin:23px 0}
.quick-card{align-items:center;text-align:center;justify-content:center;min-height:158px;gap:11px;padding:22px 10px 18px;border:0;border-top:5px solid #1682ed;border-radius:20px;background:#fff;transition:transform .16s,box-shadow .16s}
.quick-card:hover{transform:translateY(-2px);box-shadow:0 13px 26px #00346c19}
.quick-icon{display:grid;place-items:center;background:transparent;color:#076be8;margin:0;padding:0}.quick-icon .ui-icon{height:43px;width:43px;stroke-width:2.3}
.quick-card strong{font-size:1.07rem;color:#131b25;line-height:1.25}.quick-card>span.quick-sub{color:#7a899b;font-size:.73rem}
.panel{background:#fff;padding:23px 24px;border-radius:19px}.panel-head h2{font-size:1.3rem;font-weight:650;color:#14516a}.panel-icon{color:#076cec}
.calendar-top{flex-direction:row-reverse}.calendar-top strong{font-size:1.15rem;font-weight:550}.calendar-controls button{background:#0c72eb!important;color:#fff!important;border-radius:6px!important}
.calendar-cell{min-height:67px;border-color:#e0e4ea}.calendar-cell.today{background:#e9f7ff}.calendar-cell.marked:after{height:9px;width:9px;background:#086af1}
/* searchable school office selection */
.office-select{padding:8px 0 70px;min-height:calc(100vh - 180px);position:relative}
.office-intro{text-align:center;max-width:620px;margin:8px auto 31px}.office-graphic{display:inline-grid;place-items:center;border-radius:15px;background:#dfedff;color:#076eec;width:54px;height:54px;margin-bottom:13px}.office-graphic .ui-icon{width:31px;height:31px}
.office-intro h1{font-size:clamp(1.6rem,4.2vw,2.05rem);color:#0870dd;margin:0 0 13px}
.office-intro p{max-width:580px;color:#77869a;font-size:1.05rem;line-height:1.65;margin:0 auto 22px}
.office-underline{display:block;width:83px;height:4px;border-radius:10px;background:#076ff1;margin:0 auto}
.office-search{display:flex;align-items:center;gap:12px;background:#fff;box-shadow:var(--shadow);border:1px solid #e0e7f1;border-radius:17px;padding:0 18px;height:58px;max-width:750px;margin:0 auto 29px}
.office-search .ui-icon{color:#687e98;width:21px;height:21px}.office-search input{width:100%;height:100%;border:0;outline:0;color:#233346;font:inherit}
.office-grid{display:grid;grid-template-columns:repeat(2,minmax(0,300px));gap:18px;justify-content:start;max-width:750px;margin:0 auto}
.office-card{min-height:165px;border-radius:15px;background:white;border:1px solid #e0e6ee;box-shadow:0 5px 12px #0f314526;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#1d3040;padding:18px;transition:transform .18s,border .18s}
.office-card:hover{transform:translateY(-2px);border-color:#0874f4}.office-icon{height:65px;width:65px;display:grid;place-items:center;border-radius:50%;background:#dbeeff;color:#076be9}
.office-icon .ui-icon{width:37px;height:37px;stroke-width:2.5}.office-card strong{font-size:1.07rem}.office-card small{font-size:.78rem;color:#657b92}.office-back{margin:35px 0 0}.booking-details{max-width:660px;margin:0 auto}
.booking-details[hidden],.office-select[hidden]{display:none!important}
/* Mobile tuned to reference proportions */
@media(max-width:740px){
 .topbar{height:68px;padding:0 16px}.brand{font-size:1.07rem}.brand img{height:35px;width:35px}.side-nav{top:68px}.backdrop{inset:68px 0 0}
 .page-content{padding:15px 13px 94px}.bottom-nav{height:calc(67px + env(safe-area-inset-bottom))}
 #view-landing{padding:34px 8px 30px;margin:-15px -13px 0;border-radius:0;min-height:calc(100vh - 68px);background-position:center}
 .portal-entry{border-radius:15px;max-width:540px}.entry-head{padding:28px 21px 30px}.entry-head img{width:59px;height:59px;margin-bottom:10px}.entry-head h1{font-size:2rem}.entry-head p{font-size:.96rem}
 .entry-body{padding:24px 19px 25px}.entry-heading h2{font-size:1.45rem}.entry-options{align-items:flex-start}
 .how-works{margin:35px 5px 0;padding:18px}.features-grid{grid-template-columns:1fr}.feature-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 12px}
 .dashboard-hero{padding:27px 18px;border-radius:14px}.dashboard-hero h1{font-size:1.8rem}.dashboard-hero p{font-size:.94rem}.quick-grid{gap:19px 18px;margin:20px 0}.quick-card{min-height:151px;padding:17px 8px 14px}.quick-icon .ui-icon{height:42px;width:42px}.quick-card strong{font-size:.99rem}.quick-card>span.quick-sub{font-size:.69rem}
 .panel{padding:17px 16px}.panel-head h2{font-size:1.2rem}.office-select{padding:6px 5px 25px;min-height:75vh}.office-intro h1{font-size:1.6rem}.office-intro p{font-size:.97rem}
 .office-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.office-card{min-height:160px;padding:14px 8px}.office-card strong{font-size:.93rem}
 .calendar-cell{min-height:47px}.calendar-top{gap:8px}.calendar-top strong{font-size:1rem}
}
@media(max-width:390px){.entry-head h1{font-size:1.8rem}.entry-head p{font-size:.89rem}.quick-card>span.quick-sub{display:none}.quick-card{min-height:137px}.office-grid{grid-template-columns:1fr}.office-card{max-width:300px}}

/* ===== GabaySpace V0.3 refinement — student & staff design system ===== */
:root {--blue:#1267e7;--deep:#173c8c;--paper:#f3f6fb;--ink:#162b45;--muted:#677b94;--border:#e4ebf4;--shadow:0 9px 28px rgba(25,54,90,.067)}
body{background:linear-gradient(180deg,#f4f7fc,#f8fafd 480px);letter-spacing:-.005em}
button, input, select{font-family:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #80b7ff;outline-offset:2px}
.view .eyebrow{letter-spacing:.11em}
.brand{flex-wrap:wrap;column-gap:11px;row-gap:0;align-content:center;max-width:250px}
.brand img{grid-row:span 2;flex-shrink:0;height:39px;width:39px}
.brand-subtitle{width:calc(100% - 50px);font-size:.52rem;font-weight:800;letter-spacing:.135em;color:#d6eaff;line-height:1;position:relative;margin-left:51px;margin-top:-12px;white-space:nowrap}
.topbar{background:linear-gradient(112deg,#173b85 0%,#1169d5 75%,#2185f5 110%);border-bottom:1px solid #ffffff1d}
.top-security{font-size:.65rem;letter-spacing:.11em;color:#ecf5ff;font-weight:750;background:#ffffff18;border:1px solid #ffffff28;padding:7px 12px;border-radius:100px;display:flex;align-items:center;gap:7px;white-space:nowrap}
.top-security-mark,.staff-ribbon-dot{height:8px;width:8px;display:inline-block;background:#72e2c5;border-radius:50%;box-shadow:0 0 0 4px #70e3c41e;flex-shrink:0}
.side-nav{background:#fbfcff;padding-top:29px}.side-item{font-size:.9rem;padding:13px;border-radius:13px}.side-item.active{background:#eaf2ff;color:#075acd;box-shadow:inset 3px 0 #1374ed}.side-item span{color:#0872e6}
.page-content{width:min(1250px,100%);padding-top:31px}
.panel,.quick-card,.stat-card,.auth-card{border:1px solid #e4eaf2;box-shadow:var(--shadow)}
.panel{border-radius:22px}.panel-head{margin-bottom:15px;gap:12px}.panel-head h2{font-size:1.12rem;font-weight:760;color:#1a354f;letter-spacing:-.02em}.panel-icon{font-size:1.3rem;color:#1975e5;background:#ecf5ff;border-radius:10px;padding:4px 11px}
.btn{border-radius:12px}.btn-primary{background:linear-gradient(100deg,#0862d5,#1478ee);box-shadow:0 6px 13px #0c67d921}
.btn-soft{background:#eff5fd;color:#115bb6}
.status{font-weight:750;letter-spacing:.01em}
/* Welcome */
#view-landing{border:1px solid #dfe9f7;background:radial-gradient(circle at 95% 14%,#ffffff42,transparent 34%),linear-gradient(130deg,#133a8ac9,#176dd5b2),url('campus.svg') center/cover no-repeat;padding:68px 24px 40px;min-height:780px}
.portal-entry{box-shadow:0 25px 62px rgba(4,28,77,.26);border-radius:24px;max-width:660px}
.entry-head{padding:38px 42px 32px;background:radial-gradient(circle at 50% 0%,#7cbdff38,transparent 60%),linear-gradient(123deg,#14377c,#0876db);position:relative}
.entry-head:before,.entry-head:after{content:'';position:absolute;pointer-events:none;border-radius:50%;border:1px solid #ffffff19;width:300px;height:300px;left:-245px;top:-180px}
.entry-head:after{left:auto;right:-180px;top:110px}
.entry-head img{height:67px;width:67px;padding:6px;border:4px solid #ffffff25;box-shadow:0 9px 20px #001e5344}
.entry-head h1{font-size:clamp(2.15rem,5vw,3rem);line-height:1.07;max-width:510px;margin:11px auto 15px}
.entry-head h1 em{font-style:normal;color:#c5f8e9}
.entry-head p{max-width:490px;color:#e4f1ff}
.welcome-benefits{display:flex;flex-wrap:wrap;justify-content:center;gap:13px;margin-top:21px;font-size:.71rem;color:#dfedff;font-weight:700}
.welcome-benefits span{border:1px solid #ffffff30;background:#ffffff14;border-radius:50px;padding:7px 11px}
.welcome-benefits b{color:#a2f4d5;margin-right:4px}
.entry-body{padding:32px 40px}.entry-heading h2{font-size:1.38rem}.entry-body .btn{font-weight:770}
.entry-options{margin-top:18px}.how-works{margin-top:40px;box-shadow:0 10px 26px #00174025}.how-top h2{font-size:1.65rem}.feature-card{border-radius:14px!important;padding:21px}
/* Dashboard welcome & metrics */
.dashboard-hero{position:relative;overflow:hidden;min-height:207px;text-align:left;padding:32px 38px;background:radial-gradient(circle at 95% 110%,#dcecff4a,transparent 35%),linear-gradient(115deg,#133a87e8,#0967dae3),url('campus.svg') center 48%/cover no-repeat;border-radius:24px;box-shadow:0 13px 28px #124ba225;color:#fff}
.dashboard-hero:before{content:'';position:absolute;pointer-events:none;right:50px;bottom:-85px;width:250px;height:250px;border:32px solid #ffffff12;border-radius:50%}
.dashboard-hero h1{font-size:clamp(1.9rem,4vw,2.65rem);margin:2px 0 12px}
.dashboard-hero p{margin-top:11px;position:relative;font-size:.98rem;color:#e6f3ff}
.dashboard-hero .date-pill{display:inline-flex;background:#ffffffee;color:#183b67;box-shadow:none;font-size:.8rem;border-radius:9px;font-weight:750;padding:7px 13px}
.hero-signout{position:absolute;top:25px;right:27px;margin:0;background:#ffffff25;border:1px solid #ffffff3d;border-radius:30px;color:white;font-size:.76rem;padding:7px 13px;font-weight:750}
.student-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 26px}
.student-summary-item{background:#fff;border:1px solid #e6ebf3;box-shadow:var(--shadow);border-radius:18px;padding:17px 18px;display:flex;align-items:center;gap:14px;min-width:0}
.student-summary-item>div:last-child{display:flex;flex-direction:column;min-width:0}
.student-summary-item span{font-weight:750;color:#4a6078;font-size:.78rem}
.student-summary-item strong{font-size:1.65rem;line-height:1.2;color:#183353;letter-spacing:-.06em}
.student-summary-item small{font-size:.69rem;color:#8999ad;line-height:1.4}
.summary-glyph{display:grid;place-items:center;width:47px;height:47px;border-radius:14px;font-size:1.4rem;flex-shrink:0;font-weight:800}
.summary-glyph.blue{background:#e7f1ff;color:#1268e3}.summary-glyph.teal{background:#e1f7f1;color:#159c89}.summary-glyph.purple{background:#f0edff;color:#8b66d9}
.section-line{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:5px 1px 13px}.section-line h2{font-size:1.35rem;margin:4px 0 0;color:#19334f}.section-decoration{color:#a0aec0;font-weight:770;font-size:.64rem;letter-spacing:.12em}
.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 24px}
.quick-card{min-height:154px;justify-content:flex-start;align-items:flex-start;text-align:left;position:relative;gap:8px;padding:18px 16px;background:#fff;border:1px solid #e5ebf3;border-radius:19px;overflow:hidden}
.quick-card:before{content:'';height:3px;position:absolute;left:0;right:0;top:0;background:linear-gradient(90deg,#0868e3,#64cde4)}
.quick-icon{background:#e9f3ff;border-radius:13px;height:50px;width:50px;margin:0 0 1px;color:#0a6ee5}.quick-icon .ui-icon{height:28px;width:28px}
.quick-card strong{font-size:.92rem;font-weight:820;text-align:left}.quick-card>span.quick-sub{font-size:.72rem;text-align:left;color:#8190a3}
.quick-card-arrow{position:absolute;right:12px;top:17px;font-size:1rem;color:#8ca1bc}
.dashboard-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:17px;align-items:start}.dashboard-layout>div{display:grid;gap:17px;min-width:0}
.appointment-row{border-radius:14px}.appointment-main p{font-weight:650;color:#244665}
.appointment-row .status{white-space:nowrap}.empty-state{padding:22px 16px;color:#7b8a9e;font-size:.88rem}
.progress-track{display:flex;align-items:center;gap:5px;margin:13px 0 3px}
.progress-stage{flex:1;display:grid;gap:6px;text-align:center;font-size:.63rem;font-weight:750;color:#a0aec0;position:relative}
.progress-stage:before{content:'';width:12px;height:12px;border:3px solid #d6e2f1;background:#fff;border-radius:50%;margin:auto;position:relative;z-index:1}
.progress-stage:after{content:'';height:2px;background:#e3eaf4;position:absolute;top:8px;left:calc(50% + 10px);width:calc(100% - 12px)}
.progress-stage:last-child:after{display:none}.progress-stage.done{color:#1275d0}.progress-stage.done:before{background:#0d78eb;border-color:#c1dfff}
.progress-stage.current{color:#0877db}
.gentle-card{display:flex;gap:14px;border-radius:20px;background:linear-gradient(135deg,#eaf8f5,#f2f8ff);border:1px solid #d9eae8;padding:22px 20px}
.gentle-icon{width:38px;height:38px;flex-shrink:0;background:#d6f4e9;border-radius:11px;color:#189d87;display:grid;place-items:center;font-size:24px}
.gentle-card strong{color:#245d5d;font-size:.9rem}.gentle-card p{color:#61817f;font-size:.78rem;line-height:1.65;margin:6px 0}.gentle-card button{background:none;border:0;color:#077e78;font-size:.75rem;font-weight:800;padding:0;margin-top:6px}
.calendar-cell{min-height:52px}.calendar-top{flex-direction:row}.calendar-top strong{font-weight:790}.calendar-controls button{border-radius:9px!important}
/* Booking, single office: remove redundant search; more useful service card */
.office-select{padding-top:25px}.office-intro{margin-bottom:36px}
.office-grid{grid-template-columns:minmax(0,560px);justify-content:center;max-width:750px}
.office-card{display:grid;grid-template-columns:80px 1fr;grid-template-rows:auto auto auto;justify-items:start;align-items:center;text-align:left;min-height:210px;padding:23px 26px;gap:5px 18px}
.office-icon{grid-column:1;grid-row:1/4;background:#e1efff}.office-card>strong,.office-card>small,.office-description{grid-column:2}.office-card>strong{font-size:1.23rem;color:#164475}.office-card>small{font-size:.8rem}
.office-description{font-size:.76rem;color:#637b96;display:grid;gap:3px}.office-description strong{font-size:.79rem;color:#256885}.office-description p{margin:5px 0;color:#6c8097;font-size:.75rem;line-height:1.45}.office-action{color:#0877ed;font-weight:800;margin-top:5px}
.office-back{margin-left:calc(50% - 280px)}.booking-panel{box-shadow:var(--shadow)}
/* Staff workspace: focus on queues and usable filters */
.staff-head{align-items:center;border-bottom:0;padding-bottom:10px}.staff-head h1{font-size:clamp(1.9rem,4vw,2.45rem)}.staff-head p{color:#738397}
.staff-ribbon{display:flex;align-items:center;gap:13px;background:#ecf7fc;border:1px solid #d9eaf6;border-radius:16px;padding:15px 20px;margin:9px 0 18px}
.staff-ribbon>div{display:flex;flex-direction:column;line-height:1.5}.staff-ribbon strong{font-size:.83rem;color:#28536a}.staff-ribbon>div>span{font-size:.73rem;color:#668493}.ribbon-end{margin-left:auto;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#5f8997}
.staff-columns{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.35fr);gap:18px;align-items:start}.staff-columns>div{display:grid;gap:18px;min-width:0}
.stats-grid{gap:14px;margin-bottom:17px}.stat-card{position:relative;overflow:hidden;border-radius:18px;padding:19px 17px;min-height:115px}.stat-card span:not(.stat-mini-icon){font-size:.75rem;font-weight:800;color:#6e8199}.stat-card strong{font-size:2rem;line-height:1.25;letter-spacing:-.06em;color:#1b4068}
.stat-mini-icon{position:absolute;right:14px;top:12px;height:32px;width:32px;border-radius:10px;background:#eaf3ff;color:#116fe7;display:grid;place-items:center;font-size:1.2rem}
.stats-grid .stat-card:first-child{background:#eef5ff;border-color:#d7e8ff}.stats-grid .stat-card:nth-child(2) .stat-mini-icon{background:#e1f8f2;color:#17a588}.stats-grid .stat-card:nth-child(3) .stat-mini-icon{background:#efedff;color:#8e72dc}
.filter-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(120px,.45fr) minmax(110px,.35fr);gap:9px;align-items:center}
.filter-row input,.filter-row select{min-height:47px;border:1px solid #dce6f2;border-radius:10px;background:#fff;padding:10px 12px;font-size:.83rem;min-width:0;color:#304b66}
.results-heading{display:flex;justify-content:space-between;gap:10px;color:#91a0b2;font-weight:700;font-size:.73rem;padding:4px 0 13px}
.attention-number{height:29px;min-width:29px;padding:0 7px;border-radius:50px;background:#eaf3ff;color:#0c6de3;display:grid;place-items:center;font-size:.76rem;font-weight:850}
.attention-panel{border-top:4px solid #4d9afa}
.mini-appointments{display:grid;gap:10px}.mini-item{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid #e5ebf4;border-radius:13px;min-width:0}
.mini-date{display:grid;place-items:center;width:44px;height:49px;background:#edf5ff;color:#0d63d1;border-radius:10px;flex-shrink:0;font-size:.88rem;font-weight:850}.mini-item>div:last-child{min-width:0}.mini-item strong{display:block;color:#294661;font-size:.81rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-item small{color:#8998aa;font-size:.7rem}.mini-item p{font-size:.7rem;color:#71859a;margin:0}
#adminList .appointment-row,#pendingQueue .appointment-row{border:1px solid #e7edf5;margin-bottom:10px;padding:13px;border-radius:13px;background:#fff}.row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.appointment-main{min-width:0}
#pendingQueue .appointment-row{background:#fafdff}
.appointment-main strong{overflow-wrap:anywhere}
.skip-link{position:fixed;z-index:150;top:-200px;left:15px;padding:10px 15px;background:white;color:#164d9b;border-radius:9px}.skip-link:focus{top:10px}
@media(max-width:1120px){.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-card{min-height:136px}.dashboard-layout{grid-template-columns:1fr 1fr}.staff-columns{grid-template-columns:1fr}.staff-columns>.staff-side{display:grid;grid-template-columns:1fr 1fr}.staff-columns>.staff-main{display:grid;grid-template-columns:1fr}}
@media(max-width:820px){.brand-subtitle{display:none}.staff-columns>.staff-side{grid-template-columns:1fr}.top-security{display:none}.office-back{margin-left:0}}
@media(max-width:740px){
 .page-content{padding-top:18px}.topbar{height:68px}.brand{font-size:1.13rem}.brand img{height:36px;width:36px}
 .dashboard-hero{padding:29px 21px 25px;border-radius:18px;min-height:198px}.dashboard-hero h1{font-size:1.84rem;max-width:82%}.dashboard-hero p{font-size:.86rem;max-width:84%}.hero-signout{top:14px;right:13px;font-size:.66rem;padding:6px 9px}
 .student-summary{gap:9px;margin:12px 0 24px}.student-summary-item{padding:12px 9px;border-radius:13px;gap:7px;align-items:center}.summary-glyph{height:32px;width:32px;font-size:1rem;border-radius:9px}.student-summary-item span{font-size:.59rem}.student-summary-item strong{font-size:1.24rem}.student-summary-item small{font-size:.57rem}
 .section-line{margin-bottom:10px}.section-line h2{font-size:1.18rem}.section-decoration{display:none}
 .quick-grid{gap:11px;margin-bottom:17px}.quick-card{min-height:141px;padding:16px 12px;gap:7px}.quick-icon{width:40px;height:40px;border-radius:10px}.quick-icon .ui-icon{width:25px;height:25px}.quick-card strong{font-size:.84rem;line-height:1.3}.quick-card>span.quick-sub{font-size:.67rem;line-height:1.32}.quick-card-arrow{right:9px;top:14px}
 .dashboard-layout{grid-template-columns:1fr;gap:14px}.dashboard-layout>div{gap:14px}.panel{padding:19px 16px}.calendar-cell{min-height:47px}
 .staff-head{display:flex;align-items:start;gap:10px;flex-wrap:wrap}.staff-head h1{font-size:1.82rem}.staff-head p{font-size:.87rem}.staff-head .btn{font-size:.75rem;min-height:36px;padding:8px 12px}
 .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{min-height:100px;padding:15px}.stat-card strong{font-size:1.75rem}
 .staff-ribbon{padding:12px}.ribbon-end{display:none}.staff-columns{grid-template-columns:1fr;gap:15px}
 .filter-row{grid-template-columns:1fr 1fr}.filter-row input{grid-column:1/-1}
 #view-landing{padding-top:37px}.entry-head{padding:32px 19px 29px}.entry-head h1{font-size:2.15rem}.entry-body{padding:25px 19px}.welcome-benefits{gap:7px}.welcome-benefits span{font-size:.62rem;padding:5px 9px}
 .office-card{grid-template-columns:61px 1fr;padding:20px 14px;gap:6px 13px;min-height:210px}.office-icon{height:54px;width:54px}.office-icon .ui-icon{width:28px;height:28px}.office-card>strong{font-size:1.04rem}
 .how-works{margin-top:26px}
}
@media(max-width:380px){.summary-glyph{display:none}.student-summary-item{padding:12px 8px}.quick-card>span.quick-sub{display:block;font-size:.63rem}.entry-head h1{font-size:1.94rem}.entry-head p{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* GabaySpace v0.4: refined mobile-friendly scheduling workspace */
.nav-svg{height:22px;width:22px;vertical-align:middle;flex-shrink:0}
.side-item .nav-svg{height:19px;width:19px;color:inherit;margin-right:10px}
.bottom-nav .nav-svg{height:24px;width:24px;margin:0 auto 3px;display:block}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #62bbff;outline-offset:3px}
.hero-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:22px;position:relative}
.hero-shield{display:inline-flex;align-items:center;gap:7px;color:#d6ecff;font-size:.76rem;font-weight:650}
.hero-shield span{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#ffffff30;color:#c4ffe1}
.hero-request{border:1px solid #fff;background:#fff;color:#1155b2;border-radius:10px;padding:10px 15px;font-weight:800;font-size:.81rem;white-space:nowrap;box-shadow:0 8px 22px #00387233}
.journey-panel{display:flex;justify-content:space-between;gap:22px;align-items:center;padding:22px 26px;background:linear-gradient(117deg,#ffffff,#eaf4ff);border:1px solid #dceaf9;border-radius:19px;margin:-5px 0 25px;box-shadow:0 6px 24px #0f3c7510}
.journey-copy{max-width:530px}.mini-overline{font-size:.64rem;color:#126cdd;letter-spacing:.15em;font-weight:850}
.journey-copy h2{margin:4px 0 6px;font-size:1.17rem;color:#173b65}
.journey-copy p{margin:0;font-size:.8rem;color:#70869d;line-height:1.55}
.journey-steps{display:flex;align-items:center;gap:11px;flex-shrink:0}
.journey-steps>span{display:flex;align-items:center;gap:7px;color:#47607c;font-size:.74rem;font-weight:770;white-space:nowrap}
.journey-steps b{font-size:.7rem;color:#0864da;background:#e0f0ff;border-radius:10px;padding:9px}
.journey-steps i{color:#a2b8d1;font-style:normal}
.calendar-cell{font:inherit;background:transparent;border:1px solid transparent;color:inherit;cursor:pointer;transition:background .15s,border-color .15s}
.calendar-cell:hover,.calendar-cell:focus-visible{background:#e9f5ff;border-color:#9bc9fa}
.calendar-cell.chosen{background:#0b6fe8!important;color:#fff!important;font-weight:850;border-radius:8px}
.calendar-cell.chosen:after{background:#fff!important}
.calendar-cell.dim{pointer-events:none;background:#f8fafc;border:0}
.calendar-detail{margin-top:14px;padding:13px 15px;border-radius:13px;border:1px solid #e5ebf5;background:#f8fbff;color:#6c8199;font-size:.76rem;line-height:1.55}
.detail-heading,.detail-line{display:flex;justify-content:space-between;align-items:center;gap:12px}
.detail-heading strong{color:#254667}.detail-heading span{color:#7c91a7}.detail-line{padding:11px 0;border-top:1px solid #e5edf5;margin-top:7px}.detail-line>span:first-child{color:#415c76}.calendar-detail p{margin:9px 0 0}
.visit-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin:17px 0 18px}
.visit-tabs{display:flex;gap:5px;background:#eaf0f8;border-radius:12px;padding:5px;max-width:100%;overflow-x:auto}
.visit-tabs button{white-space:nowrap;background:transparent;color:#58718d;border:0;border-radius:9px;padding:10px 14px;font-size:.77rem;font-weight:750}
.visit-tabs button.selected{background:#fff;color:#0968de;box-shadow:0 2px 7px #072d5320}
.visit-count{color:#71849b;font-size:.77rem;font-weight:750}
.request-review{display:flex;gap:13px;align-items:center;padding:15px;border-radius:14px;border:1px solid #cce9e5;background:#f1fbf9;margin:4px 0 9px}
.request-review-icon{background:#d7f4e9;color:#0b9279;border-radius:11px;height:39px;width:39px;display:grid;place-items:center;flex-shrink:0;font-size:1.25rem}
.request-review strong{display:block;margin:5px 0;font-size:.88rem;color:#1f5866;line-height:1.4}
.request-review small{color:#587c84;font-size:.72rem}
.staff-status-line{display:grid;grid-template-columns:minmax(135px,.66fr) minmax(135px,.66fr) minmax(220px,1.5fr);gap:0;border:1px solid #dfeafb;border-radius:17px;background:#fff;box-shadow:0 6px 23px #0c437a10;overflow:hidden;margin:0 0 18px}
.staff-status-line>div{display:flex;flex-direction:column;gap:3px;padding:18px 21px;justify-content:center;border-right:1px solid #e6eef8}
.staff-status-line>div:last-child{border:0}
.staff-status-line>div strong{font-size:1.8rem;color:#173c6a;letter-spacing:-.04em;line-height:1.25}
.staff-status-line>div>span:last-child{font-size:.73rem;color:#8494a7}
.staff-status-line .staff-status-copy{background:linear-gradient(110deg,#e8f2ff,#edfafa)}
.staff-status-line .staff-status-copy strong{font-size:.92rem;letter-spacing:0}
.staff-status-line .staff-status-copy span{line-height:1.5;max-width:390px}
.staff-online{display:inline-flex;align-items:center;gap:8px;font-size:.68rem;color:#5884b0;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.staff-online-dot{display:inline-block;background:#19b995;width:7px;height:7px;border-radius:50%}
.week-panel{margin:0 0 18px;padding:22px 24px}
.week-panel .panel-head{align-items:flex-start;margin-bottom:16px}
.week-panel .panel-head h2{margin:4px 0 0;font-size:1.23rem}
.week-meta{color:#8da0b8;font-weight:650;font-size:.73rem}
.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
.week-day{display:flex;flex-direction:column;align-items:center;gap:8px;padding:15px 5px 13px;border-radius:13px;border:1px solid #e6edf7;background:#f8fbff;color:#466480;min-width:0;transition:background .15s,transform .15s}
.week-day>span{font-size:.72rem;font-weight:780}
.week-day strong{font-size:1.45rem;color:#254e7d}
.week-day em{font-style:normal;font-size:.67rem;color:#7f91a6}
.week-day.active{color:#fff;background:linear-gradient(150deg,#0d56ba,#1586ed);border-color:#0c66dd;box-shadow:0 5px 14px #1872d82e}
.week-day.active strong,.week-day.active em{color:#fff}
.week-day:hover:not(.active){background:#eaf4ff;transform:translateY(-2px)}
.week-selected{margin-top:17px;border-top:1px solid #e9eef6;padding-top:15px}
.week-heading{display:flex;justify-content:space-between;gap:10px;font-size:.78rem;color:#294765}
.week-heading>span{color:#778eaa}
.week-visit{display:flex;align-items:center;gap:12px;margin-top:9px;border-radius:11px;background:#f6f9fe;padding:10px 12px;font-size:.75rem;color:#768aa1}
.week-visit strong{color:#284868;flex:1;min-width:0;overflow-wrap:anywhere}
.time-chip{background:#dcefff;padding:5px 8px;border-radius:7px;color:#115ac1;font-size:.72rem;min-width:82px;text-align:center;font-weight:760}
.week-empty{font-size:.8rem;color:#8194a9;margin:10px 0 0}
.filter-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:13px 0 5px}
.filter-actions>span{font-size:.73rem;color:#8a9aab}
.filter-clear{color:#0968d3;background:#eff6ff;border:1px solid #d6e7fa;padding:8px 12px;border-radius:8px;font-size:.74rem;font-weight:750}
.staff-table-note{font-size:.72rem;color:#8193a7;margin:10px 0 14px;line-height:1.5}
@media(max-width:1120px){.journey-panel{align-items:flex-start;flex-direction:column}.journey-steps{flex-wrap:wrap}}
@media(max-width:740px){
 .dashboard-hero h1{max-width:100%}.hero-bottom{margin-top:20px;gap:7px}.hero-shield{font-size:.64rem}.hero-request{padding:9px 12px;font-size:.7rem}
 .journey-panel{padding:17px;margin:0 0 20px;gap:13px}.journey-copy h2{font-size:1.04rem}.journey-steps{gap:6px;width:100%;justify-content:space-between}.journey-steps>span{font-size:.64rem;gap:5px}.journey-steps b{padding:6px;font-size:.63rem}
 .staff-status-line{grid-template-columns:1fr 1fr}.staff-status-line>div{padding:15px 12px}.staff-status-line>.staff-status-copy{grid-column:1/-1;border-top:1px solid #e1ebf7}.staff-status-line>div:nth-child(2){border-right:0}
 .staff-status-line>div strong{font-size:1.55rem}.staff-status-line .staff-status-copy strong{font-size:.84rem}
 .week-panel{padding:19px 13px}.week-panel .panel-head{flex-wrap:wrap}.week-strip{gap:4px}.week-day{border-radius:10px;padding:11px 2px}.week-day strong{font-size:1.12rem}.week-day>span{font-size:.61rem}.week-day em{font-size:.53rem}
 .week-visit{flex-wrap:wrap;gap:7px}.week-visit strong{flex:1;min-width:110px}.week-visit>span:last-child{margin-left:auto}
 .visit-toolbar{gap:10px}.visit-tabs button{padding:9px 10px;font-size:.72rem}
}
@media(max-width:375px){.hero-shield{font-size:.57rem}.hero-request{font-size:.66rem;padding:8px}.journey-steps{gap:3px}.journey-steps>span{font-size:.59rem}.week-day em{font-size:.48rem}}

/* ===== V0.5 — Guidance workspace editorial finish ===== */
:root{--paper:#f6f8fc;--ink:#172e48;--blue:#1469d4;--deep:#133f90;--border:#e6eaf2;--shadow:0 8px 25px #1b42720d}
body{background:linear-gradient(180deg,#f8faff 0,#f4f7fc 360px,#f9fbff 100%);color:#203650}
.topbar{background:linear-gradient(108deg,#113c86,#1768cf 86%);box-shadow:0 3px 14px #123b7814}
.brand img{background:transparent!important;box-shadow:0 0 0 1px #ffffff4a;border-radius:14px;padding:0!important}
.brand{font-weight:800;letter-spacing:-.035em}.brand-subtitle{color:#d4e5fe}
.side-nav{background:#fff}.side-label{color:#93a5bb}
.side-item.active{background:#eaf3ff;color:#0e60ca}
.panel,.quick-card,.stat-card,.auth-card{box-shadow:0 7px 23px #103e710a;border-color:#e5eaf3}
.panel{border-radius:18px}.panel-head h2{letter-spacing:-.028em}
#view-landing{background:linear-gradient(125deg,#0d3268db,#0c65cabe),url('campus.svg') center/cover no-repeat}
.entry-head{background:radial-gradient(circle at 83% 5%,#93c1ff35,transparent 43%),linear-gradient(122deg,#12386f,#1566ca)}
.entry-head h1 em{color:#b3f7e2}.entry-head img{border:0;padding:0}
.entry-body{background:#fff}.how-works{box-shadow:0 13px 30px #00194713}
.dashboard-hero{background:radial-gradient(circle at 92% 15%,#69b3ff47,transparent 39%),linear-gradient(118deg,#163c80 0%,#1767c6 82%);border-radius:19px;min-height:205px;box-shadow:0 14px 30px #1743821c}
.dashboard-hero h1{font-weight:780}.hero-signout{background:#ffffff25;border:1px solid #ffffff40;border-radius:40px;padding:5px 11px}
.hero-shield{color:#e1f4ff}.hero-request{background:#fff;color:#105bb9;border-radius:11px}
.student-summary{gap:13px}.student-summary-item{border:1px solid #e5eaf3;border-radius:14px;box-shadow:0 6px 15px #0d3d7b0a;min-height:112px}
.student-guidance-strip{display:flex;align-items:flex-start;gap:10px;padding:13px 17px;margin:16px 0 24px;border:1px solid #ccebe4;border-radius:13px;background:#f1fcf9;color:#2d6271;font-size:.79rem;line-height:1.6}
.student-guidance-strip strong{color:#215664}.student-guidance-icon{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;border-radius:9px;background:#d6f7ec;color:#09857b}
.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.quick-card{border:1px solid #e5eaf4;border-radius:16px;min-height:126px;display:flex;align-items:flex-start;text-align:left;gap:8px;padding:17px;position:relative;transition:transform .18s,box-shadow .18s}
.quick-card:hover{box-shadow:0 11px 22px #134b8117;transform:translateY(-2px)}
.quick-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#eaf3ff;display:grid;place-items:center;color:#136ada}
.quick-icon .ui-icon{height:23px;width:23px;stroke-width:2}
.quick-card strong{font-size:.93rem;color:#1d3551}.quick-card>span.quick-sub{font-size:.72rem;color:#7b8fa9;display:block}
.quick-card .quick-card-arrow{position:absolute;top:17px;right:14px;color:#a2b2c5}
.journey-panel{background:#edf5ff;border-color:#dceafa;border-radius:16px;box-shadow:none}
.gentle-card{background:#f0f9f8;border-color:#dceeea}
.next-visit{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 17px;border-radius:15px;border:1px solid #d6e6ff;background:#f3f8ff}
.next-visit.visit-confirmed{background:#f0fbf5;border-color:#d6ecde}
.next-visit-main{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.next-visit-main strong{font-size:1.1rem;font-weight:780;line-height:1.32;color:#214360}
.next-visit-main p{font-size:.9rem;font-weight:650;line-height:1.4;color:#285b9a;margin:0}
.next-visit-main small{font-size:.76rem;color:#687f98;line-height:1.6}
.next-visit-seal{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:15px;background:#dceaff;color:#1369ce;font-size:1.45rem}
.visit-confirmed .next-visit-seal{background:#dcf7e8;color:#0c9060}
.next-visit-empty{text-align:center;padding:24px 15px 16px;display:flex;align-items:center;flex-direction:column;gap:6px}
.next-visit-empty-icon{height:49px;width:49px;display:grid;place-items:center;border-radius:17px;background:#e8f2ff;color:#1573de;font-size:1.45rem;margin-bottom:5px}
.next-visit-empty strong{font-size:.96rem;color:#244362}.next-visit-empty p{font-size:.78rem;color:#7c8fa6;max-width:250px;line-height:1.65;margin:0 0 9px}
.ref-label{font-size:.7rem;font-weight:740;color:#7c92a9;letter-spacing:.065em;line-height:1.25}
#view-appointments .appointment-main strong{display:block;font-size:.96rem;margin:5px 0;color:#1f3b54}
#view-appointments .appointment-main small{line-height:1.6}
/* Booking is intentionally one step; no fake office directory. */
#view-book .booking-details{max-width:700px}
#view-book .booking-panel{padding:26px 29px;border-radius:21px}
#view-book .page-heading{padding:5px 0 15px}
#view-book .booking-panel .step-bubble{background:#e9f3ff;color:#1366c9;border-radius:11px}
#view-book .request-review{background:#f1f7ff;border-color:#d8e8fc}
#view-book .notice-soft{border-left:3px solid #5cbab3}
/* Staff mission panel */
.staff-head{margin-bottom:18px}.staff-head h1{font-size:clamp(1.85rem,4vw,2.4rem);letter-spacing:-.045em}
.staff-feature{display:flex;align-items:center;gap:17px;padding:19px 22px;margin:0 0 20px;border-radius:18px;background:radial-gradient(circle at 100% 0,#328fef66,transparent 44%),linear-gradient(120deg,#153875,#1662c7);color:white;box-shadow:0 12px 29px #0e468126}
.feature-symbol{height:52px;width:52px;flex:0 0 52px;display:grid;place-items:center;border:1px solid #ffffff42;background:#ffffff19;border-radius:16px}
.feature-symbol svg{width:27px;height:27px}.staff-feature-copy{flex:1;min-width:0}
.staff-feature .micro-label{font-size:.64rem;font-weight:850;letter-spacing:.13em;color:#c9e2ff;margin-bottom:4px}
.staff-feature h2{color:#fff;font-size:1.16rem;font-weight:800;letter-spacing:-.035em;margin:0 0 5px}
.staff-feature p{font-size:.77rem;line-height:1.58;margin:0;color:#d8ebff;max-width:580px}
.staff-feature-btn{flex-shrink:0;white-space:nowrap;background:#fff!important;color:#1559b1!important;box-shadow:0 5px 14px #0b2f641f!important}
.staff-ribbon{margin-bottom:18px}.staff-ribbon .ribbon-end{white-space:nowrap}
.staff-status-line{border:1px solid #e0e9f5;box-shadow:0 8px 22px #17427a0c;border-radius:16px}
.stat-card{background:#fff;border-radius:15px}.stat-card strong{letter-spacing:-.06em}
.week-panel .panel-head h2{font-size:1.13rem}.week-panel{border-radius:18px}
.attention-panel{scroll-margin-top:105px;transition:box-shadow .3s,border-color .3s}
.attention-panel.emphasize{box-shadow:0 0 0 5px #2375dc29;border-color:#2479d9}
#view-admin .appointment-row{border-radius:13px;border:1px solid #e6ecf5;background:#fff}
#view-admin .appointment-row .appointment-main{min-width:0}
#view-admin .appointment-row .appointment-main strong{color:#203a54}
#view-admin .appointment-row .appointment-main p{color:#326ea5}
#view-admin .row-actions .btn{white-space:nowrap}
/* Dedicated scheduler */
#editDialog .modal-body{width:min(510px,90vw);padding:23px 24px 26px}
#editDialog .modal-body h2{font-size:1.45rem;color:#173f70}
#editDialog .modal-top{margin-bottom:6px}
#editPerson{font-size:.8rem;line-height:1.65;overflow-wrap:anywhere}
.requested-slot{border:1px solid #dfeaf7;background:#f6f9ff;border-radius:13px;padding:14px 16px;display:flex;flex-direction:column;gap:4px;margin:15px 0 20px}
.requested-slot-title{font-size:.66rem;color:#6a839f;font-weight:820;letter-spacing:.08em}
.requested-slot strong{font-size:1.02rem;color:#244665;line-height:1.4}
.requested-slot span{font-size:.74rem;color:#7d8fa5}
.staff-schedule-label{border-top:1px solid #e9eef6;padding:15px 0 5px}
.staff-schedule-label span{display:block;font-size:.68rem;font-weight:850;color:#126ac8;letter-spacing:.13em}
.staff-schedule-label p{margin:5px 0 0;color:#8192a7;font-size:.73rem;line-height:1.55}
#editForm label{font-weight:760;color:#36516d}
#editForm input,#editForm select{background:#fff}
.slot-feedback{padding:12px 14px;border:1px solid #dce6f4;background:#f4f7fc;border-radius:11px;font-size:.76rem;line-height:1.6;color:#4c6782}
.slot-feedback.available{background:#f1fcf7;border-color:#bee8d6;color:#12704d}
.slot-feedback.warn{background:#fff5f0;border-color:#f2d2c3;color:#a04d25}
.slot-feedback.neutral{background:#f5f7fa;color:#5c6f88}
#editForm .notice-soft{font-size:.73rem;line-height:1.65}
@media(min-width:800px){#view-dashboard .student-summary-item{min-height:112px}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.quick-card{min-height:129px}}
@media(max-width:860px){.staff-feature{align-items:flex-start;flex-wrap:wrap}.staff-feature-btn{margin-left:auto}}
@media(max-width:740px){
 .brand{font-size:1rem}.brand-subtitle{font-size:.46rem;letter-spacing:.11em}
 .topbar{box-shadow:none}.page-content{padding-top:16px}
 .dashboard-hero{padding:24px 19px 23px;border-radius:17px;min-height:215px}.dashboard-hero h1{font-size:1.73rem}
 .student-summary{gap:8px}.student-summary-item{border-radius:12px;min-height:100px;padding:12px 7px}.student-summary-item strong{font-size:1.25rem}
 .student-guidance-strip{margin:13px 0 20px;padding:11px 12px;font-size:.72rem}
 .quick-grid{gap:11px;margin:17px 0}.quick-card{min-height:126px;padding:13px 12px;gap:6px}.quick-icon{height:37px;width:37px;flex-basis:37px;border-radius:11px}.quick-icon .ui-icon{width:20px;height:20px}
 .quick-card strong{font-size:.86rem}.quick-card>span.quick-sub{display:block;font-size:.68rem}.quick-card .quick-card-arrow{top:14px;right:10px}
 .staff-feature{padding:17px 16px;gap:12px;border-radius:15px}.feature-symbol{height:43px;width:43px;flex-basis:43px;border-radius:12px}
 .feature-symbol svg{width:24px;height:24px}.staff-feature h2{font-size:1rem}.staff-feature p{font-size:.72rem}
 .staff-feature-btn{margin:5px 0 0 auto;width:100%;justify-content:center}.staff-ribbon{padding:12px 13px}.ribbon-end{display:none}
 #view-book .booking-panel{padding:20px 17px}
 #editDialog .modal-body{padding:19px 17px 23px;width:min(100%,500px)}
}
@media(max-width:370px){.quick-card strong{font-size:.78rem}.student-summary-item{padding:9px 5px}.staff-feature .feature-symbol{display:none}}

/* Prioritize requests; avoid duplicate motivational banners. */
#view-dashboard>#nextAppointment{margin:10px 0 24px}
#view-dashboard .student-guidance-strip{margin:12px 0 10px}
#view-admin>#pendingSection{margin:8px 0 22px}
#view-admin>#pendingSection .appointment-stack{display:grid;gap:10px}
#view-admin>#pendingSection .appointment-row{margin:0}
#view-admin .staff-status-line{margin-bottom:18px}
.slot-suggestions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:11px 0 8px}
.slot-suggestions>span{flex:0 0 100%;font-size:.72rem;color:#758da5}
.slot-suggestions button{padding:6px 9px;border-radius:9px;border:1px solid #d5e4f4;background:#f5f9ff;color:#2e629c;font-size:.68rem;font-weight:730}
.slot-suggestions button.selected{border-color:#2482eb;background:#eaf4ff;color:#0d60c1}
.slot-suggestions button:hover{border-color:#2580e7}
@media(min-width:900px){#view-admin>#pendingSection .appointment-stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){#view-dashboard>#nextAppointment{margin:10px 0 22px}#view-admin>#pendingSection{margin:8px 0 20px}#editDialog{max-height:82dvh;overflow-y:auto}}

/* GabaySpace 0.6 · calm, high-contrast, touch-friendly professional visual layer */
:root{--navy:#14345B;--blue:#1466D7;--deep:#173C83;--sky:#EDF5FF;--paper:#F5F7FC;--ink:#1B3251;--muted:#667B96;--border:#E1E9F3;--shadow:0 12px 34px rgba(24,61,114,.065);--radius:20px}
body{background:radial-gradient(900px 460px at 94% 3%,#E9F1FF 0%,transparent 72%),#F5F7FC;color:#1B3251;letter-spacing:-.005em}
h1,h2,h3{letter-spacing:-.045em}h1{font-weight:820}h2{font-weight:790}
.topbar{background:linear-gradient(110deg,#163974,#1555B2 49%,#197ADD 130%);height:76px;box-shadow:0 3px 20px rgba(18,61,120,.13);border-bottom:1px solid #FFF2}
.brand{font-size:1.35rem;gap:12px;letter-spacing:-.05em}.brand img{background:transparent;padding:0;width:42px;height:42px;box-shadow:0 4px 14px #08235B2E}.brand-subtitle{letter-spacing:.135em;font-weight:730;color:#BFDDFB}
.header-separator{height:30px;width:1px;background:#FFFFFF28;margin-left:6px}.top-security{letter-spacing:.11em;font-size:.62rem;background:#FFFFFF14;border:1px solid #FFFFFF18;border-radius:20px;padding:7px 12px}
.side-nav{top:76px;height:calc(100vh - 76px);padding-top:27px;background:#FCFDFF}.side-item{border-radius:13px;min-height:47px;transition:background .18s,color .18s}.side-item.active{background:linear-gradient(90deg,#E7F1FF,#F2F8FF);box-shadow:inset 3px 0 #1976E9;color:#165FC4}
.side-label{color:#8293A9}.page-content{width:min(1160px,100%);padding-top:28px}.page-content>.view{max-width:100%}
.panel,.stat-card,.feature-card,.auth-card,.quick-card{border:1px solid #E1EAF4;background:#FFF;box-shadow:0 10px 30px #163B7210;border-radius:19px}
.panel{padding:25px 25px 24px}.panel-head h2{font-size:1.17rem;letter-spacing:-.038em}.panel-icon{border-radius:11px;background:#E9F3FF;color:#1769C8;padding:6px 9px;font-size:1.1rem}
.btn,.hero-request{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.btn-primary{background:linear-gradient(125deg,#1266D9,#197CF2);box-shadow:0 7px 16px #1664D52B}.btn-primary:hover{box-shadow:0 11px 22px #1664D542}
/* Landing: textured, illustrated in pure CSS so it works offline */
#view-landing{padding:32px 24px 44px;background:linear-gradient(135deg,#EFF5FF,#F7F9FD);border:1px solid #E5EBF4;border-radius:24px;min-height:0}.portal-entry{box-shadow:0 24px 60px #214A8720;border:1px solid #D4E3F6;overflow:hidden;border-radius:26px}
.entry-head{position:relative;isolation:isolate;background:linear-gradient(137deg,#123776,#1A5BB7 63%,#2485D9);overflow:hidden}
.entry-head:before{content:"";position:absolute;z-index:-1;width:360px;height:360px;border-radius:50%;border:54px solid #FFFFFF12;right:-160px;top:-160px}
.entry-head:after{content:"";position:absolute;z-index:-1;right:4%;bottom:-90px;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle at 35% 33%,#88D9E665,#93F3C400 75%)}
.entry-head h1{max-width:690px;line-height:1.11;font-weight:830;letter-spacing:-.057em}.entry-head h1 em{font-style:normal;color:#B9F8E2}
.entry-head p{max-width:590px;color:#E6F1FF;font-size:1.01rem;line-height:1.75}
.entry-identity{letter-spacing:.16em}.entry-head>img{background:#FFFFFF12;border:1px solid #FFFFFF25;border-radius:23px;padding:8px;box-shadow:0 8px 24px #08295D1F}
.welcome-benefits span{background:#FFFFFF14;border:1px solid #FFFFFF24;color:#F5FBFF;backdrop-filter:blur(6px)}.entry-body{background:#FFF}.entry-heading h2{letter-spacing:-.035em}
.input-icon-wrap input{background:#F9FBFF}.entry-options button{font-weight:800}
.how-works .how-top h2{letter-spacing:-.04em}.feature-card{border-top:1px solid #E1EAF4;position:relative;min-height:175px}.feature-card:after{content:"";position:absolute;top:0;left:22px;width:45px;height:3px;background:#2C81E9;border-radius:0 0 6px 6px}
.feature-icon{background:#E9F2FF;border-radius:12px}.feature-card:nth-child(2) .feature-icon{background:#E4F8F2;color:#12886E}.feature-card:nth-child(3) .feature-icon{background:#F0EDFF;color:#7161C7}
/* Student hero + appointment clarity */
.dashboard-hero{background:radial-gradient(circle at 91% 12%,#85DCF633,transparent 31%),linear-gradient(120deg,#163B80,#1764C4 72%,#2489D6);border:1px solid #286CC0;border-radius:23px;padding:29px 32px 25px;box-shadow:0 17px 33px #184E9F2C}
.dashboard-hero:after{content:'✦';font-size:150px;bottom:-42px;right:35px;color:#FFFFFF15;transform:rotate(-18deg)}
.dashboard-hero h1{font-size:clamp(1.75rem,4vw,2.35rem);margin:8px 0 10px}.hero-topline{color:#B8DAFF!important;font-size:.68rem!important;letter-spacing:.17em!important}
.hero-accent-dot{position:absolute;top:38px;right:38px;width:10px;height:10px;border-radius:50%;background:#8DF0CC;box-shadow:0 0 0 5px #8DF0CC27}
.date-pill{background:#FFFFFF20!important;color:#FFF!important;border:1px solid #FFFFFF26!important;border-radius:11px!important;font-weight:670!important;padding:7px 10px!important;font-size:.79rem!important}
.dashboard-hero p{font-size:.88rem;max-width:570px}.hero-request{font-size:.82rem;border-radius:12px;padding:11px 16px;color:#1456AC}.hero-signout{border:1px solid #FFFFFF3A}
.student-summary{margin-bottom:13px}.student-summary-item{min-height:116px;border-radius:16px!important;padding:17px!important;border:1px solid #E4EAF4;box-shadow:0 8px 17px #1B447112!important}.student-summary-item strong{font-size:1.85rem;color:#183D73!important;line-height:1.1}
.student-guidance-strip{margin:11px 0 13px!important;background:#F1FAF7;color:#2E6258;border:1px solid #DAEEE7;border-radius:13px}
#view-dashboard>#nextAppointment{margin-top:13px!important;margin-bottom:12px!important}.next-visit{border-radius:16px}.progress-track{margin-top:19px!important}
.subtle-action{margin-left:auto;border:1px solid #DDE9F8;background:#F2F7FF;color:#245BA4;border-radius:10px;font-size:.74rem;font-weight:740;padding:8px 11px;white-space:nowrap}.subtle-action:hover{background:#E6F0FF}
.journey-live{padding:16px 20px 15px;border:1px solid #DFEAF5;background:#FFF;border-radius:16px;margin:12px 0 26px;box-shadow:0 6px 18px #1538680B}
.journey-live-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.journey-live-top strong{display:block;font-size:.96rem;margin-top:5px;color:#23446B;letter-spacing:-.03em}.journey-count{background:#EAF4FF;color:#1962C5;padding:6px 9px;border-radius:20px;font-size:.65rem;font-weight:830;white-space:nowrap}
.journey-live-steps{display:flex;gap:7px;margin:15px 0 10px}.journey-segment{flex:1;background:#E6EDF6;height:6px;border-radius:7px;transition:background .2s}.journey-segment.done{background:linear-gradient(90deg,#1D72E7,#41B6B4)}
.journey-live p{margin:0;font-size:.76rem;color:#7285A0;line-height:1.55}.journey-live #studentRefresh{margin-top:12px}
.quick-grid{gap:13px}.quick-card{border-top:1px solid #E3EAF4!important;min-height:134px;border-radius:17px;padding:19px}.quick-card:hover{border-color:#BBD6F7!important;background:#FBFDFF;box-shadow:0 13px 22px #18427D15}.quick-card strong{font-size:.96rem}.quick-card-arrow{color:#2E7BDD!important}
.gentle-card{background:#F0F8FF;border:1px solid #DDEBFA}
/* Request form */
.booking-flow-steps{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:22px;font-size:.72rem;font-weight:730;color:#8492A7}
.booking-flow-steps span:not(.flow-arrow){display:inline-flex;align-items:center;gap:7px}.booking-flow-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#EEF2F8;color:#6C829B;font-size:.64rem}
.booking-flow-steps .flow-active{color:#176BD5}.booking-flow-steps .flow-active b{background:#1D73E1;color:#FFF}.flow-arrow{font-weight:900;color:#B6C6D9}
#view-book .booking-panel{box-shadow:0 15px 35px #214B8314}
.preferred-days{margin-top:-12px}.preferred-days-head{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:10px}.preferred-days-head>span{font-weight:860;font-size:.67rem;color:#4271A5;letter-spacing:.12em}.preferred-days-head small{font-size:.69rem;color:#8395AA}
.preferred-days-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.preferred-days-buttons button{font-size:.73rem;font-weight:720;color:#346292;background:#F4F8FE;border:1px solid #DCE8F6;border-radius:11px;padding:12px 5px;min-width:0;transition:all .15s}
.preferred-days-buttons button:hover{background:#E8F3FF}.preferred-days-buttons button.active{background:#1468D5;color:#FFF;border-color:#1468D5;box-shadow:0 5px 13px #1468D52D}
.request-review{background:#EFF7FF!important;border-color:#D4E5F8!important}.request-review-icon{background:#DAEFFF!important;color:#1D73D9!important}
/* Staff workspace */
.staff-head h1{font-size:clamp(1.85rem,4vw,2.5rem)}.staff-feature{background:radial-gradient(circle at 96% 18%,#76CBE842,transparent 33%),linear-gradient(120deg,#123A7C,#1A65BF);box-shadow:0 12px 24px #164A9220}
.staff-feature h2{font-size:1.11rem}.staff-feature-btn{border-radius:12px}
.staff-status-line{background:#FFF;box-shadow:none}.staff-status-line .staff-status-copy{background:#F1F7FE}
.stat-card{border-top:0;border-left:3px solid #C7DFFB;position:relative;box-shadow:0 8px 18px #1439690D}.stat-card:nth-child(1){border-left-color:#E5AE52}.stat-card:nth-child(2){border-left-color:#3E8CE9}.stat-card:nth-child(3){border-left-color:#4ABDA4}.stat-card:nth-child(4){border-left-color:#9C91D9}
.stat-mini-icon{position:absolute;top:14px;right:14px;background:#EFF5FF;padding:7px;border-radius:10px;font-size:.9rem!important;color:#2474D3!important}
#view-admin>#pendingSection{margin-bottom:14px}.attention-panel{border:1px solid #CFE2FA;box-shadow:0 10px 25px #174D940F}.attention-number{background:#E9F3FF!important;color:#236DCC!important}
.workload-panel{margin:0 0 20px!important;padding:20px 23px!important}.workload-panel .panel-head{margin-bottom:13px}.workload-panel h2{margin:4px 0 0!important}.insight-label{font-size:.66rem;color:#7B90AA;font-weight:680}
.workload-bar{display:flex;height:10px;border-radius:100px;overflow:hidden;gap:2px;background:#EAF0F8}.workload-bar span{height:100%;transition:width .3s;width:0}
.workload-pending{background:#E7B35A}.workload-confirmed{background:#398DEB}.workload-completed{background:#36B49A}.workload-cancelled{background:#B0BCCD}
.workload-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:13px}
.workload-legend span{display:flex;align-items:center;gap:6px;color:#617995;font-weight:630;font-size:.73rem;white-space:nowrap}.workload-legend strong{margin-left:auto;color:#244360}.workload-legend i{display:block;width:8px;height:8px;border-radius:50%;flex-shrink:0}
.dot-pending{background:#E7B35A}.dot-confirmed{background:#398DEB}.dot-completed{background:#36B49A}.dot-cancelled{background:#B0BCCD}
.staff-quick-filters{display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none;padding:0 0 12px}.staff-quick-filters::-webkit-scrollbar{display:none}
.staff-quick-filters button{white-space:nowrap;background:#F3F7FC;color:#5B738F;border:1px solid #E0E8F3;border-radius:100px;padding:8px 13px;font-size:.73rem;font-weight:770}.staff-quick-filters button.selected{background:#146BDB;border-color:#146BDB;color:#FFF;box-shadow:0 4px 10px #146BDB27}
#view-admin .filter-row input,#view-admin .filter-row select{background:#FBFDFF}
.week-day{border-radius:12px}.week-day.active{background:linear-gradient(145deg,#1559C0,#237FED)}
#editDialog .modal-body{background:#FFF}#editDialog .requested-slot{background:#EFF6FF;border-color:#D8E8FB}.slot-feedback.available{background:#EDFAF4}
/* Mobile: intentional compact hierarchy, clean tap targets */
@media(max-width:820px){.topbar{height:68px}.header-separator{display:none}.page-content{padding-top:17px}.brand{font-size:1.16rem}}
@media(max-width:740px){
 body{background:#F6F8FD}.page-content{padding:13px 13px 106px!important}.topbar{height:66px!important;padding:0 15px}
 .brand{font-size:1.12rem;gap:9px}.brand img{width:38px;height:38px}.bottom-nav{background:#FFF;box-shadow:0 -9px 28px #193B6A12}
 #view-landing{padding:15px 0 30px;margin:0;border:0;background:transparent;min-height:0}.portal-entry{border-radius:20px}.entry-head{padding:31px 21px}.entry-head h1{font-size:2.02rem;line-height:1.14}.entry-head p{font-size:.88rem;line-height:1.64}.entry-head>img{width:68px;height:68px}
 .panel{padding:17px 15px;border-radius:16px;margin-top:14px}.panel-head h2{font-size:1.05rem}.panel-icon{padding:5px 8px}
 .dashboard-hero{padding:25px 20px 23px;min-height:204px;border-radius:18px}.dashboard-hero h1{font-size:1.81rem}.dashboard-hero p{font-size:.79rem;line-height:1.65}.dashboard-hero:after{font-size:100px;right:20px;bottom:6px}.hero-accent-dot{right:20px;top:45px;width:8px;height:8px}
 .hero-bottom{margin-top:18px}.hero-shield{font-size:.68rem}.hero-request{font-size:.74rem;padding:9px 11px}
 .student-summary{gap:8px;margin:12px 0 10px}.student-summary-item{padding:12px 8px!important;min-height:98px;border-radius:12px!important}.student-summary-item strong{font-size:1.31rem}.student-guidance-strip{margin:11px 0 12px!important}
 #view-dashboard>#nextAppointment{margin-top:12px!important}.journey-live{margin:11px 0 23px;padding:14px 14px 12px}.journey-live-top strong{font-size:.85rem}.journey-live p{font-size:.71rem}
 .section-line h2{font-size:1.14rem}.quick-grid{gap:10px}.quick-card{min-height:119px;padding:14px 12px;border-radius:14px}.quick-card strong{font-size:.85rem}.quick-icon{width:37px;height:37px;flex-basis:37px}
 .staff-head h1{font-size:1.9rem}.staff-feature{border-radius:16px;padding:17px 16px}.staff-feature p{line-height:1.5}.staff-feature-btn{margin-top:9px}
 .staff-status-line{grid-template-columns:1fr 1fr}.staff-status-line>div{padding:13px 14px}.staff-status-line>.staff-status-copy{grid-column:1/-1;min-height:0}.staff-status-line>.staff-status-copy span{font-size:.68rem}
 .stats-grid{gap:9px}.stat-card{padding:13px!important;min-height:100px}.stat-mini-icon{top:8px;right:8px}.stat-card strong{font-size:1.75rem}
 .workload-panel{padding:16px 14px!important}.workload-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px}.workload-legend span{font-size:.7rem}.insight-label{font-size:.59rem}
 .week-panel{padding:17px 13px}.week-strip{gap:5px}.week-day{padding:12px 2px}.week-day>span{font-size:.6rem}.week-day strong{font-size:1.08rem}.week-day em{font-size:.53rem}
 .booking-flow-steps{gap:5px;margin-top:15px;font-size:.61rem}.booking-flow-steps b{height:21px;width:21px}.preferred-days-buttons{gap:5px}.preferred-days-buttons button{font-size:.66rem;padding:10px 2px}.preferred-days-head{flex-wrap:wrap}
 .staff-quick-filters{margin:0 -3px}.staff-quick-filters button{padding:8px 11px;font-size:.7rem}
}
@media(max-width:370px){.hero-shield{max-width:120px;line-height:1.4}.student-summary-item .summary-glyph{display:none}.entry-head h1{font-size:1.89rem}.workload-legend{gap:7px}.booking-flow-steps{font-size:.57rem}}
@media(prefers-reduced-motion:reduce){.journey-segment,.workload-bar span{transition:none}}

/* V0.7 refinement — refined hierarchy, responsive controls */
:root{--focus-ring:#0d79e7}body{font-feature-settings:"kern" 1;text-rendering:optimizeLegibility}button,input,select{transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #55b6ff;outline-offset:3px}.care-strip,.staff-focus{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 25px;border-radius:22px;margin:22px 0;background:linear-gradient(115deg,#f1f9ff 0%,#e9f7f5 100%);border:1px solid #d7e9f4;box-shadow:0 8px 28px rgba(12,65,115,.055)}.care-strip-icon{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:15px;background:#1168cf;color:#fff;font-size:24px}.care-strip>div:nth-child(2),.staff-focus>div{flex:1}.care-strip strong,.staff-focus h2{display:block;color:#103b65;font-size:1.05rem}.care-strip p,.staff-focus p{margin:5px 0 0;color:#57728b;line-height:1.6;font-size:.9rem}.care-strip button{flex-shrink:0;border:0;border-radius:12px;background:#096ed7;color:white;padding:13px 16px;font-weight:750;cursor:pointer}.staff-focus{background:linear-gradient(120deg,#ecf7ff,#f6fbff)}.staff-focus h2{font-size:1.35rem;margin:6px 0}.staff-focus .btn{flex-shrink:0}.panel,.quick-card,.student-summary-item{transition:box-shadow .2s ease,transform .2s ease}.quick-card:hover{transform:translateY(-3px);box-shadow:0 13px 28px rgba(19,69,116,.13)}@media(max-width:680px){.care-strip,.staff-focus{align-items:stretch;flex-direction:column;padding:19px;border-radius:19px}.care-strip-icon{width:42px;height:42px}.care-strip button,.staff-focus .btn{width:100%;text-align:center}.staff-focus h2{font-size:1.2rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* GabaySpace V0.8 — student-centered editorial visual system */
:root{--blue:#1669dc;--deep:#113d86;--navy:#183859;--paper:#f5f8fd;--ink:#20334d;--muted:#72839a;--border:#e8edf5;--shadow:0 8px 28px rgba(33,67,114,.055);--radius:22px}
body{background:#f6f9fd;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);letter-spacing:-.014em}
h1,h2,h3{letter-spacing:-.038em}
.topbar{background:#fff!important;color:#1b3861!important;border-bottom:1px solid #e9eef6!important;box-shadow:0 3px 17px rgba(23,58,98,.035)!important;min-height:72px}
.topbar a,.topbar .icon-btn{color:#1c497d!important}.brand{font-weight:830;font-size:1.18rem}.brand-subtitle{color:#7f95ae!important;font-size:.51rem}.brand img{background:transparent;border-radius:14px;padding:0;box-shadow:0 3px 11px #125ed01c}
.header-separator{background:#e5eaf3!important}.top-security{color:#1465ce!important;background:#edf5ff!important;border:1px solid #dfebfb!important;letter-spacing:.06em}.top-security-mark{background:#17bf96}.account-btn{background:#f0f6ff!important;border-radius:12px}.live-dot{border:2px solid #fff;background:#ffb95b;box-shadow:0 0 0 1px #e0e7ef}
.side-nav{background:#fff!important;border-right:1px solid #edf1f7;padding:25px 13px}.side-label{color:#9eabc0!important;font-size:.62rem}.side-item{border-radius:14px;color:#657a95;font-weight:680;font-size:.88rem}.side-item:hover{background:#f2f7fd}.side-item.active{background:#ebf3ff!important;color:#145fcb!important;box-shadow:none!important}.side-item.active:before{content:'';width:3px;height:26px;background:#176ee5;border-radius:9px;position:absolute;left:0}.side-item{position:relative}.side-item .nav-svg{width:20px;height:20px}
.page-content{width:min(1190px,100%);padding-top:31px}.view{animation:appear .2s ease}
.panel,.auth-card,.student-summary-item,.stat-card,.quick-card,.office-card{background:#fff!important;border:1px solid #e9edf5!important;box-shadow:0 9px 22px #18447f08!important}
.panel{border-radius:22px!important}.panel-head h2{font-size:1.12rem;color:#183b61;font-weight:780}.panel-head{margin-bottom:15px}.panel-icon{background:#edf5ff!important;color:#1d6cda!important}
.btn{border-radius:13px;font-weight:740;letter-spacing:-.008em}.btn-primary{background:#1369db!important;box-shadow:0 7px 15px #146ce52b}.btn-primary:hover{background:#0b56bd!important}
.btn-soft{background:#eef5ff!important;color:#165cbc!important}.btn:active,.quick-card:active,.office-card:active{transform:scale(.985)}
.form-stack input:not([type=checkbox]),.form-stack select,.filter-row input,.filter-row select{border-color:#e3eaf4;background:#f9fbff;border-radius:13px}.form-stack input:focus,.form-stack select:focus{border-color:#3984ed;box-shadow:0 0 0 4px #e4f1ff}
/* Landing: quiet editorial blue */
#view-landing{background:linear-gradient(150deg,#ecf4ff 0%,#dcecff 45%,#eff9ff 100%)!important;border:0!important;border-radius:28px!important;padding:44px 25px 32px!important;min-height:auto!important}
.portal-entry{border:1px solid #dae9fb;border-radius:25px!important;box-shadow:0 26px 75px rgba(40,80,136,.13)!important}
.entry-head{background:linear-gradient(140deg,#1568d6 0%,#0c54bd 75%,#10418b 100%)!important;padding:35px 35px 30px!important}
.entry-head img{width:66px;height:66px;padding:0;border:3px solid #ffffff70;border-radius:21px;box-shadow:0 9px 23px #0c286448!important}
.entry-head h1{font-size:clamp(2.05rem,4vw,2.8rem);line-height:1.11;letter-spacing:-.05em}
.entry-head h1 em{color:#c5fff0!important}.entry-head p{font-size:.98rem;line-height:1.58;max-width:420px;margin-inline:auto}.entry-identity{letter-spacing:.11em;font-size:.67rem}
.welcome-benefits{gap:7px;margin-top:18px}.welcome-benefits span{font-size:.68rem;padding:6px 9px;background:#ffffff15;border:1px solid #ffffff24}.entry-body{padding:30px 36px!important;background:white}
.entry-body .data-disclaimer{border-top:1px solid #e9edf6;padding-top:15px;color:#8292a6!important;font-size:.74rem}
.how-works{margin-top:26px!important;background:#ffffffa8!important;box-shadow:none!important;border:1px solid #e1e9f5!important;border-radius:23px;padding:24px!important}.how-top h2{font-size:1.34rem}.feature-card{background:#fff!important;border-radius:17px!important;box-shadow:none!important;padding:19px!important}.feature-card h3{font-size:.93rem}.feature-card p{font-size:.8rem;line-height:1.45}
/* Dashboard: stylish but lean */
.dashboard-hero{background:linear-gradient(115deg,#1d64d1 0%,#367feb 70%,#73b3fa 100%)!important;border:0!important;box-shadow:0 12px 33px #2269bd29!important;border-radius:24px!important;min-height:180px;padding:30px 34px!important}
.dashboard-hero:after{content:''!important;position:absolute;right:-95px;bottom:-150px;width:330px;height:330px;border:55px solid #ffffff14;border-radius:50%;transform:rotate(25deg)}
.dashboard-hero:before{width:210px;height:210px;right:50px;bottom:-160px;border:25px solid #ffffff12}
.dashboard-hero .hero-topline{font-size:.66rem;letter-spacing:.16em;color:#def3ff;font-weight:820}
.dashboard-hero h1{font-size:clamp(1.75rem,4vw,2.45rem);margin:6px 0 12px}.dashboard-hero p{max-width:470px!important;font-size:.91rem;line-height:1.5;margin-top:13px;color:#eff8ff!important}.dashboard-hero .date-pill{background:#fff;color:#20518c;border-radius:11px;font-size:.77rem}
.hero-bottom{position:relative;z-index:1}.hero-signout{border:1px solid #ffffff40;background:#ffffff20;border-radius:12px;font-size:.72rem}
.student-summary{gap:11px;margin:17px 0 20px}.student-summary-item{border-radius:18px!important;min-height:103px;padding:16px}.student-summary-item strong{color:#194b92!important;font-size:1.65rem}.student-summary-item span{font-size:.78rem;color:#7287a1}.student-summary-item small{color:#9aabbc;font-size:.7rem}
#nextAppointment{border:1px solid #e3ebf5!important;background:#fff;margin-top:15px!important;border-radius:20px!important}
.journey-live{background:#fff!important;border:1px solid #e7eef7!important;box-shadow:var(--shadow);border-radius:19px!important;margin-top:15px!important}
.section-line{margin-top:24px!important}.section-line .eyebrow{color:#7290b7}.quick-grid{gap:12px!important;margin:12px 0 21px!important}
.quick-card{min-height:146px!important;padding:18px!important;border-top:0!important;border-radius:18px!important;position:relative;overflow:hidden;gap:8px!important;transition:transform .2s,box-shadow .2s}
.quick-card:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:#176fea}
.quick-card:nth-child(2):before{background:#36bfa9}.quick-card:nth-child(3):before{background:#e4ab55}.quick-card:nth-child(4):before{background:#a98ee8}
.quick-card:nth-child(1){background:#edf5ff!important}.quick-card:nth-child(2){background:#eafbfa!important}.quick-card:nth-child(3){background:#fff4dd!important}.quick-card:nth-child(4){background:#f4efff!important}
.quick-icon{width:43px;height:43px!important;display:grid!important;place-items:center;border-radius:14px!important;background:#ffffffc7!important;color:#186bdb!important;margin-bottom:4px!important}.quick-card:nth-child(2) .quick-icon{color:#128e79!important}.quick-card:nth-child(3) .quick-icon{color:#bc7c15!important}.quick-card:nth-child(4) .quick-icon{color:#875ac7!important}.quick-icon .ui-icon{height:24px!important;width:24px!important;stroke-width:2!important}
.quick-card strong{font-size:.94rem!important;color:#20364f!important}.quick-card>span.quick-sub{font-size:.72rem!important;color:#6d819a!important;line-height:1.3}.quick-card:hover{transform:translateY(-3px);box-shadow:0 15px 27px #13477616!important}
.dashboard-layout{gap:16px}.calendar-top{flex-direction:row!important}.calendar-controls button{background:#edf5ff!important;color:#1a65c9!important;border-radius:10px!important;border:1px solid #e3efff!important}.calendar-cell{min-height:48px!important;border-radius:10px!important;border:1px solid #ecf1f7!important}.calendar-dayname{color:#92a0b1}.calendar-cell.today{background:#e7f1ff!important;color:#1167d2}.calendar-cell.chosen{background:#166fe9!important;color:white!important}.calendar-cell.marked:after{background:#0873df!important;width:6px;height:6px}.calendar-cell.chosen.marked:after{background:white!important}.calendar-legend{font-size:.73rem;color:#8c9bb0}
/* Booking with appointment-style date pills */
.office-select{min-height:auto!important;padding:28px 0 40px}.office-intro h1{font-size:1.8rem}.office-intro p{font-size:.94rem;line-height:1.4}.office-grid{display:flex;justify-content:center}.office-card{width:min(100%,360px);min-height:145px;border-radius:21px!important}.office-graphic{background:#e8f2ff;color:#1468dc}.booking-details{max-width:720px}.booking-details .panel{box-shadow:none!important}.booking-details h1,.page-heading h1{font-size:clamp(1.8rem,3.7vw,2.3rem)}
#preferredDayChoices{gap:9px}#preferredDayChoices button{border-radius:14px!important;padding:11px!important;min-height:54px;font-weight:740;background:#fff;border:1px solid #e5edf7;box-shadow:0 3px 8px #1d56a608}#preferredDayChoices button.active{background:#166dde!important;border-color:#166dde!important;color:white!important}
/* Staff: task-first editorial administration */
.staff-head{background:#fff!important;border:1px solid #e7edf7!important;border-radius:23px!important;box-shadow:var(--shadow);padding:23px 25px!important}.staff-head h1{color:#173b62!important;letter-spacing:-.043em}.staff-head p{color:#7a8ba0!important}.staff-status-line{background:#eaf4ff!important;border:1px solid #dcebf9!important;border-radius:19px!important;margin-top:17px!important}
.stats-grid{gap:11px}.stat-card{border-radius:19px!important;background:#fff!important;padding:19px!important}.stat-card strong{color:#155dbd!important;font-size:1.7rem}.stat-card .stat-icon{border-radius:13px!important}
.attention-panel{border:1px solid #e4ebf5!important;box-shadow:0 8px 25px #174e7d0a!important}.attention-panel .panel-head{align-items:center}
.staff-quick-filters button,.filter-row select,.filter-row input{border-radius:12px!important}.staff-quick-filters button.selected{background:#176adc!important;color:white!important}
.week-panel{background:#fff!important;border-radius:22px!important}.week-day{border-radius:15px!important;border:1px solid #e6edf8!important}.week-day.active{background:#176ce1!important;color:white!important;border-color:#176ce1!important;box-shadow:0 8px 14px #165bc528}
.workload-panel{background:#fff!important}.staff-columns{gap:18px}
/* More humane hierarchy and responsive controls */
.appointment-row{border-radius:16px;background:#fbfdff}.status.Pending{background:#fff3d3;color:#93630a}.status.Confirmed{background:#e4f0ff;color:#145fb8}
@media(max-width:1000px){.student-summary-item{gap:9px}.quick-card{padding:14px!important}}
@media(max-width:740px){
 .topbar{height:65px;min-height:65px;padding:0 15px!important}.topbar .brand{font-size:1.08rem}.brand img{width:34px;height:34px}.brand-subtitle{font-size:.45rem}.page-content{padding:13px 13px 103px!important}.bottom-nav{background:#fff!important;border-top:1px solid #e6eef7;box-shadow:0 -6px 20px #153b7407}.bottom-nav button{color:#8493a9!important}.bottom-nav button.active{color:#156ad9!important}
 #view-landing{margin:-13px -13px 0!important;border-radius:0!important;padding:24px 13px 40px!important;min-height:calc(100vh - 70px)!important;background:linear-gradient(155deg,#e5f0ff 0%,#f7fbff 100%)!important}
 .portal-entry{border-radius:22px!important}.entry-head{padding:28px 21px 25px!important}.entry-head h1{font-size:2.05rem}.entry-head p{font-size:.91rem}.entry-head img{width:60px;height:60px}.entry-body{padding:24px 20px 27px!important}.welcome-benefits{gap:5px}.welcome-benefits span{font-size:.64rem;padding:5px 7px}.how-works{padding:20px!important;margin-top:22px!important}
 .dashboard-hero{padding:25px 20px!important;border-radius:21px!important}.dashboard-hero h1{font-size:1.8rem}.dashboard-hero p{font-size:.83rem;line-height:1.4}.hero-signout{top:15px;right:15px;font-size:.7rem;padding:6px 9px}.dashboard-hero .hero-topline{padding-right:70px}
 .student-summary{gap:8px;margin-top:13px}.student-summary-item{padding:11px!important;min-height:88px;gap:6px!important;border-radius:15px!important}.student-summary-item strong{font-size:1.45rem!important}.student-summary-item span{font-size:.66rem!important}.student-summary-item small{font-size:.62rem!important}.summary-glyph{width:28px!important;height:28px!important;flex-shrink:0}
 .quick-grid{gap:11px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.quick-card{padding:15px!important;min-height:141px!important}.quick-card strong{font-size:.94rem!important}.quick-card>span.quick-sub{display:block!important;font-size:.69rem!important}.quick-icon{height:37px!important;width:37px!important}.quick-icon .ui-icon{width:22px!important;height:22px!important}
 .panel{padding:18px 16px!important;margin-top:16px!important;border-radius:19px!important}.panel-head h2{font-size:1.1rem!important}.calendar-cell{min-height:41px!important}.staff-head{padding:20px!important}.staff-status-line{padding:15px!important}.stat-card{padding:13px!important}.stat-card strong{font-size:1.4rem!important}.week-day{padding:9px 4px!important}
}
@media(max-width:380px){.welcome-benefits span:nth-child(3){display:none}.student-summary-item{flex-direction:column;align-items:flex-start}.quick-card{min-height:137px!important}}
@media(prefers-reduced-motion:reduce){.view,.btn,.quick-card,.calendar-cell{animation:none!important;transition:none!important}}
/* final small-screen containment: filters must not expand the dashboard */
.staff-columns,.staff-columns>*{min-width:0;max-width:100%}
.staff-columns .panel,.staff-columns .filter-row,.staff-columns .filter-row>*{min-width:0;max-width:100%}
@media(max-width:740px){.staff-columns{grid-template-columns:minmax(0,1fr)!important}.staff-columns .filter-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.staff-quick-filters{max-width:100%;min-width:0}.staff-columns .panel{overflow:hidden}.staff-columns .filter-row input{grid-column:1/-1}}


/* GabaySpace V0.9 — alignment, accessibility and Android viewport finishing pass */
html{overflow-x:clip;-webkit-text-size-adjust:100%}
body{min-width:280px;overflow-x:clip}
button,input,select{max-width:100%}
[hidden]{display:none!important}
:root{color-scheme:light}
/* One seamless field, not a second textbox inside its outlined container. */
.entry-body #quickLoginForm{width:100%;min-width:0;gap:13px}
.entry-body #quickLoginForm .input-icon-wrap{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;column-gap:12px;box-sizing:border-box;width:100%;min-width:0;min-height:58px;padding:0 13px!important;background:#f8fbff!important;border:1.5px solid #d9e6f6!important;border-radius:15px!important;transition:border-color .18s,box-shadow .18s}
.entry-body #quickLoginForm .input-icon-wrap:focus-within{border-color:#1478e5!important;box-shadow:0 0 0 4px #1478e51a!important}
.entry-body #quickLoginForm .input-icon-wrap >svg{width:22px;height:22px;flex:none;color:#52749d}
.entry-body #quickLoginForm .input-icon-wrap input#quickCode{display:block!important;box-sizing:border-box!important;flex:1 1 auto!important;min-width:0!important;width:100%!important;height:55px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;color:#173958!important;font-size:clamp(.84rem,3.5vw,.98rem)!important;font-weight:540;letter-spacing:0!important}
.entry-body #quickLoginForm .input-icon-wrap input#quickCode::placeholder{color:#899ab0;opacity:1}
.entry-body #quickLoginForm .input-icon-wrap .eye-btn{justify-self:end;display:flex;align-items:center;justify-content:center;min-width:49px;min-height:42px;flex-shrink:0;padding:5px 7px!important;margin:0;border:0;border-radius:10px;background:#eaf3ff;color:#1467cf;font-weight:760;font-size:.82rem;touch-action:manipulation}
.entry-body #quickLoginForm .input-icon-wrap .eye-btn:hover{background:#dbeaff}
.entry-body #quickLoginForm .btn-primary{min-height:54px;box-shadow:0 9px 20px #1565ce23!important}
.entry-body .entry-heading{display:flex;align-items:center;gap:11px}
.entry-body .entry-heading .ui-icon{flex:0 0 auto}
.entry-body .entry-help{margin:8px 0 20px;line-height:1.5}
.entry-options{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;column-gap:8px;row-gap:0;flex-wrap:nowrap}.entry-options button{justify-self:end;white-space:nowrap;text-align:right;margin:0;font-size:.83rem!important}
/* Keep the navigation accessible without crowding the mobile safe area. */
.bottom-nav{box-sizing:border-box;overflow:hidden;padding-inline:max(4px,env(safe-area-inset-left)) max(4px,env(safe-area-inset-right));padding-bottom:max(env(safe-area-inset-bottom),4px);height:calc(70px + max(env(safe-area-inset-bottom),4px));align-items:stretch}
.bottom-nav button{min-width:0;min-height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 2px!important;line-height:1.12;white-space:nowrap;font-size:clamp(.66rem,2.5vw,.78rem)!important;border-radius:0!important}
.bottom-nav button .nav-svg{width:23px;height:23px;margin:0!important;flex-shrink:0}
.bottom-nav button.active{background:#f0f6ff!important;box-shadow:inset 0 3px #1671dd}
.page-content{min-width:0}
.toast{width:max-content;min-width:0;max-width:min(92vw,410px);bottom:calc(86px + env(safe-area-inset-bottom))!important;padding:12px 17px;border-radius:13px;font-size:.82rem;line-height:1.42;pointer-events:none}
/* Softer depth and consistent focus treatments */
.portal-entry{box-shadow:0 20px 55px rgba(27,78,146,.115)!important}
.entry-head{isolation:isolate}
.btn:focus-visible,.eye-btn:focus-visible,.bottom-nav button:focus-visible{outline:3px solid #81b5f5!important;outline-offset:2px}
.panel,.auth-card,.stat-card,.student-summary-item{overflow-wrap:anywhere}
@media(max-width:740px){
 .topbar{padding-inline:14px!important;gap:9px!important}
 .brand{min-width:0}.brand-subtitle{letter-spacing:.03em}
 .page-content{padding-bottom:calc(98px + env(safe-area-inset-bottom))!important}
 #view-landing{padding-inline:clamp(11px,3.2vw,19px)!important;padding-top:20px!important}
 .portal-entry{max-width:560px;margin:0 auto!important}
 .entry-head{padding:31px 20px 28px!important}
 .entry-head h1{font-size:clamp(1.95rem,7.8vw,2.22rem)!important}
 .entry-head p{font-size:.9rem!important;line-height:1.48!important}
 .entry-body{padding:23px 20px 24px!important}
 .entry-body .entry-heading h2{font-size:1.37rem!important}
 .entry-options{font-size:.87rem}
 .entry-options button{min-height:36px}
 .how-works{margin:19px auto 0!important}
 .toast{bottom:calc(85px + env(safe-area-inset-bottom))!important}
}
@media(max-width:355px){
 .entry-body{padding:19px 15px 22px!important}
 .entry-head{padding:27px 13px 24px!important}
 .entry-identity{letter-spacing:.07em!important;font-size:.56rem!important}
 .entry-body #quickLoginForm .input-icon-wrap{gap:8px!important;padding-inline:10px!important;grid-template-columns:19px minmax(0,1fr) auto}
 .entry-body #quickLoginForm .input-icon-wrap>svg{height:19px;width:19px}
 .entry-body #quickLoginForm .input-icon-wrap .eye-btn{min-width:43px;padding-inline:4px!important}
 .bottom-nav button{font-size:.64rem!important}
}
@media(prefers-reduced-motion:reduce){.entry-body #quickLoginForm .input-icon-wrap{transition:none}}

/* GabaySpace V1.0 | Header and loading experience. Overrides V0.9 white-header legacy rules. */
:root{--gs-top:72px}
.topbar,.topbar.topbar{height:var(--gs-top)!important;min-height:var(--gs-top)!important;background:linear-gradient(102deg,#14377e 0%,#1551ad 38%,#096de4 100%)!important;color:#fff!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.16)!important;box-shadow:0 5px 24px rgba(16,58,138,.20)!important;padding:0 clamp(15px,3vw,30px)!important;gap:12px!important;position:sticky!important;top:0;z-index:50}
.topbar a,.topbar .icon-btn,.topbar .brand,.topbar .brand-copy strong{color:#fff!important}
.brand,.topbar .brand{display:flex!important;align-items:center!important;gap:11px!important;min-width:0;max-width:initial;flex-wrap:nowrap!important;font-size:initial!important;text-decoration:none!important;line-height:1.12}
.brand img,.topbar .brand img{height:43px!important;width:43px!important;min-width:43px;border:1px solid #ffffff65!important;background:#ffffff14!important;border-radius:13px!important;box-shadow:0 4px 12px #001b504d!important;padding:3px!important;object-fit:contain}
.brand-copy{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}
.brand-copy strong{display:block;font-size:clamp(1rem,3.9vw,1.25rem);font-weight:790;letter-spacing:-.035em;white-space:nowrap}
.brand-copy small{font-size:.55rem;letter-spacing:.105em;color:#d0e5ff;font-weight:750;white-space:nowrap}
.topbar .top-actions{margin-left:auto;gap:8px;flex-shrink:0;display:flex;align-items:center}
.topbar .icon-btn{width:43px;height:43px;padding:8px!important;display:grid;place-items:center;border-radius:12px!important;background:transparent!important;border:1px solid transparent;position:relative;transition:background .16s ease,transform .16s ease}
.topbar .icon-btn:hover,.topbar .icon-btn:focus-visible{background:#ffffff24!important}
.topbar .icon-btn:active{transform:scale(.95)}
.topbar .menu-btn{display:none}
.header-icon{width:25px;height:25px;display:block;flex-shrink:0}
.topbar .account-btn{border:1px solid #ffffff3f!important;background:#ffffff1c!important}
.topbar .live-dot{background:#97f2b9!important;box-shadow:0 0 0 3px #ffffff1c;flex:0 0 auto;border:1px solid #ffffffd0!important}
.topbar .live-dot.error{background:#ffbd8e!important}
.topbar .live-dot:not(.ready):not(.error){background:#f9d084!important}
.notification-count{position:absolute;top:1px;right:0;min-width:17px;height:17px;padding:0 3px;border-radius:20px;background:#ff4568;color:#fff;border:2px solid #1555b5;display:grid;place-items:center;font:800 10px/1 system-ui;box-shadow:0 2px 6px #06245650}
.notification-count[hidden]{display:none!important}
.topbar .notification-panel{position:absolute;right:clamp(12px,3vw,30px);top:calc(100% + 9px);width:min(360px,calc(100vw - 24px));max-height:min(66vh,470px);overflow:auto;padding:0;border:1px solid #dce8f7;background:#fff;color:#1d3a58;border-radius:17px;box-shadow:0 18px 45px #07234b38;z-index:70}
.notification-panel[hidden]{display:none!important}
.notification-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eaf0f7;gap:12px}
.notification-heading strong{font-size:.96rem}
.notification-heading button{background:#eef5ff;border:none;color:#24517c;border-radius:9px;width:31px;height:31px;cursor:pointer;font-size:1.35rem}
.notification-body{padding:14px 16px;color:#53708a;font-size:.85rem;line-height:1.55}
.notification-body p{margin:0}.notification-item{padding:10px 0;border-bottom:1px solid #edf2f7}.notification-item:last-child{border-bottom:0}.notification-item strong{display:block;color:#183953;font-size:.84rem}.notification-item span{display:block;margin-top:2px;font-size:.78rem}
.notification-action{display:block;background:#eef5ff;border:0;border-top:1px solid #dce8f7;width:100%;padding:13px 16px;color:#0b64cb;font-weight:750;text-align:center;cursor:pointer}
.side-nav{top:var(--gs-top)!important;height:calc(100vh - var(--gs-top))!important}
.backdrop{inset:var(--gs-top) 0 0!important}
/* Branded first-load animation, intentionally short; page does not depend on animation. */
.splash-screen,.splash-screen.splash-screen{display:flex!important;position:fixed;inset:0;z-index:1000;background:#173e8d;color:#fff;align-items:center;justify-content:center;flex-direction:column;gap:0;pointer-events:auto;animation:none!important;isolation:isolate;opacity:1;transition:opacity .48s ease,visibility .48s ease;visibility:visible}
.splash-screen.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.splash-orbit{position:absolute;width:290px;height:290px;border:1px solid #ffffff16;border-radius:50%;box-shadow:0 0 0 60px #ffffff05,0 0 0 120px #ffffff04;z-index:-1;animation:orbitBreathe 2s ease-in-out infinite alternate}
.splash-symbol{width:106px;height:106px;border:1px solid #ffffff44;background:#ffffff15;border-radius:30px;display:grid;place-items:center;box-shadow:0 19px 42px #061e5c4d;animation:splashIn .7s cubic-bezier(.2,.85,.2,1) both}
.splash-symbol img{height:86px;width:86px;filter:drop-shadow(0 3px 6px #001b4238)}
.splash-name{font-size:1.85rem;font-weight:790;letter-spacing:-.05em;margin-top:22px;animation:splashIn .7s .12s both}
.splash-tag{margin-top:4px;font-size:.67rem;letter-spacing:.19em;color:#cfe8ff;font-weight:700;animation:splashIn .7s .19s both}
.splash-progress{height:3px;width:110px;background:#ffffff36;border-radius:20px;overflow:hidden;margin-top:28px}.splash-progress i{display:block;height:100%;width:44%;border-radius:20px;background:#b4fbea;animation:loadingTrack 1.1s ease-in-out infinite alternate}
@keyframes splashIn{from{opacity:0;transform:translateY(17px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes loadingTrack{from{transform:translateX(-30%)}to{transform:translateX(200%)}}
@keyframes orbitBreathe{from{transform:scale(.95)}to{transform:scale(1.06)}}
.request-loader{position:fixed;left:0;right:0;top:var(--gs-top);height:3px;z-index:52;pointer-events:none;opacity:0;transition:opacity .18s ease;overflow:hidden;background:transparent}
.request-loader.is-active{opacity:1}.request-loader span{display:block;background:#43d8bc;height:100%;width:35%;animation:loadingTrack 1s ease-in-out infinite alternate}
@media(max-width:740px){:root{--gs-top:68px}.topbar,.topbar.topbar{height:68px!important;min-height:68px!important;padding:0 13px!important;gap:10px!important}.topbar .menu-btn{display:grid!important;flex:0 0 39px;width:39px;height:41px}.topbar .brand img{width:37px!important;height:37px!important;min-width:37px!important;border-radius:11px!important}.topbar .brand{gap:8px!important}.topbar .brand-copy strong{font-size:1.02rem}.brand-copy small{font-size:.46rem;letter-spacing:.07em}.topbar .icon-btn{width:38px;height:40px;padding:6px!important}.topbar .top-actions{gap:4px}.header-icon{width:23px;height:23px}.topbar .live-dot{display:none!important}.topbar .header-separator{display:none!important}.side-nav{position:fixed!important;top:var(--gs-top)!important;bottom:0!important;height:calc(100dvh - var(--gs-top))!important}.notification-panel{right:12px!important}.page-content{padding-top:15px!important}}
@media(max-width:350px){.topbar,.topbar.topbar{gap:6px!important;padding:0 9px!important}.topbar .brand-copy strong{font-size:.92rem}.brand-copy small{font-size:.4rem}.topbar .brand img{width:34px!important;height:34px!important;min-width:34px!important}.topbar .top-actions{gap:1px}.topbar .icon-btn{width:35px}}
@media(prefers-reduced-motion:reduce){.splash-symbol,.splash-name,.splash-tag,.splash-orbit,.splash-progress i,.request-loader span{animation:none!important}.splash-screen{transition:none!important}}


/* GabaySpace V1.1 — final centered mobile layout. Keep V1.0 visual identity. */
@media (max-width:740px){
  .page-content{box-sizing:border-box;width:100%;max-width:none!important;padding-inline:13px!important}
  /* Previous landing negative margins left the section narrower than viewport.
     Keep the soft-blue full bleed background while centering all cards. */
  #view-landing,#view-landing.view{box-sizing:border-box!important;width:calc(100% + 26px)!important;max-width:none!important;margin-left:-13px!important;margin-right:-13px!important;padding-left:clamp(12px,3.5vw,20px)!important;padding-right:clamp(12px,3.5vw,20px)!important}
  #view-landing .portal-entry,#view-landing .how-works{box-sizing:border-box;width:100%!important;max-width:560px!important;margin-left:auto!important;margin-right:auto!important}
  #view-landing .entry-head{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
  #view-landing .entry-identity{max-width:100%;overflow-wrap:break-word}
  #view-landing .welcome-benefits{justify-content:center;align-items:center;width:100%;margin-left:auto;margin-right:auto}
  #view-landing .entry-body{width:100%;box-sizing:border-box}
  #view-landing .entry-body .form-stack,#view-landing .entry-body .entry-options{width:100%;max-width:100%;box-sizing:border-box}
  #view-landing .entry-body .input-icon-wrap{min-width:0;width:100%;box-sizing:border-box}
  #view-landing .entry-body #quickCode{min-width:0;width:100%;max-width:100%}
  .bottom-nav{left:0;right:0;width:100%;grid-template-columns:repeat(5,minmax(0,1fr));box-sizing:border-box}
  .bottom-nav button{min-width:0;text-align:center}
  .notification-panel{max-width:calc(100vw - 24px)}
}
@media(max-width:355px){
  #view-landing .entry-head h1{font-size:clamp(1.72rem,8.1vw,2rem)!important}
  #view-landing .entry-head{padding-left:11px!important;padding-right:11px!important}
}
