.proto-view{flex-direction:column;gap:14px;min-width:0;padding:20px 28px 40px;display:flex}.proto-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.proto-heading{min-width:0}.proto-heading .wiki-page-title{flex-wrap:wrap;align-items:center;gap:10px;margin:4px 0;display:flex}.proto-heading .wiki-page-title i{color:var(--wiki-accent);font-size:.8em}.proto-theme-line{align-items:center;gap:6px;margin:2px 0 0;font-size:13px;display:flex}.proto-badge{background:var(--wiki-accent-soft);color:var(--wiki-accent);border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600}.proto-actions{gap:8px;display:flex}.proto-toolbar{border:1px solid var(--wiki-border);background:var(--wiki-surface);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.proto-screens{flex-wrap:wrap;gap:4px;min-width:0;display:flex}.proto-screen-tab{color:var(--wiki-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;padding:5px 10px;font-size:13px;text-decoration:none}.proto-screen-tab:hover{color:var(--wiki-text);background:#f1f5f9}.proto-screen-tab.is-active{border-color:var(--wiki-border);background:var(--wiki-accent-soft);color:var(--wiki-accent);font-weight:600}.proto-icon-button.is-disabled{opacity:.35;cursor:default}.proto-icon-button.is-disabled:hover{background:var(--wiki-surface)}.proto-screen-nav{flex:100%;align-items:center;gap:6px;min-width:0;display:flex}.proto-screen-nav>.proto-icon-button{flex:none;width:30px;height:30px}.proto-screens.is-strip,.proto-screens.is-expanded{counter-reset:proto-screen;flex:auto}.proto-screens.is-strip{scrollbar-width:none;flex-wrap:nowrap;scroll-padding-inline:24px;overflow-x:auto}.proto-screens.is-strip::-webkit-scrollbar{display:none}.proto-screens.is-strip.fades-end{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 48px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 48px),#0000)}.proto-screens.is-strip.fades-start{-webkit-mask-image:linear-gradient(90deg,#0000,#000 48px);mask-image:linear-gradient(90deg,#0000,#000 48px)}.proto-screens.is-strip.fades-start.fades-end{-webkit-mask-image:linear-gradient(90deg,#0000,#000 48px calc(100% - 48px),#0000);mask-image:linear-gradient(90deg,#0000,#000 48px calc(100% - 48px),#0000)}.proto-screens.is-expanded{flex-wrap:wrap;row-gap:4px;max-height:40vh;overflow-y:auto}.proto-screens .proto-screen-tab{white-space:nowrap;text-overflow:ellipsis;flex:none;max-width:260px;overflow:hidden}.proto-screen-nav:has(.proto-screens.is-expanded){align-items:flex-start}.proto-screens-expand.proto-icon-button{flex:none;width:30px;height:30px}.proto-screens-expand[aria-expanded=true]{background:var(--wiki-accent-soft);color:var(--wiki-accent)}.proto-screens .proto-screen-tab:before,.proto-screen-number{min-width:18px;color:var(--wiki-muted);text-align:center;background:#eef2f6;border-radius:5px;margin-right:6px;padding:0 4px;font-size:11px;font-weight:600;line-height:18px;display:inline-block}.proto-screens:is(.is-strip,.is-expanded) .proto-screen-tab:before{counter-increment:proto-screen;content:counter(proto-screen)}.proto-screens .proto-screen-tab.is-active:before,.proto-screen-menu a.is-active .proto-screen-number{background:var(--wiki-accent);color:#fff}.proto-screen-single{color:var(--wiki-text);padding:5px 4px;font-size:13px;font-weight:600}.proto-screen-list{flex:none;position:relative}.proto-screen-count{white-space:nowrap;border:1px solid var(--wiki-border);background:var(--wiki-surface);height:30px;color:var(--wiki-muted);font:inherit;cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:0 10px;font-size:12.5px;display:inline-flex}.proto-screen-count:hover,.proto-screen-count[aria-expanded=true]{color:var(--wiki-text);background:#f1f5f9}.proto-screen-menu{z-index:70;border:1px solid var(--wiki-border);background:var(--wiki-surface);border-radius:10px;flex-direction:column;gap:6px;width:min(360px,86vw);padding:8px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 30px #0f172a29}.proto-screen-filter{border:1px solid var(--wiki-border);background:var(--wiki-surface);height:30px;color:var(--wiki-text);font:inherit;border-radius:7px;padding:0 10px;font-size:13px}.proto-screen-menu ol{max-height:min(60vh,440px);margin:0;padding:0;list-style:none;overflow-y:auto}.proto-screen-menu a{color:var(--wiki-text);border-radius:7px;align-items:center;padding:6px 8px;font-size:13px;text-decoration:none;display:flex}.proto-screen-menu a:hover{background:#f1f5f9}.proto-screen-menu a.is-active{background:var(--wiki-accent-soft);color:var(--wiki-accent);font-weight:600}.proto-screen-empty{padding:6px 8px;font-size:13px}.proto-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.proto-segment{border:1px solid var(--wiki-border);border-radius:8px;display:inline-flex;overflow:hidden}.proto-segment button{border:0;border-right:1px solid var(--wiki-border);background:var(--wiki-surface);height:30px;color:var(--wiki-muted);font:inherit;cursor:pointer;align-items:center;gap:6px;padding:0 10px;font-size:12.5px;display:inline-flex}.proto-segment button:last-child{border-right:0}.proto-segment button:hover{color:var(--wiki-text);background:#f8fafc}.proto-segment button.is-active{background:var(--wiki-accent);color:#fff}.proto-icon-button{border:1px solid var(--wiki-border);background:var(--wiki-surface);width:32px;height:32px;color:var(--wiki-text);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.proto-icon-button:hover{background:#f1f5f9}.proto-canvas{background:repeating-linear-gradient(45deg,#eef2f6,#eef2f6 10px,#e8edf3 10px 20px);border-radius:12px;justify-content:center;padding:18px;display:flex;position:relative}.proto-stage{justify-content:center;width:100%;display:flex;position:relative;overflow:hidden}.proto-frame{background:#fff;border:0;border-radius:6px;display:block;box-shadow:0 1px 2px #0f172a14,0 8px 24px #0f172a1f}.proto-stage .proto-frame{transform-origin:top;flex:none}.proto-step{z-index:2;pointer-events:none;align-items:flex-start;width:0;padding-top:120px;display:flex;position:absolute;top:0;bottom:0}.proto-step.is-previous{left:6px}.proto-step.is-next{justify-content:flex-end;right:6px}.proto-step-button{pointer-events:auto;border:1px solid var(--wiki-border);width:44px;height:44px;color:var(--wiki-text);background:#ffffffeb;border-radius:999px;flex:none;justify-content:center;align-items:center;font-size:15px;text-decoration:none;transition:opacity .15s,transform .15s;display:inline-flex;position:sticky;top:calc(50vh - 22px);box-shadow:0 2px 10px #0f172a2e}.proto-step.is-next .proto-step-button{margin-left:-44px}.proto-step-button:hover{background:#fff;transform:scale(1.06)}.proto-step-button.is-disabled{display:none}@media (hover:hover){.proto-step-button{opacity:.35}.proto-canvas:hover .proto-step-button,.proto-step-button:focus-visible{opacity:1}}.proto-view.is-full{z-index:60;background:#0f172a;gap:10px;padding:12px;position:fixed;inset:0;overflow:auto}.proto-view.is-full .proto-header{display:none}.proto-view.is-full .proto-canvas{background:0 0;padding:0}.proto-errors{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:8px 12px;font-size:13px}.proto-errors ul{margin:6px 0 0;padding-left:18px}.proto-uses{margin-top:4px}.proto-uses ul{flex-direction:column;gap:4px;padding:0;list-style:none;display:flex}.proto-editor{flex-direction:column;height:100%;min-height:0;display:flex}.proto-editor-bar{border-bottom:1px solid var(--wiki-border);background:var(--wiki-surface);align-items:center;gap:12px;padding:10px 16px;display:flex}.proto-editor-bar .wiki-trail{margin-right:auto;text-decoration:none}.proto-status{color:var(--wiki-muted);font-size:13px}.proto-status.is-dirty{color:#b45309}.wiki-alert-inline{color:var(--wiki-danger)}.proto-editor-body{flex:1;min-height:0;display:flex}.proto-editor-screens{border-right:1px solid var(--wiki-border);background:#fbfcfd;flex-direction:column;flex:0 0 220px;gap:8px;padding:12px;display:flex;overflow:auto}.proto-editor-screens ol{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.proto-editor-screen{width:100%;color:var(--wiki-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:space-between;align-items:baseline;gap:6px;padding:6px 8px;font-size:13px;display:flex}.proto-editor-screen code{color:var(--wiki-muted);font-size:11px}.proto-partial-tag{color:#0f766e;margin-left:4px;font-size:11px;font-style:normal}.proto-editor-screen:hover{background:#f1f5f9}.proto-editor-screens li.is-active>.proto-editor-screen,.proto-editor-config.is-active{border-color:var(--wiki-border);background:var(--wiki-accent-soft);color:var(--wiki-accent)}.proto-editor-screen-tools{flex-wrap:wrap;gap:4px;padding:6px 4px 8px;display:flex}.proto-editor-screen-tools input{border:1px solid var(--wiki-border);min-width:0;font:inherit;border-radius:6px;flex:100%;padding:4px 6px;font-size:12.5px}.proto-editor-screen-tools select{border:1px solid var(--wiki-border);font:inherit;border-radius:6px;flex:1;padding:3px 4px;font-size:12px}.proto-editor-screen-tools button{border:1px solid var(--wiki-border);background:var(--wiki-surface);cursor:pointer;border-radius:6px;width:28px;height:26px}.proto-editor-screen-tools button:disabled{opacity:.4;cursor:default}.proto-editor-config{justify-content:flex-start;gap:8px;margin-top:auto}.proto-editor-code{border-right:1px solid var(--wiki-border);flex-direction:column;flex:1 1 0;min-width:0;display:flex}.proto-editor-cm{flex:1;min-height:0;overflow:hidden}.proto-editor-cm .cm-editor{height:100%;font-size:13px}.proto-editor-cm .cm-scroller{font-family:ui-monospace,Consolas,monospace}.proto-editor-config-form{flex-direction:column;gap:8px;padding:12px 14px 4px;font-size:13px;display:flex}.proto-editor-config-form label{color:#334155;flex-direction:column;gap:3px;font-weight:600;display:flex}.proto-editor-config-form input:not([type=checkbox]),.proto-editor-config-form select{border:1px solid var(--wiki-border);font:inherit;border-radius:6px;padding:5px 8px;font-weight:400}.proto-editor-row{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}.proto-check{align-items:center;flex-direction:row!important;gap:6px!important;font-weight:400!important}.proto-libs{border:1px solid var(--wiki-border);border-radius:8px;flex-wrap:wrap;gap:6px 14px;margin:0;padding:8px 10px;display:flex}.proto-libs legend{color:#334155;padding:0 4px;font-weight:600}.proto-editor-preview{background:#eef2f6;flex-direction:column;flex:1 1 0;gap:10px;min-width:0;padding:12px;display:flex;overflow:auto}.proto-editor-preview .proto-segment{align-self:flex-start}.proto-issues{flex-direction:column;gap:4px;margin:0;padding:0;font-size:12.5px;list-style:none;display:flex}.proto-issues li{color:#9a3412;background:#fff7ed;border-radius:6px;padding:6px 8px}.proto-issues li.is-error{color:#991b1b;background:#fef2f2}.proto-history-view{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.proto-history-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.proto-embed{border:1px solid var(--wiki-border);background:#eef2f6;border-radius:10px;margin:16px 0;overflow:hidden}.proto-embed-bar{background:var(--wiki-surface);border-bottom:1px solid var(--wiki-border);justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;font-size:13px;display:flex}.proto-embed-bar a{text-decoration:none}.proto-embed-links{align-items:center;gap:12px;display:inline-flex}.proto-embed .proto-stage{padding:0}.proto-embed .proto-frame{box-shadow:none;border-radius:0}@media (max-width:900px){.proto-view{padding:16px}.proto-label{display:none}.proto-editor-body{flex-direction:column;overflow:auto}.proto-editor-screens{border-right:0;border-bottom:1px solid var(--wiki-border);flex:none}.proto-editor-code{border-right:0;min-height:360px}.proto-canvas{padding:8px}}.proto-view .sr-only,.proto-editor .sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.proto-export .proto-export-button{width:auto;font:inherit;gap:6px;padding:0 10px;font-size:12px}.proto-export .pres-export-menu{min-width:320px;left:auto;right:0}.proto-export .pres-export-menu button{white-space:nowrap}.proto-export-custom{z-index:20;border:1px solid var(--wiki-border);background:var(--wiki-surface);width:320px;color:var(--wiki-text);border-radius:8px;flex-direction:column;gap:10px;padding:12px;font-size:13px;display:flex;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 8px 24px #0f172a1f}.proto-export-row{align-items:flex-end;gap:10px;display:flex}.proto-export-row>label{align-items:center;gap:6px;display:inline-flex}.proto-export-field{color:var(--wiki-muted);flex-direction:column;flex:1;gap:4px;font-size:12px;display:flex}.proto-export-row>.proto-export-field{align-items:stretch}.proto-export-field input,.proto-export-field select{border:1px solid var(--wiki-border);background:var(--wiki-surface);height:30px;color:var(--wiki-text);font:inherit;border-radius:6px;padding:0 8px;font-size:13px}.proto-export-field input:disabled{opacity:.5}.proto-export-check{align-items:flex-start;gap:6px;display:flex}.proto-export-problem{color:#b91c1c;margin:0;font-size:12px}.proto-export-actions{justify-content:flex-end}.proto-social-select{border:1px solid var(--wiki-border);background:var(--wiki-surface);height:30px;color:var(--wiki-muted);font:inherit;cursor:pointer;border-radius:8px;padding:0 8px;font-size:12.5px}.proto-social-select.is-active{border-color:var(--wiki-accent);background:var(--wiki-accent);color:#fff}.proto-social-select option{background:var(--wiki-surface);color:var(--wiki-text)}.proto-toggle{color:var(--wiki-muted);cursor:pointer;align-items:center;gap:6px;font-size:12.5px;display:inline-flex}.proto-replay{border:1px solid var(--wiki-border);background:var(--wiki-surface);height:30px;color:var(--wiki-text);font:inherit;cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:0 10px;font-size:12.5px;display:inline-flex}.proto-replay:hover{background:#f1f5f9}.proto-safe-zone{pointer-events:none;flex-direction:column;justify-content:space-between;display:flex;position:absolute;top:0;left:50%;transform:translate(-50%)}.proto-safe-band{background:repeating-linear-gradient(-45deg,#e11d482e,#e11d482e 8px,#e11d4814 8px 16px);border:0 dashed #e11d4899;justify-content:center;align-items:center;display:flex}.proto-safe-band.is-top{border-bottom-width:1px}.proto-safe-band.is-bottom{border-top-width:1px}.proto-safe-band span{color:#fff;background:#e11d48d9;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.proto-screen-nav a.proto-icon-button{text-decoration:none}
