:root{color-scheme:light dark}body{margin:0;padding:24px;background:radial-gradient(ellipse at 12% 0,light-dark(#e3def5,#1b1630),transparent 65%),radial-gradient(ellipse at 95% 55%,light-dark(#dcf0ec,#0e2629),transparent 60%),light-dark(#eceef6,#090b11);background-attachment:fixed}body>main{max-width:1320px;margin:auto}@media(max-width:600px){body{padding:0}}

#toolbox-portal-preview{
 --p-bg:light-dark(#f5f5fa,#0f1118);--p-panel:light-dark(#fff,#171a24);--p-raised:light-dark(#eceef7,#202432);
 --p-line:light-dark(#dce0ec,#2c3144);--p-text:light-dark(#202436,#eceef7);--p-muted:light-dark(#606b83,#a3acc2);
 --p-accent:light-dark(#6750db,#a89aff);--p-selected:light-dark(#eeebff,#282240);--p-purple:light-dark(#765be9,#8068f7);
 --p-teal:light-dark(#087e80,#50d5c8);--p-green:light-dark(#217347,#82cfad);--p-art:light-dark(#e8e9f6,#121622);
 font:15px/1.5 'Segoe UI',Arial,sans-serif;color:var(--p-text);background:var(--p-bg);border:1px solid var(--p-line);border-radius:12px;overflow:clip;position:relative
}
#toolbox-portal-preview *{box-sizing:border-box}
#toolbox-portal-preview button,#toolbox-portal-preview select{font:inherit;color:inherit}
#toolbox-portal-preview button{border:1px solid var(--p-line);border-radius:6px;background:var(--p-panel);padding:8px 14px;text-align:left;transition:background .16s,border-color .16s}
#toolbox-portal-preview button:hover{background:var(--p-raised);border-color:var(--p-accent)}
#toolbox-portal-preview button:disabled{opacity:.6}
#toolbox-portal-preview .p-primary{background:var(--p-purple);color:#fff;border-color:transparent}
#toolbox-portal-preview .p-primary:hover{background:color-mix(in srgb,var(--p-purple),#fff 10%)}
#toolbox-portal-preview h1{font-size:32px;line-height:1.2;letter-spacing:-.8px;font-weight:600;margin:0 0 12px}
#toolbox-portal-preview h2{font-size:22px;line-height:1.3;letter-spacing:-.3px;font-weight:600;margin:0 0 10px}
#toolbox-portal-preview h3{font-size:16px;font-weight:600;margin:0 0 6px}
#toolbox-portal-preview p{margin:0 0 14px}
#toolbox-portal-preview small{font-size:12px}
#toolbox-portal-preview .p-muted{color:var(--p-muted)}
#toolbox-portal-preview .p-top{min-height:74px;display:flex;align-items:center;gap:16px;padding:16px 24px;border-bottom:1px solid var(--p-line);background:var(--p-panel)}
#toolbox-portal-preview .p-brand{display:flex;gap:12px;align-items:center;white-space:nowrap;font-weight:600;letter-spacing:.2px}
#toolbox-portal-preview .p-brand small{display:block;font-size:11px;letter-spacing:1.5px;font-weight:400;color:var(--p-muted)}
#toolbox-portal-preview .p-logo{width:44px;height:44px;display:block;object-fit:contain;flex-shrink:0;border-radius:10px}
#toolbox-portal-preview .p-tag{display:inline-block;font-size:12px;padding:3px 8px;border-radius:4px;background:var(--p-raised);color:var(--p-muted)}
#toolbox-portal-preview .p-bridge{margin-left:auto;position:relative}
#toolbox-portal-preview .p-bridge button{white-space:nowrap}
#toolbox-portal-preview .p-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--p-green);margin-right:7px}
#toolbox-portal-preview .p-popover{position:absolute;right:0;top:48px;z-index:5;width:320px;padding:20px;background:var(--p-panel);border:1px solid var(--p-line);border-radius:10px;box-shadow:0 16px 45px #0003}
#toolbox-portal-preview .p-popover code{font-size:12px;overflow-wrap:anywhere}
#toolbox-portal-preview .p-shell{display:grid;grid-template-columns:210px minmax(0,1fr)}
#toolbox-portal-preview .p-sidebar{padding:22px 12px;background:var(--p-panel);border-right:1px solid var(--p-line);display:flex;flex-direction:column;gap:5px}
#toolbox-portal-preview .p-sidebar button{border:1px solid transparent;background:transparent;padding:10px 12px;display:flex;gap:10px;align-items:center;border-radius:6px;font-size:14px}
#toolbox-portal-preview .p-sidebar button:hover{background:var(--p-raised)}
#toolbox-portal-preview .p-sidebar button[aria-current=page]{background:var(--p-selected);color:var(--p-accent);border-color:color-mix(in srgb,var(--p-purple),transparent 65%);box-shadow:inset 3px 0 var(--p-purple)}
#toolbox-portal-preview .p-sidebar svg{width:17px;height:17px}
#toolbox-portal-preview .p-user{margin-top:auto;padding:32px 12px 4px;font-size:12px;color:var(--p-muted)}
#toolbox-portal-preview .p-main{padding:32px;min-width:0;min-height:650px;max-width:none;width:100%}
#toolbox-portal-preview .p-heading{margin-bottom:24px}
#toolbox-portal-preview .p-heading p{margin-bottom:0}
#toolbox-portal-preview .p-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#toolbox-portal-preview .p-between{justify-content:space-between}
#toolbox-portal-preview .p-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#toolbox-portal-preview .p-card{background:var(--p-panel);border:1px solid var(--p-line);border-radius:10px;padding:22px;min-width:0}
#toolbox-portal-preview .p-card p{color:var(--p-muted)}
#toolbox-portal-preview .p-card button{margin-top:8px}
#toolbox-portal-preview .p-section{margin-top:28px}
#toolbox-portal-preview .p-table{width:100%;border-collapse:collapse}
#toolbox-portal-preview .p-table th{text-align:left;font-size:12px;color:var(--p-muted);font-weight:400}
#toolbox-portal-preview .p-table th,#toolbox-portal-preview .p-table td{padding:13px 8px;border-bottom:1px solid var(--p-line);overflow-wrap:anywhere}
#toolbox-portal-preview .p-table td:first-child,#toolbox-portal-preview .p-table th:first-child{padding-left:0}
#toolbox-portal-preview .p-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
#toolbox-portal-preview .p-tabs button[aria-selected=true]{background:var(--p-selected);color:var(--p-accent);border-color:transparent}
#toolbox-portal-preview .p-thumbnail{height:140px;background:var(--p-art);border-radius:7px;display:flex;align-items:center;justify-content:center;gap:6px;margin:-4px -4px 18px;perspective:400px}
#toolbox-portal-preview .p-screen-tile{border:1px solid var(--p-line);width:65px;height:55px;background:repeating-linear-gradient(90deg,transparent 0 15px,var(--p-line) 15px 16px),repeating-linear-gradient(0deg,var(--p-raised) 0 15px,var(--p-line) 15px 16px);transform:rotateY(-18deg)}
#toolbox-portal-preview .p-screen-tile.p-wide{width:105px;transform:rotateY(15deg)}
#toolbox-portal-preview .p-screen-tile.p-floor{width:65px;height:45px;transform:rotateX(65deg) rotateZ(-10deg);align-self:flex-end;margin-bottom:15px}
#toolbox-portal-preview .p-meta{display:flex;gap:18px;flex-wrap:wrap;color:var(--p-muted);font-size:12px;margin:12px 0}
#toolbox-portal-preview .p-meta strong{font-weight:500;color:var(--p-text)}
#toolbox-portal-preview .p-toolbar{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:12px;border-bottom:1px solid var(--p-line);background:var(--p-panel)}
#toolbox-portal-preview .p-toolbar button{font-size:12px;padding:6px 9px}
#toolbox-portal-preview .p-toolbar label{margin-left:auto;font-size:12px;display:flex;gap:6px;align-items:center}
#toolbox-portal-preview .p-view{border:1px solid var(--p-line);border-radius:10px;overflow:clip;background:var(--p-panel)}
#toolbox-portal-preview canvas{display:block;width:100%;height:350px;touch-action:none;cursor:grab}
#toolbox-portal-preview canvas:active{cursor:grabbing}
#toolbox-portal-preview .p-viewfoot{padding:10px 13px;color:var(--p-muted);font-size:12px;border-top:1px solid var(--p-line)}
#toolbox-portal-preview .p-screen-list{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
#toolbox-portal-preview .p-screen-list button[aria-pressed=true]{background:var(--p-selected);color:var(--p-accent)}
#toolbox-portal-preview .p-detail{border-left:3px solid var(--p-accent);padding:6px 12px;background:var(--p-panel)}
#toolbox-portal-preview .p-note{padding:14px 18px;border-left:3px solid var(--p-purple);background:var(--p-selected);margin:18px 0}
#toolbox-portal-preview .p-toast{padding:12px 16px;border:1px solid var(--p-line);border-radius:8px;margin-top:16px;background:var(--p-panel)}
#toolbox-portal-preview [hidden]{display:none!important}
#toolbox-portal-preview .p-version{font-size:30px;font-weight:600;margin:6px 0 12px}
#toolbox-portal-preview select{background:var(--p-panel);padding:7px;border:1px solid var(--p-line);border-radius:6px}
#toolbox-portal-preview .p-pill{padding:3px 8px;background:var(--p-selected);color:var(--p-accent);border-radius:5px;font-size:12px}
#toolbox-portal-preview .p-profile{display:flex;gap:16px;align-items:center;margin:18px 0}
#toolbox-portal-preview .p-avatar{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:var(--p-selected);color:var(--p-accent);font-size:20px}
#toolbox-portal-preview .p-rule{border:0;border-top:1px solid var(--p-line);margin:20px 0}
/* Academy: page-level format switch, two distinct reading and viewing layouts. */
#toolbox-portal-preview .a-eyebrow{display:flex;align-items:center;gap:8px;color:var(--p-accent);font-size:12px;letter-spacing:1.5px;text-transform:uppercase;margin:0 0 12px}
#toolbox-portal-preview .a-eyebrow:before{content:'';width:16px;height:3px;background:var(--p-purple)}
#toolbox-portal-preview .a-format{display:inline-flex;gap:4px;background:var(--p-raised);padding:4px;border:1px solid var(--p-line);border-radius:8px;margin:2px 0 16px}
#toolbox-portal-preview .a-format button{min-width:108px;display:flex;gap:9px;align-items:center;justify-content:center;background:transparent;border:0;border-radius:5px;padding:8px 18px;font-weight:500;color:var(--p-muted)}
#toolbox-portal-preview .a-format button[aria-selected=true]{color:#fff;background:var(--p-purple);box-shadow:0 2px 7px #0002}
#toolbox-portal-preview .a-format-mark{font-size:13px}
#toolbox-portal-preview .a-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:0;border:1px solid var(--p-line);border-radius:12px;overflow:hidden;background:var(--p-panel)}
#toolbox-portal-preview .a-hero-copy{padding:28px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
#toolbox-portal-preview .a-hero-copy h2{font-size:27px;margin-top:16px;max-width:340px}
#toolbox-portal-preview .a-hero-copy p{color:var(--p-muted);font-size:14px}
#toolbox-portal-preview .a-hero-copy button{margin-top:6px}
#toolbox-portal-preview .a-label{font-size:12px;color:var(--p-accent);font-weight:600}
#toolbox-portal-preview .a-product{display:inline-flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.5px;border-radius:4px;padding:3px 6px;background:var(--p-selected);color:var(--p-accent)}
#toolbox-portal-preview .a-product.ave{background:color-mix(in srgb,var(--p-teal),transparent 88%);color:var(--p-teal)}
#toolbox-portal-preview .a-cover{position:relative;min-height:190px;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:12px;background-color:var(--p-art);background-image:linear-gradient(color-mix(in srgb,var(--p-line),transparent 55%) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--p-line),transparent 55%) 1px,transparent 1px);background-size:24px 24px;perspective:600px}
#toolbox-portal-preview .a-cover:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 70% 80%,color-mix(in srgb,var(--p-purple),transparent 84%),transparent 65%);pointer-events:none}
#toolbox-portal-preview .a-hero>.a-cover{min-height:290px}
#toolbox-portal-preview .a-window{position:relative;display:flex;flex-direction:column;width:112px;height:144px;transform:rotateY(-18deg) rotateZ(-6deg);border:1px solid color-mix(in srgb,var(--p-purple),transparent 35%);border-radius:8px;background:var(--p-panel);box-shadow:8px 14px 28px #0002;color:var(--p-accent)}
#toolbox-portal-preview .a-window.ave{color:var(--p-teal);border-color:color-mix(in srgb,var(--p-teal),transparent 40%);transform:rotateY(-18deg) rotateZ(6deg) translateY(18px)}
#toolbox-portal-preview .a-window-top{height:24px;border-bottom:1px solid var(--p-line);display:flex;gap:4px;align-items:center;padding-left:9px}
#toolbox-portal-preview .a-window-top b{width:4px;height:4px;border-radius:50%;background:var(--p-muted);opacity:.6}
#toolbox-portal-preview .a-window strong{font-size:26px;letter-spacing:1px;align-self:center;margin-top:17px}
#toolbox-portal-preview .a-window small{font-size:10px;align-self:center;color:var(--p-muted)}
#toolbox-portal-preview .a-window>i{height:4px;margin:16px 18px 0;background:currentColor;border-radius:2px}
#toolbox-portal-preview .a-led-wall{width:68%;max-width:240px;height:115px;border:1px solid color-mix(in srgb,var(--p-purple),#fff 24%);background:repeating-linear-gradient(90deg,transparent 0 26px,color-mix(in srgb,var(--p-text),transparent 64%) 26px 27px),repeating-linear-gradient(0deg,transparent 0 26px,color-mix(in srgb,var(--p-text),transparent 64%) 26px 27px),linear-gradient(135deg,var(--p-purple),color-mix(in srgb,var(--p-purple),var(--p-teal) 72%));transform:rotateY(-20deg) rotateX(9deg);box-shadow:10px 15px 25px #0003;position:relative}
#toolbox-portal-preview .a-led-wall:after{content:'';position:absolute;height:32px;left:-20%;right:-25%;bottom:-42px;border-top:1px solid var(--p-muted);background:repeating-linear-gradient(90deg,transparent 0 22px,var(--p-line) 22px 23px);transform:rotateX(60deg)}
#toolbox-portal-preview .a-cover.curve .a-led-wall{border-radius:45% 45% 5% 5%/12% 12% 4% 4%;transform:rotateY(-12deg) rotateX(-10deg)}
#toolbox-portal-preview .a-cover.floor .a-led-wall{transform:rotateX(58deg) rotateZ(-17deg);height:145px}
#toolbox-portal-preview .a-cover.floor .a-led-wall:after{height:25px;left:0;right:0;bottom:-26px;border:0;background:repeating-linear-gradient(90deg,var(--p-muted) 0 5px,transparent 5px 50px);transform:none}
#toolbox-portal-preview .a-controllers{display:flex;flex-direction:column;gap:18px;width:70%;transform:rotateY(-13deg)}
#toolbox-portal-preview .a-controllers>span{border:1px solid var(--p-line);background:var(--p-panel);border-radius:5px;padding:10px 15px;font-size:12px;letter-spacing:.5px;position:relative}
#toolbox-portal-preview .a-controllers>span:after{content:'';position:absolute;right:12px;top:14px;width:6px;height:6px;border-radius:50%;background:var(--p-teal)}
#toolbox-portal-preview .a-cover-caption{position:absolute;bottom:12px;left:14px;font-size:11px;color:var(--p-muted);letter-spacing:.8px;text-transform:uppercase}
#toolbox-portal-preview .a-play{position:absolute;right:16px;bottom:16px;width:38px;height:38px;border:1px solid color-mix(in srgb,var(--p-accent),transparent 45%);background:var(--p-selected);color:var(--p-accent);border-radius:50%;display:grid;place-items:center;font-size:15px;padding-left:2px}
#toolbox-portal-preview .a-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 14px}
#toolbox-portal-preview .a-section-title h2{margin:0;font-size:19px}
#toolbox-portal-preview .a-section-title span{font-size:12px;color:var(--p-muted)}
#toolbox-portal-preview .a-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#toolbox-portal-preview .a-video-card{padding:0;overflow:hidden;border-radius:10px;min-width:0;display:flex;flex-direction:column;background:var(--p-panel)}
#toolbox-portal-preview .a-video-card>.a-cover{width:100%;min-height:170px;border-bottom:1px solid var(--p-line)}
#toolbox-portal-preview .a-video-copy{padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
#toolbox-portal-preview .a-video-copy strong{font-weight:600;font-size:17px;line-height:1.35}
#toolbox-portal-preview .a-video-copy>small{font-size:13px;color:var(--p-muted)}
#toolbox-portal-preview .a-availability{font-size:11px;color:var(--p-muted);margin-top:2px}
#toolbox-portal-preview .a-reading{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#toolbox-portal-preview .a-chapter{border:1px solid var(--p-line);background:var(--p-panel);border-radius:10px;padding:20px;min-width:0}
#toolbox-portal-preview .a-chapter-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:8px}
#toolbox-portal-preview .a-chapter h3{font-size:18px}
#toolbox-portal-preview .a-chapter p{color:var(--p-muted);font-size:14px;min-height:42px;margin:8px 0 14px}
#toolbox-portal-preview .a-chapter ul{list-style:none;padding:0;margin:0 0 18px;font-size:13px;color:var(--p-muted)}
#toolbox-portal-preview .a-chapter li{padding:5px 0;border-bottom:1px solid var(--p-line)}
#toolbox-portal-preview .a-chapter button{border:0;background:transparent;color:var(--p-accent);padding:0;font-size:14px;font-weight:500}
#toolbox-portal-preview .a-reader{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px;align-items:start}
#toolbox-portal-preview .a-outline{padding-top:14px}
#toolbox-portal-preview .a-outline h3{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:var(--p-muted);margin-bottom:12px}
#toolbox-portal-preview .a-outline button{display:block;width:100%;border:0;border-left:2px solid var(--p-line);border-radius:0;background:transparent;color:var(--p-muted);font-size:13px;padding:8px 12px;margin:0}
#toolbox-portal-preview .a-outline button[aria-current=true]{border-left-color:var(--p-purple);background:var(--p-selected);color:var(--p-accent)}
#toolbox-portal-preview .p-article{max-width:760px;width:100%;margin:auto}
#toolbox-portal-preview .p-article p{margin:12px 0 18px;font-size:15px;line-height:1.7}
#toolbox-portal-preview .p-article h2{margin-top:26px;font-size:22px}
#toolbox-portal-preview .p-article h2:first-child{margin-top:0}
#toolbox-portal-preview .p-illustration{background:var(--p-art);padding:20px;border:1px solid var(--p-line);border-radius:8px;margin:22px 0}
#toolbox-portal-preview .p-install-option{padding:14px;border:1px solid var(--p-line);border-radius:6px;margin-top:12px;display:flex;gap:12px;align-items:center;background:var(--p-panel)}
#toolbox-portal-preview .p-install-option:first-of-type{background:var(--p-selected);border-color:var(--p-purple)}
#toolbox-portal-preview .p-install-option strong{display:block;font-weight:600}
#toolbox-portal-preview .p-player{border:1px solid var(--p-line);background:var(--p-panel);border-radius:10px;overflow:hidden}
#toolbox-portal-preview .p-player .a-cover{min-height:280px}
#toolbox-portal-preview .a-player-caption{padding:20px 24px}
#toolbox-portal-preview .a-player-caption p{color:var(--p-muted);font-size:14px;margin:8px 0 18px}
#toolbox-portal-preview .a-topic-line{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
#toolbox-portal-preview .a-topic-line span{border:1px solid var(--p-line);border-radius:4px;padding:5px 9px;font-size:12px;color:var(--p-muted)}
@media(min-width:1200px){#toolbox-portal-preview .a-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){#toolbox-portal-preview .p-shell{grid-template-columns:180px minmax(0,1fr)}#toolbox-portal-preview .p-sidebar button{padding:9px 7px;font-size:13px}#toolbox-portal-preview .p-main{padding:24px}#toolbox-portal-preview .a-hero{grid-template-columns:1fr}#toolbox-portal-preview .a-hero>.a-cover{min-height:230px;grid-row:1}#toolbox-portal-preview .a-hero-copy h2{max-width:none}#toolbox-portal-preview .a-reader{grid-template-columns:1fr}#toolbox-portal-preview .a-outline{display:flex;flex-wrap:wrap;gap:5px;padding:0}#toolbox-portal-preview .a-outline h3{width:100%;margin:0}#toolbox-portal-preview .a-outline button{width:auto;border-left:0;border-bottom:2px solid var(--p-line)}}
@media(max-width:760px){#toolbox-portal-preview .p-shell{grid-template-columns:1fr}#toolbox-portal-preview .p-sidebar{flex-direction:row;flex-wrap:wrap;padding:10px;border-right:0;border-bottom:1px solid var(--p-line);gap:3px}#toolbox-portal-preview .p-sidebar button{padding:7px 10px}#toolbox-portal-preview .p-user{display:none}#toolbox-portal-preview .p-top{padding:14px 18px;gap:10px}#toolbox-portal-preview .p-top>.p-tag{display:none}#toolbox-portal-preview .p-main{min-height:0;padding:24px 20px}#toolbox-portal-preview .a-hero{grid-template-columns:1fr 1fr}#toolbox-portal-preview .a-hero>.a-cover{grid-row:auto}#toolbox-portal-preview .a-hero-copy{padding:22px}#toolbox-portal-preview .a-hero-copy h2{font-size:24px}}
@media(max-width:540px){#toolbox-portal-preview .p-grid,#toolbox-portal-preview .a-reading,#toolbox-portal-preview .a-video-grid,#toolbox-portal-preview .a-hero{grid-template-columns:1fr}#toolbox-portal-preview .p-main{padding:24px 16px}#toolbox-portal-preview h1{font-size:29px}#toolbox-portal-preview .p-brand small{display:none}#toolbox-portal-preview .p-brand{font-size:14px}#toolbox-portal-preview .p-top{padding:12px;gap:8px}#toolbox-portal-preview .p-logo{width:36px;height:36px}#toolbox-portal-preview .p-bridge>button{font-size:12px;padding:7px 9px}#toolbox-portal-preview .p-bridge{position:static}#toolbox-portal-preview .p-popover{right:10px;left:10px;top:63px;width:auto}#toolbox-portal-preview .p-table th:nth-child(3),#toolbox-portal-preview .p-table td:nth-child(3){display:none}#toolbox-portal-preview canvas{height:280px}#toolbox-portal-preview .a-hero>.a-cover{grid-row:1;min-height:215px}#toolbox-portal-preview .a-hero-copy{padding:22px}#toolbox-portal-preview .p-card{padding:18px}#toolbox-portal-preview .a-chapter p{min-height:0}#toolbox-portal-preview .a-section-title{align-items:flex-start}#toolbox-portal-preview .a-section-title span{max-width:120px;text-align:right}}
@media(prefers-reduced-motion:reduce){#toolbox-portal-preview button{transition:none}}

/* Background decoration stays behind the opaque application panels. */
#toolbox-portal-preview{
 --p-glow-purple:light-dark(#8764ee40,#7e4cea88);
 --p-glow-teal:light-dark(#36bfb232,#36c8bd66);
 --p-glow-pink:light-dark(#d56aa92c,#c244a766);
 --p-circuit:light-dark(#5d6b91,#8399c4);
 isolation:isolate
}
#toolbox-portal-preview::before{
 content:'';position:absolute;inset:-35%;z-index:0;pointer-events:none;
 background:radial-gradient(ellipse at 12% 10%,var(--p-glow-purple),transparent 53%),radial-gradient(ellipse at 88% 37%,var(--p-glow-teal),transparent 51%),radial-gradient(ellipse at 42% 92%,var(--p-glow-pink),transparent 56%);
 transform-origin:50% 45%;animation:toolbox-aurora 12s ease-in-out infinite alternate;will-change:transform
}
#toolbox-portal-preview::after{
 content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background-color:var(--p-circuit);opacity:.13;
 -webkit-mask-image:var(--p-circuit-pattern);mask-image:var(--p-circuit-pattern);
 -webkit-mask-size:480px 360px;mask-size:480px 360px;
 -webkit-mask-repeat:repeat;mask-repeat:repeat
}
#toolbox-portal-preview .p-top{position:relative;z-index:3;background:color-mix(in srgb,var(--p-panel) 86%,transparent)}
#toolbox-portal-preview .p-shell{position:relative;z-index:1}
@keyframes toolbox-aurora{
 from{transform:translate3d(-12%,-8%,0) scale(.95) rotate(-12deg)}
 to{transform:translate3d(14%,10%,0) scale(1.15) rotate(14deg)}
}
@media(prefers-reduced-motion:reduce){
 #toolbox-portal-preview::before{animation:none;transform:none;will-change:auto}
}

#toolbox-portal-preview{--p-circuit-pattern:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0ODAiIGhlaWdodD0iMzYwIiB2aWV3Qm94PSIwIDAgNDgwIDM2MCIgZmlsbD0ibm9uZSI+CiA8ZyBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuMTUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+CiAgPHBhdGggZD0iTTAgNDNINjRMODkgNjhIMTU0TTQ4MCA0M0g0MjVMMzk3IDcxSDMzM1YxMDlNMCAyNDBIMzdMNjkgMjA4SDE0MVYxNTNIMTk2TTQ4MCAyNjNINDMxTDQwOSAyNDFIMzQ0VjIwN00xMTIgMFYyNEwxMzcgNDlIMjIwVjExME0zNiAzNjBWMzE0TDY4IDI4MkgxNDlWMzA1SDE5NU0yNjYgMzYwVjMwN0wyOTAgMjgzSDM2OVYzMjRINDgwTTMyMCAwVjM3SDI4NEwyNjAgNjFWOTZNNDgwIDE1MUg0MTdMMzk2IDE3MkgzNTFNMCAxMTFINDNMNjUgMTMzSDEwMlYxNjRNMTk2IDM2MFYzMzVIMjI1VjI2MEwyMDQgMjM5VjIwNiIvPgogIDxyZWN0IHg9IjE5NiIgeT0iMTEwIiB3aWR0aD0iNjUiIGhlaWdodD0iNjUiIHJ4PSI0Ii8+CiAgPHJlY3QgeD0iMjA4IiB5PSIxMjIiIHdpZHRoPSI0MSIgaGVpZ2h0PSI0MSIgcng9IjIiLz4KICA8cGF0aCBkPSJNMjA4IDExMFY5Nk0yMjAgMTEwVjkxTTIzMiAxMTBWOThNMjQ1IDExMFY5NE0yMDggMTc1VjE5ME0yMjAgMTc1VjE5OU0yMzIgMTc1VjE5ME0yNDUgMTc1VjE5NE0xOTYgMTIySDE4MU0xOTYgMTM0SDE3M00xOTYgMTQ3SDE4Mk0xOTYgMTYxSDE3OE0yNjEgMTIySDI3OE0yNjEgMTM0SDI4Nk0yNjEgMTQ3SDI3NU0yNjEgMTYxSDI4MU0zMjYgMTA5SDM0MFYxMjNIMzI2Wk0zMjYgMTkzSDM0MFYyMDdIMzI2Wk05NCAxNjRIMTA4VjE3OEg5NFoiLz4KICA8cGF0aCBkPSJNMTU0IDY4SDE2OVY4M0gxNTRaTTI4MSAxOTlIMzAxTDMyMCAyMThIMzYzVjIzOU0xNSAxNUg0ME0yOCAyVjI4TTM5NyAzMTJINDIxTTQwOSAzMDBWMzI0Ii8+CiAgPGNpcmNsZSBjeD0iMTczIiBjeT0iMTM0IiByPSIzIi8+PGNpcmNsZSBjeD0iMjg2IiBjeT0iMTM0IiByPSIzIi8+CiAgPGNpcmNsZSBjeD0iMjIwIiBjeT0iMTk5IiByPSIzIi8+PGNpcmNsZSBjeD0iMjQ1IiBjeT0iOTQiIHI9IjMiLz4KICA8Y2lyY2xlIGN4PSIxNDEiIGN5PSIyMDgiIHI9IjIuNiIvPjxjaXJjbGUgY3g9IjE5NSIgY3k9IjMwNSIgcj0iMyIvPgogIDxjaXJjbGUgY3g9IjM1MSIgY3k9IjE3MiIgcj0iMyIvPjxjaXJjbGUgY3g9IjI4MSIgY3k9IjE5OSIgcj0iMyIvPgogIDxjaXJjbGUgY3g9IjEwMiIgY3k9IjEzMyIgcj0iMi41Ii8+CiA8L2c+Cjwvc3ZnPgo=")}
#toolbox-portal-preview .p-top-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
#toolbox-portal-preview .p-top-actions .p-bridge{margin-left:0}
#toolbox-portal-preview .p-header-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:8px 14px;border:1px solid var(--p-line);border-radius:6px;text-decoration:none;color:var(--p-text);background:var(--p-panel);font-size:14px;line-height:1.5}
#toolbox-portal-preview .p-header-link:hover{background:var(--p-raised);border-color:var(--p-accent)}
#toolbox-portal-preview .p-download-link{background:var(--p-purple);color:#fff;border-color:transparent}
#toolbox-portal-preview .p-download-link:hover{background:color-mix(in srgb,var(--p-purple),#fff 10%);border-color:transparent}
@media(max-width:540px){
 #toolbox-portal-preview .p-top{flex-wrap:wrap}
 #toolbox-portal-preview .p-top-actions{width:100%;margin-left:0;gap:8px}
 #toolbox-portal-preview .p-header-link{padding:7px 12px}
 #toolbox-portal-preview .p-top-actions .p-bridge{margin-left:auto}
 #toolbox-portal-preview .p-popover{top:calc(100% - 1px)}
}


/* Live portal controls share the desktop palette and sizing. */
body{margin:0;padding:18px;background:#0b0d13;color:#eceef7;color-scheme:dark}
#toolbox-portal-preview{min-height:calc(100vh - 36px)}
#toolbox-portal-preview a{color:var(--p-accent);text-decoration:none}
#toolbox-portal-preview a:hover{text-decoration:underline}
#toolbox-portal-preview .p-header-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border:1px solid var(--p-line);border-radius:6px;color:var(--p-text);background:var(--p-panel);text-decoration:none}
#toolbox-portal-preview .p-download-link{background:var(--p-purple);color:#fff;border-color:transparent}
#toolbox-portal-preview button{cursor:pointer}
#toolbox-portal-preview button:disabled{cursor:default}
#toolbox-portal-preview :focus-visible{outline:2px solid var(--p-accent);outline-offset:3px}
#toolbox-portal-preview input,#toolbox-portal-preview select{font:inherit;color:var(--p-text);background:var(--p-bg);border:1px solid var(--p-line);border-radius:6px;padding:9px 12px;max-width:100%;min-width:0}
#toolbox-portal-preview input:not([type=checkbox]),#toolbox-portal-preview select{display:block;width:100%;margin-top:6px}
#toolbox-portal-preview label{display:block;color:var(--p-muted);font-size:14px}
#toolbox-portal-preview form{display:grid;gap:14px;margin:18px 0}
#toolbox-portal-preview .auth-card{max-width:550px;margin:30px auto;padding:32px}
#toolbox-portal-preview .p-row>label{flex:1;min-width:160px}
#toolbox-portal-preview .form-status{color:#f3b17e;margin:0}
#toolbox-portal-preview .p-main>.p-card{margin-top:20px}
#toolbox-portal-preview .p-warning{padding:12px 16px;border-left:3px solid #e9a455;background:var(--p-panel);margin-top:12px}
#toolbox-portal-preview .table-scroll{overflow:auto}
#toolbox-portal-preview .block{display:block;color:var(--p-muted)}
#toolbox-portal-preview .activity-row{display:grid;gap:7px;margin:16px 0}
#toolbox-portal-preview pre{overflow:auto;max-height:420px;font:13px/1.6 Consolas,monospace;background:var(--p-bg);padding:18px;border-radius:8px}
#toolbox-portal-preview .a-outline a{display:block;padding:9px 12px;border-radius:6px;color:var(--p-muted)}
#toolbox-portal-preview .a-outline a[aria-current]{background:var(--p-selected);color:var(--p-accent)}
#toolbox-portal-preview .a-article{min-width:0}
#toolbox-portal-preview .a-article>.a-cover{min-height:220px;margin:20px 0;border-radius:10px}
#toolbox-portal-preview .guide-body{font-size:16px;line-height:1.8;overflow-wrap:anywhere}
#toolbox-portal-preview .guide-body img{max-width:100%;height:auto;border-radius:8px;background:#fff;padding:8px}
#toolbox-portal-preview .guide-body table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}
#toolbox-portal-preview .guide-body td,#toolbox-portal-preview .guide-body th{border:1px solid var(--p-line);padding:12px}
#toolbox-portal-preview .academy-search{margin-bottom:22px;max-width:620px}
#toolbox-portal-preview .academy-languages{margin-top:26px}
#toolbox-portal-preview .a-video-card{display:block;text-decoration:none;color:var(--p-text)}
#toolbox-portal-preview video{width:100%;max-height:70vh;background:#080a0f}
#toolbox-portal-preview .download-mark{min-height:220px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(135deg,#6e51df55,#24c5ba33);font-size:18px;gap:14px}
#toolbox-portal-preview .download-mark strong{font-size:48px}
#toolbox-portal-preview details{margin-top:18px;font-size:13px}
#toolbox-portal-preview summary{cursor:pointer;color:var(--p-muted);margin-bottom:12px}
#toolbox-portal-preview .hash{display:block;overflow-wrap:anywhere;color:var(--p-muted);font-size:11px;margin-bottom:8px}
#toolbox-portal-preview #tp-canvas{display:block;width:100%;height:clamp(300px,54vh,700px);touch-action:none}
#toolbox-portal-preview #viewer-error:not(:empty){padding:20px;color:#f3b17e}
#portal-status:not(:empty){position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;z-index:10;padding:14px 20px;border:1px solid var(--p-accent);background:var(--p-panel);border-radius:8px;box-shadow:0 12px 40px #0006}
@media(max-width:760px){body{padding:0}#toolbox-portal-preview{border-radius:0}#toolbox-portal-preview .p-top>.p-tag{display:none}#toolbox-portal-preview .a-outline{max-height:260px;overflow:auto}#toolbox-portal-preview .p-main{padding:20px 16px}#toolbox-portal-preview .p-grid{grid-template-columns:1fr}}

/* Academy availability filters share the application accent. */
#toolbox-portal-preview .a-filters{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 24px}#toolbox-portal-preview .a-filters button{display:flex;align-items:center;gap:12px;border-radius:10px}#toolbox-portal-preview .a-filters button span{font-size:.8em;opacity:.75}#toolbox-portal-preview .a-filters button[aria-pressed="true"]{color:#fff;border-color:#9b85ff;background:#6550cf;box-shadow:0 0 20px #8264f021}

#toolbox-portal-preview [hidden]{display:none!important}
#toolbox-portal-preview .moderation-tabs{margin-bottom:20px}
#toolbox-portal-preview .moderation-tabs [aria-pressed="true"]{background:var(--p-accent);color:white}
#toolbox-portal-preview textarea{font:inherit;color:inherit;background:var(--p-bg);border:1px solid var(--p-border);border-radius:8px;padding:12px;resize:vertical;width:100%;box-sizing:border-box}
