.master-shell{--shell-navy:#192d46;--shell-blue:#3656b3;--shell-bg:#f4f6fa;--shell-border:#e1e5eb;background:var(--shell-bg);color:#243248;display:grid;grid-template-columns:228px minmax(0,1fr);grid-template-rows:64px minmax(0,1fr) 40px;min-height:100dvh}
.master-sidebar{grid-column:1;grid-row:1/4;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;background:var(--shell-navy);color:#fff;padding:20px 16px;min-height:0;z-index:20}
.master-logo{display:flex;gap:12px;align-items:center;color:white;text-decoration:none;padding:0 8px 20px;flex-shrink:0}.master-logo img{width:40px;height:40px;object-fit:contain;background:white;border-radius:10px;padding:4px}.master-logo strong{display:block;font-size:20px;letter-spacing:1px}.master-logo small{display:block;font-size:10px;color:#b9c5d5;letter-spacing:1.4px}
.master-nav{min-height:0;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#53677e transparent;padding-bottom:14px}.master-nav p{margin:20px 12px 6px;color:#a9b8cb;font-size:11px}.master-nav a,.master-nav button{display:block;text-align:left;width:100%;margin:2px 0;padding:9px 13px;line-height:1.5;font:inherit;font-size:13px;border-radius:8px;text-decoration:none;border:0;background:transparent;color:#e0e7f1}.master-nav .selected{background:#edf2ff;color:#24417a;box-shadow:inset 3px 0 #6288ee}.master-nav button:disabled{color:#a8b7ca;cursor:default}.master-nav a:hover{background:#2a405a}
.master-user{position:relative;border-top:1px solid #34475d;padding-top:12px;flex-shrink:0}.master-user>summary{display:flex;gap:10px;align-items:center;cursor:pointer;list-style:none;padding:6px;border-radius:10px}.master-user>summary:hover{background:#2a405a}.master-user summary::-webkit-details-marker{display:none}.user-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e6dfd8;color:#29354a;flex-shrink:0}.user-label{min-width:0;flex:1}.user-label strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-label small{display:block;font-size:11px;color:#b9c5d5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-more{color:#c8d3df;flex-shrink:0}.user-popup{position:absolute;bottom:calc(100% + 8px);left:0;right:0;background:white;padding:10px;border:1px solid var(--shell-border);border-radius:16px;box-shadow:0 16px 40px #101d3040;color:#243248}.popup-profile{display:flex;align-items:center;gap:10px;padding:8px}.popup-profile .user-label small{color:#68768a}.user-popup hr{border:0;border-top:1px solid #e1e5eb;margin:8px 4px}.popup-row{display:flex;align-items:center;gap:10px;width:100%;padding:10px 9px;font-size:13px;color:#243248;text-decoration:none;border-radius:8px;box-sizing:border-box}.user-popup a.popup-row{display:flex}.popup-row:hover{background:#edf2ff}.popup-row svg{color:#53677e;flex-shrink:0}
.master-shell header.master-header{grid-column:2;grid-row:1;margin:0;padding:0 28px;min-height:64px;background:white;border-bottom:1px solid var(--shell-border);display:flex;align-items:center;gap:16px}.header-title{font-size:14px}.header-caption{margin-left:auto;font-size:12px;color:#748095}.master-shell main{grid-column:2;grid-row:2;min-width:0;max-width:none;width:100%;margin:0;padding:24px 28px}.master-shell footer.master-footer{grid-column:2;grid-row:3;display:flex;align-items:center;justify-content:space-between;padding:0 28px;margin:0;border-top:1px solid var(--shell-border);font-size:11px;color:#748095}.menu-toggle{display:none}.master-shell .button,.master-shell button[type=submit]{background:var(--shell-blue);color:white}.master-shell .button.secondary{background:#e8edf5;color:#3c536d}.master-shell .onboarding-shell{max-width:920px}.master-preview{max-width:1040px}.master-preview h1{font-size:28px;margin:0 0 22px}.preview-caption{color:#748095;font-size:12px;margin:0 0 4px}.preview-panel{background:white;border:1px solid var(--shell-border);border-radius:12px;padding:24px}.preview-panel h2{margin:0;font-size:19px}.preview-panel p,.preview-note{color:#748095;font-size:14px}.preview-note{margin-top:18px}.menu-backdrop[hidden]{display:none}
@media(max-width:800px){.master-shell{grid-template-columns:minmax(0,1fr)}.master-sidebar{position:fixed;left:0;width:228px;transform:translateX(-100%);transition:transform .15s}.master-shell.menu-open .master-sidebar{transform:translateX(0)}.master-shell header.master-header,.master-shell main,.master-shell footer.master-footer{grid-column:1}.master-shell header.master-header{padding:0 16px}.master-shell main{padding:18px 16px}.master-shell .menu-toggle{display:block;padding:7px 10px;background:#edf2ff;color:#3656b3;min-width:40px}.menu-backdrop:not([hidden]){position:fixed;inset:64px 0 0;background:#101d3055;z-index:10}.header-caption{display:none}}
@media(prefers-reduced-motion:reduce){.master-sidebar{transition:none}}
.master-shell .menu-toggle,.master-shell .header-action{display:block;background:transparent;color:#53677e;padding:6px 10px;font-size:22px;border:0;border-radius:8px;cursor:pointer}.master-shell .create-launch{margin:0 0 12px;padding:12px;text-align:left;background:#2b4564;border:1px solid #48617d;border-radius:9px;color:white;font:inherit;font-size:14px;cursor:pointer}.shell-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;margin:auto;padding:28px;border:1px solid #e1e5eb;border-radius:18px;color:#243248;box-shadow:0 24px 80px #14233840}.shell-dialog::backdrop{background:#14233866}.shell-dialog h2{margin:4px 0 8px}.shell-dialog p{font-size:13px;color:#68768a}.shell-dialog input{width:100%;margin:6px 0 16px}.shell-dialog .dialog-close{float:right;background:#edf2f8;color:#33445b;border:0;border-radius:8px;padding:4px 10px;font-size:24px;cursor:pointer}.task-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.task-option{background:white;color:#243248;border:1px solid #e1e5eb;border-radius:10px;padding:14px;text-align:left;cursor:pointer}.task-option strong,.task-option small{display:block}.task-option small{margin-top:5px;font-size:12px;color:#68768a}.task-option.featured{grid-column:1/-1;background:#edf2ff;border-color:#a5b8ed}.task-option:hover{border-color:#3656b3}.task-option[hidden]{display:none}#menu-results a{display:block;padding:10px;color:#3656b3}#task-feedback{border-top:1px solid #e1e5eb;padding-top:12px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #83a8fa;outline-offset:3px}
@media(min-width:801px){.master-shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.sidebar-collapsed .master-sidebar{visibility:hidden}.master-shell .menu-toggle{display:block}}
@media(max-width:600px){.task-options{grid-template-columns:1fr}.shell-dialog{padding:20px}.master-shell header .header-title{display:block}}
.master-header .header-caption{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.master-header .header-action,.master-header .menu-toggle{flex-shrink:0}
.start-only-shell{display:block;background:#f4f6fa;min-height:100dvh}.start-only-shell header.start-account-header{max-width:none;margin:0;padding:14px 28px;min-height:64px;background:white;border-bottom:1px solid #e1e5eb;display:flex;align-items:center;justify-content:space-between}.start-account-brand{display:flex;align-items:center;gap:10px;color:#192d46;text-decoration:none;letter-spacing:1px}.start-account-brand img{width:38px;height:38px;object-fit:contain}.start-account-header .master-user{width:min(280px,55vw);border:0;padding:0}.start-account-header .master-user>summary{color:#243248;padding:5px 8px}.start-account-header .master-user>summary:hover{background:#edf2f8}.start-account-header .user-label small{color:#68768a}.start-account-header .user-more{color:#53677e}.start-account-header .user-popup{top:calc(100% + 8px);bottom:auto;left:auto;right:0;width:260px;z-index:30}.start-only-shell main{display:block;max-width:none;width:100%;margin:0;padding:38px 24px 56px}.start-only-shell .start-shell{max-width:960px}@media(max-width:600px){.start-only-shell header.start-account-header{padding:10px 14px}.start-account-brand strong{display:none}.start-account-header .master-user{width:min(240px,75vw)}.start-only-shell main{padding:28px 16px 44px}}
.full-screen-confirm{display:block;min-height:100dvh;background:linear-gradient(145deg,#f6f8fc 0%,#edf2f7 100%)}.full-screen-confirm main{display:grid;place-items:center;min-height:100dvh;width:100%;max-width:none;margin:0;padding:24px}.logout-confirm-shell{width:min(480px,100%);margin:0;padding:38px;text-align:center;background:white;border:1px solid #dfe5ec;border-radius:22px;box-shadow:0 24px 70px rgba(25,45,70,.12)}.logout-brand{width:48px;height:48px;object-fit:contain;margin:0 auto 18px}.logout-symbol{width:54px;height:54px;margin:0 auto 18px;display:grid;place-items:center;border-radius:50%;background:#eef2fb;color:#3656b3;font-size:28px;font-weight:800}.logout-symbol.progress{letter-spacing:3px;padding:0 0 10px 3px}.logout-confirm-shell .eyebrow{margin:0;color:#536ea9}.logout-confirm-shell h1{font-size:clamp(28px,5vw,38px);margin:8px 0 10px}.logout-description{margin:0 auto;color:#66758a;max-width:390px}.logout-actions{display:grid;gap:10px;margin-top:28px}.logout-actions .button,.logout-actions button,.logout-confirm-shell>.button{width:100%;text-align:center}.logout-primary{background:#3656b3!important}.logout-note{margin:22px 0 0;color:#7a8697;font-size:12px}@media(max-width:520px){.full-screen-confirm main{padding:16px}.logout-confirm-shell{padding:30px 22px;border-radius:18px}}
.settings-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.settings-fields input,.settings-fields select{display:block;width:100%;margin-top:6px}.settings-fields label{font-size:14px}fieldset{border:0;padding:0;min-width:0}.address-error{display:none}.address-load-error .address-error{display:block;color:#a32c2c}.organization-row small{overflow-wrap:anywhere}
.company-status-line{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.company-status-line span{padding:6px 10px;border-radius:999px;background:#edf6f4;color:#14695d;font-size:13px;font-weight:700}
.settings-tabs{display:flex;gap:4px;margin:18px 0 24px;border-bottom:1px solid var(--shell-border)}.settings-tabs a{padding:11px 14px;color:#657187;text-decoration:none;border-bottom:3px solid transparent}.settings-tabs a:hover{color:#243248}.settings-tabs a.selected{color:var(--shell-blue);border-bottom-color:var(--shell-blue);font-weight:700}.settings-panel{max-width:1060px}.settings-panel>h2{margin-bottom:6px}.settings-panel .organization-row{align-items:flex-start}
