/* Prompter360: compact settings workspace. All existing control IDs are retained. */
body.p360-layout-ready .app{max-width:1800px}
body.p360-layout-ready:not(.reading) .layout{grid-template-columns:minmax(0,1fr) clamp(340px,29vw,420px);gap:16px;align-items:start}
body.p360-layout-ready:not(.reading) .layout>div:first-child{min-width:0}
body.p360-layout-ready .side.p360-settings-sidebar{display:flex;flex-direction:column;gap:0;position:sticky;top:12px;min-height:0;max-height:calc(100dvh - 24px);height:min(810px,calc(100dvh - 24px));overflow:hidden;border:1px solid #31475c;border-radius:16px;background:#0b1726;box-shadow:0 14px 40px #0003}
body.p360-layout-ready .p360-settings-head{padding:12px 14px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #2b4159;flex-shrink:0}
body.p360-layout-ready .p360-settings-head strong{font-size:16px;color:#e9f8ff}
body.p360-layout-ready .p360-settings-head small{display:block;margin-top:3px;font-size:11px;color:#a3b7c8}
body.p360-layout-ready .p360-settings-head button{border:1px solid #38556a;border-radius:9px;background:#152a40;color:#e4f7f4;font-weight:700;padding:7px 10px;font-size:12px;flex-shrink:0}
body.p360-layout-ready .p360-tabbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px 10px 11px;border-bottom:1px solid #294154;flex-shrink:0}
body.p360-layout-ready .p360-tab{background:#172a40;color:#cadbe8;border:1px solid #3a5168;border-radius:10px;font-weight:650;font-size:12px;min-height:39px;padding:7px 3px;cursor:pointer}
body.p360-layout-ready .p360-tab[aria-selected="true"]{background:#1a635e;border-color:#61e0d2;color:#fff;box-shadow:inset 0 0 0 1px #55cabc}
body.p360-layout-ready .p360-tab:focus-visible{outline:2px solid #6eeadc;outline-offset:2px}
body.p360-layout-ready .p360-tabpanels{flex:1;min-height:0;overflow:hidden}
body.p360-layout-ready .p360-tabpane{height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:10px 11px 20px;scrollbar-color:#45647d #0c1827}
body.p360-layout-ready .p360-tabpane[hidden]{display:none!important}
body.p360-layout-ready .p360-pane-heading{font-weight:750;font-size:13px;color:#9dded9;margin:1px 0 10px}
body.p360-layout-ready .p360-tabpane > .panel{margin:0 0 10px}
body.p360-layout-ready .p360-tabpane .panel{max-width:100%;width:100%;overflow:visible}
body.p360-layout-ready .p360-tabpane .settings{padding:11px}
body.p360-layout-ready .p360-tabpane :is(.record-panel,.p360-camera-effects,.studio-pro,.p360-tools,.p360-vault,.p360-device-lab,.p360-quality-panel,.p360-safety-panel,.mic-diagnostics){min-width:0;max-width:100%;overflow-wrap:anywhere}
body.p360-layout-ready .p360-tabpane input:not([type="checkbox"]):not([type="radio"]),body.p360-layout-ready .p360-tabpane select{max-width:100%}
body.p360-layout-ready .p360-tabpane .record-options{grid-template-columns:repeat(2,minmax(0,1fr))}
body.p360-layout-ready .p360-tabpane .p360-card-wrap{border:1px solid #2b455b;background:#101c2b;border-radius:13px;padding:12px;margin-bottom:10px}
body.p360-layout-ready .p360-tools-row{display:flex;flex-wrap:wrap;gap:7px}
body.p360-layout-ready .p360-tools-row > button{flex:1 1 140px}
body.p360-layout-ready .p360-settings-access{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-4px 0 12px;padding:4px 2px;color:#577082;font-size:12px}
body.p360-layout-ready .p360-settings-toggle{border:1px solid #5a807d;background:#143b3c;color:#edfffb;white-space:nowrap}
body.p360-layout-ready.p360-settings-hidden:not(.reading) .layout{grid-template-columns:minmax(0,1fr)!important}
body.p360-layout-ready.p360-settings-hidden:not(.reading) .side.p360-settings-sidebar{display:none!important}
body.p360-layout-ready .p360-layout-note{color:#b9d1df;font-size:12px;margin:0 0 9px;line-height:1.5}
body.p360-layout-ready .p360-settings-foot{padding:6px 13px;border-top:1px solid #294154;color:#88a6b7;font-size:10px;flex-shrink:0}
body.reading .p360-settings-access{display:none!important}
@media(max-width:950px){
 body.p360-layout-ready:not(.reading) .layout{grid-template-columns:minmax(0,1fr)!important}
 body.p360-layout-ready .side.p360-settings-sidebar{position:static;max-height:72dvh;height:72dvh;margin-top:12px}
 body.p360-layout-ready .p360-settings-toggle{margin-left:auto;flex-shrink:0}
}
@media(max-width:650px){
 body.p360-layout-ready .side.p360-settings-sidebar{height:min(75dvh,700px);max-height:75dvh}
 body.p360-layout-ready .p360-tabbar{gap:5px;padding:8px}
 body.p360-layout-ready .p360-tab{min-height:43px;font-size:12px}
 body.p360-layout-ready .p360-settings-toggle{font-size:12px;padding:8px 9px}
 body.p360-layout-ready .p360-tabpane{padding:8px 8px 16px}
}
