.feature-preview-open{overflow:hidden}
.feature-preview-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(1240px,calc(100% - 32px));height:min(940px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel,#fff);color:var(--ink);box-shadow:0 24px 100px #061e2c40;font-family:Proco,Arial,sans-serif}
.feature-preview-dialog[open]{display:flex;flex-direction:column}
.feature-preview-dialog::backdrop{background:#071f19a6;backdrop-filter:blur(5px)}
.feature-preview-dialog *{box-sizing:border-box}
.feature-preview-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 18px;flex-shrink:0}
.feature-preview-eyebrow{margin:0 0 6px;color:var(--forest);font-size:11px;letter-spacing:1px;font-weight:700}
.feature-preview-header h2{font-size:25px;line-height:1.25;margin:0 0 8px;color:var(--ink);letter-spacing:-.5px}
#feature-preview-description{font-size:14px;line-height:1.6;margin:0;color:var(--muted);max-width:800px}
.feature-preview-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);font-size:28px;line-height:1;cursor:pointer}
.feature-preview-tabs{display:flex;position:relative;flex-shrink:0;gap:6px;padding:0 24px 12px;overflow-x:auto;overscroll-behavior:contain;scrollbar-width:thin;border-bottom:1px solid var(--line)}
.feature-preview-tabs button{flex-shrink:0;min-height:44px;border:1px solid transparent;border-radius:8px;padding:10px 16px;background:transparent;color:var(--muted);font:600 13px/1.4 Proco,Arial,sans-serif;cursor:pointer}
.feature-preview-tabs button[aria-selected="true"]{background:var(--sage,#e9f3ed);border-color:var(--line);color:var(--forest)}
.feature-preview-panel{min-width:0;width:100%;display:flex;flex-direction:column;flex:1;min-height:0;background:var(--canvas,#f5f7f5)}
.feature-preview-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-shrink:0;min-height:50px;padding:5px 24px;color:var(--muted);font-size:12px}
.feature-preview-toolbar button{flex-shrink:0;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--forest);font:600 12px/1.3 Proco,Arial,sans-serif;cursor:pointer}
.feature-preview-stage{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;background:var(--panel)}
.feature-preview-stage picture{display:block;width:100%}
.feature-preview-stage img{display:block;width:100%;height:auto;border:0}
.feature-preview-stage.is-enlarged picture{width:200%}
.feature-preview-stage [data-preview-error]{margin:24px;color:var(--ink);font-size:16px}
.feature-preview-footer{display:flex;justify-content:flex-end;align-items:center;gap:18px;padding:14px 24px;border-top:1px solid var(--line);background:var(--panel);flex-shrink:0}
.feature-preview-footer .btn{flex-shrink:0;min-height:44px;font-size:13px;color:#fff}
.feature-preview-dialog :focus-visible{outline:3px solid #58a68b;outline-offset:-3px}
@media(max-width:680px){.feature-preview-dialog{width:calc(100% - 16px);height:calc(100dvh - 16px - env(safe-area-inset-bottom,0px));border-radius:13px}.feature-preview-header{gap:10px;padding:16px}.feature-preview-eyebrow{font-size:9px;letter-spacing:.6px}.feature-preview-header h2{font-size:21px;line-height:1.3}.feature-preview-close{width:44px;height:44px}#feature-preview-description{font-size:13px}.feature-preview-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:0 12px 10px;overflow:visible}.feature-preview-tabs button{min-width:0;font-size:12px;padding:8px 6px;white-space:normal}.feature-preview-toolbar{padding:4px 12px;font-size:10px;gap:8px;min-height:48px}.feature-preview-toolbar button{font-size:12px}.feature-preview-footer{padding:10px 12px;gap:10px}.feature-preview-footer .btn{font-size:12px;padding:10px 12px}}
@media(max-height:500px){.feature-preview-header{padding:10px 16px}.feature-preview-header h2{font-size:19px;margin-bottom:0}.feature-preview-eyebrow,#feature-preview-description{display:none}.feature-preview-tabs{padding-bottom:6px}.feature-preview-toolbar{min-height:40px}.feature-preview-footer{padding:7px 16px}}

@media(orientation:landscape) and (max-height:500px){.feature-preview-tabs{display:flex;gap:4px;overflow-x:auto;padding:0 12px 6px}.feature-preview-tabs button{font-size:11px;padding:6px 8px;white-space:nowrap}}
@media(max-width:680px) and (max-height:650px){#feature-preview-description{display:none}}
