/* production.css — GENERATED by scripts/build-production-css.mjs; do not edit directly.
   Live mode loads this single bundle instead of the legacy stylesheet set.
   It is the verbatim concatenation, in original cascade order, of:
     - styles.css
     - mobile.css
     - cuc.css
     - themes.css
     - illustrated.css
     - platform.css
     - localization.css
     - redesign.css
     - super-admin.css
   login-glass.css is intentionally excluded: every selector in it is scoped to
   html:not([data-mashwar-mode="live"]) (Phase 2), so it contributes no live rules.
   Edit the source files, then re-run the build script. */

/* ===== styles.css ===== */
:root{--navy:#102947;--navy2:#0c2038;--ink:#152a43;--muted:#6f8195;--line:#e3eaf0;--bg:#f5f8fb;--white:#fff;--teal:#12ad90;--mint:#e6f8f2;--blue:#3374e0;--bluebg:#eaf1ff;--amber:#b87312;--amberbg:#fff4df;--red:#dc6670;--redbg:#fff0f0;--shadow:0 8px 34px rgba(29,54,82,.06)}*{box-sizing:border-box}html{font-size:16px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #78d8c6;outline-offset:2px}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}.app-shell{display:flex;min-height:100vh}.sidebar{width:258px;flex:none;background:var(--navy);color:#c8d5e2;display:flex;flex-direction:column;padding:30px 18px 20px;min-height:100vh;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;color:white;font:800 22px Manrope,sans-serif;letter-spacing:-.8px;padding:0 12px;margin-bottom:46px}.brand small{display:block;font:500 11px Manrope,sans-serif;color:#a8bfd2;letter-spacing:1.7px;text-transform:uppercase;margin-top:0}.brand-mark{width:39px;height:39px;background:#1c4261;border-radius:12px;display:grid;place-items:center}.brand-mark svg{width:29px;height:29px;fill:none;stroke:#6ce3c1;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.brand-mark circle{fill:white;stroke:none}.role-caption,.nav-caption{font-size:11px;letter-spacing:1.7px;font-weight:800;color:#819bb3;margin:0 12px 12px}.role-switch{padding:5px;background:#1b3955;border-radius:12px;display:flex;margin-bottom:39px}.role-switch button{border:0;background:transparent;color:#9bb0c3;border-radius:8px;padding:9px 8px;flex:1;font-size:12px;font-weight:700}.role-switch button.active{background:#fff;color:var(--navy);box-shadow:0 2px 8px #071b3040}.sidebar nav{display:grid;gap:5px}.sidebar nav button{border:0;background:transparent;color:#b9c9d8;text-align:left;border-radius:11px;display:flex;gap:13px;align-items:center;width:100%;padding:12px 13px;font-size:14px;font-weight:600}.sidebar nav button:hover,.sidebar nav button.active{background:#244460;color:white}.sidebar nav button.active:before{content:"";position:absolute;left:0;width:3px;height:25px;background:#64ddba;border-radius:0 5px 5px 0}.sidebar-bottom{margin-top:auto;padding:25px 10px 0}.demo-pill{display:inline-flex;align-items:center;gap:8px;color:#a7e8d3;background:#1a4a56;border:1px solid #326d6d;padding:8px 11px;border-radius:20px;font-size:12px;font-weight:700}.demo-pill span{width:7px;height:7px;border-radius:50%;background:#60dcae}.sidebar-bottom p{color:#90a7bd;font-size:12px;line-height:1.5;margin:10px 2px 24px}.sidebar-user{border-top:1px solid #365069;padding-top:20px;display:flex;align-items:center;gap:10px}.sidebar-user strong,.sidebar-user small{display:block}.sidebar-user strong{color:#fff;font-size:13px}.sidebar-user small{color:#a6b8c9;font-size:12px;margin-top:3px}.avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:800;background:#dcece8;color:#116b5c;flex:none}.avatar-dark{background:#46718a;color:white}.workspace{flex:1;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,58px)}.breadcrumb{font-size:14px;color:#8393a3}.breadcrumb span{color:#b8c4cf;margin:0 9px}.breadcrumb strong{color:#273e56;font-weight:700}.top-actions{display:flex;align-items:center;gap:21px}.today-label{font-size:13px;color:#8293a4}.icon-button{border:1px solid var(--line);background:white;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#5b7085;position:relative}.icon-button i{width:6px;height:6px;position:absolute;right:7px;top:6px;background:#e37d70;border-radius:50%}.top-avatar{width:34px;height:34px;background:#dce9fb;color:#306bba}.mobile-menu{display:none;border:0;background:none;color:var(--navy)}main{max-width:1450px;margin:auto;padding:38px clamp(22px,4vw,58px) 90px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:27px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:800;color:var(--teal);margin-bottom:8px}.page-heading h1{font:800 clamp(27px,3vw,37px)/1.2 Manrope,sans-serif;letter-spacing:-1.2px;margin:0;color:#142c48}.page-heading p{color:var(--muted);font-size:15px;margin:9px 0 0;line-height:1.5}.date-chip{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);border-radius:10px;padding:11px 14px;color:#50677e;font-size:13px;font-weight:700;white-space:nowrap}.date-chip .icon{width:16px;height:16px}.grid{display:grid;gap:20px}.two-col{grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr)}.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.four-col{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--white);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);overflow:hidden}.card-pad{padding:24px}.card-title{font:800 17px Manrope,sans-serif;letter-spacing:-.35px;margin:0}.card-sub{color:var(--muted);font-size:13px;line-height:1.5;margin-top:5px}.section-title{font:800 18px Manrope,sans-serif;margin:32px 0 15px;letter-spacing:-.4px}.trip-feature{background:var(--navy);color:#fff;border-radius:18px;overflow:hidden;position:relative;min-height:330px;padding:29px;display:flex;flex-direction:column;justify-content:space-between}.trip-feature:after{content:"";position:absolute;right:-120px;bottom:-160px;border:50px solid #285875;border-radius:50%;width:380px;height:380px;opacity:.6}.trip-feature>*{position:relative;z-index:1}.feature-top{display:flex;justify-content:space-between;gap:12px}.soft-tag{display:inline-flex;align-items:center;gap:7px;border-radius:99px;padding:7px 11px;font-size:12px;font-weight:800;background:#24516a;color:#8ce6ca}.soft-tag .dot{width:7px;height:7px;background:#76e2bd;border-radius:50%}.feature-day{color:#abc2d3;font-size:13px;font-weight:700}.feature-label{font-size:13px;color:#9fdaca;font-weight:700;margin-bottom:9px}.trip-feature h2{font:800 clamp(27px,3vw,37px)/1.2 Manrope,sans-serif;letter-spacing:-1.2px;margin:0 0 15px}.feature-meta{display:flex;flex-wrap:wrap;gap:17px;color:#bfd0dc;font-size:13px}.feature-meta span{display:flex;align-items:center;gap:7px}.feature-meta svg{width:16px;height:16px}.feature-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px}.primary-btn,.light-btn,.outline-btn,.ghost-btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:10px;padding:12px 17px;font-size:13px;font-weight:800;border:1px solid transparent;min-height:43px}.primary-btn{background:#27c3a1;color:#0d3341}.primary-btn:hover{background:#61dcbd}.light-btn{background:#fff;color:#1a4057}.outline-btn{border-color:#cddae5;background:white;color:#2a4b65}.ghost-btn{background:transparent;color:var(--blue);padding:8px}.primary-btn:disabled,.outline-btn:disabled{opacity:.5;cursor:not-allowed}.feature-seat{color:#a3bacc;font-size:12px}.trip-card{padding:22px 23px;display:flex;flex-direction:column;gap:22px}.trip-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.icon-tile{width:41px;height:41px;background:#ecf4ff;color:#3980d5;border-radius:11px;display:grid;place-items:center}.trip-card-head .card-title{margin-top:15px}.status{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:99px;font-size:12px;font-weight:800;white-space:nowrap}.status.green{background:var(--mint);color:#168e73}.status.blue{background:var(--bluebg);color:#3273cd}.status.amber{background:var(--amberbg);color:#a46a14}.status.red{background:var(--redbg);color:#c85c64}.status.gray{background:#eef2f6;color:#65788a}.mini-route{display:flex;align-items:center;gap:10px;font-weight:800;font-size:16px}.mini-route .line{height:2px;background:#cbd7e0;flex:1;position:relative}.mini-route .line:before,.mini-route .line:after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#2bbf9d;top:-2.5px}.mini-route .line:after{right:0;background:#366dbe}.trip-detail{display:grid;grid-template-columns:1fr 1fr;gap:11px;border-top:1px solid var(--line);padding-top:18px;color:#657a8f;font-size:13px}.trip-detail strong{display:block;color:#203b56;font-size:14px;margin-top:3px}.trip-card .outline-btn{width:100%}.activity-list{padding:0 24px}.activity-row{padding:16px 0;display:flex;align-items:flex-start;gap:12px;border-top:1px solid var(--line)}.activity-row:first-child{border:0}.activity-icon{width:34px;height:34px;border-radius:10px;background:var(--mint);display:grid;place-items:center;color:var(--teal)}.activity-row strong{font-size:13px}.activity-row p{font-size:12px;color:var(--muted);margin:4px 0 0;line-height:1.45}.activity-row time{font-size:11px;color:#9aabb9;margin-left:auto;white-space:nowrap}.info-bar{display:flex;gap:12px;align-items:flex-start;padding:15px 18px;border-radius:12px;background:#e9f3fb;border:1px solid #d9e9f8;color:#406782;font-size:13px;line-height:1.5;margin-top:20px}.info-bar .icon{color:#4580b2}.segmented{display:flex;background:#edf2f6;border-radius:11px;padding:4px;gap:3px;width:max-content;max-width:100%;overflow:auto}.segmented button{border:0;border-radius:8px;background:transparent;color:#658097;font-size:13px;font-weight:800;padding:10px 16px;white-space:nowrap}.segmented button.active{background:white;color:#1c3b56;box-shadow:0 1px 6px #16324e16}.booking-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:20px;margin-top:20px}.booking-option{padding:22px;margin-bottom:13px;display:flex;align-items:center;gap:15px;border:1.5px solid var(--line);border-radius:13px;background:white;text-align:left;width:100%;color:var(--ink)}.booking-option.selected{border-color:#2abb9b;background:#f2fbf8}.radio-ring{height:18px;width:18px;border-radius:50%;border:2px solid #abc2cf;display:grid;place-items:center}.selected .radio-ring{border-color:var(--teal)}.selected .radio-ring:after{content:"";height:8px;width:8px;background:var(--teal);border-radius:50%}.booking-option strong{display:block;font-size:14px}.booking-option small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.booking-option .status{margin-left:auto}.field-label{font-size:12px;letter-spacing:.7px;text-transform:uppercase;font-weight:800;color:#697e90;margin-bottom:8px;display:block}.select{width:100%;appearance:none;background:white;border:1px solid #d5e1eb;border-radius:10px;padding:12px 14px;color:#223d55;font-size:14px;margin-bottom:17px}.summary-lines{display:grid;gap:0;margin:19px 0}.summary-line{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px;color:#75889a}.summary-line strong{color:#243e57}.full{width:100%}.ticket-card{padding:26px}.ticket-header{display:flex;justify-content:space-between;gap:15px;align-items:center}.ticket-route{font:800 23px Manrope,sans-serif;margin:22px 0 8px}.ticket-visual{height:120px;border-radius:12px;background:linear-gradient(100deg,#e9f9f4,#eaf2ff);display:flex;align-items:center;justify-content:space-between;padding:0 26px;margin:22px 0}.ticket-visual .big-time{font:800 29px Manrope,sans-serif}.ticket-visual .journey-line{height:2px;background:#7cbdb2;flex:1;margin:0 25px;position:relative}.ticket-visual .journey-line:before,.ticket-visual .journey-line:after{content:"";width:10px;height:10px;border-radius:50%;background:#2ab69a;position:absolute;top:-4px}.ticket-visual .journey-line:after{right:0;background:#366fc5}.ticket-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ticket-meta small{display:block;color:var(--muted);font-size:12px}.ticket-meta strong{font-size:14px;display:block;margin-top:4px}.ticket-actions{display:flex;gap:10px;margin-top:24px}.empty-box{border:1px dashed #c6d6e3;border-radius:13px;padding:30px;text-align:center;color:var(--muted);font-size:14px}.scanner-frame{border-radius:17px;background:#102947;min-height:290px;display:grid;place-items:center;position:relative;color:white}.scan-corners{width:185px;height:185px;border:3px solid #68dab8;border-radius:18px;display:grid;place-items:center;background:#23445a}.scan-corners .icon{width:82px;height:82px;color:#b7d9d6;stroke-width:1}.scanner-frame small{position:absolute;bottom:20px;color:#a9c5d2}.metric-card{padding:22px}.metric-label{font-size:13px;color:#768a9e;font-weight:700}.metric-value{font:800 31px Manrope,sans-serif;letter-spacing:-1px;margin:12px 0 3px}.metric-foot{font-size:12px;color:#75a096}.metric-icon{float:right;width:39px;height:39px;border-radius:11px;background:#edf4ff;color:#4b83ca;display:grid;place-items:center}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}.data-table th{text-align:left;padding:14px 18px;background:#f8fafc;color:#8395a5;text-transform:uppercase;letter-spacing:.7px;font-size:11px}.data-table td{padding:17px 18px;border-top:1px solid var(--line);color:#526b80}.data-table strong{color:#233d55}.data-table tr:hover td{background:#fbfdfe}.table-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;gap:15px}.table-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.route-progress{display:grid;grid-template-columns:repeat(5,1fr);align-items:start;margin:27px 5px 23px}.progress-stop{position:relative;text-align:center;padding:0 4px}.progress-stop:not(:last-child):before{content:"";position:absolute;left:50%;right:-50%;height:3px;background:#dbe5ea;top:10px}.progress-stop.passed:not(:last-child):before{background:#34bea2}.progress-dot{width:23px;height:23px;border-radius:50%;border:5px solid #dbe5ea;background:white;display:inline-block;position:relative;z-index:1}.progress-stop.passed .progress-dot{background:#2dbb9c;border-color:#2dbb9c}.progress-stop.current .progress-dot{background:white;border:6px solid #2dbb9c;box-shadow:0 0 0 5px #dff8ef}.progress-stop strong{display:block;font-size:12px;margin-top:12px;color:#254057}.progress-stop small{font-size:11px;color:#8da0af}.driver-head{background:#133654;color:#fff;border-radius:17px;padding:27px;display:flex;align-items:center;justify-content:space-between;gap:20px}.driver-head h2{font:800 26px Manrope,sans-serif;margin:7px 0}.driver-head p{margin:0;color:#b0c8d7;font-size:13px}.driver-head .status{background:#285a66;color:#a5f3dc}.stop-card{padding:24px}.stop-card-top{display:flex;align-items:start;justify-content:space-between}.stop-index{width:38px;height:38px;background:#eaf9f3;color:#169a7d;border-radius:11px;display:grid;place-items:center;font-weight:800}.stop-card h2{font:800 24px Manrope,sans-serif;margin:17px 0 6px}.stop-card p{color:var(--muted);font-size:13px;line-height:1.5}.stop-actions{display:flex;gap:9px;margin:21px 0}.stop-actions button{flex:1}.passenger-peek{border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;gap:10px}.stacked-avatars{display:flex;padding-left:4px}.stacked-avatars .avatar{border:2px solid white;margin-left:-5px;background:#e3eefc;color:#3267a9}.stacked-avatars .avatar:nth-child(even){background:#ffe9d9;color:#975c3b}.peek-text{font-size:12px;color:#71889c}.manifest-list{padding:5px 23px}.person-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.person-row:last-child{border:0}.person-row .name{flex:1}.person-row strong{display:block;font-size:13px}.person-row small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.qr-display{width:166px;height:166px;display:grid;grid-template-columns:repeat(9,1fr);grid-template-rows:repeat(9,1fr);gap:2px;margin:18px auto;background:white;border:10px solid white;border-radius:10px}.qr-display i{background:#162c49}.qr-display i.off{background:white}.center{text-align:center}.notice-list{display:grid;gap:12px}.notice-item{padding:18px 21px;border:1px solid var(--line);border-radius:13px;background:#fff;display:flex;gap:13px}.notice-item strong{font-size:14px}.notice-item p{margin:5px 0 0;color:var(--muted);font-size:13px}.notice-item time{margin-left:auto;color:#90a3b2;font-size:12px;white-space:nowrap}.chart{height:210px;border-bottom:1px solid var(--line);display:flex;align-items:end;justify-content:space-around;gap:13px;padding:15px 10px 0}.bar-group{height:100%;width:42px;display:flex;align-items:end;gap:4px;position:relative}.bar{width:18px;border-radius:5px 5px 0 0;background:#c4dbf8}.bar.greenbar{background:#31bea1}.chart-labels{display:flex;justify-content:space-around;color:#8194a3;font-size:11px;margin-top:10px}.legend{display:flex;gap:16px;color:#698196;font-size:12px}.legend span{display:flex;gap:7px;align-items:center}.legend i{width:9px;height:9px;background:#c4dbf8;border-radius:2px}.legend .lg-green{background:#31bea1}.route-list{padding:0 24px}.route-row{padding:19px 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:15px}.route-row:first-child{border:0}.route-row .round{background:#e9f6f2;border-radius:10px;color:#18a587;width:40px;height:40px;display:grid;place-items:center}.route-row strong{display:block;font-size:14px}.route-row small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.route-row .status{margin-left:auto}.subhead{font:800 14px Manrope,sans-serif;margin:0 0 15px}.stop-timeline{padding:4px 0 0 5px}.timeline-point{position:relative;padding:0 0 24px 29px;border-left:2px solid #d9e7e8;margin-left:8px}.timeline-point:last-child{border-left-color:transparent;padding-bottom:0}.timeline-point:before{content:"";width:12px;height:12px;border-radius:50%;border:3px solid #2eb99d;background:white;position:absolute;left:-8px;top:0}.timeline-point strong{display:block;font-size:13px}.timeline-point small{color:var(--muted);font-size:12px}.settings-list{display:grid;gap:13px}.setting-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:13px;font-size:13px}.setting-row span{color:var(--muted)}.setting-row strong{color:#223c56}.toast{position:fixed;bottom:25px;right:25px;background:#153f54;color:white;padding:13px 18px;border-radius:11px;box-shadow:0 8px 30px #0c213244;font-size:13px;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s;z-index:5}.toast.show{opacity:1;transform:translateY(0)}@media(max-width:1100px){.two-col,.booking-grid{grid-template-columns:1fr}.four-col{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.sidebar{position:fixed;z-index:4;left:-270px;transition:left .2s}.sidebar.open{left:0;box-shadow:20px 0 40px #122b4050}.mobile-menu{display:block}.topbar{justify-content:flex-start;gap:15px}.top-actions{margin-left:auto}.today-label{display:none}.three-col{grid-template-columns:1fr 1fr}}@media(max-width:600px){main{padding:24px 17px 70px}.topbar{height:65px;padding:0 17px}.page-heading{display:block}.date-chip{width:max-content;margin-top:16px}.trip-feature{min-height:340px;padding:23px}.trip-feature h2{font-size:28px}.feature-bottom{align-items:flex-start;flex-direction:column}.feature-meta{gap:10px}.three-col,.four-col{grid-template-columns:1fr}.ticket-visual{padding:0 17px}.ticket-visual .big-time{font-size:24px}.ticket-actions{flex-wrap:wrap}.driver-head{align-items:flex-start;flex-direction:column}.route-progress{overflow-x:auto;min-width:450px}.progress-wrap{overflow-x:auto}.card-pad{padding:20px}.table-head{padding:19px}.notice-item{align-items:flex-start}.notice-item time{font-size:11px}.top-avatar{display:none}}

/* ===== mobile.css ===== */
/* The concept is presented as a phone app at every viewport size. */
html{background:#dce8ef}body{background:#dce8ef;overflow-x:hidden}
.app-shell{display:flex;flex-direction:column;width:100%;max-width:450px;min-height:100dvh;margin:0 auto;background:#f5f8fa;box-shadow:0 0 50px #18385124;position:relative}
.mobile-header{background:#102947;color:#fff;padding:18px 20px 16px;border-radius:0 0 23px 23px;position:relative;z-index:2}
.header-main{display:flex;align-items:center;justify-content:space-between}
.mobile-header .brand{margin:0;padding:0;font-size:22px;gap:10px}
.mobile-header .brand small{font-size:10px;color:#9fb9cc}
.mobile-header .brand-mark{background:#1c4760;width:37px;height:37px}
.mobile-header .icon-button{background:#224563;border:0;color:#e4f4f1;width:41px;height:41px;border-radius:12px}
.header-context{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:23px 0 19px}
.header-context small,.header-context strong{display:block}.header-context small{color:#a8c1d2;font-size:12px;margin-bottom:3px}.header-context strong{font:800 19px Manrope,sans-serif;letter-spacing:-.5px}
.mobile-header .demo-pill{font-size:10px;white-space:nowrap;padding:6px 8px;background:#1d4d58;border-color:#2a6c70}
.mobile-header .demo-pill span{width:6px;height:6px}
.role-switch{display:flex;background:#1d405b;border-radius:11px;padding:4px;margin:0;gap:3px}
.role-switch button{min-height:42px;color:#b6c9d8;font-size:13px;border-radius:8px}
.role-switch button.active{background:#fff;color:#143250}
.workspace{flex:1;min-width:0;width:100%}.screen-label{padding:20px 20px 0;font-size:10px;font-weight:800;letter-spacing:1.5px;color:#70a89e;display:flex;align-items:center;justify-content:space-between}.screen-label span{letter-spacing:0;color:#859aad;font-size:12px;font-weight:600}
main{max-width:none;margin:0;padding:12px 16px calc(105px + env(safe-area-inset-bottom));width:100%}
.bottom-nav{position:sticky;bottom:0;z-index:3;display:flex;width:100%;align-items:stretch;justify-content:space-around;background:#fff;border-top:1px solid #dce7ed;box-shadow:0 -6px 24px #25415b0c;padding:6px 4px calc(6px + env(safe-area-inset-bottom));min-height:68px}
.bottom-nav button{flex:1;min-width:0;background:transparent;border:0;border-radius:10px;color:#8495a7;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:6px 2px;font-size:10px;font-weight:800;line-height:1.15;min-height:51px}
.bottom-nav button .icon{width:20px;height:20px}.bottom-nav button.active{color:#0b9e83;background:#eaf8f3}.bottom-nav button span{text-align:center}
.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);max-width:450px}
.app-shell.is-editing .bottom-nav{display:none}
.app-shell.is-editing main{padding-bottom:24px}
.app-shell input:focus,.app-shell textarea:focus{outline:3px solid #58bbbd;outline-offset:2px;scroll-margin-bottom:24px}
.app-shell input,.app-shell textarea{font-size:16px}
.page-heading{display:block;margin:7px 0 22px}.page-heading h1{font-size:clamp(25px,7vw,32px);line-height:1.18;letter-spacing:-1px}.page-heading p{font-size:14px;line-height:1.45;margin-top:7px}.eyebrow{font-size:10px;letter-spacing:1.5px}.date-chip{display:inline-flex;width:auto;margin-top:14px;font-size:12px;padding:9px 11px;max-width:100%;white-space:normal}
.grid,.two-col,.three-col,.four-col,.booking-grid{grid-template-columns:1fr!important;gap:14px}.grid.two-col .grid.two-col{gap:14px}.card{border-radius:15px;box-shadow:0 4px 18px #22476309}.card-pad{padding:20px}.card-title{font-size:16px}.card-sub{font-size:13px}.section-title{font-size:16px;margin:25px 0 13px}
.trip-feature{min-height:320px;border-radius:17px;padding:24px}.trip-feature:after{right:-160px;bottom:-170px;width:330px;height:330px}.trip-feature h2{font-size:29px}.feature-top{align-items:center}.feature-day{font-size:11px}.feature-bottom{align-items:flex-start;flex-direction:column;gap:9px}.feature-meta{font-size:12px}.primary-btn,.light-btn,.outline-btn{min-height:47px;font-size:13px}.trip-feature .primary-btn{width:100%}.trip-card{padding:20px;gap:19px}.trip-card-head .card-title{margin-top:11px}.trip-detail{padding-top:15px}.mini-route{font-size:14px}.mini-route .line{min-width:20px}
.activity-list{padding:0 19px}.activity-row{gap:10px}.activity-row time{font-size:11px}.activity-row strong{font-size:13px}.activity-row p{font-size:12px}
.segmented{display:flex;width:100%;overflow:auto;scrollbar-width:none;margin-bottom:16px}.segmented::-webkit-scrollbar{display:none}.segmented button{flex:1;min-height:42px;padding:8px 10px;font-size:12px}.booking-grid{display:grid;margin-top:0}.booking-option{padding:14px;gap:10px;min-height:69px}.booking-option .status{font-size:10px;padding:5px 7px}.booking-option small{font-size:11px}.select{min-height:47px}.summary-lines{margin:14px 0}.ticket-card{padding:20px}.ticket-route{font-size:21px}.ticket-visual{height:105px;padding:0 17px}.ticket-visual .big-time{font-size:23px}.ticket-visual .journey-line{margin:0 15px}.ticket-actions{display:flex}.ticket-actions>*{flex:1}.ticket-meta{gap:10px}.info-bar{font-size:12px;line-height:1.5;margin-top:15px;padding:13px}.soft-tag{font-size:10px}
.driver-head{padding:21px;display:block}.driver-head h2{font-size:22px}.driver-head p{line-height:1.45}.driver-head .status{margin-top:17px;white-space:normal}.stop-card{padding:20px}.stop-card h2{font-size:22px}.stop-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stop-actions button{padding:10px 6px;font-size:12px}.passenger-peek{flex-wrap:wrap}.passenger-peek .ghost-btn{margin-left:auto}.progress-wrap{overflow:visible}.route-progress{display:block;min-width:0;margin:21px 3px 5px}.progress-stop{display:flex;align-items:flex-start;gap:11px;text-align:left;padding:0 0 24px 0;min-height:44px}.progress-stop:not(:last-child):before{left:10px;right:auto;top:17px;bottom:-1px;width:3px;height:auto}.progress-dot{flex:none}.progress-stop strong{margin:2px 0 0;font-size:12px;flex:1}.progress-stop small{font-size:11px;margin-top:3px;text-align:right}.progress-stop.current .progress-dot{box-shadow:0 0 0 3px #dff8ef}
.metric-card{padding:19px}.four-col,.three-col{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.metric-value{font-size:25px;margin:9px 0 2px}.metric-label{font-size:11px;min-height:26px}.metric-foot{font-size:10px;line-height:1.35}.metric-icon{width:32px;height:32px}.metric-icon .icon{width:16px;height:16px}.three-col .metric-card:last-child:nth-child(odd){grid-column:1/-1}
.table-head{display:flex;flex-wrap:wrap;padding:18px;gap:8px}.table-head .outline-btn{width:100%}.table-wrap{overflow:visible}.data-table,.data-table tbody,.data-table tr,.data-table td{display:block;width:100%;white-space:normal}.data-table thead{display:none}.data-table tr{border-top:1px solid var(--line);padding:11px 18px}.data-table td{border:0;padding:4px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;text-align:right;font-size:12px}.data-table td:first-child{padding-bottom:9px}.data-table td::before{content:attr(data-label);font-size:11px;color:#8799a9;text-transform:uppercase;letter-spacing:.4px;text-align:left;font-weight:800;flex:none}.data-table td strong{font-size:12px}.data-table tr:hover td{background:transparent}.data-table td .status{margin-left:auto}.data-table td div{justify-content:flex-end}
.notice-list{gap:10px}.notice-item{padding:16px;display:grid;grid-template-columns:34px 1fr;gap:10px}.notice-item time{grid-column:2;margin:0;font-size:11px}.notice-item strong{font-size:13px}.notice-item p{font-size:12px}.chart{height:175px;padding-left:3px;padding-right:3px}.bar-group{width:26px;gap:3px}.bar{width:11px}.chart-labels{font-size:10px}.route-row{gap:8px}.route-row .status{font-size:10px}.setting-row{gap:10px;font-size:12px}.setting-row strong{text-align:right}.toast{left:16px;right:16px;bottom:calc(78px + env(safe-area-inset-bottom));text-align:center;max-width:418px;margin:auto;font-size:12px}
@media(max-width:360px){.mobile-header{padding-left:15px;padding-right:15px}.header-context strong{font-size:17px}.mobile-header .demo-pill{font-size:9px}.trip-feature h2{font-size:26px}.booking-option .status{display:none}}

/* Split authentication experience. It expands on desktop and stays calm on mobile. */
.app-shell.auth-screen{max-width:1080px;background:#fff;box-shadow:0 20px 70px #18385124}
.auth-screen .mobile-header,.auth-screen .bottom-nav{display:none}
.auth-screen .workspace{width:100%}.auth-screen .screen-label{display:none}.auth-screen main{max-width:none;padding:0}
.auth-layout{min-height:100dvh;display:grid;grid-template-columns:minmax(340px,.86fr) minmax(440px,1.14fr);background:#fff}
.auth-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(30px,5vw,68px);color:#fff;background:radial-gradient(circle at 88% 11%,#42a29c 0,#42a29c22 21%,transparent 22%),linear-gradient(145deg,#092d4d 0%,#0b4f69 58%,#096f7a 100%)}
.auth-hero:before{content:"";position:absolute;width:390px;height:390px;border:1px solid #b7f0e744;border-radius:50%;right:-210px;bottom:-190px;z-index:-1}.auth-hero:after{content:"";position:absolute;width:180px;height:180px;border:1px solid #9ce8dc44;border-radius:50%;right:23%;top:28%;z-index:-1}
.auth-brand{display:flex;align-items:center;gap:13px;font:800 22px Manrope,sans-serif;letter-spacing:-.7px}.auth-brand>span:last-child small{display:block;margin-top:2px;color:#a5d1d6;font:600 10px Manrope,sans-serif;letter-spacing:1.3px;text-transform:uppercase}.auth-mark{width:49px;height:49px;border-radius:15px;display:grid;place-items:center;background:#e2faf2;color:#0c5c70;font:800 29px Manrope,sans-serif;letter-spacing:-4px;padding-right:4px;box-shadow:0 10px 24px #001b2a24}.auth-mark span{color:#e87f70}
.auth-hero-copy{max-width:390px;margin:30px 0}.auth-eyebrow{color:#73dfc9;font-size:10px;font-weight:800;letter-spacing:1.8px}.auth-hero-copy h1{font:800 clamp(34px,4vw,53px)/1.08 Manrope,sans-serif;letter-spacing:-2px;margin:17px 0 15px}.auth-hero-copy p{max-width:330px;color:#c8e0e4;font-size:15px;line-height:1.6;margin:0}
.auth-benefits{display:grid;gap:15px;max-width:390px}.auth-benefits>div{display:flex;align-items:center;gap:12px}.auth-benefits b{width:30px;height:30px;border:1px solid #80e2ce66;border-radius:9px;display:grid;place-items:center;color:#8aead5;font-size:10px}.auth-benefits strong,.auth-benefits small{display:block}.auth-benefits strong{font-size:13px}.auth-benefits small{margin-top:3px;color:#a9ccd2;font-size:11px}.auth-hero-footer{margin:30px 0 0;color:#a9ccd2;font-size:11px;letter-spacing:.5px}
.auth-panel{align-self:center;width:100%;max-width:610px;padding:clamp(28px,6vw,80px) clamp(20px,7vw,88px);margin:0 auto}.auth-panel-head{margin-bottom:26px}.auth-panel-head h1{color:#122f4a;font:800 clamp(28px,3vw,40px)/1.12 Manrope,sans-serif;letter-spacing:-1.4px;margin:9px 0 9px}.auth-panel-head p{color:#718699;font-size:14px;line-height:1.5;margin:0}.auth-form-stack{display:grid;gap:15px}.auth-form{display:grid;gap:14px;padding:22px;border:1px solid #dfe9ed;border-radius:17px;background:#fff;box-shadow:0 8px 24px #1838510b}.auth-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:2px}.auth-form-heading span{display:block;color:#45a792;font-size:9px;font-weight:800;letter-spacing:1.4px}.auth-form-heading h2{color:#183c57;font:800 19px Manrope,sans-serif;letter-spacing:-.4px;margin:6px 0 0}.auth-form-heading i{width:30px;height:30px;border-radius:9px;background:#eaf8f4;color:#15977d;display:grid;place-items:center;font-style:normal;font-weight:800}.auth-form .form-field{display:grid;gap:7px}.auth-form .form-field label{color:#5f788d;font-size:11px;font-weight:800;letter-spacing:.3px}.auth-form .form-field input,.auth-form .form-field select{width:100%;min-height:45px;border:1px solid #cfdee5;border-radius:10px;padding:10px 12px;background:#fbfdfe;color:#173a54;font-size:14px;outline-color:#55bba8}.auth-form .form-field input::placeholder{color:#a1b1bd}.auth-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.auth-submit{min-height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 15px!important}.auth-submit span{font-size:19px;line-height:1}.auth-divider{display:flex;align-items:center;gap:11px;color:#91a1ad;font-size:11px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e2eaee;flex:1}.auth-legal{margin:20px 2px 0;color:#91a1ad;font-size:11px;line-height:1.5}.auth-signup{background:#f9fcfc;box-shadow:none}
@media(max-width:720px){.app-shell.auth-screen{max-width:450px;box-shadow:none}.auth-layout{display:block;min-height:100dvh}.auth-hero{min-height:300px;padding:26px 21px 25px}.auth-hero-copy{margin:26px 0 22px}.auth-hero-copy h1{font-size:31px;letter-spacing:-1.1px;margin:10px 0 8px}.auth-hero-copy p{font-size:13px;line-height:1.45;max-width:305px}.auth-benefits{display:none}.auth-hero-footer{margin:0;font-size:10px}.auth-panel{padding:27px 17px 36px}.auth-panel-head{margin-bottom:19px}.auth-panel-head h1{font-size:28px}.auth-panel-head p{font-size:13px}.auth-form{padding:18px;border-radius:14px}.auth-form-row{grid-template-columns:1fr}.auth-form-heading h2{font-size:18px}}

/* ===== cuc.css ===== */
:root{--navy:#12375d;--navy2:#0d2947;--ink:#173654;--muted:#697e91;--line:#e4e8eb;--bg:#f8f7f3;--teal:#b8954c;--mint:#f8f0df;--blue:#285f8c;--bluebg:#e8f0f6}
html,body{background:#e3e7e9}.app-shell{background:#faf9f6}.mobile-header{background:#fff;color:#143a62;border-bottom:3px solid #c8a453;box-shadow:0 5px 20px #1736500c}.header-main{align-items:center;min-height:90px}.university-brand{display:flex;align-items:center;min-width:0;gap:0}.cuc-logo-window{width:204px;height:83px;position:relative;overflow:hidden;flex:none;background:white}.cuc-logo-window img{position:absolute;display:block;max-width:none;width:204px;height:204px;left:0;top:-67px}.university-brand>span{font:800 13px Manrope,sans-serif;line-height:1.1;border-left:1px solid #d8dfdf;padding-left:8px;margin-left:3px;white-space:nowrap}.university-brand>span small{display:block;font:600 9px Manrope,sans-serif;color:#8b784c;margin-top:4px}.mobile-header .icon-button{background:#f3f0e7;color:#173b61;flex:none}.mobile-header .icon-button i{background:#c69e48}.header-context{margin:4px 0 16px}.header-context small{color:#71879b}.header-context strong{color:#17395a}.mobile-header .demo-pill{background:#f9f2e3;color:#816123;border-color:#e7d4a1}.mobile-header .demo-pill span{background:#c59e4c}.role-switch{background:#eef1f2}.role-switch button{color:#5f7690}.role-switch button.active{background:#153d63;color:#fff;box-shadow:0 2px 9px #0d315827}.screen-label{color:#a27f39}.bottom-nav button.active{background:#f8f0df;color:#73561f}.bottom-nav{border-top-color:#e9e2d1}.card{background:#fff}.trip-feature{background:linear-gradient(150deg,#153e66 0%,#0c2b4c 100%)}.trip-feature:after{border-color:#315f7c}.feature-label,.soft-tag{color:#f2cf77}.trip-feature .soft-tag{background:#2d5572;color:#f6d682}.soft-tag .dot{background:#e5bd5c}.primary-btn{background:#dfba62;color:#183a59}.primary-btn:hover{background:#efcd79}.feature-seat{color:#e0c98d}.icon-tile,.metric-icon{background:#f8f0dd;color:#a47d2d}.activity-icon{background:#f7f0df;color:#967329}.info-bar{background:#f6f1e8;border-color:#e8dcc4;color:#6b573b}.info-bar .icon{color:#a98138}.booking-option.selected{border-color:#c09a49;background:#fffaf0}.selected .radio-ring{border-color:#b48b39}.selected .radio-ring:after{background:#b48b39}.progress-stop.passed .progress-dot{background:#c9a24f;border-color:#c9a24f}.progress-stop.current .progress-dot{border-color:#c6a04e;box-shadow:0 0 0 3px #f6ecd5}.progress-stop.passed:not(:last-child):before{background:#cba756}.timeline-point:before{border-color:#bd9550}.status.green{background:#e6f5ed;color:#188763}.metric-value{color:#17395b}.bar.greenbar{background:#c9a24f}.toast{background:#153d61}
.assignment-form,.time-form{display:grid;gap:14px}.form-field{display:grid;gap:7px}.form-field label,.time-label{font-size:12px;font-weight:800;color:#506b83}.form-field select,.time-form input{width:100%;height:47px;border:1px solid #cdd9e1;border-radius:10px;padding:0 11px;background:#fff;color:#173957;font:600 14px Manrope,sans-serif}.form-field select:focus-visible,.time-form input:focus-visible{outline:3px solid #ead79c;outline-offset:1px}.assignment-summary{border:1px solid #eadbb7;background:#fffaf0;border-radius:12px;padding:14px}.assignment-summary strong{display:block;font-size:13px;color:#173957}.assignment-summary small{display:block;color:#796b53;font-size:12px;line-height:1.5;margin-top:5px}.service-note{font-size:12px;color:#718599;line-height:1.5}.assigned-list{display:grid;gap:10px}.assigned-item{border:1px solid #e2e8ed;border-radius:12px;padding:13px;display:flex;gap:10px;align-items:center}.assigned-item>div:nth-child(2){flex:1;min-width:0}.assigned-item strong{display:block;font-size:13px}.assigned-item small{display:block;font-size:12px;line-height:1.4;color:#74879a;margin-top:4px}.assigned-item button{border:0;background:#f6f0e4;color:#785c28;border-radius:8px;padding:8px;font-size:11px;font-weight:800}.time-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f2}.time-row:last-child{border:0}.time-row>span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#f4e7c9;color:#735a29;font-size:12px;font-weight:800;flex:none}.time-row label{flex:1;font-size:13px;font-weight:700;color:#23445f}.time-row input{width:103px;height:42px;padding:0 5px;text-align:center}.time-row small{display:block;color:#899bab;font-size:11px;font-weight:500;margin-top:3px}.route-times{border-top:1px solid #e7ecee;margin-top:15px}.assignment-highlight{background:#f8f1e3;border:1px solid #e8d7ae;border-radius:13px;padding:16px;margin-bottom:14px}.assignment-highlight strong{display:block;color:#173b60;font-size:16px}.assignment-highlight p{margin:6px 0 0;color:#685b45;font-size:12px;line-height:1.5}.mini-details{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mini-details span{display:block;color:#7d90a0;font-size:11px}.mini-details strong{display:block;color:#173957;font-size:13px;margin-top:3px}.trip-feature .feature-meta span{align-items:flex-start}
@media(max-width:390px){.cuc-logo-window{width:177px;height:74px}.cuc-logo-window img{width:177px;height:177px;top:-58px}.university-brand>span{font-size:12px}.university-brand>span small{font-size:8px}.header-main{min-height:77px}.mobile-header .icon-button{width:36px;height:36px}}

/* ===== themes.css ===== */
/* CUC mark stays intact; passengers, drivers, and admins choose one of two light interfaces. */
.theme-trigger{border:1px solid #d5dfeb;background:#fff;border-radius:10px;min-height:39px;padding:0 14px;color:#173b61;font-size:12px;font-weight:800;box-shadow:0 2px 8px #12375d0d;flex:none}.theme-trigger:before{content:"◐";font-size:17px;vertical-align:-1px;margin-right:7px;color:#b79347}.theme-trigger:focus-visible,.theme-options button:focus-visible{outline:3px solid #c0a360;outline-offset:2px}.theme-panel{margin-top:14px;border:1px solid #dce5ec;border-radius:15px;padding:15px;background:#fff;box-shadow:0 10px 28px #12375d14}.theme-panel[hidden]{display:none}.theme-panel-heading strong,.theme-panel-heading small{display:block}.theme-panel-heading strong{font:800 15px Manrope,sans-serif;color:#173b61}.theme-panel-heading small{font-size:11px;color:#72869a;margin-top:3px}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.theme-options button{background:#fff;border:2px solid #e2e9ef;border-radius:12px;padding:9px;text-align:left;min-width:0}.theme-options button.active{border-color:#173b61;box-shadow:0 0 0 2px #d8e4ed}.theme-options button strong,.theme-options button small{display:block}.theme-options button strong{font-size:12px;color:#173b61;margin:8px 0 2px}.theme-options button small{font-size:11px;color:#75889b}.theme-preview{height:48px;border-radius:7px;display:flex;align-items:end;gap:3px;padding:6px}.theme-preview i{display:block;height:24px;flex:1;border-radius:4px;background:#fff}.theme-preview i:nth-child(2){height:30px}.theme-preview i:nth-child(3){height:17px}.campus-preview{background:linear-gradient(130deg,#316bdb,#d5f7ff)}.campus-preview i:nth-child(2){background:#c9f42a}.city-preview{background:linear-gradient(130deg,#b8f7fc,#ffe1dc)}.city-preview i:nth-child(2){background:#10b6cc}.city-preview i:nth-child(3){background:#fb9a90}.theme-panel p{color:#856c3c;font-size:11px;line-height:1.4;margin:12px 1px 0}

html[data-theme="campus-light"]{--bg:#eff7ff;--ink:#102e57;--muted:#617b9d;--line:#dce9f4;--teal:#245fd1;--mint:#e9f5ff;--blue:#245fd1;--bluebg:#eaf2ff}
html[data-theme="campus-light"] body,html[data-theme="campus-light"] .app-shell{background:#f1f8ff}
html[data-theme="campus-light"] .mobile-header{background:linear-gradient(180deg,#fff 15%,#e8f4ff 100%);border-bottom-color:#c8a453}
html[data-theme="campus-light"] .role-switch{background:#dceafb}
html[data-theme="campus-light"] .role-switch button.active{background:#174ec1;color:#fff}
html[data-theme="campus-light"] .screen-label{color:#245cca}
html[data-theme="campus-light"] .trip-feature{background:linear-gradient(135deg,#d6ecff 0%,#eff9ff 65%,#fff 100%);color:#0d3268;border:1px solid #c1def9;box-shadow:0 12px 27px #245dc31a}
html[data-theme="campus-light"] .trip-feature:after{border-color:#acd2fb;opacity:.3}
html[data-theme="campus-light"] .trip-feature h2,html[data-theme="campus-light"] .feature-label{color:#114dba}
html[data-theme="campus-light"] .feature-meta,html[data-theme="campus-light"] .feature-day,html[data-theme="campus-light"] .feature-seat{color:#315b8d}
html[data-theme="campus-light"] .trip-feature .soft-tag{background:#d4f57a;color:#1d4757}
html[data-theme="campus-light"] .soft-tag .dot{background:#337b68}
html[data-theme="campus-light"] .primary-btn{background:#c9f32d;color:#15335c;border-color:#b7e919}
html[data-theme="campus-light"] .primary-btn:hover{background:#ddff64}
html[data-theme="campus-light"] .bottom-nav button.active{background:#e3f0ff;color:#174fc1}
html[data-theme="campus-light"] .icon-tile,html[data-theme="campus-light"] .metric-icon,html[data-theme="campus-light"] .activity-icon{background:#e3f1ff;color:#245fc9}
html[data-theme="campus-light"] .booking-option.selected{border-color:#3670d7;background:#f4f9ff}
html[data-theme="campus-light"] .selected .radio-ring{border-color:#2764cd}
html[data-theme="campus-light"] .selected .radio-ring:after{background:#2764cd}
html[data-theme="campus-light"] .info-bar{background:#e9f4ff;border-color:#d2e7fc;color:#315d89}
html[data-theme="campus-light"] .info-bar .icon{color:#2b69c2}
html[data-theme="campus-light"] .driver-head{background:#e2f1ff;color:#153c71;border:1px solid #cae2f7}
html[data-theme="campus-light"] .driver-head p{color:#506f99}
html[data-theme="campus-light"] .driver-head .eyebrow{color:#2764bd!important}
html[data-theme="campus-light"] .progress-stop.current .progress-dot{border-color:#245fc9;box-shadow:0 0 0 3px #d7eaff}
html[data-theme="campus-light"] .progress-stop.passed .progress-dot{background:#245fc9;border-color:#245fc9}
html[data-theme="campus-light"] .progress-stop.passed:not(:last-child):before{background:#245fc9}
html[data-theme="campus-light"] .timeline-point:before{border-color:#3671d7}
html[data-theme="campus-light"] .bar.greenbar{background:#3977d8}
html[data-theme="campus-light"] .assignment-highlight{background:#edf6ff;border-color:#c9e2fa}
html[data-theme="campus-light"] .assignment-highlight p{color:#4e6b8f}
html[data-theme="campus-light"] .assignment-summary{background:#f3f9ff;border-color:#cee4fa}
html[data-theme="campus-light"] .time-row>span{background:#e0efff;color:#1d5ab5}
html[data-theme="campus-light"] .assigned-item button{background:#e8f2ff;color:#2058a9}

html[data-theme="city-light"]{--bg:#f1fbfd;--ink:#122d49;--muted:#627d8d;--line:#d9e9ed;--teal:#078fa7;--mint:#e5f8fa;--blue:#078fa7;--bluebg:#e3f7fa}
html[data-theme="city-light"] body,html[data-theme="city-light"] .app-shell{background:#f3fbfc}
html[data-theme="city-light"] .mobile-header{background:linear-gradient(180deg,#fff 10%,#edfaff 100%);border-bottom-color:#c8a453}
html[data-theme="city-light"] .role-switch{background:#e0f2f5}
html[data-theme="city-light"] .role-switch button.active{background:#137f9c;color:#fff}
html[data-theme="city-light"] .screen-label{color:#078da4}
html[data-theme="city-light"] .trip-feature{background:linear-gradient(135deg,#d6f6fa 0%,#eefaff 64%,#fff4ef 100%);color:#123653;border:1px solid #bfe9f0;box-shadow:0 12px 28px #0b8aab17}
html[data-theme="city-light"] .trip-feature:after{border-color:#8fdae4;opacity:.24}
html[data-theme="city-light"] .trip-feature h2,html[data-theme="city-light"] .feature-label{color:#0e6886}
html[data-theme="city-light"] .feature-meta,html[data-theme="city-light"] .feature-day,html[data-theme="city-light"] .feature-seat{color:#3b6d80}
html[data-theme="city-light"] .trip-feature .soft-tag{background:#fff0e9;color:#96525d}
html[data-theme="city-light"] .soft-tag .dot{background:#e26a74}
html[data-theme="city-light"] .primary-btn{background:linear-gradient(100deg,#8cebf0,#ffd0c3);color:#15334c;border-color:#a6dfe1}
html[data-theme="city-light"] .primary-btn:hover{background:linear-gradient(100deg,#b3f6f7,#ffdfd4)}
html[data-theme="city-light"] .bottom-nav button.active{background:#e1f8fa;color:#087e98}
html[data-theme="city-light"] .icon-tile,html[data-theme="city-light"] .metric-icon,html[data-theme="city-light"] .activity-icon{background:#e0f7fa;color:#0689a4}
html[data-theme="city-light"] .booking-option.selected{border-color:#0aa1b9;background:#f2fcfd}
html[data-theme="city-light"] .selected .radio-ring{border-color:#099db3}
html[data-theme="city-light"] .selected .radio-ring:after{background:#099db3}
html[data-theme="city-light"] .info-bar{background:#e8f8f9;border-color:#cdebef;color:#3b7281}
html[data-theme="city-light"] .info-bar .icon{color:#078ca2}
html[data-theme="city-light"] .driver-head{background:#def5f9;color:#123f58;border:1px solid #bde7ed}
html[data-theme="city-light"] .driver-head p{color:#467083}
html[data-theme="city-light"] .driver-head .eyebrow{color:#0a839b!important}
html[data-theme="city-light"] .progress-stop.current .progress-dot{border-color:#10a8bd;box-shadow:0 0 0 3px #d7f4f6}
html[data-theme="city-light"] .progress-stop.passed .progress-dot{background:#0ca6bb;border-color:#0ca6bb}
html[data-theme="city-light"] .progress-stop.passed:not(:last-child):before{background:#0ca6bb}
html[data-theme="city-light"] .timeline-point:before{border-color:#0b9eb1}
html[data-theme="city-light"] .bar.greenbar{background:#10aec0}
html[data-theme="city-light"] .assignment-highlight{background:#edfafa;border-color:#c8e9ee}
html[data-theme="city-light"] .assignment-highlight p{color:#477580}
html[data-theme="city-light"] .assignment-summary{background:#f2fbfc;border-color:#cfe9ec}
html[data-theme="city-light"] .time-row>span{background:#ddf5f7;color:#087d96}
html[data-theme="city-light"] .assigned-item button{background:#e1f8fa;color:#087a91}

/* ===== illustrated.css ===== */
.illustrated-preview{background:linear-gradient(120deg,#e0fbff,#fce3d9)}.illustrated-preview i:first-child{background:#72dcd9}.illustrated-preview i:nth-child(2){background:#fff}.illustrated-preview i:nth-child(3){background:#ff918d}
.theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.theme-options button{padding:7px}.theme-options button strong{font-size:11px}.theme-options button small{font-size:10px}
.app-shell[data-page="home"] .screen-label{display:none}.app-shell[data-page="home"] main{padding-top:0}
.bus-hero{height:226px;margin:0 -16px;overflow:hidden;background:#d9f5f9}.bus-hero img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 58%}
.stop-status-card{position:relative;margin:-23px 0 18px;padding:21px;border:1px solid #e0eef0;background:#fff;border-radius:24px;box-shadow:0 13px 30px #15516818}.stop-status-top{display:flex;align-items:flex-start;gap:12px}.stop-status-icon{width:48px;height:48px;display:grid;place-items:center;flex:none;border-radius:16px;background:#e5f9f8;color:#df6a72}.stop-status-icon .icon{width:25px;height:25px;stroke-width:2.3}.stop-status-text{flex:1;min-width:0}.stop-status-text small{display:block;letter-spacing:1.5px;font-size:10px;font-weight:800;color:#668898}.stop-status-text h1{font:800 24px/1.2 Manrope,sans-serif;margin:4px 0;color:#12375d;letter-spacing:-.8px}.stop-status-text p{font-size:12px;line-height:1.45;color:#6a8393;margin:0}.expected-pill{display:inline-flex;gap:5px;align-items:center;margin-top:15px;padding:8px 10px;background:#edf9fa;color:#315f73;border-radius:10px;font-size:12px;font-weight:800}.expected-pill .icon{width:15px;height:15px}.stop-status-details{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e8f0f2;padding-top:14px;margin-top:15px;color:#728998;font-size:11px}.stop-status-details strong{color:#183d5c;font-size:12px}.journey-progress{background:#fff;border:1px solid #e5eef0;border-radius:20px;padding:18px 16px;box-shadow:0 5px 17px #204b6010}.journey-progress h2{font:800 15px Manrope,sans-serif;color:#183f5e;margin:0 0 16px}.journey-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.journey-step{position:relative;text-align:center;min-width:0;padding:0 4px}.journey-step:not(:last-child):before{content:"";position:absolute;left:50%;right:-50%;top:12px;height:3px;background:#dce6e9}.journey-step.done:not(:last-child):before{background:#f18a84}.journey-step .step-dot{position:relative;z-index:1;width:26px;height:26px;border:5px solid #d6e1e6;border-radius:50%;background:#fff;display:inline-grid;place-items:center}.journey-step.done .step-dot{background:#f18a84;border-color:#f18a84;color:#fff}.journey-step.current .step-dot{border-color:#54ceca;box-shadow:0 0 0 4px #e3f8f6}.journey-step strong{display:block;margin-top:10px;color:#193e5d;font-size:11px;line-height:1.25;overflow-wrap:anywhere}.journey-step small{display:block;color:#7e92a0;font-size:10px;margin-top:3px}.boarding-cta{width:100%;border:0;border-radius:19px;background:linear-gradient(100deg,#59dfd1,#88d7cc 48%,#ff928c);color:#133754;box-shadow:0 8px 22px #50c9be3d;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 19px;margin:16px 0;font-size:19px;font-weight:800}.boarding-cta .icon{width:26px;height:26px;stroke-width:2.2}.boarding-cta span{flex:1;text-align:left}.boarding-cta:disabled{opacity:.55;cursor:not-allowed}.boarding-help{color:#748a97;font-size:11px;text-align:center;margin:-7px 0 16px}.return-preview{background:#fff;border:1px solid #e4edf0;border-radius:20px;padding:18px;display:flex;align-items:center;gap:13px;box-shadow:0 5px 17px #204b6010;width:100%;color:#173958;text-align:left}.return-preview-icon{width:46px;height:46px;border-radius:15px;background:#e9f8f7;color:#e4777d;display:grid;place-items:center;flex:none}.return-preview-icon .icon{width:24px;height:24px}.return-preview-content{flex:1;min-width:0}.return-preview-content strong{display:block;font:800 15px Manrope,sans-serif}.return-preview-content small{display:block;color:#708795;font-size:11px;line-height:1.4;margin-top:4px}.return-preview-time{display:block;color:#0d607c;font-size:14px;font-weight:800;margin-top:7px}.return-preview>.icon{width:18px;height:18px;color:#8699a6}.home-booking-note{margin-top:16px;font-size:11px;color:#80949e;line-height:1.45}
html[data-theme="illustrated-light"]{--bg:#f2fbfc;--ink:#153654;--muted:#6d8490;--line:#dcebed;--teal:#0b8fa6;--mint:#e6f8f7;--blue:#0b8fa6;--bluebg:#e5f7f8}
html[data-theme="illustrated-light"] body,html[data-theme="illustrated-light"] .app-shell{background:#f4fbfc}
html[data-theme="illustrated-light"] .mobile-header{background:linear-gradient(180deg,#fff,#eaf9fc);border-bottom-color:#d0a954}
html[data-theme="illustrated-light"] .role-switch{background:#e1f3f6}
html[data-theme="illustrated-light"] .role-switch button.active{background:#0c7494;color:white}
html[data-theme="illustrated-light"] .screen-label{color:#0b8fa6}
html[data-theme="illustrated-light"] .card{border-radius:20px;box-shadow:0 5px 18px #1b647012}
html[data-theme="illustrated-light"] .primary-btn{background:linear-gradient(100deg,#6ce4d4,#ffaaa0);color:#123753;border-color:#8adbd3}
html[data-theme="illustrated-light"] .primary-btn:hover{background:linear-gradient(100deg,#a3f3e6,#ffc9bf)}
html[data-theme="illustrated-light"] .bottom-nav button.active{background:#e7f8f8;color:#dc696e}
html[data-theme="illustrated-light"] .icon-tile,html[data-theme="illustrated-light"] .metric-icon,html[data-theme="illustrated-light"] .activity-icon{background:#e2f8f8;color:#0a90a7}
html[data-theme="illustrated-light"] .booking-option.selected{border-color:#54cbca;background:#f2fcfb}
html[data-theme="illustrated-light"] .selected .radio-ring{border-color:#0d9bb0}
html[data-theme="illustrated-light"] .selected .radio-ring:after{background:#0d9bb0}
html[data-theme="illustrated-light"] .info-bar{background:#eaf9f9;border-color:#cdebed;color:#3c7181}
html[data-theme="illustrated-light"] .info-bar .icon{color:#0d92a7}
html[data-theme="illustrated-light"] .driver-head{background:#e2f7f8;color:#153d5b;border:1px solid #bfe9ec}
html[data-theme="illustrated-light"] .driver-head p{color:#477b87}
html[data-theme="illustrated-light"] .driver-head .eyebrow{color:#0b879b!important}
html[data-theme="illustrated-light"] .progress-stop.current .progress-dot{border-color:#43c6c5;box-shadow:0 0 0 3px #d9f6f4}
html[data-theme="illustrated-light"] .progress-stop.passed .progress-dot{background:#f18a84;border-color:#f18a84}
html[data-theme="illustrated-light"] .progress-stop.passed:not(:last-child):before{background:#f18a84}
html[data-theme="illustrated-light"] .timeline-point:before{border-color:#3fc3c0}
html[data-theme="illustrated-light"] .bar.greenbar{background:#40c5c2}
html[data-theme="illustrated-light"] .assignment-highlight{background:#eafafa;border-color:#c9eced}
html[data-theme="illustrated-light"] .assignment-highlight p{color:#4b7782}
html[data-theme="illustrated-light"] .assignment-summary{background:#f1fbfb;border-color:#d0ecee}
html[data-theme="illustrated-light"] .time-row>span{background:#ddf7f6;color:#0d8299}
html[data-theme="illustrated-light"] .assigned-item button{background:#e4f8f8;color:#0a7f96}
html[data-theme="campus-light"] .boarding-cta{background:#c9f32d;color:#15335c;box-shadow:0 8px 21px #a9d62c3d}
html[data-theme="campus-light"] .journey-step.done .step-dot{background:#3977d8;border-color:#3977d8}
html[data-theme="campus-light"] .journey-step.done:not(:last-child):before{background:#3977d8}
html[data-theme="city-light"] .boarding-cta{background:linear-gradient(100deg,#78e3e9,#ffc3b8);color:#15334c}
@media(max-width:360px){.bus-hero{height:206px}.stop-status-card{padding:17px}.stop-status-text h1{font-size:21px}.boarding-cta{font-size:17px}}

/* ===== platform.css ===== */
/* Mashwar owner space uses its own brand. University spaces keep their own identity. */
.mashwar-mark{width:51px;height:51px;border-radius:16px;background:#0e3f62;color:#fff;display:grid;place-items:center;font:800 30px Manrope,sans-serif;letter-spacing:-3px;box-shadow:0 8px 20px #164e6b24;flex:none;padding-right:4px}.mashwar-mark span{color:#fb9b87}.mashwar-mark[hidden],.cuc-logo-window[hidden]{display:none!important}
.owner-brand{gap:12px}.owner-brand>span{border:0;padding:0;margin:0;font-size:23px;letter-spacing:-1px}.owner-brand>span small{font-size:10px;letter-spacing:.1px;color:#64859a}
.other-tenant>span{border:0;padding:0;margin:0;font-size:19px;white-space:normal}.other-tenant>span small{font-size:10px}
.role-switch{gap:3px}.role-switch button{font-size:12px;white-space:nowrap;padding:8px 3px}
.owner-banner{position:relative;overflow:hidden;min-height:274px;border-radius:24px;background:radial-gradient(circle at 88% 5%,#3c9ab0 0,#1d647d 35%,transparent 36%),linear-gradient(140deg,#0d3d60,#0b5268 72%,#117282);color:#fff;padding:27px 24px;display:flex;align-items:flex-end;box-shadow:0 16px 34px #134e6827}.owner-banner:after{content:"";position:absolute;width:260px;height:260px;border:1px solid #b4edf451;border-radius:50%;right:-94px;top:-114px}.owner-banner>div:first-child{position:relative;z-index:1;max-width:310px}.owner-kicker{font-size:11px;font-weight:800;letter-spacing:1.4px;color:#8eede0}.owner-banner h1{font:800 clamp(29px,8vw,38px)/1.12 Manrope,sans-serif;letter-spacing:-1.4px;margin:16px 0 11px}.owner-banner p{font-size:14px;line-height:1.5;color:#d3edf1;max-width:278px}.owner-orbit{position:absolute;right:26px;top:25px;width:74px;height:74px;border:1px solid #b1eceb73;border-radius:50%;display:grid;place-items:center;transform:rotate(-14deg)}.owner-orbit span{font:800 26px Manrope,sans-serif;letter-spacing:-3px;color:#a9f0e9}.owner-orbit i{position:absolute;width:11px;height:11px;background:#ffb9a7;border-radius:50%;right:-4px;top:13px}.owner-orbit i:last-child{width:7px;height:7px;left:4px;bottom:1px;top:auto;background:#74e1d6}
.master-intro{display:flex;align-items:end;justify-content:space-between;gap:13px;margin:25px 1px 14px}.master-intro h2{font:800 21px Manrope,sans-serif;letter-spacing:-.6px;color:#143c59}.master-intro p{font-size:13px;line-height:1.4;color:#627f8d;margin-top:4px}.master-intro .primary-btn{flex:none;min-height:40px;padding:8px 11px;font-size:12px;border-radius:10px}
.university-list{display:grid;gap:12px}.university-card{border:1px solid #dbe8e9;background:#fff;border-radius:19px;padding:17px;box-shadow:0 7px 20px #2d666f10}.university-card-top{display:flex;align-items:center;gap:12px}.tenant-emblem{width:49px;height:49px;border-radius:13px;background:#e6f6f7;display:grid;place-items:center;overflow:hidden;flex:none}.tenant-emblem img{display:block;width:58px;height:58px;object-fit:cover;object-position:center}.tenant-emblem strong{color:#0b6378;font-size:17px}.tenant-title{flex:1;min-width:0}.tenant-title strong{display:block;color:#173c55;font-size:15px;line-height:1.3}.tenant-title small{display:block;color:#41859a;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.tenant-title em{font-style:normal;color:#899eaa}.university-card-top .status{flex:none;font-size:11px}.tenant-card-foot{border-top:1px solid #e9eff1;margin-top:16px;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:8px}.tenant-card-foot span{color:#6e8592;font-size:12px;min-width:0;overflow-wrap:anywhere}.tenant-card-foot button{border:0;background:#e8f7f6;color:#106a78;border-radius:9px;padding:9px 10px;font-weight:800;font-size:12px;white-space:nowrap;display:flex;align-items:center;gap:5px}.tenant-card-foot button .icon{width:14px;height:14px}
.platform-note{margin:17px 1px 0;padding:14px;display:flex;align-items:flex-start;gap:9px;border-radius:12px;background:#eaf6f8;color:#4d7180;font-size:13px;line-height:1.5}.platform-note .icon{width:18px;height:18px;flex:none;color:#1b8ea0;margin-top:1px}
.setup-steps{display:flex;gap:7px;margin:2px 0 18px;overflow:auto}.setup-steps span{white-space:nowrap;border-radius:100px;padding:8px 10px;border:1px solid #dce8ec;color:#8396a0;background:#fff;font-size:12px;font-weight:800}.setup-steps span.selected{background:#ddf5f3;border-color:#aae7de;color:#087585}
.platform-form{display:grid;gap:16px}.platform-form.compact{margin-top:19px}.platform-form .form-field input,.platform-form .form-field textarea{width:100%;border:1px solid #cadde2;border-radius:11px;padding:12px;background:#fff;color:#163a55;font:600 14px Manrope,sans-serif;outline-color:#58bbbd;min-height:47px}.platform-form .form-field textarea{resize:vertical;line-height:1.45}.platform-form .form-field label{font-size:14px}.platform-form .form-field>small{font-size:12px;line-height:1.4;color:#78909b}.platform-form .info-bar{margin:0}.slug-input{display:flex;align-items:center;border:1px solid #cadde2;border-radius:11px;overflow:hidden;background:#eef8f9}.slug-input input{border:0!important;border-radius:0!important;min-width:0;flex:1}.slug-input span{padding:0 11px;color:#357789;font-size:13px;white-space:nowrap}.platform-form .primary-btn{font-size:14px}.demo-disclosure{color:#718a96;font-size:12px;line-height:1.5;margin:0}
.tenant-detail-head{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #ddebee;background:#fff;border-radius:17px;margin-bottom:16px}.tenant-emblem.large{width:60px;height:60px}.tenant-emblem.large img{width:70px;height:70px}.tenant-detail-head>div:nth-child(2){min-width:0;flex:1}.tenant-detail-head>div:nth-child(2) strong{display:block;font-size:15px;color:#1e4d65;overflow-wrap:anywhere}.tenant-detail-head>div:nth-child(2) small{display:block;color:#8297a2;margin-top:4px;font-size:12px}.tenant-open{width:100%;min-height:54px;margin-top:15px;border:0;border-radius:12px;background:#0c6d82;color:#fff;font:800 15px Manrope,sans-serif;display:flex;justify-content:space-between;align-items:center;padding:0 17px}.tenant-open .icon{width:19px}.back-link{margin-top:15px}
.platform-flow{display:grid;gap:10px;margin:17px 0}.platform-flow>div{border:1px solid #dce9eb;background:#fff;padding:15px;border-radius:13px;display:grid;grid-template-columns:35px 1fr;align-items:center;gap:1px 9px}.platform-flow b{grid-row:span 2;width:32px;height:32px;border-radius:9px;background:#dff5f2;color:#107487;display:grid;place-items:center;font-size:12px}.platform-flow strong{font-size:14px;color:#244960}.platform-flow small{font-size:12px;color:#78919c;grid-column:2}
.tenant-context{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:10px 12px;background:#eaf8f9;border:1px solid #d0ecee;border-radius:12px}.tenant-context-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#177f91;color:#fff;font-size:14px;font-weight:800}.tenant-context strong{display:block;font-size:13px;color:#13576a}.tenant-context small{display:block;color:#678b99;font-size:11px;margin-top:2px}.quick-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.quick-row button{padding:8px;font-size:12px}.route-add-toggle{margin:16px 0}.platform-form .card-title{margin-bottom:3px}
.overview-action{width:100%;text-align:left;border:1px solid #d9e9eb;display:grid;gap:6px;color:#1b4d64}.overview-action strong{display:flex;align-items:center;justify-content:space-between;font-size:15px}.overview-action span{font-size:13px;color:#6a8794}.overview-action .icon{width:17px;height:17px}
@media(max-width:390px){.owner-banner{padding:23px 20px;min-height:257px}.owner-orbit{right:18px;top:19px}.owner-banner h1{font-size:30px}.master-intro{align-items:start}.master-intro h2{font-size:19px}.master-intro p{font-size:12px}.tenant-title strong{font-size:14px}.university-card-top{gap:8px}.tenant-emblem{width:42px;height:42px}.tenant-emblem img{width:50px;height:50px}.slug-input span{font-size:12px;padding:0 8px}.role-switch button{font-size:11px}}
#edit-person-form,#edit-route-form,#edit-university-form{margin:16px 0}
[data-edit-university]{margin:0 0 16px}
.platform-form .form-field input,.platform-form .form-field textarea{font-size:16px}
.route-stop-inputs{display:grid;gap:10px}.platform-form .route-stop-inputs input[readonly]{background:#edf7f8;color:#356879}

/* ===== localization.css ===== */
.header-actions{display:flex;gap:7px;align-items:center;flex:none}
.language-trigger{border:1px solid #d5dfeb;background:#fff;color:#16506a;border-radius:10px;min-height:39px;padding:0 11px;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 2px 8px #12375d0d}
.language-trigger:focus-visible{outline:3px solid #79d7d2;outline-offset:2px}
html[dir="rtl"] body,html[dir="rtl"] button,html[dir="rtl"] input,html[dir="rtl"] select,html[dir="rtl"] textarea{font-family:Cairo,Tahoma,sans-serif}
html[dir="rtl"] body{text-align:right}
html[dir="rtl"] .owner-banner h1,html[dir="rtl"] .page-heading h1,html[dir="rtl"] .header-context strong,html[dir="rtl"] .owner-brand>span,html[dir="rtl"] .stop-status-text h1,html[dir="rtl"] .master-intro h2,html[dir="rtl"] .journey-progress h2{font-family:Cairo,Tahoma,sans-serif;letter-spacing:0}
html[dir="rtl"] .owner-banner h1{font-size:31px;line-height:1.45;margin:10px 0 6px}
html[dir="rtl"] .owner-banner{align-items:center}
html[dir="rtl"] .owner-banner p{line-height:1.75}
html[dir="rtl"] .owner-orbit{right:auto;left:22px}
html[dir="rtl"] .page-heading h1{line-height:1.45}
html[dir="rtl"] .page-heading p,html[dir="rtl"] .card-sub,html[dir="rtl"] .platform-note,html[dir="rtl"] .info-bar,html[dir="rtl"] .assignment-highlight p{line-height:1.75}
html[dir="rtl"] .eyebrow,html[dir="rtl"] .screen-label,html[dir="rtl"] .owner-kicker,html[dir="rtl"] .stop-status-text small{letter-spacing:0}
html[dir="rtl"] .header-context strong{font-size:18px}
html[dir="rtl"] .theme-trigger:before{margin:0 0 0 6px}
html[dir="rtl"] .owner-brand>span{font-size:22px}
html[dir="rtl"] .university-brand>span{border-left:0;border-right:1px solid #d8dfdf;padding-left:0;padding-right:8px;margin-left:0;margin-right:3px}
html[dir="rtl"] .owner-brand>span,html[dir="rtl"] .other-tenant>span{border:0;padding:0;margin:0}
html[dir="rtl"] .mashwar-mark{direction:ltr;letter-spacing:-3px}
html[dir="rtl"] .theme-options button,html[dir="rtl"] .overview-action,html[dir="rtl"] .return-preview{text-align:right}
html[dir="rtl"] .boarding-cta span{text-align:right}
html[dir="rtl"] .journey-step:not(:last-child):before{left:-50%;right:50%}
html[dir="rtl"] .role-switch button{line-height:1.4}
html[dir="rtl"] .tenant-title small,html[dir="rtl"] .tenant-detail-head strong{unicode-bidi:plaintext}
html[dir="rtl"] .slug-input{direction:ltr}
html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="time"],html[dir="rtl"] #university-slug{direction:ltr;text-align:left}
html[dir="rtl"] .time-row label{text-align:right}
html[dir="rtl"] .form-field label{font-size:14px}
html[dir="rtl"] .data-table td{text-align:left}
html[dir="rtl"] .data-table td::before{text-align:right}
html[dir="rtl"] .activity-row,html[dir="rtl"] .notice-item{direction:rtl}
html[dir="rtl"] .bottom-nav button{font-size:11px;line-height:1.25}
html[dir="rtl"] .status{white-space:nowrap}
html[dir="rtl"] .stop-status-details{font-size:12px;line-height:1.6}
html[dir="rtl"] .stop-status-text h1{font-size:23px;line-height:1.45}
html[dir="rtl"] .stop-status-card{padding:18px}
html[dir="rtl"] .journey-step strong{font-size:12px;line-height:1.55}
html[dir="rtl"] .home-booking-note,html[dir="rtl"] .boarding-help{font-size:12px;line-height:1.6}
@media(max-width:390px){.header-actions{gap:5px}.language-trigger{padding:0 8px;font-size:11px}.theme-trigger{padding:0 9px;font-size:11px}html[dir="rtl"] .owner-banner h1{font-size:27px}html[dir="rtl"] .owner-banner p{font-size:13px}html[dir="rtl"] .header-context strong{font-size:16px}html[dir="rtl"] .role-switch button{font-size:10px}}

/* ===== redesign.css ===== */
/* The production app uses a responsive Arabic-first design system. */
html[data-mashwar-mode="live"] { --navy:#142d3b; --ink:#172f3d; --muted:#647680; --line:#e0e7e8; --bg:#f5f7f6; --teal:#245b49; background:#e8eeeb; }
html[data-mashwar-mode="live"] body { background:#e8eeeb; color:var(--ink); }
html[data-mashwar-mode="live"] [hidden] { display:none!important; }
html[data-mashwar-mode="live"] .app-shell { max-width:1180px; background:var(--bg); box-shadow:0 0 60px #183e3010; }
html[data-mashwar-mode="live"] button,html[data-mashwar-mode="live"] input,html[data-mashwar-mode="live"] select { font:inherit; }
html[data-mashwar-mode="live"] .mobile-header { border-radius:0; background:#fff; color:var(--ink); padding:20px 28px; border-bottom:1px solid var(--line); }
html[data-mashwar-mode="live"] .university-brand { display:flex; gap:12px; align-items:center; }
html[data-mashwar-mode="live"] .university-brand>span { border:0; padding:0; margin:0; font-size:23px; font-weight:800; letter-spacing:0; }
html[data-mashwar-mode="live"] .university-brand small { display:block; color:var(--muted); font-size:11px; font-weight:500; }
html[data-mashwar-mode="live"] .mashwar-mark { display:flex; justify-content:center; align-items:baseline; padding-top:7px; background:var(--navy); width:44px; height:44px; border-radius:14px; box-shadow:none; }
html[data-mashwar-mode="live"] .mashwar-mark span { color:#d4ed9b; }
html[data-mashwar-mode="live"] .header-context { margin:20px 0 0; }
html[data-mashwar-mode="live"] .header-context small { color:var(--muted); font-size:11px; }
html[data-mashwar-mode="live"] .header-context strong { color:var(--ink); font-size:16px; overflow-wrap:anywhere; }
html[data-mashwar-mode="live"] .language-trigger { border-color:var(--line); min-height:44px; border-radius:12px; padding:0 15px; box-shadow:none; color:var(--ink); }
html[data-mashwar-mode="live"] .screen-label { padding:22px 28px 0; color:#526b5d; letter-spacing:.5px; }
html[data-mashwar-mode="live"] main { padding:18px 28px 120px; }
html[data-mashwar-mode="live"] .page-heading { margin:0 0 24px; }
html[data-mashwar-mode="live"] .page-heading h1 { color:var(--ink); font-size:30px; letter-spacing:-.5px; }
html[data-mashwar-mode="live"] .page-heading p { max-width:620px; line-height:1.8; font-size:14px; color:var(--muted); }
html[data-mashwar-mode="live"] .eyebrow { font-size:11px; color:#4a6d5b; margin-bottom:7px; }
html[data-mashwar-mode="live"] .grid.two-col { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:18px; }
html[data-mashwar-mode="live"] .card,html[data-mashwar-mode="live"] .university-card { border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 4px 16px #132f2404; }
html[data-mashwar-mode="live"] .card-pad { padding:24px; }
html[data-mashwar-mode="live"] .card-title { color:var(--ink); font-size:17px; font-weight:800; margin:0; }
html[data-mashwar-mode="live"] .card-sub { color:var(--muted); font-size:13px; line-height:1.8; margin-top:6px; }
html[data-mashwar-mode="live"] .primary-btn { color:#fff; background:var(--navy); border:1px solid var(--navy); box-shadow:none; }
html[data-mashwar-mode="live"] .primary-btn:hover { background:#254858; }
html[data-mashwar-mode="live"] .outline-btn { color:var(--navy); border:1px solid #d5e0db; background:#fff; }
html[data-mashwar-mode="live"] .outline-btn:hover { background:#edf4ef; }
html[data-mashwar-mode="live"] .primary-btn,html[data-mashwar-mode="live"] .outline-btn { min-height:50px; border-radius:13px; padding:12px 18px; font-size:14px; font-weight:700; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:10px; }
html[data-mashwar-mode="live"] button:disabled { opacity:.5; cursor:not-allowed; }
html[data-mashwar-mode="live"] :focus-visible { outline:3px solid #72aa87; outline-offset:3px; }
html[data-mashwar-mode="live"] .full { width:100%; }
html[data-mashwar-mode="live"] .trip-card { padding:22px; display:flex; flex-direction:column; gap:16px; }
html[data-mashwar-mode="live"] .trip-card-head { align-items:flex-start; gap:12px; }
html[data-mashwar-mode="live"] .trip-card-head>div { min-width:0; }
html[data-mashwar-mode="live"] .trip-card-head h3 { line-height:1.7; margin:0; overflow-wrap:anywhere; }
html[data-mashwar-mode="live"] .route-symbol { width:38px; height:38px; display:grid; place-items:center; background:#eef3eb; color:#386349; border-radius:12px; margin-bottom:12px; }
html[data-mashwar-mode="live"] .status { border:0; background:#eaf3ec; color:#326346; font-size:11px; padding:6px 10px; line-height:1.5; border-radius:9px; }
html[data-mashwar-mode="live"] .status.red { background:#fff0ed; color:#a33c32; }
html[data-mashwar-mode="live"] .trip-detail { border-top:1px dashed var(--line); display:grid; grid-template-columns:1fr 1fr; padding-top:16px; gap:16px; font-size:12px; color:var(--muted); }
html[data-mashwar-mode="live"] .trip-detail strong { display:block; color:var(--ink); font-size:15px; margin-top:4px; }
html[data-mashwar-mode="live"] .trip-seats-summary { border-radius:14px; background:#eef6e7; padding:10px 12px; margin-top:-4px; }
html[data-mashwar-mode="live"] .trip-seats-summary span { display:block; font-size:12px; color:#5d7565; }
html[data-mashwar-mode="live"] .trip-seats-summary strong { color:#27553a; font-size:16px; }
html[data-mashwar-mode="live"] .trip-seats-summary small { display:block; margin-top:2px; color:#687b73; font-size:11px; }
html[data-mashwar-mode="live"] .trip-card>.primary-btn,html[data-mashwar-mode="live"] .trip-card>.outline-btn { margin-top:auto; }
html[data-mashwar-mode="live"] .bottom-nav { max-width:700px; bottom:16px; width:calc(100% - 32px); border:1px solid #e1e8e3; border-radius:20px; box-shadow:0 8px 30px #1b352219; padding:6px; min-height:68px; background:#fffffff5; backdrop-filter:blur(14px); }
html[data-mashwar-mode="live"] .bottom-nav button { min-height:56px; gap:5px; padding:8px 4px; color:#687b73; font-size:11px; font-weight:600; border-radius:14px; }
html[data-mashwar-mode="live"] .bottom-nav button.active { background:#edf3df; color:#314e2a; }
html[data-mashwar-mode="live"] .bottom-nav .icon { width:21px; height:21px; }
html[data-mashwar-mode="live"] .journey-summary { background:var(--navy); color:#fff; border-radius:22px; padding:24px; margin-bottom:24px; position:relative; overflow:hidden; }
html[data-mashwar-mode="live"] .journey-summary:after { content:""; position:absolute; width:150px; height:150px; border:1px solid #ffffff18; border-radius:50%; inset-inline-end:-60px; top:-60px; pointer-events:none; }
html[data-mashwar-mode="live"] .summary-intro { display:flex; gap:10px; align-items:center; color:#d6ebaf; font-size:14px; font-weight:700; }
html[data-mashwar-mode="live"] .summary-stats { display:flex; gap:36px; margin-top:20px; }
html[data-mashwar-mode="live"] .summary-stats>div { display:grid; gap:3px; }
html[data-mashwar-mode="live"] .summary-stats strong { font-size:30px; line-height:1.4; }
html[data-mashwar-mode="live"] .summary-stats span { font-size:12px; color:#c1cfcf; }
html[data-mashwar-mode="live"] .university-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
html[data-mashwar-mode="live"] .university-card { padding:22px; display:flex; align-items:center; gap:14px; }
html[data-mashwar-mode="live"] .tenant-title { flex:1; }
html[data-mashwar-mode="live"] .tenant-title strong { color:var(--ink); font-size:16px; }
html[data-mashwar-mode="live"] .tenant-title small { direction:ltr; text-align:start; font-size:12px; color:var(--muted); }
html[data-mashwar-mode="live"] .university-card .outline-btn { font-size:12px; }
html[data-mashwar-mode="live"] .platform-form { gap:18px; }
html[data-mashwar-mode="live"] .form-field { display:grid; gap:8px; min-width:0; }
html[data-mashwar-mode="live"] .form-field label { color:#3c525b; font-size:13px; font-weight:600; }
html[data-mashwar-mode="live"] .form-field input,html[data-mashwar-mode="live"] .form-field select { width:100%; min-width:0; min-height:52px; padding:12px 14px; color:var(--ink); background:#fafcfb; border:1px solid #d9e2dc; border-radius:12px; font-size:16px; font-weight:400; }
html[data-mashwar-mode="live"] .form-field input:focus,html[data-mashwar-mode="live"] .form-field select:focus { border-color:#67987a; background:#fff; }
html[data-mashwar-mode="live"] .form-field input::placeholder { color:#7a8b83; opacity:1; font-size:14px; }
html[data-mashwar-mode="live"] .person-row { padding:14px 0; gap:12px; border-bottom:1px solid var(--line); }
html[data-mashwar-mode="live"] .person-row .name { flex:1; min-width:0; }
html[data-mashwar-mode="live"] .person-row strong { overflow-wrap:anywhere; }
html[data-mashwar-mode="live"] .person-row small { color:var(--muted); }
html[data-mashwar-mode="live"] .toast { background:var(--navy); color:#fff; font-size:14px; border-radius:14px; bottom:100px; max-width:500px; z-index:20; }
/* Authentication: a route illustration built from existing SVG icons, no extra requests. */
html[data-mashwar-mode="live"] .app-shell.auth-screen { max-width:1180px; }
html[data-mashwar-mode="live"] .auth-layout { grid-template-columns:1fr 1fr; background:#fff; }
html[data-mashwar-mode="live"] .auth-hero { background:var(--navy); padding:48px; }
html[data-mashwar-mode="live"] .auth-brand { width:100%; font-family:inherit; letter-spacing:0; gap:12px; }
html[data-mashwar-mode="live"] .auth-brand>span:last-of-type small { font:500 11px/1.8 inherit; color:#c5d3d7; letter-spacing:0; }
html[data-mashwar-mode="live"] .auth-mark { display:flex; align-items:baseline; justify-content:center; background:#d9edac; color:var(--navy); border-radius:14px; box-shadow:none; padding-top:8px; }
html[data-mashwar-mode="live"] .auth-mark span { color:#567835; }
html[data-mashwar-mode="live"] .auth-language { margin-inline-start:auto; padding:9px 12px; min-height:44px; border:1px solid #ffffff45; border-radius:11px; color:#fff; background:#ffffff0a; font-size:12px; font-weight:600; }
html[data-mashwar-mode="live"] .auth-eyebrow { color:#cce49c; font-size:11px; letter-spacing:.5px; }
html[data-mashwar-mode="live"] .auth-hero-copy { margin:46px 0 28px; }
html[data-mashwar-mode="live"] .auth-hero-copy h1 { font-family:inherit; font-size:46px; line-height:1.45; letter-spacing:-1px; margin:8px 0 12px; }
html[data-mashwar-mode="live"] .auth-hero-copy p { font-size:14px; line-height:1.9; color:#cbd6d8; }
html[data-mashwar-mode="live"] .auth-benefits { gap:20px; }
html[data-mashwar-mode="live"] .auth-benefits b { background:#ffffff0c; color:#d2e7a6; border-color:#ffffff25; width:36px; height:36px; border-radius:12px; }
html[data-mashwar-mode="live"] .auth-benefits small { color:#bacbd0; line-height:1.8; }
html[data-mashwar-mode="live"] .auth-hero-footer { color:#b6c8cd; font-size:12px; letter-spacing:0; }
html[data-mashwar-mode="live"] .auth-panel { padding:48px; max-width:550px; }
html[data-mashwar-mode="live"] .auth-panel-head .auth-eyebrow { color:#58734a; }
html[data-mashwar-mode="live"] .auth-panel-head h1 { font-family:inherit; font-size:30px; line-height:1.6; letter-spacing:-.5px; color:var(--ink); }
html[data-mashwar-mode="live"] .auth-panel-head p { line-height:1.8; color:var(--muted); }
html[data-mashwar-mode="live"] .auth-form { border:0; box-shadow:none; background:transparent; padding:0; gap:20px; }
html[data-mashwar-mode="live"] .auth-form-heading { display:none; }
html[data-mashwar-mode="live"] .auth-form-stack { gap:20px; }
html[data-mashwar-mode="live"] .auth-submit { justify-content:space-between; }
html[data-mashwar-mode="live"] .auth-submit span { direction:ltr; }
html[data-mashwar-mode="live"][dir="rtl"] .auth-submit span { transform:rotate(180deg); }
html[data-mashwar-mode="live"] .auth-google { border-color:#d9e2dc; }
html[data-mashwar-mode="live"] .google-g { color:#3469bf; font-family:Arial,sans-serif; font-size:20px; font-weight:700; }
html[data-mashwar-mode="live"] .auth-divider { color:var(--muted); }
html[data-mashwar-mode="live"] .auth-signup { border-top:1px solid var(--line); padding-top:8px; }
html[data-mashwar-mode="live"] .auth-signup .auth-form-heading { display:flex; }
html[data-mashwar-mode="live"] .auth-form-heading h2 { font-family:inherit; }
html[data-mashwar-mode="live"] .auth-form-heading span { color:#58734a; }
html[data-mashwar-mode="live"] .auth-legal { color:var(--muted); font-size:12px; line-height:1.9; }
html[data-mashwar-mode="live"] .password-input { position:relative; }
html[data-mashwar-mode="live"] .password-input input { padding-inline-end:78px; }
html[data-mashwar-mode="live"] .password-toggle { position:absolute; inset-inline-end:7px; top:5px; bottom:5px; width:65px; border:0; border-radius:9px; background:#edf2eb; color:#3b5a44; padding:5px; font-size:10px; line-height:1.5; }
html[data-mashwar-mode="live"] .auth-route { display:flex; align-items:center; gap:12px; margin:12px 0 32px; direction:ltr; }
html[data-mashwar-mode="live"] .auth-route>span { display:grid; place-items:center; width:58px; height:58px; border-radius:18px; background:#ffffff0e; border:1px solid #ffffff25; color:#d5e7ab; }
html[data-mashwar-mode="live"] .auth-route .icon { width:26px; height:26px; }
html[data-mashwar-mode="live"] .auth-route i { height:1px; width:80px; border-top:2px dashed #ffffff35; position:relative; }
html[data-mashwar-mode="live"] .auth-route i:after { content:""; width:8px; height:8px; background:#d4e9a8; border-radius:50%; position:absolute; top:-5px; left:50%; }
@media(min-width:721px) { html[data-mashwar-mode="live"] .header-main { float:inline-start; } html[data-mashwar-mode="live"] .header-context { margin:0; justify-content:flex-end; gap:24px; min-height:44px; } }
@media(max-width:720px) {
  html[data-mashwar-mode="live"] .app-shell,html[data-mashwar-mode="live"] .app-shell.auth-screen { max-width:520px; }
  html[data-mashwar-mode="live"] .mobile-header { padding:18px 20px; }
  html[data-mashwar-mode="live"] .screen-label { padding:20px 20px 0; }
  html[data-mashwar-mode="live"] main { padding:14px 18px 118px; }
  html[data-mashwar-mode="live"] .page-heading h1 { font-size:26px; }
  html[data-mashwar-mode="live"] .grid.two-col,html[data-mashwar-mode="live"] .university-list { grid-template-columns:1fr!important; gap:14px; }
  html[data-mashwar-mode="live"] .auth-layout { display:block; }
  html[data-mashwar-mode="live"] .auth-screen main { padding:0; }
  html[data-mashwar-mode="live"] .auth-hero { padding:22px 24px 24px; min-height:0; border-radius:0 0 30px 30px; }
  html[data-mashwar-mode="live"] .auth-brand { font-size:21px; }
  html[data-mashwar-mode="live"] .auth-hero-copy { margin:30px 0 12px; }
  html[data-mashwar-mode="live"] .auth-hero-copy h1 { font-size:34px; margin:6px 0; }
  html[data-mashwar-mode="live"] .auth-hero-copy p { font-size:13px; max-width:none; }
  html[data-mashwar-mode="live"] .auth-route { margin:20px 0 0; }
  html[data-mashwar-mode="live"] .auth-route>span { width:44px; height:44px; border-radius:13px; }
  html[data-mashwar-mode="live"] .auth-route i { width:48px; }
  html[data-mashwar-mode="live"] .auth-hero-footer { display:none; }
  html[data-mashwar-mode="live"] .auth-panel { padding:26px 24px 36px; }
  html[data-mashwar-mode="live"] .auth-panel-head { margin-bottom:24px; }
  html[data-mashwar-mode="live"] .auth-panel-head h1 { font-size:25px; margin:5px 0 6px; }
  html[data-mashwar-mode="live"] .auth-panel-head p { font-size:13px; }
  html[data-mashwar-mode="live"] .journey-summary { padding:20px; }
  html[data-mashwar-mode="live"] .summary-stats { gap:30px; }
  html[data-mashwar-mode="live"] .university-card { flex-wrap:wrap; }
  html[data-mashwar-mode="live"] .university-card .outline-btn { width:100%; }
  html[data-mashwar-mode="live"] .bottom-nav { bottom:max(12px,env(safe-area-inset-bottom)); }
}
@media(max-width:360px) { html[data-mashwar-mode="live"] .auth-panel { padding-inline:18px; } html[data-mashwar-mode="live"] .auth-hero { padding-inline:18px; } html[data-mashwar-mode="live"] .bottom-nav button { font-size:10px; } }
@media(prefers-reduced-motion:reduce) { html[data-mashwar-mode="live"] * { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
html[data-mashwar-mode="live"] .workspace-university { margin:-16px 0 20px; color:var(--muted); font-size:13px; }
html[data-mashwar-mode="live"] .auth-screen main { padding:0; }
html[data-mashwar-mode="live"] .auth-brand>span:last-of-type small { display:block; font-family:inherit; font-size:11px; line-height:1.8; font-weight:500; }
html[data-mashwar-mode="live"][dir="rtl"] [data-live-action="sign-out"] .icon { transform:rotate(180deg); }
html[data-mashwar-mode="live"] .transport-fields { border:1px solid var(--line); border-radius:16px; background:#f7faf7; padding:18px; margin:0; min-width:0; display:grid; gap:18px; }
html[data-mashwar-mode="live"] .transport-fields legend { padding:0 8px; font-size:13px; font-weight:700; color:#3d6349; }
html[data-mashwar-mode="live"] .transport-note { background:#fff6e5; color:#76501c; padding:14px; border-radius:12px; font-size:13px; line-height:1.8; margin:0; }
html[data-mashwar-mode="live"] .people-list { display:grid; gap:16px; }
html[data-mashwar-mode="live"] .person-card .person-row { padding:0 0 16px; }
html[data-mashwar-mode="live"] .boarding-assignment { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:16px 0; }
html[data-mashwar-mode="live"] .boarding-assignment span { display:block; font-size:12px; color:var(--muted); }
html[data-mashwar-mode="live"] .boarding-assignment strong { display:block; font-size:14px; margin-top:4px; overflow-wrap:anywhere; }
html[data-mashwar-mode="live"] .transport-editor { margin-top:22px; }
html[data-mashwar-mode="live"] .assigned-boarding { margin-bottom:18px; }
html[data-mashwar-mode="live"] .assigned-boarding>span { font-size:12px; color:#557546; }

/* University admin — route is a single corridor; schedules hold direction and times. */
html[data-mashwar-mode="live"] .route-setup-note{
  display:flex;gap:13px;align-items:flex-start;
  padding:17px 18px;margin:0 0 18px;border:1px solid #d9e8df;
  border-radius:18px;background:#eef7ef;color:#264f42;
}
html[data-mashwar-mode="live"] .route-setup-note>.icon{
  width:24px;height:24px;padding:4px;box-sizing:content-box;flex:none;
  border-radius:12px;background:#dcefdc;color:#3b765c;
}
html[data-mashwar-mode="live"] .route-setup-note strong{display:block;font-size:14px}
html[data-mashwar-mode="live"] .route-setup-note p{margin:4px 0 0;font-size:12px;line-height:1.8;color:#5f776b}
html[data-mashwar-mode="live"] .route-setup-card{position:relative;overflow:hidden}
html[data-mashwar-mode="live"] .route-step{
  width:30px;height:30px;display:grid;place-items:center;float:inline-end;
  border-radius:10px;background:#edf3df;color:#456537;font-size:13px;font-weight:800;
}
html[data-mashwar-mode="live"] .route-setup-card .card-sub{min-height:43px}
html[data-mashwar-mode="live"] .route-form-head{
  display:flex;align-items:flex-start;gap:11px;margin-bottom:18px;
}
html[data-mashwar-mode="live"] .route-form-head .route-step{float:none;flex:none}
html[data-mashwar-mode="live"] .route-form-head .card-sub{margin:4px 0 0}
html[data-mashwar-mode="live"] .route-schedule-form{border-color:#dce7d8}
html[data-mashwar-mode="live"] .schedule-days{
  grid-column:1/-1;margin:0;padding:12px 14px;
  border:1px solid #d7e6d2;border-radius:14px;background:#f7fbf5;color:#385f35;
}
html[data-mashwar-mode="live"] .schedule-days legend{padding:0 6px;color:#385f35;font-size:13px;font-weight:800}
html[data-mashwar-mode="live"] .schedule-days label{
  display:inline-flex;align-items:center;gap:5px;margin:5px 8px 3px 0;
  padding:8px 10px;border:1px solid #cfe0ca;border-radius:10px;background:#fff;
  font-size:13px;font-weight:700;cursor:pointer;
}
html[data-mashwar-mode="live"] .schedule-days input{accent-color:#237166;width:16px;height:16px}
html[data-mashwar-mode="live"] .schedule-weekdays{display:block;margin-top:4px;color:#5b746d;font-size:11px}
html[data-mashwar-mode="live"] .route-catalog{background:linear-gradient(180deg,#fff,#f9fcfa)}
html[data-mashwar-mode="live"] .route-catalog-list{display:grid;gap:12px;margin-top:16px}
html[data-mashwar-mode="live"] .route-catalog-item{
  overflow:hidden;border:1px solid #dce7e1;border-radius:16px;background:#fff;
}
html[data-mashwar-mode="live"] .route-catalog-title{
  display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;
  border-bottom:1px solid #edf1ee;
}
html[data-mashwar-mode="live"] .route-catalog-title strong{display:block;font-size:16px;color:var(--ink)}
html[data-mashwar-mode="live"] .route-catalog-title small{display:block;margin-top:3px;color:var(--muted);font-size:12px}
html[data-mashwar-mode="live"] .route-schedule-list{padding:4px 16px}
html[data-mashwar-mode="live"] .route-schedule-row{
  display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;
  gap:10px;padding:12px 0;border-bottom:1px dashed #e3ece7;
}
html[data-mashwar-mode="live"] .route-schedule-row:last-child{border-bottom:0}
html[data-mashwar-mode="live"] .route-schedule-row>strong{font-size:16px;color:#173c46;direction:ltr}
html[data-mashwar-mode="live"] .route-schedule-row>small{
  min-width:0;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html[data-mashwar-mode="live"] .schedule-direction{
  padding:5px 8px;border-radius:8px;font-size:11px;font-weight:800;white-space:nowrap;
}
html[data-mashwar-mode="live"] .schedule-direction.outbound{background:#e8f5ea;color:#356c48}
html[data-mashwar-mode="live"] .schedule-direction.return{background:#edf2fa;color:#46648a}
@media(max-width:720px){
  html[data-mashwar-mode="live"] .route-setup-note{padding:15px}
  html[data-mashwar-mode="live"] .route-setup-card .card-sub{min-height:0}
  html[data-mashwar-mode="live"] .route-schedule-row{grid-template-columns:auto auto;gap:8px}
  html[data-mashwar-mode="live"] .route-schedule-row>small{grid-column:1 / -1}
  html[data-mashwar-mode="live"] .route-catalog-title{align-items:flex-start}
  html[data-mashwar-mode="live"] .route-catalog-title .status{white-space:nowrap}
}
html[data-mashwar-mode="live"] .tenant-back-row{margin:0 0 14px}
html[data-mashwar-mode="live"] .tenant-back-row .outline-btn{min-height:42px;padding:9px 13px;font-size:13px}


html[data-mashwar-mode="live"] .danger-zone {
  margin-top: 22px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #efc7c2;
  border-radius: 20px;
  background: #fff7f5;
}
html[data-mashwar-mode="live"] .danger-zone strong { color: #9d342d; font-size: 18px; }
html[data-mashwar-mode="live"] .danger-zone p { margin: 5px 0 0; color: #755b57; font-size: 14px; line-height: 1.65; }
html[data-mashwar-mode="live"] .danger-btn {
  min-height: 48px;
  padding: 11px 17px;
  border: 0;
  border-radius: 14px;
  background: #b8443b;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
html[data-mashwar-mode="live"] .danger-btn.full { width: 100%; margin-top: 12px; }
html[data-mashwar-mode="live"] .danger-btn:active { transform: scale(.98); background: #94362f; }
@media (max-width: 520px) {
  html[data-mashwar-mode="live"] .danger-zone { align-items: stretch; flex-direction: column; }
  html[data-mashwar-mode="live"] .danger-zone .danger-btn { width: 100%; }
}

html[data-mashwar-mode="live"] .sa-admins{margin-top:26px}
html[data-mashwar-mode="live"] .sa-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html[data-mashwar-mode="live"] .sa-admin-card{
  display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #dce7e1;
  border-radius:18px;background:#fff;
}
html[data-mashwar-mode="live"] .sa-admin-card .avatar{flex:0 0 auto}
html[data-mashwar-mode="live"] .sa-admin-card>div:nth-child(2){min-width:0;flex:1}
html[data-mashwar-mode="live"] .sa-admin-card strong,
html[data-mashwar-mode="live"] .sa-admin-card small,
html[data-mashwar-mode="live"] .sa-admin-card span{display:block}
html[data-mashwar-mode="live"] .sa-admin-card strong{color:var(--ink)}
html[data-mashwar-mode="live"] .sa-admin-card small{margin-top:3px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-mashwar-mode="live"] .sa-admin-card span{margin-top:5px;color:#24776c;font-size:12px;font-weight:800}
html[data-mashwar-mode="live"] .sa-admin-card .outline-btn{flex:0 0 auto;padding:8px 11px;font-size:12px}
@media (max-width: 620px){html[data-mashwar-mode="live"] .sa-admin-grid{grid-template-columns:1fr}}


html[data-mashwar-mode="live"] .sa-admin-card{flex-wrap:wrap}
html[data-mashwar-mode="live"] .sa-admin-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
html[data-mashwar-mode="live"] .sa-admin-actions .danger-btn{min-height:38px;padding:8px 11px;font-size:12px}
html[data-mashwar-mode="live"] .admin-edit-form{
  width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  margin-top:4px;padding-top:15px;border-top:1px solid #e6eeea;
}
html[data-mashwar-mode="live"] .admin-edit-form .form-field:last-of-type,
html[data-mashwar-mode="live"] .admin-edit-form .ticket-actions{grid-column:1/-1}
html[data-mashwar-mode="live"] .admin-edit-form .form-field{margin:0}
@media (max-width: 520px){html[data-mashwar-mode="live"] .admin-edit-form{grid-template-columns:1fr}}


html[data-mashwar-mode="live"] .route-catalog-actions,
html[data-mashwar-mode="live"] .route-schedule-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
html[data-mashwar-mode="live"] .route-catalog-actions .outline-btn,
html[data-mashwar-mode="live"] .route-schedule-actions .outline-btn{min-height:36px;padding:7px 10px;font-size:12px}
html[data-mashwar-mode="live"] .route-catalog-actions .danger-btn,
html[data-mashwar-mode="live"] .route-schedule-actions .danger-btn{min-height:36px;padding:7px 10px;font-size:12px}
html[data-mashwar-mode="live"] .route-schedule-row{position:relative}
html[data-mashwar-mode="live"] .route-schedule-actions{margin-top:9px}
@media (max-width:560px){html[data-mashwar-mode="live"] .route-catalog-title{align-items:flex-start;flex-direction:column}}


html[data-mashwar-mode="live"] .manual-trip-form{border-color:#d7e4ef;background:linear-gradient(135deg,#fff,#f7fbff)}
html[data-mashwar-mode="live"] .manual-trip-form .route-step{background:#e8f3fb;color:#276a91}


html[data-mashwar-mode="live"] .bus-layout-card{
  margin-top:18px;padding:18px;border:1px solid #d7e4e1;border-radius:28px;
  background:linear-gradient(145deg,#f8fffd,#eaf5f1);
}
html[data-mashwar-mode="live"] .bus-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:18px}
html[data-mashwar-mode="live"] .bus-top strong{display:block;margin-top:4px;color:var(--ink)}
html[data-mashwar-mode="live"] .bus-kicker{display:block;color:#24776c;font-size:13px;font-weight:900}
html[data-mashwar-mode="live"] .seat-legend{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end;font-size:12px;color:#5c706b}
html[data-mashwar-mode="live"] .seat-legend span{display:inline-flex;gap:5px;align-items:center}
html[data-mashwar-mode="live"] .seat-legend i{width:11px;height:11px;border-radius:4px;background:#9ed9bd}
html[data-mashwar-mode="live"] .seat-legend i.taken{background:#dd7268}
html[data-mashwar-mode="live"] .seat-legend i.mine{background:#287cba}
html[data-mashwar-mode="live"] .bus-shell{
  position:relative;max-width:420px;margin:auto;padding:12px 20px 18px;border:7px solid #1d4a59;
  border-radius:46px 46px 25px 25px;background:#f6fbfb;box-shadow:0 12px 25px rgba(25,63,72,.14);
}
html[data-mashwar-mode="live"] .bus-windshield{
  margin:0 40px 14px;padding:8px;border-radius:16px 16px 8px 8px;
  background:linear-gradient(135deg,#8ed5e1,#dff8fb);color:#245365;text-align:center;font-size:11px;font-weight:800;
}
html[data-mashwar-mode="live"] .driver-seat{width:68px;margin:0 0 12px auto;padding:8px 4px;border:2px solid #a6b7bb;border-radius:10px;background:#dde9e8;color:#45666d;text-align:center;font-size:11px;font-weight:800}
html[data-mashwar-mode="live"] .bus-seats{display:grid;gap:9px}
html[data-mashwar-mode="live"] .bus-row{display:grid;grid-template-columns:1fr 34px 1fr;gap:8px;align-items:center}
html[data-mashwar-mode="live"] .bus-seat{
  min-height:42px;border:2px solid #74ba96;border-radius:11px;background:#bdeccd;color:#185d3f;
  font:inherit;font-size:12px;font-weight:900;cursor:pointer;box-shadow:inset 0 -4px 0 rgba(34,113,73,.13);
}
html[data-mashwar-mode="live"] .bus-seat:disabled{cursor:not-allowed;opacity:1}
html[data-mashwar-mode="live"] .bus-seat.taken{border-color:#c95f56;background:#f3bbb6;color:#8e332d;box-shadow:inset 0 -4px 0 rgba(133,45,39,.15)}
html[data-mashwar-mode="live"] .bus-seat.mine{border-color:#1b6fa5;background:#bde2fb;color:#15527d}
html[data-mashwar-mode="live"] .bus-back{margin-top:15px;color:#6a827c;text-align:center;font-size:11px;font-weight:800}
html[data-mashwar-mode="live"] .seat-confirmation{max-width:420px;margin:14px auto 0;padding:13px;border-radius:14px;background:#e6f3fb;color:#1a5b86;text-align:center}


html[data-mashwar-mode="live"] .waitlist-confirmation{margin-top:14px;padding:13px;border-radius:14px;background:#fff1d5;color:#895d12;text-align:center;font-weight:800}
html[data-mashwar-mode="live"] .demand-dashboard{margin-top:18px;padding:18px;border:1px solid #f0ddad;border-radius:20px;background:#fffaf0}
html[data-mashwar-mode="live"] .demand-dashboard .route-step{background:#fff0c7;color:#9a6a10}
html[data-mashwar-mode="live"] .demand-list{display:grid;gap:10px;margin-top:14px}
html[data-mashwar-mode="live"] .demand-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #f0dfb9;border-radius:15px;background:#fff}
html[data-mashwar-mode="live"] .demand-card.critical{border-color:#ecb4aa;background:#fff8f6}
html[data-mashwar-mode="live"] .demand-card strong,.demand-card small{display:block}
html[data-mashwar-mode="live"] .demand-card small{margin-top:4px;color:var(--muted)}
html[data-mashwar-mode="live"] .demand-card p{margin:6px 0 0;color:#a34e3f;font-size:13px;font-weight:800}
@media (max-width:520px){html[data-mashwar-mode="live"] .demand-card{align-items:stretch;flex-direction:column}.demand-card .primary-btn{width:100%}}

/* Seat-map: front driver/aisle/single seat, then 3-seat rows, then 4-seat rows */
.bus-front-row {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  gap: 8px;
  align-items: stretch;
  margin: 0 0 9px;
}
.bus-front-row .driver-seat {
  width: 100%;
  min-height: 42px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bus-single {
  min-height: 42px;
  display: flex;
}
.bus-single .bus-seat {
  width: 100%;
  min-height: 42px;
}
/* Trip direction cards */
html[data-mashwar-mode="live"] .trip-card.trip-outbound { border-color:#9fd9c8; background:linear-gradient(145deg,#ffffff 0%,#eefaf5 100%); }
html[data-mashwar-mode="live"] .trip-card.trip-return { border-color:#bacded; background:linear-gradient(145deg,#ffffff 0%,#f0f5ff 100%); }
html[data-mashwar-mode="live"] .trip-status-stack { display:flex; flex-direction:column; align-items:flex-end; gap:7px; }
html[data-mashwar-mode="live"] .trip-direction { display:inline-flex; align-items:center; min-height:26px; padding:3px 10px; border-radius:999px; font-size:11px; font-weight:900; white-space:nowrap; }
html[data-mashwar-mode="live"] .trip-direction.outbound,
html[data-mashwar-mode="live"] .bus-kicker.outbound { background:#d8f4e8; color:#116647; }
html[data-mashwar-mode="live"] .trip-direction.return,
html[data-mashwar-mode="live"] .bus-kicker.return { background:#dce9ff; color:#275b9d; }

/* Continuous seat layout: no aisle between the driver or passenger rows */
html[data-mashwar-mode="live"] .bus-front-row { direction:ltr; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
html[data-mashwar-mode="live"] .bus-front-row .driver-seat { direction:rtl; }
html[data-mashwar-mode="live"] .bus-row { grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
html[data-mashwar-mode="live"] .bus-single { min-height:42px; }
html[data-mashwar-mode="live"] .bus-kicker.return,
html[data-mashwar-mode="live"] .bus-kicker.outbound { display:inline-flex; width:max-content; margin-bottom:5px; padding:4px 9px; border-radius:999px; font-size:11px; font-weight:900; }
@media (max-width:380px) {
  html[data-mashwar-mode="live"] .trip-detail { grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
  html[data-mashwar-mode="live"] .trip-detail strong { font-size:13px; overflow-wrap:anywhere; }
}

html[data-mashwar-mode="live"] .bus-driver-name { display:block; margin-top:4px; color:#5f7870; font-size:12px; font-weight:800; }

/* Administration controls on trip cards */
html[data-mashwar-mode="live"] .trip-admin-actions {
  margin-top:12px;
  padding-top:12px;
  border-top:1px dashed var(--line);
}
html[data-mashwar-mode="live"] .trip-admin-actions > button {
  min-height:44px;
  font-size:14px;
}
html[data-mashwar-mode="live"] .trip-sheet-backdrop {
  position:fixed;
  z-index:80;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:rgba(17,35,44,.42);
}
html[data-mashwar-mode="live"] .trip-manager-sheet {
  position:fixed;
  z-index:81;
  right:0;
  bottom:0;
  left:0;
  max-width:700px;
  margin:auto;
  padding:10px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius:26px 26px 0 0;
  background:#fff;
  box-shadow:0 -18px 45px rgba(17,35,44,.22);
  animation:trip-sheet-in .2s ease-out;
}
html[data-mashwar-mode="live"] .trip-manager-sheet .full { margin-top:10px; min-height:48px; }
html[data-mashwar-mode="live"] .trip-manager-handle {
  width:44px;
  height:5px;
  margin:0 auto 14px;
  border-radius:999px;
  background:#dbe5e1;
}
html[data-mashwar-mode="live"] .trip-manager-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
}
html[data-mashwar-mode="live"] .trip-manager-title small {
  display:block;
  color:#73867e;
  margin-bottom:3px;
}
html[data-mashwar-mode="live"] .trip-manager-title strong { font-size:18px; color:var(--ink); }
html[data-mashwar-mode="live"] .icon-close {
  width:38px;
  height:38px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  font-size:26px;
  line-height:1;
}
@keyframes trip-sheet-in { from { transform:translateY(100%); } to { transform:translateY(0); } }

html[data-mashwar-mode="live"] .customer-trip-filter { margin-top:24px; }
html[data-mashwar-mode="live"] .selected-trip-day { padding:4px 0 14px; }
html[data-mashwar-mode="live"] .selected-trip-day span { color:#60756c; font-size:12px; font-weight:700; }
html[data-mashwar-mode="live"] .selected-trip-day h2 { font-size:24px; margin:4px 0; color:var(--ink); line-height:1.25; }
html[data-mashwar-mode="live"] .selected-trip-day p { color:var(--muted); margin:0; font-size:13px; }
html[data-mashwar-mode="live"] .trip-day-tabs { display:flex; gap:10px; overflow-x:auto; padding:4px 0 14px; scrollbar-width:none; }
html[data-mashwar-mode="live"] .trip-day-tabs .customer-day-tab { min-width:132px; text-align:right; white-space:nowrap; border:1px solid #d9e4df; background:#fff; color:var(--ink); padding:11px 13px; border-radius:16px; font:inherit; }
html[data-mashwar-mode="live"] .customer-day-tab span { display:block; color:#687b73; font-size:12px; font-weight:700; margin-bottom:4px; }
html[data-mashwar-mode="live"] .customer-day-tab strong { display:block; font-size:14px; }
html[data-mashwar-mode="live"] .trip-day-tabs .customer-day-tab.active { background:var(--navy); color:#fff; border-color:var(--navy); box-shadow:0 8px 18px #1835472b; }
html[data-mashwar-mode="live"] .customer-day-tab.active span { color:#dce8bd; }
html[data-mashwar-mode="live"] .customer-directions { display:grid; gap:18px; }
html[data-mashwar-mode="live"] .customer-direction-group { border-radius:20px; padding:14px; border:1px solid var(--line); background:#fff; }
html[data-mashwar-mode="live"] .customer-direction-group.outbound { border-color:#bde5ca; }
html[data-mashwar-mode="live"] .customer-direction-group.return { border-color:#cbdcf7; }
html[data-mashwar-mode="live"] .customer-direction-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
html[data-mashwar-mode="live"] .customer-direction-head strong { color:var(--muted); font-size:12px; }
html[data-mashwar-mode="live"] .empty-direction { color:var(--muted); font-size:13px; padding:10px 2px; }

html[data-mashwar-mode="live"] .boarding-ticket { overflow:hidden; border:1px solid #bcded2; border-radius:26px; background:#fff; box-shadow:0 16px 34px #14362a13; }
html[data-mashwar-mode="live"] .boarding-ticket.return { border-color:#c7d8f5; }
html[data-mashwar-mode="live"] .ticket-top { background:var(--navy); color:#fff; padding:22px; display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
html[data-mashwar-mode="live"] .boarding-ticket.return .ticket-top { background:#315d96; }
html[data-mashwar-mode="live"] .ticket-brand { display:block; color:#d8e9c0; font-size:12px; font-weight:700; margin-bottom:8px; }
html[data-mashwar-mode="live"] .ticket-top h2 { color:#fff; margin:0 0 10px; font-size:24px; }
html[data-mashwar-mode="live"] .ticket-seat { min-width:76px; aspect-ratio:1; display:flex; flex-direction:column; justify-content:center; align-items:center; border-radius:20px; background:#e0efb7; color:#173b33; font-size:30px; font-weight:800; }
html[data-mashwar-mode="live"] .ticket-seat small { font-size:10px; font-weight:700; margin-top:2px; }
html[data-mashwar-mode="live"] .ticket-route { display:flex; align-items:center; gap:8px; padding:18px 20px; color:var(--muted); border-bottom:1px dashed var(--line); font-size:12px; }
html[data-mashwar-mode="live"] .ticket-route strong { color:var(--ink); font-size:13px; }
html[data-mashwar-mode="live"] .ticket-route i { color:#338471; font-size:18px; font-style:normal; }
html[data-mashwar-mode="live"] .ticket-info { display:grid; grid-template-columns:1fr 1fr; gap:16px 12px; padding:20px; }
html[data-mashwar-mode="live"] .ticket-info span { display:block; color:var(--muted); font-size:11px; margin-bottom:4px; }
html[data-mashwar-mode="live"] .ticket-info strong { display:block; color:var(--ink); font-size:14px; line-height:1.35; }
html[data-mashwar-mode="live"] .ticket-qr { text-align:center; padding:0 20px 20px; }
html[data-mashwar-mode="live"] .ticket-qr img { display:block; width:184px; height:184px; margin:0 auto 9px; padding:10px; background:#fff; border:1px solid #e1e8e3; border-radius:18px; }
html[data-mashwar-mode="live"] .ticket-qr small { color:var(--muted); letter-spacing:.04em; font-size:11px; }
html[data-mashwar-mode="live"] .ticket-footer { padding:14px 20px; background:#f2f7ef; text-align:center; color:#64756e; font-size:12px; }

html[data-mashwar-mode="live"] .previous-bookings { margin-top:20px; border:1px solid var(--line); border-radius:18px; background:#fff; overflow:hidden; }
html[data-mashwar-mode="live"] .previous-bookings summary { cursor:pointer; padding:17px 18px; list-style:none; display:flex; align-items:center; justify-content:space-between; font-weight:800; color:var(--ink); }
html[data-mashwar-mode="live"] .previous-bookings summary::-webkit-details-marker { display:none; }
html[data-mashwar-mode="live"] .previous-bookings summary::before { content:'⌄'; color:#55736a; font-size:18px; transition:transform .18s ease; }
html[data-mashwar-mode="live"] .previous-bookings[open] summary::before { transform:rotate(180deg); }
html[data-mashwar-mode="live"] .previous-bookings summary span { margin-inline-start:auto; background:#edf3df; color:#395437; border-radius:999px; min-width:26px; padding:3px 8px; text-align:center; font-size:12px; }
html[data-mashwar-mode="live"] .previous-bookings .grid { padding:0 14px 16px; }

html[data-mashwar-mode="live"] .seat-passenger-manifest { margin:18px 0 4px; padding:15px; background:#f5f8f3; border:1px solid #dbe8d7; border-radius:18px; }
html[data-mashwar-mode="live"] .seat-passenger-manifest>div:first-child { display:flex; justify-content:space-between; gap:12px; color:#5e756b; font-size:12px; }
html[data-mashwar-mode="live"] .seat-passenger-manifest strong { color:var(--ink); }
html[data-mashwar-mode="live"] .seat-passenger-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
html[data-mashwar-mode="live"] .seat-passenger-list span { display:inline-flex; align-items:center; gap:6px; padding:7px 9px; border-radius:10px; background:#fff; color:var(--ink); font-size:12px; border:1px solid #e0e9dd; }
html[data-mashwar-mode="live"] .seat-passenger-list b { color:#23685c; direction:ltr; }

html[data-mashwar-mode="live"] .log-filter { margin-bottom:18px; }
html[data-mashwar-mode="live"] .log-filter label { display:block; color:var(--muted); font-size:12px; margin-bottom:7px; font-weight:700; }
html[data-mashwar-mode="live"] .log-filter select { width:100%; min-height:46px; padding:0 12px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); font:inherit; }
html[data-mashwar-mode="live"] .activity-log-list { display:grid; gap:10px; }
html[data-mashwar-mode="live"] .activity-log-item { display:flex; align-items:flex-start; gap:12px; padding:15px; background:#fff; border:1px solid #e1e9e4; border-radius:16px; }
html[data-mashwar-mode="live"] .activity-log-mark { width:10px; height:10px; flex:0 0 auto; margin-top:5px; border-radius:50%; background:#5277a8; }
html[data-mashwar-mode="live"] .activity-log-mark.created { background:#2f9170; }
html[data-mashwar-mode="live"] .activity-log-mark.updated { background:#c8942b; }
html[data-mashwar-mode="live"] .activity-log-mark.deleted { background:#c84b43; }
html[data-mashwar-mode="live"] .activity-log-item strong { display:block; color:var(--ink); font-size:14px; }
html[data-mashwar-mode="live"] .activity-log-item p { margin:5px 0 3px; color:#587067; font-size:13px; }
html[data-mashwar-mode="live"] .activity-log-item small { color:#8a9a93; font-size:11px; }


/* Dark, visual Mashwar login */
html[data-mashwar-mode="live"] .app-shell.auth-screen,html[data-mashwar-mode="live"] .auth-screen main{background:#03162e}
html[data-mashwar-mode="live"] .auth-layout.glass-auth-layout{display:block;min-height:100dvh;overflow:hidden;color:#f6fbff;background:radial-gradient(circle at 14% 9%,rgba(39,116,197,.2),transparent 28%),radial-gradient(circle at 88% 48%,rgba(3,210,255,.12),transparent 30%),linear-gradient(160deg,#061a36 0%,#02152c 52%,#031124 100%)}
html[data-mashwar-mode="live"] .auth-hero.auth-night-hero{isolation:isolate;position:relative;min-height:56dvh;overflow:hidden;padding:26px 24px 100px;border:0;border-radius:0;background:transparent}
html[data-mashwar-mode="live"] .auth-hero.auth-night-hero:before,html[data-mashwar-mode="live"] .auth-hero.auth-night-hero:after{content:"";position:absolute;z-index:-1;border:1px solid rgba(105,211,255,.18);border-radius:50%;pointer-events:none}
html[data-mashwar-mode="live"] .auth-hero.auth-night-hero:before{width:410px;height:410px;right:-184px;top:127px}html[data-mashwar-mode="live"] .auth-hero.auth-night-hero:after{width:300px;height:300px;left:-140px;top:188px}
html[data-mashwar-mode="live"] .auth-night-map{position:absolute;inset:0;z-index:-1;overflow:hidden;opacity:.94}
html[data-mashwar-mode="live"] .auth-night-map:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 75%,rgba(16,210,255,.18),transparent 2%,transparent 8%),radial-gradient(circle at 16% 75%,rgba(20,201,255,.14),transparent 2%,transparent 9%),linear-gradient(110deg,transparent 48%,rgba(51,205,255,.06) 48.2%,transparent 48.6%)}
html[data-mashwar-mode="live"] .night-route{position:absolute;display:block;height:74px;border:2px solid #09cfff;border-color:#09cfff transparent transparent;border-radius:50%;filter:drop-shadow(0 0 8px rgba(0,219,255,.7));opacity:.75}
html[data-mashwar-mode="live"] .night-route.route-one{width:470px;right:-125px;bottom:45px;transform:rotate(-22deg)}html[data-mashwar-mode="live"] .night-route.route-two{width:370px;left:-148px;bottom:-18px;transform:rotate(24deg)}
html[data-mashwar-mode="live"] .night-pin{position:absolute;width:14px;height:14px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#d7ff53;box-shadow:0 0 0 7px rgba(126,225,96,.12),0 0 16px #caff39}.night-pin:after{content:"";position:absolute;inset:4px;border-radius:50%;background:#087aa1}.pin-one{left:16%;bottom:23%}.pin-two{left:46%;bottom:13%}.pin-three{right:14%;bottom:29%}
html[data-mashwar-mode="live"] .night-bus{position:absolute;left:50%;bottom:6%;width:120px;height:53px;transform:translateX(-50%) skewX(-7deg);border:2px solid #38ddff;border-radius:10px 10px 14px 14px;background:linear-gradient(160deg,rgba(5,39,77,.95),rgba(0,8,29,.98));box-shadow:0 0 14px #00c9ff,inset 0 0 13px rgba(22,191,255,.42)}.night-bus:before{content:"";position:absolute;left:9px;top:8px;right:9px;height:20px;border:1px solid #64e6ff;border-radius:5px;background:repeating-linear-gradient(90deg,rgba(67,213,255,.35) 0 18px,transparent 18px 23px)}.night-bus b{position:absolute;bottom:-8px;left:12px;width:18px;height:18px;border:3px solid #7feaff;border-radius:50%;background:#07142b;box-shadow:77px 0 0 -3px #07142b,77px 0 0 0 #7feaff}.night-bus i{position:absolute;right:-7px;top:14px;width:8px;height:18px;border:1px solid #52e4ff;border-left:0;border-radius:0 6px 6px 0}.night-bus em{position:absolute;right:4px;bottom:6px;width:8px;height:4px;border-radius:6px;background:#d7ff53;box-shadow:0 0 9px #d7ff53}
html[data-mashwar-mode="live"] .auth-brand{position:relative;z-index:2;color:#fff}html[data-mashwar-mode="live"] .auth-brand>span:last-child{font-size:24px;font-weight:900;line-height:1}html[data-mashwar-mode="live"] .auth-brand small{color:#afc2dc;font-size:11px;font-weight:700;margin-top:5px}html[data-mashwar-mode="live"] .auth-mark{width:62px;height:62px;border-radius:21px;background:linear-gradient(135deg,#efff69,#baff3f);color:#082044;box-shadow:0 0 24px rgba(201,255,66,.28);font-size:45px}
html[data-mashwar-mode="live"] .auth-hero-copy{position:relative;z-index:1;max-width:440px;margin:68px auto 0;text-align:center}html[data-mashwar-mode="live"] .auth-eyebrow{color:#dcff77;letter-spacing:0;font-size:13px;font-weight:900}html[data-mashwar-mode="live"] .auth-hero-copy h1{margin:10px 0 9px;color:#fff;font-size:39px;line-height:1.2;letter-spacing:-.03em}html[data-mashwar-mode="live"] .auth-hero-copy p{color:#b8cae5;font-size:17px;line-height:1.7}
html[data-mashwar-mode="live"] .auth-night-benefits{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:12px;margin:28px auto 0;color:#eef6ff;font-size:12px}.auth-night-benefits span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.auth-night-benefits svg{width:18px;height:18px;color:#cfff59}.auth-night-benefits i{width:1px;height:28px;background:rgba(151,201,244,.5)}
html[data-mashwar-mode="live"] .auth-panel{position:relative;z-index:3;max-width:620px;margin:-56px auto 0;padding:30px 24px calc(26px + env(safe-area-inset-bottom));border:1px solid rgba(46,205,255,.7);border-radius:30px 30px 0 0;background:linear-gradient(145deg,rgba(12,47,85,.96),rgba(2,20,46,.97));box-shadow:0 -2px 34px rgba(0,210,255,.16),inset 0 1px 0 rgba(255,255,255,.15);backdrop-filter:blur(20px);color:#fff}.auth-panel-head{text-align:center}.auth-panel-head .auth-eyebrow{color:#d7ff74;margin-bottom:9px}.auth-panel-head h1{margin:0;color:#fff;font-size:32px;line-height:1.25}.auth-panel-head p{margin:8px 0 25px;color:#aec3df;font-size:16px}.auth-form-stack{margin:0}.auth-google-only{padding:0;border:0;background:none}
html[data-mashwar-mode="live"] .auth-google{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:10px 20px;border:0;border-radius:18px;background:linear-gradient(135deg,#fff,#eef8ff);color:#0b2343;font-size:19px;font-weight:900;box-shadow:0 8px 18px rgba(0,0,0,.2)}.auth-google .google-g{font-size:28px;font-weight:900;background:conic-gradient(#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);-webkit-background-clip:text;background-clip:text;color:transparent}.auth-google b{font-size:39px;line-height:1;font-weight:400;transform:translateY(-1px)}
html[data-mashwar-mode="live"] .auth-quick-points{display:flex;align-items:center;justify-content:center;gap:12px;margin:24px 0 19px;color:#d5e4f7;font-size:12px;font-weight:800}.auth-quick-points span{display:inline-flex;flex-direction:column;align-items:center;gap:5px;text-align:center}.auth-quick-points svg{width:20px;height:20px;color:#39ddff}.auth-quick-points i{width:1px;height:34px;background:#436587}.auth-legal{margin:0;color:#8fa8c6;text-align:center;font-size:12px;line-height:1.7}
@media (min-width:721px){html[data-mashwar-mode="live"] .auth-layout.glass-auth-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(420px,.82fr);align-items:stretch}html[data-mashwar-mode="live"] .auth-hero.auth-night-hero{min-height:100dvh;padding:46px 50px}html[data-mashwar-mode="live"] .auth-panel{align-self:center;width:min(92%,490px);margin:0 34px 0 0;border-radius:30px;padding:36px 32px}}
@media (max-width:390px){html[data-mashwar-mode="live"] .auth-hero.auth-night-hero{padding-inline:18px}.auth-hero-copy{margin-top:48px}.auth-hero-copy h1{font-size:33px}.auth-night-benefits{gap:8px;font-size:10px}.auth-panel{padding-inline:18px}.auth-panel-head h1{font-size:28px}}


html[data-mashwar-mode="live"] .url-input-wrap{display:flex;align-items:center;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}
html[data-mashwar-mode="live"] .url-input-wrap span{flex:0 0 auto;padding:0 0 0 12px;color:#6f817a;font-size:13px;font-weight:800;white-space:nowrap}
html[data-mashwar-mode="live"] .url-input-wrap input{min-width:0;flex:1;border:0!important;box-shadow:none!important;padding-inline:2px 12px!important;background:transparent!important}
html[data-mashwar-mode="live"] .url-input-wrap+small{display:block;margin-top:7px;color:var(--muted);font-size:11px;line-height:1.55}


/* University identity on passenger pages */
html[data-mashwar-mode="live"] .passenger-university-identity{
  position:relative;display:flex;align-items:center;gap:13px;overflow:hidden;margin:-2px 0 18px;padding:14px;
  border:1px solid color-mix(in srgb,var(--university-tone) 30%,#dbe7e2);
  border-radius:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--university-tone) 10%,#fff),#fff);
}
html[data-mashwar-mode="live"] .passenger-university-identity::after{content:"";position:absolute;width:116px;height:116px;left:-44px;bottom:-70px;border-radius:50%;background:var(--university-accent);opacity:.22}
html[data-mashwar-mode="live"] .passenger-university-logo{position:relative;z-index:1;display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;overflow:hidden;border-radius:17px;background:var(--university-tone);color:#fff;font-size:22px;font-weight:900;box-shadow:0 7px 16px color-mix(in srgb,var(--university-tone) 28%,transparent)}
html[data-mashwar-mode="live"] .passenger-university-logo img{width:100%;height:100%;object-fit:cover}
html[data-mashwar-mode="live"] .passenger-university-identity>div:nth-child(2){position:relative;z-index:1;min-width:0;flex:1}
html[data-mashwar-mode="live"] .passenger-university-identity span,
html[data-mashwar-mode="live"] .passenger-university-identity small{display:block;color:#667c74;font-size:11px;font-weight:700}
html[data-mashwar-mode="live"] .passenger-university-identity strong{display:block;overflow:hidden;margin:3px 0;color:#173a34;text-overflow:ellipsis;white-space:nowrap;font-size:16px}
html[data-mashwar-mode="live"] .passenger-university-identity>i{position:relative;z-index:1;display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:color-mix(in srgb,var(--university-tone) 12%,#fff);color:var(--university-tone)}
html[data-mashwar-mode="live"] .passenger-university-identity>i svg{width:21px;height:21px}


/* Seating plan: driver front-left, passenger A1 front-right, then 2 + aisle + 2 */
html[data-mashwar-mode="live"] .modern-bus-shell{padding:13px 18px 19px}
/* Phase 2: the .modern-bus-front / .modern-seat-row / .front-spacer generation
   was deleted — no JS emits those classes (grep across dist + src JS: 0 hits).
   The surviving map is .bus-shell.modern-bus-shell.classic-seat-map with
   .compact-bus-front / .compact-seat-row rows, geometry unchanged. */
html[data-mashwar-mode="live"] .bus-seat span{display:block;font-size:13px;line-height:1.1}
html[data-mashwar-mode="live"] .bus-seat small{display:block;max-width:100%;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:800}
html[data-mashwar-mode="live"] .bus-seat.taken{background:#233438;border-color:#18272a;color:#fff;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2)}
html[data-mashwar-mode="live"] .bus-entry{width:64px;margin:11px 0 0 auto;padding:7px 4px;border:2px dashed #bdcfc7;border-radius:12px;background:#eef6f2;color:#54726a;text-align:center;font-size:10px;font-weight:900}

/* Platform owner: cross-university upcoming trips */
.sa-platform-trips{margin:28px 0 36px}
.sa-trip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sa-trip-card{background:#fff;border:1px solid #d8e6e6;border-radius:24px;padding:20px;box-shadow:0 12px 28px rgba(19,57,70,.06);display:flex;flex-direction:column;gap:12px}
.sa-trip-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sa-trip-university{font-size:13px;font-weight:800;color:#59726f;background:#edf8f4;border-radius:999px;padding:7px 10px}
.sa-trip-card h3{font-size:22px;color:#173948;margin:0}
.sa-trip-card p{margin:0;color:#6e8285;font-weight:700}
.sa-trip-meta{display:grid;gap:8px;border-top:1px dashed #d5e2e2;padding-top:12px;color:#47656c;font-size:14px;font-weight:700}
.sa-trip-meta span{display:flex;align-items:center;gap:8px}
.sa-trip-meta svg{width:17px;height:17px}
.sa-trip-seat-count{display:flex;align-items:baseline;gap:8px;background:#f0f8e7;border-radius:16px;padding:10px 12px;color:#315d45}
.sa-trip-seat-count strong{font-size:24px;line-height:1}
.sa-trip-seat-count span{font-size:13px;font-weight:700}
.sa-trip-manage{width:100%;justify-content:center;margin-top:2px;text-decoration:none}
@media (max-width:700px){.sa-trip-grid{grid-template-columns:1fr}.sa-trip-card{border-radius:20px;padding:17px}}


/* Prevent the English source copy from flashing while a tab is being translated. */
html.mashwar-rendering #content,
html.mashwar-rendering #side-nav { opacity:0; pointer-events:none; }


/* University admin trip filters */
.admin-trip-filter{margin:20px 0;border-color:#cfe6dd}
.admin-filter-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.admin-filter-head span{font-size:13px;font-weight:800;color:#49756b}
.admin-filter-head h2{margin:4px 0;font-size:24px;color:#173948}
.admin-filter-head p{margin:0;color:#718383}
.admin-filter-head>strong{white-space:nowrap;background:#eff8e7;color:#315d45;border-radius:999px;padding:9px 12px}
.admin-direction-filter{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.admin-direction-filter button{border:1px solid #d6e1df;background:#fff;color:#56716e;border-radius:13px;padding:11px 7px;font:inherit;font-weight:800;cursor:pointer}
.admin-direction-filter button.active{background:#173948;color:#fff;border-color:#173948}
.admin-direction-filter button.outbound.active{background:#147e98;border-color:#147e98}
.admin-direction-filter button.return.active{background:#436ba7;border-color:#436ba7}
.admin-filter-results{margin-top:20px}
@media(max-width:520px){.admin-filter-head{flex-direction:column}.admin-filter-head>strong{align-self:flex-start}.admin-direction-filter{grid-template-columns:1fr}}


/* Classic booking bus map — fixed visual layout */
html[data-mashwar-mode="live"] .classic-seat-map{
  max-width:420px;padding:16px 24px 24px;border:7px solid #245363;border-radius:54px 54px 31px 31px;
  background:#f9fdfd;box-shadow:0 17px 30px rgba(22,70,79,.14)
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-windshield{
  margin:0 46px 18px;padding:11px;border-radius:18px 18px 10px 10px;
  background:linear-gradient(90deg,#99dae6,#d5f5f8);color:#245363;font-size:12px
}
html[data-mashwar-mode="live"] .classic-seat-map .driver-seat{
  width:100%;min-height:62px;margin:0;display:grid;place-items:center;border-radius:13px;
  background:#e6f0ef;color:#42616c;font-size:12px
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-seat{
  min-height:62px;border:2px solid #72bf96;border-radius:17px;background:#bceccc;color:#135d3e;
  box-shadow:inset 0 -5px 0 rgba(38,127,76,.18);font-size:14px
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-seat.taken{
  border-color:#182e36;background:#23363b;color:#fff;box-shadow:inset 0 -5px 0 rgba(0,0,0,.22)
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-seat.mine{
  border-color:#1e739d;background:#bde6fb;color:#0d527b
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-entry{margin:17px 0 0 auto}
html[data-mashwar-mode="live"] .classic-seat-map .bus-back{margin-top:21px}
@media(max-width:380px){
  html[data-mashwar-mode="live"] .classic-seat-map{padding-inline:16px}
  html[data-mashwar-mode="live"] .classic-seat-map .bus-seat{min-height:54px}
}


/* مقاعد الأتوبيس: سائق يسار، A1 يمين، 3 + 3 + 4 بلا ممر */
html[dir="rtl"] .classic-seat-map .compact-bus-front {
  direction: ltr;
  display: grid !important;
  grid-template-columns: minmax(96px, 1fr) minmax(96px, 1fr) !important;
  align-items: stretch;
  gap: 72px;
  margin: 0 0 14px;
}
html[dir="rtl"] .classic-seat-map .compact-bus-front .driver-seat,
html[dir="rtl"] .classic-seat-map .compact-bus-front .bus-single {
  width: 100%;
  min-width: 0;
  margin: 0;
}
html[dir="rtl"] .classic-seat-map .compact-bus-front .driver-seat {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
html[dir="rtl"] .classic-seat-map .compact-bus-front .bus-single {
  display: flex;
}
html[dir="rtl"] .classic-seat-map .compact-bus-front .bus-seat {
  width: 100%;
  min-height: 64px;
}
html[dir="rtl"] .classic-seat-map .compact-seat-row {
  direction: ltr;
  display: grid !important;
  gap: 9px;
  margin: 0 0 9px;
  align-items: stretch;
}
html[dir="rtl"] .classic-seat-map .compact-seat-row.seats-1 { grid-template-columns: 1fr !important; }
html[dir="rtl"] .classic-seat-map .compact-seat-row.seats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
html[dir="rtl"] .classic-seat-map .compact-seat-row.seats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
html[dir="rtl"] .classic-seat-map .compact-seat-row.seats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
html[dir="rtl"] .classic-seat-map .compact-seat-row > div {
  display: flex;
  min-width: 0;
}
html[dir="rtl"] .classic-seat-map .compact-seat-row .bus-seat {
  width: 100%;
  min-width: 0;
  min-height: 62px;
  margin: 0;
}
@media (max-width: 380px) {
  html[dir="rtl"] .classic-seat-map .compact-bus-front { gap: 42px; }
  html[dir="rtl"] .classic-seat-map .compact-seat-row { gap: 6px; }
  html[dir="rtl"] .classic-seat-map .compact-seat-row .bus-seat,
  html[dir="rtl"] .classic-seat-map .compact-bus-front .bus-seat,
  html[dir="rtl"] .classic-seat-map .compact-bus-front .driver-seat { min-height: 56px; }
}


/* بحث المستخدمين داخل الجامعة */
.people-search {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #dbe7e1;
  border-radius: 18px;
  background: #fff;
  color: #193c49;
}
.people-search > span { font-weight: 800; }
.people-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid #cbdad3;
  border-radius: 13px;
  background: #f9fcfa;
  color: #193c49;
  font: inherit;
  outline: none;
}
.people-search input:focus { border-color: #176b63; box-shadow: 0 0 0 3px rgba(23,107,99,.12); }
.people-search small { min-height: 17px; color: #5d756e; font-weight: 700; }


/* Driver QR validation */
html[data-mashwar-mode="live"] .driver-quick-scan{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 20px;border-color:#c7e6df;background:linear-gradient(135deg,#f3fcf8,#fff)}
html[data-mashwar-mode="live"] .driver-quick-scan>div{display:flex;align-items:center;gap:12px}
html[data-mashwar-mode="live"] .driver-quick-scan .route-symbol{margin:0}
html[data-mashwar-mode="live"] .driver-quick-scan strong{display:block;color:#153c49;font-size:17px}
html[data-mashwar-mode="live"] .driver-quick-scan p{margin:3px 0 0;color:#6c817d;font-size:13px}
html[data-mashwar-mode="live"] .driver-scan-card{max-width:560px;margin:0 auto;text-align:center}
html[data-mashwar-mode="live"] .driver-scan-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 12px;border-radius:20px;background:#e5f5ef;color:#176b63}
html[data-mashwar-mode="live"] .driver-scan-icon svg{width:30px;height:30px}
html[data-mashwar-mode="live"] .driver-scan-card h2{margin:0;color:#163d49;font-size:24px}
html[data-mashwar-mode="live"] .driver-scan-card>p{margin:8px auto 18px;max-width:400px;color:#687e7a;line-height:1.7}
html[data-mashwar-mode="live"] .driver-scan-preview{position:relative;display:grid;place-items:center;min-height:220px;overflow:hidden;margin:0 0 15px;border:2px dashed #9bcfc0;border-radius:22px;background:linear-gradient(135deg,#e9f7f1,#fafffc);color:#4e716a}
html[data-mashwar-mode="live"] .driver-scan-preview video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#102a32}
html[data-mashwar-mode="live"] .driver-scan-preview span{position:relative;z-index:1;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.85);font-size:13px;font-weight:800}
html[data-mashwar-mode="live"] .driver-scan-manual{display:grid;gap:10px;margin-top:18px;padding-top:18px;border-top:1px dashed #cfdfda;text-align:right}
html[data-mashwar-mode="live"] .driver-scan-manual label{display:grid;gap:7px;color:#486761;font-size:13px;font-weight:800}
html[data-mashwar-mode="live"] .driver-scan-manual input{width:100%;min-height:48px;padding:0 13px;border:1px solid #c8d9d3;border-radius:13px;background:#fff;color:#173948;font:inherit;direction:ltr;text-align:left}
@media(max-width:520px){html[data-mashwar-mode="live"] .driver-quick-scan{align-items:stretch;flex-direction:column}html[data-mashwar-mode="live"] .driver-quick-scan .primary-btn{width:100%}}


/* Driver passenger manifest */
html[data-mashwar-mode="live"] .driver-passenger-list{max-width:620px;margin:0 auto}
html[data-mashwar-mode="live"] .driver-passenger-trip-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:12px 14px;border-radius:15px;background:#eef8f4;color:#315e54}
html[data-mashwar-mode="live"] .driver-passenger-trip-meta strong{font-size:16px}.driver-passenger-trip-meta span{font-size:13px;font-weight:700}
html[data-mashwar-mode="live"] .driver-passenger-items{display:grid;gap:10px}
html[data-mashwar-mode="live"] .driver-passenger-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #d9e7e2;border-radius:16px;background:#fff}
html[data-mashwar-mode="live"] .driver-passenger-row.is-boarded{border-color:#b6dbc5;background:#f2fbf5}
html[data-mashwar-mode="live"] .driver-passenger-seat{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#e5f5ef;color:#176b63;font-weight:900}
html[data-mashwar-mode="live"] .driver-passenger-row strong,.driver-passenger-row small{display:block}.driver-passenger-row strong{overflow:hidden;color:#173948;text-overflow:ellipsis;white-space:nowrap}.driver-passenger-row small{margin-top:3px;color:#71827f;font-size:12px}
html[data-mashwar-mode="live"] .driver-passenger-row .primary-btn{min-height:42px;padding-inline:13px;font-size:13px}
@media(max-width:390px){html[data-mashwar-mode="live"] .driver-passenger-row{grid-template-columns:43px minmax(0,1fr)}html[data-mashwar-mode="live"] .driver-passenger-row .primary-btn,html[data-mashwar-mode="live"] .driver-passenger-row .status{grid-column:1/-1;width:100%;justify-content:center}html[data-mashwar-mode="live"] .driver-passenger-seat{width:43px;height:43px}}


/* One-trip-at-a-time driver view */
html[data-mashwar-mode="live"] .driver-single-trip{max-width:620px;margin:0 auto}
html[data-mashwar-mode="live"] .driver-trip-label{margin-bottom:12px}.driver-trip-label span{display:inline-block;padding:6px 10px;border-radius:999px;background:#e7f5ef;color:#2f705e;font-size:12px;font-weight:900}
html[data-mashwar-mode="live"] .driver-trip-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;max-width:620px;margin:18px auto 0}.driver-trip-pager span{color:#607b75;font-weight:900}.driver-trip-pager button{min-width:126px}.driver-trip-pager button:disabled{opacity:.42;cursor:not-allowed}

/* Freemium plans: usage card, Meshwar Plus modal, owner plan controls. */
html[data-mashwar-mode="live"] .plus-nav-btn { background: linear-gradient(135deg, #f2c35b, #e0a92e); color: #17365d; font-weight: 800; }
html[data-mashwar-mode="live"] .plan-card { margin-top: 18px; }
html[data-mashwar-mode="live"] .plan-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
html[data-mashwar-mode="live"] .plan-usage { display: grid; gap: 12px; margin-top: 14px; }
html[data-mashwar-mode="live"] .plan-usage-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
html[data-mashwar-mode="live"] .plan-usage-row strong { font-variant-numeric: tabular-nums; }
html[data-mashwar-mode="live"] .plan-usage-bar { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: rgba(23, 54, 93, .12); overflow: hidden; }
html[data-mashwar-mode="live"] .plan-usage-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #176b63, #f2c35b); }
html[data-mashwar-mode="live"] .plus-modal-root { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; }
html[data-mashwar-mode="live"] .plus-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 22, 40, .62); backdrop-filter: blur(3px); animation: plusFadeIn .25s ease both; }
@keyframes plusFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes plusRiseIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
html[data-mashwar-mode="live"] .plus-modal { position: relative; width: min(660px, 100%); max-height: 92vh; overflow-y: auto; overflow-x: hidden; padding: 0; border-radius: 24px; box-shadow: 0 30px 80px rgba(6, 17, 32, .45), 0 4px 18px rgba(6, 17, 32, .25); animation: plusRiseIn .32s cubic-bezier(.2, .8, .25, 1) both; }
html[data-mashwar-mode="live"] .plus-modal-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 24px; color: #fff; background: radial-gradient(420px 220px at 88% -30%, rgba(242, 195, 91, .5), rgba(242, 195, 91, 0) 62%), linear-gradient(135deg, #0d2440, #17365d 58%, #1e4676); }
html[data-mashwar-mode="live"] .plus-head-badge { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; font-size: 26px; line-height: 1; color: #17365d; background: linear-gradient(135deg, #f7d47c, #e0a92e); box-shadow: 0 8px 18px rgba(224, 169, 46, .45), inset 0 1px 0 rgba(255, 255, 255, .65); }
html[data-mashwar-mode="live"] .plus-head-text { flex: 1; min-width: 0; }
html[data-mashwar-mode="live"] .plus-eyebrow { color: #f2c35b; letter-spacing: .22em; font-weight: 800; font-size: .72rem; margin-bottom: 2px; }
html[data-mashwar-mode="live"] .plus-modal-head h2 { margin: 3px 0 4px; color: #fff; font-size: 1.65rem; }
html[data-mashwar-mode="live"] .plus-modal-head p { margin: 0; color: rgba(255, 255, 255, .82); }
html[data-mashwar-mode="live"] .plus-modal .plus-close { flex: none; align-self: flex-start; width: 36px; height: 36px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; cursor: pointer; }
html[data-mashwar-mode="live"] .plus-modal .plus-close:hover { background: rgba(255, 255, 255, .26); }
html[data-mashwar-mode="live"] .plus-modal-body { padding: 20px 24px 24px; }
html[data-mashwar-mode="live"] .plus-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
html[data-mashwar-mode="live"] .plus-package { background: #fff; border: 1px solid rgba(23, 54, 93, .12); border-radius: 18px; padding: 18px; display: grid; gap: 12px; align-content: start; box-shadow: 0 8px 22px rgba(13, 36, 64, .07); }
html[data-mashwar-mode="live"] .plus-package.featured { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #f2c35b, #e0a92e) border-box; box-shadow: 0 14px 30px rgba(224, 169, 46, .22); }
html[data-mashwar-mode="live"] .plus-package.current { border-color: #176b63; box-shadow: 0 0 0 2px rgba(23, 107, 99, .25); }
html[data-mashwar-mode="live"] .plus-package.featured.current { box-shadow: 0 0 0 2px rgba(23, 107, 99, .3), 0 14px 30px rgba(224, 169, 46, .22); }
html[data-mashwar-mode="live"] .plus-package-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html[data-mashwar-mode="live"] .plus-package-head h3 { margin: 0; }
html[data-mashwar-mode="live"] .plus-package-badges { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
html[data-mashwar-mode="live"] .plus-top-badge { background: linear-gradient(135deg, #f2c35b, #e0a92e); color: #17365d; font-size: .72rem; font-weight: 800; white-space: nowrap; padding: 3px 10px; border-radius: 999px; box-shadow: 0 3px 8px rgba(224, 169, 46, .35); }
html[data-mashwar-mode="live"] .plus-price { font-size: 1.9rem; font-weight: 800; line-height: 1.1; color: var(--navy); display: flex; align-items: baseline; gap: 6px; }
html[data-mashwar-mode="live"] .plus-price-unit { font-size: .85rem; font-weight: 700; letter-spacing: .05em; color: #b97f14; }
html[data-mashwar-mode="live"] .plus-package ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
html[data-mashwar-mode="live"] .plus-package li { display: flex; align-items: flex-start; gap: 8px; }
html[data-mashwar-mode="live"] .plus-check { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 900; color: #8a5f0d; background: linear-gradient(135deg, rgba(242, 195, 91, .45), rgba(224, 169, 46, .45)); }
html[data-mashwar-mode="live"] .plus-package .plus-upgrade-btn { background: linear-gradient(135deg, #2bd46b, #0f9d58); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(15, 157, 88, .3); }
html[data-mashwar-mode="live"] .plus-package .plus-upgrade-btn:hover { background: linear-gradient(135deg, #2bd46b, #0f9d58); filter: brightness(1.06); }
html[data-mashwar-mode="live"] .plus-pay { margin-top: 22px; border-top: 1px dashed rgba(23, 54, 93, .22); padding-top: 16px; }
html[data-mashwar-mode="live"] .plus-pay h3 { margin: 0 0 12px; }
html[data-mashwar-mode="live"] .plus-steps { margin: 0; padding: 0; list-style: none; display: grid; }
html[data-mashwar-mode="live"] .plus-step { position: relative; display: flex; gap: 12px; align-items: flex-start; padding-bottom: 16px; }
html[data-mashwar-mode="live"] .plus-step:last-child { padding-bottom: 0; }
html[data-mashwar-mode="live"] .plus-step:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 13px; top: 32px; bottom: 2px; width: 2px; border-radius: 2px; background: linear-gradient(rgba(224, 169, 46, .5), rgba(224, 169, 46, .12)); }
html[data-mashwar-mode="live"] .plus-step-num { position: relative; z-index: 1; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f2c35b, #e0a92e); color: #17365d; font-weight: 800; font-size: .85rem; box-shadow: 0 3px 8px rgba(224, 169, 46, .35); }
html[data-mashwar-mode="live"] .plus-step p { margin: 3px 0 0; }
html[data-mashwar-mode="live"] .plus-chip { display: inline-block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; background: rgba(23, 54, 93, .06); border: 1px solid rgba(23, 54, 93, .14); border-radius: 999px; padding: 1px 10px; word-break: break-all; }
html[data-mashwar-mode="live"] .plus-pay-note { margin-top: 12px; }
@media (max-width: 560px) { html[data-mashwar-mode="live"] .plus-modal-head { padding: 20px 18px; } html[data-mashwar-mode="live"] .plus-modal-body { padding: 16px 16px 20px; } html[data-mashwar-mode="live"] .plus-head-badge { width: 46px; height: 46px; font-size: 22px; } }
html[data-mashwar-mode="live"] .plan-admin-list { display: grid; gap: 10px; margin-top: 12px; }
html[data-mashwar-mode="live"] .plan-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border: 1px solid rgba(23, 54, 93, .12); border-radius: 12px; padding: 10px 14px; }
html[data-mashwar-mode="live"] .plan-admin-row small { display: block; opacity: .7; }
html[data-mashwar-mode="live"] .plan-admin-row select { min-width: 150px; }
html[data-mashwar-mode="live"] .sa-plan-label { color: #176b63; font-weight: 700; }
html[data-mashwar-mode="live"] .auth-selfserve { margin-top: 22px; border-top: 1px dashed rgba(23, 54, 93, .25); padding-top: 18px; display: grid; gap: 10px; text-align: center; color: var(--muted); }
html[data-mashwar-mode="live"] .auth-selfserve p { margin: 0; }


/* ===== PHASE 1 POLISH ===== */
/* Quick-polish pass: one radius scale, one real shadow scale, lime-to-gold
   accent unification, button motion with a single focus ring, a navy
   bottom-nav active state, and a permanent CSS hide for preview-only chrome.
   Live mode only. Purely visual: no layout or behavior changes.
   Reduced motion is already neutralized globally for live mode by the
   @media (prefers-reduced-motion: reduce) kill-switch earlier in this file,
   which also covers every transition introduced below. */
html[data-mashwar-mode="live"] {
  --p-radius-sm: 12px;
  --p-radius-md: 16px;
  --p-radius-lg: 20px;
  --p-radius-xl: 24px;
  --p-shadow-sm: 0 1px 2px rgba(13,36,64,.06), 0 2px 8px rgba(13,36,64,.06);
  --p-shadow-md: 0 2px 6px rgba(13,36,64,.07), 0 10px 28px rgba(13,36,64,.10);
  --p-shadow-lg: 0 8px 16px rgba(13,36,64,.10), 0 24px 56px rgba(13,36,64,.18);
  --p-gold: #e0a92e;
  --p-gold-bright: #f2c35b;
  --p-gold-soft: #f7d47c;
}

/* 1 — Unified radius scale.
   12px: buttons, inputs, small controls. 16px: chips, inner cards, list rows.
   20px: cards. 24px: modals, bottom sheets, hero panels. 999px pills unchanged.
   The pictorial bus seat-map radii are deliberately untouched. */
html[data-mashwar-mode="live"] .primary-btn,
html[data-mashwar-mode="live"] .outline-btn,
html[data-mashwar-mode="live"] .icon-button,
html[data-mashwar-mode="live"] .language-trigger,
html[data-mashwar-mode="live"] .auth-language,
html[data-mashwar-mode="live"] .password-toggle,
html[data-mashwar-mode="live"] .admin-direction-filter button { border-radius: var(--p-radius-sm); }
html[data-mashwar-mode="live"] .status,
html[data-mashwar-mode="live"] .schedule-direction,
html[data-mashwar-mode="live"] .activity-log-item,
html[data-mashwar-mode="live"] .plan-admin-row,
html[data-mashwar-mode="live"] .trip-seats-summary,
html[data-mashwar-mode="live"] .transport-note,
html[data-mashwar-mode="live"] .toast,
html[data-mashwar-mode="live"] .person-row,
html[data-mashwar-mode="live"] .route-schedule-row { border-radius: var(--p-radius-md); }
html[data-mashwar-mode="live"] .card,
html[data-mashwar-mode="live"] .university-card,
html[data-mashwar-mode="live"] .plus-package { border-radius: var(--p-radius-lg); }
html[data-mashwar-mode="live"] .plus-modal,
html[data-mashwar-mode="live"] .journey-summary { border-radius: var(--p-radius-xl); }
html[data-mashwar-mode="live"] .trip-manager-sheet { border-radius: var(--p-radius-xl) var(--p-radius-xl) 0 0; }
@media(max-width:720px) { html[data-mashwar-mode="live"] .auth-hero { border-radius: 0 0 var(--p-radius-xl) var(--p-radius-xl); } }

/* 2 — Real shadow scale (replaces the ~1.5%-opacity card shadow in live mode).
   .plus-package.featured / .current keep their own higher-specificity shadows. */
html[data-mashwar-mode="live"] .card,
html[data-mashwar-mode="live"] .university-card,
html[data-mashwar-mode="live"] .plus-package { box-shadow: var(--p-shadow-md); }
html[data-mashwar-mode="live"] .plus-modal,
html[data-mashwar-mode="live"] .trip-manager-sheet { box-shadow: var(--p-shadow-lg); }
html[data-mashwar-mode="live"] .activity-log-item,
html[data-mashwar-mode="live"] .icon-button,
html[data-mashwar-mode="live"] .language-trigger { box-shadow: var(--p-shadow-sm); }

/* 3 — Lime-to-gold accent unification (sign-in brand marks and hero accents).
   Same selectors as the original rules; this later position wins the cascade.
   The glass sign-in variants carry !important in login-glass.css and are
   recolored there directly. */
html[data-mashwar-mode="live"] .mashwar-mark span { color: var(--p-gold-bright); }
html[data-mashwar-mode="live"] .auth-mark { background: linear-gradient(135deg, var(--p-gold-bright), var(--p-gold)); box-shadow: 0 0 24px rgba(224,169,46,.30); }
html[data-mashwar-mode="live"] .auth-mark span { color: #17365d; }
html[data-mashwar-mode="live"] .auth-eyebrow { color: var(--p-gold-bright); }
html[data-mashwar-mode="live"] .auth-benefits b { color: var(--p-gold-soft); }
html[data-mashwar-mode="live"] .auth-route>span { color: var(--p-gold-soft); }
html[data-mashwar-mode="live"] .auth-route i:after { background: var(--p-gold-bright); }
html[data-mashwar-mode="live"] .night-pin { background: var(--p-gold-bright); box-shadow: 0 0 0 7px rgba(242,195,91,.14), 0 0 16px rgba(224,169,46,.75); }
html[data-mashwar-mode="live"] .night-bus em { background: var(--p-gold-bright); box-shadow: 0 0 9px var(--p-gold-bright); }

/* 4 — Button/link motion and one unified focus ring.
   (The pre-existing .primary-btn:hover background shift still applies.) */
html[data-mashwar-mode="live"] .primary-btn,
html[data-mashwar-mode="live"] .outline-btn,
html[data-mashwar-mode="live"] .icon-button,
html[data-mashwar-mode="live"] .plus-nav-btn,
html[data-mashwar-mode="live"] .bottom-nav button { transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, filter .15s ease, color .15s ease; }
html[data-mashwar-mode="live"] .card { transition: box-shadow .15s ease; }
html[data-mashwar-mode="live"] .primary-btn:not(:disabled):hover,
html[data-mashwar-mode="live"] .outline-btn:not(:disabled):hover,
html[data-mashwar-mode="live"] .icon-button:hover,
html[data-mashwar-mode="live"] .bottom-nav button:hover { transform: translateY(-1px); box-shadow: var(--p-shadow-sm); }
html[data-mashwar-mode="live"] .plus-nav-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
html[data-mashwar-mode="live"] .university-card:hover { box-shadow: 0 4px 10px rgba(13,36,64,.09), 0 16px 38px rgba(13,36,64,.13); }
html[data-mashwar-mode="live"] .primary-btn:not(:disabled):active,
html[data-mashwar-mode="live"] .outline-btn:not(:disabled):active,
html[data-mashwar-mode="live"] .icon-button:active,
html[data-mashwar-mode="live"] .plus-nav-btn:active,
html[data-mashwar-mode="live"] .bottom-nav button:active { transform: scale(.98); }
html[data-mashwar-mode="live"] .primary-btn:focus-visible,
html[data-mashwar-mode="live"] .outline-btn:focus-visible,
html[data-mashwar-mode="live"] .icon-button:focus-visible,
html[data-mashwar-mode="live"] .plus-nav-btn:focus-visible,
html[data-mashwar-mode="live"] .bottom-nav button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(224,169,46,.45); }

/* 5 — Bottom-nav active state: navy gradient + white icon/label (Plus language).
   The gold Meshwar Plus nav button keeps its own identity via :not(). */
html[data-mashwar-mode="live"] .bottom-nav button.active:not(.plus-nav-btn) { background: linear-gradient(135deg, #17365d, #1e4676); color: #fff; }

/* 6 — Preview-only chrome never renders in live mode (theme chooser + its
   trigger + the Owner/Admin/Student/Driver role switcher). Preview mode,
   where themes.js and the prototype scripts run, is unaffected. */
html[data-mashwar-mode="live"] .role-switch,
html[data-mashwar-mode="live"] #theme-panel,
html[data-mashwar-mode="live"] #theme-button { display: none !important; }


/* ===== PHASE 2 UNIFICATION =====
   One color source, one calm premium sign-in, skeleton loaders, one empty
   state, one number rule. Builds on Phase 1 above; the Plus modal's own
   styles are untouched. */

/* 1) ONE COLOR SOURCE — the authoritative live tokens (Plus navy/gold).
   This block wins the live cascade over the legacy definitions: :root in
   styles.css (--navy:#102947) and cuc.css (--navy:#12375d), and the petrol
   --navy:#142d3b at the top of this file. Those definitions are KEPT, not
   deleted: preview mode resolves its palette from them (cuc.css currently
   wins --navy there), while live mode is governed from here. Functional
   green (--teal, success) is unchanged. */
html[data-mashwar-mode="live"] {
  --navy-900: #0d2440;
  --navy: #17365d;
  --navy-700: #1e4676;
  --gold: #e0a92e;
  --gold-bright: #f2c35b;
}
html[data-mashwar-mode="live"] .primary-btn:hover { background: var(--navy-700); }

/* 2) ONE CALM, PREMIUM SIGN-IN — live only. login-glass.css is rescoped to
   preview mode, so the live auth is styled entirely from here: deep Plus
   navy backdrop with a soft radial gold glow, the night route/pin/bus
   motifs recolored to calm gold/navy (no neon cyan, no glow), and a clean
   white auth card. */
html[data-mashwar-mode="live"] .app-shell.auth-screen,
html[data-mashwar-mode="live"] .auth-screen main { background: #0d2440; }
html[data-mashwar-mode="live"] .auth-layout.glass-auth-layout {
  position: relative;
  background:
    radial-gradient(circle at 16% 6%, rgba(242,195,91,.16), transparent 30%),
    radial-gradient(circle at 88% 44%, rgba(30,70,118,.55), transparent 36%),
    linear-gradient(160deg, #0d2440 0%, #17365d 55%, #0d2440 100%);
}
html[data-mashwar-mode="live"] .auth-hero.auth-night-hero:before,
html[data-mashwar-mode="live"] .auth-hero.auth-night-hero:after { border-color: rgba(242,195,91,.13); }
html[data-mashwar-mode="live"] .auth-night-map:before {
  background:
    radial-gradient(circle at 75% 75%, rgba(242,195,91,.10), transparent 2%, transparent 8%),
    radial-gradient(circle at 16% 75%, rgba(242,195,91,.08), transparent 2%, transparent 9%),
    linear-gradient(110deg, transparent 48%, rgba(247,212,124,.05) 48.2%, transparent 48.6%);
}
html[data-mashwar-mode="live"] .night-route {
  border-color: rgba(247,212,124,.45) transparent transparent;
  filter: none;
  opacity: .5;
}
html[data-mashwar-mode="live"] .night-pin {
  box-shadow: 0 0 0 7px rgba(242,195,91,.10), 0 4px 10px rgba(0,0,0,.25);
}
html[data-mashwar-mode="live"] .night-pin:after { background: #17365d; }
html[data-mashwar-mode="live"] .night-bus {
  border-color: rgba(247,212,124,.55);
  background: linear-gradient(160deg, rgba(23,54,93,.96), rgba(13,36,64,.98));
  box-shadow: 0 12px 26px rgba(0,0,0,.35);
}
html[data-mashwar-mode="live"] .night-bus:before {
  border-color: rgba(255,255,255,.38);
  background: repeating-linear-gradient(90deg, rgba(247,212,124,.30) 0 18px, transparent 18px 23px);
}
html[data-mashwar-mode="live"] .night-bus b {
  border-color: #a9c3e2;
  box-shadow: 77px 0 0 -3px #07142b, 77px 0 0 0 #a9c3e2;
}
html[data-mashwar-mode="live"] .night-bus i { border-color: rgba(247,212,124,.55); }
html[data-mashwar-mode="live"] .night-bus em { box-shadow: 0 0 6px rgba(242,195,91,.5); }
html[data-mashwar-mode="live"] .auth-night-benefits svg { color: var(--gold-bright); }
html[data-mashwar-mode="live"] .auth-route>span { color: #f7d47c; }
html[data-mashwar-mode="live"] .auth-route i:after { background: var(--gold-bright); }
html[data-mashwar-mode="live"] .auth-panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--p-shadow-lg);
  backdrop-filter: none;
  color: var(--ink);
}
html[data-mashwar-mode="live"] .auth-panel-head h1 { color: var(--ink); }
html[data-mashwar-mode="live"] .auth-panel-head p { color: var(--muted); }
html[data-mashwar-mode="live"] .auth-panel-head .auth-eyebrow { color: #8a5f0c; }
html[data-mashwar-mode="live"] .auth-google { border: 1px solid var(--line); box-shadow: var(--p-shadow-sm); }
html[data-mashwar-mode="live"] .auth-quick-points { color: var(--muted); }
html[data-mashwar-mode="live"] .auth-quick-points svg { color: var(--gold); }
html[data-mashwar-mode="live"] .auth-quick-points i { background: var(--line); }

/* 3) SKELETON LOADERS — same card silhouette as .card; the shimmer is also
   covered by the global prefers-reduced-motion kill-switch earlier in this
   file, and explicitly disabled here as well. */
html[data-mashwar-mode="live"] .skeleton-list { display: grid; gap: 16px; }
html[data-mashwar-mode="live"] .skeleton-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--p-radius-lg);
  box-shadow: var(--p-shadow-sm);
  padding: 22px;
  display: grid;
  gap: 11px;
}
html[data-mashwar-mode="live"] .sk-line {
  display: block;
  width: 85%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e8edec 25%, #f4f7f6 50%, #e8edec 75%);
  background-size: 200% 100%;
  animation: mashwar-sk-shimmer 1.3s ease-in-out infinite;
}
html[data-mashwar-mode="live"] .sk-line.sk-title { width: 55%; height: 16px; }
html[data-mashwar-mode="live"] .sk-line.sk-short { width: 45%; }
@keyframes mashwar-sk-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-mashwar-mode="live"] .sk-line { animation: none; }
}

/* 4) ONE EMPTY STATE — sprite icon in a tinted navy circle, title, muted
   line, optional action slot (rendered by emptyState() in live.js). */
html[data-mashwar-mode="live"] .empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 7px;
  padding: 36px 24px;
}
html[data-mashwar-mode="live"] .empty-state-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(23,54,93,.07);
  color: var(--navy);
  margin-bottom: 5px;
}
html[data-mashwar-mode="live"] .empty-state-icon svg { width: 27px; height: 27px; }
html[data-mashwar-mode="live"] .empty-state h3 { margin: 0; font-size: 17px; color: var(--ink); }
html[data-mashwar-mode="live"] .empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
  max-width: 420px;
}
html[data-mashwar-mode="live"] .empty-state .primary-btn,
html[data-mashwar-mode="live"] .empty-state .outline-btn { margin-top: 10px; }

/* 6) ONE NUMBER RULE (figures) — data counters and prices use tabular
   figures; the digits themselves are forced Latin by num() in the JS. */
html[data-mashwar-mode="live"] .summary-stats strong,
html[data-mashwar-mode="live"] .plan-usage-row strong,
html[data-mashwar-mode="live"] .plus-price,
html[data-mashwar-mode="live"] .sa-stat strong,
html[data-mashwar-mode="live"] .sa-trip-seat-count strong,
html[data-mashwar-mode="live"] [data-ui-count] { font-variant-numeric: tabular-nums; }


/* ===== PHASE 3 ARCHITECTURE =====
   Live-only structural pass, two items:
   1) The .night-bus CSS-art bus in the auth hero is retired: at shorter
      viewports it collided with the benefits chips. The night routes and
      pins motif stays; only the bus is hidden, wherever the auth hero
      renders (sign-in and create-university).
   2) A real desktop sidebar at >=1100px: the floating bottom nav becomes
      a fixed navy rail on the inline-start side (right in RTL, left in
      LTR) and the shell makes room for it via padding-inline-start, with
      max-width widened by the same 248px so the content column keeps its
      exact Phase 1-2 width (1180px) on wide screens. Auth screens keep
      their centred sign-in layout and floating nav untouched, and below
      1100px nothing changes at all. The rail sits at z-index 10: above
      page content (<=3), below the toast (20), trip sheets (80/81) and
      the Plus modal (9000). These rules also reach live mode through
      production.css, the consolidated bundle built from this file (see
      scripts/build-production-css.mjs). */

/* 1) Night bus retired (live auth hero). */
html[data-mashwar-mode="live"] .night-bus { display: none; }

/* 2) Desktop sidebar (live, >=1100px, non-auth shell only). */
@media (min-width: 1100px) {
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) {
    max-width: 1428px; /* 1180px content + 248px rail */
    padding-inline-start: 248px;
  }
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: 248px;
    max-width: none;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 6px;
    padding: 26px 14px calc(16px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #0d2440, #17365d);
    border: 0;
    border-inline-end: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    z-index: 10;
    overflow-y: auto;
  }
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav button {
    flex: none;
    width: 100%;
    min-height: 48px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--p-radius-sm);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: start;
  }
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav button:not(.plus-nav-btn) { color: #b7c9de; }
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav button:not(.plus-nav-btn):hover {
    transform: none;
    background: rgba(255,255,255,.07);
    box-shadow: none;
    color: #fff;
  }
  /* Active page: gold-tinted pill with gold label (the solid-gold style
     stays reserved for the Meshwar Plus button itself). Overrides both
     the Phase 1 navy-gradient active state and the legacy theme tints. */
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav button.active:not(.plus-nav-btn) {
    background: rgba(242,195,91,.16);
    color: var(--gold-bright);
    box-shadow: inset 0 0 0 1px rgba(242,195,91,.35);
  }
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav .icon { width: 21px; height: 21px; }
  /* Meshwar Plus anchors the bottom of the rail; sign-out sits under it.
     When a chrome has no Plus button (platform owner), sign-out takes
     the anchor instead. Visitor chrome has neither and stays top-packed. */
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav .plus-nav-btn { margin-top: auto; }
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav:not(:has(.plus-nav-btn)) [data-live-action="sign-out"] { margin-top: auto; }
}

/* ===== PHASE 4 LANDING =====
   Public marketing layer (dist/index.html #mashwar-landing), shown only on
   the site root to signed-out visitors in live mode. All selectors are
   scoped to #mashwar-landing / html.mashwar-landing-open so nothing here
   can touch the app. While the landing is open, the app shell and boot
   loader are hidden and the page scrolls as a normal document. */
html.mashwar-landing-open { overflow: auto; }
html.mashwar-landing-open .app-shell { display: none !important; }
html.mashwar-landing-open #mashwar-boot-loader { display: none !important; }
#mashwar-landing { position: relative; z-index: 5; background: #f7fafc; color: #1c2b3a; font-family: Cairo, system-ui, sans-serif; }
#mashwar-landing[hidden] { display: none !important; }
#mashwar-landing .lp-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 44px); background: rgba(16, 41, 71, .96); backdrop-filter: blur(8px); }
#mashwar-landing .lp-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
#mashwar-landing .lp-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, #f2c35b, #e0a92e); color: #102947; font: 800 25px/1 Manrope, system-ui, sans-serif; }
#mashwar-landing .lp-mark i { font-style: normal; font-size: 15px; align-self: end; margin: 0 0 9px -5px; }
#mashwar-landing .lp-brand-text strong { display: block; font-size: 20px; line-height: 1.1; }
#mashwar-landing .lp-brand-text small { display: block; font-size: 10px; letter-spacing: .08em; color: #b9c9dd; font-weight: 700; }
#mashwar-landing .lp-links { display: flex; gap: 26px; }
#mashwar-landing .lp-links a { color: #d5e0ee; text-decoration: none; font-weight: 700; font-size: 15px; }
#mashwar-landing .lp-links a:hover { color: #f2c35b; }
#mashwar-landing .lp-nav-actions { display: flex; gap: 10px; align-items: center; }
#mashwar-landing .lp-btn { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 15px; padding: 11px 20px; border-radius: 999px; text-decoration: none; display: inline-block; transition: transform .08s ease, box-shadow .15s ease, background .15s ease; }
#mashwar-landing .lp-btn:active { transform: scale(.97); }
#mashwar-landing .lp-btn-gold { background: linear-gradient(135deg, #f2c35b, #e0a92e); color: #102947; box-shadow: 0 10px 24px rgba(224, 169, 46, .35); }
#mashwar-landing .lp-btn-gold:hover { box-shadow: 0 14px 30px rgba(224, 169, 46, .45); }
#mashwar-landing .lp-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
#mashwar-landing .lp-btn-navy { background: #17365d; color: #fff; width: 100%; }
#mashwar-landing .lp-btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
#mashwar-landing .lp-btn-lg { padding: 15px 30px; font-size: 17px; }
#mashwar-landing .lp-hero { background: radial-gradient(1100px 480px at 85% -10%, rgba(242, 195, 91, .22), transparent 60%), linear-gradient(150deg, #17365d, #102947 70%); color: #fff; padding: clamp(52px, 9vw, 96px) clamp(16px, 4vw, 44px) clamp(48px, 7vw, 76px); text-align: center; }
#mashwar-landing .lp-hero-inner { max-width: 860px; margin: 0 auto; }
#mashwar-landing .lp-eyebrow { margin: 0 0 14px; font-weight: 800; font-size: 14px; letter-spacing: .02em; color: #f2c35b; }
#mashwar-landing .lp-eyebrow-dark { color: #b07f14; text-align: center; }
#mashwar-landing .lp-hero h1 { margin: 0 0 18px; font-size: clamp(32px, 6vw, 54px); line-height: 1.35; font-weight: 800; }
#mashwar-landing .lp-hero h1 span { color: #f2c35b; }
#mashwar-landing .lp-lead { margin: 0 auto 30px; max-width: 640px; font-size: clamp(16px, 2.4vw, 20px); line-height: 1.9; color: #d5e0ee; }
#mashwar-landing .lp-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#mashwar-landing .lp-trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; color: #b9c9dd; font-size: 14px; font-weight: 700; }
#mashwar-landing .lp-trust li::before { content: "✓"; color: #f2c35b; margin-inline-end: 7px; font-weight: 800; }
#mashwar-landing .lp-route { margin: 44px auto 0; max-width: 560px; display: flex; align-items: center; gap: 10px; }
#mashwar-landing .lp-stop { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #d5e0ee; white-space: nowrap; }
#mashwar-landing .lp-stop i { width: 11px; height: 11px; border-radius: 50%; background: #f2c35b; box-shadow: 0 0 0 4px rgba(242, 195, 91, .25); }
#mashwar-landing .lp-line { flex: 1; border-top: 3px dotted rgba(242, 195, 91, .55); }
#mashwar-landing .lp-bus { font-size: 30px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
#mashwar-landing .lp-section { max-width: 1080px; margin: 0 auto; padding: clamp(44px, 7vw, 72px) clamp(16px, 4vw, 44px) 8px; }
#mashwar-landing .lp-section h2 { text-align: center; margin: 0 0 34px; font-size: clamp(24px, 4vw, 34px); color: #102947; }
#mashwar-landing .lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
#mashwar-landing .lp-card { background: #fff; border: 1px solid #e3eaf2; border-radius: 20px; padding: 24px; box-shadow: 0 12px 32px rgba(16, 41, 71, .06); }
#mashwar-landing .lp-ico { font-size: 28px; display: block; margin-bottom: 10px; }
#mashwar-landing .lp-card h3 { margin: 0 0 8px; font-size: 18px; color: #17365d; }
#mashwar-landing .lp-card p { margin: 0; color: #5b6b7c; line-height: 1.85; font-size: 15px; }
#mashwar-landing .lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
#mashwar-landing .lp-step { background: #fff; border: 1px solid #e3eaf2; border-radius: 20px; padding: 24px; text-align: center; box-shadow: 0 12px 32px rgba(16, 41, 71, .06); }
#mashwar-landing .lp-step span { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, #f2c35b, #e0a92e); color: #102947; font: 800 21px/1 Manrope, system-ui, sans-serif; }
#mashwar-landing .lp-step h3 { margin: 0 0 8px; font-size: 18px; color: #17365d; }
#mashwar-landing .lp-step p { margin: 0; color: #5b6b7c; line-height: 1.85; font-size: 15px; }
#mashwar-landing .lp-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
#mashwar-landing .lp-plan { position: relative; background: #fff; border: 1px solid #e3eaf2; border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; box-shadow: 0 12px 32px rgba(16, 41, 71, .06); }
#mashwar-landing .lp-plan h3 { margin: 0 0 6px; font-size: 19px; color: #17365d; }
#mashwar-landing .lp-price { margin: 0 0 16px; font: 800 40px/1.2 Manrope, system-ui, sans-serif; color: #102947; }
#mashwar-landing .lp-price small { font-family: Cairo, system-ui, sans-serif; font-size: 15px; font-weight: 700; color: #5b6b7c; }
#mashwar-landing .lp-plan ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
#mashwar-landing .lp-plan li { padding: 6px 0; color: #33475c; font-size: 15px; }
#mashwar-landing .lp-plan li::before { content: "✓"; color: #b07f14; font-weight: 800; margin-inline-end: 8px; }
#mashwar-landing .lp-plan-featured { background: linear-gradient(165deg, #17365d, #102947); border-color: #102947; color: #fff; }
#mashwar-landing .lp-plan-featured h3, #mashwar-landing .lp-plan-featured .lp-price { color: #fff; }
#mashwar-landing .lp-plan-featured .lp-price small { color: #b9c9dd; }
#mashwar-landing .lp-plan-featured li { color: #d5e0ee; }
#mashwar-landing .lp-plan-featured li::before { color: #f2c35b; }
#mashwar-landing .lp-badge { position: absolute; top: -13px; inset-inline-start: 22px; background: linear-gradient(135deg, #f2c35b, #e0a92e); color: #102947; font-size: 12.5px; font-weight: 800; padding: 5px 13px; border-radius: 999px; }
#mashwar-landing .lp-badge-navy { background: #17365d; color: #fff; }
#mashwar-landing .lp-plans-note { text-align: center; color: #5b6b7c; font-size: 14.5px; margin: 20px 0 0; }
#mashwar-landing .lp-faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
#mashwar-landing .lp-faq-list details { background: #fff; border: 1px solid #e3eaf2; border-radius: 16px; padding: 16px 20px; }
#mashwar-landing .lp-faq-list summary { cursor: pointer; font-weight: 800; color: #17365d; font-size: 16px; }
#mashwar-landing .lp-faq-list p { margin: 10px 0 2px; color: #5b6b7c; line-height: 1.85; font-size: 15px; }
#mashwar-landing .lp-cta { margin: clamp(44px, 7vw, 72px) auto 0; max-width: 1080px; padding: 0 clamp(16px, 4vw, 44px); }
#mashwar-landing .lp-cta { text-align: center; }
#mashwar-landing .lp-cta h2 { font-size: clamp(24px, 4vw, 32px); color: #102947; margin: 0 0 10px; }
#mashwar-landing .lp-cta p { color: #5b6b7c; margin: 0 0 22px; font-size: 16.5px; }
#mashwar-landing .lp-cta .lp-btn { margin-bottom: 8px; }
#mashwar-landing .lp-footer { margin-top: 44px; background: #102947; color: #b9c9dd; }
#mashwar-landing .lp-footer-in { max-width: 1080px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; }
#mashwar-landing .lp-footer nav { display: flex; gap: 20px; }
#mashwar-landing .lp-footer a { color: #d5e0ee; text-decoration: none; font-weight: 700; }
#mashwar-landing .lp-footer a:hover { color: #f2c35b; }
@media (max-width: 760px) {
  #mashwar-landing .lp-links { display: none; }
  #mashwar-landing .lp-btn-ghost { display: none; }
  #mashwar-landing .lp-nav-actions .lp-btn { padding: 9px 14px; font-size: 13.5px; }
  #mashwar-landing .lp-route { display: none; }
}

/* ===== PHASE 5 ONBOARDING =====
   First-run checklist card on the university admin home (live.js
   onboardingCard). Shown only while routes/vehicles/students are missing
   and not dismissed for that university. Scoped to .onboarding-card. */
.onboarding-card { border: 1px solid rgba(224, 169, 46, .45); background: linear-gradient(180deg, rgba(242, 195, 91, .08), rgba(242, 195, 91, 0) 55%), var(--card, #fff); }
.onboarding-card .ob-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.onboarding-card .ob-dismiss { flex: none; }
.onboarding-card .ob-progress { display: flex; align-items: center; gap: 12px; margin: 14px 0 6px; }
.onboarding-card .ob-progress .plan-usage-bar { flex: 1; }
.onboarding-card .ob-progress span { font-size: 13px; font-weight: 700; color: var(--muted, #647680); white-space: nowrap; }
.onboarding-card .ob-steps { display: grid; gap: 4px; margin-top: 8px; }
.onboarding-card .ob-step { display: flex; align-items: center; gap: 13px; padding: 11px 4px; border-top: 1px dashed var(--line, #e3eaf2); }
.onboarding-card .ob-step:first-child { border-top: 0; }
.onboarding-card .ob-check { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #17365d; color: #fff; font: 800 14px/1 Manrope, system-ui, sans-serif; }
.onboarding-card .ob-step.done .ob-check { background: linear-gradient(135deg, #f2c35b, #e0a92e); color: #102947; }
.onboarding-card .ob-text { flex: 1; min-width: 0; }
.onboarding-card .ob-text strong { display: block; font-size: 15.5px; color: #102947; }
.onboarding-card .ob-text p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted, #647680); line-height: 1.7; }
.onboarding-card .ob-step.done .ob-text strong, .onboarding-card .ob-step.done .ob-text p { opacity: .65; }
.onboarding-card .ob-step .outline-btn { flex: none; }
@media (max-width: 560px) {
  .onboarding-card .ob-step { flex-wrap: wrap; }
  .onboarding-card .ob-step .outline-btn { margin-inline-start: 45px; }
}

/* ===== PHASE 6 DASHBOARD FIXES =====
   Owner campus cards: the slug line and the plan label used to run
   together on one line; give each its own line and make the plan a chip. */
html[data-mashwar-mode="live"] .sa-campus-info small { display: block; }
html[data-mashwar-mode="live"] .sa-campus-info .sa-plan-label { display: inline-block; margin-top: 5px; padding: 2px 10px; border-radius: 999px; background: rgba(242, 195, 91, .18); color: #8a6410; font-size: 12px; font-weight: 800; }

/* ===== PHASE 7 PAYMENTS =====
   Paid-upgrade requests with transfer proof, owner review and the paid
   invoices list. Scoped to the payment components only. */
.pay-list { display: grid; gap: 10px; margin-top: 12px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 13px 15px; border: 1px solid var(--line, #e3eaf2); border-radius: 16px; background: #fbfcfe; }
.pay-main { display: grid; gap: 2px; min-width: 220px; flex: 1; }
.pay-main strong { color: #102947; font-size: 15.5px; }
.pay-main span { font-weight: 700; color: #17365d; font-size: 14px; }
.pay-main small { color: var(--muted, #647680); font-size: 13px; }
.pay-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-status-card { border: 1px solid rgba(224, 169, 46, .5); }
.plus-request { margin-top: 20px; border-top: 1px dashed var(--line, #e3eaf2); padding-top: 16px; }
.plus-request h3 { margin: 0 0 10px; color: #17365d; }
.pay-status { border-radius: 12px; padding: 10px 13px; font-size: 14px; line-height: 1.8; }
.pay-status.pending { background: rgba(242, 195, 91, .16); color: #6d5210; }
.pay-status.approved { background: rgba(38, 166, 109, .12); color: #14532d; }
.pay-form .form-field { margin-bottom: 10px; }

/* ===== AUTH EMAIL SIGN-IN ===== */
html[data-mashwar-mode="live"] .auth-divider { display:flex; align-items:center; gap:12px; margin:18px 0 4px; color:var(--muted); font-size:13px; font-weight:700; }
html[data-mashwar-mode="live"] .auth-divider::before, html[data-mashwar-mode="live"] .auth-divider::after { content:""; flex:1; height:1px; background:var(--line); }
html[data-mashwar-mode="live"] .auth-email-form { display:grid; gap:12px; margin-top:10px; text-align:start; }
html[data-mashwar-mode="live"] .auth-email-title { margin:0; font-weight:800; color:var(--ink); font-size:15px; }
html[data-mashwar-mode="live"] .auth-email-form label { display:grid; gap:6px; font-size:13px; font-weight:700; color:var(--muted); }
html[data-mashwar-mode="live"] .auth-email-form input { width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:12px; font:inherit; background:#fff; color:var(--ink); }
html[data-mashwar-mode="live"] .auth-forgot { justify-self:center; background:none; border:0; color:#8a5f0c; font-weight:700; cursor:pointer; padding:4px 8px; font:inherit; }

/* ===== AUTH ENTRY OPTIONS (two doors) ===== */
html[data-mashwar-mode="live"] .auth-entry-options { display:grid; gap:12px; }
html[data-mashwar-mode="live"] .auth-entry { display:grid; gap:2px; justify-items:start; text-align:start; padding:14px 18px; }
html[data-mashwar-mode="live"] .auth-entry b { font-size:16px; font-weight:800; }
html[data-mashwar-mode="live"] .auth-entry span { font-size:12.5px; font-weight:600; opacity:.78; }

/* ===== TYPED-CONFIRM DELETE MODAL ===== */
html[data-mashwar-mode="live"] .delete-modal-root { position:fixed; inset:0; z-index:1200; display:flex; align-items:center; justify-content:center; padding:18px; }
html[data-mashwar-mode="live"] .delete-modal-backdrop { position:absolute; inset:0; background:rgba(9,20,38,.55); }
html[data-mashwar-mode="live"] .delete-modal { position:relative; width:min(480px,100%); max-height:90vh; overflow:auto; padding:22px; }
html[data-mashwar-mode="live"] .delete-modal-head { display:flex; gap:12px; align-items:flex-start; }
html[data-mashwar-mode="live"] .delete-badge { flex:none; width:34px; height:34px; border-radius:50%; background:#fdecec; color:#b3261e; font-weight:900; display:flex; align-items:center; justify-content:center; font-size:18px; }
html[data-mashwar-mode="live"] .delete-modal-head h2 { margin:0; font-size:19px; }
html[data-mashwar-mode="live"] .delete-modal-head p { margin:2px 0 0; color:var(--muted); font-size:13px; }
html[data-mashwar-mode="live"] .delete-line { margin:12px 0 0; font-size:14.5px; line-height:1.8; }
html[data-mashwar-mode="live"] .delete-type-label { display:block; margin-top:16px; font-size:13.5px; font-weight:700; }
html[data-mashwar-mode="live"] #delete-confirm-input { width:100%; margin-top:8px; padding:12px 14px; border:1.5px solid var(--line); border-radius:12px; font:inherit; background:#fff; color:var(--ink); }
html[data-mashwar-mode="live"] .delete-modal-actions { display:flex; gap:10px; margin-top:18px; }
html[data-mashwar-mode="live"] .delete-modal-actions .danger-btn { flex:1; }
html[data-mashwar-mode="live"] .danger-btn[disabled] { opacity:.45; cursor:not-allowed; }

/* ===== DECLUTTER: OPS HUB, SHEETS, FOCUS CARD, MORE SHEET ===== */
html[data-mashwar-mode="live"] .ops-stats { display:flex; gap:10px; margin:16px 0; }
html[data-mashwar-mode="live"] .ops-stat { flex:1; background:#fff; border-radius:16px; padding:12px 6px; text-align:center; box-shadow:var(--shadow-sm); }
html[data-mashwar-mode="live"] .ops-stat b { display:block; font-size:19px; color:var(--navy); }
html[data-mashwar-mode="live"] .ops-stat span { font-size:12px; color:var(--muted); font-weight:700; }
html[data-mashwar-mode="live"] .ops-tiles { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
html[data-mashwar-mode="live"] .ops-tile { display:flex; align-items:center; gap:10px; text-align:start; background:#fff; border:1.5px solid transparent; border-radius:20px; padding:16px 14px; box-shadow:var(--shadow-sm); font:inherit; cursor:pointer; color:var(--ink); }
html[data-mashwar-mode="live"] .ops-tile.main { grid-column:1 / -1; background:var(--navy); color:#fff; }
html[data-mashwar-mode="live"] .ops-tile.main small { color:#bcd0ea; }
html[data-mashwar-mode="live"] .ops-tile.alert { border-color:#f3c35c; background:#fffaf0; }
html[data-mashwar-mode="live"] .ops-tile-ic { font-size:23px; }
html[data-mashwar-mode="live"] .ops-tile-txt { flex:1; display:flex; flex-direction:column; gap:2px; }
html[data-mashwar-mode="live"] .ops-tile-txt strong { font-size:15.5px; }
html[data-mashwar-mode="live"] .ops-tile-txt small { font-size:12px; color:var(--muted); font-weight:600; line-height:1.5; }
html[data-mashwar-mode="live"] .ops-tile-go { color:var(--gold); font-weight:900; font-size:19px; }
html[data-mashwar-mode="live"] .ops-back-row { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
html[data-mashwar-mode="live"] .ops-view-title { margin:0; font-size:20px; }
html[data-mashwar-mode="live"] .ops-add-btn { margin-bottom:16px; }
html[data-mashwar-mode="live"] .ops-stop-list { display:flex; flex-direction:column; gap:8px; margin:12px 0 16px; }
html[data-mashwar-mode="live"] .ops-stop-row { display:flex; justify-content:space-between; align-items:center; background:#f7fafc; border-radius:12px; padding:10px 13px; }
html[data-mashwar-mode="live"] .ops-stop-row small { color:var(--muted); font-weight:700; }
html[data-mashwar-mode="live"] .ops-manage-actions { display:flex; gap:10px; }
html[data-mashwar-mode="live"] .ops-manage-actions > * { flex:1; }
html[data-mashwar-mode="live"] .ops-sheet-root { position:fixed; inset:0; z-index:1100; display:flex; align-items:flex-end; justify-content:center; }
html[data-mashwar-mode="live"] .ops-sheet-root[hidden] { display:none !important; }
html[data-mashwar-mode="live"] .ops-sheet-backdrop { position:absolute; inset:0; background:rgba(9,20,38,.5); }
html[data-mashwar-mode="live"] .ops-sheet-panel { position:relative; width:min(560px,100%); max-height:88vh; overflow:auto; background:#fff; border-radius:24px 24px 0 0; padding:10px 18px 22px; box-shadow:0 -12px 44px rgba(13,36,64,.3); }
html[data-mashwar-mode="live"] .ops-sheet-panel .sheet-grab { width:44px; height:5px; border-radius:99px; background:#dbe4ee; margin:4px auto 10px; }
html[data-mashwar-mode="live"] .ops-sheet-panel .card { box-shadow:none; border:0; padding:2px; margin-top:0 !important; }
@media (min-width:760px) { html[data-mashwar-mode="live"] .ops-sheet-root { align-items:center; padding:20px; } html[data-mashwar-mode="live"] .ops-sheet-panel { border-radius:24px; } }
html[data-mashwar-mode="live"] .focus-card { background:var(--navy); color:#fff; border-radius:var(--radius-lg); padding:18px; margin:16px 0; box-shadow:var(--shadow-lg); }
html[data-mashwar-mode="live"] .focus-tag { background:var(--gold); color:var(--navy-900); border-radius:999px; font-size:11.5px; font-weight:900; padding:3px 11px; }
html[data-mashwar-mode="live"] .focus-card h2 { margin:10px 0 4px; font-size:19px; }
html[data-mashwar-mode="live"] .focus-card p { margin:0; color:#bcd0ea; font-size:13.5px; font-weight:600; line-height:1.7; }
html[data-mashwar-mode="live"] .focus-bar { height:8px; background:rgba(255,255,255,.18); border-radius:99px; margin-top:14px; overflow:hidden; }
html[data-mashwar-mode="live"] .focus-bar i { display:block; height:100%; background:var(--gold); border-radius:99px; }
html[data-mashwar-mode="live"] .focus-meta { display:flex; justify-content:space-between; font-size:12.5px; color:#bcd0ea; margin-top:7px; font-weight:700; }
html[data-mashwar-mode="live"] .more-modal-root { position:fixed; inset:0; z-index:1150; display:flex; align-items:flex-end; justify-content:center; }
html[data-mashwar-mode="live"] .more-modal-backdrop { position:absolute; inset:0; background:rgba(9,20,38,.5); }
html[data-mashwar-mode="live"] .more-modal { position:relative; width:min(480px,100%); max-height:86vh; overflow:auto; border-radius:24px 24px 0 0; padding:10px 18px 20px; }
@media (min-width:760px) { html[data-mashwar-mode="live"] .more-modal-root { align-items:center; padding:20px; } html[data-mashwar-mode="live"] .more-modal { border-radius:24px; } }
html[data-mashwar-mode="live"] .more-grab { width:44px; height:5px; border-radius:99px; background:#dbe4ee; margin:4px auto 10px; }
html[data-mashwar-mode="live"] .more-title { margin:0 0 6px; font-size:17px; }
html[data-mashwar-mode="live"] .more-item { display:flex; justify-content:space-between; align-items:center; width:100%; background:none; border:0; border-bottom:1px solid #eef2f6; padding:14px 2px; font:inherit; font-weight:700; font-size:15px; color:var(--ink); cursor:pointer; text-align:start; }
html[data-mashwar-mode="live"] .more-item:last-child { border-bottom:0; }
html[data-mashwar-mode="live"] .more-item .more-go { color:#9db2c8; font-size:19px; font-weight:900; }
html[data-mashwar-mode="live"] .more-item.gold { color:#8a5f0c; }
html[data-mashwar-mode="live"] .more-item.danger { color:#b3261e; }


/* خريطة المقاعد — ستايل أ «كابينة واقعية» (اعتمده أحمد ٢٠٢٦-١١-٠٦):
   جسم أتوبيس فاتح بحدود رمادية مزرقّة، زجاج أمامي أزرق، مقاعد بيضاء
   بمسند رأس وظل سفلي، المحجوز رمادي وردي باهت، ومقعد الراكب ذهبي،
   والباب خلية رأسية في صف B. */
html[data-mashwar-mode="live"] .classic-seat-map{
  border:4px solid #33566e;border-radius:60px 60px 28px 28px;
  background:linear-gradient(180deg,#fdfefe,#eef4f1);
  box-shadow:inset 0 0 0 6px #e6eeea,0 12px 26px rgba(13,36,64,.14);
  padding:16px 16px 20px;
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-windshield{
  margin:0 30px 14px;padding:12px;border:2px solid #6ea8cc;border-radius:40px 40px 12px 12px;
  background:linear-gradient(180deg,#bfe0f2,#8fc3e4);color:#20506e;font-size:13px;font-weight:800;text-align:center;
}
html[data-mashwar-mode="live"] .classic-seat-map .driver-seat{
  background:#e8eef2;border:2px solid #7e97a8;border-radius:13px;color:#33566e;
  flex-direction:column;gap:2px;
}
html[data-mashwar-mode="live"] .classic-seat-map .steering-wheel{
  display:block;width:32px;height:32px;border:3.5px solid #486b80;border-radius:50%;
  background:radial-gradient(circle at center,#486b80 0 4px,transparent 5px),
    linear-gradient(#486b80,#486b80) center/72% 3.5px no-repeat,
    linear-gradient(#486b80,#486b80) center top 3px/3.5px 40% no-repeat;
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-seat{
  position:relative;min-height:58px;padding-top:13px;
  border:2px solid #9db8a4;border-radius:14px 14px 10px 10px;background:#fff;color:#1d4d2e;
  box-shadow:0 3px 0 #cfded2;font-size:14px;
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-seat::before{
  content:'';position:absolute;top:5px;left:10px;right:10px;height:9px;border-radius:5px;background:#dcebe0;
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-seat.taken{
  border-color:#c9bcbc;background:#efe9e9;color:#a08b8b;box-shadow:0 3px 0 #ddd2d2;
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-seat.taken::before{background:#e0d5d5}
html[data-mashwar-mode="live"] .classic-seat-map .bus-seat.mine{
  border-color:#b9861c;background:#f6c945;color:#5c4303;box-shadow:0 3px 0 #d8a91f;
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-seat.mine::before{background:#ffe08a}
html[dir="rtl"] .classic-seat-map .compact-seat-row.has-door{
  grid-template-columns:repeat(3,minmax(0,1fr)) 30px !important;
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-door-cell{
  display:flex;align-items:center;justify-content:center;
  border:2px dashed #a7bcc9;border-radius:10px;background:#f4f8fa;color:#5f7d90;
  font-size:11px;font-weight:800;writing-mode:vertical-rl;
}
html[data-mashwar-mode="live"] .classic-seat-map .bus-back{color:#8aa0ae}
html[data-mashwar-mode="live"] .seat-legend i{background:#fff;border:2px solid #9db8a4}
html[data-mashwar-mode="live"] .seat-legend i.taken{background:#efe9e9;border-color:#c9bcbc}
html[data-mashwar-mode="live"] .seat-legend i.mine{background:#f6c945;border-color:#b9861c}


/* بطاقات باقات بلس قابلة للاختيار: الضغط على البطاقة يعلّمها كاختيار
   ويُظهر نموذج بيانات الترقية (طلب أحمد ٢٠٢٦-١١-٠٦). */
html[data-mashwar-mode="live"] .plus-package.selectable{cursor:pointer;transition:box-shadow .15s ease,border-color .15s ease,transform .15s ease}
html[data-mashwar-mode="live"] .plus-package.selectable:active{transform:scale(.99)}
html[data-mashwar-mode="live"] .plus-package.selected{border-color:#e0a92e;box-shadow:0 0 0 3px rgba(224,169,46,.45),0 14px 30px rgba(224,169,46,.25)}
html[data-mashwar-mode="live"] .plus-package .plus-pick{display:none;width:26px;height:26px;border-radius:50%;background:#e0a92e;color:#231a02;font-weight:900;place-items:center;font-size:15px;line-height:1}
html[data-mashwar-mode="live"] .plus-package.selected .plus-pick{display:grid}
html[data-mashwar-mode="live"] .plus-pick-hint{margin:0;padding:13px 15px;border:2px dashed rgba(224,169,46,.55);border-radius:14px;background:rgba(224,169,46,.07);color:#5c4303;font-size:13.5px;font-weight:700;text-align:center}
html[data-mashwar-mode="live"] .pay-form[hidden]{display:none !important}

/* ===== LIFE PASS (2026-11-06): motion, moments, identity ===== */
@keyframes mashwar-view-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
html[data-mashwar-mode="live"] #content > * { animation:mashwar-view-in .38s cubic-bezier(.2,.7,.3,1) both; }
html[data-mashwar-mode="live"] #content > *:nth-child(2) { animation-delay:.05s; }
html[data-mashwar-mode="live"] #content > *:nth-child(3) { animation-delay:.1s; }
html[data-mashwar-mode="live"] #content > *:nth-child(4) { animation-delay:.15s; }
html[data-mashwar-mode="live"] #content > *:nth-child(n+5) { animation-delay:.2s; }
html[data-mashwar-mode="live"] .primary-btn, html[data-mashwar-mode="live"] .outline-btn,
html[data-mashwar-mode="live"] .customer-day-tab, html[data-mashwar-mode="live"] .nth-btn { transition:transform .12s ease, box-shadow .2s ease, background .2s ease, filter .2s ease; }
html[data-mashwar-mode="live"] .primary-btn:active, html[data-mashwar-mode="live"] .outline-btn:active,
html[data-mashwar-mode="live"] .customer-day-tab:active, html[data-mashwar-mode="live"] .nth-btn:active { transform:scale(.97); }
.confetti-bit { position:fixed; left:50%; top:36%; width:9px; height:14px; border-radius:2px; z-index:12000; pointer-events:none; }
html[data-mashwar-mode="live"] .home-greeting { font-size:19px; font-weight:800; color:var(--navy-900); margin:2px 0 10px; }
html[data-mashwar-mode="live"] .next-trip-hero { position:relative; overflow:hidden; background:linear-gradient(135deg,var(--navy-900),var(--navy-700)); color:#fff; border-radius:24px; padding:20px; margin:0 0 16px; box-shadow:0 18px 36px rgba(13,36,64,.28); }
html[data-mashwar-mode="live"] .next-trip-hero::after { content:""; position:absolute; width:190px; height:190px; border-radius:50%; background:radial-gradient(circle,rgba(224,169,46,.35),transparent 70%); inset-inline-end:-60px; top:-70px; pointer-events:none; }
html[data-mashwar-mode="live"] .nth-top { display:flex; align-items:center; justify-content:space-between; gap:10px; position:relative; z-index:1; }
html[data-mashwar-mode="live"] .nth-top span { font-size:13px; font-weight:700; color:#cfe0f2; }
html[data-mashwar-mode="live"] .nth-top strong { background:var(--gold); color:#102d47; padding:5px 13px; border-radius:999px; font-size:13px; white-space:nowrap; }
html[data-mashwar-mode="live"] .next-trip-hero h2 { color:#fff; margin:12px 0 6px; font-size:21px; position:relative; z-index:1; }
html[data-mashwar-mode="live"] .next-trip-hero p { color:#d7e5f5; margin:0; font-size:14px; position:relative; z-index:1; }
html[data-mashwar-mode="live"] .nth-bar { height:8px; background:rgba(255,255,255,.18); border-radius:99px; margin-top:14px; overflow:hidden; position:relative; z-index:1; }
html[data-mashwar-mode="live"] .nth-bar i { display:block; height:100%; background:linear-gradient(90deg,var(--gold-soft),var(--gold)); border-radius:99px; }
html[data-mashwar-mode="live"] .nth-meta { display:flex; justify-content:space-between; font-size:12px; color:#b9cee6; margin-top:7px; position:relative; z-index:1; }
html[data-mashwar-mode="live"] .nth-btn { margin-top:14px; width:100%; background:var(--gold); color:#102d47; border:0; border-radius:14px; padding:12px; font-weight:800; font-family:inherit; font-size:15px; cursor:pointer; position:relative; z-index:1; }
@keyframes mashwar-live-pulse { 0% { box-shadow:0 0 0 0 rgba(34,197,94,.45); } 70% { box-shadow:0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow:0 0 0 0 rgba(34,197,94,0); } }
html[data-mashwar-mode="live"] .live-status-strip { display:flex; gap:10px; align-items:center; background:#e9f7ee; border:1px solid #bfe6cc; color:#14532d; border-radius:16px; padding:12px 14px; font-weight:700; font-size:14px; margin:0 0 16px; }
html[data-mashwar-mode="live"] .live-status-strip i { flex:0 0 auto; width:10px; height:10px; border-radius:50%; background:#22c55e; animation:mashwar-live-pulse 1.6s ease-out infinite; }
@keyframes mashwar-empty-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-5px); } }
html[data-mashwar-mode="live"] .empty-state .empty-art { display:flex; justify-content:center; margin-bottom:6px; animation:mashwar-empty-float 3.2s ease-in-out infinite; }
html[data-mashwar-mode="live"] .empty-state .empty-art svg { width:118px; height:auto; }
html[data-mashwar-mode="live"] .ticket-qr { border-top:2px dashed #c4d4ce; margin-top:8px; padding-top:18px; position:relative; }
html[data-mashwar-mode="live"] .ticket-qr::before, html[data-mashwar-mode="live"] .ticket-qr::after { content:""; position:absolute; top:-12px; width:22px; height:22px; border-radius:50%; background:#eef3f0; border:1px solid #bcded2; }
html[data-mashwar-mode="live"] .ticket-qr::before { inset-inline-start:-12px; }
html[data-mashwar-mode="live"] .ticket-qr::after { inset-inline-end:-12px; }
html[data-mashwar-mode="live"] .ticket-qr img { width:200px; height:200px; }
html[data-mashwar-mode="live"] .night-bus { animation:mashwar-empty-float 4.5s ease-in-out infinite; }
@keyframes mashwar-lp-bob { 0%,100% { transform:translateY(0) rotate(-2deg); } 50% { transform:translateY(-4px) rotate(2deg); } }
#mashwar-landing .lp-bus { animation:mashwar-lp-bob 1.8s ease-in-out infinite; }

/* ===== ROUTE CATALOG COMPACTION (2026-11-07) ===== */
html[data-mashwar-mode="live"] .route-catalog-item { border-radius:18px; box-shadow:0 6px 18px rgba(16,45,71,.05); }
html[data-mashwar-mode="live"] .route-catalog-title { flex-direction:row; align-items:center; padding:13px 14px 10px; border-bottom:0; }
html[data-mashwar-mode="live"] .route-catalog-title strong { font-size:17px; }
html[data-mashwar-mode="live"] .route-catalog-actions { margin-inline-start:auto; flex-wrap:nowrap; }
html[data-mashwar-mode="live"] .route-catalog .danger-btn { background:transparent; color:#b3402f; border:1px solid #efD8d3; border-color:#efd8d3; min-height:34px; padding:6px 11px; font-size:12px; box-shadow:none; }
html[data-mashwar-mode="live"] .route-catalog .danger-btn:active { background:#fdf0ee; }
html[data-mashwar-mode="live"] .route-catalog-actions .outline-btn { min-height:34px; padding:6px 11px; font-size:12px; white-space:nowrap; }
html[data-mashwar-mode="live"] .route-schedule-list { padding:0 14px 12px; }
html[data-mashwar-mode="live"] .route-schedule-list > .card-sub { border:1.5px dashed #dbe5de; border-radius:12px; padding:9px 10px; text-align:center; background:#fafcfa; margin:0; font-size:12.5px; }
html[data-mashwar-mode="live"] .route-schedule-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; padding:9px 0; }
html[data-mashwar-mode="live"] .route-schedule-row > small { white-space:normal; overflow:visible; text-overflow:clip; }
html[data-mashwar-mode="live"] .route-schedule-row .schedule-weekdays { flex-basis:100%; order:5; }
html[data-mashwar-mode="live"] .route-schedule-actions { margin-top:0; margin-inline-start:auto; }
html[data-mashwar-mode="live"] .route-schedule-actions .outline-btn, html[data-mashwar-mode="live"] .route-schedule-actions .danger-btn { min-height:30px; padding:4px 9px; font-size:11.5px; }

/* ===== DAY CONFLICT SUMMARY TABLE (2026-11-07) ===== */
html[data-mashwar-mode="live"] .conflict-summary { margin-top:16px; }
html[data-mashwar-mode="live"] .conflict-head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
html[data-mashwar-mode="live"] .conflict-head h2 { margin:0; font-size:17px; color:var(--navy-900); }
html[data-mashwar-mode="live"] .conflict-badge { background:#fdeceb; color:#b3402f; border:1px solid #f3c1ba; font-size:12px; font-weight:800; padding:5px 11px; border-radius:999px; }
html[data-mashwar-mode="live"] .conflict-ok { background:#e9f7ee; color:#14532d; border:1px solid #bfe6cc; font-size:12px; font-weight:800; padding:5px 11px; border-radius:999px; }
html[data-mashwar-mode="live"] .conflict-scroll { overflow-x:auto; margin-top:10px; border:1px solid #e3ece7; border-radius:14px; }
html[data-mashwar-mode="live"] .conflict-table { width:100%; border-collapse:collapse; font-size:13px; min-width:520px; }
html[data-mashwar-mode="live"] .conflict-table th { text-align:start; color:var(--muted); font-size:11.5px; font-weight:700; padding:9px 10px; background:#f7faf8; border-bottom:1px solid #e3ece7; white-space:nowrap; }
html[data-mashwar-mode="live"] .conflict-table td { padding:9px 10px; border-bottom:1px solid #eef3f0; color:var(--ink); vertical-align:top; }
html[data-mashwar-mode="live"] .conflict-table tbody tr:last-child td { border-bottom:0; }
html[data-mashwar-mode="live"] .conflict-table tr.has-conflict td { background:#fdf3f1; }
html[data-mashwar-mode="live"] .conflict-table .conflict-note { color:#b3402f; font-weight:700; min-width:130px; }
html[data-mashwar-mode="live"] .conflict-table tr:not(.has-conflict) .conflict-note { color:var(--muted); font-weight:400; }

/* ===== PLATFORM TRIP CARD COMPACTION (2026-11-07) ===== */
.sa-trip-card { padding:16px; gap:9px; border-radius:20px; }
.sa-trip-card h3 { font-size:20px; }
.sa-trip-when { display:flex; align-items:baseline; gap:9px; margin:0; }
.sa-trip-when strong { font-size:19px; color:var(--navy, #17365d); font-weight:800; }
.sa-trip-when span { color:#6e8285; font-size:13px; font-weight:700; }
.sa-trip-meta { padding-top:9px; gap:6px; }
.sa-trip-seat-count { padding:8px 12px; border-radius:13px; align-items:center; }
.sa-trip-seat-count strong { font-size:21px; }
.sa-trip-seat-count .sa-trip-booked { margin-inline-start:auto; color:#7a8a72; font-size:12px; }
.sa-trip-manage { padding-top:10px; padding-bottom:10px; }

/* ===== CORPORATE SAAS IDENTITY (2026-11-07) — replaces navy/gold app-wide.
   Chosen by Ahmed in the main chat (direction 3, «المؤسسي الحديث»):
   light blue-gray canvas, white 1px-bordered panels, slate text, one
   corporate blue accent. The landing page keeps its own marketing skin. */
html[data-mashwar-mode="live"] {
  --navy-900: #1e293b;
  --navy: #2563eb;
  --navy-700: #1d4ed8;
  --gold: #2563eb;
  --gold-bright: #60a5fa;
  --gold-soft: #93c5fd;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #dbe3ec;
  --bg: #e9eef4;
  background: #dde5ee;
}
html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) { background: #e9eef4; }
html[data-mashwar-mode="live"] .card { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(15,42,80,.05); }
html[data-mashwar-mode="live"] .primary-btn { background: #2563eb; border-color: #2563eb; border-radius: 10px; }
html[data-mashwar-mode="live"] .primary-btn:hover { background: #1d4ed8; }
html[data-mashwar-mode="live"] .outline-btn { border-radius: 10px; border-color: #cbd5e1; color: #334155; }
html[data-mashwar-mode="live"] .bottom-nav { border-color: var(--line); box-shadow: 0 10px 30px rgba(15,42,80,.10); }
html[data-mashwar-mode="live"] .bottom-nav button { color: #64748b; }
html[data-mashwar-mode="live"] .bottom-nav button.active { background: #e3edfb; color: #1d4ed8; }
@media (min-width: 1100px) {
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav { background: #fff; border-inline-end: 1px solid var(--line); }
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav button { color: #475569; }
  html[data-mashwar-mode="live"] .app-shell:not(.auth-screen) .bottom-nav button.active { background: #e3edfb; color: #1d4ed8; }
}
/* Sign-in: from night navy to corporate light */
html[data-mashwar-mode="live"] .app-shell.auth-screen,
html[data-mashwar-mode="live"] .auth-screen main { background: #e6edf5; }
html[data-mashwar-mode="live"] .auth-layout.glass-auth-layout {
  background:
    radial-gradient(circle at 16% 6%, rgba(37,99,235,.10), transparent 30%),
    radial-gradient(circle at 88% 44%, rgba(96,165,250,.14), transparent 36%),
    linear-gradient(160deg, #dbe7f5 0%, #eef3f9 55%, #e2eaf3 100%);
}
html[data-mashwar-mode="live"] .auth-hero-copy h1 { color: #1e293b; }
html[data-mashwar-mode="live"] .auth-hero-copy p { color: #64748b; }
html[data-mashwar-mode="live"] .auth-eyebrow { color: #2563eb; }
html[data-mashwar-mode="live"] .auth-hero.auth-night-hero:before,
html[data-mashwar-mode="live"] .auth-hero.auth-night-hero:after { border-color: rgba(37,99,235,.14); }
html[data-mashwar-mode="live"] .night-route { border-color: rgba(37,99,235,.40) transparent transparent; }
html[data-mashwar-mode="live"] .night-pin { box-shadow: 0 0 0 7px rgba(37,99,235,.12), 0 4px 10px rgba(15,42,80,.18); }
html[data-mashwar-mode="live"] .night-pin:after { background: #2563eb; }
html[data-mashwar-mode="live"] .night-bus { border-color: #bcd2ee; background: linear-gradient(160deg, #ffffff, #e8f0fb); box-shadow: 0 12px 26px rgba(15,42,80,.16); }
html[data-mashwar-mode="live"] .night-bus:before { border-color: rgba(37,99,235,.25); background: repeating-linear-gradient(90deg, rgba(37,99,235,.20) 0 18px, transparent 18px 23px); }
html[data-mashwar-mode="live"] .night-bus b { border-color: #64748b; box-shadow: 77px 0 0 -3px #e2e8f0, 77px 0 0 0 #64748b; }
html[data-mashwar-mode="live"] .night-bus i { border-color: rgba(37,99,235,.4); }
html[data-mashwar-mode="live"] .night-bus em { box-shadow: 0 0 6px rgba(37,99,235,.45); }
html[data-mashwar-mode="live"] .auth-route>span { color: #2563eb; }
html[data-mashwar-mode="live"] .auth-panel-head .auth-eyebrow { color: #2563eb; }
/* Student hero + admin focus: light panels now */
html[data-mashwar-mode="live"] .next-trip-hero { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(15,42,80,.05); }
html[data-mashwar-mode="live"] .next-trip-hero::after { background: radial-gradient(circle, rgba(37,99,235,.14), transparent 70%); }
html[data-mashwar-mode="live"] .nth-top span { color: var(--muted); }
html[data-mashwar-mode="live"] .nth-top strong { background: #2563eb; color: #fff; }
html[data-mashwar-mode="live"] .next-trip-hero h2 { color: var(--ink); }
html[data-mashwar-mode="live"] .next-trip-hero p { color: var(--muted); }
html[data-mashwar-mode="live"] .nth-bar { background: #e2e8f0; }
html[data-mashwar-mode="live"] .nth-bar i { background: #2563eb; }
html[data-mashwar-mode="live"] .nth-meta { color: var(--muted); }
html[data-mashwar-mode="live"] .nth-btn { background: #2563eb; color: #fff; border-radius: 10px; }
html[data-mashwar-mode="live"] .focus-card { background: #2563eb; border-radius: 12px; box-shadow: 0 10px 24px rgba(37,99,235,.22); }
/* Ticket + seat map + plus accents */
html[data-mashwar-mode="live"] .boarding-ticket { border-color: var(--line); border-radius: 16px; }
html[data-mashwar-mode="live"] .ticket-qr::before, html[data-mashwar-mode="live"] .ticket-qr::after { background: var(--bg); border-color: var(--line); }
html[data-mashwar-mode="live"] .classic-seat-map { border-color: #b6c6da; }
html[data-mashwar-mode="live"] .classic-seat-map .bus-seat.mine { background: #2563eb; border-color: #1d4ed8; color: #fff; box-shadow: 0 4px 12px rgba(37,99,235,.35); }
html[data-mashwar-mode="live"] .seat-legend .mine { background: #2563eb; }
html[data-mashwar-mode="live"] .plus-package.selected { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.30), 0 14px 30px rgba(37,99,235,.16); }
html[data-mashwar-mode="live"] .plus-package .plus-pick { background: #2563eb; color: #fff; }
html[data-mashwar-mode="live"] .sa-trip-card { border-radius: 12px; border-color: var(--line); }
html[data-mashwar-mode="live"] .route-catalog-item { border-radius: 12px; border-color: var(--line); }
/* Admin dashboard: KPI strip + period bars */
html[data-mashwar-mode="live"] .dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 0; }
html[data-mashwar-mode="live"] .dash-kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 3px; }
html[data-mashwar-mode="live"] .dash-kpi-label { font-size: 12px; font-weight: 700; color: var(--muted); }
html[data-mashwar-mode="live"] .dash-kpi strong { font-size: 26px; color: var(--ink); line-height: 1.1; }
html[data-mashwar-mode="live"] .dash-kpi small { font-size: 11.5px; color: var(--muted); }
html[data-mashwar-mode="live"] .dash-chart { margin-top: 12px; }
html[data-mashwar-mode="live"] .dash-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
html[data-mashwar-mode="live"] .dash-chart-head h2 { margin: 0; font-size: 16px; color: var(--ink); }
html[data-mashwar-mode="live"] .dash-chart-head span { font-size: 12px; color: var(--muted); font-weight: 700; }
html[data-mashwar-mode="live"] .dash-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
html[data-mashwar-mode="live"] .dash-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; justify-content: flex-end; min-width: 0; }
html[data-mashwar-mode="live"] .dash-bar-col i { display: block; width: 100%; max-width: 44px; background: #bcd2ee; border-radius: 5px 5px 0 0; min-height: 4px; }
html[data-mashwar-mode="live"] .dash-bar-col.selected i { background: #2563eb; }
html[data-mashwar-mode="live"] .dash-bar-col b { font-size: 12px; color: var(--ink); }
html[data-mashwar-mode="live"] .dash-bar-col span { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { html[data-mashwar-mode="live"] .dash-kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; } html[data-mashwar-mode="live"] .dash-kpi { padding: 10px; } html[data-mashwar-mode="live"] .dash-kpi strong { font-size: 20px; } }

/* Corporate follow-up: auth brand + language chip readable on light */
html[data-mashwar-mode="live"] .auth-brand { color: #1e293b; }
html[data-mashwar-mode="live"] .auth-brand small { color: #64748b; }
html[data-mashwar-mode="live"] .auth-mark { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; box-shadow: 0 10px 22px rgba(37,99,235,.30); }
html[data-mashwar-mode="live"] .auth-mark span { color: #bfdbfe; }
html[data-mashwar-mode="live"] .auth-language { border-color: #cbd5e1; color: #334155; background: #ffffff; }
html[data-mashwar-mode="live"] .auth-hero.auth-night-hero { color: #334155; }
html[data-mashwar-mode="live"] .auth-night-benefits { color: #475569; }
html[data-mashwar-mode="live"] .auth-hero-footer { color: #64748b; }

/* University settings page + student-facing settings surfaces */
html[data-mashwar-mode="live"] .settings-form { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
html[data-mashwar-mode="live"] .settings-section h2 { margin: 0 0 14px; font-size: 17px; color: #1e293b; }
html[data-mashwar-mode="live"] .settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 12px; }
html[data-mashwar-mode="live"] .settings-check { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; cursor: pointer; background: #f8fafc; }
html[data-mashwar-mode="live"] .settings-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #2563eb; }
html[data-mashwar-mode="live"] .settings-check span { display: grid; gap: 2px; }
html[data-mashwar-mode="live"] .settings-check small, html[data-mashwar-mode="live"] .settings-form .form-field small { color: #64748b; font-size: 12px; line-height: 1.7; }
html[data-mashwar-mode="live"] .announce-banner { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; border-radius: 12px; padding: 12px 14px; margin: 10px 0; font-weight: 700; line-height: 1.8; }
html[data-mashwar-mode="live"] .welcome-line { color: #475569; margin: 4px 0 0; line-height: 1.9; }
html[data-mashwar-mode="live"] .ticket-contact { border-top: 1px dashed var(--line); padding: 10px 18px; color: #475569; font-size: 13px; line-height: 1.9; text-align: center; }

/* ===== LANDING DESKTOP PASS (2026-11-08) — Ahmed: «شكل الموقع على
   اللابتوب وحش». The landing was a centered mobile column at every
   width. On >=1024px it now uses the horizontal space: two-column hero
   with a live product preview, 1240px sections, 3-column grids, a
   two-column video section and a navy CTA panel. Mobile is untouched. */
#mashwar-landing .lp-hero-visual { display: none; }
@media (min-width: 1024px) {
  #mashwar-landing .lp-nav { padding-inline: max(44px, calc((100% - 1240px) / 2 + 44px)); }
  #mashwar-landing .lp-hero { text-align: start; padding-top: 84px; padding-bottom: 88px; }
  #mashwar-landing .lp-hero-inner {
    max-width: 1240px; display: grid; column-gap: 64px; align-items: start;
    grid-template-columns: 1.02fr .98fr;
    grid-template-areas: "eyebrow visual" "title visual" "lead visual" "actions visual" "trust visual" "route visual";
  }
  #mashwar-landing .lp-eyebrow { grid-area: eyebrow; }
  #mashwar-landing .lp-hero h1 { grid-area: title; font-size: clamp(40px, 3.4vw, 54px); }
  #mashwar-landing .lp-lead { grid-area: lead; margin: 0 0 30px; max-width: 560px; }
  #mashwar-landing .lp-hero-actions { grid-area: actions; justify-content: flex-start; }
  #mashwar-landing .lp-trust { grid-area: trust; justify-content: flex-start; }
  #mashwar-landing .lp-route { grid-area: route; margin: 42px 0 0; max-width: 520px; }
  #mashwar-landing .lp-hero-visual {
    grid-area: visual; align-self: center; display: block; direction: rtl;
    background: #fff; border-radius: 20px; overflow: hidden; color: #1e293b;
    box-shadow: 0 30px 60px rgba(2,16,36,.45), 0 0 0 1px rgba(242,195,91,.25);
    animation: lpv-float 7s ease-in-out infinite;
  }
  #mashwar-landing .lpv-window { display: flex; align-items: center; gap: 12px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; padding: 10px 14px; }
  #mashwar-landing .lpv-dots { display: flex; gap: 6px; }
  #mashwar-landing .lpv-dots i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
  #mashwar-landing .lpv-dots i:first-child { background: #f2c35b; }
  #mashwar-landing .lpv-url { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 3px 12px; font: 700 12px Manrope, system-ui, sans-serif; color: #64748b; direction: ltr; }
  #mashwar-landing .lpv-body { padding: 18px; display: grid; gap: 14px; }
  #mashwar-landing .lpv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  #mashwar-landing .lpv-kpis > div { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
  #mashwar-landing .lpv-kpis small { font-size: 11px; font-weight: 700; color: #64748b; }
  #mashwar-landing .lpv-kpis strong { font-size: 21px; color: #2563eb; line-height: 1.1; }
  #mashwar-landing .lpv-trip { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  #mashwar-landing .lpv-trip strong { display: block; font-size: 14.5px; color: #1e293b; }
  #mashwar-landing .lpv-trip small { display: block; font-size: 12px; color: #64748b; margin-top: 2px; }
  #mashwar-landing .lpv-badge { flex: none; font-size: 11.5px; font-weight: 800; padding: 4px 11px; border-radius: 999px; background: #fef3c7; color: #b45309; }
  #mashwar-landing .lpv-badge.gray { background: #e2e8f0; color: #475569; }
  #mashwar-landing .lpv-bar { height: 8px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
  #mashwar-landing .lpv-bar i { display: block; height: 100%; background: #2563eb; border-radius: 99px; }
  #mashwar-landing .lpv-seats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px; }
  #mashwar-landing .lpv-seats i { aspect-ratio: 1; border-radius: 5px; background: #e8eefb; border: 1.5px solid #c3d4f2; }
  #mashwar-landing .lpv-seats i.taken { background: #cbd5e1; border-color: #cbd5e1; }
  #mashwar-landing .lpv-seats i.mine { background: #2563eb; border-color: #1d4ed8; }
  #mashwar-landing .lp-section { max-width: 1240px; }
  #mashwar-landing .lp-grid { grid-template-columns: repeat(3, 1fr); }
  #mashwar-landing .lp-steps { grid-template-columns: repeat(3, 1fr); }
  #mashwar-landing .lp-plans-grid { grid-template-columns: repeat(3, 1fr); }
  #mashwar-landing .lp-video { display: grid; grid-template-columns: 1fr auto; column-gap: 72px; align-items: center; text-align: start;
    grid-template-areas: "eyebrow frame" "title frame" "lead frame"; }
  #mashwar-landing .lp-video .lp-eyebrow { grid-area: eyebrow; text-align: start; }
  #mashwar-landing .lp-video h2 { grid-area: title; text-align: start; margin: 0 0 12px; }
  #mashwar-landing .lp-video-lead { grid-area: lead; margin: 0; max-width: 520px; }
  #mashwar-landing .lp-video-frame { grid-area: frame; margin: 0; }
  #mashwar-landing .lp-faq-list { max-width: 860px; }
  #mashwar-landing .lp-cta { max-width: 1152px; background: linear-gradient(150deg, #17365d, #102947); border-radius: 28px; padding: 56px 32px; margin: 72px auto 76px; box-shadow: 0 24px 48px rgba(13,36,64,.22); }
  #mashwar-landing .lp-cta h2 { color: #fff; }
  #mashwar-landing .lp-cta p { color: #b9c9dd; }
  #mashwar-landing .lp-footer-in { max-width: 1240px; }
}
@keyframes lpv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ===== super-admin.css ===== */
/* Super Admin / style C — airy campus control room */
.super-admin-page{--sa-ink:#183b39;--sa-muted:#718b88;--sa-green:#176b63;--sa-mint:#e8f6f1;--sa-yellow:#f3c35c;--sa-coral:#ef8a73;max-width:1120px;margin:0 auto;padding-bottom:88px}
.super-admin-page .sa-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:stretch;margin-bottom:22px}
.super-admin-page .sa-hero-copy{background:linear-gradient(135deg,#f2fbf7 0%,#fffdf5 100%);border:1px solid #d7ece5;border-radius:28px;padding:28px;position:relative;overflow:hidden}
.super-admin-page .sa-kicker{color:var(--sa-green);font-weight:800;letter-spacing:.08em;font-size:12px;text-transform:uppercase}
.super-admin-page .sa-hero h1{font-size:clamp(28px,4vw,46px);line-height:1.08;margin:10px 0 9px;color:var(--sa-ink);letter-spacing:-1.5px}
.super-admin-page .sa-hero p{margin:0;color:var(--sa-muted);max-width:460px}
.super-admin-page .sa-illustration{min-height:190px;background:var(--sa-mint);border:1px solid #cdebe0;border-radius:28px;position:relative;overflow:hidden}
.super-admin-page .sa-illustration:before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:#fff8d9;top:-70px;left:-30px}
.super-admin-page .sa-illustration:after{content:"";position:absolute;inset:auto 10% 24px;height:52px;background:var(--sa-green);border-radius:40px 40px 18px 18px;box-shadow:0 18px 0 -7px #11554f}
.super-admin-page .sa-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}
.super-admin-page .sa-stat{background:#fff;border:1px solid #deece8;border-radius:20px;padding:18px;box-shadow:0 8px 22px rgba(24,75,68,.05)}
.super-admin-page .sa-stat strong{font-size:30px;color:var(--sa-ink);display:block}
.super-admin-page .sa-stat span{font-size:13px;color:var(--sa-muted)}
.super-admin-page .sa-section-head{display:flex;justify-content:space-between;align-items:center;margin:25px 0 12px}
.super-admin-page .sa-section-head h2{margin:0;color:var(--sa-ink);font-size:20px}
.super-admin-page .sa-section-head p{margin:0;color:var(--sa-muted);font-size:13px}
.super-admin-page .sa-campus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.super-admin-page .sa-campus{background:#fff;border:1px solid #deece8;border-radius:22px;padding:18px;display:flex;gap:14px;align-items:center;box-shadow:0 8px 22px rgba(24,75,68,.04)}
.super-admin-page .sa-campus-logo{width:58px;height:58px;border-radius:17px;background:var(--sa-mint);object-fit:cover;display:grid;place-items:center;font-weight:800;color:var(--sa-green);flex:none}
.super-admin-page .sa-campus-info{min-width:0;flex:1}.super-admin-page .sa-campus-info strong{display:block;color:var(--sa-ink)}.super-admin-page .sa-campus-info small{color:var(--sa-muted)}
.super-admin-page .sa-campus-actions{display:flex;gap:8px;flex-wrap:wrap}
.super-admin-page .sa-health{background:#183b39;color:#fff;border-radius:24px;padding:21px;margin-top:22px;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}
.super-admin-page .sa-health h3{margin:0 0 5px}.super-admin-page .sa-health p{margin:0;color:#b8d9d2;font-size:13px}
.super-admin-page .sa-health-badge{background:#c9f3dc;color:#166247;border-radius:999px;padding:8px 13px;font-weight:800;font-size:13px}
.super-admin-page .sa-branding{background:#fffdf5;border:1px solid #f0dfaa;border-radius:24px;padding:20px;margin-top:20px}
.super-admin-page .sa-branding h3{margin:0 0 7px;color:var(--sa-ink)}.super-admin-page .sa-branding p{margin:0;color:var(--sa-muted);font-size:13px}
.super-admin-page .sa-branding-preview{display:flex;gap:8px;margin-top:15px}.super-admin-page .sa-branding-preview span{height:13px;border-radius:20px;display:block}.super-admin-page .sa-branding-preview span:first-child{width:58%;background:var(--sa-green)}.super-admin-page .sa-branding-preview span:last-child{width:22%;background:var(--sa-yellow)}
.super-admin-page .sa-branding-form{margin-top:18px}
.brand-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.brand-upload{border:1px dashed #b8d6cf;border-radius:18px;padding:14px;background:#f8fcfa}.brand-upload label{display:block;font-weight:700;color:var(--sa-ink);margin-bottom:8px}.brand-upload input[type=file]{width:100%;font-size:12px}.brand-upload small{display:block;color:var(--sa-muted);margin-top:6px}
@media(max-width:720px){.super-admin-page{padding:0 2px 92px}.super-admin-page .sa-hero{grid-template-columns:1fr}.super-admin-page .sa-illustration{min-height:150px}.super-admin-page .sa-stat-grid{grid-template-columns:repeat(2,1fr)}.super-admin-page .sa-campus-grid{grid-template-columns:1fr}.super-admin-page .sa-health{grid-template-columns:1fr}.brand-upload-grid{grid-template-columns:1fr}.super-admin-page .sa-campus-actions{width:100%}.super-admin-page .sa-campus-actions .outline-btn{flex:1}}


/* Mobile repair: preserve the university card hierarchy and use real campus artwork. */
.super-admin-page .sa-illustration{
  background:
    linear-gradient(140deg,rgba(232,246,241,.34),rgba(15,92,85,.20)),
    url("./assets/transit-glass-campus.jpg") center/cover no-repeat;
}
.super-admin-page .sa-illustration:before{
  width:150px;height:150px;top:-58px;left:-26px;
  background:rgba(255,250,219,.62);filter:blur(1px);
}
.super-admin-page .sa-illustration:after{display:none}

@media(max-width:720px){
  .super-admin-page .sa-campus{
    display:grid;
    grid-template-columns:58px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    padding:16px;
  }
  .super-admin-page .sa-campus-actions{
    width:auto;
    display:block;
    flex:none;
  }
  .super-admin-page .sa-campus-actions .outline-btn{
    width:auto;
    min-height:44px;
    min-width:72px;
    padding:9px 13px;
    flex:none;
    white-space:nowrap;
  }
  .super-admin-page .sa-campus-info{min-width:0}
  .super-admin-page .sa-campus-info strong,
  .super-admin-page .sa-campus-info small{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .super-admin-page .sa-campus-info small{
    display:block;
    direction:ltr;
    text-align:start;
    font-size:12px;
  }
  .super-admin-page .sa-hero-copy{padding:23px}
  .super-admin-page .sa-hero h1{font-size:34px;line-height:1.28}
}
