:host{display:block;color:#eef4f8;font:15px/1.5 Outfit,'Segoe UI',Arial,sans-serif;min-width:0;--line:rgba(150,190,215,.2);--gold:#f0c674}
*{box-sizing:border-box}button,select,input{font:inherit;color:inherit;background:#14283b;border:1px solid rgba(150,190,215,.3);border-radius:8px;padding:7px 12px;min-height:38px}button,select{cursor:pointer}button:hover{border-color:var(--gold);color:#ffe1a2}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}a{color:var(--gold);text-underline-offset:4px}
.preview-shell{width:100%;min-width:0}.preview-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px}.preview-title{margin-right:auto;color:#eef4f8;font-size:15px;font-weight:600}.preview-toolbar label{display:flex;align-items:center;gap:6px;font-size:14px;color:#a9bccb}.preview-toolbar select{max-width:100%}.preview-toolbar button{font-size:14px}.preview-body{min-width:0}.preview-window{min-width:0}iframe{display:block;width:100%;height:var(--preview-frame-height,760px);border:0;border-radius:12px;background:#0d131b}.preview-status{font-size:14px;color:#a9bccb;min-height:20px;margin:10px 0 0}.preview-footer{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:#a9bccb;padding:8px 0 0}.preview-footer a{text-decoration:none}
:host([mode=tutorial]) .preview-body{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;align-items:start}:host([mode=tutorial]) iframe{height:820px}:host([mode=tutorial]) .preview-window{position:sticky;top:16px}.preview-guide{background:#0f1e2e;border:1px solid rgba(150,190,215,.2);border-radius:14px;padding:24px;min-width:0}.preview-guide>input{width:100%;margin-bottom:22px}.guide-eyebrow{display:block;color:var(--gold);font-size:13px;font-weight:600;letter-spacing:1.2px;margin:0 0 8px}.guide-content h2{font:700 30px/1.2 Outfit,'Segoe UI',sans-serif;letter-spacing:-.02em;color:#eef4f8;margin:0 0 14px}.guide-content p{font-size:16px;line-height:1.65;color:#cfdbe5;margin:10px 0}.selected-setting{margin:22px 0;padding:18px;border-left:3px solid var(--gold);border-radius:0 12px 12px 0;background:#14283b}.selected-setting h3{font-size:19px;line-height:1.4;color:#f0c674;margin:8px 0}.selected-setting strong{font-size:15px;color:#f0c674}.guide-section{border-top:1px solid var(--line);padding:16px 0}.guide-section summary{font-size:18px;font-weight:600;color:#eef4f8;cursor:pointer}.guide-section li{color:#cfdbe5;line-height:1.6;margin:8px 0;font-size:15.5px}.guide-section ul{padding-left:20px}.guide-results{display:grid;gap:6px;margin-bottom:20px}.guide-results[hidden]{display:none}.guide-results button{text-align:left;font-size:15px}.guide-results p{font-size:15px;color:#a9bccb}
:host([expanded]){position:fixed;inset:0;z-index:100000;background:#08131e;padding:18px;overflow:auto}:host([expanded]) .preview-shell{height:100%;display:flex;flex-direction:column}:host([expanded]) .preview-body{flex:1;min-height:0}:host([expanded]) .preview-window{height:100%;display:flex;flex-direction:column;position:static}:host([expanded]) iframe{height:100%;min-height:0;flex:1}:host([expanded]) .preview-footer{flex:none}:host([expanded]) .preview-guide{max-height:100%;overflow:auto}:host([expanded]) .preview-status{flex:none}
@media(max-width:1200px){:host([mode=tutorial]) .preview-body{grid-template-columns:minmax(0,1fr) 320px;gap:16px}.preview-guide{padding:18px}}
@media(max-width:900px){:host([mode=tutorial]) .preview-body{display:block}:host([mode=tutorial]) .preview-window{position:static}:host([mode=tutorial]) iframe{height:720px}.preview-guide{margin-top:20px}:host([expanded][mode=tutorial]) .preview-body{overflow:auto}:host([expanded][mode=tutorial]) iframe{height:calc(100vh - 180px);min-height:500px}:host([expanded][mode=tutorial]) .preview-window{height:auto}}
@media(max-width:560px){iframe{height:660px}.preview-toolbar{gap:8px}.preview-title{width:100%;font-size:15px}.preview-toolbar label{font-size:13px;gap:4px}.preview-toolbar select{font-size:13px}.preview-toolbar button{font-size:13px;padding:6px 9px}.preview-footer{flex-direction:column;gap:6px}:host([expanded]){padding:8px}:host([mode=tutorial]) iframe{height:680px}}
.guide-jump,.panel-jump{display:none}.preview-guide{scroll-margin-top:16px}.guide-content,.guide-results{overflow-wrap:anywhere}.guide-section summary{padding:3px 0}.preview-toolbar>button{white-space:nowrap}
@media(max-width:900px){.guide-jump,.panel-jump{display:inline-block}.panel-jump{margin-bottom:14px}.preview-guide{scroll-margin-top:12px}:host([expanded][mode=tutorial]) .preview-guide{max-height:none;overflow:visible}:host([expanded][mode=tutorial]) .preview-window{min-height:0}:host([expanded][mode=tutorial]) iframe{flex:none;height:max(500px,calc(100dvh - 190px))}}
@media(max-width:560px){button,select,input{min-height:40px}.preview-toolbar{column-gap:7px}.preview-guide{padding:16px}.guide-content h2{font-size:27px}.guide-section summary{min-height:38px;align-content:center}.guide-results button{min-height:44px}:host([expanded]) .preview-toolbar{flex:none}}
.preview-guide>summary{cursor:pointer;font-weight:600;color:#eef4f8}.preview-guide[open]>summary{margin-bottom:16px}
:host([mode=tutorial]) .preview-body:has(>details.preview-guide:not([open])){grid-template-columns:minmax(0,1fr)}
