/* V23: one visual authority for the internal workspace. Public pages do not match.
   Warm glass is an explicit brand choice. Opaque controls preserve legibility. */
body.workspace-app{--studio-bg:#101211;--studio-pane:#242724b8;--studio-strong:#2d302d;--studio-line:#e8e4d91c;--studio-text:#f3f0e8;--studio-muted:#b4b6ac;--studio-gold:#dfc59c;background:var(--studio-bg);color:var(--studio-text);color-scheme:dark}
body.workspace-app .shell{--accent:var(--studio-gold);--line:var(--studio-line);--surface:#212520;--quiet:var(--studio-muted);grid-template-columns:232px minmax(0,1fr);background:var(--studio-bg);font-family:Inter,Arial,sans-serif}
body.workspace-app .shell>div{min-width:0;background:radial-gradient(ellipse at 95% 0,#b49c6530,transparent 42%),radial-gradient(ellipse at 25% 85%,#5c796327,transparent 48%),#121613;min-height:100svh}
body.workspace-app .shell .sidebar{width:auto;max-width:none;padding:28px 18px 20px;background:#161b17dd;border-right:1px solid var(--studio-line);backdrop-filter:blur(22px);height:100svh;overflow-y:auto;z-index:60;scrollbar-width:thin}
body.workspace-app .sidebar .logo{font-size:27px;gap:9px;margin-bottom:26px;color:#f1ede4}
body.workspace-app .sidebar .mark{background:var(--studio-gold)}
body.workspace-app .sidebar .navgroup{font-size:10px;font-weight:500;letter-spacing:.11em;color:#a6aa9e;margin:21px 12px 10px}
body.workspace-app .sidebar .nav{min-height:42px;border:1px solid transparent;border-radius:10px;padding:10px 12px;font-size:12px;color:#bfc5b9;margin:3px 0;gap:11px}
body.workspace-app .sidebar .nav:hover{background:#ffffff08;color:#fff}
body.workspace-app .sidebar .nav.active{border-color:#e1ca9b29;background:linear-gradient(110deg,#d9c69a1e,#ded8bd08);color:#f3d9ae;box-shadow:inset 0 1px #fff6d80a}
body.workspace-app .sidebar .nav svg{height:17px;width:17px;flex-shrink:0}
body.workspace-app .sidebar .sidebottom{margin-top:28px;padding:0 8px;position:static}
body.workspace-app .sidebar .sidebottom .nav{padding-left:4px;font-size:11px;min-height:30px}
body.workspace-app .sidebar .sidebottom p{color:#a4ad9f;font-size:10px;line-height:1.8}
body.workspace-app .shell .topbar{height:70px;padding:0 32px;background:#151a15a6;border-color:var(--studio-line);backdrop-filter:blur(20px);gap:16px}
body.workspace-app .workspace-name{font-size:12px;color:#c9cdc1;white-space:nowrap}
body.workspace-app .topbar-version{font-size:9px;color:#dbc69f;border:1px solid #dbc69f33;border-radius:5px;padding:3px 5px;margin-left:8px}
body.workspace-app .topbar .row{gap:10px;min-width:0}
body.workspace-app .shell .workspace{padding:30px 32px 60px;max-width:1536px;background:transparent;min-width:0}
body.workspace-app .shell .sectionhead{margin-bottom:26px;gap:24px;align-items:center}
body.workspace-app .shell h1,body.workspace-app .shell h2,body.workspace-app .shell h3{color:var(--studio-text);font-family:'Space Grotesk',Inter,sans-serif;font-weight:500}
body.workspace-app .shell .sectionhead h1{font-size:clamp(26px,2.55vw,37px);line-height:1.14;letter-spacing:-.055em;margin:0 0 10px;max-width:750px}
body.workspace-app .shell .sectionhead p{font-size:13px;margin:0;max-width:650px;line-height:1.65;color:var(--studio-muted)}
body.workspace-app .workspace-kicker{font-size:10px;color:#c4b18d;letter-spacing:.12em;margin-bottom:11px}
body.workspace-app .shell p,body.workspace-app .shell .muted{color:var(--studio-muted)}
body.workspace-app .shell button,body.workspace-app .shell .btn,body.workspace-app #modal button,body.workspace-app #modal .btn{background:var(--studio-gold);color:#25261f;border:1px solid transparent;border-radius:9px;min-height:42px;font-weight:600;font-size:12px;padding:11px 16px;transition:background .15s,border-color .15s;box-shadow:none}
body.workspace-app .shell .small{min-height:36px;padding:8px 12px;font-size:11px}
body.workspace-app .shell .secondary,body.workspace-app #modal .secondary{background:#ffffff07;border:1px solid #e7ead227;color:#e4e7db}
body.workspace-app .shell .ghost,body.workspace-app #modal .ghost{background:transparent;border:1px solid #e7ead21c;color:#cbd1c2}
body.workspace-app .shell .secondary:hover,body.workspace-app .shell .ghost:hover{background:#ffffff0f;border-color:#e7ead245}
body.workspace-app .shell .iconbtn{min-width:38px;padding:7px}
body.workspace-app .shell button:disabled{opacity:.46;cursor:not-allowed}
body.workspace-app :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #efcf95;outline-offset:3px}
body.workspace-app .shell :is(input,select,textarea),body.workspace-app #modal :is(input,select,textarea){background:#171d18;color:#f1f2e9;border:1px solid #bfc9b52e;border-radius:8px;min-height:42px;font:13px Inter,Arial,sans-serif;accent-color:#d8bf94;max-width:100%}
body.workspace-app .shell label{font-size:12px;color:#cdd3c3}
body.workspace-app .shell input::placeholder,body.workspace-app #modal input::placeholder{color:#929c8e;opacity:1}
body.workspace-app .shell [hidden]{display:none!important}
body.workspace-app .shell :is(.work-panel,.panel,.glass-surface,.objectcard,.project-tile,.service-grid>article,.connection-grid>article,.inbox-list>article,.site-model-choice){background:linear-gradient(135deg,#e9edcf06,transparent 60%),var(--studio-pane);border:1px solid var(--studio-line);border-radius:17px;box-shadow:inset 0 1px #ffffff0b,0 14px 38px #00000015;backdrop-filter:blur(18px)}
body.workspace-app .shell .work-panel{padding:24px}
body.workspace-app .shell .panel-heading{gap:16px;margin-bottom:21px;align-items:center}
body.workspace-app .shell .panel-heading h2{font-size:19px;line-height:1.3;margin:0}
body.workspace-app .shell .panel-heading p{font-size:12px;margin:9px 0 0;line-height:1.6}
body.workspace-app .shell .panel-heading>a{color:#d4c29e;min-height:32px;display:flex;align-items:center;font-size:11px}
body.workspace-app .shell .tag{border:1px solid #ffffff13;background:#ffffff08;color:#cdd2c5;border-radius:6px;font-size:10px;white-space:normal}
body.workspace-app .shell .tag.good{background:#adcda411;color:#c0d5b5;border-color:#c0d5b523}
body.workspace-app .shell .tag.warn{background:#d3ad7314;color:#e1c599;border-color:#e1c59924}
body.workspace-app .shell .note{background:#d2bc8a0b;border:1px solid #d2bc8a24;color:#d9d1bd;border-radius:10px;font-size:12px}
body.workspace-app .shell .empty{padding:30px 22px;border:1px dashed #c3cbbb35;border-radius:14px;font-size:13px;line-height:1.8}
body.workspace-app .overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:25px}
body.workspace-app .overview-metrics>a{padding:20px 22px;background:linear-gradient(120deg,#eef2d70b,#d9dfbe03);border:1px solid var(--studio-line);border-radius:15px;box-shadow:inset 0 1px #ffffff08;min-width:0}
body.workspace-app .overview-metrics>a>span{font-size:11px;color:#c4cbbb}
body.workspace-app .overview-metrics strong{display:flex;justify-content:space-between;align-items:center;font:37px 'Space Grotesk';color:#ede3d1;letter-spacing:-.04em;margin:12px 0 6px;font-variant-numeric:tabular-nums}
body.workspace-app .overview-metrics i{font:17px Inter;color:#b2bca6;font-style:normal}
body.workspace-app .overview-metrics small{font-size:10px;line-height:1.5;color:#a9b39f;display:block}
body.workspace-app .overview-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr);gap:22px;align-items:start}
body.workspace-app .priority-panel .activity-row{grid-template-columns:75px minmax(0,1fr) auto;gap:15px;padding:18px 0}
body.workspace-app .activity-row{border-color:var(--studio-line)}
body.workspace-app .activity-row h3{font-size:14px;line-height:1.35;margin:5px 0;overflow-wrap:anywhere}
body.workspace-app .activity-row p{font-size:11px;line-height:1.5}
body.workspace-app .activity-date strong{font-size:14px;color:#e4dbca}
body.workspace-app .activity-date small{font-size:10px;color:#aebaa3}
body.workspace-app .activity-kind{font-size:9px;color:#bcae92}
body.workspace-app .add-activity{width:100%;margin-top:12px}
body.workspace-app .recent-project{display:flex;align-items:center;gap:14px;padding:16px 0;border-top:1px solid var(--studio-line);color:#e6e8de}
body.workspace-app .recent-project img,body.workspace-app .project-placeholder{width:57px;height:66px;border:1px solid #fff2;border-radius:9px;object-fit:cover;flex-shrink:0}
body.workspace-app .project-placeholder{display:grid;place-items:center;background:#d9c8a50b;color:#dfc59c}
body.workspace-app .recent-project>div{min-width:0;flex:1;display:grid;gap:6px}
body.workspace-app .recent-project small{font-size:9px;color:#beae91}
body.workspace-app .recent-project strong{font:15px 'Space Grotesk';overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.workspace-app .recent-project div>span{font-size:10px;color:#aebaa3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.workspace-app .project-links{display:flex;gap:22px;margin-top:17px;font-size:11px;color:#e0c79d}
body.workspace-app .studio-create{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:22px;margin-top:23px}
body.workspace-app .studio-create h2{font-size:21px;margin:8px 0}
body.workspace-app .studio-create p{font-size:12px;margin:0;line-height:1.7}
body.workspace-app .studio-create .row{flex-wrap:wrap;justify-content:flex-end}
body.workspace-app .activity-summary{margin:20px 0;gap:15px}
body.workspace-app .activity-summary>div{padding:14px 18px;border:1px solid var(--studio-line);border-radius:12px;background:#ffffff04;gap:8px}
body.workspace-app .activity-summary strong{font-size:29px}
body.workspace-app .activity-summary span{font-size:11px}
body.workspace-app .activity-controls{gap:14px}
body.workspace-app .activity-controls label{margin:0}
body.workspace-app .activity-count{margin:16px 0;font-size:11px}
body.workspace-app .activity-completed{margin-top:20px}
body.workspace-app .shell .menu-workspace-tabs{border-color:var(--studio-line);margin-bottom:24px;gap:25px}
body.workspace-app .shell .menu-workspace-tabs a{color:#b9c2ae;font-size:12px;min-height:40px}
body.workspace-app .shell .menu-workspace-tabs a[aria-current]{border-color:#d4ba8e;color:#f0d7ad}
body.workspace-app .project-filters{display:flex;align-items:flex-end;gap:14px;margin-bottom:24px}
body.workspace-app .project-filters label{margin:0;width:min(320px,40%)}
body.workspace-app .project-filters>span{margin-left:auto;font-size:11px;color:#b5bdac;padding-bottom:14px}
body.workspace-app .shell .objectcard>img,body.workspace-app .shell .project-cover{height:190px;min-height:0;object-fit:cover}
body.workspace-app .shell .objectbody,body.workspace-app .shell .project-tile>div{padding:21px}
body.workspace-app .shell .objectbody h3,body.workspace-app .shell .project-tile h3{font-size:21px;margin:16px 0 7px;line-height:1.25}
body.workspace-app .shell .objectbody p,body.workspace-app .shell .project-tile p{font-size:11px;margin-bottom:18px}
body.workspace-app .shell .objectbody .row,body.workspace-app .shell .project-tile .row{flex-wrap:wrap;gap:8px}
body.workspace-app .shell .creative-view{color:var(--studio-text)}
body.workspace-app .creative-view :is(.library-header,.library-tools,.library-sidebar,.library-content,.model-card,.library-guide){background:transparent;color:var(--studio-text);border-color:var(--studio-line)}
body.workspace-app .creative-view p,body.workspace-app .creative-view small{color:var(--studio-muted)}
body.workspace-app .shell:has(.creative-view) .topbar .secondary,body.workspace-app .shell:has(.creative-view) .topbar .ghost{background:#ffffff07;color:#e4e7db;border-color:#e7ead227}
body.workspace-app .creative-view .template-filters button{background:transparent;border-color:var(--studio-line);color:#bec9b3;font-size:11px}
body.workspace-app .creative-view .template-filters button.active{background:#d7c39517;color:#f0d6aa;border-color:#d7c39540}
body.workspace-app .creative-view .template-card{background:var(--studio-pane);border-color:var(--studio-line);border-radius:15px}
body.workspace-app .creative-view :is(.template-preview,.library-controls,.template-tags span){border-color:var(--studio-line)}
body.workspace-app .creative-view .template-info>div>span{color:#b9c4ab}
body.workspace-app .inbox-list .row{flex-wrap:wrap;min-width:0}
body.workspace-app .inbox-list :is(p,a,h2,span){overflow-wrap:anywhere}
body.workspace-app .shell .client-directory article{margin-bottom:11px;padding:20px;border:1px solid var(--studio-line);border-radius:14px;background:#a9b79907}
body.workspace-app .shell .client-directory h2{font-size:20px;overflow-wrap:anywhere}
body.workspace-app .shell .client-space-head h1{font-size:32px}
body.workspace-app .shell .directory-search{margin:20px 0}
body.workspace-app .shell .service-grid h2,body.workspace-app .shell .connection-grid h2{font-size:22px}
body.workspace-app .shell .service-next{min-height:0}
body.workspace-app .shell .tabs{overflow-x:auto;flex-wrap:nowrap;max-width:100%;gap:7px}
body.workspace-app .shell .tabs button{background:#ffffff05;color:#bdc8b3;border:1px solid var(--studio-line);white-space:nowrap;font-size:11px}
body.workspace-app .shell .tabs button.active{background:#d6bb8520;border-color:#d6bb8550;color:#ecd5ad}
body.workspace-app .shell .leadrow{border-color:var(--studio-line);padding:18px 0}
body.workspace-app .shell .leadrow h3{font-size:14px}
body.workspace-app .shell .filters{margin:20px 0}
body.workspace-app .shell .capture-search{margin-bottom:24px;padding:25px}
body.workspace-app .capture-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}
body.workspace-app .capture-heading h2{font-size:23px;margin:0 0 8px}
body.workspace-app .capture-heading p{font-size:12px;margin:0}
body.workspace-app .capture-form{display:grid;grid-template-columns:1.3fr 1fr 110px auto;gap:15px;align-items:end;max-width:none!important}
body.workspace-app .capture-form label{margin:0}
body.workspace-app .capture-form button{height:42px}
body.workspace-app .capture-foot{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--studio-line);margin-top:23px;padding-top:15px;font-size:10px;color:#b6c1ab}
body.workspace-app .shell #capture-availability{border:0;padding:0;color:#c7bca5;font-size:11px}
body.workspace-app .capture-results>label{max-width:100%;font-size:11px}
body.workspace-app .capture-empty{text-align:center;padding:38px 20px 46px;max-width:500px;margin:auto}
body.workspace-app .capture-empty>span{font-size:42px;color:#d8bf9380}
body.workspace-app .capture-empty h3{font-size:22px;margin:16px 0 10px}
body.workspace-app .capture-empty p{font-size:12px;line-height:1.75}
body.workspace-app .shell .capture-result{cursor:default;gap:16px;padding:22px 0}
body.workspace-app .capture-result label{margin:0;cursor:pointer}
body.workspace-app .shell .capture-result strong{font-size:19px;color:#f0efdf}
body.workspace-app .shell .capture-result>input{width:20px;height:20px;min-height:20px;flex-shrink:0}
body.workspace-app .capture-result.is-imported{opacity:.7}
body.workspace-app .capture-links{display:flex;flex-wrap:wrap;gap:18px}
body.workspace-app .shell .capture-result a{min-height:32px;display:flex;align-items:center;margin:0;color:#e0c79e}
body.workspace-app .capture-selection{border-top:1px solid var(--studio-line);padding-top:18px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
body.workspace-app .capture-selection label{margin:0;flex:1}
body.workspace-app .capture-selection input{width:20px;height:20px;min-height:20px}
body.workspace-app #capture-count{font-size:11px;color:#bec7b4}
body.workspace-app #capture-feedback{background:#acc89b0b;border:1px solid #acc89b2c;border-radius:9px;padding:15px;margin-bottom:0;font-size:12px;color:#d6e2cb}
body.workspace-app #capture-feedback a{color:#e2ca9e;text-decoration:underline}
body.workspace-app .capture-source-note{font-size:11px;line-height:1.8;max-width:920px;margin:0 0 24px}
body.workspace-app .import-panel summary{margin:0;min-height:26px;font-size:12px}
body.workspace-app .import-panel[open] summary{margin-bottom:18px}
body.workspace-app #modal{background:linear-gradient(135deg,#e6e5cc07,transparent),#1a211beF;border:1px solid #d4d9b52e;border-radius:18px;box-shadow:0 35px 120px #0009;backdrop-filter:blur(30px);color:#f1f0e4;max-height:90svh;overflow:auto}
body.workspace-app #modal::backdrop{background:#050a0780;backdrop-filter:blur(5px)}
body.workspace-app #modal .command-result{background:transparent;border:1px solid transparent;color:#e8ebdf;padding:14px;min-height:66px;text-align:left}
body.workspace-app #modal .command-result:hover,body.workspace-app #modal .command-result.active{background:#b9c7a511;border-color:#b9c7a52c}
body.workspace-app #modal .command-result small,body.workspace-app #modal .command-result span{color:#bec5b5}
body.workspace-app .editor-pane-switch,body.workspace-app .nav-close,body.workspace-app .nav-backdrop{display:none}
/* Same studio surface around both editors; published previews keep their own design. */
body.workspace-app .shell:has(.is-editor){grid-template-columns:232px minmax(0,1fr)}
body.workspace-app .shell:has(.is-editor) .sidebar{padding:28px 18px 20px;display:block}
body.workspace-app .shell:has(.is-editor) .sidebar .logo{font-size:27px;gap:9px;justify-content:flex-start;margin-bottom:26px}
body.workspace-app .shell:has(.is-editor) .sidebar .tag{display:inline-block}
body.workspace-app .shell:has(.is-editor) .sidebar .navgroup,body.workspace-app .shell:has(.is-editor) .sidebottom,body.workspace-app .shell:has(.is-editor) .sidebar p{display:block}
body.workspace-app .shell:has(.is-editor) .sidebar a.nav{font-size:12px;gap:11px;justify-content:flex-start;padding:10px 12px}
body.workspace-app .shell:has(.is-editor) .topbar{display:flex}
body.workspace-app .shell .workspace.is-editor{padding:0;background:transparent;color:var(--studio-text)}
body.workspace-app .builder-head{height:auto;min-height:85px;position:relative;top:auto;background:#202820a6;border-color:var(--studio-line);flex-wrap:wrap;padding:18px 23px;gap:14px}
body.workspace-app .builder-head>div:first-child{flex:1}
body.workspace-app .builder-head .row{flex-wrap:wrap;gap:7px}
body.workspace-app .builder-head span{color:#b9c3b0}
body.workspace-app .builder-head #savestate{border-color:var(--studio-line);font-size:10px;display:block}
body.workspace-app .builder #backmenus{background:transparent;color:#e8dcc5}
body.workspace-app .builder #savemenu{background:#ffffff07;color:#e4e7db;border-color:#e7ead227}
body.workspace-app .builder #publishmenu{background:var(--studio-gold);color:#25261f}
body.workspace-app .builder-body{grid-template-columns:205px minmax(250px,1fr) 270px;height:calc(100svh - 175px);min-height:600px}
body.workspace-app .builder :is(.builder-layers,.builder-inspector,.inspector-head,.builder-tabs,.builder-publish,.builder-customize){background:#1c241dc9;border-color:var(--studio-line);color:#dce3d4}
body.workspace-app .builder :is(.layer-heading,.category-group,.category-group>div,.inspector-head){border-color:var(--studio-line)}
body.workspace-app .builder .layer-row{background:transparent;color:#d5ddca;border-color:transparent;border-radius:6px}
body.workspace-app .builder .layer-row.selected,body.workspace-app .builder .builder-tabs button.active{background:#d7c39517;color:#f0d6aa;border-color:#d7c39540}
body.workspace-app .builder .layer-row small,body.workspace-app .builder .editor-help,body.workspace-app .builder .category-group strong{color:#adbba1}
body.workspace-app .builder .builder-tabs{padding:8px 6px;grid-template-columns:repeat(3,minmax(0,1fr))}
body.workspace-app .builder .builder-customize .builder-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
body.workspace-app .builder-customize>summary{color:#b9c6ac;line-height:1.6}
body.workspace-app .builder .builder-tabs button{background:transparent;color:#b9c3ad;border:0;font-size:10px;padding:8px 3px;min-height:34px}
body.workspace-app .builder .add-layer,body.workspace-app .builder .editor-icon,body.workspace-app .builder .category-group>div button,body.workspace-app .builder .back-to-preview{background:transparent;color:#dbc59f;border:1px solid #d3dcb322}
body.workspace-app .builder .builder-canvas{background:#121913}
body.workspace-app .builder .canvas-toolbar{background:#222c23;color:#bfcbb5;border-color:var(--studio-line);flex-wrap:wrap;height:auto;min-height:54px;gap:8px}
body.workspace-app .builder .canvas-toolbar button{font-size:10px;padding:7px;min-height:30px;background:transparent;color:#becab4;border:1px solid var(--studio-line)}
body.workspace-app .builder .device-switch button.active{background:#c6b48c25;color:#efd7ae}
body.workspace-app .builder .device-switch{background:#101910;border:1px solid var(--studio-line)}
body.workspace-app .builder .canvas-instruction{color:#9fac95;font-size:10px}
body.workspace-app .builder .preview-stage{background:radial-gradient(#bcc9ad14 1px,transparent 1px);background-size:16px 16px}
body.workspace-app .builder label{color:#cbd6c1}
body.workspace-app .builder .media-control{background:#202a21;border-color:var(--studio-line)}
body.workspace-app .builder .upload-button{background:#29372c;color:#e4e7db;border-color:#87967d}
body.workspace-app .builder .upload-button:after{color:#c1cbb8}
body.workspace-app .builder .upload-button:hover{background:#344636;border-color:#d7c395}
body.workspace-app .builder :is(fieldset,.inspector-section,.field-block){border-color:var(--studio-line)}
body.workspace-app .builder .inspector-head h2{color:#eae9da}
body.workspace-app .site-editor-head{gap:14px}
body.workspace-app .site-editor-head .row{gap:7px;flex-wrap:wrap}
body.workspace-app .site-editor-grid{grid-template-columns:300px minmax(0,1fr);gap:22px}
body.workspace-app .site-preview-area{background:#202a21;border-color:var(--studio-line)}
body.workspace-app #site-fields details{background:#26302877;border-color:var(--studio-line);margin-bottom:12px}
@media(min-width:1051px) and (max-width:1350px){body.workspace-app .builder-body{grid-template-columns:190px minmax(210px,1fr) 240px}body.workspace-app .shell:has(.is-editor){grid-template-columns:200px minmax(0,1fr)}body.workspace-app .priority-panel .activity-row{grid-template-columns:65px minmax(0,1fr)}body.workspace-app .priority-panel .activity-row>button{grid-column:2;justify-self:start}body.workspace-app .capture-form{grid-template-columns:1fr 1fr}body.workspace-app .capture-form button{align-self:end}}
@media(max-width:1050px){
 /* Keep publication state and long restaurant names inside the real viewport. */
 body.workspace-app .builder-head>div:first-child{flex-wrap:wrap}
 body.workspace-app .builder-head>div:first-child>div{min-width:0;flex:1}
 body.workspace-app .builder-head>div:first-child>div>span{display:block;overflow-wrap:anywhere}
 body.workspace-app .builder-head .pub-state{flex-basis:100%;white-space:normal;overflow-wrap:anywhere}
 body.workspace-app .builder-head .pub-state:before{flex-shrink:0}
 body.workspace-app .shell,body.workspace-app .shell:has(.is-editor){display:block;grid-template-columns:1fr}
 body.workspace-app .shell .sidebar{position:fixed;inset:0 auto 0 0;width:280px;max-width:85vw;transform:translateX(-105%);transition:transform .2s ease;background:#19221bf5;box-shadow:20px 0 70px #0005}
 body.workspace-app .shell .sidebar:not(.open){visibility:hidden}
 body.workspace-app .shell .sidebar.open{transform:translateX(0);visibility:visible}
 body.workspace-app .shell .mobiletoggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
 body.workspace-app .shell .nav-close{display:grid;position:absolute;top:20px;right:15px;place-items:center;min-height:36px;background:transparent;border:1px solid var(--studio-line);color:#ddd9c6}
 body.workspace-app .shell .nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:55;background:#05090580;backdrop-filter:blur(4px);border:0;border-radius:0}
 body.workspace-app.navigation-open{overflow:hidden}
 body.workspace-app .shell .topbar{padding:0 24px;height:64px}
 body.workspace-app .shell .workspace{padding:26px 24px 45px}
 body.workspace-app .overview-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr)}
 body.workspace-app .priority-panel .activity-row{grid-template-columns:64px minmax(0,1fr)}
 body.workspace-app .priority-panel .activity-row>button{grid-column:2;justify-self:start}
 body.workspace-app .capture-form{grid-template-columns:1fr 1fr}
 body.workspace-app .studio-create{align-items:start;flex-direction:column}
 body.workspace-app .studio-create .row{justify-content:flex-start}
 body.workspace-app .editor-pane-switch{display:flex;gap:6px;padding:12px 18px;background:#19221bef;border-bottom:1px solid var(--studio-line);position:sticky;top:0;z-index:20;backdrop-filter:blur(15px)}
 body.workspace-app .editor-pane-switch button{flex:1;background:transparent;color:#b6c1aa;border:1px solid transparent}
 body.workspace-app .editor-pane-switch button[aria-pressed=true]{background:#d7c39517;color:#f0d6aa;border-color:#d7c39540}
 body.workspace-app .builder-body{display:block;height:auto;min-height:0}
 body.workspace-app .builder-layers,body.workspace-app .builder-inspector{max-height:none;height:auto;min-height:60svh;overflow:visible;border:0;padding-bottom:30px}
 body.workspace-app .builder-inspector .inspector-head{position:static}
 body.workspace-app #content[data-editor-pane=content] :is(.builder-canvas,.builder-inspector,.site-preview-area),body.workspace-app #content[data-editor-pane=properties] :is(.builder-layers,.builder-canvas),body.workspace-app #content[data-editor-pane=preview] :is(.builder-layers,.builder-inspector,#site-fields){display:none}
 body.workspace-app .builder .builder-tabs{grid-template-columns:repeat(3,1fr);position:static}
 body.workspace-app .builder .builder-customize .builder-tabs{grid-template-columns:repeat(4,1fr)}
 body.workspace-app .builder .builder-tabs button{font-size:12px;min-height:42px}
 body.workspace-app .builder .layer-row{min-height:62px}
 body.workspace-app .builder #layer-list{max-height:none;overflow:visible}
 body.workspace-app .builder .preview-stage{height:72svh;min-height:480px}
 body.workspace-app .site-editor-grid{grid-template-columns:1fr;margin-top:18px}
 body.workspace-app #site-fields{position:static;overflow:visible;max-height:none;padding:0}
}
@media(max-width:700px){
 body.workspace-app .shell .topbar{padding:0 15px;gap:10px;height:60px}
 body.workspace-app .workspace-name{font-size:11px;flex:1}
 body.workspace-app .topbar-version,body.workspace-app .topbar .command-trigger kbd,body.workspace-app .topbar .hide-mobile{display:none}
 body.workspace-app .topbar .row{gap:6px}
 body.workspace-app .shell .topbar button[data-action=account]{display:none}
 body.workspace-app .shell .topbar .small{font-size:11px;padding:8px 10px;min-height:38px}
 body.workspace-app .shell .workspace{padding:24px 17px 40px}
 body.workspace-app .shell .sectionhead{display:flex;flex-direction:column;align-items:start;gap:18px;margin-bottom:22px}
 body.workspace-app .shell .sectionhead h1{font-size:28px;line-height:1.14}
 body.workspace-app .shell .sectionhead p{font-size:12px}
 body.workspace-app .shell .sectionhead>.row{flex-wrap:wrap;gap:8px}
 body.workspace-app .shell .sectionhead>.btn,body.workspace-app .shell .sectionhead>button{width:100%;justify-content:center;text-align:center}
 body.workspace-app .shell button,body.workspace-app .shell .btn{min-height:42px}
 body.workspace-app .shell :is(input,select,textarea),body.workspace-app #modal :is(input,select,textarea){font-size:16px;min-height:44px}
 body.workspace-app .overview-metrics{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}
 body.workspace-app .overview-metrics>a{padding:17px 15px;border-radius:13px}
 body.workspace-app .overview-metrics strong{font-size:32px;margin:10px 0 5px}
 body.workspace-app .overview-metrics small{font-size:9px;min-height:28px}
 body.workspace-app .overview-grid{grid-template-columns:1fr;gap:18px}
 body.workspace-app .shell .work-panel{padding:20px}
 body.workspace-app .shell .panel-heading h2{font-size:20px}
 body.workspace-app .shell .panel-heading{gap:12px;align-items:start}
 body.workspace-app .activity-row,body.workspace-app .priority-panel .activity-row{grid-template-columns:62px minmax(0,1fr);gap:12px}
 body.workspace-app .activity-row>button,body.workspace-app .activity-row>.btn{grid-column:2;justify-self:start}
 body.workspace-app .activity-date strong{font-size:13px}
 body.workspace-app .activity-row h3{font-size:14px}
 body.workspace-app .studio-create{margin-top:18px}
 body.workspace-app .studio-create .row{width:100%}
 body.workspace-app .studio-create .row>button{flex:1}
 body.workspace-app .studio-create .row>button:last-child{flex-basis:100%}
 body.workspace-app .activity-summary{grid-template-columns:1fr 1fr;gap:10px}
 body.workspace-app .activity-summary>div{padding:14px;gap:5px}
 body.workspace-app .activity-summary strong{font-size:27px}
 body.workspace-app .activity-controls{grid-template-columns:1fr 1fr;gap:12px}
 body.workspace-app .activity-controls label:first-child{grid-column:1/-1}
 body.workspace-app .activity-controls select{font-size:12px}
 body.workspace-app .project-filters{flex-wrap:wrap;gap:10px}
 body.workspace-app .project-filters label{width:100%}
 body.workspace-app .project-filters>span{padding:0;font-size:11px;margin:4px 0 0}
 body.workspace-app .shell .client-directory article{padding:18px 15px;gap:13px;grid-template-columns:46px minmax(0,1fr)}
 body.workspace-app .shell .client-directory h2{font-size:19px;line-height:1.25}
 body.workspace-app .shell .client-monogram{width:46px;height:46px;font-size:19px}
 body.workspace-app .shell .client-space-head h1{font-size:29px}
 body.workspace-app .shell .client-space-head .tag{font-size:10px}
 body.workspace-app .shell .service-summary strong{font-size:26px}
 body.workspace-app .capture-heading{align-items:start;margin-bottom:20px;gap:12px}
 body.workspace-app .capture-heading .tag{display:none}
 body.workspace-app .capture-heading h2{font-size:22px}
 body.workspace-app .capture-form{grid-template-columns:1fr;gap:16px}
 body.workspace-app .capture-form button{width:100%;height:46px}
 body.workspace-app .capture-foot{display:block;line-height:1.7}
 body.workspace-app .capture-foot>span:last-child{display:none}
 body.workspace-app .capture-results .panel-heading{flex-wrap:wrap}
 body.workspace-app .capture-results .panel-heading .row{gap:8px;flex-wrap:wrap}
 body.workspace-app .capture-results>label select{font-size:12px}
 body.workspace-app .capture-empty{padding:27px 0}
 body.workspace-app .capture-empty h3{font-size:21px}
 body.workspace-app .capture-selection{gap:14px 10px}
 body.workspace-app .capture-selection label{flex-basis:100%}
 body.workspace-app .capture-selection button{width:100%}
 body.workspace-app .shell .capture-result{gap:12px;flex-wrap:wrap}
 body.workspace-app .shell .capture-result>small{display:block;flex-basis:100%;margin-left:32px}
 body.workspace-app .shell .capture-result strong{font-size:17px}
 body.workspace-app .capture-links{gap:12px}
 body.workspace-app .builder-head{padding:15px;gap:14px}
 body.workspace-app .builder-head>div:first-child{flex-basis:100%;gap:10px}
 body.workspace-app .builder-head strong{max-width:155px;font-size:13px}
 body.workspace-app .builder-head #savestate{font-size:9px;max-width:90px;padding-left:10px}
 body.workspace-app .builder-head .row{width:100%;gap:6px}
 body.workspace-app .builder-head .row .small{font-size:10px;padding:8px}
 body.workspace-app .builder-head #editorqr{display:none}
 body.workspace-app .builder-head #savemenu{flex:1}
 body.workspace-app .shell .workspace.is-editor{padding:0}
 body.workspace-app .builder .canvas-toolbar{padding:10px;gap:8px}
 body.workspace-app .builder .canvas-toolbar>span:first-child{font-size:9px}
 body.workspace-app .builder .device-switch{display:flex;gap:4px}
 body.workspace-app .builder .device-switch button{font-size:9px;padding:7px}
 body.workspace-app .site-editor-head h1{font-size:23px}
 body.workspace-app .site-editor-head .row{width:100%;gap:7px}
 body.workspace-app .site-editor-head .row button{font-size:10px;padding:8px 10px;flex:1}
 body.workspace-app .site-editor-head #site-prompt{flex-basis:100%;order:5}
 body.workspace-app .site-preview-toolbar button{font-size:10px;padding:7px}
 body.workspace-app #modal{padding:22px 18px;width:calc(100vw - 24px);max-width:none}
 body.workspace-app #modal .dialoghead h2{font-size:22px;padding-right:15px}
}
@media(max-width:420px){body.workspace-app .shell .stats{grid-template-columns:minmax(0,1fr);gap:12px}body.workspace-app .shell .stat{padding:12px 0;border:0;border-bottom:1px solid var(--studio-line);min-width:0}body.workspace-app .shell .stat strong{font-size:29px;margin:9px 0 0}}
@media(prefers-reduced-motion:reduce){body.workspace-app *,body.workspace-app *::before,body.workspace-app *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
