/* Stable app navigation: scroll the modules, not the account/project controls. */
@media(min-width:901px){
 .shell>.sidebar{box-sizing:border-box;position:sticky;top:0;height:100vh;height:100dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:16px;padding:20px 16px;overflow:hidden}
 .sidebar>.logo{min-width:0}
 .sidebar>.nav{min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start;gap:4px;padding:0 4px 4px 0;scrollbar-width:thin;scrollbar-color:#e1d9d2 transparent}
 .sidebar>.nav>button{min-height:42px;padding:10px 12px}
 .sidebar>.account-shortcut{margin:0;padding-top:12px}
 .sidebar>.project{margin:0;padding:12px;min-width:0}
 .sidebar .project-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
 .sidebar .project select{max-width:100%;text-overflow:ellipsis}
}
@media(min-width:901px) and (max-height:680px){.shell>.sidebar{padding:12px;gap:10px}.sidebar>.nav>button{min-height:38px;padding:8px 10px}.sidebar>.logo{padding:0 6px}.sidebar>.project{padding:10px}.sidebar .logo strong{font-size:21px}.sidebar>.account-shortcut .eyebrow{display:none}}
@media(max-width:900px){
 .shell{grid-template-columns:minmax(0,1fr)}
 .shell>.sidebar{box-sizing:border-box;position:sticky;top:0;z-index:80;height:auto;max-height:52dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,1fr);grid-template-rows:auto auto auto;gap:10px;padding:12px;background:#fffffff5;overflow:auto;border-right:0}
 .sidebar .logo>span:last-child,.sidebar .project .eyebrow,.sidebar .project select,.sidebar .project-actions{display:block}
 .sidebar>.logo{grid-column:1;grid-row:1}.sidebar>.account-shortcut{grid-column:2;grid-row:1;margin:0;padding:0;border:0}
 .sidebar>.account-shortcut .eyebrow{display:none}.sidebar>.account-shortcut button{width:100%;padding:8px}
 .sidebar>.nav{grid-column:1/-1;grid-row:2;display:flex;overflow:auto;min-height:0;gap:6px;max-height:110px;padding-bottom:4px}
 .sidebar .nav button{display:flex;align-items:center;gap:7px;white-space:nowrap;flex:0 0 auto;padding:9px 12px;font-size:12px;min-height:40px}
 .sidebar .nav button span{display:inline}.sidebar .nav-submenu{display:none}
 .sidebar>.project{grid-column:1/-1;grid-row:3;display:flex;align-items:center;gap:8px;margin:0;padding:8px;min-width:0}
 .sidebar>.project>.eyebrow{display:none}.sidebar .project select{margin:0;min-width:0;flex:1;width:100%;min-height:36px}
 .sidebar .project-actions{display:flex;gap:6px;flex-wrap:wrap;flex-shrink:0}.sidebar .project-actions .btn{font-size:10px}
}
.btn{line-height:1.4;white-space:normal}.btn:not(.btn-small){min-height:40px}.btn-small{min-height:32px}
.account-actions,.project-actions,.provider-actions,.connection-controls,.topbar-actions,.panel-actions{gap:10px}
.account-actions,.provider-actions,.connection-controls{display:flex;flex-wrap:wrap;align-items:center}
.panel-header{gap:16px;flex-wrap:wrap}.panel-header>div{min-width:0}
.form label small{line-height:1.5}.form input:not([type=checkbox]),.form textarea,.form select{min-width:0}
.content,.panel,.account-layout>*{min-width:0}.panel p{overflow-wrap:anywhere}
.account-profile .account-actions{margin-top:8px}.account-integrations .connection{gap:12px;flex-wrap:wrap}
.launch-card{border:1px solid var(--line,#e6e8eb);background:#fff;border-radius:18px;padding:22px;margin:20px 0}
.launch-card h2{font-size:21px;margin:0 0 12px}.launch-card p{font-size:13px;line-height:1.7;color:#69727e}
.launch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px}
.launch-grid article{border:1px solid #e6e8eb;border-radius:14px;padding:16px;min-width:0}
.launch-grid article p{margin:8px 0}.launch-form{display:grid;gap:12px;max-width:760px}
.launch-form label{display:grid;gap:7px;font-size:13px}.launch-form textarea{min-height:110px;resize:vertical}
.launch-form input,.launch-form textarea,.launch-form select{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #dfe3e7;border-radius:10px;font:inherit}
.launch-id{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0;color:#687583;font-size:13px}.launch-id code{color:#2c3845;font:700 14px Manrope,Arial,sans-serif}
.launch-thread{display:grid;gap:10px;margin:14px 0}.launch-message{padding:12px 15px;border-radius:12px;background:#f6f7f8;white-space:pre-wrap;font-size:13px;line-height:1.7}.launch-message.from-support{background:#fff3e9}.launch-message small{display:block;color:#75818e}
.launch-status{font-size:11px;border-radius:7px;background:#fff0e6;color:#a9532b;padding:4px 8px}.module-soon{font-size:10px;line-height:1.4;color:#8c775e;background:#f4eee7;border-radius:6px;padding:3px 5px;margin-left:auto}
.launch-form input[type=checkbox]{width:18px;height:18px;accent-color:#f4773c;padding:0;margin:0;flex-shrink:0}.launch-form label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px}
.launch-card .comp-check{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;font-size:12px;line-height:1.6;margin:14px 0}.launch-card .comp-check input{width:18px;height:18px;margin:1px 0 0;accent-color:#f4773c}
.topbar h1{font-size:clamp(25px,2.5vw,36px);line-height:1.2}.topbar-actions{flex-wrap:wrap}.section-heading{gap:16px}
@media(max-width:600px){.content{padding:20px 14px 40px}.launch-card{padding:16px}.topbar h1{font-size:26px}.launch-grid{grid-template-columns:minmax(0,1fr)}}
.marketing-hero-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.marketing-hero{gap:20px;flex-wrap:wrap}.marketing-hero-actions .btn{margin:0;min-height:38px}.account-audit{gap:14px}.section-heading .btn{margin:0}
.launch-card h3{margin:20px 0 12px}.launch-card details>summary{padding:8px 0;cursor:pointer;line-height:1.6}.launch-card .launch-form{padding-top:14px}.launch-card [data-support-refresh]{margin-bottom:12px}
.modal{z-index:200}#project-modal .panel-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px}#project-modal .panel-header p{font-size:13px;line-height:1.6;margin-bottom:0}#project-modal h2{font-size:22px;line-height:1.3}
.module-card-head{gap:12px;flex-wrap:wrap}.module-card-head .module-status-soon{display:inline-flex;align-items:center;padding:6px 12px;border:1px solid #ebc07c;border-radius:999px;background:#fff0cc;color:#815012;font-size:12px;font-style:normal;font-weight:800;line-height:1.4;white-space:nowrap}.module-admin-note{display:block;margin:0 0 14px;padding:9px 11px;border-radius:9px;background:#f1edff;color:#5b4786;line-height:1.6;font-size:12px}.module-card .toggle-feature{margin-top:8px}
.module-card.planned{opacity:1;background:#fcfcfd}
