/* Theo 2.6 — scoped workspace design, independent of the active theme. */
@font-face{font-family:TheoInter;src:url(fonts/Inter.woff2) format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:TheoPlayfair;src:url(fonts/PlayfairDisplay.woff2) format("woff2");font-weight:400 900;font-display:swap}
body .piltheo{--bg:#fff;--panel:#fff;--ink:#18243a;--muted:#626b79;--line:#e3e5e8;--accent:#182764;--bubble:#eef1f7;--pil-rail:228px;--rail-surface:#f7f7f5;--rail-ink:#344052;--rail-line:#e3e5e8;--rail-active:#e8ebf3;--rail-accent:#182764;background:var(--bg)!important;color:var(--ink);font:14px/1.6 TheoInter,Arial,sans-serif!important;min-height:0!important;grid-template-columns:228px minmax(0,1fr);position:relative}
body .piltheo[data-theme=dark]{--bg:#151922;--panel:#202631;--ink:#edf0f6;--muted:#b5bdca;--line:#363e4b;--accent:#aebfff;--bubble:#2c3548;--rail-surface:#1c212b;--rail-ink:#dbe0e9;--rail-line:#363e4b;--rail-active:#303b50;--rail-accent:#c0cdff}
body.pt-immersive-shell:has(>.pil-suite-header) #pt-immersive-main>.piltheo{height:100%!important;max-height:100%!important;min-height:0!important}
body .piltheo :is(button,input,textarea,select,summary,label){font-family:TheoInter,Arial,sans-serif!important;letter-spacing:normal!important;text-transform:none!important}
body .piltheo .pt-side{background:var(--rail-surface)!important;color:var(--rail-ink)!important;backdrop-filter:none;border-right:1px solid var(--line)!important;padding:16px 12px!important;gap:4px!important;min-height:0;overflow:auto;scrollbar-width:thin}
body .piltheo .pt-side .pt-brand{font-size:15px!important;font-weight:650!important;gap:9px;min-height:34px!important;color:var(--rail-ink)!important;margin-bottom:8px!important}body .piltheo .pt-brand img{width:25px!important;height:25px!important}
body .piltheo .pt-side .pt-clear{background:#182764!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:10px 12px!important;min-height:38px!important;font-weight:600!important;justify-content:flex-start!important}
body .piltheo .pt-side :is(.pt-group, .pt-conversations){border:0!important;margin:2px 0!important;padding:0!important}body .piltheo .pt-side .pt-group summary{color:var(--rail-ink)!important;font-size:12px!important;font-weight:550!important;padding:7px 8px!important;min-height:32px!important}body .piltheo .pt-side .pt-group summary:after{content:"›"!important;font-size:17px;transform:rotate(0);color:var(--muted)}body .piltheo .pt-side .pt-group[open]>summary:after{transform:rotate(90deg)}
body .piltheo .pt-side :is(.pt-modes button,.pt-premium-link,.pt-history button,.pt-delete,.pt-conversations>button,.pt-toolstrip button){background:transparent!important;color:var(--rail-ink)!important;border:0!important;border-radius:7px!important;font-size:12px!important;min-height:32px!important;padding:7px 8px!important;box-shadow:none!important}body .piltheo .pt-side :is(button,a,summary):hover,body .piltheo .pt-side .pt-modes button.active{background:var(--rail-active)!important;color:var(--rail-accent)!important}body .piltheo .pt-side .pt-clear:hover{background:#263b80!important;color:white!important}body .piltheo .pt-side .pt-label{color:var(--muted)!important;font-size:10px!important;letter-spacing:1px!important;margin:15px 8px 5px!important;padding:0!important}body .piltheo .pt-side :is(label,small){color:var(--muted)!important}body .piltheo .pt-side .pt-plus{background:transparent!important;color:var(--rail-accent)!important;border:1px solid var(--line)!important;font-size:9px!important}body .piltheo .pt-side .pt-history{max-height:160px}body .piltheo .pt-side .pt-modes details> :is(button,a){padding-left:19px!important}
body .piltheo .pt-main{min-height:0;min-width:0;background:var(--bg)!important;--pt-edge:clamp(16px,4vw,48px)}body .piltheo .pt-scroll{padding:24px var(--pt-edge)!important;display:flex;flex-direction:column;min-height:0;overflow:auto;overscroll-behavior:contain}body .piltheo .pt-welcome{width:100%;max-width:720px!important;margin:auto!important;text-align:left!important;padding:12px 0 20px}body .piltheo .pt-welcome .pt-welcome-feature{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 24px!important;min-height:0!important;display:block!important}body .piltheo .pt-welcome .pt-welcome-feature h1{font:500 clamp(30px,4vw,44px)/1.16 TheoPlayfair,Georgia,serif!important;letter-spacing:-.035em!important;color:var(--ink)!important;max-width:none!important;margin:8px 0 10px!important}body .piltheo .pt-welcome .pt-welcome-feature p{font-size:14px!important;color:var(--muted)!important;margin:0!important} .pt-welcome-kicker{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.05em}.pt-welcome-kicker img{width:26px;height:26px}
body .piltheo .pt-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px!important}body .piltheo .pt-cards button{display:flex;align-items:center;gap:12px;min-height:64px!important;padding:13px!important;text-align:left!important;background:var(--panel)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:12px!important;font-size:13px!important;box-shadow:none!important;backdrop-filter:none!important;white-space:normal!important}body .piltheo .pt-cards button:hover{background:var(--bubble)!important;border-color:var(--accent)!important} .pt-starter-icon{width:30px;height:30px;flex:none;display:grid;place-items:center;background:var(--bubble);color:var(--accent);border-radius:8px}.pt-starter-icon svg,.pt-nav-icon svg{width:17px;height:17px;display:block}.pt-nav-icon{display:inline-flex;flex:none;color:var(--muted);align-self:center}.pt-starter-arrow{margin-left:auto;color:var(--muted);font-size:16px}
body .piltheo .pt-welcome .pt-toolkit-entry{display:flex!important;flex-direction:row!important;align-items:center;gap:12px!important;margin:0 0 12px!important;padding:12px 14px!important;background:var(--rail-surface)!important;border:1px solid var(--line)!important;border-radius:10px!important;color:var(--ink)!important;text-align:left}body .piltheo .pt-toolkit-entry strong{font-size:13px}body .piltheo .pt-toolkit-entry span{font-size:12px;color:var(--muted)!important}body .piltheo .pt-toolkit-entry:after{content:"↗";margin-left:auto;color:var(--muted)}body .piltheo .pt-discovery-drawer{margin:0!important}body .piltheo .pt-discovery-drawer>summary{border:0!important;background:transparent!important;padding:8px 0!important;font-size:12px!important;color:var(--muted)!important}
body .piltheo .pt-dock{width:calc(100% - 2 * var(--pt-edge))!important;max-width:720px!important;padding:0 0 12px!important;flex:none;margin-inline:auto!important;background:var(--bg)!important}body .piltheo .pt-composer{border:1px solid var(--line)!important;border-radius:18px!important;padding:12px 14px!important;background:var(--panel)!important;box-shadow:0 4px 20px #18243a0b!important}body .piltheo .pt-composer:focus-within{border-color:#8998b9!important}body .piltheo .pt-composer textarea{background:transparent!important;border:0!important;box-shadow:none!important;outline:none!important;resize:none!important;font-size:14px!important;padding:4px 2px!important;min-height:38px!important;color:var(--ink)!important}body .piltheo .pt-composebar{gap:10px}body .piltheo .pt-current{font-size:11px!important;background:var(--bubble);border-radius:6px;padding:4px 8px}body .piltheo .pt-composebar button[type=submit]{background:#182764!important;border:0!important;border-radius:10px!important;width:36px!important;height:36px!important;color:white!important}body .piltheo .pt-dock :is(.pt-consent,small){font-size:10px!important;line-height:1.45;text-align:center;margin:5px 0 0!important}body .piltheo .pt-status:empty{display:none}
body .piltheo .pt-log{max-width:720px!important;width:100%;margin:0 auto!important}body .piltheo .pt-message{font-size:14px;line-height:1.75;border:0!important;box-shadow:none!important;border-radius:14px!important;margin:14px 0!important;padding:14px 0!important;background:transparent!important}body .piltheo .pt-message.pt-user{background:var(--bubble)!important;padding:12px 16px!important;margin-left:auto!important;max-width:85%;width:fit-content}body .piltheo .pt-message .pt-label{font-size:10px!important;font-weight:650;letter-spacing:.08em;margin:0 0 8px!important}body .piltheo .pt-message button{font-size:11px!important;border-radius:7px!important;padding:5px 9px!important}body .piltheo .pt-line{min-height:.55em}
body .piltheo .ptj-card{background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:10px!important;padding:12px!important;color:var(--ink)!important}body .piltheo .pt-main .ptj-card :is(strong,span){color:var(--ink)!important}body .piltheo .pt-main .ptj-card small{color:var(--muted)!important}body .piltheo .ptj-panel{margin:12px 0!important}body .piltheo .ptj-panel details{border-color:var(--line)!important}
body .piltheo .pt-top{background:var(--panel)!important;border-color:var(--line)!important;padding:8px 16px!important;flex-wrap:nowrap!important;min-height:48px}body .piltheo .pt-top .pt-menu{display:inline-flex;align-items:center}body .piltheo .pt-top.pil-suite-relocated{min-height:0;padding:0!important}
body .pt-atlas{font-family:TheoInter,Arial,sans-serif!important;background:#fff!important;color:#18243a!important}body .pt-atlas .pt-atlas-hero{background:#f7f7f5!important;border:1px solid #e3e5e8!important;border-radius:16px!important}body .pt-atlas h1{font-family:TheoPlayfair,Georgia,serif!important}body .pt-atlas .pt-atlas-grid article{background:#fff!important;border:1px solid #e3e5e8!important;border-radius:12px!important;color:#18243a!important}
body .pt-studios{font-family:TheoInter,Arial,sans-serif;border-radius:16px;padding:22px}body .pt-studios h2,body .pt-studios h3{font-family:TheoPlayfair,Georgia,serif}body .pt-studios article{border-radius:10px}
@media(max-width:800px){body .piltheo{grid-template-columns:minmax(0,1fr)!important;--pt-edge:16px}body .piltheo .pt-main{grid-column:1!important}body .piltheo .pt-side.pil-workspace-rail:not(.pil-rail-closed){width:min(280px,85vw)!important;max-width:85vw!important}body .piltheo .pt-scroll{padding:16px!important}body .piltheo .pt-welcome{padding:8px 0!important}body .piltheo .pt-dock{width:calc(100% - 32px)!important}body .piltheo .pt-cards button{min-height:58px!important;padding:10px!important}body .piltheo .pt-welcome .pt-toolkit-entry{flex-wrap:wrap;gap:4px 10px!important}}
@media(max-width:420px){body .piltheo .pt-cards{grid-template-columns:1fr;gap:7px}body .piltheo .pt-cards button{min-height:46px!important}body .piltheo .pt-welcome .pt-welcome-feature{margin-bottom:16px!important}.pt-starter-icon{width:26px;height:26px}}

/* 2.7 — Frosted editorial workspace */
body .piltheo{--glass:rgba(255,255,255,.72);--glass-strong:rgba(255,255,255,.88);--glass-edge:rgba(255,255,255,.94);--rail-surface:rgba(255,255,255,.67);--rail-active:#e5eaf8;--line:#d9e0ed;--pil-rail:224px;--feature-ink:var(--ink);--feature-muted:var(--muted);background:radial-gradient(ellipse at 80% 8%,#dce6ff 0,transparent 48%),radial-gradient(ellipse at 28% 95%,#e4e9fa 0,transparent 50%),#f5f6fa!important;grid-template-columns:224px minmax(0,1fr)}
body .piltheo[data-theme=dark]{--glass:rgba(32,42,61,.76);--glass-strong:rgba(30,39,57,.94);--glass-edge:#46536b;--rail-surface:rgba(25,34,50,.9);--rail-active:#34425d;--line:#45516a;background:radial-gradient(ellipse at 80% 8%,#263a65,transparent 55%),#151b29!important}
body .piltheo .pt-main,body .piltheo .pt-dock{background:transparent!important}body .piltheo .pt-side{background:var(--rail-surface)!important;backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%);padding:14px 10px!important;gap:3px!important;box-shadow:inset -1px 0 var(--glass-edge);overscroll-behavior:contain;color:var(--rail-ink)!important}body .piltheo .pt-side>*{flex-shrink:0}body .piltheo .pt-side .pt-brand{padding:0 9px!important;margin-bottom:10px!important}body .piltheo .pt-side .pt-clear{border-radius:10px!important;margin-bottom:8px!important;box-shadow:0 4px 10px #18276420!important}body .piltheo .pt-side .pt-modes{gap:2px!important}body .piltheo .pt-side .pt-group summary{justify-content:flex-start!important;gap:9px!important;font-size:12px!important;font-weight:550!important;border-radius:8px;cursor:pointer}body .piltheo .pt-side .pt-group summary:after{margin-left:auto}body .piltheo .pt-side .pt-modes button,body .piltheo .pt-side .pt-premium-link{align-items:center!important;gap:9px!important}body .piltheo .pt-side .pt-modes button.active{box-shadow:inset 2px 0 var(--rail-accent)!important;font-weight:600!important}body .piltheo .pt-side .pt-modes details> :is(button,a){margin-left:12px!important;width:calc(100% - 12px)!important;padding-left:10px!important;border-left:1px solid var(--line)!important;border-radius:0 7px 7px 0!important}body .piltheo .pt-side .pt-plus{margin-left:auto!important;align-self:center!important;color:var(--rail-accent)!important}body .piltheo .pt-side .pt-settings{margin-top:10px!important;border-top:1px solid var(--line)!important;padding-top:8px!important}body .piltheo .pt-side .pt-history:empty:after{content:"No recent conversations";display:block;padding:5px 9px;color:var(--muted);font-size:11px}body .piltheo .pt-side .pt-toolstrip{display:flex;flex-wrap:wrap;gap:4px}
body .piltheo .pt-cards button,body .piltheo .pt-welcome .pt-toolkit-entry,body .piltheo .ptj-card,body .piltheo .pt-composer{background:var(--glass)!important;border:1px solid var(--glass-edge)!important;backdrop-filter:blur(18px) saturate(135%)!important;-webkit-backdrop-filter:blur(18px) saturate(135%)!important;box-shadow:0 5px 18px #233b7010, inset 0 0 0 1px #8394b512!important}body .piltheo .pt-cards button:hover{background:var(--glass-strong)!important;transform:translateY(-1px);border-color:var(--line)!important}body .piltheo .pt-composer{background:var(--glass-strong)!important;box-shadow:0 12px 36px #233b701c!important;border-radius:22px!important;padding:14px 16px!important}body .piltheo .pt-composer:focus-within{outline:2px solid #879ac5;outline-offset:2px}body .piltheo .pt-top,body.pt-immersive-shell>.pil-suite-header{background:var(--glass-strong,rgba(250,251,255,.88))!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}body .piltheo .pt-welcome .pt-welcome-feature{background:transparent!important}body .piltheo .pt-welcome .pt-welcome-feature h1{font-size:clamp(32px,4vw,48px)!important}body .piltheo .pt-cards button{transition:background .16s,transform .16s}body .piltheo :is(button,a,summary):focus-visible{outline:2px solid #758dc5;outline-offset:2px}body .pt-atlas .pt-atlas-hero{background:linear-gradient(125deg,#f9faff,#e2e9fc)!important}body .pt-atlas .pt-atlas-grid article{background:#f6f8fd!important}
@media(max-width:800px){body .piltheo .pt-side{background:var(--glass-strong)!important;box-shadow:12px 0 40px #18276425!important}}@media(prefers-reduced-motion:reduce){body .piltheo *{transition:none!important}}@media(prefers-reduced-transparency:reduce){body .piltheo{--glass:var(--panel);--glass-strong:var(--panel);--rail-surface:var(--panel)}body .piltheo *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* 2.7.1 — light appearance contrast; dark appearance unchanged. */
body .piltheo[data-theme="light"]{--ink:#18243a;--muted:#465469;--rail-ink:#28364a;--rail-accent:#182764;--accent:#182764;--feature-ink:#18243a;--feature-muted:#465469}
body .piltheo[data-theme="light"] :is(.pt-welcome-kicker,.pt-label,.pt-nav-icon,.pt-starter-arrow,.pt-current,.pt-composebar,.pt-status,.pt-consent,.preview-note,.pt-settings small,.pt-settings label,.pt-discovery-drawer>summary,.pt-toolkit-entry span,.pt-dock small){color:var(--muted)!important;opacity:1!important}
body .piltheo[data-theme="light"] :is(.pt-top,.pt-settings summary,.pt-group summary,.pt-history button,.pt-modes button,.pt-cards button,.pt-cards button>span:not(.pt-starter-arrow):not(.pt-starter-icon),.pt-toolkit-entry strong,.pt-message,.pt-line){color:var(--ink)!important}
body .piltheo[data-theme="light"] .pt-composer textarea::placeholder{color:#526176!important;opacity:1!important}
body .piltheo[data-theme="light"] .pt-side .pt-clear,body .piltheo[data-theme="light"] .pt-composebar button[type=submit]{color:#fff!important}

html[data-pil-app-appearance="light"] body .piltheo:not([data-theme]){--ink:#18243a;--muted:#465469;--rail-ink:#28364a;--rail-accent:#182764;--accent:#182764;--feature-ink:#18243a;--feature-muted:#465469}html[data-pil-app-appearance="light"] body .piltheo:not([data-theme]) :is(.pt-welcome-kicker,.pt-label,.pt-nav-icon,.pt-starter-arrow,.pt-current,.pt-composebar,.pt-status,.pt-consent,.preview-note,.pt-settings small,.pt-settings label,.pt-discovery-drawer>summary,.pt-toolkit-entry span,.pt-dock small){color:var(--muted)!important;opacity:1!important}html[data-pil-app-appearance="light"] body .piltheo:not([data-theme]) :is(.pt-top,.pt-settings summary,.pt-group summary,.pt-history button,.pt-modes button,.pt-cards button,.pt-cards button>span:not(.pt-starter-arrow):not(.pt-starter-icon),.pt-toolkit-entry strong,.pt-message,.pt-line){color:var(--ink)!important}html[data-pil-app-appearance="light"] body .piltheo:not([data-theme]) .pt-composer textarea::placeholder{color:#526176!important;opacity:1!important}html[data-pil-app-appearance="light"] body .piltheo:not([data-theme]) .pt-side .pt-clear,html[data-pil-app-appearance="light"] body .piltheo:not([data-theme]) .pt-composebar button[type=submit]{color:#fff!important}@media (prefers-color-scheme:light){html:not([data-pil-app-appearance]) body .piltheo:not([data-theme]){--ink:#18243a;--muted:#465469;--rail-ink:#28364a;--rail-accent:#182764;--accent:#182764;--feature-ink:#18243a;--feature-muted:#465469}html:not([data-pil-app-appearance]) body .piltheo:not([data-theme]) :is(.pt-welcome-kicker,.pt-label,.pt-nav-icon,.pt-starter-arrow,.pt-current,.pt-composebar,.pt-status,.pt-consent,.preview-note,.pt-settings small,.pt-settings label,.pt-discovery-drawer>summary,.pt-toolkit-entry span,.pt-dock small){color:var(--muted)!important;opacity:1!important}html:not([data-pil-app-appearance]) body .piltheo:not([data-theme]) :is(.pt-top,.pt-settings summary,.pt-group summary,.pt-history button,.pt-modes button,.pt-cards button,.pt-cards button>span:not(.pt-starter-arrow):not(.pt-starter-icon),.pt-toolkit-entry strong,.pt-message,.pt-line){color:var(--ink)!important}html:not([data-pil-app-appearance]) body .piltheo:not([data-theme]) .pt-composer textarea::placeholder{color:#526176!important;opacity:1!important}html:not([data-pil-app-appearance]) body .piltheo:not([data-theme]) .pt-side .pt-clear,html:not([data-pil-app-appearance]) body .piltheo:not([data-theme]) .pt-composebar button[type=submit]{color:#fff!important}}

/* 2.7.2 — live shell integration, scoped to Theo only. */
body.pt-immersive-shell:has(.piltheo){--theo-header:rgba(245,248,255,.85);--theo-header-ink:#18243a;--theo-menu:#f5f8ff;--theo-menu-hover:#e0e8fa;--theo-header-line:#cbd6eb}
html[data-pil-app-appearance=dark] body.pt-immersive-shell,body.pt-immersive-shell:has(.piltheo[data-theme=dark]){--theo-header:rgba(19,29,48,.92);--theo-header-ink:#edf3ff;--theo-menu:#202e46;--theo-menu-hover:#304461;--theo-header-line:#42536e}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header{background:var(--theo-header)!important;color:var(--theo-header-ink)!important;border-color:var(--theo-header-line)!important;backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%)}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header :is(.pil-suite-brand,.pil-suite-workspace,summary,button,a){color:var(--theo-header-ink)!important;opacity:1!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header > nav > details > div{background:var(--theo-menu)!important;border:1px solid var(--theo-header-line)!important;color:var(--theo-header-ink)!important;border-radius:14px!important;box-shadow:0 14px 40px #101a3c30!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header :is(button,summary,a):hover{background:var(--theo-menu-hover)!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header .pil-suite-relocated :is(button,summary,select){background:var(--theo-menu)!important;border-color:var(--theo-header-line)!important;color:var(--theo-header-ink)!important}
/* The workspace switcher already provides the same destinations. */
body.pt-immersive-shell:has(.pil-suite-header) :is(#pil-discover,.pt-explore-menu,.pt-links){display:none!important}
body.pt-immersive-shell #pt-immersive-main .piltheo{--rail-surface:rgba(247,250,255,.48);--rail-ink:#26364e;--rail-line:#cbd7ed;--rail-active:#dce6fa;--rail-accent:#182764;--glass:rgba(255,255,255,.39);--glass-strong:rgba(255,255,255,.70);--glass-edge:rgba(255,255,255,.95);background:radial-gradient(ellipse at 75% 18%,#b7c9f6 0,transparent 53%),radial-gradient(ellipse at 18% 80%,#c5d8f5 0,transparent 52%),radial-gradient(ellipse at 85% 90%,#ddd0ef 0,transparent 48%),#eef3fc!important}
body.pt-immersive-shell #pt-immersive-main .piltheo[data-theme=dark]{--rail-surface:rgba(18,28,47,.60);--rail-ink:#e0e9fa;--rail-line:#42536e;--rail-active:#304461;--rail-accent:#c6d8ff;--glass:rgba(35,49,76,.48);--glass-strong:rgba(38,53,80,.78);--glass-edge:rgba(165,190,240,.28);background:radial-gradient(ellipse at 75% 15%,#304d83 0,transparent 55%),radial-gradient(ellipse at 18% 85%,#243c63 0,transparent 52%),#111a2b!important}
body.pt-immersive-shell #pt-immersive-main .piltheo :is(.pt-main,.pt-dock,.pt-scroll){background:transparent!important}
body.pt-immersive-shell #pt-immersive-main .piltheo .pt-welcome .pt-welcome-feature{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;border-radius:0!important}
body.pt-immersive-shell #pt-immersive-main .piltheo .pt-welcome-kicker img{width:34px!important;height:34px!important}
body.pt-immersive-shell #pt-immersive-main .piltheo .pt-side{background:var(--rail-surface)!important;backdrop-filter:blur(28px) saturate(150%)!important;-webkit-backdrop-filter:blur(28px) saturate(150%)!important;padding:14px 12px!important;gap:5px!important;border-right:1px solid var(--glass-edge)!important;box-shadow:8px 0 32px #142b5010!important}
body.pt-immersive-shell #pt-immersive-main .piltheo .pt-side .pt-clear{background:#182764!important;color:#fff!important;border-radius:10px!important;margin:6px 0 8px!important;min-height:40px!important}
body.pt-immersive-shell #pt-immersive-main .piltheo .pt-side :is(.pt-modes button,.pt-group summary){border-radius:8px!important;min-height:34px!important;padding:8px 10px!important}
body.pt-immersive-shell #pt-immersive-main .piltheo .pt-side .pt-modes button.active{background:var(--rail-active)!important;box-shadow:inset 3px 0 var(--rail-accent)!important;color:var(--rail-accent)!important}
body.pt-immersive-shell #pt-immersive-main .piltheo :is(.pt-cards button,.pt-welcome .pt-toolkit-entry,.pt-composer,.ptj-card){background:var(--glass)!important;border:1px solid var(--glass-edge)!important;backdrop-filter:blur(22px) saturate(150%)!important;-webkit-backdrop-filter:blur(22px) saturate(150%)!important;box-shadow:0 8px 28px #142b5018,inset 0 1px 0 var(--glass-edge)!important}
body.pt-immersive-shell #pt-immersive-main .piltheo .pt-composer{background:var(--glass-strong)!important;border-radius:20px!important}
body.pt-immersive-shell #pt-immersive-main .piltheo .pt-cards button:hover{background:var(--glass-strong)!important}
@media(max-width:800px){body.pt-immersive-shell #pt-immersive-main .piltheo .pt-side{background:var(--glass-strong)!important}}
@media(prefers-reduced-transparency:reduce){body.pt-immersive-shell #pt-immersive-main .piltheo{--glass:var(--panel);--glass-strong:var(--panel);--rail-surface:var(--panel)}body.pt-immersive-shell #pt-immersive-main .piltheo *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* Theo 2.7.3: icon-only workspace header, including shared chrome from other plugins. */
body.pt-immersive-shell:has(.piltheo) .pil-suite-header > nav {gap:6px!important;justify-content:flex-end!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header .pil-suite-brand {display:none!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header .pil-suite-workspace {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);padding:0!important;border:0!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header .pil-suite-sidebar-button {margin-right:auto!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header :is(.pil-suite-switcher-label,.pil-suite-account-label) {display:none!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header :is(.pil-suite-account,.pil-suite-switcher)>summary::after {display:none!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header .pil-suite-account>summary::before {content:"";width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='9' r='3'/%3E%3Cpath d='M6 19c0-6 12-6 12 0'/%3E%3C/svg%3E") center/contain no-repeat}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header .theo-utility {display:inline-flex!important;align-items:center;justify-content:center;width:36px;height:36px;padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--theo-header-ink)!important;cursor:pointer}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header .theo-utility:hover {background:var(--theo-menu-hover)!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header .pil-suite-actions .pt-top {display:none!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header:not(.piltheo-native-header) .pil-suite-actions:not(.theo-extra-actions) {display:none!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header .pil-suite-signin {font-size:0!important}
body.pt-immersive-shell:has(.piltheo) .pil-suite-header .pil-suite-signin::before {content:"↪";font-size:22px}
/* 2.7.5: progressive disclosure; never show an empty history folder. */
body .piltheo .pt-side .pt-conversations[hidden]{display:none!important}
body .piltheo .pt-side .pt-history:empty:after{content:none!important;display:none!important}
body .piltheo .pt-side .pt-experience-library{margin-top:8px!important;border-top:1px solid var(--rail-line)!important;padding-top:6px!important}
body .piltheo .pt-side .pt-experience-library>summary{font-weight:650!important}
body .piltheo .pt-side .pt-experience-library>.pt-group{margin-left:9px!important}
body .piltheo .pt-side .pt-experience-library:not([open])>:not(summary),body .piltheo .pt-side .pt-group:not([open])>:not(summary){display:none!important}
body .piltheo .pt-side .pt-experience-library>.pt-group>summary{white-space:normal!important}
body.pt-immersive-shell{margin:0!important;padding:0!important}
body.pt-immersive-shell:has(.piltheo) .pt-top>span{display:none!important}
body.pt-immersive-shell:has(.piltheo) .pt-top .pt-theme{margin-left:auto!important}

body.pt-immersive-shell #pt-immersive-main .piltheo .pt-composer textarea,body .piltheo .pt-composer textarea{padding:14px 16px!important;line-height:1.5!important;box-sizing:border-box!important;background:transparent!important;color:var(--ink)!important}body .piltheo .pt-composer textarea::placeholder{opacity:1!important;color:var(--muted,#a9bad3)!important}

/* Specialist control accessibility: workspace scoped. */
body .piltheo :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid currentColor;outline-offset:3px}
body .piltheo :is(input:not([type=checkbox]):not([type=radio]),textarea,select){max-inline-size:100%;min-inline-size:0;box-sizing:border-box}
body .piltheo :is(button,label,summary){overflow-wrap:anywhere}
@media(max-width:480px){body .piltheo :is(form,fieldset){min-inline-size:0;max-inline-size:100%} body .piltheo textarea{max-inline-size:100%}}

