/* Approved red Studio direction. Screen chrome only; drawing and PDF rendering are untouched. */
@media screen {
  body.studio-next {
    --studio-panel:#ffffff;--studio-raised:#f5f8fa;--studio-ink:#173145;
    --studio-muted:#627989;--studio-line:#dce6ec;--studio-canvas:#f8fafb;
    --studio-active:#f2f6f8;--studio-accent:#cb2039;--studio-top:90px;
    color:var(--studio-ink);background:var(--studio-canvas);
    font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif;
  }
  :root[data-theme="dark"] body.studio-next {
    --studio-panel:#20272e;--studio-raised:#27323b;--studio-ink:#edf3f7;
    --studio-muted:#afbdc8;--studio-line:#3a4854;--studio-canvas:#182128;
    --studio-active:#303b45;--studio-accent:#ff7586;
  }
  body.studio-next [hidden] {display:none!important}
  .studio-next .copy-preview-notice {
    min-height:27px;padding:3px 18px;gap:12px;border-bottom:1px solid var(--studio-line);
    background:var(--studio-raised);color:var(--studio-muted);font-size:10px;line-height:1.6;
  }
  .studio-next .copy-preview-notice strong {color:var(--studio-accent);font-weight:650}
  .studio-next .copy-preview-notice a {color:var(--studio-muted);font-size:10px}
  .studio-next .copy-preview-notice button {min-height:20px;padding:0 5px;background:transparent;color:var(--studio-ink);border:0;font-size:10px}
  .studio-next .app-header {
    height:64px;min-height:64px;padding:0 18px;gap:20px;background:var(--studio-panel);
    border-bottom:1px solid var(--studio-line);color:var(--studio-ink);z-index:20;
  }
  .studio-next .app-header .rookberry-wordmark {width:150px;height:auto}
  .studio-next .app-header .logo-light {display:block}
  .studio-next .app-header .logo-dark {display:none}
  :root[data-theme="dark"] .studio-next .app-header .logo-light {display:none}
  :root[data-theme="dark"] .studio-next .app-header .logo-dark {display:block}
  .studio-next .studio-project-title {display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 210px;max-width:340px;padding:0;border:0}
  .studio-next .studio-project-title h1 {font-size:13px;font-weight:600;color:var(--studio-ink);max-height:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .studio-next .studio-projects-link {padding:4px 0;min-height:32px;background:transparent;border:0;color:var(--studio-muted);font-size:12px}
  .studio-next .studio-breadcrumb-separator {color:#b6c5ce}
  .studio-next .studio-nav {gap:4px;margin:0 auto;flex:none;align-self:stretch}
  .studio-next .studio-nav button {display:block;font-size:13px;color:var(--studio-ink);padding:0 14px;background:transparent}
  .studio-next .studio-nav button:hover {background:var(--studio-raised);color:var(--studio-accent)}
  .studio-next .studio-nav .studio-current {color:var(--studio-accent)}
  .studio-next .studio-nav .studio-current::after {background:var(--studio-accent);left:5px;right:5px;height:3px}
  .studio-next .studio-nav button[aria-expanded="true"] {background:var(--studio-active)}
  .studio-next #cable-search-open {width:205px;min-height:34px;flex:none;margin:0;padding:6px 10px;font-size:11px;background:var(--studio-panel);color:var(--studio-muted);border:1px solid var(--studio-line);border-radius:5px}
  .studio-next .search-key {display:inline;font-size:9px}
  .studio-next .header-actions {gap:10px;margin-left:0;align-items:center}
  .studio-next .header-actions #export {background:#cb2039;border-color:#cb2039;font-size:12px;padding:8px 14px;min-height:35px}
  .studio-next .header-actions #export:hover {background:#ad1930}
  .studio-next .header-actions #save-project {border:0;background:transparent;color:var(--studio-ink);font-size:11px;padding:6px}
  .studio-next .header-actions #save-project:hover {background:var(--studio-raised)}
  .studio-next .studio-history {display:flex;align-items:center;gap:0;border-left:1px solid var(--studio-line);padding-left:8px}
  .studio-next .studio-history button {font-size:21px;min-height:30px;padding:2px 7px;color:var(--studio-ink)}
  .studio-next #autosave-status {display:inline;max-width:180px;font-size:10px;line-height:1.4;color:var(--studio-muted)}
  .studio-next #autosave-status.save-error {color:#cc2940}
  .studio-next .studio-menu summary {color:var(--studio-muted);width:30px;height:34px}
  .studio-next .studio-menu summary:hover,.studio-next .studio-menu[open] summary {background:var(--studio-active)}
  .studio-next .studio-menu-items {z-index:30;top:43px;background:var(--studio-panel);border-color:var(--studio-line);box-shadow:0 12px 36px #152b381c}

  body.studio-next .workspace,body.studio-next.explorer-open .workspace {
    position:relative;display:grid;grid-template-columns:78px minmax(0,1fr) 306px;
    height:calc(100dvh - var(--studio-top));min-height:360px;overflow:hidden;
  }
  body.studio-next.studio-details-closed .workspace,body.studio-next.studio-details-closed.explorer-open .workspace {grid-template-columns:78px minmax(0,1fr) 0}
  body.studio-next.home-view .workspace {display:none}
  .studio-next .studio-tool-rail {grid-column:1;grid-row:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;border-right:1px solid var(--studio-line);background:var(--studio-panel);z-index:4}
  .studio-next .toolbar {
    position:static;top:auto;bottom:auto;left:auto;transform:none;display:flex;flex-direction:column;
    width:100%;max-width:none;border:0;border-radius:0;box-shadow:none;padding:10px 7px;gap:3px;overflow:visible;
  }
  .studio-next .toolbar .tool {width:100%;min-width:0;min-height:66px;padding:7px 2px;gap:4px;border-radius:7px;color:var(--studio-ink);font-size:10px;flex:none}
  .studio-next .toolbar .tool svg {width:24px;height:24px;color:var(--studio-ink)}
  .studio-next .toolbar .tool kbd {font:9px/1.2 inherit;color:var(--studio-muted);border:1px solid var(--studio-line);padding:1px 4px;border-radius:3px;min-width:15px}
  .studio-next .toolbar .tool.active {background:var(--accent-soft);color:var(--studio-accent);box-shadow:inset 2px 0 #cb2039}
  .studio-next .toolbar .tool.active svg {color:var(--studio-ink)}
  .studio-next .toolbar .tool[data-tool="data"] svg {color:#ff3036}
  .studio-next .toolbar .tool[data-tool="ap"] svg {color:#008d92}
  .studio-next .toolbar .tool[data-tool="camera"] svg {color:#946039}
  .studio-next .toolbar .tool[data-tool="phone"] svg {color:#8051bd}
  .studio-next .toolbar .tool[data-tool="tv-device"] svg {color:#4c7caa}
  .studio-next .toolbar .tool[data-tool="route"] svg {color:#255bdd}
  .studio-next .toolbar .tool[data-tool="route"],.studio-next .toolbar .tool[data-tool="scale"] {margin-top:8px;border-top:1px solid var(--studio-line);border-radius:0}
  .studio-next .drawing-area {grid-column:2;grid-row:1;height:auto;min-height:0;min-width:0;background:var(--studio-canvas)}
  .studio-next .drawing-header {height:58px;min-height:58px;padding:0 16px;gap:12px;background:var(--studio-canvas);border:0}
  .studio-next .studio-floor-context {min-width:0;flex:1}
  .studio-next .studio-sheet-picker {position:relative;display:flex;align-items:center;gap:10px;max-width:100%;min-height:34px;padding:6px 28px 6px 11px;background:var(--studio-panel);border:1px solid var(--studio-line);border-radius:5px;text-align:left}
  .studio-next .studio-sheet-picker #building-label {font-size:11px;color:var(--studio-muted);flex:none}
  .studio-next .studio-sheet-picker #floor-title {font-size:12px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--studio-line);padding-left:10px;max-width:310px}
  .studio-next .studio-chevron {position:absolute;right:9px;top:5px;color:var(--studio-muted)}
  .studio-next .drawing-actions {gap:6px;display:flex;align-items:center;width:auto}
  .studio-next .drawing-actions > button {width:auto!important;margin:0!important;min-height:32px!important;font-size:11px!important;padding:5px 10px;white-space:nowrap;background:var(--studio-panel);border-color:var(--studio-line);color:var(--studio-ink)}
  .studio-next .drawing-actions > button[aria-pressed="true"],.studio-next .drawing-actions > button[aria-expanded="true"] {border-color:var(--studio-accent);color:var(--studio-accent)}
  .studio-next .studio-edit-menu {position:relative;font-size:11px;flex:none}
  .studio-next .studio-edit-menu > summary {padding:7px 10px;min-height:32px;border:1px solid var(--studio-line);border-radius:5px;cursor:pointer;background:var(--studio-panel);color:var(--studio-ink)}
  .studio-next .studio-edit-menu .edit-strip {position:absolute;top:40px;right:0;min-width:270px;max-width:320px;width:300px;padding:15px;display:flex;flex-wrap:wrap;gap:10px;background:var(--studio-panel);border:1px solid var(--studio-line);border-radius:8px;box-shadow:0 8px 24px #152b381b;z-index:15}
  .studio-next .edit-strip button,.studio-next .edit-strip select {font-size:12px;min-height:34px}
  .studio-next .canvas-shell {background:var(--studio-canvas);min-height:0;flex:1 1 auto}
  .studio-next .tool-help {top:auto;bottom:14px;left:16px;max-width:calc(100% - 160px);font-size:10px;line-height:1.5;border:0;background:var(--studio-panel);padding:7px 10px;color:var(--studio-muted);box-shadow:none}
  .studio-next .studio-sheet-quick {position:absolute;bottom:14px;right:16px;z-index:3;background:var(--studio-panel);border:1px solid var(--studio-line);box-shadow:0 2px 8px #152b3809;min-height:32px;font-size:11px;padding:6px 12px;color:var(--studio-ink)}
  .studio-next .studio-selection-dock {position:absolute;bottom:57px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:3px;padding:5px;background:var(--studio-panel);border:1px solid var(--studio-line);border-radius:9px;box-shadow:0 4px 15px #152b3810;max-width:calc(100% - 32px)}
  .studio-next .studio-selection-dock button {min-height:35px;padding:6px 12px;font-size:11px;border:0;background:transparent;color:var(--studio-ink)}
  .studio-next .studio-selection-dock button:hover {background:var(--studio-active)}
  .studio-next .studio-selection-dock button:last-child:not(:first-child) {border-left:1px solid var(--studio-line);border-radius:0}

  body.studio-next .project-panel {
    position:absolute;z-index:12;left:90px;top:58px;bottom:54px;width:305px;display:flex;flex-direction:column;
    max-height:none;margin:0;padding:0 16px 18px;border:1px solid var(--studio-line);border-radius:9px;
    background:var(--studio-panel);box-shadow:0 14px 36px #152b3824;overflow:auto;
  }
  .studio-next .studio-plans-heading,.studio-next .studio-inspector-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--studio-muted)}
  .studio-next .studio-plans-heading {position:sticky;top:0;z-index:2;padding:12px 0;margin-bottom:8px;background:var(--studio-panel);border-bottom:1px solid var(--studio-line)}
  .studio-next .studio-plans-heading h2 {margin:0;font-size:15px;font-weight:600;color:var(--studio-ink)}
  .studio-next .studio-close {width:27px;min-height:27px;padding:0;font-size:20px;background:transparent;border:0;color:var(--studio-muted)}
  .studio-next .studio-close:hover {background:var(--studio-active)}
  .studio-next .studio-sheet-heading {margin:12px 0 10px;font-size:12px}
  .studio-next #floor-list {gap:4px;margin:0 0 12px;flex-direction:column;overflow:visible}
  .studio-next .floor-button {width:100%;max-width:none;min-width:0;min-height:57px;background:var(--studio-panel);border:1px solid transparent;border-radius:5px;font-size:12px;padding:8px 10px}
  .studio-next .floor-button.active {background:var(--accent-soft);border-color:#ecafb8;box-shadow:none;color:var(--studio-ink)}
  .studio-next .floor-button small {font-size:10px}
  .studio-next .floor-count {font-size:10px}
  .studio-next .customer-logo-panel {margin:0 0 10px;padding:0 0 12px}
  .studio-next .customer-logo-panel img {max-height:35px}
  .studio-next .studio-inspector {grid-column:3;grid-row:1;margin:12px 12px 52px 0;align-self:start;min-width:0;max-height:calc(100% - 64px);display:flex;flex-direction:column;background:var(--studio-panel);border:1px solid var(--studio-line);border-radius:9px;box-shadow:0 3px 14px #152b380a;overflow:hidden;z-index:5}
  .studio-next .studio-inspector-heading {padding:8px 12px 5px 16px;font-size:10px;flex:none}
  body.studio-next .properties-panel {display:block;width:100%;max-height:none;overflow:auto;columns:auto;column-gap:normal;grid-column:auto;border:0;background:var(--studio-panel);padding:8px 16px 18px;scrollbar-width:thin;min-height:0}
  .studio-next .properties-panel .property-type {margin:0 0 10px;padding:0 0 13px;gap:10px;border-color:var(--studio-line)}
  .studio-next .properties-panel .property-type h2 {font-size:20px;letter-spacing:-.3px;margin-top:3px}
  .studio-next .properties-panel h2 {font-size:17px;font-weight:600;line-height:1.4;margin:5px 0 12px}
  .studio-next .properties-panel .property-sub {font-size:10px}
  .studio-next .properties-panel .type-icon {background:var(--studio-raised);width:38px;height:38px}
  .studio-next .properties-panel [data-studio-kind="ap"] .type-icon {color:#008d92;background:#e9f7f7}
  .studio-next .properties-panel [data-studio-kind="data"] .type-icon {color:#ff3036}
  .studio-next .properties-panel [data-studio-kind="phone"] .type-icon {color:#8051bd}
  .studio-next .properties-panel [data-studio-kind="tv"] .type-icon {color:#4c7caa}
  .studio-next .properties-panel [data-studio-kind="camera"] .type-icon {color:#946039}
  .studio-next .studio-property-summary {display:flex;flex-direction:column;gap:4px;font-size:12px;padding:0 0 12px;overflow-wrap:anywhere}
  .studio-next .studio-property-summary .studio-room {margin:0 0 8px;font-size:11px;color:var(--studio-muted)}
  .studio-next .studio-summary-label {font-size:10px;color:var(--studio-muted)}
  .studio-next .studio-property-summary strong {font-weight:600;line-height:1.6}
  .studio-next .studio-property-summary small {font-size:10px;color:var(--studio-muted)}
  .studio-next .properties-panel .coordination-context {font-size:11px;margin:0 0 12px;padding:10px 0;border:0;border-bottom:1px solid var(--studio-line);line-height:1.6}
  .studio-next .coordination-context strong {font-size:10px;font-weight:500;color:var(--studio-muted)}
  .studio-next .coordination-context p {margin:4px 0}
  .studio-next .coordination-context button {font-size:10px;min-height:26px;padding:3px 7px}
  .studio-next .studio-property-details {border-top:1px solid var(--studio-line);margin-top:12px;padding-top:8px}
  .studio-next .studio-property-details > summary {font-size:12px;font-weight:600;cursor:pointer;min-height:34px;padding:7px 0;color:var(--studio-ink)}
  .studio-next .property-type ~ .studio-property-details > summary {padding:9px 12px;background:var(--accent-soft);color:var(--studio-ink);border:1px solid #ecafb8;border-radius:5px;box-shadow:none}
  .studio-next .properties-panel .field {font-size:11px;margin:12px 0}
  .studio-next .properties-panel .field input,.studio-next .properties-panel .field select,.studio-next .properties-panel .field textarea {font-size:12px;min-height:34px;padding:7px 8px}
  .studio-next .properties-panel .overview-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}
  .studio-next .properties-panel .overview-big {font-size:24px;letter-spacing:-.5px}
  .studio-next .properties-panel .overview-grid small {font-size:9px;line-height:1.5}
  .studio-next .properties-panel .note-box {font-size:10px;margin:10px 0;padding:10px;line-height:1.7;border-radius:5px}
  .studio-next .properties-panel .warning-box {border:1px solid #edc78b;background:var(--warning-bg);color:var(--warning-ink)}
  .studio-next .properties-panel .connection-chain {font-size:11px;padding:10px;margin:8px 0;overflow-wrap:anywhere}
  .studio-next .properties-panel .wide {font-size:11px;min-height:32px;margin-top:6px}
  .studio-next .status-bar {position:relative;min-height:42px;padding:7px 14px;font-size:10px;gap:13px;flex-wrap:wrap;border-top:1px solid var(--studio-line);background:var(--studio-panel)}
  .studio-next .status-bar b {font-size:11px;font-weight:600}
  .studio-next #stat-connections {display:inline;font-size:10px}
  .studio-next .status-bar .scale-state {font-size:10px;min-height:25px;padding:2px 4px;color:var(--studio-muted)}
  .studio-next .zoom-controls {margin-left:auto;background:var(--studio-panel);border-color:var(--studio-line)}
  .studio-next .status-bar .zoom-controls button {font-size:11px;min-height:27px}
  .studio-next .trace-mode-bar {margin:0 16px 8px;border:1px solid var(--studio-line);border-radius:6px}
  .studio-next.trace-mode .studio-tool-rail {background:var(--studio-raised)}
  .studio-next.trace-mode .studio-selection-dock {display:none}
  .studio-next.home-view .studio-project-title,.studio-next.home-view .studio-nav,.studio-next.home-view #cable-search-open,.studio-next.home-view .studio-history,.studio-next.home-view #autosave-status {display:none}
  .studio-next.home-view .header-actions {margin-left:auto}
  .studio-next.home-view :is(#studio-save-project,#download-project-backup,#studio-explorer-menu,#coordination-open,[data-studio-action="schedule"]) {display:none}
  .studio-next :is(button,summary,a,input,select,textarea):focus-visible {outline:2px solid var(--studio-accent);outline-offset:3px}
}
@media screen and (min-width:1700px) {
  body.studio-next .workspace,body.studio-next.explorer-open .workspace {grid-template-columns:82px minmax(0,1fr) 320px}
}
@media screen and (max-width:1450px) {
  .studio-next #autosave-status {display:inline;max-width:135px;font-size:9px}
  .studio-next .app-header {gap:13px;padding:0 14px}
  .studio-next .studio-project-title {max-width:250px}
  .studio-next .studio-projects-link,.studio-next .studio-breadcrumb-separator {display:none}
  .studio-next #cable-search-open {width:170px}
  .studio-next .studio-nav button {padding:0 10px}
  .studio-next .drawing-header {padding:0 12px;gap:8px}
  .studio-next .drawing-actions {gap:4px}
  .studio-next .studio-sheet-picker {gap:7px}
  .studio-next .studio-sheet-picker #floor-title {max-width:200px}
  .studio-next #stat-connections {display:none}
}
@media screen and (max-width:1200px) {
  body.studio-next .workspace,body.studio-next.explorer-open .workspace {grid-template-columns:70px minmax(0,1fr) 278px}
  .studio-next .app-header .rookberry-wordmark {width:132px}
  .studio-next .studio-project-title {max-width:155px;flex-basis:155px}
  .studio-next .studio-project-title h1 {font-size:11px}
  .studio-next #cable-search-open {width:150px;font-size:10px}
  .studio-next .search-key {display:none}
  .studio-next .header-actions {gap:5px}
  .studio-next .header-actions #save-project {display:none}
  .studio-next .studio-sheet-picker #building-label {display:none}
  .studio-next .studio-sheet-picker #floor-title {border:0;padding:0;max-width:200px}
  .studio-next .drawing-actions #connection-explorer-open {font-size:0!important;padding:6px 8px}
  .studio-next .drawing-actions #connection-explorer-open::after {content:'Explorer';font-size:11px}
  .studio-next .toolbar .tool {min-height:60px}
  .studio-next .studio-inspector {margin-right:10px}
  .studio-next .status-bar > span:has(#stat-length) {display:none}
}
@media screen and (max-width:980px) {
  .studio-next .studio-project-title {display:none}
  body.studio-next .workspace,body.studio-next.explorer-open .workspace,body.studio-next.studio-details-closed .workspace,body.studio-next.studio-details-closed.explorer-open .workspace {grid-template-columns:68px minmax(0,1fr)}
  .studio-next .studio-inspector {position:absolute;right:10px;top:57px;width:286px;max-height:calc(100% - 119px);margin:0;box-shadow:0 10px 26px #152b3820}
  .studio-next .studio-sheet-picker #floor-title {max-width:240px}
  .studio-next .header-actions #save-project {display:block}
  .studio-next #cable-search-open {width:155px}
  .studio-next .studio-history {padding-left:4px}
  .studio-next .app-header {gap:9px}
  .studio-next .studio-nav {margin:0 auto}
  body.studio-next .project-panel {left:80px}
}
@media screen and (max-height:780px) and (min-width:701px) {
  .studio-next .toolbar .tool {min-height:49px;padding:4px 2px;gap:2px}
  .studio-next .toolbar .tool kbd {position:absolute;right:3px;font-size:8px;padding:0 2px;align-self:flex-end}
  .studio-next .toolbar .tool {position:relative}
  .studio-next .toolbar .tool svg {width:20px;height:20px}
  .studio-next .toolbar .tool[data-tool="route"],.studio-next .toolbar .tool[data-tool="scale"] {margin-top:4px}
}
@media screen and (max-width:700px) {
  .studio-next .copy-preview-notice {min-height:25px;padding:3px 10px;gap:8px;flex-wrap:nowrap}
  .studio-next .copy-preview-notice span {display:none}
  .studio-next .copy-preview-notice a {margin-left:auto}
  .studio-next .app-header {height:auto;min-height:56px;flex-wrap:wrap;padding:10px 12px;gap:8px}
  .studio-next .app-header .rookberry-wordmark {width:125px}
  .studio-next .header-actions {margin-left:auto;gap:3px}
  .studio-next .header-actions #export {min-height:32px;font-size:10px;padding:7px 9px}
  .studio-next .header-actions #save-project,.studio-next .studio-history {display:none}
  .studio-next .studio-menu summary {width:26px}
  .studio-next #cable-search-open {order:5;margin-left:auto;width:160px;min-height:31px}
  .studio-next .studio-nav {order:4;align-self:auto;width:auto;height:34px;margin:0;padding:0;border:0;gap:1px}
  .studio-next .studio-nav button {font-size:11px;padding:0 11px;flex:none;min-height:34px}
  body.studio-next .workspace,body.studio-next.explorer-open .workspace,body.studio-next.studio-details-closed .workspace,body.studio-next.studio-details-closed.explorer-open .workspace {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 65px;min-height:350px}
  .studio-next .drawing-area {grid-column:1;grid-row:1;height:auto;min-height:0}
  .studio-next .studio-tool-rail {grid-column:1;grid-row:2;overflow-x:auto;overflow-y:hidden;border:0;border-top:1px solid var(--studio-line)}
  .studio-next .toolbar {display:flex;flex-direction:row;min-width:max-content;width:max-content;padding:3px 5px;gap:3px}
  .studio-next .toolbar .tool {min-width:56px;width:56px;min-height:56px;padding:5px;gap:3px;font-size:10px}
  .studio-next .toolbar .tool kbd {display:none}
  .studio-next .toolbar .tool svg {width:22px;height:22px}
  .studio-next .toolbar .tool[data-tool="route"],.studio-next .toolbar .tool[data-tool="scale"] {border:0;border-left:1px solid var(--studio-line);margin:0 0 0 4px}
  .studio-next .drawing-header {min-height:53px;height:53px;flex-direction:row;align-items:center;padding:7px 10px;gap:5px}
  .studio-next .studio-sheet-picker {padding:6px 22px 6px 9px;min-height:31px}
  .studio-next .studio-sheet-picker #floor-title {max-width:130px;font-size:10px}
  .studio-next .drawing-actions {gap:4px;width:auto}
  .studio-next .drawing-actions #connection-trace-open {font-size:0!important;padding:5px 7px}
  .studio-next .drawing-actions #connection-trace-open::after {content:'Trace';font-size:10px}
  .studio-next .drawing-actions #connection-explorer-open {display:none}
  .studio-next .drawing-actions > button {font-size:10px!important;padding:5px 7px;min-height:30px!important}
  .studio-next .studio-edit-menu > summary {font-size:0;min-height:30px;padding:6px 8px}
  .studio-next .studio-edit-menu > summary::after {content:'Tools';font-size:10px}
  .studio-next .studio-edit-menu .edit-strip {width:280px;min-width:260px;right:-52px}
  .studio-next .studio-inspector {top:53px;right:10px;left:auto;width:min(310px,calc(100% - 20px));max-height:calc(100% - 170px)}
  body.studio-next .project-panel {left:10px;top:53px;width:min(310px,calc(100% - 20px));bottom:115px;max-height:none;display:flex}
  .studio-next .project-panel .studio-sheet-heading {margin:12px 0 9px}
  .studio-next .project-panel #floor-list {display:flex;flex-direction:column;overflow:visible}
  .studio-next .tool-help {left:10px;bottom:10px;max-width:calc(100% - 118px);font-size:9px;padding:5px 7px}
  .studio-next .studio-sheet-quick {right:10px;bottom:10px;font-size:10px;padding:5px 8px;min-height:28px}
  .studio-next .studio-selection-dock {bottom:59px;max-width:calc(100% - 20px);padding:4px}
  .studio-next .studio-selection-dock button {font-size:10px;padding:5px 8px}
  .studio-next .status-bar {min-height:37px;font-size:9px;gap:7px;padding:5px 10px}
  .studio-next .status-bar b {font-size:10px}
  .studio-next .status-bar .scale-state {font-size:9px;max-width:110px;white-space:normal}
  .studio-next .status-bar .zoom-controls {margin-left:auto}
  .studio-next .status-bar .zoom-controls button {min-height:25px;font-size:10px;padding:3px 6px}
  .studio-next .zoom-controls span {font-size:10px;min-width:31px}
  .studio-next.home-view .app-header {flex-wrap:nowrap}
}
@media screen and (prefers-reduced-motion:reduce) {
  .studio-next button,.studio-next details {transition:none;scroll-behavior:auto}
}
