/* Ivory, ink and the owner's Mesh drift recipe. Content stays on calm surfaces. */
body:has(.iedc-mesh-layer){isolation:isolate;background:#f3eee6;color:#242126}
.iedc-mesh-layer{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;opacity:.18;background:#655b56}
.iedc-mesh-layer canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.iedc-mesh-toggle{position:fixed;right:20px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:100;min-height:44px;padding:10px 16px;border:1px solid #6b5c50;border-radius:6px;background:rgba(243,238,230,.96);color:#242126;font:500 12px/1.4 'DM Sans',sans-serif;cursor:pointer;box-shadow:0 4px 16px #38313812}
.iedc-mesh-toggle:hover{background:#fffdf7;border-color:#655b56}.iedc-mesh-toggle:focus-visible{outline:2px solid #701d36;outline-offset:4px}.iedc-mesh-toggle[hidden]{display:none}
/* Platform */
.portal-shell,.dark .portal-shell{--background:#f3eee6;--surface:#fffdf7;--surface-2:#ece9df;--foreground:#242126;--muted-foreground:#655b56;--faint-foreground:#655b56;--border:#c5ad83;--portal-border:#c5ad83;--portal-glass:rgba(250,247,242,.94);--accent:#701d36;--accent-strong:#541429;--accent-soft:#38313810;background:transparent;color:#242126;color-scheme:light}
.portal-shell .portal-header{background:rgba(243,238,230,.96);border-bottom:1px solid #c5ad83}
.portal-shell .portal-brand,.portal-shell .portal-header a,.portal-shell .portal-header button{color:#242126}
.portal-shell .portal-header nav a[aria-current]{color:#701d36}
.portal-shell .portal-management-nav{background:#242126;background-image:none;border-color:#655b56;border-radius:7px}
.portal-shell .portal-management-nav nav a,.portal-shell .admin-nav-group>summary,.portal-shell .portal-management-nav .portal-back{color:#eee9dc}
.portal-shell .admin-nav-group{border-color:#6b5c502e}
.portal-shell .portal-management-nav nav a:hover{background:#655b56;color:#fff}
.portal-shell .portal-management-nav nav a[aria-current=page]{background:#f0ebdd;color:#242126;border-radius:4px}
.portal-shell .admin-page-heading{border-color:#c5ad83}
.portal-shell .admin-page-heading h1{color:#242126;font-size:clamp(30px,3vw,43px);font-weight:500}
.portal-shell .admin-page-heading p,.portal-shell .admin-get-started p{color:#655b56}
.portal-shell .portal-glass,.dark .portal-shell .portal-glass,.portal-shell .portal-panel{background:rgba(250,247,242,.95);border-color:#c5ad83;box-shadow:0 8px 24px #38313808;border-radius:8px}
.portal-shell .portal-panel h2,.portal-shell .portal-panel h3{color:#383138}
.portal-shell .portal-primary{background:#701d36;color:#ffffff;border-color:#701d36;border-radius:4px;font-weight:500}
.portal-shell .portal-primary:hover{background:#541429;border-color:#541429}
.portal-shell .portal-secondary{background:#f5f1e6;color:#383138;border-color:#c5ad83;border-radius:4px}
.portal-shell .portal-secondary:hover{background:#eee5d8;border-color:#383138}
.portal-shell .portal-field{color:#383138}.portal-shell .portal-field :is(input,select,textarea),.portal-shell .portal-link-input{background:#fffef9;color:#242126;border-color:#6b5c50;border-radius:4px;box-shadow:none}
.portal-shell :is(input,textarea)::placeholder{color:#6b5c50}
.portal-shell :is(input,select,textarea,a,button,summary):focus-visible{outline-color:#383138}
.portal-shell .portal-recipient{background:#f8f5ec;color:#383138;border-color:#c5ad83;border-radius:4px}
.portal-shell .portal-recipient:has(input:checked){background:#eee5d8;border-color:#6b5c50}
.portal-shell .portal-recipient small,.portal-shell .portal-footnote,.portal-shell .portal-empty{color:#655b56}
.portal-shell .ava-toolbar{background:#eee5d8;border-color:#c5ad83;border-radius:6px}
.portal-shell .ava-status{background:#eee5d8;color:#383138;border-color:#c5ad83}
.portal-shell .ava-table th{background:#eee5d8;color:#383138}.portal-shell .ava-table :is(td,th){border-color:#c5ad83}.portal-shell .ava-table tbody tr:hover{background:#eee5d8}.portal-shell .ava-table small{color:#655b56}
.portal-shell .admin-quick-actions{background:#faf7ee;border-color:#c5ad83}.portal-shell .admin-quick-actions>a{border-color:#c5ad83}.portal-shell .admin-quick-actions>a:hover{background:#eee5d8}.portal-shell .admin-quick-actions strong{color:#383138}.portal-shell .admin-quick-actions span{color:#655b56}
.portal-shell .admin-attention{background:rgba(250,247,242,.94);background-image:none}
.portal-shell .portal-error{color:#972c3d}.portal-shell .portal-feedback{background:#eee5d8;color:#383138;border-color:#c5ad83}
.portal-shell .academy-center fieldset{border-color:#c5ad83}.portal-shell .academy-center blockquote{background:#eee5d8}
.portal-shell .portal-footer{background:#f0ede1;border-color:#c5ad83;color:#655b56;padding-bottom:80px}
.portal-shell :is(.portal-eyebrow,.stream-kicker,.stream-feature-meta,.student-overview svg,.portal-hub-link span){color:#6b5c50!important}
.portal-shell .student-locked,.portal-shell .learning-route-info small{color:#655b56}
.portal-shell .student-curriculum>a[aria-current=page]{background:#eee5d8;color:#701d36}
.learning-route>li{border-left-color:#6b5c50}.learning-route>li:before{background:#383138;box-shadow:0 0 0 5px #fffdf7}
.portal-shell .stream-home,.portal-shell .stream-detail{background:transparent}
.portal-shell :is(.stream-episode,.stream-program,.stream-support,.stream-detail .portal-panel,.portal-classroom aside){background-color:#faf8ef;border-color:#c5ad83;color:#242126}
.portal-shell .stream-episode-copy h3,.portal-shell .stream-support h3,.portal-shell .stream-section-head h2{color:#383138}
.portal-shell .stream-episode-copy p,.portal-shell .stream-support p,.portal-shell .stream-section-head p{color:#655b56}
.portal-shell .stream-feature-shade{background:linear-gradient(90deg,#383138db,#38313830),linear-gradient(0deg,#383138b0,transparent 75%)}
.portal-shell .stream-feature-copy :is(h1,p),.portal-shell .stream-detail-copy :is(h1,p){color:#ffffff}
.portal-shell .stream-feature .portal-primary,.portal-shell .portal-welcome .portal-primary{background:#f0ebdc;color:#383138;border-color:#f0ebdc}
.portal-shell .portal-tabs button[aria-pressed=true]{background:#eee5d8;color:#383138}
.portal-shell ::selection{background:#c5ad83;color:#383138}
/* Landing: ivory is the reading surface, the shader appears between sections. */
body:has(.hero-primary){--bg:#f3eee6;--bg-darker:#242126;--text:#242126;--text-dim:#655b56;--text-muted:#655b56;--gold:#701d36;--gold-light:#6b5c50;--glass-border:#c5ad8355}
body .top-nav{background:rgba(243,238,230,.96);border-bottom-color:#c5ad83}body .nav-logo-text,body .nav-link{color:#242126}
body .btn-nav-primary,body .btn-main-gold{background:#701d36;color:#ffffff;border-color:#701d36;border-radius:4px;box-shadow:none}
body .btn-nav-primary:hover,body .btn-main-gold:hover{background:#541429;color:#ffffff}
body .hero-primary{background-color:#000}body .hero-content{background:rgba(0,0,0,.35);border:none;border-radius:0;box-shadow:none;backdrop-filter:none;padding:44px}
body .hero-title{color:#ffffff;font-size:clamp(38px,5vw,66px);font-weight:500;line-height:1.12;max-width:21ch}
body .hero-subtitle{color:#eee8db;max-width:65ch;line-height:1.8}
body .hero-primary .btn-main-gold{background:#f2ecdd;color:#701d36;border-color:#f2ecdd}
body .hero-primary .btn-main-outline{background:rgba(0,0,0,.25);color:#ffffff;border-color:#eee5d899}
body .connect-section{background:rgba(243,238,230,.92);background-image:none;color:#242126;padding-block:110px}
body .connect-section h2{color:#242126;font-weight:500;max-width:24ch;margin-inline:auto;font-size:clamp(32px,3.3vw,46px)}
body .connect-section p,body .connect-section p:not(.connect-mini-card p){color:#655b56}
body .connect-mini-card{background:transparent;color:#242126;border-top-color:#c5ad83;padding:30px 12px!important}
body .connect-mini-card h3{color:#383138}body .connect-mini-card p{color:#655b56}body .connect-mini-card:hover{background:transparent;border-top-color:#383138}
body .connect-mini-card svg{color:#383138}
body .member-invite{background:transparent;background-image:none;padding-block:100px}
body .invite-glass{background:rgba(36,33,38,.94);background-image:none;color:#f3eeeb;border:1px solid #38313855;border-radius:4px;padding:80px 8%;box-shadow:none}
body .invite-glass :is(h2,p){color:#f3eeeb}body .invite-glass h2{font-size:clamp(32px,4vw,52px);font-weight:500}
body .invite-glass .btn-main-gold{background:#f3eee6;color:#242126;border-color:#f3eee6}
body .invite-faq{color:#242126}body .invite-faq details{background:rgba(243,238,230,.94);border-color:#c5ad83;border-radius:4px}
body .invite-faq details p{color:#655b56}
body footer{background:#242126;color:#eee5d8;border-color:#383138;padding-bottom:90px}
body .chapter-nav{background:rgba(36,33,38,.92)}
/* Product landing */
body:has(.hero):not(:has(.hero-primary)){--bg:#f3eee6;--text:#242126;--muted:#655b56;--gold:#701d36;--line:#c5ad8388;background:transparent}
body:has(.hero) .nav{background:rgba(243,238,230,.94);border-color:#c5ad83}body:has(.hero) .panel{background:rgba(243,238,230,.95);border-color:#c5ad83}
body:has(.hero) .btn.primary{background:#701d36;color:#ffffff;border-color:#701d36}body:has(.hero) .intro-strip{background:#383138;color:#f0eddf}
body:has(.hero) .offer{background:rgba(238,229,216,.95);background-image:none}body:has(.hero) .form label{color:#383138}body:has(.hero) .form :is(input,textarea){background:#fffef9;color:#242126;border-color:#6b5c50}
body:has(.hero) .hero :is(h1,p){color:#ffffff}
@media(max-width:700px){body .connect-section{padding-block:72px}body .hero-content{padding:28px 18px}body .invite-glass{padding:46px 22px}body .member-invite{padding-block:64px}.iedc-mesh-toggle{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));font-size:11px;min-height:44px;padding:9px 13px}}
@media(prefers-reduced-motion:reduce){.iedc-mesh-toggle{display:none}}

.portal-shell .portal-management-nav.portal-glass{background:#242126;border-color:#655b56;box-shadow:none;border-radius:7px}
.portal-shell .portal-header.portal-glass{background:rgba(243,238,230,.96);border-radius:0;box-shadow:none}
.portal-shell .portal-header .portal-avatar{background:#f3eee6;color:#701d36;border-color:#c5ad83}
/* Login: an ivory reading surface over the original stage video. */
.portal-auth .portal-auth-panel,.dark .portal-auth .portal-auth-panel{background:rgba(243,238,230,.97);color:#242126;border-color:#c5ad83;box-shadow:0 18px 44px #0002}
.portal-auth .portal-auth-panel :is(h1,h2,label){color:#242126}
.portal-auth .portal-auth-panel p,.portal-auth .portal-auth-panel .portal-footnote{color:#655b56}
.portal-auth .portal-field :is(input,textarea,select){background:#fffef9;color:#242126;border-color:#6b5c50;border-radius:4px}
.portal-auth .portal-primary{background:#701d36;color:#ffffff;border-color:#701d36;border-radius:4px}.portal-auth .portal-primary:hover{background:#541429}
.portal-auth-panel .portal-inline{border-color:#c5ad83}.portal-auth-panel .portal-inline a{color:#701d36}
/* Continuous mesh across the institutional landing, with translucent reading surfaces. */
body:has(.hero-primary) .iedc-mesh-layer{opacity:.34}
body:has(.hero-primary) .top-nav{background:rgba(243,238,230,.62);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
body:has(.hero-primary) .connect-section{background:transparent;background-image:none}
body:has(.hero-primary) .invite-glass{background:rgba(243,238,230,.38);border-color:#6b5c5066;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#242126}
body:has(.hero-primary) .invite-glass :is(h2,p){color:#242126}
body:has(.hero-primary) .invite-glass .btn-main-gold{background:#701d36;color:#ffffff;border-color:#701d36}
body:has(.hero-primary) .invite-glass .btn-main-gold:hover{background:#541429}
body:has(.hero-primary) .invite-glass :is(.invite-features,.invite-tags,span,li){color:#655b56}
body:has(.hero-primary) .invite-faq details{background:rgba(243,238,230,.48);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

/* Original reference palette over the continuous mesh. */
body:has(.hero-primary){--bg:#f3eee6;--bg-darker:#242126;--text:#242126;--text-dim:#655b56;--gold:#701d36}
body:has(.hero-primary) .invite-glass{border-color:#ad978b88}
body:has(.hero-primary) .invite-glass .btn-main-gold,body:has(.hero-primary) .btn-nav-primary{background:#701d36;border-color:#701d36;color:#fff}
body .connect-mini-card{border-top-color:#ad978b}

/* Premium materials: ivory, warm graphite, burgundy and champagne gold. */
:root{--iedc-ivory:#f3eee6;--iedc-graphite:#242126;--iedc-wine:#701d36;--iedc-taupe:#ad978b;--iedc-champagne:#c5ad83}
.iedc-mesh-layer{background:#ad978b}
.iedc-mesh-layer:after{content:"";position:absolute;inset:0;background-image:url('/assets/iedc-gold-grain.svg');background-size:240px 240px;opacity:.7}
body .top-nav,.portal-shell .portal-header.portal-glass{border-bottom:1px solid #c5ad8370}
body:has(.hero-primary) .invite-glass{background-color:rgba(243,238,230,.42);background-image:url('/assets/iedc-gold-grain.svg');background-size:240px;border-color:#c5ad8399}
body footer,.portal-shell .portal-management-nav.portal-glass{background-color:#242126;background-image:url('/assets/iedc-gold-grain.svg');background-size:240px;border-color:#c5ad8366}
.portal-auth .portal-auth-panel,.dark .portal-auth .portal-auth-panel{background-image:url('/assets/iedc-gold-grain.svg');background-size:240px;border-color:#c5ad8380}
body .connect-mini-card{border-top-color:#ad978b}body .connect-mini-card svg{color:#701d36}
.portal-shell .portal-panel,.portal-shell .portal-glass{border-color:#ad978b66}
.portal-shell .portal-management-nav nav a[aria-current=page]{background:#f3eee6;color:#701d36}
body :is(a,button,summary,input,select,textarea):focus-visible{outline:2px solid #701d36;outline-offset:4px}
body ::selection{background:#c5ad83;color:#242126}
body input,body textarea{caret-color:#701d36}
/* Video chapters: stable dark reading surfaces in the premium palette. */
body .scroll-section :is(.pillar-card,.cta-editorial-card){background-color:#242126;background-image:url('/assets/iedc-gold-grain.svg');background-size:240px;border:1px solid #c5ad8366;box-shadow:0 16px 40px #0003;color:#f3eee6}
body .scroll-section .editorial-title{color:#f3eee6}
body .scroll-section .editorial-desc{color:#ded3c7}
body .scroll-section .editorial-stage-chip{background:#c5ad831a;color:#e2cda9;border:1px solid #c5ad8344}
body .scroll-section .editorial-bullets{border-color:#c5ad8340}
body .scroll-section .editorial-bullet-item{color:#f3eee6}
body .scroll-section .editorial-bullet-item svg{color:#c5ad83}
body .scroll-section .btn-main-outline{color:#f3eee6;border-color:#c5ad8388;background:transparent}
body .scroll-section .btn-main-outline:hover{background:#c5ad8326}
/* Stronger material contrast: crisp ink, deep graphite and metallic champagne. */
body:has(.iedc-mesh-layer){background:#f5f1e9;color:#111014}
body:has(.hero-primary) .iedc-mesh-layer{opacity:.58}
body:has(.hero-primary){--text:#111014;--text-dim:#423a36;--text-muted:#423a36;--bg:#f5f1e9}
body .nav-logo-text,body .nav-link{color:#111014}
body:has(.hero-primary) .top-nav{background:rgba(245,241,233,.9);border-bottom-color:#9e784e}
body .connect-section{background:rgba(245,241,233,.62)}
body .connect-section h2,body .connect-mini-card h3{color:#111014}
body .connect-section p,body .connect-section p:not(.connect-mini-card p){color:#3f3531}
body .connect-mini-card{border-top-color:#9e784e}
body:has(.hero-primary) .invite-glass{background-color:#171519;color:#f5f1e9;border-color:#b28b52;background-image:linear-gradient(115deg,transparent 35%,#c5ad8319 48%,transparent 60%),url('/assets/iedc-gold-grain.svg');background-size:100% 100%,240px;box-shadow:0 18px 48px #100c1524;backdrop-filter:none}
body:has(.hero-primary) .invite-glass :is(h2,p){color:#f5f1e9}
body:has(.hero-primary) .invite-glass :is(.invite-features,.invite-tags,span,li){color:#dcc196}
body:has(.hero-primary) .invite-glass .btn-main-gold{background:#8a173c;border-color:#ad3659;color:#fff}
body:has(.hero-primary) .invite-faq details{background:rgba(250,248,243,.92);border-color:#ad978b}
body :is(.btn-nav-primary,.btn-main-gold),.portal-shell .portal-primary,.portal-auth .portal-primary{background:#8a173c;border-color:#8a173c;color:#fff}
body footer,.portal-shell .portal-management-nav.portal-glass{background-color:#171519;border-color:#b28b5277}
.portal-shell,.dark .portal-shell{--foreground:#111014;--muted-foreground:#49403a;--accent:#8a173c;--accent-strong:#70112e;color:#111014}
.portal-shell .portal-panel :is(h2,h3),.portal-shell .admin-page-heading h1,.portal-auth .portal-auth-panel :is(h1,h2,label){color:#111014}
.portal-shell .portal-glass,.portal-shell .portal-panel{background-color:#fcfaf5}
.portal-shell .portal-header.portal-glass{background:#f5f1e9;border-bottom-color:#b28b52}
.portal-auth .portal-auth-panel,.dark .portal-auth .portal-auth-panel{background-color:#fcfaf5;border-color:#b28b52}
body .scroll-section :is(.pillar-card,.cta-editorial-card){background-color:#171519;border-color:#b28b5277}
body .chapter-nav{background:#171519;border-color:#b28b5277}
body .chapter-nav button{color:#e2d6c7}
body .chapter-nav button:is(.active,[aria-pressed=true]){background:#c5ad83;color:#171519}
/* Polished gold: broad light reflections, no repeating seams or masonry grain. */
body:has(.hero-primary) .invite-glass,body .scroll-section :is(.pillar-card,.cta-editorial-card){background-color:#171519;background-image:radial-gradient(ellipse at 0% 0%,#f0cb8045,transparent 48%),radial-gradient(ellipse at 100% 100%,#d9ad5830,transparent 48%),linear-gradient(125deg,#ffffff12,transparent 26%,#e9c98518 48%,transparent 70%);background-size:100% 100%;border:1px solid #e9c985b3;box-shadow:inset 0 1px 0 #fff1cda6,inset 0 -1px 0 #e6bc6155,0 14px 42px #0004,0 0 30px #c59a3b20}
body .scroll-section .editorial-stage-chip{color:#ffe6ad;border-color:#e6bd6e99;background:linear-gradient(110deg,#e8c67e30,#f4deab12);box-shadow:inset 0 1px 0 #fff1cd44}
body .scroll-section .editorial-bullet-item svg{color:#ffdb86;filter:drop-shadow(0 0 4px #ecc16a66)}
body .scroll-section .editorial-bullets{border-color:#e4bd6d77}
body:has(.hero-primary) .invite-glass :is(.invite-features,.invite-tags,span,li){color:#f2d391}
.iedc-mesh-layer:after{opacity:.15}
/* Student cinema surfaces: readable metadata and a clean catalog transition. */
.portal-shell .stream-feature-shade{background:linear-gradient(90deg,#000e 0%,#000a 46%,#0003 100%),linear-gradient(0deg,#000c,transparent 70%)}
.portal-shell .stream-feature .stream-kicker,.portal-shell .stream-detail .stream-kicker{color:#f2d391!important}
.portal-shell .stream-feature-meta{color:#eee5d8!important}
.portal-shell .stream-feature-copy>p:not(.stream-kicker),.portal-shell .stream-detail-copy>p:not(.stream-kicker){color:#f5f1e9}
.portal-shell .stream-feature h1 em{color:#ffe3a5}
.portal-shell .stream-feature .portal-primary,.portal-shell .stream-detail .portal-primary{background:linear-gradient(115deg,#fff0c5,#d7b56d 65%,#f4d792);color:#171519;border:1px solid #ffe6a8;box-shadow:inset 0 1px 0 #fff9e6,0 5px 20px #0004}
.portal-shell .stream-feature .portal-primary:hover,.portal-shell .stream-detail .portal-primary:hover{background:#ffe3a5;color:#111}
.portal-shell .stream-feature .portal-secondary,.portal-shell .stream-detail .portal-secondary{background:#171519cc;color:#f5f1e9;border-color:#d7b56daa}
.portal-shell .stream-feature .portal-secondary:hover,.portal-shell .stream-detail .portal-secondary:hover{background:#302820;color:#fff}
.portal-shell .stream-catalog{margin-top:0;padding-top:40px;background:#f5f1e9}
.portal-shell .stream-section-head h2{color:#111014}
.portal-shell .stream-section-head p{color:#49403a}
.portal-shell .stream-section-head a{color:#701d36}
.portal-shell .stream-program-backdrop-shade{background:linear-gradient(90deg,#000e,#0009 55%,#0004),linear-gradient(0deg,#000c,transparent)}
.portal-shell .stream-feature-meta span,.portal-shell .stream-feature-caption,.portal-shell .stream-feature-caption :is(p,span,strong){color:#eee5d8!important}
/* Catalog cards: explicit contrast independent of the light portal theme. */
.portal-shell .stream-program{background:#171519;border-color:#c5ad8380;color:#f5f1e9;box-shadow:0 8px 24px #17151914}
.portal-shell .stream-program-shade{background:linear-gradient(0deg,#080709 0%,#080709ed 30%,#08070975 58%,#08070915 100%)}
.portal-shell .stream-program-copy h3{color:#fff8ed}
.portal-shell .stream-program-copy small{color:#f2d391}
.portal-shell .stream-program-copy p,.portal-shell .stream-program-copy>span{color:#f5f1e9}
.portal-shell .stream-program-copy>span svg{color:#f2d391}
.portal-shell .stream-program progress{accent-color:#e8c67e;background:#ffffff44}
.portal-shell .stream-program progress::-webkit-progress-bar{background:#ffffff44}
.portal-shell .stream-program progress::-webkit-progress-value{background:#e8c67e}
.portal-shell .stream-program progress::-moz-progress-bar{background:#e8c67e}
.portal-shell .stream-program .stream-wordmark{color:#fff8ed}
.portal-shell .stream-episode{background:#fcfaf5;border:1px solid #ad978b66;border-radius:10px;overflow:hidden}
.portal-shell .stream-episode-image{border:none;border-radius:0}
.portal-shell .stream-episode-copy{padding:18px 18px 20px}
.portal-shell .stream-episode-copy small{color:#70482c}
.portal-shell .stream-episode-copy h3{color:#111014}
.portal-shell .stream-episode-copy p{color:#701d36}
.portal-shell .stream-play{background:#171519cc;color:#ffe3a5;border-color:#e8c67eaa}
.portal-shell .stream-episode:hover,.portal-shell .stream-program:hover{border-color:#a78143}
.portal-shell .stream-rail-tools button{background:#fcfaf5;color:#701d36;border:1px solid #ad978b}
.portal-shell .stream-rail-tools button:disabled{opacity:.45}
/* Student area shares the landing's polished champagne material. */
.portal-shell .stream-catalog{background-color:#f5f1e9;background-image:radial-gradient(ellipse at 0 0,#e8c67e24,transparent 48%),radial-gradient(ellipse at 100% 65%,#c5ad831a,transparent 50%)}
.portal-shell .stream-episode{background-color:#fcfaf5;background-image:linear-gradient(120deg,#fff8e8,transparent 42%,#e8c67e15);border-color:#c5ad8399;box-shadow:inset 0 1px 0 #fff,0 8px 24px #6b4d1910}
.portal-shell .stream-program{border-color:#e9c985b3;box-shadow:inset 0 1px 0 #fff1cd88,0 10px 28px #17151924,0 0 24px #c59a3b18}
.portal-shell .stream-program-shade{background:radial-gradient(ellipse at 0 0,#f0cb8030,transparent 45%),linear-gradient(0deg,#080709 0%,#080709ed 30%,#08070975 58%,#08070915 100%)}
.portal-shell .stream-support{background-color:#171519;background-image:radial-gradient(ellipse at 0 0,#f0cb8045,transparent 48%),radial-gradient(ellipse at 100% 100%,#d9ad5830,transparent 48%),linear-gradient(125deg,#ffffff12,transparent 26%,#e9c98518 48%,transparent 70%);border-color:#e9c98599;box-shadow:inset 0 1px 0 #fff1cd88,0 10px 28px #17151918;color:#f5f1e9}
.portal-shell .stream-support h3{color:#fff8ed}
.portal-shell .stream-support p{color:#e5d9c8}
.portal-shell .stream-support :is(span,svg){color:#f2d391}
.portal-shell .stream-support:hover{border-color:#ffe3a5}
.portal-shell .stream-program-nav{border-color:#b28b5280}
.portal-shell .stream-program-nav button{color:#49403a}
.portal-shell .stream-program-nav button[aria-pressed=true]{color:#701d36;border-color:#a78143}
.portal-shell .stream-program-nav button:hover{color:#701d36}
.portal-shell .stream-home .stream-support{background-color:#171519;color:#f5f1e9}
.portal-shell .stream-home .stream-support h3{color:#fff8ed}
.portal-shell .stream-home .stream-support p{color:#e5d9c8}
.portal-shell .stream-home .stream-support :is(span,svg){color:#f2d391}
/* Contrast review: stable brand backing and visible keyboard focus on dark cards. */
.portal-shell .stream-program .stream-card-brand{color:#fff8ed;background:#171519eF;padding:6px 10px;border-radius:4px;border:1px solid #c5ad8380}
.portal-shell .stream-program .stream-card-brand span{color:#f2d391}
.portal-shell :is(.stream-program,.stream-support,.stream-feature a,.stream-detail-copy a):focus-visible{outline:3px solid #ffe3a5;outline-offset:4px}
.portal-shell .stream-program-copy{isolation:isolate}
.portal-shell .stream-program-copy:before{content:"";position:absolute;inset:-12px -10px;z-index:-1;background:linear-gradient(0deg,#080709ed,#080709d9);border-radius:6px;pointer-events:none}
.iedc-camera-input{padding:20px;border:1px solid #ad978b88;border-radius:8px;background:#fcfaf5;color:#171519;margin-block:16px}
.iedc-camera-input .portal-inline{flex-wrap:wrap;gap:12px;margin-block:16px}
.iedc-camera-preview{display:block;width:100%;max-width:680px;max-height:440px;background:#171519;border-radius:6px;margin-block:16px;object-fit:contain}
.iedc-camera-preview[hidden]{display:none}
.iedc-camera-input .portal-footnote{color:#49403a;font-variant-numeric:tabular-nums}
.iedc-camera-input button:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.iedc-camera-input{padding:14px}.iedc-camera-input .portal-inline>*{width:100%}}
/* Student layout: short navigation and content-sized catalog. */
.portal-shell .student-more-nav{position:relative;flex:none}
.portal-shell .student-more-nav summary{cursor:pointer;list-style:none;padding:12px 4px;color:#242126;font-size:13px;white-space:nowrap}
.portal-shell .student-more-nav summary:after{content:'âŒ„';margin-left:8px}
.portal-shell .student-more-menu{position:absolute;right:0;top:100%;z-index:80;min-width:240px;display:grid;padding:8px;background:#fcfaf5;border:1px solid #ad978b;border-radius:8px;box-shadow:0 12px 28px #17151924}
.portal-shell .student-more-menu a{padding:12px!important;border:0!important;color:#242126!important;white-space:normal}
.portal-shell .student-more-menu a:hover{background:#eee5d8}
.portal-shell .portal-header nav:has(.student-more-nav){overflow:visible;gap:20px}
.portal-shell .stream-feature{min-height:440px;padding:56px 7% 72px}
.portal-shell .stream-feature-copy h1{font-size:clamp(36px,4vw,56px);max-width:20ch;letter-spacing:-.035em}
.portal-shell .stream-feature-caption{display:none}
.portal-shell .stream-section-head{margin-bottom:18px}
.portal-shell .stream-section[data-items="1"] .stream-program{flex-basis:min(100%,740px);aspect-ratio:2/1;min-height:320px}
.portal-shell .stream-section[data-items="1"] .stream-program>img{object-position:50% 35%}
.portal-shell .stream-section[data-items="1"] .stream-program-copy{max-width:540px}
.portal-shell .stream-section[data-items="1"] .stream-episode{flex-basis:min(100%,740px);display:grid;grid-template-columns:minmax(220px,44%) 1fr;align-items:center}
.portal-shell .stream-section[data-items="1"] .stream-episode-copy{padding:24px}
.portal-shell .stream-section[data-items="1"] .stream-episode-copy h3{font-size:22px!important}
.portal-shell .stream-search input{background:#fcfaf5;color:#171519;border-color:#8a7667}
.portal-shell .stream-search input::placeholder{color:#655b56}
.portal-shell .stream-module-label{border-color:#ad978b88}
.portal-shell .stream-module-label h3,.portal-shell .stream-episode-heading h2{color:#171519}
.portal-shell .stream-module-label small,.portal-shell .stream-episode-heading p{color:#49403a}
.portal-shell .stream-detail-progress :is(div,strong){color:#eee5d8}
.portal-shell .stream-detail .portal-back{color:#701d36}
.portal-shell .portal-classroom aside{border:1px solid #ad978b80}
@media(max-width:760px){.portal-shell .stream-feature{min-height:410px;padding:36px 6% 72px}.portal-shell .stream-feature-copy h1{font-size:38px}.portal-shell .portal-header nav:has(.student-more-nav){width:100%;justify-content:space-between;gap:10px;flex-wrap:wrap}.portal-shell .student-more-menu{right:0;max-width:calc(100vw - 36px)}.portal-shell .stream-section[data-items="1"] .stream-program{flex-basis:100%;aspect-ratio:1.2;min-height:330px}.portal-shell .stream-section[data-items="1"] .stream-episode{grid-template-columns:1fr;flex-basis:100%}.portal-shell .stream-section[data-items="1"] .stream-episode-copy{padding:18px}.portal-shell .stream-program-copy h3{font-size:29px!important}}
.portal-shell .student-more-nav summary{list-style:disclosure-closed;padding-inline:8px;min-height:44px}
.portal-shell .student-more-nav[open] summary{list-style:disclosure-open}
.portal-shell .student-more-nav summary:after{content:none}
.portal-shell .student-more-menu a{min-height:44px}
.iedc-mesh-layer{background:radial-gradient(ellipse at 18% 22%,#c5ad83 0,transparent 60%),radial-gradient(ellipse at 85% 75%,#ad978b 0,transparent 60%),#e8e0d2}
/* Review fixes: locked items stay legible; keyboard feedback on both surfaces. */
.portal-shell .stream-is-locked{opacity:1}
.portal-shell .stream-is-locked .stream-play{background:#171519;color:#f2d391}
.portal-shell .portal-error:focus{outline:2px solid #8a173c;outline-offset:5px}
.portal-shell .student-more-nav summary:focus-visible{outline:2px solid #701d36;outline-offset:3px}
.portal-shell .portal-field :is(input,textarea,select):disabled{color:#49403a;background:#eee5d8}
/* Central de arquivos â€” navegaÃ§Ã£o familiar, superfÃ­cie estÃ¡vel para trabalho. */
.iedc-files{--drive-ink:#242126;--drive-muted:#615b60;--drive-line:#e2ded9;--drive-paper:#fff;--drive-tint:#f2eee7;--drive-selected:#f3e4e9;--drive-accent:#821e40;position:relative;color:var(--drive-ink);font-family:'Instrument Sans','DM Sans',sans-serif;margin-bottom:24px;isolation:isolate}
.iedc-files *{box-sizing:border-box}.iedc-files :is(button,input,select){font:inherit}.iedc-files button{cursor:pointer;touch-action:manipulation}.iedc-files button:disabled{cursor:wait;opacity:.65}.iedc-files :is(button,a,input,select):focus-visible,.drive-dialog :is(button,a,input,select):focus-visible{outline:3px solid #821e40;outline-offset:3px}.iedc-files svg,.drive-dialog svg{flex-shrink:0}.iedc-files ::selection,.drive-dialog ::selection{background:#e9d4b0;color:#242126}
.iedc-files :is(h2,h3,h4,p){color:var(--drive-ink)}.iedc-files :is(h2,h3,h4){font-family:inherit;font-weight:600;letter-spacing:-.015em;text-wrap:balance}.iedc-files p{margin:0}.drive-searchbar{display:flex;align-items:center;gap:14px;min-height:58px;padding:0 18px;background:#eeebe6;border-radius:14px;margin-bottom:18px}.drive-searchbar input{flex:1;min-width:0;width:100%;height:54px;color:#242126;background:transparent;border:0;border-radius:6px;outline-offset:0!important}.drive-searchbar input::placeholder{color:#615b60}.drive-master{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;color:#615b60}
.iedc-files .drive-icon,.drive-dialog .drive-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;padding:0;border:0;background:transparent;color:#454047;border-radius:50%;box-shadow:none}.iedc-files .drive-icon:hover,.drive-dialog .drive-icon:hover{background:#e8e1d9}.drive-workspace{display:grid;grid-template-columns:185px minmax(0,1fr);gap:18px}.drive-sidebar{padding:0 0 12px;min-width:0}.iedc-files .drive-new{display:flex;align-items:center;gap:10px;background:#fff;color:#352d32;border:1px solid #d8c9b1;padding:17px 16px;border-radius:14px;font-size:14px;font-weight:600;box-shadow:0 2px 4px #2820260c;margin-bottom:20px;min-height:56px;width:100%;justify-content:center}.iedc-files .drive-new:hover{background:#f7eddc;box-shadow:0 3px 8px #28202612}.drive-sidebar nav{display:flex;flex-direction:column;gap:3px}.drive-sidebar nav button{display:flex;align-items:center;gap:11px;width:100%;border:0;background:transparent;color:#484148;font-size:13px;padding:11px 13px;border-radius:0 22px 22px 0;text-align:left;min-height:43px}.drive-sidebar nav button:hover{background:#e9e4dc}.drive-sidebar nav button.is-current{background:#eadde1;color:#701937;font-weight:600}.drive-sidebar-label{display:flex;align-items:center;justify-content:space-between;color:#615b60;font-size:12px;font-weight:600;padding:20px 9px 5px}.drive-folder-nav span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drive-sidebar-foot{font-size:12px!important;color:#615b60!important;line-height:1.6;margin:28px 12px 0!important}.drive-sidebar .drive-hint{padding:4px 12px}
.drive-main{min-width:0;border:1px solid var(--drive-line);background:var(--drive-paper);border-radius:16px;min-height:570px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr)}.drive-main.has-inspector{grid-template-columns:minmax(260px,1fr) 262px}.drive-browser{padding:24px;min-width:0;container-type:inline-size}.drive-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.drive-breadcrumb{display:flex;gap:8px;align-items:center;min-width:0;flex-wrap:wrap}.iedc-files .drive-heading h2{font-size:22px;line-height:1.3;margin:0;overflow-wrap:anywhere;font-weight:500}.drive-breadcrumb>button{color:#615b60;background:none;border:0;padding:4px 0;font-size:13px}.drive-breadcrumb>button:hover{color:#821e40;text-decoration:underline}.drive-views{display:flex;border:1px solid #a79c9f;border-radius:24px;flex-shrink:0;overflow:hidden}.drive-views button{display:flex;align-items:center;justify-content:center;width:42px;height:34px;padding:0;border:0;border-radius:0;background:#fff;color:#5c5259}.drive-views button+button{border-left:1px solid #a79c9f}.drive-views button[aria-pressed=true]{background:#eee4d3;color:#352d32}.drive-views button:hover{background:#eee9e2}
.drive-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:24px}.drive-filters label{max-width:min(100%,230px);min-width:0}.drive-filters select{width:100%;max-width:230px;border:1px solid #9f969a;background:#fff;color:#484148;border-radius:8px;padding:8px 27px 8px 10px;font-size:12px;min-height:37px;white-space:nowrap;text-overflow:ellipsis}.drive-filters select:has(option:checked:not([value=''])){background:#f6edf0;border-color:#b58b99;color:#701937}.iedc-files .drive-create,.iedc-files .drive-text-button{display:flex;align-items:center;gap:6px;font-size:12px;padding:8px;border:0;background:transparent;color:#701937;border-radius:6px;min-height:37px}.drive-create{margin-left:auto}.iedc-files :is(.drive-create,.drive-text-button):hover{background:#f3e9ed}.drive-folder-section{margin-bottom:26px}.iedc-files .drive-folder-section h3,.iedc-files .drive-files-label h3{font-size:13px;margin:0 0 12px;font-weight:600}.drive-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.drive-folder-grid button{display:flex;align-items:center;gap:10px;min-height:51px;background:#f2efeb;border:1px solid transparent;border-radius:9px;padding:12px 14px;color:#4b4047;text-align:left;font-size:13px;min-width:0}.drive-folder-grid button>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1}.drive-folder-grid button>small{font-size:11px;color:#615b60}.drive-folder-grid button svg{color:#826c48}.drive-folder-grid button:hover{background:#e9e2d8;border-color:#d2c5b0}
.drive-files-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;gap:12px}.iedc-files .drive-files-label h3{margin:0}.drive-files-label h3 span{color:#615b60;font-weight:400}.drive-files-label label{display:flex;align-items:center;gap:5px;font-size:12px;color:#615b60}.drive-files-label select{border:0;color:#615b60;background:#fff;padding:8px 0;max-width:145px;font-size:12px;min-height:36px}.drive-selection{display:flex;gap:4px;align-items:center;flex-wrap:wrap;min-height:46px;padding:4px 7px;margin:8px 0;background:#f1e5e9;border-radius:8px;color:#582037;font-size:12px}.drive-selection>span{margin-right:8px}.drive-selection>button:not(.drive-icon){display:flex;align-items:center;gap:6px;background:transparent;color:#582037;border:0;border-radius:6px;padding:8px;font-size:12px;min-height:36px}.drive-selection>button:hover{background:#e3cdd5}
.drive-list-head,.drive-list .drive-file{display:grid;grid-template-columns:minmax(170px,1.8fr) minmax(110px,1fr) 95px 85px;align-items:center;gap:16px;text-align:left}.drive-list-head{font-size:11px;color:#615b60;padding:12px 10px;border-bottom:1px solid var(--drive-line)}.iedc-files .drive-file{border:0;box-shadow:none;background:#fff;color:#242126;min-width:0}.iedc-files .drive-list .drive-file{width:100%;padding:15px 10px;min-height:62px;border-bottom:1px solid #ece9e5;border-radius:0}.drive-file-name{display:flex;align-items:center;gap:12px;min-width:0}.drive-file-name strong{font-size:13px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.drive-file-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0}.drive-kind-video .drive-file-icon{color:#8a2546}.drive-kind-image .drive-file-icon{color:#47705c}.drive-kind-pdf .drive-file-icon{color:#8c5531}.drive-file-course,.drive-file-access,.drive-file-use{font-size:11px;color:#615b60;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-file-access{display:flex;gap:4px;align-items:center}.iedc-files .drive-file:hover{background:#f7f4ef}.iedc-files .drive-file.is-selected{background:#f3e4e9;box-shadow:inset 0 0 0 1px #bd8d9d}.drive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}.iedc-files .drive-grid .drive-file{display:grid;grid-template-columns:1fr 1fr;padding:13px;border:1px solid var(--drive-line);border-radius:11px;gap:8px}.drive-grid .drive-file-name{grid-column:1/-1;margin-bottom:3px}.drive-file-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;grid-column:1/-1;background:#f1eee9;border-radius:6px;min-height:116px;color:#857053}.drive-file-art svg{width:38px;height:38px;stroke-width:1.3}.drive-file-art>span{font-size:11px}.drive-grid .drive-file-course{grid-column:1/-1;margin-top:3px}.drive-grid .drive-file-use{text-align:right}.drive-more{display:block;margin:22px auto 4px;padding:12px 18px;border:1px solid #b8a5ac;background:#fff;color:#701937;border-radius:22px;font-size:13px}.drive-more:hover{background:#f3e9ed}
.drive-inspector{padding:15px 20px 24px;border-left:1px solid var(--drive-line);background:#fbfaf8;min-width:0;overflow-wrap:anywhere}.drive-inspector-title{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:600;margin-bottom:10px}.drive-preview{height:125px;display:flex;align-items:center;justify-content:center;background:#eee9e2;border-radius:8px;margin:12px 0 18px;color:#8a6d46;overflow:hidden}.drive-preview>svg{width:48px;height:48px;stroke-width:1.2}.drive-preview img{width:100%;height:100%;object-fit:contain}.iedc-files .drive-inspector h3{font-size:15px;line-height:1.5;margin:0 0 8px}.drive-preview-link{color:#821e40;font-size:12px;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:4px 0}.drive-inspector dl{margin:22px 0}.drive-inspector dt{font-size:11px;color:#6b6065;margin:15px 0 3px}.drive-inspector dd{font-size:12px;color:#352c32;margin:0;line-height:1.5}.iedc-files .drive-inspector h4{font-size:12px;margin:22px 0 10px}.drive-inspector ul{list-style:none;padding:0;margin:0}.drive-inspector li{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#615b60;padding:7px 0}.drive-inspector li span{font-variant-numeric:tabular-nums}.drive-hint{font-size:12px!important;color:#615b60!important;line-height:1.6}.drive-inspector .drive-hint{border-top:1px solid var(--drive-line);margin-top:18px!important;padding-top:16px;display:flex;gap:8px;align-items:flex-start}.drive-inspector-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.drive-inspector-actions button{display:flex;align-items:center;gap:5px;padding:7px 8px;border:1px solid #c1b4b7;border-radius:6px;background:transparent;color:#701937;font-size:11px}.drive-inspector-actions button:hover{background:#f3e9ed}
.drive-empty{min-height:260px;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;text-align:center;padding:35px 16px;color:#796a58}.iedc-files .drive-empty h3{font-size:18px;margin:0}.drive-empty p{font-size:13px;color:#615b60;max-width:43ch}.drive-primary{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:22px;padding:12px 20px;background:#821e40;color:#fff;font-size:13px}.drive-primary:hover{background:#65132f}.drive-notice{display:flex;gap:8px;align-items:center;background:#eff4ee;padding:8px 12px;border-radius:8px;font-size:12px;color:#31543a!important;margin-bottom:18px!important;line-height:1.5}.drive-notice .drive-icon{margin-left:auto}.drive-error{font-size:13px;line-height:1.6;color:#8a1d35!important;background:#fae9e9;padding:12px;border-radius:8px;margin-bottom:14px!important}.drive-drop-overlay{pointer-events:none;position:absolute;inset:0;z-index:5;background:#fff8ebf5;border:2px dashed #a57f42;border-radius:16px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;color:#664c2c}.drive-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.drive-dialog-overlay{position:fixed;inset:0;background:#211a244d;z-index:1000}.drive-dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;z-index:1001;background:#fffdf9;border:1px solid #e0d4c2;border-radius:18px;padding:24px;box-shadow:0 18px 70px #1c111c33;color:#242126;font-family:'Instrument Sans','DM Sans',sans-serif}.drive-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.drive-dialog h2{font:600 21px/1.35 'Instrument Sans','DM Sans',sans-serif;color:#242126;margin:0}.drive-dialog>p{font-size:13px;line-height:1.6;color:#615b60;margin:8px 0 22px}.drive-dialog .portal-form{display:flex;flex-direction:column;gap:16px}.drive-dialog .portal-field{display:flex;flex-direction:column;gap:7px;color:#41373d;font-size:13px;margin:0}.drive-dialog :is(input,select){padding:11px 12px;border:1px solid #a79b9e;border-radius:8px;color:#242126;background:#fff;min-height:44px;font:inherit;width:100%;box-sizing:border-box}.drive-dialog .portal-primary{padding:12px 20px;background:#821e40;color:#fff;border:0;border-radius:22px;align-self:flex-end;font:500 13px 'Instrument Sans','DM Sans',sans-serif;cursor:pointer;min-height:44px}.drive-dialog .portal-primary:hover{background:#65132f}.drive-dialog button:disabled{opacity:.65;cursor:wait}.drive-dialog .portal-error{font-size:13px;color:#8a1d35;line-height:1.5;margin:0}.drive-dialog .portal-error:empty{display:none}.drive-upload-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;border:0;padding:0;margin:0;min-width:0}.drive-upload-fields:disabled{opacity:.75}.drive-upload-zone{display:flex;flex-direction:column;align-items:center;gap:9px;padding:26px 16px;border:1px dashed #b9a17c;border-radius:12px;background:#f8f4ed;color:#775e3b;font:inherit;cursor:pointer}.drive-upload-zone strong{font-size:14px;color:#493c2d}.drive-upload-zone span{font-size:12px;color:#615b60}.drive-upload-zone:hover{background:#eee5d6}.drive-queue{max-height:240px;overflow:auto}.drive-queue-item{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #e9e3da;font-size:12px}.drive-queue-item>div{flex:1;min-width:0}.drive-queue-item strong{display:block;color:#352d32;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:500}.drive-queue-item span{display:block;font-size:11px;color:#615b60;margin-top:5px}.drive-queue-item progress{width:100%;height:6px;accent-color:#821e40;margin-top:9px}.drive-dialog .portal-form>p[role=status]{font-size:12px;color:#615b60;margin:0;line-height:1.5}
@container(max-width:630px){.drive-list-head,.drive-list .drive-file{grid-template-columns:minmax(140px,1fr) 85px}.drive-list-head>span:nth-child(2),.drive-list-head>span:nth-child(4),.drive-list .drive-file-course,.drive-list .drive-file-use{display:none}.drive-heading{align-items:flex-start}.drive-filters label{max-width:175px}.drive-heading h2{font-size:20px!important}}
@media(max-width:1000px){.drive-workspace{grid-template-columns:155px minmax(0,1fr);gap:10px}.drive-sidebar nav button{font-size:12px;padding:10px 9px;gap:8px}.iedc-files .drive-new{font-size:12px;padding:14px 8px;gap:6px}.drive-main.has-inspector{grid-template-columns:minmax(0,1fr)}.drive-inspector{border-left:0;border-top:1px solid var(--drive-line)}.drive-browser{padding:20px}.drive-inspector dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;margin:18px 0}.drive-inspector dt{margin:0}.drive-preview{display:none}}
@media(max-width:650px){.drive-searchbar{padding:0 12px;gap:9px;margin-bottom:12px;min-height:50px}.drive-searchbar input{font-size:14px;height:48px}.drive-master{display:none}.drive-workspace{grid-template-columns:1fr;gap:12px}.drive-sidebar{padding:0;display:grid;grid-template-columns:1fr}.iedc-files .drive-new{width:auto;justify-self:start;padding:12px 16px;font-size:13px;min-height:46px;border-radius:12px;margin-bottom:12px}.drive-sidebar>nav:first-of-type{flex-direction:row;overflow:auto;gap:4px}.drive-sidebar nav button{white-space:nowrap;border-radius:22px;justify-content:center;min-height:42px;font-size:12px;padding:10px}.drive-sidebar-label,.drive-folder-nav,.drive-sidebar-foot,.drive-sidebar>.drive-hint{display:none!important}.drive-main{min-height:400px;border-radius:12px}.drive-browser{padding:18px 14px}.drive-heading{gap:8px;margin-bottom:16px}.drive-views button{width:36px;height:34px}.drive-filters{gap:7px;margin-bottom:20px}.drive-filters label{max-width:calc(50% - 4px);flex:1}.drive-filters select{font-size:12px;min-height:40px}.drive-create{margin-left:0}.drive-list-head,.drive-list .drive-file{gap:9px}.drive-file-name{gap:8px}.drive-file-name strong{font-size:12px}.drive-grid{grid-template-columns:1fr}.drive-folder-grid{grid-template-columns:1fr 1fr;gap:7px}.drive-folder-grid button{padding:11px 9px;font-size:12px;gap:7px}.drive-inspector{padding:16px}.drive-dialog{padding:20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.drive-upload-fields{grid-template-columns:1fr}.drive-selection{gap:0}.drive-selection>span{margin-right:4px}.drive-selection>button:not(.drive-icon){font-size:11px;padding:8px 6px}}
@media(prefers-reduced-motion:no-preference){.drive-dialog{animation:drive-appear .16s ease-out}.iedc-files button{transition:background-color .12s ease-out,border-color .12s ease-out}}@keyframes drive-appear{from{opacity:0;transform:translate(-50%,-48%)}to{opacity:1;transform:translate(-50%,-50%)}}

.iedc-files .drive-file{content-visibility:auto;contain-intrinsic-size:auto 62px}.iedc-files .drive-grid .drive-file{contain-intrinsic-size:auto 224px}
@media(max-width:650px){.drive-filters label{flex:1 1 calc(50% - 4px);max-width:calc(50% - 4px)}.drive-filters .drive-create{margin-left:0}.drive-sidebar>nav:first-of-type{overflow:visible;flex-wrap:wrap}.drive-sidebar>nav:first-of-type button{flex:1 1 auto;font-size:11px;gap:5px;padding:9px 7px}.portal-shell .portal-management-nav .admin-navigation>summary{color:#f8f0e5}}

@media(max-width:650px){.drive-sidebar>nav:first-of-type button{width:auto;flex:1 1 auto}}
