/* One navigation, five business modules, and one current-content management drawer. */
.admin-main-nav{counter-reset:admin-module}
.admin-menu-group{counter-increment:admin-module;margin-bottom:14px}
.admin-main-nav .nav-caption{display:flex;align-items:center;gap:9px;color:#51615a;font-size:12px;font-weight:650;letter-spacing:.03em;border-top:1px solid #e9e7df;padding-top:17px}
.admin-menu-group:first-child .nav-caption{border-top:0;padding-top:0}
.admin-main-nav .nav-caption:before{content:"0" counter(admin-module);font-size:10px;color:#9a9d91;font-weight:500}
.admin-main-nav .review-nav{margin:3px 0;border-radius:8px}
.review-account{flex-shrink:0}
.breadcrumb{flex-wrap:wrap;line-height:1.7}
.workspace-modes{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;background:#f0f1eb;border:1px solid #e2e5da;padding:6px;border-radius:10px;margin-bottom:20px;width:fit-content;max-width:100%}
.workspace-modes .button{border-color:transparent;background:transparent;color:#647268;padding:9px 15px}
.workspace-modes .button.active{background:#fffdf8;border-color:#d7ddd0;color:#264d3e;box-shadow:0 2px 5px #34463908}
.connection-status p{font-size:13px;color:#738074;line-height:1.85;margin:10px 0 15px}
.connection-status .button+.button{margin-left:8px}
.connection-destinations{display:flex;flex-wrap:wrap;gap:12px;padding:10px 0 24px}
.system-capabilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.system-capabilities .panel{margin:0;min-height:180px;display:flex;flex-direction:column;align-items:flex-start;padding:25px}
.system-capabilities h2{font-size:19px;margin:14px 0 8px}
.system-capabilities p{color:#798174;font-size:13px;line-height:1.9;flex:1;margin:0 0 18px}
.system-history-tools{padding:22px 25px;margin-top:22px;border:1px solid #dedfd4;border-radius:10px;background:#fafaf5}
.system-history-tools summary{font-size:13px;font-weight:600;cursor:pointer}
.system-history-tools p{font-size:12px;line-height:1.9;color:#7c8478}
.system-history-tools .button{margin-right:10px}
.module-empty{text-align:center;max-width:820px;margin:10px auto;padding:55px 45px;display:flex;align-items:center;flex-direction:column}
.module-empty-icon{height:64px;width:64px;border-radius:18px;background:#eaf0e5;display:grid;place-items:center;font-size:27px;color:#5c745d;margin-bottom:20px}
.module-empty h2{font-size:24px;margin:20px 0 12px}
.module-empty p{max-width:530px;font-size:14px;line-height:2;color:#7a8376}
.module-empty-fields{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:20px 0 28px}
.module-empty-fields span{font-size:12px;border:1px solid #dfe4d7;padding:9px 15px;border-radius:6px;color:#8a9383}
.studio-table .studio-pill{line-height:1.55}
.studio-drawer-backdrop{position:fixed;inset:0;background:#302e2663;backdrop-filter:blur(2px);z-index:95;display:flex;justify-content:flex-end}
.studio-drawer-backdrop .studio-editor{width:min(1050px,calc(100vw - 48px));height:100dvh;max-height:100dvh;margin:0;box-sizing:border-box;border:0;border-left:1px solid #d4dacb;border-radius:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:#fffefb;box-shadow:-12px 0 55px #25312a1c;scroll-padding-top:130px;animation:studio-drawer-in .18s ease-out}
.studio-drawer-backdrop .studio-editor>header{position:sticky;top:0;z-index:4;padding:23px 28px;background:#fffefbf5;backdrop-filter:blur(10px);border-bottom:1px solid #e1e5d9;min-height:88px;box-sizing:border-box}
.studio-drawer-backdrop .studio-editor>header h2{font-size:22px;color:#314c3c}
.studio-drawer-backdrop .studio-editor>header p{line-height:1.8;word-break:break-word}
.studio-drawer-sections{position:sticky;top:88px;z-index:3;display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;padding:10px 28px;background:#f7f8f0;border-bottom:1px solid #e3e7d8}
.studio-drawer-sections .button{font-size:12px;background:transparent;border-color:transparent;padding:7px 10px}
.studio-drawer-sections .button:hover{background:#eaf0e2}
.studio-editor .studio-form,.studio-editor .studio-review-section,.studio-editor .studio-maintenance-section{scroll-margin-top:145px}
.studio-editor .studio-section{padding:22px 28px}
.studio-editor .studio-status-note{font-size:12px;line-height:1.9;color:#7b8375;margin:0}
.studio-record-facts{display:flex;flex-wrap:wrap;gap:9px;padding:20px 28px 0;font-size:11px;color:#71816b}.studio-record-facts span{background:#f0f3e9;border:1px solid #e2e8d8;border-radius:5px;padding:7px 10px}.studio-editor details.studio-section summary{font-size:12px;color:#87907e;cursor:pointer}.studio-editor details.studio-section[open] p{margin-top:10px}
.studio-editor .studio-form{padding:6px 28px 24px}
.studio-editor .studio-ai-entry{margin:0 28px 22px}
.studio-editor .studio-image{margin:0 28px 22px;max-width:calc(100% - 56px)}
.studio-editor .studio-image img{max-height:530px;object-fit:contain}
.studio-editor .studio-actions{position:sticky;bottom:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:#fffefbf7;backdrop-filter:blur(10px);border-top:1px solid #dce3d3;padding:17px 28px;margin:0;box-shadow:0 -5px 20px #263b2405}
.studio-editor .studio-actions .studio-note{margin-left:auto;font-size:11px}
@keyframes studio-drawer-in{from{transform:translateX(30px);opacity:.7}to{transform:translateX(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.studio-drawer-backdrop .studio-editor{animation:none;scroll-behavior:auto}}
@media(max-width:900px){.system-capabilities{grid-template-columns:1fr}.studio-drawer-backdrop .studio-editor{width:calc(100vw - 24px)}}
@media(max-width:600px){.workspace-modes{width:100%;box-sizing:border-box;gap:3px}.workspace-modes .button{flex:1 1 40%;padding:8px 6px;font-size:12px}.studio-drawer-backdrop .studio-editor{width:100vw}.studio-drawer-backdrop .studio-editor>header{padding:16px 18px;min-height:88px}.studio-drawer-sections{padding:8px 14px}.studio-editor .studio-section{padding:18px}.studio-editor .studio-form{padding:6px 18px 20px;grid-template-columns:1fr}.studio-editor .studio-form .wide{grid-column:auto}.studio-editor .studio-ai-entry{margin:0 18px 18px}.studio-editor .studio-image{margin:0 18px 18px;max-width:calc(100% - 36px)}.studio-editor .studio-actions{padding:14px 18px}.studio-editor .studio-actions .studio-note{width:100%;margin:0}.module-empty{padding:35px 20px}.connection-status .button{margin:6px 0!important}}
/* Compact field settings reuse the main workspace; no nested navigation or publication form. */
.field-label-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:16px 0;border-bottom:1px solid var(--line,#e8e3db);margin-bottom:16px}.field-label-form>label:first-child{display:grid;gap:6px;min-width:200px;flex:1}.field-label-form input[type=text],.field-label-form input:not([type]){width:100%;padding:10px;border:1px solid #ded8ce;border-radius:7px}.field-label-table td:last-child{display:flex;gap:14px;flex-wrap:wrap}.studio-more-fields{margin:0 0 16px}.field-label-panel{max-width:1000px}
.workspace-extra{position:relative;margin-left:auto}.workspace-extra summary{cursor:pointer;padding:10px;color:#6d7469;font-size:13px}.workspace-extra[open]>.button{position:absolute;right:0;top:100%;z-index:8;white-space:nowrap;background:#fff}.studio-status-strip{padding:8px 12px;margin-bottom:16px;font-size:12px;background:transparent;border:none}.system-pending-tools{margin:18px 0;color:#666}.system-pending-tools summary{cursor:pointer}.system-pending-tools .button{margin:5px}.studio-editor>.studio-more-fields{margin-left:28px}
