/* Dodo Air | Portal Core — single authoritative stylesheet, 2026-11-17.
   Visual standards: docs/02_dodo_air_original.html + docs/approved_secondary_pages.
   No legacy stylesheets, no remote fonts and no demo application logic. */
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:200 1000;src:local('Nunito Sans'),local('NunitoSans-Regular'),url('/static/fonts/NunitoSans-Variable.woff2') format('woff2');font-display:swap}


/* 1. Exact visual grammar of approved 02_dodo_air. */
/* Original CSS from 02_dodo_air(4).html; remote Google Fonts import intentionally omitted. */

:root{--font:'Nunito Sans','Trebuchet MS',Arial,sans-serif;--orange:#FF4E00;--black:#181715;--beige:#FBF3E6;--mist:#F2F2F6;--violet:#675BD8;--sky:#50D7FF;--azure:#0578FE;--radius:20px;--shadow:0 9px 32px rgba(50,34,18,.042);--accent:#FF4E00;--accent-ink:#be3a00;--canvas:#FAF7F2;--paper:#fff;--panel-alt:#FFF8F2;--line:#EEE8E0;--ink:#201D1A;--dim:#837D77;--active:#FFF0E6;--aside:#FFF;--aside-ink:#302820;--aside-muted:#918780;--aside-line:#F0EAE4;--aside-active:#FFF0E6;--hero:#FFF0E6;--hero-border:#FFDECB}
body[data-theme="air"]{--canvas:#F2F2F6;--paper:#fff;--panel-alt:#F8F8FA;--line:#E7E7EC;--ink:#15151B;--dim:#777885;--active:#FFF0E8;--aside:#fff;--aside-ink:#24232C;--aside-muted:#9998A4;--aside-line:#EEEDF1;--aside-active:#FFF0E8;--hero:#FFF;--hero-border:#E7E7EC;--shadow:0 10px 32px rgba(36,36,42,.035)}
body[data-theme="bold"]{--canvas:#FBF3E6;--paper:#fff;--panel-alt:#FFF8F1;--line:#F0E4DB;--ink:#1C1816;--dim:#807772;--active:#FFF0E6;--aside:#FF4E00;--aside-ink:#fff;--aside-muted:#FFCCB1;--aside-line:#FFFFFF43;--aside-active:#FFFFFF35;--hero:#FF4E00;--hero-border:#FF4E00;--shadow:0 10px 32px rgba(80,45,10,.045)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-gutter:stable}body{margin:0;background:var(--canvas);font:13px/1.48 var(--font);color:var(--ink);min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{text-decoration:none;color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #675BD899;outline-offset:2px}svg{display:block;flex:none}svg.icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.icon.sm{width:15px;height:15px}.icon.lg{width:22px;height:22px}.ico-fill{fill:currentColor!important}
.layout{display:grid;grid-template-columns:259px minmax(0,1fr);gap:23px;padding:20px 24px;max-width:1710px;margin:auto;min-height:100vh;transition:grid-template-columns .2s}
.sidebar{background:var(--aside);border:1px solid var(--aside-line);border-radius:21px;position:sticky;top:20px;align-self:start;height:calc(100vh - 40px);min-height:560px;display:flex;flex-direction:column;box-shadow:var(--shadow);min-width:0;color:var(--aside-ink);overflow:hidden}
.sidebar-top{padding:20px 16px 10px}.brand{display:flex;align-items:center;gap:11px;padding:0 6px 16px;min-width:0}.brand-mark{display:flex;justify-content:center;align-items:center;width:43px;height:43px;border-radius:14px;color:#fff;background:var(--orange);font-size:22px;font-weight:900;letter-spacing:-2px;transform:rotate(-3deg);box-shadow:0 6px 13px rgba(255,78,0,.16)}body[data-theme="bold"] .brand-mark{background:#fff;color:var(--orange);box-shadow:none}.brand-copy{flex:1;min-width:0}.brand strong{font-size:17px;letter-spacing:-.5px;font-weight:900;display:block;white-space:nowrap}.brand small{font-size:10px;color:var(--aside-muted);display:block;letter-spacing:.25px;margin-top:1px}.circle-btn{width:31px;height:31px;border:0;background:transparent;color:var(--aside-muted);display:grid;place-items:center;border-radius:9px}.circle-btn:hover{background:var(--aside-active);color:var(--aside-ink)}.space-block{padding:0 4px}.mini-label{font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:900;color:var(--aside-muted);display:block;margin-bottom:7px}.space-select{display:flex;width:100%;border:1px solid var(--aside-line);background:transparent;color:var(--aside-ink);padding:11px 10px;align-items:center;gap:9px;border-radius:12px;min-width:0}.space-select strong{font-size:12px;flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.space-logo{display:grid;place-items:center;width:22px;height:22px;background:#EEE4DA;color:#7E6150;border-radius:7px;font-weight:900;font-size:11px}body[data-theme="bold"] .space-logo{background:#fff;color:var(--orange)}.search-trigger{display:flex;align-items:center;gap:9px;margin:13px 4px 0;padding:10px 10px;border:1px solid var(--aside-line);border-radius:11px;color:var(--aside-muted);width:calc(100% - 8px);background:transparent;text-align:left;font-weight:650}.search-trigger span{flex:1;white-space:nowrap;font-size:11px}.search-trigger kbd{font-size:10px;font-family:inherit;opacity:.8;background:var(--aside-active);border-radius:5px;padding:2px 4px}.side-scroll{padding:0px 13px 13px;overflow:auto;min-height:0;flex:1;scrollbar-width:thin}.nav-label{margin:21px 12px 8px;color:var(--aside-muted);font-size:9px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase}.nav{width:100%;padding:10px 11px;margin:2px 0;display:flex;align-items:center;gap:11px;border:0;border-radius:11px;color:var(--aside-ink);font-weight:730;text-align:left;background:transparent;font-size:12px}.nav:hover,.side-fav:hover{background:var(--aside-active)}.nav.active{background:var(--aside-active);color:var(--accent-ink);font-weight:900}body[data-theme="bold"] .nav.active{color:#fff}.nav .icon{opacity:.75}.nav.active .icon{opacity:1}.nav-count{margin-left:auto;font-weight:900;color:var(--aside-muted);font-size:10px}.side-fav{display:flex;gap:10px;align-items:center;width:100%;border:0;background:transparent;text-align:left;cursor:pointer;border-radius:9px;padding:8px 11px;color:var(--aside-ink);font-size:11.5px;font-weight:650}.side-fav .side-service-icon{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:var(--aside-active);color:var(--accent)}body[data-theme="bold"] .side-fav .side-service-icon{color:#fff}.sidebar-foot{padding:13px 14px;border-top:1px solid var(--aside-line)}.user-block{display:flex;gap:10px;align-items:center;width:100%;border:0;background:transparent;color:var(--aside-ink);padding:5px 3px;text-align:left}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#FFE2D0;color:#A33700;font-weight:900}body[data-theme="bold"] .avatar{background:white;color:#FF4E00}.user-block b{display:block;font-size:12px}.user-block small{display:block;font-size:10px;color:var(--aside-muted)}.footer-actions{display:flex;align-items:center;justify-content:space-between;margin-top:11px}.side-version{font-size:10px;color:var(--aside-muted)}.tiny-action{border:0;background:transparent;color:var(--aside-muted);font-weight:800;font-size:10px;display:inline-flex;gap:5px;align-items:center}
main{min-width:0;padding:14px 0 52px}.demo-toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:24px;min-height:30px}.crumbs{font-size:11px;color:var(--dim);font-weight:680;white-space:nowrap}.crumbs strong{color:var(--ink)}.theme-switcher{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.theme-caption{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--dim);font-weight:850;margin-right:6px}.theme-option{padding:7px 10px;border:1px solid var(--line);background:var(--paper);border-radius:9px;font-weight:800;color:var(--dim);font-size:10px;display:inline-flex;align-items:center;gap:6px;transition:.15s}.theme-option .dot{width:9px;height:9px;border-radius:50%;background:#ff4e00}.theme-option[data-theme-target="air"] .dot{background:#dddde5}.theme-option[data-theme-target="bold"] .dot{background:linear-gradient(90deg,#FF4E00 50%,#fff 50%);border:1px solid #ff4e00}.theme-option.selected{background:var(--active);color:var(--accent-ink);border-color:#FFC6A6}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:22px}.eyebrow{color:var(--accent-ink);text-transform:uppercase;letter-spacing:1.55px;font-size:10px;font-weight:950;margin-bottom:10px}.page-head h1{margin:0;font-size:29px;line-height:1.07;letter-spacing:-.9px;font-weight:950}.subtitle{color:var(--dim);font-size:12px;line-height:1.6;margin:9px 0 0}.page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.btn{border-radius:999px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 15px;border:0;font-size:11.5px;font-weight:900;background:var(--paper);color:var(--ink);white-space:nowrap;box-shadow:inset 0 0 0 1px var(--line);transition:.16s}.btn:hover{transform:translateY(-1px);background:var(--panel-alt)}.btn:active{transform:translateY(0)}.btn.primary{background:var(--orange);color:#fff;box-shadow:none}.btn.primary:hover{background:#E84800}.btn.soft{background:var(--active);color:var(--accent-ink);box-shadow:none}.btn.dark{background:#181715;color:#fff;box-shadow:none}.btn.tiny{min-height:30px;padding:6px 12px;font-size:10.5px}.btn.icon-only{padding:0;width:34px;height:34px;min-height:34px;box-shadow:inset 0 0 0 1px var(--line)}.btn.danger{color:#BC4045}.btn:disabled{opacity:.5}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:19px;box-shadow:var(--shadow);min-width:0}.panel+.panel{margin-top:15px}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.panel-title{display:flex;align-items:baseline;gap:10px}.panel h2{font-size:16px;letter-spacing:-.3px;font-weight:950;margin:0}.note{color:var(--dim);font-size:11.5px;line-height:1.5;margin:5px 0 0}.count{font-size:10px;border-radius:999px;padding:4px 8px;background:var(--panel-alt);color:var(--dim);font-weight:900}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 12px}.section-head h2{font-size:15px;font-weight:950;letter-spacing:-.3px;margin:0}.section-head p{font-size:11px;color:var(--dim);margin:4px 0 0}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.hero{background:var(--hero);border:1px solid var(--hero-border);border-radius:21px;display:flex;justify-content:space-between;align-items:center;min-height:138px;gap:16px;padding:22px 26px;overflow:hidden;position:relative;margin-bottom:19px}.hero h2{font-size:21px;line-height:1.18;letter-spacing:-.5px;font-weight:950;margin:0 0 7px}.hero p{max-width:510px;color:var(--dim);margin:0;font-size:12px;line-height:1.6}.hero .eyebrow{margin:0 0 9px}.hero-art{position:relative;width:185px;height:96px;flex:none}.hero-art .ring{position:absolute;right:8px;top:-18px;width:123px;height:123px;border:15px solid #FF4E00;border-radius:36%;transform:rotate(-20deg);opacity:.91}.hero-art .ring.two{right:72px;top:33px;width:70px;height:70px;border-width:11px;opacity:.22}.hero-art .spark{position:absolute;right:3px;top:30px;display:grid;place-items:center;width:44px;height:44px;background:#FF4E00;color:#fff;border-radius:14px;transform:rotate(13deg)}body[data-theme="bold"] .hero h2,body[data-theme="bold"] .hero p,body[data-theme="bold"] .hero .eyebrow{color:#fff}body[data-theme="bold"] .hero-art .ring{border-color:white}body[data-theme="bold"] .hero-art .spark{background:#fff;color:var(--orange)}
.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:space-between}.filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.searchbox{border:1px solid var(--line);background:var(--paper);display:flex;gap:8px;align-items:center;border-radius:11px;padding:0 11px;min-height:37px;flex:1;min-width:160px;max-width:345px;color:var(--dim)}.searchbox input{min-width:0;width:100%;border:0;background:transparent;outline:none;font-size:11.5px;color:var(--ink);font-weight:650}.segmented{display:flex;gap:3px;background:var(--panel-alt);padding:4px;border-radius:11px}.segment{border:0;background:transparent;border-radius:8px;padding:7px 11px;color:var(--dim);font-weight:850;font-size:11px}.segment.on{background:var(--paper);color:var(--orange);box-shadow:0 2px 10px #1c100a0d}.select{min-height:36px;border:1px solid var(--line);border-radius:11px;padding:7px 11px;background:var(--paper);color:var(--ink);font-size:11px;font-weight:750}
.svc-card{position:relative;min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:16px;display:flex;flex-direction:column;min-height:194px;box-shadow:var(--shadow);transition:.18s}.svc-card:hover{border-color:#FFBEA0;box-shadow:0 9px 30px rgba(50,29,12,.075);transform:translateY(-2px)}.svc-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.svc-symbol{height:40px;width:40px;display:grid;place-items:center;border-radius:13px;background:var(--symbol-bg,#FFF1E5);color:var(--symbol-ink,#F05A09)}.svc-symbol .icon{height:20px;width:20px;stroke-width:2}.svc-controls{display:flex;align-items:center;gap:5px}.fav-btn,.pin-btn{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:11px;border:0;background:transparent;color:#B2AAA5;transition:.16s}.fav-btn:hover,.pin-btn:hover{background:var(--active);color:var(--orange)}.fav-btn .icon{width:18px;height:18px}.fav-btn.on{background:var(--active);color:var(--orange)}.fav-btn.on .icon{fill:currentColor}.pin-btn.on{background:var(--active);color:var(--orange)}.pin-btn.on .icon{fill:currentColor}.svc-card h3{font-size:14px;margin:13px 0 5px;letter-spacing:-.2px;font-weight:950}.svc-desc{margin:0;color:var(--dim);font-size:11px;line-height:1.55;min-height:36px;max-width:340px}.svc-bottom{margin-top:auto;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.status{display:inline-flex;gap:6px;align-items:center;font-size:10px;font-weight:900;white-space:nowrap;border-radius:999px;padding:5px 8px;background:#F3F3F3;color:#716F6C}.status:before{content:'';background:currentColor;width:5px;height:5px;border-radius:50%}.status.good{background:#E8F8EC;color:#29865A}.status.warn{background:#FFF4DE;color:#A7752B}.status.external{background:#F2EFFD;color:#6F59B4}.status.bad{background:#FCE8E8;color:#BA5556}.svc-tag{font-size:10px;color:var(--dim);font-weight:700}.svc-btn{border:0;background:var(--panel-alt);color:var(--ink);border-radius:999px;padding:7px 12px;font-size:10.5px;font-weight:900;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.svc-btn:hover{background:var(--active);color:var(--orange)}
.table-scroll{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;font-size:11.5px;min-width:650px}th{text-align:left;font-weight:900;font-size:10px;color:var(--dim);background:var(--panel-alt);white-space:nowrap;padding:11px 12px}td{padding:12px;border-bottom:1px solid var(--line);vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--panel-alt)}td strong{font-weight:900}td small{display:block;color:var(--dim);margin-top:3px}td a{color:var(--accent-ink);font-weight:850}td .btn.tiny{font-size:10px}.table-actions{display:flex;align-items:center;gap:6px}.progress{height:5px;border-radius:10px;background:#F2ECE7;overflow:hidden;margin-top:6px;max-width:98px}.progress span{display:block;background:var(--orange);height:100%;border-radius:10px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:8px;background:var(--panel-alt);color:var(--dim);padding:5px 8px;font-size:10px;font-weight:850}.badge.orange{background:var(--active);color:var(--accent-ink)}.badge.violet{background:#F1EEFF;color:#6655B9}.tag-muted{font-size:10px;color:var(--dim)}
.state-empty{background:var(--paper);border:1px dashed var(--line);border-radius:16px;padding:35px;text-align:center;color:var(--dim)}.state-empty h3{color:var(--ink);margin:12px 0 4px}.state-empty .icon{margin:0 auto;color:var(--orange)}.state-empty p{font-size:11px}
.overlay{position:fixed;inset:0;background:rgba(24,18,16,.32);display:none;z-index:90;justify-content:flex-end}.overlay.open{display:flex}.drawer{width:min(470px,100%);background:var(--paper);height:100vh;overflow:auto;box-shadow:-20px 0 60px rgba(42,23,17,.12);padding:26px 24px 32px}.drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:17px}.drawer h2{font-size:21px;letter-spacing:-.5px;margin:3px 0}.drawer h3{margin:18px 0 10px;font-size:13px}.formfield{display:flex;flex-direction:column;gap:6px;font-weight:900;font-size:11px;margin-bottom:13px}.formfield input,.formfield textarea,.formfield select{width:100%;min-height:37px;border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:9px 11px;color:var(--ink);outline:0}.formfield textarea{min-height:73px;resize:vertical}.fieldrow{display:grid;grid-template-columns:1fr 1fr;gap:11px}.toggle-row{border:1px solid var(--line);border-radius:12px;padding:11px;display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:7px}.toggle-row strong{font-size:11px;display:block}.toggle-row small{color:var(--dim);display:block;font-size:10px;margin-top:3px}.switch{position:relative;display:inline-flex;align-items:center;cursor:pointer;flex:none}.switch input{position:absolute;opacity:0;width:1px;height:1px}.switch .track{background:#D9D7D5;border-radius:30px;height:22px;width:41px;position:relative;transition:.18s}.switch .track:before{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:.18s}.switch input:checked+.track{background:var(--orange)}.switch input:checked+.track:before{transform:translateX(19px)}.switch input:focus-visible+.track{outline:3px solid #675BD899;outline-offset:3px}.drawer-actions{display:flex;justify-content:flex-end;gap:7px;padding-top:15px;border-top:1px solid var(--line);margin-top:19px}.mini-help{border-radius:12px;padding:11px 13px;background:var(--panel-alt);color:var(--dim);font-size:10.5px;line-height:1.55;margin:8px 0 16px}.mini-help b{color:var(--ink)}.demo-note{font-size:10px;color:var(--dim);margin-top:13px}.link-reveal{display:flex;gap:7px;align-items:center;background:var(--panel-alt);padding:8px 10px;border-radius:12px;overflow:auto;font-size:10px;margin:8px 0 10px}.link-reveal code{white-space:nowrap;flex:1}.toast{position:fixed;bottom:23px;right:24px;background:#1E1B19;color:#fff;padding:13px 16px;border-radius:13px;box-shadow:0 18px 40px #100b092c;z-index:150;font-size:12px;font-weight:800;transform:translateY(95px);opacity:0;transition:.24s}.toast.visible{transform:translateY(0);opacity:1}.skeleton-svg{height:35px;width:35px;display:grid;place-items:center;border-radius:11px;background:var(--active);color:var(--orange)}
.kit-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kit-sample{border:1px solid var(--line);border-radius:14px;background:var(--panel-alt);padding:15px}.kit-sample h3{margin:0 0 6px;font-size:12px}.kit-sample p{color:var(--dim);font-size:10px;margin:0 0 13px}.kit-icons{display:flex;align-items:center;gap:11px}.kit-icons .fav-btn{border:1px solid var(--line);background:var(--paper)}.sample-slim{border-radius:30px!important;}.sample-plain{border:0!important;background:transparent!important}.chip-group{display:flex;gap:7px;flex-wrap:wrap}.swatches{display:flex;gap:8px;flex-wrap:wrap}.swatch{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--dim)}.swatch b{width:24px;height:24px;border-radius:7px;border:1px solid #0000000c;display:block}.kit-tab{display:flex;border-bottom:1px solid var(--line);gap:15px}.kit-tab button{padding:8px 0;background:none;border:0;color:var(--dim);font-size:11px;font-weight:850;border-bottom:2px solid transparent}.kit-tab button.active{border-color:var(--orange);color:var(--orange)}
.collapsed .layout{grid-template-columns:minmax(0,1fr)}.collapsed .sidebar{display:none}.reopen{position:fixed;left:10px;top:12px;z-index:50;border-radius:11px;border:1px solid var(--line);background:var(--paper);padding:9px;display:none;color:var(--ink)}.collapsed .reopen{display:grid;place-items:center}.collapsed main{padding-left:20px}.mobile-backdrop{display:none}
@media(max-width:1190px){.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.layout{gap:15px;padding:14px}.panel{padding:15px}.svc-card{min-height:176px}}
@media(max-width:760px){.layout{display:block;padding:13px}.sidebar{position:fixed;z-index:60;left:10px;top:10px;bottom:10px;height:auto;width:258px;transform:translateX(-110%);transition:transform .23s}.mobile-menu-open .sidebar{transform:translateX(0)}.mobile-backdrop{position:fixed;inset:0;z-index:55;background:#1A171755;display:none}.mobile-menu-open .mobile-backdrop{display:block}.reopen{display:grid!important;position:static;margin:0 0 10px}.collapsed main{padding-left:0}main{padding:0}.demo-toolbar{flex-wrap:wrap;justify-content:flex-end;gap:7px}.crumbs{margin-right:auto}.theme-caption{display:none}.page-head h1{font-size:25px}.page-head{align-items:flex-start;flex-direction:column}.grid3,.grid2,.kit-row{grid-template-columns:1fr}.hero-art{width:64px}.hero-art .ring{right:-75px}.hero-art .ring.two{right:-22px}.hero-art .spark{right:-20px}.hero{padding:18px;min-height:138px}.toolbar{align-items:stretch;flex-direction:column}.searchbox{max-width:none}.section-head{margin-top:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}


/* 2. Approved secondary page: authentication controls only, scoped. */
body.login-body svg.ic{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none;flex:none}
body.login-body .ic.sm{width:15px;height:15px}
body.login-body .ic.lg{width:22px;height:22px}
body.login-body .ic.xl{width:26px;height:26px}
body.login-body .brand-logo{height:43px;width:43px;display:grid;place-items:center;background:var(--orange);color:#fff;border-radius:14px;font-weight:950;font-size:22px;letter-spacing:-2.5px;transform:rotate(-3deg);box-shadow:0 6px 13px rgba(255,78,0,.13);flex:none}
body.login-body .brand-logo span{transform:rotate(3deg)}
body.login-body .brand-name{flex:1;min-width:0}
body.login-body .brand-name strong{display:block;font-size:17px;line-height:1.2;letter-spacing:-.55px;font-weight:950;white-space:nowrap}
body.login-body .brand-name small{display:block;font-size:10px;color:#9899A6;margin-top:3px}
body.login-body .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:8px 15px;border-radius:999px;border:1px solid var(--border);background:#fff;color:#30303A;font-size:11.5px;font-weight:900;white-space:nowrap;transition:background .14s,border-color .14s,transform .14s}
body.login-body .btn:hover{background:#F8F8FA;border-color:#D6D6DF}
body.login-body .btn:active{transform:translateY(1px)}
body.login-body .btn.primary{background:var(--orange);color:white;border-color:var(--orange)}
body.login-body .btn.primary:hover{background:#E84700;border-color:#E84700}
body.login-body .btn.soft{background:#FFF0E8;border-color:#FFE2D1;color:#CD4B12}
body.login-body .btn.soft:hover{background:#FFE8DB}
body.login-body .btn.danger{color:#B93A3A;background:#FFF7F7;border-color:#F7D9D9}
body.login-body .btn.ghost{background:transparent;border-color:transparent;color:#737482}
body.login-body .btn.sm{min-height:31px;padding:6px 11px;font-size:10.5px}
body.login-body .btn.square{width:37px;padding:8px;border-radius:11px}
body.login-body .btn.full{width:100%}
body.login-body .field input,body.login-body .field select,body.login-body .field textarea{height:38px;min-width:0;border:1px solid var(--border);border-radius:11px;padding:0 11px;background:white;color:#3D3D48;font-size:11.5px;outline:none}
body.login-body .field input:focus,body.login-body .field select:focus,body.login-body .field textarea:focus{border-color:#FF9F76;box-shadow:0 0 0 3px #FF4E0012}
body.login-body .tabs{display:flex;gap:4px;background:#E9E9EE;border-radius:12px;padding:4px;max-width:max-content;flex-wrap:wrap;margin-bottom:17px}
body.login-body .tab{border:0;background:transparent;padding:9px 15px;border-radius:9px;color:#777884;font-weight:900;font-size:11.5px}
body.login-body .tab.active{color:#D84D13;background:#fff;box-shadow:0 2px 6px #3030420D}
body.login-body .tabs.in-card{margin:0}
body.login-body .field{display:block;margin-bottom:15px}
body.login-body .field input,body.login-body .field select,body.login-body .field textarea{width:100%;height:42px}
body.login-body .field textarea{height:auto;min-height:82px;padding:12px;resize:vertical}
body.login-body .field input[disabled]{background:#F8F8FA;color:#9B9BA5}
body.login-body .field .hint{font-size:10px;color:#9696A2;margin-top:5px}
body.login-body .auth-layout{display:grid;grid-template-columns:minmax(360px,1fr) minmax(430px,1.02fr);min-height:100vh;background:#F2F2F6;padding:18px;gap:16px;max-width:1800px;margin:auto}
body.login-body .auth-story{border-radius:23px;background:#fff;border:1px solid #E9E9EE;position:relative;overflow:hidden;padding:35px 40px;min-height:620px;display:flex;flex-direction:column}
body.login-body .auth-story::before{content:"";position:absolute;right:-215px;bottom:-205px;width:395px;height:395px;border-radius:43%;border:66px solid var(--orange);transform:rotate(-28deg);opacity:.93}
body.login-body .auth-story::after{content:"";position:absolute;right:165px;bottom:90px;width:120px;height:120px;border-radius:32%;border:21px solid #FFAD81;transform:rotate(23deg)}
body.login-body .auth-topmark{position:relative;z-index:1;display:flex;align-items:center;gap:12px}
body.login-body .auth-story .brand-logo{height:46px;width:46px}
body.login-body .auth-story .brand-name strong{font-size:18px}
body.login-body .auth-story .story-copy{position:relative;z-index:1;margin:auto 0;max-width:500px;padding:35px 0 75px}
body.login-body .auth-story .story-copy h1{font-size:clamp(35px,4vw,54px);font-weight:950;line-height:1.1;letter-spacing:-2.5px;margin:12px 0 21px}
body.login-body .auth-story .story-copy h1 em{font-style:normal;color:var(--orange)}
body.login-body .auth-story .story-copy p{font-size:14px;color:#858590;line-height:1.7;max-width:370px}
body.login-body .auth-story .story-foot{position:relative;z-index:1;color:#9999A4;font-size:10.5px;max-width:320px}
body.login-body .auth-right{display:flex;align-items:center;justify-content:center;padding:35px 18px}
body.login-body .auth-card{width:min(410px,100%)}
body.login-body .auth-card .label-top{display:inline-flex;align-items:center;gap:7px;color:#D45015;background:#FFECE1;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:950;margin-bottom:22px}
body.login-body .auth-card h2{font-size:32px;line-height:1.1;letter-spacing:-1.3px;font-weight:950;margin:0 0 10px}
body.login-body .auth-card .desc{font-size:12px;line-height:1.65;color:#888894;margin:0 0 29px}
body.login-body .auth-card .tabs{width:100%;max-width:none;display:flex;margin-bottom:26px}
body.login-body .auth-card .tab{flex:1}
body.login-body .auth-card .field input{height:46px;font-size:12.5px;background:#fff}
body.login-body .auth-card .btn.primary{height:46px;font-size:12.5px}
body.login-body .password-wrap{position:relative}
body.login-body .password-wrap input{padding-right:47px}
body.login-body .password-wrap .ic{width:17px;height:17px}
body.login-body .auth-help{margin:22px 0 0;padding-top:20px;border-top:1px solid #E0E0E7;color:#94949F;font-size:11px;line-height:1.55}
@media (max-width:790px){body.login-body .auth-layout{grid-template-columns:1fr;gap:10px;padding:10px}
body.login-body .auth-story{min-height:210px;padding:20px;border-radius:16px}
body.login-body .auth-story:before{width:165px;height:165px;right:-115px;bottom:-125px;border-width:30px}
body.login-body .auth-story:after{display:none}
body.login-body .auth-story .story-copy{padding:18px 0 6px;margin:0}
body.login-body .auth-story .story-copy h1{font-size:25px;letter-spacing:-.7px;margin:8px 0}
body.login-body .auth-story .story-copy p{font-size:11px;line-height:1.4}
body.login-body .auth-story .story-foot{display:none}
body.login-body .auth-right{padding:22px 8px 35px}
body.login-body .auth-card h2{font-size:27px}}
@media (max-width:520px){body.login-body .tabs{max-width:100%;width:100%}
body.login-body .tabs .tab{flex:1;padding:9px 7px;font-size:10px}
body.login-body .auth-story .brand-name strong{font-size:15px}}

/* 3. Approved login/invitation geometry mapped to real forms. */
/* Direct mapping of approved secondary auth/error components to functional login form. */
body.login-body{--font:'Nunito Sans','Trebuchet MS',Arial,sans-serif;--orange:#FF4E00;--canvas:#F2F2F6;--border:#E7E7EC;--line:#E7E7EC;--muted:#777885;--ink:#15151B;font-family:var(--font);background:#F2F2F6}
body.login-body .auth-layout{display:grid;grid-template-columns:minmax(360px,1fr) minmax(430px,1.02fr);min-height:100vh;padding:18px;gap:16px;max-width:1800px;margin:auto}
body.login-body .auth-story{background:#fff;color:#181820;border:1px solid #E9E9EE;border-radius:23px;position:relative;overflow:hidden;padding:35px 40px;min-height:620px;display:flex;flex-direction:column}
body.login-body .auth-story:before{content:"";position:absolute;right:-215px;bottom:-205px;width:395px;height:395px;border-radius:43%;border:66px solid #FF4E00;transform:rotate(-28deg);opacity:.93}
body.login-body .auth-story:after{content:"";position:absolute;right:165px;bottom:90px;width:120px;height:120px;border-radius:32%;border:21px solid #FFAD81;transform:rotate(23deg)}
body.login-body .auth-topmark{display:flex;align-items:center;gap:12px;position:relative;z-index:1}
body.login-body .brand-logo,body.login-body .join-card .brand-logo{height:46px;width:46px;display:grid;place-items:center;border-radius:14px;background:#FF4E00;color:#fff;font-size:22px;font-weight:950}
body.login-body .brand-name strong{font-size:18px;display:block}
body.login-body .brand-name small{font-size:10px;color:#9998A4;display:block}
body.login-body .story-copy{position:relative;z-index:1;margin:auto 0;max-width:500px;padding:35px 0 75px;color:#181820}
body.login-body .story-copy h1{font-size:clamp(35px,4vw,54px);font-weight:950;line-height:1.1;letter-spacing:-2.5px;margin:12px 0 21px;color:#181820}
body.login-body .story-copy h1 em{font-style:normal;color:#FF4E00}
body.login-body .story-copy p{font-size:14px;color:#858590;line-height:1.7;max-width:370px}
body.login-body .story-foot{position:relative;z-index:1;color:#9999A4;font-size:10.5px;max-width:320px}
body.login-body .auth-right{display:flex;align-items:center;justify-content:center;padding:35px 18px}
body.login-body .auth-card{width:min(410px,100%);max-width:none;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}
body.login-body .auth-card .label-top{display:inline-flex;align-items:center;gap:7px;color:#D45015;background:#FFECE1;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:950;margin-bottom:22px}
body.login-body .auth-card h2{font-size:32px;line-height:1.1;letter-spacing:-1.3px;font-weight:950;margin:0 0 10px;color:#15151B}
body.login-body .auth-card .desc{font-size:12px;line-height:1.65;color:#888894;margin:0 0 29px}
body.login-body .auth-card .tabs{width:100%;max-width:none;display:flex;margin-bottom:26px}
body.login-body .auth-card .tab{flex:1}
body.login-body .auth-card .field input{min-height:46px;font-size:12.5px;background:#fff;border:1px solid #E7E7EC;border-radius:10px}
body.login-body .auth-card .btn.primary{min-height:46px;font-size:12.5px;background:#FF4E00;border-radius:999px;color:#fff}
body.login-body .auth-card .form-stack{gap:16px}
body.login-body .auth-help{margin:22px 0 0;padding-top:20px;border-top:1px solid #E0E0E7;color:#94949F;font-size:11px;line-height:1.55}
body.login-body .join-card{background:#fff;border:1px solid #E7E7EC;border-radius:23px;padding:32px}
@media(max-width:790px){body.login-body .auth-layout{grid-template-columns:1fr;gap:10px;padding:10px}body.login-body .auth-story{min-height:210px;padding:20px;border-radius:16px}body.login-body .auth-story:before{width:165px;height:165px;right:-115px;bottom:-125px;border-width:30px}body.login-body .auth-story:after{display:none}body.login-body .story-copy{padding:18px 0 6px;margin:0}body.login-body .story-copy h1{font-size:25px;letter-spacing:-.7px;margin:8px 0}body.login-body .story-copy p{font-size:11px;line-height:1.4}body.login-body .story-foot{display:none}body.login-body .auth-right{padding:22px 8px 35px}body.login-body .auth-card h2{font-size:27px}}


/* 4. Working DOM selectors mapped to approved Dodo Air UI; not legacy CSS. */
/* Portal Core integration. Visual source: 02_dodo_air + approved secondary pages.
   Contains ONLY selector mapping for existing functional DOM and necessary state hooks. */
body.portal-shell{--font:'Nunito Sans','Trebuchet MS',Arial,sans-serif;--orange:#FF4E00;--accent:#FF4E00;--accent-ink:#be3a00;--canvas:#F2F2F6;--paper:#fff;--panel-alt:#F8F8FA;--line:#E7E7EC;--ink:#15151B;--dim:#777885;--aside:#fff;--aside-ink:#24232C;--aside-muted:#9998A4;--aside-line:#EEEDF1;--aside-active:#FFF0E8;--hero:#fff;--hero-border:#E7E7EC;--active:#FFF0E8;--shadow:0 10px 32px rgba(36,36,42,.035);--bg:var(--canvas);--white:var(--paper);--text:var(--ink);--muted:var(--dim);--border:var(--line);--blue:var(--orange);--blue2:var(--active);font:13px/1.48 var(--font);background:var(--canvas);color:var(--ink)}
body.portal-shell[data-theme=warm]{--canvas:#FAF7F2;--panel-alt:#FFF8F2;--line:#EEE8E0;--ink:#201D1A;--dim:#837D77;--aside-ink:#302820;--aside-muted:#918780;--aside-line:#F0EAE4;--hero:#FFF0E6;--hero-border:#FFDECB;--shadow:0 9px 32px rgba(50,34,18,.042)}
body.portal-shell[data-theme=bold]{--canvas:#FBF3E6;--panel-alt:#FFF8F1;--line:#F0E4DB;--ink:#1C1816;--dim:#807772;--aside:#FF4E00;--aside-ink:#fff;--aside-muted:#FFCCB1;--aside-line:#FFFFFF43;--aside-active:#FFFFFF35;--hero:#FF4E00;--hero-border:#FF4E00;--shadow:0 10px 32px rgba(80,45,10,.045)}
body.portal-shell .app-layout{display:grid;grid-template-columns:259px minmax(0,1fr);gap:23px;padding:20px 24px;max-width:1710px;min-height:100vh;margin:0 auto;transition:grid-template-columns .2s}
body.portal-shell .sidebar{position:sticky;top:20px;align-self:start;height:calc(100vh - 40px);min-height:560px;display:flex;flex-direction:column;overflow:hidden;min-width:0;padding:0;border:1px solid var(--aside-line);border-radius:21px;background:var(--aside);box-shadow:var(--shadow);color:var(--aside-ink);transform:none}
body.portal-shell .sidebar-top{padding:20px 16px 10px}
body.portal-shell .sidebar-head{padding:0 6px 16px;margin:0;border:0;display:flex;align-items:center;gap:11px;min-height:0}
body.portal-shell .sidebar-brand{display:flex;align-items:center;gap:11px;flex:1;min-width:0;color:var(--aside-ink);text-decoration:none}
body.portal-shell .brand-mark{width:43px;height:43px;min-width:43px;border-radius:14px;font-size:22px;letter-spacing:-2px;color:#fff;background:#FF4E00;transform:rotate(-3deg);box-shadow:0 6px 13px rgba(255,78,0,.16);font-weight:900;display:flex;align-items:center;justify-content:center}
body.portal-shell .brand-dot{font-size:10px;margin-left:1px;align-self:flex-end;margin-bottom:9px}
body.portal-shell .brand-copy{flex:1;min-width:0}
body.portal-shell .brand-copy strong{font-size:17px;letter-spacing:-.5px;font-weight:900;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--aside-ink)}
body.portal-shell .brand-copy small{display:block;margin-top:1px;font-size:10px;letter-spacing:.25px;color:var(--aside-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.portal-shell .circle-btn{display:grid;place-items:center;flex:none;width:31px;min-width:31px;height:31px;padding:0;color:var(--aside-muted);background:transparent;border:0;border-radius:9px;box-shadow:none}
body.portal-shell .space-block{margin:0;padding:0 4px 0}
body.portal-shell .space-block .mini-label{font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:900;color:var(--aside-muted);display:block;margin:0 0 7px;padding:0}
body.portal-shell .space-select{width:100%;min-height:43px;padding:6px 9px;display:flex;align-items:center;gap:9px;border:1px solid var(--aside-line);border-radius:12px;background:transparent;color:var(--aside-ink)}
body.portal-shell .space-block{position:relative}
body.portal-shell .workspace-button{cursor:pointer;text-align:left;font:inherit}
body.portal-shell .workspace-button:hover,body.portal-shell .workspace-button[aria-expanded="true"]{background:var(--aside-active);border-color:var(--accent)}
body.portal-shell .workspace-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:900}
body.portal-shell .workspace-chevron{transition:transform .16s}
body.portal-shell .workspace-button[aria-expanded="true"] .workspace-chevron{transform:rotate(180deg)}
body.portal-shell .workspace-options{position:absolute;z-index:120;left:4px;right:4px;top:calc(100% + 6px);padding:7px;max-height:min(320px,65dvh);overflow:auto;border:1px solid var(--aside-line);background:var(--paper);border-radius:14px;box-shadow:0 16px 45px rgba(32,26,34,.16);overscroll-behavior:contain}
body.portal-shell .workspace-option{display:flex;align-items:center;gap:9px;width:100%;padding:9px 8px;background:transparent;border:0;border-radius:9px;text-align:left;color:var(--aside-ink);cursor:pointer}
body.portal-shell .workspace-option:hover,body.portal-shell .workspace-option:focus-visible,body.portal-shell .workspace-option.selected{background:var(--aside-active)}
body.portal-shell .workspace-option:disabled{opacity:.45;cursor:not-allowed}
body.portal-shell .space-option-avatar{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:8px;background:#EEE4DA;color:#7E6150;font-size:10px;font-weight:900}
body.portal-shell .space-option-title{flex:1;min-width:0;font-size:11.5px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.portal-shell .space-option-title small{display:block;white-space:normal;font-size:10px;font-weight:500;color:var(--aside-muted)}
body.portal-shell .space-option-check{font-size:15px;color:var(--accent)}
body.portal-shell .space-logo{display:grid;place-items:center;flex:none;height:22px;width:22px;border-radius:7px;background:#EEE4DA;color:#7E6150;font-size:11px;font-weight:900}
body.portal-shell .sidebar-search{display:flex;align-items:center;width:calc(100% - 8px);min-width:0;margin:13px 4px 0;padding:10px;gap:9px;min-height:0;border:1px solid var(--aside-line);border-radius:11px;background:transparent;color:var(--aside-muted);box-shadow:none;text-align:left;font-weight:650}
body.portal-shell .sidebar-search .air-search-title{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
body.portal-shell .sidebar-search kbd{font-size:10px;font-family:inherit;background:var(--aside-active);color:var(--aside-muted);border:0;border-radius:5px;padding:2px 4px;opacity:.8}
body.portal-shell .sidebar-nav{display:block;overflow-x:hidden;overflow-y:auto;flex:1 1 auto;min-height:0;max-height:none;margin:0;padding:0 13px 13px;scrollbar-width:thin;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
body.portal-shell .sidebar-nav .group-title{margin:21px 12px 8px;padding:0;font-size:9px;letter-spacing:1.5px;text-transform:uppercase;font-weight:900;color:var(--aside-muted)}
body.portal-shell .sidebar-nav .nav,body.portal-shell .favorite-nav .nav{display:flex;align-items:center;gap:11px;width:100%;min-height:0;padding:10px 11px;margin:2px 0;border:0;border-radius:11px;background:transparent;color:var(--aside-ink);font-size:12px;font-weight:730;text-align:left;text-decoration:none;white-space:normal}
body.portal-shell .sidebar-nav .nav:hover,body.portal-shell .favorite-nav .nav:hover{background:var(--aside-active)}
body.portal-shell .sidebar-nav .nav.active{background:var(--aside-active);color:var(--accent-ink);font-weight:900}
body.portal-shell .sidebar-nav .nav-pending-count{flex:none;margin-left:auto;min-width:18px;padding:3px 6px;border-radius:9px;background:var(--accent);color:#fff;font-size:10px;line-height:1.1;font-weight:950;text-align:center}
body.portal-shell .sidebar-nav .audit-label{margin-top:23px}
body.portal-shell .nav-icon{display:grid;place-items:center;flex:none;min-width:18px;width:18px;height:18px;opacity:.75;color:inherit}
body.portal-shell .nav-icon svg,body.portal-shell .icon,body.portal-shell .air-icon{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;flex:none}
body.portal-shell .icon.sm,body.portal-shell .air-icon.small{width:15px;height:15px}
body.portal-shell .favorite-nav .nav{font-size:11.5px;font-weight:650;padding:8px 11px;gap:10px}
body.portal-shell .favorite-nav .nav .nav-icon{width:24px;min-width:24px;height:24px;border-radius:7px;background:var(--aside-active);color:var(--accent)}
body.portal-shell .favorite-nav .nav .nav-icon svg{width:15px;height:15px}
body.portal-shell .sidebar-bottom{padding:13px 14px;margin-top:auto;border-top:1px solid var(--aside-line);background:transparent}
body.portal-shell .sidebar-user{display:flex;align-items:center;gap:10px;width:100%;padding:5px 3px;border:0;border-radius:0;background:transparent;color:var(--aside-ink);text-align:left}
body.portal-shell .sidebar-user .avatar{width:34px;min-width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#FFE2D0;color:#A33700;font-weight:900}
body.portal-shell .sidebar-user-name{flex:1;min-width:0}
body.portal-shell .sidebar-user-name b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.portal-shell .sidebar-user-name small{display:block;margin-top:1px;font-size:10px;color:var(--aside-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.portal-shell .footer-actions{display:flex;align-items:center;justify-content:space-between;margin-top:11px;gap:5px}
body.portal-shell .footer-actions .tiny-action{display:inline-flex;align-items:center;gap:5px;width:auto;min-height:0;padding:0;background:transparent;box-shadow:none;border:0;color:var(--aside-muted);font-weight:800;font-size:10px}
body.portal-shell .sidebar-version{font-size:10px;color:var(--aside-muted);margin:10px 0 0;text-align:left}
body.portal-shell .content{width:auto;min-width:0;max-width:none;padding:14px 0 52px;margin:0;background:transparent;box-shadow:none}
body.portal-shell .demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:30px;margin-bottom:24px}
body.portal-shell .crumbs{font-size:11px;color:var(--dim);font-weight:680}
body.portal-shell .crumbs strong{color:var(--ink)}
body.portal-shell .breadcrumb-separator{color:#bbb;margin:0 8px}
body.portal-shell .theme-option{min-height:0;font-size:10px}
body.portal-shell .theme-option.selected{background:var(--active);color:var(--accent-ink);border-color:#FFC6A6}
body.portal-shell .heading,body.portal-shell .page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 22px;padding:0;background:transparent;border:0;box-shadow:none}
body.portal-shell .heading h1{margin:0;color:var(--ink);font-size:29px;line-height:1.07;letter-spacing:-.9px;font-weight:950}
body.portal-shell .heading .eyebrow{margin:0 0 10px;color:var(--accent-ink);font-size:10px;letter-spacing:1.55px;font-weight:950;text-transform:uppercase}
body.portal-shell .heading p{font-size:12px;line-height:1.6;margin:9px 0 0;color:var(--dim)}
body.portal-shell .heading-right{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body.portal-shell .btn{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:999px;padding:8px 15px;border:0;background:var(--paper);color:var(--ink);font-size:11.5px;font-weight:900;box-shadow:inset 0 0 0 1px var(--line);white-space:normal;transition:.16s;text-decoration:none}
body.portal-shell .btn.primary{background:var(--orange);color:#fff;box-shadow:none}
body.portal-shell .btn.soft{background:var(--active);color:var(--accent-ink);box-shadow:none}
body.portal-shell .btn.small{min-height:30px;padding:6px 12px;font-size:10.5px}
body.portal-shell .btn.danger{color:#BC4045}
body.portal-shell .section-panel,body.portal-shell .panel{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:19px;box-shadow:var(--shadow);margin-bottom:15px;color:var(--ink)}
body.portal-shell .section-panel h2,body.portal-shell .panel h2{font-size:16px;letter-spacing:-.3px;font-weight:950;color:var(--ink)}
body.portal-shell .note{color:var(--dim);font-size:11.5px;line-height:1.5}
body.portal-shell .user-toolbar,body.portal-shell .service-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
body.portal-shell .searchbox{display:flex;align-items:center;gap:8px;position:relative;min-width:160px;max-width:345px;min-height:37px;padding:0 11px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--dim)}
body.portal-shell .searchbox:before{display:none;content:none}
body.portal-shell .searchbox input{width:100%;min-width:0;min-height:35px;padding:0!important;border:0;background:transparent;box-shadow:none;font-size:11.5px;font-weight:650;color:var(--ink)}
body.portal-shell .segmented{display:flex;gap:3px;padding:4px;border:0;border-radius:11px;background:var(--panel-alt)}
body.portal-shell .segmented button{border:0;border-radius:8px;background:transparent;color:var(--dim);font-size:11px;font-weight:850;padding:7px 11px}
body.portal-shell .segmented button.active{background:var(--paper);color:var(--orange);box-shadow:0 2px 10px #1c100a0d}
body.portal-shell .compact-select,body.portal-shell .select{min-height:36px;border:1px solid var(--line);border-radius:11px;padding:7px 11px;background:var(--paper);color:var(--ink);font-size:11px;font-weight:750}
body.portal-shell .table-wrap{overflow:auto;width:100%}
body.portal-shell .user-table{width:100%;min-width:650px;border-collapse:collapse;font-size:11.5px}
body.portal-shell .user-table th{padding:11px 12px;white-space:nowrap;text-align:left;color:var(--dim);background:var(--panel-alt);font-size:10px;font-weight:900;letter-spacing:0;text-transform:none;border:0}
body.portal-shell .user-table td{padding:12px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:11.5px}
body.portal-shell .user-table tr:hover td{background:var(--panel-alt)}
body.portal-shell .user-table .small-avatar{background:#FFE2D0;color:#A33700}
body.portal-shell .user-table .service-bubbles span{border-radius:8px;background:var(--panel-alt);color:var(--dim)}
body.portal-shell .status-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#F3F3F3;color:#716F6C;font-size:10px;font-weight:900}
body.portal-shell .status-chip:before{content:'';width:5px;height:5px;flex:none;background:currentColor;border-radius:50%}
body.portal-shell .status-chip.good{background:#E8F8EC;color:#29865A}
body.portal-shell .status-chip.bad{background:#FCE8E8;color:#BA5556}
body.portal-shell .status-chip.warn{background:#FFF4DE;color:#A7752B}
body.portal-shell .status-chip.external{background:#F2EFFD;color:#6F59B4}
body.portal-shell .drawer-mask{position:fixed;inset:0;display:flex;justify-content:flex-end;background:rgba(24,18,16,.32);z-index:90}
body.portal-shell .side-drawer{width:min(470px,100%);height:100vh;display:block;overflow:auto;padding:26px 24px 32px;background:var(--paper);box-shadow:-20px 0 60px rgba(42,23,17,.12);border-radius:0}
body.portal-shell .drawer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:17px}
body.portal-shell .drawer-top h2{font-size:21px;letter-spacing:-.5px;margin:3px 0}
body.portal-shell .drawer-divider{font-size:13px;font-weight:900;letter-spacing:0;text-transform:none;color:var(--ink)}
body.portal-shell .drawer-service,body.portal-shell .service-switch,body.portal-shell .auth-compact-row{border:1px solid var(--line);border-radius:12px;padding:11px;background:var(--paper)}
body.portal-shell .panel-help{border-radius:12px;padding:11px 13px;background:var(--panel-alt);border:0;color:var(--dim);font-size:10.5px;line-height:1.55}
body.portal-shell .field input,body.portal-shell .field select,body.portal-shell .field textarea{width:100%;min-height:37px;border:1px solid var(--line);border-radius:10px;padding:9px 11px;background:var(--paper);color:var(--ink)}
body.portal-shell input[type=checkbox],body.portal-shell input[type=radio]{accent-color:#FF4E00}
body.portal-shell .toast{bottom:23px;right:24px;background:#1E1B19;color:#fff;padding:13px 16px;border-radius:13px;box-shadow:0 18px 40px #100b092c;font-size:12px;font-weight:800}
body.portal-shell .sidebar-backdrop{display:none}
body.portal-shell.sidebar-collapsed .app-layout{grid-template-columns:minmax(0,1fr)}
body.portal-shell.sidebar-collapsed .sidebar{display:none}
body.portal-shell .expand-sidebar{display:none;align-items:center;justify-content:center;gap:6px;position:fixed;top:12px;left:10px;z-index:80;width:auto;height:auto;padding:9px;background:var(--paper);border:1px solid var(--line);border-radius:11px;color:var(--ink)}
body.portal-shell.sidebar-collapsed .expand-sidebar{display:flex}
body.portal-shell .home-air-hero{background:var(--hero);border:1px solid var(--hero-border);border-radius:21px;display:flex;justify-content:space-between;align-items:center;min-height:138px;gap:16px;padding:22px 26px;overflow:hidden;position:relative;margin-bottom:19px;box-shadow:none}
body.portal-shell .home-air-hero .air-hero-label{font-size:10px;letter-spacing:1.55px;font-weight:950;color:var(--accent-ink);text-transform:uppercase}
body.portal-shell .home-air-hero strong{font-size:21px;font-weight:950;letter-spacing:-.5px;line-height:1.18}
body.portal-shell .home-air-hero p{font-size:12px;line-height:1.6;color:var(--dim)}
body.portal-shell .air-hero-symbol{position:relative;flex:none;width:185px;height:96px;border:0;background:transparent;box-shadow:none}
body.portal-shell .air-hero-symbol:before{content:'';position:absolute;right:8px;top:-18px;width:123px;height:123px;border:15px solid #FF4E00;border-radius:36%;transform:rotate(-20deg);opacity:.91}
body.portal-shell .air-hero-symbol:after{content:'';position:absolute;right:3px;top:30px;width:44px;height:44px;background:#FF4E00;border-radius:14px;transform:rotate(13deg)}
body.portal-shell .home-pinned{padding:12px 14px 19px}
body.portal-shell .home-pinned-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
body.portal-shell .service-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
body.portal-shell .service-card{display:flex;flex-direction:column;min-height:194px;padding:16px;border:1px solid var(--line);border-radius:17px;background:var(--paper);box-shadow:var(--shadow);gap:0}
body.portal-shell .da-service-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.portal-shell .service-icon{height:40px;width:40px;display:grid;place-items:center;border-radius:13px;background:#FFF0E6;color:#E94A00}
body.portal-shell .service-card h3{font-size:14px;letter-spacing:-.2px;font-weight:950;margin:13px 0 5px}
body.portal-shell .service-card p{color:var(--dim);font-size:11px;line-height:1.55}
body.portal-shell .service-card-footer{margin-top:auto;padding-top:14px}
body.portal-shell .service-card .star,body.portal-shell .service-card .pin-compact{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:11px;color:#B2AAA5;background:transparent}
body.portal-shell .service-card .star.on,body.portal-shell .service-card .pin-compact.is-pinned{background:var(--active);color:var(--orange)}
body.portal-shell .service-card .star.on svg,body.portal-shell .service-card .pin-compact.is-pinned svg{fill:currentColor}
body.portal-shell .air-catalog-page .air-service-card{box-shadow:var(--shadow)}
body.portal-shell .air-catalog-page .air-service-grid{gap:13px}
body.portal-shell .air-catalog-page .air-service-card,.portal-shell .air-catalog-toolbar{border-color:var(--line)}
body.portal-shell .air-catalog-page .air-breadcrumb{display:none}
body.portal-shell .air-catalog-page .air-catalog-head{margin-bottom:22px}
body.portal-shell .air-catalog-page .air-catalog-head h1{font-size:29px;color:var(--ink)}
body.portal-shell .air-catalog-page .air-service-action{border-radius:999px}
body.portal-shell .air-catalog-page .air-status{border-radius:999px}
body.portal-shell .air-catalog-page .air-service-symbol .air-icon{width:20px;height:20px}
body.portal-shell .auth-toggle{accent-color:#FF4E00}
body.portal-shell .switch input{accent-color:#FF4E00}
body.portal-shell[data-theme=bold] .brand-mark{background:#fff;color:#FF4E00;box-shadow:none}
body.portal-shell[data-theme=bold] .sidebar .nav.active{color:#fff}
body.portal-shell[data-theme=bold] .space-logo{background:#fff;color:#FF4E00}
body.portal-shell[data-theme=bold] .sidebar-user .avatar{background:#fff;color:#FF4E00}
body.portal-shell[data-theme=bold] .home-air-hero h2,body.portal-shell[data-theme=bold] .home-air-hero p,body.portal-shell[data-theme=bold] .home-air-hero .air-hero-label{color:#fff}
@media(max-width:1190px){body.portal-shell .app-layout{gap:15px;padding:14px}body.portal-shell .service-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.portal-shell .app-layout{display:block;padding:13px}body.portal-shell .sidebar{position:fixed;left:10px;top:0;bottom:0;height:100dvh;max-height:100dvh;min-height:0;width:min(86vw,305px);z-index:62;transition:transform .23s;transform:translateX(-115%);overflow:visible;border-radius:0 20px 20px 0}body.portal-shell.portal-nav-locked,body.portal-shell.portal-search-locked{overflow:hidden;overscroll-behavior:none}body.portal-shell .sidebar-top,body.portal-shell .sidebar-bottom{flex:0 0 auto}body.portal-shell .sidebar-nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}body.portal-shell:not(.sidebar-collapsed) .sidebar{transform:translateX(0)}body.portal-shell .sidebar-backdrop{position:fixed;inset:0;z-index:55;background:#1A171755}body.portal-shell:not(.sidebar-collapsed) .sidebar-backdrop{display:block}body.portal-shell .expand-sidebar{display:flex;position:static;margin:0 0 10px}body.portal-shell .content{padding:0 0 35px}body.portal-shell .demo-toolbar{flex-wrap:wrap;justify-content:flex-end;gap:7px}body.portal-shell .crumbs{margin-right:auto}body.portal-shell .theme-caption{display:none}body.portal-shell .heading{align-items:flex-start;flex-direction:column}body.portal-shell .heading h1{font-size:25px}body.portal-shell .service-list{grid-template-columns:1fr}body.portal-shell .air-hero-symbol{width:64px}body.portal-shell .air-hero-symbol:before{right:-75px}body.portal-shell .air-hero-symbol:after{right:-20px}body.portal-shell .home-air-hero{padding:18px}body.portal-shell.sidebar-collapsed .sidebar{display:flex;transform:translateX(-115%)}}
@media(prefers-reduced-motion:reduce){body.portal-shell *{scroll-behavior:auto!important}}
/* Approved secondary pages apply through their existing functional class hooks. */
body.portal-shell :is(.profile-banner,.space-details-card,.access-settings-panel,.space-services-panel){background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
body.portal-shell :is(.tabline,.tabs){border-color:var(--line)}
body.portal-shell :is(.user-overview,.table-footer,.service-bubbles span){border-color:var(--line)}

/* Approved secondary reference: KPI cards + profile banner and details. */
body.portal-shell .stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:17px}
body.portal-shell .stat{display:flex;flex-direction:column;gap:7px;min-width:0;padding:18px 19px;background:var(--paper);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
body.portal-shell .stat .top{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--dim);font-size:11px;font-weight:850}
body.portal-shell .stat .num{color:var(--ink);font-size:26px;letter-spacing:-.8px;font-weight:950;line-height:1.2}
body.portal-shell .stat .hint{font-size:10.5px;color:var(--dim)}
body.portal-shell .stat-ico{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#FFF0E8;color:#E45A1B}
body.portal-shell .stat-ico.green{background:#E9F8F0;color:#298963}
body.portal-shell .stat-ico.violet{background:#F3F1FF;color:#685CD0}
body.portal-shell .stat-ico.blue{background:#EFF5FF;color:#447ACB}
body.portal-shell .stat-ico .air-icon{width:16px;height:16px}
body.portal-shell .profile-banner{display:flex;align-items:center;gap:17px;padding:21px 23px;margin-bottom:17px;background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
body.portal-shell .profile-avatar{display:grid;place-items:center;flex:none;width:63px;height:63px;background:#FFF0E8;color:#CF4B11;border-radius:19px;font-size:24px;font-weight:950}
body.portal-shell .profile-banner h2{margin:0 0 3px;font-size:19px;letter-spacing:-.5px}
body.portal-shell .profile-banner p{margin:0 0 7px;font-size:11.5px;color:var(--dim)}
body.portal-shell .profile-summary{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:10px}
body.portal-shell .profile-summary .meta{font-size:10.5px;color:var(--dim)}
body.portal-shell .profile-panel-row{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}
body.portal-shell .profile-panel-row .profile-form-card{min-width:0}
body.portal-shell .profile-status-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid var(--line);font-size:11.5px}
body.portal-shell .profile-status-row strong{font-size:12px}
body.portal-shell .profile-status-row span{color:var(--dim);text-align:right}
body.portal-shell .profile-status-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:16px}
body.portal-shell .page-tabs{margin-bottom:17px}
@media(max-width:1190px){body.portal-shell .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.portal-shell .profile-panel-row{grid-template-columns:1fr}body.portal-shell .profile-banner{align-items:flex-start}body.portal-shell .stat-grid{gap:8px}body.portal-shell .stat{padding:14px}}
@media(max-width:520px){body.portal-shell .stat .num{font-size:22px}body.portal-shell .profile-avatar{height:49px;width:49px;border-radius:15px;font-size:19px}}

/* Approved secondary space geometry with actual backend values. */
body.portal-shell .space-tabs{margin-bottom:17px}
body.portal-shell .space-info{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;margin-bottom:16px}
body.portal-shell .identity-card{display:flex;align-items:center;gap:16px;min-width:0;padding:21px;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:var(--shadow)}
body.portal-shell .identity-card .big-letter{display:grid;place-items:center;flex:none;width:62px;height:62px;border-radius:19px;background:#FFF0E8;color:#D45316;font-size:26px;font-weight:950}
body.portal-shell .identity-card h2{font-size:19px;letter-spacing:-.5px;margin:0 0 4px}
body.portal-shell .identity-card p{font-size:11px;color:var(--dim);margin:0 0 9px}
body.portal-shell .identity-card .keyvals{display:flex;gap:18px;flex-wrap:wrap;font-size:10.5px;color:var(--dim)}
body.portal-shell .identity-card .keyvals strong{color:var(--ink)}
body.portal-shell .space-status-content{width:100%}
body.portal-shell .space-status-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
body.portal-shell .space-status-title h2{font-size:13px;margin:0}
body.portal-shell .space-status-line{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0;font-size:11px}
body.portal-shell .space-status-line span{color:var(--dim)}
body.portal-shell .space-main-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.portal-shell .space-main-columns .section-panel{min-width:0;padding:19px}
body.portal-shell .space-access-line{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 0;border-bottom:1px solid var(--line);font-size:12px}
body.portal-shell .space-quick-access>.btn{margin-top:17px}
body.portal-shell .space-danger-zone{margin-top:16px;padding:18px;border:1px dashed #F2C9C9;border-radius:15px;background:#FFFAFA}
body.portal-shell .space-danger-zone .space-lifecycle-inline{margin:0;border:0;padding:0;background:transparent}
@media(max-width:1190px){body.portal-shell .space-info{grid-template-columns:1fr}}
@media(max-width:760px){body.portal-shell .space-main-columns{grid-template-columns:1fr}}


/* 5. Interactive functional components styled according to reference. */
/* Dodo Air working components. All colors, typography and geometry originate from
   02_dodo_air and approved secondary-page references. Logic stays in portal.js. */
:root{--font:'Nunito Sans','Trebuchet MS',Arial,sans-serif;--good:#29865A;--bad:#BA5556;--warn:#A7752B;--orange-soft:#FFF0E8}
html,body{min-height:100%;font-family:var(--font)}
body{font-family:var(--font)}
body.portal-shell{font-family:var(--font)}
button,input,select,textarea{font-family:inherit}
.hidden,[hidden]{display:none!important}
body.portal-shell .content,#content{min-width:0}
body.portal-shell .content{max-width:none}
body.portal-shell :is(.panel,.section-panel,.card,.form-card,.table-wrap,.invite-group,.user-table,.profile-form-card,.service-card){min-width:0}
body.portal-shell :is(.section-panel,.panel):has(>.table-wrap){overflow:visible}
body.portal-shell .section-panel>h2{margin:0 0 8px}
body.portal-shell .section-panel>.note{margin:0 0 17px}
body.portal-shell .section-panel+.section-panel{margin-top:15px}
body.portal-shell .heading :is(h1,p){max-width:100%}
body.portal-shell .heading-right{flex-shrink:0}
body.portal-shell .brand-copy strong{font-weight:900}
body.portal-shell .sidebar-nav .nav.active .nav-icon{opacity:1}
body.portal-shell .sidebar-bottom-row{display:flex;align-items:center;justify-content:space-between;gap:7px}
body.portal-shell .sidebar-bottom-row .bottom-sessions{padding:6px 3px;min-width:0}
body.portal-shell .sidebar-bottom-row .logout-btn{padding:6px 3px;white-space:nowrap}
body.portal-shell .nav.hidden,body.portal-shell .admin-nav.hidden{display:none!important}
body.portal-shell a:focus-visible,body.portal-shell button:focus-visible{outline:3px solid #675BD899;outline-offset:2px}
body.portal-shell :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color])),
body.portal-shell select,body.portal-shell textarea{font:inherit;color:var(--ink);min-height:37px;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:9px 11px;max-width:100%}
body.portal-shell .searchbox input,body.portal-shell .air-catalog-search input,body.portal-shell .quick-search input{background:transparent;border:0;box-shadow:none}
body.portal-shell :is(input,select,textarea):focus-visible{outline:3px solid #675BD855;outline-offset:1px}
body.portal-shell :is(input,select,textarea):disabled{opacity:.58;cursor:not-allowed}
body.portal-shell .field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:900;margin:0 0 13px;color:var(--ink)}
body.portal-shell .field input,body.portal-shell .field select,body.portal-shell .field textarea{width:100%;font-weight:500}
body.portal-shell .field textarea{min-height:78px;resize:vertical}
body.portal-shell .field small,body.portal-shell .field .hint{font-weight:500;color:var(--dim);font-size:10px}
body.portal-shell .form-stack{display:flex;flex-direction:column;gap:15px}
body.portal-shell .form-stack .field{margin:0}
body.portal-shell :is(.control-grid,.fieldrow){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.portal-shell .form-message{padding:11px 13px;margin-top:13px;background:#FFF0F0;border:1px solid #F7D9D9;border-radius:12px;color:#B83939;font-size:11.5px}
body.portal-shell .form-message.good{background:#E8F8EC;border-color:#D5EDDE;color:#29865A}
body.portal-shell .label-muted{font-size:11px;color:var(--dim)}
body.portal-shell .count-pill,body.portal-shell .air-count{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 9px;background:var(--panel-alt);color:var(--dim);font-size:10px;font-weight:900}
body.portal-shell .count-pill b{font-weight:900;color:var(--ink)}
body.portal-shell :is(.inline-actions,.inline-table-actions,.space-actions,.pagination){display:flex;align-items:center;flex-wrap:wrap;gap:7px}
body.portal-shell .pagination{justify-content:flex-end}
body.portal-shell .empty-card,body.portal-shell .air-catalog-empty{padding:35px;text-align:center;border:1px dashed var(--line);border-radius:16px;background:var(--paper);color:var(--dim);font-size:12px}
body.portal-shell .text-link{background:transparent;border:0;color:var(--accent-ink);padding:3px 0;font:inherit;font-weight:850;cursor:pointer}
body.portal-shell .text-link:hover{text-decoration:underline}
body.portal-shell .table-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:11px 12px;font-size:10px;color:var(--dim);border-top:1px solid var(--line)}
body.portal-shell .table-footer .pagination{font-weight:750}
body.portal-shell .table-wrap{width:100%;overflow-x:auto}
body.portal-shell .user-table th,body.portal-shell .user-table td{line-height:1.45}
body.portal-shell .user-table td:first-child{min-width:130px}
body.portal-shell .user-table.dense-table td{padding:10px 12px}
body.portal-shell .user-table .user-line{display:flex;align-items:center;gap:9px}
body.portal-shell .user-table .small-avatar{flex:none;width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#FFF0E8;color:#C94E1D;font-weight:900}
body.portal-shell .user-table :is(.person-name,.email){display:block;white-space:normal}
body.portal-shell .user-table .person-name{font-size:11.5px;font-weight:900}
body.portal-shell .user-table .email{font-size:10px;color:var(--dim);margin-top:3px}
body.portal-shell .user-table tr[data-edit-user]{cursor:pointer}
body.portal-shell .service-bubbles{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
body.portal-shell .service-bubbles span{display:inline-block;padding:4px 7px;border-radius:8px;background:var(--panel-alt);color:var(--dim);font-size:10px}
body.portal-shell .user-overview{display:flex;align-items:center;flex-wrap:wrap;gap:13px;padding:10px 14px;background:var(--paper);border:1px solid var(--line);border-radius:16px;margin-bottom:15px}
body.portal-shell .user-toolbar{margin:0 0 15px;gap:9px}
body.portal-shell .user-toolbar .searchbox{flex:1 1 200px;min-width:180px}
body.portal-shell .status-dot,body.portal-shell .service-state-dot{display:inline-block;width:7px;height:7px;flex:none;border-radius:50%;background:#9998A4}
body.portal-shell .status-dot.active,body.portal-shell .service-state-dot.ready{background:#29865A}
body.portal-shell .status-dot.invited{background:#A7752B}
body.portal-shell .status-dot.blocked,body.portal-shell .service-state-dot.disabled{background:#BA5556}
body.portal-shell .status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#E8F8EC;color:#29865A;font-size:10px;font-weight:900}
body.portal-shell .status-pill.blocked{background:#FCE8E8;color:#BA5556}
body.portal-shell .status-pill.invited{background:#FFF4DE;color:#A7752B}
body.portal-shell .service-availability{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
body.portal-shell .service-availability .toggle-status{min-width:60px;font-size:10px;font-weight:800;color:var(--dim)}
body.portal-shell input[type=checkbox][role=switch],body.portal-shell .service-toggle{appearance:none;-webkit-appearance:none;display:inline-block;position:relative;width:41px!important;min-width:41px!important;height:22px!important;min-height:22px!important;margin:0!important;padding:0!important;border:0!important;border-radius:30px!important;box-shadow:none;background:#D9D7D5;cursor:pointer;vertical-align:middle;transition:background .18s}
body.portal-shell input[type=checkbox][role=switch]:checked,body.portal-shell .service-toggle:checked{background:#FF4E00}
body.portal-shell input[type=checkbox][role=switch]:before,body.portal-shell .service-toggle:before{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .18s}
body.portal-shell input[type=checkbox][role=switch]:checked:before,body.portal-shell .service-toggle:checked:before{transform:translateX(19px)}
body.portal-shell input[type=checkbox][role=switch]:disabled,body.portal-shell .service-toggle:disabled{opacity:.55;cursor:not-allowed}
body.portal-shell .auth-compact-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.portal-shell .auth-compact-row :is(strong,small){display:block}
body.portal-shell .auth-compact-row small{font-size:10px;color:var(--dim);margin-top:3px}
body.portal-shell .auth-policy-form{display:grid;gap:9px;margin-top:14px}
body.portal-shell .auth-policy-actions{display:flex;justify-content:flex-end;margin-top:7px}
body.portal-shell .drawer-mask{overscroll-behavior:contain}
body.portal-shell .drawer-mask .side-drawer{overscroll-behavior:contain}
body.portal-shell .drawer-top button{flex:none}
body.portal-shell .drawer-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:24px;padding-top:15px;border-top:1px solid var(--line)}
body.portal-shell .drawer-divider{margin:18px 0 12px}
body.portal-shell .drawer-services{display:flex;flex-direction:column;gap:8px;margin:10px 0}
body.portal-shell .drawer-service{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(85px,105px);align-items:center;gap:10px;margin:7px 0}
body.portal-shell .drawer-service strong{display:block;font-size:11px}
body.portal-shell .drawer-service small{display:block;font-size:10px;color:var(--dim);margin-top:3px}
body.portal-shell .drawer-service .admin-flag{grid-column:2/-1}
body.portal-shell .admin-flag{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:10px;color:var(--dim)}
body.portal-shell .admin-flag input{width:15px;height:15px;min-height:15px}
body.portal-shell .drawer-service .service-role-select{width:100%;min-width:0}
body.portal-shell .rbac-step{padding:7px 0}
body.portal-shell .rbac-matrix{overflow:auto}
body.portal-shell .matrix-table,body.portal-shell .rbac-matrix table{width:100%;border-collapse:collapse;font-size:11.5px}
body.portal-shell .matrix-table td,body.portal-shell .matrix-table th,body.portal-shell .rbac-matrix td,body.portal-shell .rbac-matrix th{padding:11px 12px;border-bottom:1px solid var(--line)}
body.portal-shell .matrix-table th,body.portal-shell .rbac-matrix th{background:var(--panel-alt);font-size:10px;color:var(--dim)}
body.portal-shell .matrix-table td span{display:inline-flex;margin:2px;padding:4px 7px;background:var(--panel-alt);border-radius:8px;color:var(--dim)}
body.portal-shell .section-list-heading,body.portal-shell .invite-group-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
body.portal-shell .section-list-heading h2,body.portal-shell .invite-group-heading h2{margin:0 0 5px}
body.portal-shell .invite-group{padding:20px 22px}
body.portal-shell .invite-group .user-toolbar{margin:13px 0}
body.portal-shell .invite-row-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
body.portal-shell .invite-service-row{display:grid;grid-template-columns:37px minmax(0,1fr) 106px;gap:10px;align-items:center;margin:8px 0}
body.portal-shell .invite-service-row .compact-select{min-width:0;width:100%}
body.portal-shell .expiry-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(125px,180px);gap:12px}
body.portal-shell .date-range-field,body.portal-shell .multi-filter,body.portal-shell .user-picker{position:relative;min-width:170px;max-width:320px;flex:0 1 240px}
body.portal-shell .multi-filter-trigger,body.portal-shell .user-picker-button,body.portal-shell .date-range-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:37px;padding:8px 11px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink);font-size:11px;font-weight:750;text-align:left;white-space:nowrap;cursor:pointer}
/* Shared control geometry: the focus ring belongs to the outer visible border. */
body.portal-shell :is(.searchbox,.air-catalog-search):focus-within,body.portal-shell :is(.multi-filter-trigger,.date-range-trigger,.user-picker-button):focus-visible{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px rgba(103,91,216,.26)}
body.portal-shell :is(.searchbox,.air-catalog-search) input:focus-visible{outline:0;box-shadow:none}
body.portal-shell .date-range-chevron{color:var(--dim)}
body.portal-shell .multi-filter-trigger>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.portal-shell .multi-filter-popup,body.portal-shell .user-picker-dropdown,body.portal-shell .date-range-popover{position:absolute;z-index:55;top:calc(100% + 5px);left:0;width:min(330px,92vw);padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 36px rgba(30,24,20,.14)}
body.portal-shell .multi-filter-options{display:flex;flex-direction:column;gap:3px;max-height:250px;overflow-y:auto}
body.portal-shell .multi-filter-option{display:flex;align-items:center;gap:9px;min-height:33px;padding:7px 8px;border-radius:9px;cursor:pointer;color:var(--ink);font-size:11px}
body.portal-shell .multi-filter-option:hover{background:var(--active)}
body.portal-shell .multi-filter-option input{width:15px;height:15px;min-height:15px;flex:none}
body.portal-shell .multi-filter-search{width:100%;margin-bottom:8px}
body.portal-shell .multi-filter-actions,body.portal-shell .date-range-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding-top:9px;border-top:1px solid var(--line)}
body.portal-shell .date-range-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
body.portal-shell .date-range-inputs label{display:grid;gap:5px;color:var(--dim);font-size:10px}
body.portal-shell .date-range-inputs input{width:100%;min-width:0}
body.portal-shell .user-picker-results{max-height:280px;overflow:auto;margin-top:8px}
body.portal-shell .user-picker-results button{display:block;width:100%;border:0;border-radius:9px;background:var(--paper);text-align:left;padding:9px;color:var(--ink)}
body.portal-shell .user-picker-results button:hover{background:var(--active)}
body.portal-shell .user-picker-results :is(strong,small){display:block}
body.portal-shell .user-picker-results small{color:var(--dim);font-size:10px;margin-top:3px}
body.portal-shell .external-admin-list{display:grid;gap:10px}
body.portal-shell .external-admin-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
body.portal-shell .external-admin-row strong,body.portal-shell .external-admin-row small{display:block}
body.portal-shell .external-admin-row small{margin-top:5px;color:var(--dim);font-size:10px}
body.portal-shell .external-admin-description{color:var(--dim);margin:6px 0}
body.portal-shell .external-link-url{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--accent-ink);font-size:10px}
body.portal-shell .external-admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
body.portal-shell .compact-service-summary{display:flex;flex-direction:column;gap:0;margin:12px 0 18px}
body.portal-shell .space-service-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 2px;border-bottom:1px solid var(--line)}
body.portal-shell .space-service-name{display:flex;flex-direction:column;gap:4px;min-width:0}
body.portal-shell .service-state{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:10px;color:var(--dim)}
body.portal-shell .space-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
body.portal-shell .space-lifecycle-inline{padding:12px 0}
body.portal-shell .space-lifecycle-inline h3{margin:0 0 7px;font-size:13px}
body.portal-shell .danger-note{padding:13px;background:#FFF0F0;border:1px solid #F7D9D9;border-radius:12px;color:#B83939;font-size:11px}
body.portal-shell .confirm-ack{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:var(--dim)}
body.portal-shell .confirm-ack input{flex:none;width:16px;height:16px;min-height:16px}
body.portal-shell .profile-panel-row>.section-panel{height:max-content}
body.portal-shell .connection-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}
body.portal-shell .connection-row .connection-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;background:var(--active);border-radius:10px;color:var(--accent-ink);font-weight:900}
body.portal-shell .connection-row>div{flex:1}
body.portal-shell .connection-row :is(strong,small){display:block}
body.portal-shell .connection-row small{color:var(--dim);font-size:10px;margin-top:4px}
body.portal-shell .light-divider{border:0;border-top:1px solid var(--line);margin:22px 0}
body.portal-shell .page-tabs{margin-bottom:17px}
body.portal-shell.portal-search-locked{overflow:hidden}
body.portal-shell .quick-backdrop{position:fixed;z-index:190;inset:0;display:flex;align-items:flex-start;justify-content:center;background:rgba(24,18,16,.44);backdrop-filter:blur(3px);padding:clamp(60px,12vh,130px) 12px 20px}
body.portal-shell .quick-search,body.portal-shell .quick-modal{max-height:calc(100dvh - 100px);display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:16px;width:min(620px,100%);overflow:hidden;box-shadow:0 18px 55px rgba(18,22,32,.18)}
body.portal-shell .quick-search input{min-height:52px;width:100%;border:0;padding:17px 20px;font-size:13px;outline:0}
body.portal-shell .quick-search-header{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line)}
body.portal-shell .quick-search-header input{flex:1;min-width:0}
body.portal-shell .quick-close{flex:none;margin-right:13px;width:31px;height:31px;border:0;background:var(--panel-alt);border-radius:8px;color:var(--dim)}
body.portal-shell .quick-footer{border-top:1px solid var(--line);padding:10px 18px;font-size:10px;color:var(--dim)}
body.portal-shell .quick-search .items{overscroll-behavior:contain}
body.portal-shell .quick-result.selected,body.portal-shell .quick-result:focus-visible{background:var(--aside-active);color:var(--accent-ink)}
body.portal-shell .quick-result>span:first-child{flex:1;min-width:0}
body.portal-shell .quick-result>span:last-child{font-size:10px;color:var(--dim)}
body.portal-shell .quick-search .items{padding:10px;max-height:430px;overflow:auto}
body.portal-shell .quick-result,body.portal-shell .quick-item{width:100%;display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border:0;border-radius:10px;background:var(--paper);color:var(--ink);text-align:left;font-size:12px;cursor:pointer}
body.portal-shell .quick-result:hover,body.portal-shell .quick-item:hover{background:var(--active)}
body.portal-shell .quick-empty{text-align:center;padding:24px;color:var(--dim)}
body.portal-shell #toastRoot.toast{position:fixed;z-index:150;bottom:23px;right:24px;max-width:min(420px,90vw)}
body.portal-shell .service-list .service-card-main{flex:1;min-width:0}
body.portal-shell .service-list .service-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px}
body.portal-shell .service-list .status-chip{max-width:100%;white-space:nowrap}
body.portal-shell .service-list .da-service-controls{display:flex;align-items:center;gap:5px;margin-left:auto}
body.portal-shell .service-list .service-icon{flex:none}
body.portal-shell .service-list .service-card h3{margin-top:13px}
body.portal-shell .service-list .service-card p{margin:0}
body.portal-shell .service-list .service-card .btn{margin-left:auto}
/* Service catalog exactly follows the geometry and elements of 02_dodo_air. */
body.portal-shell .air-catalog-page{min-width:0}
body.portal-shell .air-catalog-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}
body.portal-shell .air-catalog-head h1{margin:0;font-size:29px;font-weight:950;letter-spacing:-.9px;line-height:1.07}
body.portal-shell .air-catalog-head p{color:var(--dim);font-size:12px;line-height:1.6;margin:9px 0 0}
body.portal-shell .air-eyebrow{color:var(--accent-ink);font-size:10px;letter-spacing:1.55px;text-transform:uppercase;font-weight:950;margin-bottom:10px}
body.portal-shell .air-breadcrumb{display:none}
body.portal-shell .air-catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:17px;padding:12px 14px;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:var(--shadow)}
body.portal-shell .air-catalog-search{display:flex;align-items:center;gap:8px;flex:1 1 160px;min-width:160px;max-width:345px;height:37px;padding:0 11px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--dim)}
body.portal-shell .air-catalog-search input{width:100%;min-width:0;height:100%;padding:0;border:0;font-size:11.5px;font-weight:650;outline:0;background:transparent}
body.portal-shell .air-catalog-filters{display:flex;align-items:center;gap:3px;padding:4px;border-radius:11px;background:var(--panel-alt)}
body.portal-shell .air-filter{border:0;border-radius:8px;background:transparent;color:var(--dim);padding:7px 11px;font-size:11px;font-weight:850;white-space:nowrap;min-height:29px}
body.portal-shell .air-filter.selected{background:var(--paper);color:var(--orange);box-shadow:0 2px 10px #1c100a0d}
body.portal-shell .air-catalog-categories{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:4px 0 16px}
body.portal-shell .air-category{border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);font-size:10.5px;font-weight:900;padding:7px 12px;min-height:30px;white-space:nowrap}
body.portal-shell .air-category.selected{background:var(--active);color:var(--accent-ink);border-color:transparent}
body.portal-shell .air-service-section{margin:0 0 26px;min-width:0}
body.portal-shell .air-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 12px}
body.portal-shell .air-section-heading h2{display:flex;align-items:center;gap:9px;margin:0;font-size:15px;font-weight:950;letter-spacing:-.3px;color:var(--ink)}
body.portal-shell .air-section-heading p{font-size:11px;color:var(--dim);margin:4px 0 0}
body.portal-shell .air-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
body.portal-shell .air-service-card{display:flex;flex-direction:column;position:relative;min-width:0;min-height:194px;padding:16px;border:1px solid var(--line);border-radius:17px;background:var(--paper);box-shadow:var(--shadow);transition:.18s}
body.portal-shell .air-service-card:hover{border-color:#FFBEA0;box-shadow:0 9px 30px rgba(50,29,12,.075);transform:translateY(-2px)}
body.portal-shell .air-service-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px}
body.portal-shell .air-service-symbol{width:40px;height:40px;display:grid;place-items:center;flex:none;border-radius:13px;background:#FFF0E6;color:#E94A00}
body.portal-shell .air-service-symbol.tone-violet{background:#F0EDFF;color:#675BD8}
body.portal-shell .air-service-symbol.tone-green{background:#E9F7F0;color:#348360}
body.portal-shell .air-service-symbol.tone-azure{background:#E9F3FF;color:#0578FE}
body.portal-shell .air-service-symbol .air-icon{height:20px;width:20px;stroke-width:2}
body.portal-shell .air-service-controls{display:flex;align-items:center;gap:5px;margin-left:auto}
body.portal-shell .air-favorite,body.portal-shell .air-pin{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:11px;border:0;background:transparent;color:#B2AAA5;cursor:pointer}
body.portal-shell .air-favorite:hover,body.portal-shell .air-pin:hover{background:var(--active);color:var(--orange)}
body.portal-shell .air-favorite.is-on,body.portal-shell .air-pin.is-on{background:var(--active);color:var(--orange)}
body.portal-shell .air-favorite.is-on .air-icon,body.portal-shell .air-pin.is-on .air-icon{fill:currentColor}
body.portal-shell .air-service-copy{min-width:0;flex:1}
body.portal-shell .air-service-copy h3{font-size:14px;font-weight:950;letter-spacing:-.2px;margin:13px 0 5px}
body.portal-shell .air-service-copy p{margin:0;color:var(--dim);font-size:11px;line-height:1.55;max-width:340px;min-height:34px}
body.portal-shell .air-service-footer{margin-top:auto;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
body.portal-shell .air-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px;font-weight:900;padding:5px 8px;background:#F3F3F3;color:#716F6C;border-radius:999px}
body.portal-shell .air-status:before{content:'';background:currentColor;width:5px;height:5px;flex:none;border-radius:50%}
body.portal-shell .air-status.tone-good{background:#E8F8EC;color:#29865A}
body.portal-shell .air-status.tone-warn{background:#FFF4DE;color:#A7752B}
body.portal-shell .air-status.tone-bad{background:#FCE8E8;color:#BA5556}
body.portal-shell .air-status.tone-external{background:#F2EFFD;color:#6F59B4}
body.portal-shell .air-service-action{display:inline-flex;align-items:center;gap:4px;justify-content:center;border:0;border-radius:999px;padding:7px 12px;background:var(--panel-alt);color:var(--ink);font-size:10.5px;font-weight:900;text-decoration:none;white-space:nowrap;cursor:pointer}
body.portal-shell .air-service-action:hover{background:var(--active);color:var(--orange)}
body.portal-shell .air-service-note{color:var(--dim);font-size:10px}
body.portal-shell .air-icon{display:block;width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.portal-shell .air-icon.small{width:15px;height:15px}
body.portal-shell .air-catalog-empty{font-size:11px}
body.portal-shell .home-pinned{background:transparent;border:0;box-shadow:none;padding:0;margin:0}
body.portal-shell .home-pinned-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 12px;flex-wrap:wrap}
body.portal-shell .home-pinned-title h2{font-size:15px;margin:0 0 4px}
body.portal-shell .home-pinned-title .note{font-size:11px;margin:0}
body.portal-shell .home-pinned-title .home-search{width:min(400px,100%);max-width:400px;min-width:160px}
body.portal-shell .home-pinned-title .home-search input{width:100%}
body.portal-shell .home-air-hero strong{display:block;margin:7px 0;font-weight:950}
body.portal-shell .home-air-hero p{margin:0}
body.portal-shell .home-air-hero .air-hero-symbol{isolation:isolate}
body.portal-shell .home-air-hero .air-hero-symbol:before{z-index:-1}
body.portal-shell .sidebar-backdrop{z-index:60}
body.portal-shell .brand .brand-mark{flex:none}
body.portal-shell .side-drawer .panel-help{margin:8px 0 16px}
/* Dodo Air login/invite (approved secondary references) without legacy auth styles. */
body.login-body{font:13px/1.5 var(--font);background:#F2F2F6;color:#15151B}
body.login-body .auth-layout{min-width:0}
body.login-body .auth-card .form-stack{display:flex;flex-direction:column;gap:16px}
body.login-body .auth-card .field,body.login-body .join-card .field{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:900}
body.login-body .field :is(input,select,textarea){width:100%;min-height:42px;border:1px solid #E7E7EC;border-radius:10px;padding:9px 11px;background:#fff;color:#15151B;font:inherit;font-weight:550}
body.login-body .field :is(input,select,textarea):focus-visible{outline:3px solid #675BD855;outline-offset:1px}
body.login-body .tabs{width:100%;display:flex;gap:4px;padding:4px;background:#E9E9EE;border-radius:12px;margin:0 0 24px}
body.login-body .tab{flex:1;min-height:36px;padding:9px 12px;border:0;border-radius:9px;background:transparent;color:#777885;font-weight:900;font-size:11px}
body.login-body .tab.active{background:#fff;color:#D84D13;box-shadow:0 2px 6px #3030420D}
body.login-body .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:8px 15px;border:1px solid #E7E7EC;border-radius:999px;background:#fff;color:#30303A;font-size:11.5px;font-weight:900}
body.login-body .btn.primary{background:#FF4E00;color:#fff;border-color:#FF4E00}
body.login-body .btn.soft{background:#FFF0E8;color:#D84D13;border-color:#FFF0E8}
body.login-body .btn.full{width:100%}
body.login-body .auth-help{margin-top:22px;padding-top:20px;border-top:1px solid #E0E0E7;font-size:11px;color:#94949F}
body.login-body .form-message{padding:11px 13px;margin:12px 0;border:1px solid #F7D9D9;border-radius:12px;background:#FFF0F0;color:#B83939;font-size:11.5px}
body.login-body .form-message.good{border-color:#D4EDDE;background:#E8F8EC;color:#29865A}
body.login-body .join-card .form-stack{display:flex;flex-direction:column;gap:15px}
body.login-body .invite-center{display:grid;place-items:center;min-height:100dvh;padding:22px}
body.login-body .invite-center .join-card{width:min(100%,510px);max-width:510px}
body.login-body .invite-center .join-card>p{font-size:11px;color:#777885}
body.login-body .invite-center .join-card h2{margin:18px 0 10px;font-size:26px;letter-spacing:-.7px}
body.login-body .invite-center .join-card .note{font-size:11px;color:#777885}
body.login-body .invite-center .join-card a{color:#C94C10;font-weight:850}
body.login-body .auth-story,body.login-body .auth-right{min-width:0}
body.air-error{font-family:var(--font)}
@media(max-width:1190px){body.portal-shell .air-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.portal-shell .service-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:790px){body.login-body .auth-layout{grid-template-columns:1fr}body.login-body .auth-card{max-width:100%}}
@media(max-width:760px){body.portal-shell .air-service-grid,body.portal-shell .service-list{grid-template-columns:1fr}body.portal-shell .content{padding:0 0 42px}body.portal-shell .user-toolbar{align-items:stretch}body.portal-shell .user-toolbar>*{max-width:none!important;width:100%}body.portal-shell .multi-filter,body.portal-shell .date-range-field,body.portal-shell .user-picker{width:100%;max-width:none;flex-basis:100%}body.portal-shell .air-catalog-toolbar{flex-direction:column;align-items:stretch}body.portal-shell .air-catalog-search{flex:none;width:100%;max-width:none}body.portal-shell .air-catalog-filters{width:max-content;max-width:100%;overflow:auto}body.portal-shell .heading{align-items:flex-start;flex-direction:column}body.portal-shell .control-grid,body.portal-shell .fieldrow,body.portal-shell .expiry-picker{grid-template-columns:1fr}body.portal-shell .external-admin-row{grid-template-columns:1fr}}
@media(max-width:520px){body.portal-shell .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.portal-shell .home-pinned-title{display:block}body.portal-shell .home-pinned-title .home-search{margin-top:14px;width:100%;max-width:none}body.portal-shell .drawer-service{grid-template-columns:auto minmax(0,1fr)}body.portal-shell .drawer-service select{grid-column:2/-1}}


/* 6. Approved standalone error layout. */
body.air-error{--font:'Nunito Sans','Trebuchet MS',Arial,sans-serif;--border:#E7E7EC;--orange:#FF4E00;min-height:100vh;padding:0;display:block;background:#F2F2F6;font-family:var(--font)}body.air-error .error-layout{min-height:100vh;padding:18px;display:flex;align-items:stretch;justify-content:center;max-width:1700px;margin:auto;background:transparent;border:0;border-radius:0;box-shadow:none;width:100%}body.air-error .error-panel{width:100%;min-height:calc(100vh - 36px);background:#fff;border:1px solid #E7E7EC;border-radius:23px;display:flex;flex-direction:column;padding:30px 40px;position:relative;overflow:hidden}body.air-error .error-panel:before{content:"";width:270px;height:270px;border:48px solid #FFF1E8;border-radius:37%;position:absolute;right:-105px;top:-115px;transform:rotate(-20deg)}body.air-error .error-body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:550px;margin:15px auto;position:relative;z-index:1}body.air-error .error-symbol{height:72px;width:72px;border-radius:23px;color:#FF4E00;background:#FFF0E8;display:grid;place-items:center;margin-bottom:16px;font-size:42px;font-weight:950}body.air-error .error-code{font-size:clamp(75px,10vw,128px);font-weight:950;letter-spacing:-9px;line-height:1;color:#FF4E00}body.air-error .error-body h1{font-size:30px;letter-spacing:-.8px;margin:14px 0 8px}body.air-error .error-body p{font-size:13px;color:#92929F;line-height:1.75;max-width:430px;margin:0 0 24px}body.air-error .error-body .home{display:inline-flex;min-height:40px;background:#FF4E00;color:#fff;border-radius:999px;padding:10px 18px;font-size:11.5px;font-weight:900;text-decoration:none}body.air-error .error-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#A5A5B0;font-size:10.5px;flex-wrap:wrap}body.air-error .error-brand{display:flex;gap:12px;align-items:center;z-index:1;margin:0}body.air-error .error-brand-mark{display:grid;place-items:center;width:43px;height:43px;background:#FF4E00;color:#fff;border-radius:14px;font-size:22px}body.air-error .error-brand strong{display:block;font-size:17px}body.air-error .error-brand small{display:block;font-size:10px;margin:0}@media(max-width:790px){body.air-error .error-panel{padding:20px 15px}body.air-error .error-body h1{font-size:24px}body.air-error .error-code{font-size:75px}body.air-error .error-footer{justify-content:center}}

/* Visual QA corrections within the single Dodo Air stylesheet. */
body.portal-shell .da-icon {display:block;flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.portal-shell .da-icon-sm {width:15px;height:15px}
body.portal-shell .air-catalog-head {display:block;margin-bottom:22px}
body.portal-shell .air-catalog-head .air-eyebrow {margin-bottom:10px}
body.portal-shell .air-catalog-search input[type="search"] {border:0;padding:0;min-height:0;height:100%;background:transparent;box-shadow:none;outline:0}
body.portal-shell .sidebar .brand {gap:8px;padding-left:4px;padding-right:1px}
body.portal-shell .sidebar .brand-copy strong {font-size:16px;letter-spacing:-.65px}
body.portal-shell .sidebar .brand .circle-btn {width:25px;min-width:25px}
body.portal-shell .page-tabs {display:block;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
body.portal-shell .page-tabs > * {width:max-content;max-width:none}

/* Portal Core 2.7.6: shared navigation, notification and invitation components.
 * All screens continue to use this single Dodo Air stylesheet. */
body.portal-shell .demo-toolbar > .expand-sidebar {flex:none;align-items:center;gap:7px}
@media(max-width:760px){
  body.portal-shell .demo-toolbar{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:9px;margin-bottom:18px}
  body.portal-shell .demo-toolbar > .expand-sidebar{display:inline-flex;position:static;order:-2;margin:0;padding:8px 11px;min-height:36px;z-index:auto;white-space:nowrap}
  body.portal-shell .demo-toolbar > .crumbs{order:-1;margin-right:0;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
  body.portal-shell .demo-toolbar > .theme-switcher{margin-left:auto}
}
body.portal-shell #toastRoot.toast{display:flex;align-items:flex-start;gap:13px;max-width:min(440px,calc(100vw - 32px));width:max-content;min-height:46px;opacity:0;pointer-events:none;transform:translateY(18px);transition:opacity .22s,transform .22s;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
body.portal-shell #toastRoot.toast.visible{opacity:1;pointer-events:auto;transform:translateY(0)}
body.portal-shell #toastRoot .toast-message{flex:1;min-width:0;padding-top:1px}
body.portal-shell #toastRoot .toast-close{flex:none;width:25px;height:25px;border:0;border-radius:7px;background:rgba(255,255,255,.12);color:inherit;font-size:20px;line-height:1;display:grid;place-items:center;cursor:pointer}
body.portal-shell #toastRoot .toast-close:hover,body.portal-shell #toastRoot .toast-close:focus-visible{background:rgba(255,255,255,.24)}
@media(max-width:760px){
  body.portal-shell #toastRoot.toast{left:12px;right:12px;top:calc(env(safe-area-inset-top,0px) + 12px);bottom:auto;width:auto;max-width:none;transform:translateY(-12px)}
  body.portal-shell #toastRoot.toast.visible{transform:translateY(0)}
}
/* Invitation is composed from the same approved Dodo Air auth components. */
body.invite-body .invite-auth-layout{grid-template-columns:minmax(320px,.92fr) minmax(410px,1.08fr);align-items:stretch}
body.invite-body .invite-story .story-copy{padding-bottom:40px}
body.invite-body .invite-auth-right{display:flex;align-items:center;justify-content:center;min-width:0}
body.invite-body .invite-auth-card{width:min(100%,575px);max-width:575px;padding:28px 34px;border-radius:22px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}
body.invite-body .invite-auth-card .label-top{display:inline-flex;align-items:center;gap:8px;color:var(--accent-ink);font-size:10px;font-weight:900;letter-spacing:.5px;text-transform:uppercase}
body.invite-body .invite-auth-card h2{font-size:26px;font-weight:950;letter-spacing:-.8px;line-height:1.15;margin:13px 0 7px}
body.invite-body .invite-auth-card > .desc{margin:0 0 16px;line-height:1.55}
body.invite-body .invite-space-summary{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:var(--panel-alt);color:var(--ink);font-size:11.5px;line-height:1.55;font-weight:750;margin:15px 0}
body.invite-body .invite-form{gap:0}
body.invite-body .invite-form-section{padding:13px 0 7px;border-top:1px solid var(--line)}
body.invite-body .invite-form-section:first-child{border-top:0;padding-top:4px}
body.invite-body .invite-section-heading{display:flex;align-items:center;gap:8px;margin:0 0 11px;font-size:12px;font-weight:900}
body.invite-body .invite-step{display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:8px;background:var(--active);color:var(--accent-ink);font-size:11px;font-weight:950}
body.invite-body .invite-optional{font-size:10px;color:var(--dim);font-weight:650}
body.invite-body .invite-auth-card .field{margin:0 0 10px;gap:6px}
body.invite-body .invite-auth-card .field :is(input,select){width:100%;min-height:40px}
body.invite-body .invite-method-note{margin:1px 0 10px}
body.invite-body .invite-code-button{margin-bottom:11px}
body.invite-body .invite-submit{margin:12px 0 0;min-height:42px}
body.invite-body .invite-existing{font-size:11px;color:var(--dim);margin-top:15px;line-height:1.55}
body.invite-body .invite-existing a,body.invite-body .invite-footer a{color:var(--accent-ink);font-weight:850}
body.invite-body .invite-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:19px;padding-top:17px;border-top:1px solid var(--line);font-size:10.5px;color:var(--dim)}
body.invite-body .invite-auth-card .form-message:not(.hidden){margin:15px 0 0}
@media(max-width:900px){body.invite-body .invite-auth-layout{grid-template-columns:1fr;gap:12px;padding:12px}body.invite-body .invite-story{min-height:150px;padding:19px 22px}body.invite-body .invite-story .story-copy{padding:10px 0 0;margin:0}body.invite-body .invite-story .story-copy h1{font-size:27px;letter-spacing:-1px;margin:5px 0 8px}body.invite-body .invite-story .story-copy p{font-size:11.5px;margin:0}body.invite-body .invite-story .story-foot{display:none}body.invite-body .invite-auth-card{max-width:600px;width:100%;padding:22px}body.invite-body .invite-auth-right{align-items:flex-start}}
@media(max-width:520px){body.invite-body .invite-story{min-height:120px;padding:17px}body.invite-body .invite-story .story-copy h1{font-size:23px}body.invite-body .invite-auth-card{padding:20px 17px}body.invite-body .invite-auth-card h2{font-size:23px}body.invite-body .invite-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){body.portal-shell #toastRoot.toast{transition:none}}

/* v2.7.7 · Shared Dodo Air checkbox switch (user roles, self-grants, invitations).
   The native input remains focusable; visible .track is the pointer target. */
body.portal-shell .da-switch{min-width:41px;min-height:26px;justify-content:center;touch-action:manipulation}
body.portal-shell .da-switch .track{flex:none}
body.portal-shell .da-switch input:disabled+.track{opacity:.55;cursor:not-allowed}
body.portal-shell .my-service-grant.is-enabled{border-color:rgba(255,78,0,.32)}
body.portal-shell .self-grant-status{display:block;margin-top:4px;font-size:10px;font-weight:750;color:var(--dim)}
body.portal-shell .my-service-grant.is-enabled .self-grant-status{color:var(--orange)}
body.portal-shell .my-service-grant select:disabled{opacity:.5;cursor:not-allowed;background:var(--panel-alt)}
body.portal-shell .self-grants-hint{margin:12px 0 0;font-size:11px}
