.dashboard-shell { display: flex; min-height: 100vh; }
.app-sidebar { width: 244px; flex: 0 0 244px; height: 100vh; position: sticky; top: 0; display: flex; flex-direction: column; background: #10191f; border-right: 1px solid var(--border); }
.workspace-brand { display: flex; align-items: center; gap: 11px; padding: 28px 23px 29px; color: var(--text); text-decoration: none; }
.workspace-brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 37px; border: 1px solid #46695e; border-radius: 11px; background: #1a302d; color: var(--accent); font-weight: 800; letter-spacing: -1px; font-size: 15px; }
.workspace-brand strong { display: block; font-size: 16px; font-weight: 650; letter-spacing: -.3px; }
.workspace-brand small { display: block; color: var(--text-muted); font-size: 10px; margin-top: 3px; letter-spacing: .3px; }
.workspace-nav { flex: 1; overflow-y: auto; padding: 5px 13px 20px; }
.nav-group { margin-bottom: 26px; }
.nav-group-label { display: block; margin: 0 13px 9px; color: #72858c; font-size: 10px; font-weight: 650; letter-spacing: 1.6px; text-transform: uppercase; }
.workspace-nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 10px 13px; margin: 3px 0; border-radius: 7px; color: #a6b5bc; font-size: 13px; font-weight: 500; text-decoration: none; border: 1px solid transparent; }
.workspace-nav a:hover { color: var(--text); background: #19262d; text-decoration: none; }
.workspace-nav a.active { color: var(--accent); background: #1b332f; border-color: #28473e; }
.nav-symbol { width: 17px; text-align: center; font-size: 19px; line-height: 1; opacity: .9; font-weight: 400; }
.workspace-footer { padding: 15px 15px 19px; border-top: 1px solid var(--border); }
.view-mode-form { margin-bottom: 17px; }
.view-mode-switch { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 5px; border: 0; color: #b1c0c6; background: transparent; font: inherit; font-size: 11px; cursor: pointer; text-align: left; }
.view-mode-switch:hover { color: var(--text); }
.switch-track { display: block; width: 31px; height: 18px; border-radius: 20px; background: #35434b; padding: 3px; flex-shrink: 0; }
.switch-track > span { display: block; width: 12px; height: 12px; border-radius: 50%; background: #b3c0c6; }
.switch-track.is-on { background: var(--accent); }
.switch-track.is-on > span { transform: translateX(13px); background: #10251e; }
.workspace-account { display: flex; align-items: center; gap: 10px; padding: 0 3px; }
.account-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #253a42; color: #c9dcdf; font-size: 12px; font-weight: 600; }
.account-details { flex: 1; min-width: 0; }
.account-details strong { display: block; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.account-details small { display: block; font-size: 10px; margin-top: 3px; color: var(--text-muted); }
.sign-out { color: var(--text-muted); font-size: 19px; padding: 5px; }
.workspace-main { flex: 1; min-width: 0; }
.workspace-topbar { height: 70px; padding: 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); background: var(--bg); }
.workspace-location { display: flex; align-items: center; gap: 13px; font-size: 11px; color: var(--text-muted); }
.workspace-location strong { color: var(--text); font-weight: 500; }
.workspace-role { display: flex; align-items: center; gap: 14px; }
.role-indicator { display: inline-flex; align-items: center; gap: 7px; color: #adbec4; font-size: 10px; white-space: nowrap; }
.role-dot { width: 5px; height: 5px; border-radius: 50%; background: #8ca4ad; }
.role-indicator.is-preview { color: var(--accent); }
.is-preview .role-dot { background: var(--accent); }
.exit-preview { border: 1px solid var(--border); background: var(--bg-elevated); border-radius: 6px; padding: 6px 10px; font: inherit; font-size: 10px; color: var(--text); cursor: pointer; }
.workspace-content { padding: 31px 35px 50px; min-width: 0; }
.workspace-loading { padding: 40px; color: var(--text-muted); }
.dashboard-shell button:focus-visible, .dashboard-shell a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1000px) { .app-sidebar { width: 213px; flex-basis: 213px; } .workspace-content { padding: 25px 23px; } .workspace-topbar { padding: 0 23px; } .workspace-brand { padding-left: 19px; } }
@media (max-width: 720px) { .dashboard-shell { flex-direction: column; } .app-sidebar { width: 100%; height: auto; flex-basis: auto; position: static; border-right: 0; border-bottom: 1px solid var(--border); } .workspace-brand { padding: 18px 20px; } .workspace-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 12px; } .nav-group { margin-bottom: 10px; flex: 1; min-width: 130px; } .workspace-nav a { min-height: 36px; padding: 7px 10px; font-size: 12px; } .workspace-footer { display: flex; gap: 20px; align-items: center; padding: 12px 20px; } .view-mode-form { margin-bottom: 0; flex: 1; } .workspace-account { flex: 1; } .workspace-topbar { height: auto; min-height: 60px; padding: 14px 20px; flex-wrap: wrap; } .workspace-content { padding: 23px 18px; } }
