*{box-sizing:border-box}body{margin:0;background:#fffbe1;color:#25372e;font:16px/1.5 system-ui,sans-serif}header{display:flex;align-items:center;gap:24px;padding:16px 24px;border-bottom:1px solid #ded9bd}#identity{margin-left:auto}button{font:inherit;border:1px solid #c9c4ac;border-radius:7px;padding:11px 20px;background:#fffbe1;color:inherit;cursor:pointer}button:focus-visible{outline:3px solid #287749;outline-offset:3px}#login{max-width:460px;margin:64px auto;padding:28px}form{display:grid;gap:20px}label{display:grid;gap:8px}input{font:inherit;width:100%;padding:12px;border:1px solid #c9c4ac;border-radius:6px}form button{background:#31794d;color:white}#tabs{display:flex;gap:12px;padding:16px 24px;border-bottom:1px solid #ded9bd}#tabs [aria-selected=true]{background:#31794d;color:white}iframe{width:100%;height:calc(100dvh - 160px);min-height:480px;border:0;display:block}#tabs[hidden]+#asset-panel+#help-panel iframe{height:calc(100dvh - 80px)}[hidden]{display:none!important}@media(max-width:600px){header{gap:12px;padding:12px}#tabs{padding:12px}button{padding:10px 12px}#login{margin:24px auto}}
#workspace{position:relative}#tabs{align-items:center;gap:12px}#asset-menu-toggle{margin-left:-10px;padding:11px 14px}#asset-section-menu{position:absolute;left:24px;top:74px;z-index:10;min-width:260px;max-width:calc(100vw - 32px);padding:8px;background:#fffbe1;border:1px solid #c9c4ac;border-radius:8px;box-shadow:0 8px 24px #172e3026;display:grid;gap:4px}#asset-section-menu button{text-align:left;border:0;background:transparent}#asset-section-menu button:hover,#asset-section-menu button[aria-current=page]{background:#e4ecd9}#asset-section-caption{margin:0;padding:12px 24px;font-weight:600;border-bottom:1px solid #ded9bd}#asset-panel iframe{height:calc(100dvh - 205px)}@media(max-width:600px){#asset-section-menu{left:12px;top:66px}#asset-section-caption{padding:10px 12px}}

/* Shared header occupies one row; the workspace fills the remainder. */
html,body{height:100%;height:100dvh}body{display:flex;flex-direction:column;overflow:hidden}header{flex:0 0 auto;gap:20px;padding:10px 24px;flex-wrap:wrap;min-height:64px}body:has(#tabs:not([hidden])) header>strong{display:none}#header-navigation{position:relative}#tabs{padding:0;border:0;gap:12px}header button{padding:8px 16px}#asset-menu-toggle{padding:8px 12px}#asset-section-menu{left:0;top:calc(100% + 10px);max-height:calc(100dvh - 100px);overflow-y:auto}main{flex:1;min-height:0;overflow:auto}#workspace,#asset-panel,#help-panel{height:100%;min-height:0}#workspace iframe,#asset-panel iframe,#help-panel iframe{height:100%;min-height:0}#asset-section-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#identity{font-size:.9rem}#logout{white-space:nowrap}@media(max-width:600px){header{gap:10px;padding:10px 12px}#tabs{padding:0;gap:8px}header button{padding:8px 10px}#identity{margin-left:auto}#asset-section-menu{left:0;top:calc(100% + 10px)}}

/* Compact global navigation; content remains flexible at all viewport sizes. */
body{font-size:13px;line-height:1.4}header{min-height:46px;padding:6px 12px;gap:16px}header button{font-size:13px;line-height:1.3;min-height:32px;padding:6px 12px;border-radius:4px}#tabs{gap:10px}#asset-menu-toggle{padding:6px 10px}#identity{font-size:12px}#asset-section-menu{top:calc(100% + 6px);min-width:230px;padding:6px;gap:2px}#asset-section-menu button{padding:7px 10px;font-size:13px}#asset-section-menu{max-height:calc(100dvh - 70px)}@media(max-width:600px){header{padding:6px 8px;gap:8px}#tabs{gap:8px}header button{padding:6px 10px}}

#help-menu-toggle{margin-left:-8px;padding:6px 10px}#help-section-menu{position:absolute;left:0;top:calc(100% + 6px);z-index:10;min-width:230px;max-height:calc(100dvh - 70px);overflow:auto;display:grid;gap:2px;padding:6px;background:#fffbe1;border:1px solid #c9c4ac;border-radius:6px;box-shadow:0 8px 24px #172e3026}#help-section-menu button{text-align:left;border:0;background:transparent;padding:7px 10px}#help-section-menu button:hover,#help-section-menu button[aria-current=page]{background:#e4ecd9}
