/* Project and canvas surfaces only. Approved home/chat styles stay in workspace-v3.css. */
/* Sidebar brand size explicitly requested after the home/chat approval. */
.vr.vr-v3 .vr-brand-row{min-height:68px;padding:0;justify-content:center}
.vr.vr-v3 .vr-brand{gap:4px;padding:4px 0;margin-left:0}
.vr.vr-v3 .vr-brand-row .vr-side-toggle{right:-8px}
.vr.vr-v3 .vr-brand>img{width:60px!important;height:60px!important;flex:0 0 60px!important}
.vr.vr-v3 .gpt-project-page{background:radial-gradient(ellipse 70% 370px at 50% 0%,var(--accentSoft),transparent 85%),var(--bg)!important;padding:26px 32px 48px!important}
.vr.vr-v3 .gpt-project-page>div{max-width:1080px!important;gap:26px!important}
.vr.vr-v3 .gpt-project-hero{flex-direction:column;align-items:center!important;text-align:center;gap:20px!important;padding:10px 0 8px}
.vr.vr-v3 .gpt-project-hero>div{flex:initial!important;width:100%;gap:12px!important}
.vr.vr-v3 .gpt-project-hero>.gpt-project-header-actions{display:flex;flex-direction:row;justify-content:center;align-items:center;flex-wrap:wrap}
.vr.vr-v3 .gpt-project-page #vr-projname{text-align:center;font-size:clamp(28px,3.2vw,42px)!important;line-height:1.35;padding:5px 10px!important;border-radius:12px;max-width:100%;text-overflow:ellipsis}
.vr.vr-v3 .gpt-project-page #vr-projname:hover{background:var(--hover)}
.vr.vr-v3 .gpt-project-page #vr-projname:focus-visible{outline:2px solid var(--accentText);background:var(--surface)}
.vr.vr-v3 .gpt-project-description{font-size:15px;line-height:1.65;color:var(--muted)}
.vr.vr-v3 .gpt-project-meta{font-size:12px;line-height:1.6;color:var(--muted)}
.vr.vr-v3 .gpt-project-hero>.vr-primary{min-height:46px!important;padding:0 22px!important;border-radius:13px!important;box-shadow:0 5px 15px color-mix(in srgb,var(--accent),transparent 85%)}
.vr.vr-v3 .gpt-project-kickoff{padding:24px;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:0 8px 26px #17112d04}
.vr.vr-v3 .gpt-project-kickoff-title{align-items:center;gap:14px}
.vr.vr-v3 .gpt-project-kickoff h2{font-size:21px;letter-spacing:-.025em;line-height:1.35}
.vr.vr-v3 .gpt-project-kickoff p{font-size:13px;line-height:1.6;max-width:65ch}
.vr.vr-v3 .gpt-project-icon{border-radius:14px;width:42px;height:42px;font-size:23px;background:var(--accentSoft)}
.vr.vr-v3 .gpt-project-actions{gap:12px;margin-top:20px}
.vr.vr-v3 .gpt-project-actions button{background:var(--bg);border:1px solid var(--border);border-radius:15px;padding:18px;gap:9px;min-width:0}
.vr.vr-v3 .gpt-project-actions button:hover{border-color:var(--accentText);background:var(--accentSoft)}
.vr.vr-v3 .gpt-project-actions strong{font-size:14px;line-height:1.5}
.vr.vr-v3 .gpt-project-actions button>span:last-child{font-size:12px;line-height:1.5}
.vr.vr-v3 .gpt-project-columns{gap:24px!important}
.vr.vr-v3 .gpt-project-columns>div:first-child{flex:1.6 1 360px!important}
.vr.vr-v3 .gpt-project-context{flex:1 1 280px!important;gap:16px!important}
.vr.vr-v3 .gpt-project-context>div{padding:22px!important;border-radius:19px!important;gap:12px!important;box-shadow:0 6px 24px #17112d03}
.vr.vr-v3 .gpt-project-tabs{display:flex;gap:6px;padding:5px;border-radius:13px;background:var(--surface2);align-self:flex-start;max-width:100%}
.vr.vr-v3 .gpt-project-tabs button{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--muted);min-height:40px;padding:0 16px;border-radius:10px;font:inherit;font-size:14px;cursor:pointer}
.vr.vr-v3 .gpt-project-tabs button[aria-pressed=true]{color:var(--text);background:var(--surface);box-shadow:0 2px 5px #17112d08;font-weight:600}
.vr.vr-v3 .gpt-project-tabs button span{font-size:11px;min-width:19px;padding:3px;border-radius:5px;background:var(--hover)}
.vr.vr-v3 .gpt-project-chat-list>.vr-card{border-radius:15px!important;padding:18px!important;min-height:78px!important;transition:border-color .18s,background .18s}
.vr.vr-v3 .gpt-project-chat-list>.vr-card:hover,.vr.vr-v3 .gpt-project-result-list .vr-card:hover{border-color:var(--accentText)!important;background:var(--accentSoft)!important}
.vr.vr-v3 .gpt-project-chat-list>.vr-card span{overflow-wrap:anywhere}
.vr.vr-v3 .gpt-project-chat-list>div,.vr.vr-v3 .gpt-project-result-list>span{padding:28px!important;background:var(--surface);border:1px dashed var(--border);border-radius:18px;line-height:1.7!important;font-size:14px!important}
.vr.vr-v3 .gpt-project-page #vr-projinstr{min-height:126px;max-height:400px;outline-offset:3px}
.vr.vr-v3 .gpt-project-result-list .gpt-project-result{padding:12px!important;gap:16px!important;border-radius:16px!important;min-height:96px!important}
.vr.vr-v3 .gpt-project-preview{width:104px;height:78px;object-fit:cover;flex:0 0 104px;border-radius:10px;background:var(--surface2)}
.vr.vr-v3 .gpt-project-result:has(.gpt-project-preview)>.gpt-project-result-icon{display:none!important}
.vr.vr-v3 .gpt-project-result>span:last-child{gap:7px!important;line-height:1.5;overflow-wrap:anywhere}
.vr.vr-v3 .gpt-project-file{display:flex;gap:10px;align-items:center;text-align:left;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font:inherit;cursor:pointer}
.vr.vr-v3 .gpt-project-file>span:first-child{color:var(--accentText);font-size:18px}
.vr.vr-v3 .gpt-project-file>span:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.vr.vr-v3 .gpt-project-file strong,.vr.vr-v3 .gpt-project-legacy-file strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}
.vr.vr-v3 .gpt-project-file small,.vr.vr-v3 .gpt-project-legacy-file small{font-size:11px;color:var(--muted);overflow-wrap:anywhere;line-height:1.5}
.vr.vr-v3 .gpt-project-file:hover{border-color:var(--accentText)}
.vr.vr-v3 .gpt-project-legacy-file{display:flex;flex-direction:column;gap:4px;background:var(--bg);padding:12px;border-radius:12px}
.vr.vr-v3 .gpt-project-no-files{font-size:12px;margin:0;color:var(--muted)}
.vr.vr-v3 .gpt-library-canvas{background:radial-gradient(ellipse 70% 280px at 50% 0%,var(--accentSoft),transparent 85%),var(--bg)!important;padding:28px 28px 24px!important}
.vr.vr-v3 .gpt-library-canvas .gpt-library-inner{max-width:1320px!important;gap:12px!important}
.vr.vr-v3 .gpt-library-canvas .gpt-library-inner>div:first-child{justify-content:center;position:relative}
.vr.vr-v3 .gpt-library-canvas .gpt-library-inner>div:first-child>.vr-phone-only{position:absolute;left:0}
.vr.vr-v3 .gpt-library-canvas .gpt-library-inner>p{text-align:center;font-size:14px;max-width:64ch;align-self:center}
.vr.vr-v3 .gpt-library-canvas h1{font-size:32px!important}
.vr.vr-v3 .gpt-library-canvas .gpt-segment{align-self:center;margin:3px 0 6px}
.vr.vr-v3 .gpt-library-canvas #vr-board-frame{border-radius:20px;box-shadow:0 10px 35px #17112d04}
@media(max-width:899px){.vr.vr-v3 .gpt-project-page{padding:20px!important}.vr.vr-v3 .gpt-project-columns>div{flex:1 1 100%!important}.vr.vr-v3 .gpt-library-canvas{padding:18px 16px!important}}
@media(max-width:599px){.vr.vr-v3 .gpt-project-page{padding:16px!important}.vr.vr-v3 .gpt-project-page>div{gap:22px!important}.vr.vr-v3 .gpt-project-hero{padding-top:0;gap:18px!important}.vr.vr-v3 .gpt-project-hero>.vr-primary{width:auto!important}.vr.vr-v3 .gpt-project-description{font-size:14px}.vr.vr-v3 .gpt-project-meta{font-size:11px}.vr.vr-v3 .gpt-project-kickoff{padding:18px}.vr.vr-v3 .gpt-project-kickoff h2{font-size:20px}.vr.vr-v3 .gpt-project-actions{gap:9px}.vr.vr-v3 .gpt-project-actions button{padding:15px}.vr.vr-v3 .gpt-project-tabs{width:100%}.vr.vr-v3 .gpt-project-tabs button{flex:1;justify-content:center;padding:0 10px}.vr.vr-v3 .gpt-project-page #vr-projinstr{font-size:16px!important}.vr.vr-v3 .gpt-library-canvas h1{font-size:27px!important}.vr.vr-v3 .gpt-library-canvas{padding:14px 10px!important}.vr.vr-v3 .gpt-library-canvas .gpt-segment{max-width:260px;margin:0 auto}.vr.vr-v3 .gpt-library-canvas #vr-board-frame{border-radius:15px}}
/* Favorites are scoped additions; the approved home/chat layout is unchanged. */
.vr.vr-v3 .gpt-favorites{display:flex;flex-direction:column;gap:3px;margin:0 0 13px;flex:0 0 auto;min-width:0}
.vr.vr-v3 .gpt-favorites-heading{display:flex;align-items:center;gap:9px;padding:9px 10px 7px;font-size:12px;font-weight:600;color:var(--muted)}
.vr.vr-v3 .gpt-favorites-heading>svg{color:var(--accentText);flex:0 0 14px}
.vr.vr-v3 .gpt-favorites-count{margin-left:auto;font-size:11px;font-weight:400}
.vr.vr-v3 .gpt-favorites-row{display:flex;align-items:center;gap:2px;min-width:0;border-radius:11px}
.vr.vr-v3 .gpt-favorites-row:hover,.vr.vr-v3 .gpt-favorites-row[data-active=true]{background:var(--hover)}
.vr.vr-v3 .gpt-favorites-open{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:53px;padding:8px 4px 8px 11px;border:0;border-radius:10px;background:transparent;text-align:left;color:var(--text);font:inherit;cursor:pointer}
.vr.vr-v3 .gpt-favorites-name{display:block;max-width:100%;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vr.vr-v3 .gpt-favorites-type{display:block;max-width:100%;font-size:10px;line-height:1.5;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vr.vr-v3 .gpt-favorites-remove{display:grid;place-items:center;flex:0 0 32px;min-height:34px;margin-right:5px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--accentText);cursor:pointer;opacity:.75}
.vr.vr-v3 .gpt-favorites-remove:hover,.vr.vr-v3 .gpt-favorites-remove:focus-visible{background:var(--accentSoft);opacity:1}
.vr.vr-v3 .gpt-project-favorite{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;align-self:center;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--muted);font:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
.vr.vr-v3 .gpt-project-favorite:hover{border-color:var(--accentText);color:var(--accentText)}
.vr.vr-v3 .gpt-project-favorite[aria-pressed=true]{background:var(--accentSoft);border-color:transparent;color:var(--accentText)}
.vr.vr-v3 .gpt-project-favorite[aria-pressed=true] svg{fill:currentColor}
@media(max-width:599px){.vr.vr-v3 .gpt-project-favorite{padding:0 13px;font-size:12px}.vr.vr-v3 .gpt-favorites-remove{flex-basis:36px;min-height:38px}}

/* Gallery and archive match the canvas surface. These selectors cannot restyle home/chat. */
.vr.vr-v3 .gpt-library:not(.gpt-library-canvas),.vr.vr-v3 .gpt-archive-page{background:radial-gradient(ellipse 70% 280px at 50% 0%,var(--accentSoft),transparent 85%),var(--bg)!important;padding:28px 28px 36px!important}
.vr.vr-v3 .gpt-library:not(.gpt-library-canvas) .gpt-library-inner{max-width:1180px!important;gap:14px!important}
.vr.vr-v3 .gpt-library:not(.gpt-library-canvas) .gpt-library-heading,.vr.vr-v3 .gpt-archive-heading{display:flex;justify-content:center;align-items:center;position:relative;min-height:42px}
.vr.vr-v3 .gpt-library:not(.gpt-library-canvas) .gpt-library-heading>.vr-phone-only,.vr.vr-v3 .gpt-archive-heading>.vr-phone-only{position:absolute;left:0;width:40px;height:40px;border-radius:10px;place-items:center;color:var(--text)}
.vr.vr-v3 .gpt-library:not(.gpt-library-canvas) h1,.vr.vr-v3 .gpt-archive-heading h1{font-family:Manrope,Inter,sans-serif;font-size:32px!important;font-weight:800;letter-spacing:-.035em;line-height:1.3;margin:0;color:var(--text)}
.vr.vr-v3 .gpt-library:not(.gpt-library-canvas) .gpt-library-intro,.vr.vr-v3 .gpt-archive-intro{text-align:center;font-size:14px;line-height:1.7;max-width:64ch;align-self:center;margin:0 auto 10px!important;color:var(--muted)}
.vr.vr-v3 .gpt-gallery-frame,.vr.vr-v3 .gpt-archive-frame{padding:22px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 10px 35px #17112d04;min-width:0}
.vr.vr-v3 .gpt-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.vr.vr-v3 .gpt-gallery-filters{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.vr.vr-v3 .gpt-gallery-filters button{border:1px solid transparent;border-radius:10px;background:var(--bg);color:var(--muted);font:inherit;font-size:13px;font-weight:500;min-height:42px;padding:0 13px;white-space:nowrap;cursor:pointer}
.vr.vr-v3 .gpt-gallery-filters button:hover{border-color:var(--border);color:var(--text)}
.vr.vr-v3 .gpt-gallery-filters button[aria-pressed=true]{background:var(--accent);color:#fff;font-weight:600}
.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-search{display:flex;align-items:center;gap:10px;flex:1 1 230px;max-width:330px;min-width:0;min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:11px;background:var(--bg);color:var(--muted);box-sizing:border-box}
.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-search>svg{flex:none}
.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-search:focus-within{border-color:var(--accentText);box-shadow:0 0 0 3px var(--accentSoft)}
.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-search input{width:100%;min-width:0;min-height:42px;border:0;background:transparent;color:var(--text);font:inherit;font-size:13px;padding:8px 0;outline:none!important}
.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-search input::placeholder{color:var(--muted);opacity:1}
.vr.vr-v3 .gpt-gallery-hidden{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 16px;margin-top:18px;border:1px solid var(--border);border-radius:12px;background:var(--accentSoft);font-size:12px;line-height:1.6;color:var(--muted)}
.vr.vr-v3 .gpt-gallery-hidden button{border:0;background:transparent;color:var(--accentText);min-height:36px;font:inherit;font-weight:600;padding:0;cursor:pointer;text-align:left}
.vr.vr-v3 .gpt-gallery-results-meta{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin:21px 1px 15px;font-size:12px;color:var(--muted)}
.vr.vr-v3 .gpt-gallery-results-meta>span:first-child{font-weight:600;color:var(--text)}
.vr.vr-v3 .gpt-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.vr.vr-v3 .gpt-gallery-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border);border-radius:17px;overflow:hidden;background:var(--surface);transition:border-color .15s,box-shadow .15s}
.vr.vr-v3 .gpt-gallery-card:hover,.vr.vr-v3 .gpt-gallery-card:focus-within{border-color:color-mix(in srgb,var(--accentText) 35%,var(--border));box-shadow:0 8px 24px #17112d08}
.vr.vr-v3 .gpt-gallery-preview{position:relative;display:block;width:100%;height:212px;padding:0;border:0;background:linear-gradient(145deg,var(--accentSoft),var(--bg));cursor:pointer;overflow:hidden;text-align:left}
.vr.vr-v3 .gpt-gallery-preview>img,.vr.vr-v3 .gpt-gallery-preview>video{display:block;width:100%;height:100%;object-fit:cover}
.vr.vr-v3 .gpt-gallery-preview-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;color:var(--accentText);font-size:13px}
.vr.vr-v3 .gpt-gallery-kind,.vr.vr-v3 .gpt-gallery-preview-label{position:absolute;left:12px;display:inline-flex;align-items:center;gap:12px;max-width:calc(100% - 24px);box-sizing:border-box;font-size:11px;font-weight:600;line-height:1.4;padding:6px 9px;border-radius:8px;background:#fffefc;color:#373844;box-shadow:0 2px 8px #17112d08}
.vr.vr-v3 .gpt-gallery-kind{top:12px}
.vr.vr-v3 .gpt-gallery-preview-label{bottom:12px;backdrop-filter:blur(8px)}
.vr.vr-v3 .gpt-gallery-card-body{display:flex;flex-direction:column;gap:10px;padding:17px;flex:1;min-width:0}
.vr.vr-v3 .gpt-gallery-card-body h2{font-family:Manrope,Inter,sans-serif;font-size:15px;font-weight:750;line-height:1.5;letter-spacing:-.02em;margin:0;color:var(--text);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.vr.vr-v3 .gpt-gallery-card-meta{font-size:12px;line-height:1.6;color:var(--muted);margin:0;overflow-wrap:anywhere}
.vr.vr-v3 .gpt-gallery-sample-note{font-size:11px;line-height:1.55;color:var(--accentText);margin:0}
.vr.vr-v3 .gpt-gallery-versions{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.vr.vr-v3 .gpt-gallery-versions button{width:34px;height:34px;border:1px solid var(--border);border-radius:9px;background:var(--bg);font-size:22px;color:var(--text);cursor:pointer}
.vr.vr-v3 .gpt-gallery-versions button:disabled{opacity:.4;cursor:default}
.vr.vr-v3 .gpt-gallery-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:4px}
.vr.vr-v3 .gpt-gallery-card-actions button,.vr.vr-v3 .gpt-gallery-card-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font:inherit;font-size:12px;font-weight:550;line-height:1.4;color:var(--text);text-decoration:none;cursor:pointer}
.vr.vr-v3 .gpt-gallery-card-actions .gpt-gallery-open{background:var(--accentSoft);border-color:transparent;color:var(--accentText)}
.vr.vr-v3 .gpt-gallery-card-actions .gpt-gallery-hide{border-color:transparent;color:var(--muted);padding:0 5px;margin-left:auto}
.vr.vr-v3 .gpt-gallery-card-actions button:hover,.vr.vr-v3 .gpt-gallery-card-actions a:hover{border-color:var(--accentText);color:var(--accentText)}
.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:15px;padding:48px 24px 52px;background:var(--bg);border:1px dashed var(--border);border-radius:17px}
.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-empty-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:var(--accentSoft);color:var(--accentText);margin-bottom:2px}
.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-empty h2{font-family:Manrope,Inter,sans-serif;font-size:23px;line-height:1.35;letter-spacing:-.03em;margin:0;color:var(--text)}
.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-empty p{font-size:14px;line-height:1.75;max-width:49ch;color:var(--muted);margin:0}
.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-empty button{min-height:44px;padding:0 18px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--accentText);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.vr.vr-v3 .gpt-archive-inner{width:100%;max-width:1080px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.vr.vr-v3 .gpt-archive-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding-bottom:22px;margin-bottom:20px;border-bottom:1px solid var(--border)}
.vr.vr-v3 .gpt-archive-toolbar>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px}
.vr.vr-v3 .gpt-archive-toolbar h2{font-size:14px;font-weight:650;line-height:1.5;margin:0;color:var(--text)}
.vr.vr-v3 .gpt-archive-toolbar>div>span{font-size:12px;color:var(--muted)}
.vr.vr-v3 .gpt-archive-list{display:flex;flex-direction:column;gap:12px}
.vr.vr-v3 .gpt-archive-card{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--bg)}
.vr.vr-v3 .gpt-archive-open{flex:1 1 310px;min-width:0;display:flex;align-items:center;gap:14px;border:0;background:transparent;padding:0;text-align:left;color:var(--text);cursor:pointer}
.vr.vr-v3 .gpt-archive-chat-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--surface);color:var(--accentText);flex:none}
.vr.vr-v3 .gpt-archive-card-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.vr.vr-v3 .gpt-archive-card-copy strong{font-family:Manrope,Inter,sans-serif;font-size:15px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}
.vr.vr-v3 .gpt-archive-snippet{font-size:13px;line-height:1.6;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.vr.vr-v3 .gpt-archive-meta{font-size:11px;line-height:1.5;color:var(--muted)}
.vr.vr-v3 .gpt-archive-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.vr.vr-v3 .gpt-archive-actions button{min-height:42px;padding:0 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font:inherit;font-size:12px;font-weight:550;cursor:pointer}
.vr.vr-v3 .gpt-archive-actions .gpt-archive-restore{border-color:transparent;background:var(--accentSoft);color:var(--accentText)}
.vr.vr-v3 .gpt-archive-actions .gpt-archive-delete{border-color:transparent;background:transparent;color:var(--danger)}
.vr.vr-v3 .gpt-archive-actions button:hover{border-color:currentColor}
.vr.vr-v3 .gpt-archive-note{max-width:80ch;margin:21px auto 0;text-align:center;font-size:12px;line-height:1.7;color:var(--muted)}
@media(max-width:1099px){.vr.vr-v3 .gpt-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vr.vr-v3 .gpt-gallery-toolbar .gpt-section-search{flex-basis:100%;max-width:none}.vr.vr-v3 .gpt-archive-card{align-items:flex-start}.vr.vr-v3 .gpt-archive-actions{margin-left:58px}}
@media(max-width:599px){.vr.vr-v3 .gpt-library:not(.gpt-library-canvas),.vr.vr-v3 .gpt-archive-page{padding:14px 10px 24px!important}.vr.vr-v3 .gpt-library:not(.gpt-library-canvas) h1,.vr.vr-v3 .gpt-archive-heading h1{font-size:27px!important}.vr.vr-v3 .gpt-library:not(.gpt-library-canvas) .gpt-library-intro,.vr.vr-v3 .gpt-archive-intro{font-size:13px;max-width:36ch;margin-bottom:8px!important}.vr.vr-v3 .gpt-gallery-frame,.vr.vr-v3 .gpt-archive-frame{padding:14px;border-radius:16px}.vr.vr-v3 .gpt-gallery-grid{grid-template-columns:1fr;gap:16px}.vr.vr-v3 .gpt-gallery-filters{gap:6px}.vr.vr-v3 .gpt-gallery-filters button{font-size:12px;min-height:40px;padding:0 11px}.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-search{max-width:none;flex-basis:100%}.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-search input{font-size:16px}.vr.vr-v3 .gpt-gallery-preview{height:218px}.vr.vr-v3 .gpt-gallery-card-actions button,.vr.vr-v3 .gpt-gallery-card-actions a{min-height:44px}.vr.vr-v3 .gpt-gallery-results-meta{font-size:11px;gap:8px}.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-empty{padding:34px 18px 38px}.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-empty h2{font-size:21px}.vr.vr-v3 :is(.gpt-gallery-frame,.gpt-archive-frame) .gpt-section-empty p{font-size:13px}.vr.vr-v3 .gpt-archive-toolbar{gap:14px}.vr.vr-v3 .gpt-archive-card{padding:15px;gap:16px}.vr.vr-v3 .gpt-archive-open{gap:11px;flex-basis:100%}.vr.vr-v3 .gpt-archive-chat-icon{width:36px;height:36px;border-radius:10px}.vr.vr-v3 .gpt-archive-actions{margin-left:0;gap:6px}.vr.vr-v3 .gpt-archive-actions button{min-height:44px;padding:0 10px}.vr.vr-v3 .gpt-archive-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){.vr.vr-v3 .gpt-gallery-card{transition:none}}

/* Section headings share the page glow instead of covering it with a solid strip. */
.vr.vr-v3 .gpt-archive-heading,.vr.vr-v3 .ideas-v3-hero{background:transparent}

/* A single menu outside the sidebar scroller stays beside its trigger. */
.vr.vr-v3 .vr-chat-menu{position:fixed;right:auto;z-index:80;min-width:0;width:184px;padding:4px;border-radius:10px;gap:0;overflow:auto;box-shadow:0 8px 28px rgba(20,28,55,.14)}
.vr.vr-v3 .vr-chat-menu button{flex:none;min-height:32px;padding:0 8px;border-radius:6px;gap:8px;font-size:12px;line-height:18px;white-space:nowrap}
.vr.vr-v3 .vr-chat-menu button svg{width:14px;height:14px;flex:none}
.vr.vr-v3 .vr-chat-menu button:last-child{margin-top:4px;border-top:1px solid var(--border);border-radius:0 0 6px 6px}
@media(max-width:899px),(pointer:coarse){.vr.vr-v3 .vr-chat-menu button{min-height:40px}}
/* Превью сайта в галерее: живая страница, уменьшенная в 4 раза (клики проходят на карточку) */
.vr.vr-v3 .gpt-site-thumb{position:absolute;inset:0;overflow:hidden;background:#fff;pointer-events:none}
.vr.vr-v3 .gpt-site-thumb>iframe{width:400%;height:400%;border:0;transform:scale(.25);transform-origin:0 0;pointer-events:none;background:#fff}
