/* Measured from the signed-in reference on 2026-10-16. Shell only. */
body[data-razum-shell] { --shell-ease:cubic-bezier(.4,0,.2,1);--shell-font:'Schibsted Grotesk',Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-family:var(--shell-font); }
body[data-razum-shell] :is(.workspace-shell,.workspace-shell #workspace-ai-prompt) { font-family:var(--shell-font); }
body[data-razum-shell] .button { border-radius:6px;font-weight:500; }
body[data-razum-shell] .button-primary:hover { transform:none; }
body[data-razum-shell] dialog { border-radius:12px; }
body[data-razum-shell] :is(.client-brief,.readiness-dialog) { font-family:var(--shell-font);background:#171719;color:#f9f6f9;border-color:#73737f; }
body[data-razum-shell] .client-brief { --brief-bg:#171719;--brief-panel:#202024;--brief-text:#f9f6f9;--brief-muted:#b8b8c1;--brief-line:#73737f;--brief-accent:#91c1ff; }
body[data-razum-shell] :is(.brief-sidebar,.brief-footer,.readiness-header) { background:#171719;border-color:#3d3d45; }
body[data-razum-shell] :is(.brief-source-card,.brief-estimate,.brief-previous-plan) { background:#202024;border-color:#73737f; }
body[data-razum-shell] :is(.client-brief,.readiness-dialog) :is(input,textarea,select) { background:#202024;color:#f9f6f9; }
body[data-razum-shell] :is(.client-brief,.readiness-dialog) button:not(.brief-primary) { background:#29292e;color:#f9f6f9;border-radius:6px; }
body[data-razum-shell] .brief-sidebar nav button { background:transparent; }
body[data-razum-shell] .brief-sidebar nav button[aria-current=step] { background:#29292e;border-color:#73737f; }
body.reference-catalog { background:#111114;color:#f9f6f9; }
.reference-catalog :is(.card,dialog) { background:#171719;border-color:#3d3d45;border-radius:12px; }
.reference-catalog :is(.notice,.empty-picture) { background:#202024;border-color:#73737f;color:#b8b8c1; }
.reference-catalog .card h2 { font-size:18px;line-height:26px;font-weight:600; }
.reference-catalog button { background:#29292e;border-color:#73737f;border-radius:6px; }
.reference-catalog a.choice { background:#0874dd;border-color:transparent;border-radius:6px; }
.reference-catalog button:hover:not(:disabled) { background:#36363d; }
.reference-catalog .modal-header { background:#171719;border-color:#3d3d45; }
.reference-catalog .filters :is(input[type=search],select) { background:#202024;border-color:#73737f; }
body[data-razum-shell] :where(button,summary,a) { transition: background-color 150ms var(--shell-ease),color 150ms var(--shell-ease),border-color 150ms var(--shell-ease); }
body.cabinet-mode { background:#111114; }
html:has(body.cabinet-mode)::-webkit-scrollbar { width:10px; }
html:has(body.cabinet-mode)::-webkit-scrollbar-track { background:#111114; }
html:has(body.cabinet-mode)::-webkit-scrollbar-thumb { border:2px solid #111114;border-radius:8px;background:#55555d; }
body.cabinet-mode > .site-header { display:none; }
body.cabinet-mode #main-content { min-height:100dvh; }
body.cabinet-mode .verification-area { margin:0 24px 0 324px;padding:0;width:auto;max-width:none; }
body.cabinet-mode .verification-area:has(#verification-banner[hidden]) { display:none; }
body.cabinet-mode .verification-area .account-notice { margin-top:0; }
body.cabinet-mode .cabinet-view { --sidebar-width:300px;position:relative;isolation:isolate;width:auto;max-width:none;min-height:calc(100dvh - 16px);margin:16px 16px 0 calc(var(--sidebar-width) + 16px);padding:0 5.1% 48px;border:1px solid #3d3d45;border-bottom:0;border-radius:12px 12px 0 0;transition:margin-left 300ms var(--shell-ease); }
body.cabinet-mode .cabinet-view::before { content:'';position:absolute;z-index:-1;inset:0 0 auto;height:900px;border-radius:12px 12px 0 0;pointer-events:none;background:linear-gradient(0deg,#111114,transparent 22%),url('/assets/studio-background.webp') center top / cover no-repeat; }
body.cabinet-mode .cabinet-view::after { content:'';position:absolute;z-index:-1;inset:0 0 auto;height:600px;pointer-events:none;background:radial-gradient(#ffffff18 .7px,transparent .9px) 0 0 / 12px 12px;mask-image:linear-gradient(#000,transparent); }
.cabinet-sidebar { display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:45;width:300px;padding:16px 0 12px;background:#111114;border-right:1px solid #242428;color:#b8b8c1;transition:width 300ms var(--shell-ease);text-align:left;overflow:hidden; }
.cabinet-sidebar>* { flex-shrink:0!important;width:276px!important;margin-inline:12px!important; }
.shell-icon { width:18px;height:18px;flex:none;vertical-align:middle; }
.cabinet-sidebar-top { display:flex;align-items:center;justify-content:space-between;height:40px;margin-bottom:16px; }
.cabinet-wordmark { display:flex;align-items:center;gap:7px;padding:4px 10px;color:#f7f7f8;background:transparent;font-size:22px;font-weight:700;letter-spacing:-1px; }
.cabinet-wordmark span { font-size:18px;color:#b9cfff; }
body .cabinet-icon { display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;border:0;border-radius:8px;color:#b8b8c1;background:transparent;font-size:20px; }
.cabinet-icon:hover,.cabinet-wordmark:hover { background:#242428; }
.cabinet-person { display:flex;align-items:center;gap:10px;width:100%;height:40px;padding:4px;border:1px solid #3c3c41;background:#1b1b1e;border-radius:8px;color:#f7f7f8;font-size:14px; }
.cabinet-person:hover { background:#242428; }
.cabinet-person-avatar { display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:#45386c;color:#f1e9ff;font-weight:600; }
#cabinet-person-name { flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left; }
.cabinet-search-open,.cabinet-start,.cabinet-library { display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:8px 12px;border-radius:8px;background:transparent;color:#b8b8c1;font-size:14px;text-align:left; }
.cabinet-search-open { margin-top:10px;border:0;background:transparent; }
.cabinet-search-open kbd { margin-left:auto;font:11px/20px inherit;color:#a4a3ac; }
.cabinet-start { margin-top:12px;color:#f7f7f8; }
.cabinet-start>span,.cabinet-library>span,.cabinet-search-open>span { font-size:14px;white-space:nowrap; }
.cabinet-nav-caption { margin:28px 12px 8px;font-size:12px;color:#9999a5; }
body.cabinet-mode .cabinet-nav { display:flex;flex-direction:column;align-items:stretch;gap:2px;margin:0;padding:0;border:0; }
body.cabinet-mode .cabinet-nav button { display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:8px 12px;border:0;border-radius:6px;font-size:14px;text-align:left;color:#b8b8c1; }
body.cabinet-mode .cabinet-nav button[aria-current=page] { background:#29292e;color:#fff; }
.cabinet-sidebar :is(.cabinet-start,.cabinet-library,.cabinet-search-open,.cabinet-nav button):hover { background:#242428;color:#fff; }
body.cabinet-mode .cabinet-nav .cabinet-logout { margin:16px 0 0;order:9; }
.cabinet-sidebar-foot { margin-top:auto;padding:20px 12px 8px;font-size:12px;line-height:20px;color:#9999a5; }
.cabinet-topbar { display:flex;align-items:center;gap:12px;height:50px;margin:0 -5.7%;font-size:13px;color:#d0d0d8; }
body.cabinet-mode .cabinet-sidebar-collapsed { --sidebar-width:0px; }
.cabinet-sidebar-collapsed>.cabinet-sidebar { width:0;border-right:0; }
.cabinet-topbar-nav { display:flex;align-items:center;justify-content:center;gap:22px;flex:1;padding-right:48px; }
.cabinet-topbar-nav :is(button,a) { padding:6px 0;border:0;background:transparent;color:#d6d5de;font-size:13px;text-decoration:none; }
.cabinet-topbar-nav :is(button,a):hover { color:#fff; }
.cabinet-mobile-brand { display:none; }
#cabinet-menu-dialog { max-width:none;max-height:none;width:min(300px,calc(100vw - 40px));height:100dvh;margin:0;padding:0;border:0;border-radius:0 12px 12px 0;background:#111114; }
#cabinet-menu-dialog[open]>.cabinet-sidebar { display:flex;position:static;width:100%;height:100%;transform:none;visibility:visible; }
#cabinet-menu-dialog::backdrop { background:#0008;backdrop-filter:none; }
body.cabinet-mode .cabinet-composer { max-width:760px;margin:135px auto 144px;text-align:center; }
.cabinet-intro-link { display:inline-flex;align-items:center;gap:10px;min-height:40px;margin-bottom:24px;padding:8px 18px;border:1px solid #2c5f8f;border-radius:999px;background:#0a3c6390;color:#f9f6f9;font:500 14px/22px var(--shell-font); }
.cabinet-intro-link:hover { background:#164c78; }
.cabinet-composer>.section-kicker { display:none; }
body.cabinet-mode .cabinet-composer h1 { margin:0 0 16px;font-size:48px;line-height:1.2;font-weight:600;letter-spacing:-1.5px; }
body.cabinet-mode .cabinet-composer>p:not(.section-kicker) { max-width:640px;margin:0 auto;color:#d6d5de;font-size:18px;line-height:28px; }
body.cabinet-mode #cabinet-prompt-form { --field-neon-border:#3c3c41;max-width:640px;min-height:137px;margin:40px auto 0;padding:0;border:1px solid #3c3c41;border-radius:24px;background:#1e1e21; }
body.cabinet-mode #cabinet-prompt { display:block;min-height:84px;height:84px;max-height:240px;padding:20px;border-radius:24px;resize:none;overflow-y:hidden;font-size:16px;line-height:24px; }
body.cabinet-mode .cabinet-composer-actions { min-height:51px;margin:0;padding:4px 12px 10px;gap:8px; }
body.cabinet-mode .cabinet-composer-actions>span { font-size:12px;line-height:17px;text-align:left; }
body.cabinet-mode #cabinet-prompt-submit { display:grid;place-items:center;width:32px;height:32px;min-height:32px;min-width:32px;margin-left:auto;padding:5px;border-radius:50%;font-size:14px;line-height:20px;white-space:nowrap;background:#f9f6f9;color:#171719; }
body.cabinet-mode #cabinet-prompt-submit:disabled { background:#3c3c41;color:#b8b8c1;opacity:1; }
body.cabinet-mode #cabinet-connect-byesu { min-height:32px;padding-block:5px;font-size:12px;line-height:20px;white-space:nowrap; }
body.cabinet-mode #cabinet-prompt-feedback { margin:0;padding:0 20px 12px;text-align:left; }
body.cabinet-mode .cabinet-composer>p.reference-library-link { display:flex;justify-content:center;align-items:center;gap:10px;max-width:640px;margin:24px auto 0;font-size:13px;line-height:20px; }
body.cabinet-mode .reference-library-link :is(a,button) { display:inline-flex;align-items:center;min-height:32px;padding:4px 8px;border:0;border-radius:6px;background:transparent;color:#d6d5de;font-size:13px;line-height:20px;text-decoration:none; }
body.cabinet-mode .reference-library-link :is(a,button):hover { background:#29292e;color:#fff; }
body.cabinet-mode .cabinet-recent-projects { padding:24px;border:1px solid #3c3c41;border-radius:24px;background:#171719; }
body.cabinet-mode .cabinet-heading { align-items:center;margin-top:0; }
body.cabinet-mode #cabinet-create { display:none; }
body.cabinet-mode .cabinet-heading .section-kicker { display:none; }
body.cabinet-mode .cabinet-heading h2 { font-size:24px;line-height:32px;font-weight:600; }
body.cabinet-mode .cabinet-heading p:not(.section-kicker) { margin-top:6px;font-size:14px;color:#a4a3ac; }
body.cabinet-mode .sites-empty { padding:36px 24px;border:1px dashed #3a3a40;border-radius:12px;background:#171719; }
body.cabinet-mode .sites-empty .empty-symbol { display:none; }
body.cabinet-mode .sites-empty h2 { font-size:20px; }
body.cabinet-mode .sites-empty p { font-size:14px; }
body.cabinet-mode :is(#cabinet-help,#cabinet-account) { padding-top:24px; }
body.cabinet-mode .saved-site-content h2 { font-size:16px; }
body.cabinet-mode .saved-site { transition:border-color 150ms var(--shell-ease); }
body.cabinet-mode .saved-site:hover { border-color:#666671; }
body.cabinet-mode .saved-site-open-label { opacity:0;transition:opacity 150ms var(--shell-ease); }
body.cabinet-mode .saved-site-open:is(:hover,:focus-visible) .saved-site-open-label { opacity:1; }
.workspace-shell { --razum-bg:#111114;--razum-surface:#171719;--razum-raised:#242428;--razum-sunken:#171719;--razum-border:#3c3c41; }
.workspace-shell .application-chat { background:linear-gradient(180deg,#111114 0%,#141416 100%); }
.workspace-shell #workspace-ai-form { margin-bottom:16px; }
.workspace-shell .workspace-agent-popover { background:#171719;border-color:#3c3c41; }
.workspace-shell #workspace-title { font-size:14px;line-height:22px;font-weight:500; }
.workspace-shell .workspace-header-actions :is(#workspace-share,#workspace-publish) { min-height:32px;padding-block:5px;font-size:14px;line-height:22px;font-weight:500;border-radius:6px; }
.workspace-shell .workspace-header-actions #workspace-share { padding-block:4px; }
.workspace-shell .workspace-header-actions #workspace-publish { background:#1488fc;color:#f9f6f9; }
.workspace-shell .workspace-header-preview [role=tab] { min-height:24px;padding-block:1px;line-height:22px;border-radius:9999px; }
.workspace-shell .workspace-header-preview [role=tab][aria-selected=true] { font-size:14px;background:transparent;color:#1488fc; }
.workspace-shell .workspace-header-preview [role=tab] { transition-duration:200ms; }
.workspace-shell :is(#workspace-select-element,#workspace-mode-toggle) { min-height:32px;line-height:16px;border-radius:9999px; }
.workspace-shell #workspace-select-element { font-weight:500; }
.workspace-shell .workspace-agent-menu>summary { min-height:32px;font-size:14px;line-height:22px;border-radius:9999px; }
.workspace-shell #workspace-ai-form { min-height:133px;border-radius:8px;background:#1e1e21; }
.workspace-shell #workspace-ai-prompt { min-height:80px;height:80px;padding:20px;border-radius:8px;font-size:14px;line-height:22px;letter-spacing:.01em; }
.workspace-shell .workspace-composer-actions { min-height:51px; }
.workspace-generating-border { display:none;position:absolute;inset:-1px;z-index:1;border-radius:inherit;overflow:hidden;padding:1px;pointer-events:none;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude; }
#workspace-ai-form[data-ai-running=true]>.workspace-generating-border { display:block; }
.workspace-generating-border::before { content:'';position:absolute;top:0;left:0;width:360px;height:360px;background:radial-gradient(circle,#1688ff 0%,transparent 42%);offset-anchor:50% 50%;offset-distance:0%;offset-path:inset(.5px round 7.5px);offset-rotate:0deg;animation:razum-working-border 2.4s linear infinite; }
.workspace-generating-border::after { content:'';position:absolute;top:0;left:0;width:120px;height:120px;background:radial-gradient(circle,#8adaff 0%,transparent 48%);offset-anchor:50% 50%;offset-distance:0%;offset-path:inset(.5px round 7.5px);offset-rotate:0deg;animation:razum-working-border 2.4s linear infinite; }
@keyframes razum-working-border { to { offset-distance:100%; } }
.workspace-shell .workspace-composer-mode-hint { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0;border:0; }
.workspace-shell .workspace-network-status { flex:none;margin:0 16px 4px;padding:10px 12px;border:1px solid #686875;border-radius:10px;background:#202024;color:#eeeef2;font-size:12px;line-height:18px; }
.workspace-shell .workspace-network-status[hidden] { display:none; }
.workspace-shell .workspace-network-status p { margin:0; }
.workspace-shell .workspace-network-status button { margin-top:8px;min-height:40px;padding:8px 12px;border:1px solid #868693;border-radius:8px;background:#303037;color:#fff;font:inherit;cursor:pointer; }
.workspace-shell .workspace-network-status button:hover:not(:disabled) { background:#3c3c45; }
.workspace-shell .workspace-network-status button:focus-visible { outline:2px solid #79bcff;outline-offset:3px; }
.workspace-shell #workspace-mode-toggle>span { display:none; }
.workspace-shell #workspace-mode-toggle::after { content:'Правки'; }
.workspace-shell #workspace-mode-toggle[aria-pressed=true]::after { content:'План'; }
.workspace-shell .workspace-message-user>.workspace-request-target { margin-top:8px;padding-top:8px;border-top:1px solid #45454e;color:#b8b8c1;font-size:12px;line-height:18px; }
.workspace-shell #workspace-visual-editor:not([data-pending-operations=true])>.workspace-visual-operation-status { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0;border:0; }
.workspace-shell .workspace-project-menu { position:relative;flex:none; }
.workspace-shell .workspace-project-menu>div { position:absolute;right:0;top:calc(100% + 8px);width:250px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 120px);overflow:auto;z-index:60;padding:8px;border:1px solid #414147;border-radius:10px;background:#202020;box-shadow:0 8px 30px #0006; }
.workspace-shell .workspace-project-menu>div>button { display:flex!important;width:100%!important;justify-content:flex-start;padding:8px 10px!important;min-height:40px;text-align:left;font-size:13px;line-height:20px;font-weight:400;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none;margin:0; }
.workspace-shell .workspace-project-menu>div>button:not(:disabled):is(:hover,:focus-visible) { background:#303034!important; }
.workspace-shell .workspace-project-menu>div>button[hidden] { display:none!important; }
.workspace-shell .workspace-header-preview>#workspace-context-open .workspace-control-label { display:none; }
.workspace-shell .workspace-project-menu>div .workspace-control-label { display:inline!important; }
.workspace-shell .workspace-project-menu>div #workspace-account-open { background:transparent;color:var(--ws-ink); }
body[data-razum-shell] dialog[open] { animation:razum-panel-in 150ms var(--shell-ease); }
@keyframes razum-panel-in { from { opacity:0;transform:translateY(4px); } to { opacity:1;transform:translateY(0); } }
/* Home composer uses the same compact hierarchy as the editor. */
.cabinet-compose-tools,.cabinet-compose-model { position:relative;color:#d6d5de;text-align:left; }
.cabinet-composer-actions summary { display:flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:4px 8px;border:0;border-radius:16px;list-style:none;font-size:14px;line-height:22px;white-space:nowrap; }
.cabinet-composer-actions summary::-webkit-details-marker { display:none; }
.cabinet-compose-tools>summary { width:30px;height:30px;min-height:30px;padding:5px;border:1px solid #3c3c41;border-radius:50%; }
.cabinet-composer-actions summary:hover { background:#29292e;color:#fff; }
.cabinet-composer-actions details>div { position:absolute;bottom:calc(100% + 10px);left:0;z-index:40;width:250px;max-width:calc(100vw - 48px);padding:8px;border:1px solid #3c3c41;border-radius:8px;background:#171719;box-shadow:0 8px 24px #0005;font-size:12px;line-height:18px; }
.cabinet-compose-tools>div :is(button,a) { display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:8px;color:#f9f6f9;border:0;border-radius:4px;background:transparent;text-align:left;text-decoration:none;font-size:12px;line-height:20px; }
.cabinet-compose-tools>div :is(button,a):hover { background:#29292e; }
.cabinet-compose-model p { margin:8px 4px; }
.cabinet-compose-model strong { display:block;margin:4px;font-weight:600; }
.cabinet-compose-model>summary .shell-icon { width:14px;height:14px; }
.cabinet-type-tiles { display:flex;justify-content:center;gap:20px;margin:40px auto 0; }
.cabinet-type-tiles>button { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:64px;height:90px;padding:0;border:0;border-radius:12px;background:transparent;color:#d6d5de;font:500 12px/18px var(--shell-font); }
.cabinet-type-tiles>button>.shell-icon { width:64px;height:64px;padding:18px;border:1px solid #356092;border-radius:12px;background:#0a2c5699;transition:background-color 150ms var(--shell-ease),border-color 150ms var(--shell-ease); }
.cabinet-type-tiles>button:is(:hover,[aria-pressed=true]) { color:#fff; }
.cabinet-type-tiles>button:is(:hover,[aria-pressed=true])>.shell-icon { background:#12477b;border-color:#79bcff; }
body[data-razum-shell] :is(.cabinet-composer-actions,.cabinet-type-tiles,.cabinet-topbar-nav) :is(button,a,summary):focus-visible { outline:2px solid #79bcff;outline-offset:3px; }
/* Anchored surfaces: no full-screen backdrop or unrelated drawer. */
.workspace-shell dialog.workspace-composer-menu { position:fixed;z-index:100;inset:auto;margin:0;padding:6px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #3c3c41;border-radius:8px;background:#171719;color:#f9f6f9;box-shadow:0 8px 24px #0005; }
.workspace-shell .workspace-composer-menu>button { display:flex;align-items:center;gap:9px;width:100%;min-height:40px;padding:8px;border:0;border-radius:4px;background:transparent;color:inherit;text-align:left;font:400 13px/20px var(--shell-font); }
.workspace-composer-menu>button>svg { width:18px;height:18px;flex:none; }
.workspace-shell .workspace-composer-menu>button:is(:hover,:focus-visible) { background:#29292e; }
.workspace-shell .workspace-composer-menu>button:focus-visible { outline:2px solid #79bcff;outline-offset:-2px; }
body[data-razum-shell] .workspace-shell dialog.workspace-share-popover { position:fixed;inset:auto;z-index:100;margin:0;padding:16px;border:1px solid #3c3c41;border-radius:8px;background:#171719;box-shadow:0 8px 24px #0005;max-height:calc(100dvh - 24px);transform-origin:top right; }
.workspace-shell .workspace-share-popover .workspace-project-dialog-heading { margin:0 0 8px; }
.workspace-shell .workspace-share-popover h2 { font-size:16px;line-height:24px; }
.workspace-shell .workspace-share-popover .workspace-project-dialog-project { display:none; }
.workspace-shell .workspace-share-popover p { margin:6px 0;font-size:12px;line-height:18px; }
.workspace-shell .workspace-share-popover .workspace-project-description { color:#f9f6f9; }
.workspace-shell .workspace-share-popover label { margin:10px 0 4px; }
.workspace-shell .workspace-share-popover input { min-height:34px;padding:6px 10px; }
.workspace-shell .workspace-share-popover .workspace-project-dialog-actions { margin-top:12px;gap:8px; }
.workspace-shell .workspace-share-popover .workspace-project-dialog-status:empty { display:none; }
body[data-razum-shell] .workspace-shell :is(dialog.workspace-share-popover,dialog.workspace-composer-menu)[open] { animation:razum-popover-in 150ms var(--shell-ease); }
@keyframes razum-popover-in { from { opacity:0;transform:translateY(-2px) scale(.95); } to { opacity:1;transform:translateY(0) scale(1); } }
body[data-razum-shell] #status-message { pointer-events:none; }
body.file-workspace-mode #status-message { top:60px;bottom:auto;max-width:min(600px,calc(100vw - 32px));border:1px solid #6b6b75;background:#242428;color:#f9f6f9;box-shadow:0 8px 24px #0005; }
body.file-workspace-mode #status-message[data-error=true] { border-color:#d99b91;color:#ffd3ca; }
@media(min-width:801px) {
  .workspace-shell .application-grid { transition:grid-template-columns 300ms var(--shell-ease); }
  .workspace-shell[data-chat-collapsed=true] .application-grid { grid-template-columns:0 minmax(0,1fr); }
  .workspace-shell[data-chat-collapsed=true] .application-main { margin-left:14px; }
  .workspace-shell[data-chat-collapsed=true] .application-chat { pointer-events:none;overflow:hidden; }
}
@media(max-width:1100px) and (min-width:801px) {
  body.cabinet-mode .cabinet-view { padding-inline:28px; }
  body.cabinet-mode .cabinet-composer h1 { font-size:40px; }
  .cabinet-topbar { margin-inline:-12px; }
  .project-filters { gap:8px; }
}
@media(max-width:800px) {
  .workspace-shell .workspace-header-project { gap:6px;padding-inline:12px 6px; }
  .workspace-shell .workspace-header-slash,.workspace-shell .workspace-account-avatar,.workspace-shell .workspace-conversations { display:none!important; }
  .workspace-shell .workspace-header-preview { max-width:none; }
  .workspace-shell .workspace-project-heading { min-width:60px; }
  .workspace-shell .workspace-header-actions #workspace-publish { min-height:40px;padding-inline:10px; }
  .workspace-shell .workspace-header-actions #workspace-publish .workspace-control-label { display:inline;font-size:12px; }
  .workspace-shell .application-heading :is(button,summary) { min-height:40px; }
  .workspace-shell .workspace-project-menu>summary { min-width:40px; }
  .workspace-shell .workspace-project-menu>div>button { min-height:44px; }
  .workspace-shell #workspace-ai-submit { width:44px;height:44px;min-height:44px; }
  body.cabinet-mode .verification-area { margin:0 12px; }
  body.cabinet-mode .cabinet-view { margin:0;padding:0 20px 32px;border:0;border-radius:0;transition:none; }
  body.cabinet-mode .cabinet-view::before { inset:56px 4px auto;border-radius:12px 12px 0 0; }
  body.cabinet-mode .cabinet-view::after { inset:56px 4px auto; }
  .cabinet-view>.cabinet-sidebar { display:none; }
  .cabinet-topbar { height:56px;margin:0 -20px;padding:0 12px;background:#111114; }
  .cabinet-mobile-brand { display:inline;font-size:22px;font-weight:700;letter-spacing:-.8px;color:#f9f6f9; }
  body.cabinet-mode .cabinet-composer { margin:74px auto 80px; }
  body.cabinet-mode .cabinet-composer h1 { font-size:30px;line-height:36px;letter-spacing:-1px; }
  body.cabinet-mode .cabinet-composer>p:not(.section-kicker) { font-size:16px;line-height:24px; }
  body.cabinet-mode #cabinet-prompt-form { margin:24px -8px 0;max-width:none; }
  body.cabinet-mode #cabinet-prompt { min-height:88px;height:88px; }
  body.cabinet-mode .cabinet-composer-actions { flex-wrap:nowrap; }
  body.cabinet-mode .cabinet-composer-actions>span { flex:1 1 100%;padding:0 8px; }
  body.cabinet-mode #cabinet-connect-byesu { margin-right:auto; }
  body.cabinet-mode .project-filters { gap:12px; }
  body.cabinet-mode .site-filter-tabs { width:100%;overflow:auto; }
  body.cabinet-mode .site-filter-tabs button { flex:1;min-height:40px; }
  body.cabinet-mode .site-sort { width:100%; }
  body.cabinet-mode .site-sort select { width:100%;min-height:44px; }
  body.cabinet-mode .saved-site-open-label { opacity:1; }
  body.cabinet-mode .cabinet-sidebar button { min-height:44px; }
  body.cabinet-mode .cabinet-recent-projects { margin-inline:-8px;padding:16px;border-radius:20px; }
  .cabinet-topbar-nav { display:none; }
  .cabinet-type-tiles { gap:8px; }
  .cabinet-type-tiles>button { width:64px;height:82px;font-size:11px; }
  .cabinet-type-tiles>button>.shell-icon { width:56px;height:56px;padding:16px; }
  .cabinet-intro-link { font-size:12px;padding-inline:12px; }
  body.cabinet-mode #cabinet-prompt-submit { width:36px;height:36px;min-width:36px;min-height:36px; }
  .cabinet-compose-model>div { left:-44px; }
  .workspace-shell .workspace-composer-menu>button { min-height:44px; }
  .workspace-shell .application-mobile-nav { align-self:center;width:auto;gap:2px;min-height:36px;margin:0 12px 6px;padding:2px;border:1px solid #3c3c41;border-radius:999px;background:#171719; }
  .workspace-shell .application-mobile-nav button { min-height:30px;padding:3px 16px;border:0;border-radius:999px;background:transparent;font-size:12px;line-height:22px; }
  .workspace-shell .application-mobile-nav button[aria-selected=true],.workspace-shell .application-mobile-nav button[aria-pressed=true] { background:#303034;color:#f9f6f9; }
  .workspace-shell:is([data-mobile-panel=main],[data-mobile-panel=files]) .workspace-header-preview>[role=tablist],.workspace-shell:is([data-mobile-panel=main],[data-mobile-panel=files]) .workspace-preview-address { top:96px; }
  #cabinet-menu-dialog[open]>.cabinet-sidebar>* { width:calc(100% - 24px)!important; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-razum-shell] *,body[data-razum-shell] *::before,body[data-razum-shell] *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; }
}
@media(max-width:767px) { .workspace-shell #workspace-ai-prompt { font-size:16px;line-height:24px; } }
@media(forced-colors:active) {
  .cabinet-view::before,.cabinet-view::after { display:none; }
  .cabinet-sidebar,body.cabinet-mode #cabinet-prompt-form { background:Canvas;border-color:CanvasText; }
  body.cabinet-mode .cabinet-nav button[aria-current=page] { border:1px solid Highlight; }
}
