:root {
    --ink: #18171f;
    --ink-soft: #3f3d49;
    --muted: #777482;
    --muted-2: #9b98a5;
    --paper: #f7f7fa;
    --white: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f2f1f6;
    --line: #e8e6ed;
    --line-strong: #d9d6e0;
    --sidebar: #111018;
    --sidebar-soft: #1b1924;
    --violet: #7257f5;
    --violet-dark: #5c42e8;
    --violet-soft: #eeebff;
    --pink: #ec5faa;
    --blue: #3d88f5;
    --cyan: #26a8b8;
    --green: #1caa72;
    --lime: #b8f15a;
    --amber: #e99a2d;
    --red: #e25563;
    --shadow-xs: 0 1px 2px rgba(20, 18, 31, .05);
    --shadow-sm: 0 5px 16px rgba(20, 18, 31, .06);
    --shadow-md: 0 16px 38px rgba(20, 18, 31, .1);
    --shadow-lg: 0 28px 70px rgba(20, 18, 31, .18);
    --radius-sm: 9px;
    --radius: 14px;
    --radius-lg: 20px;
    --sidebar-width: 252px;
}

* { box-sizing: border-box; }
html { font-family: "DM Sans", "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 18px; height: 18px; }

.studio-app { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.studio-sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 20px 14px 15px; overflow-y: auto; color: #d8d5e1; background: radial-gradient(circle at 20% 0%, rgba(114,87,245,.18), transparent 28%), var(--sidebar); border-right: 1px solid rgba(255,255,255,.06); }
.sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 0 7px 24px; }
.studio-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.studio-symbol { position: relative; display: block; width: 34px; height: 34px; transform: rotate(-8deg); }
.studio-symbol span { position: absolute; display: block; width: 22px; height: 11px; border-radius: 4px; transform: skewX(-16deg); }
.studio-symbol span:nth-child(1) { top: 1px; left: 1px; background: linear-gradient(135deg, #947fff, var(--violet)); }
.studio-symbol span:nth-child(2) { top: 11px; left: 8px; background: linear-gradient(135deg, #ff7fc1, var(--pink)); }
.studio-symbol span:nth-child(3) { top: 21px; left: 2px; background: linear-gradient(135deg, #75d7e1, var(--cyan)); }
.studio-brand-copy { display: grid; line-height: 1.05; }
.studio-brand-copy strong { font: 800 16px/1 "Manrope", sans-serif; letter-spacing: -.03em; }
.studio-brand-copy small { margin-top: 5px; color: #8f8a9e; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sidebar-close { display: none!important; }

.create-demand { display: flex; align-items: center; gap: 10px; min-height: 42px; margin: 0 2px 22px; padding: 6px 8px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--violet), #8b55ef); text-decoration: none; font-size: 13px; font-weight: 700; box-shadow: 0 8px 24px rgba(114,87,245,.24); transition: .18s ease; }
.create-demand:hover { transform: translateY(-1px); box-shadow: 0 11px 28px rgba(114,87,245,.34); }
.create-demand > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: rgba(255,255,255,.14); }
.create-demand svg { width: 16px; }
.create-demand kbd { margin-left: auto; padding: 2px 6px; border: 1px solid rgba(255,255,255,.22); border-radius: 5px; color: #ddd6ff; background: rgba(0,0,0,.12); font: 600 9px/1.5 "DM Sans", sans-serif; }

.sidebar-nav { display: grid; gap: 22px; }
.nav-section { display: grid; gap: 3px; }
.nav-label { padding: 0 11px 8px; color: #686473; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nav-section a, .nav-section button { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; min-height: 39px; padding: 0 11px; border: 0; border-radius: 9px; color: #9e9aa9; background: transparent; text-decoration: none; cursor: pointer; font-size: 12.5px; font-weight: 500; text-align: left; transition: .15s ease; }
.nav-section a svg, .nav-section button svg { width: 17px; height: 17px; color: #777281; }
.nav-section a:hover, .nav-section button:hover { color: #f4f2f7; background: rgba(255,255,255,.055); }
.nav-section a.active { color: #fff; background: linear-gradient(90deg, rgba(114,87,245,.22), rgba(114,87,245,.07)); }
.nav-section a.active:before { content: ""; position: absolute; left: 0; width: 3px; height: 18px; border-radius: 0 4px 4px 0; background: #8f78ff; box-shadow: 0 0 12px rgba(143,120,255,.7); }
.nav-section a.active svg { color: #a895ff; }
.nav-section em { margin-left: auto; color: #5e5969; font-size: 8px; font-style: normal; font-weight: 700; text-transform: uppercase; }
.nav-section kbd { margin-left: auto; color: #5f5a68; font-size: 8px; font-family: inherit; }
.nav-secondary { margin-top: -4px; }

.sidebar-insight { display: flex; gap: 10px; margin: auto 3px 14px; padding: 13px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.035); }
.insight-icon { flex: none; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #c6baff; background: rgba(114,87,245,.16); }
.insight-icon svg { width: 14px; }
.sidebar-insight strong, .sidebar-insight small { display: block; }
.sidebar-insight strong { color: #dcd9e4; font-size: 10px; }
.sidebar-insight small { margin-top: 3px; color: #6f6a79; font-size: 8.5px; line-height: 1.35; }

.sidebar-profile { position: relative; display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 8px; border-top: 1px solid rgba(255,255,255,.065); }
.profile-avatar, .top-avatar { display: grid; place-items: center; flex: none; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #5b45c9, #9e55d5); font-weight: 800; letter-spacing: -.02em; }
.profile-avatar { width: 31px; height: 31px; font-size: 10px; }
.profile-copy { display: grid; min-width: 0; line-height: 1.2; }
.profile-copy strong { overflow: hidden; color: #e9e7ed; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy small { margin-top: 3px; color: #6f6a78; font-size: 8.5px; }
.profile-menu-button { display: grid; place-items: center; margin-left: auto; padding: 5px; border: 0; color: #77717f; background: transparent; cursor: pointer; }
.profile-menu-button svg { width: 15px; }
.profile-menu { position: absolute; z-index: 5; right: 3px; bottom: 52px; display: none; width: 190px; padding: 6px; border: 1px solid #302d3a; border-radius: 12px; background: #201e28; box-shadow: var(--shadow-lg); }
.profile-menu.open { display: grid; }
.profile-menu a, .profile-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; border: 0; border-radius: 8px; color: #c9c5d0; background: transparent; text-decoration: none; font-size: 11px; cursor: pointer; }
.profile-menu a:hover, .profile-menu button:hover { color: #fff; background: rgba(255,255,255,.06); }
.profile-menu svg { width: 14px; }

.studio-workspace { grid-column: 2; min-width: 0; }
.workspace-bar { position: sticky; z-index: 30; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 0 clamp(22px, 3vw, 44px); border-bottom: 1px solid rgba(225,222,230,.9); background: rgba(249,249,251,.88); backdrop-filter: blur(16px); }
.workspace-left, .workspace-actions, .workspace-context { display: flex; align-items: center; }
.workspace-context { gap: 7px; color: var(--muted-2); font-size: 11px; }
.workspace-context strong { color: var(--ink-soft); font-weight: 600; }
.workspace-context svg { width: 12px; }
.context-orb { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 0 0 3px var(--violet-soft); }
.workspace-actions { gap: 8px; }
.command-trigger { display: flex; align-items: center; gap: 8px; width: 216px; height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted-2); background: #fff; cursor: pointer; font-size: 10px; box-shadow: var(--shadow-xs); }
.command-trigger svg { width: 14px; }
.command-trigger kbd { margin-left: auto; padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); font-size: 8px; font-family: inherit; }
.icon-button { position: relative; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: #fff; text-decoration: none; cursor: pointer; }
.icon-button svg { width: 15px; }
.notification-dot { position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border: 1px solid #fff; border-radius: 50%; background: var(--pink); }
.top-avatar { width: 34px; height: 34px; text-decoration: none; font-size: 9px; }
.mobile-menu { display: none; }
.studio-content { width: min(100%, 1660px); margin: 0 auto; padding: 32px clamp(22px, 3vw, 46px) 60px; }

.eyebrow { margin: 0 0 7px; color: var(--violet); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.accent { color: var(--violet); }
.muted { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 15px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: 11px; font-weight: 700; cursor: pointer; transition: .16s ease; }
.button svg { width: 14px; }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--violet), #8b55ef); box-shadow: 0 6px 16px rgba(114,87,245,.18); }
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 9px 22px rgba(114,87,245,.28); }
.button.secondary { border-color: var(--line); color: var(--ink-soft); background: #fff; box-shadow: var(--shadow-xs); }
.button.secondary:hover { border-color: var(--line-strong); background: var(--surface-soft); }
.button.ghost { color: var(--muted); background: transparent; }
.button:disabled { opacity: .55; cursor: not-allowed; }

.flash-success { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 12px 14px; border: 1px solid #bfe8d6; border-radius: 11px; color: #166c4b; background: #effaf5; font-size: 11px; font-weight: 600; box-shadow: var(--shadow-xs); }
.flash-success svg { width: 15px; }
.flash-success button { display: grid; place-items: center; margin-left: auto; padding: 0; border: 0; color: inherit; background: none; cursor: pointer; }
.alert { margin: 14px 0; padding: 12px 14px; border: 1px solid #f3c9cf; border-radius: 10px; color: #9e3040; background: #fff3f5; font-size: 11px; }

/* Dashboard */
.topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.topbar h1, .page-head h1 { margin: 0; font: 800 clamp(27px, 3vw, 38px)/1.12 "Manrope", sans-serif; letter-spacing: -.045em; }
.topbar p:last-child, .page-head p:last-child { margin: 7px 0 0; font-size: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.live-badge { display: flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: #fff; font-size: 9px; font-weight: 600; }
.live-badge:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(28,170,114,.11); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric { position: relative; min-height: 124px; padding: 17px 18px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-xs); transition: .18s ease; }
.metric:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.metric-head { display: flex; align-items: center; justify-content: space-between; }
.metric-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: var(--violet); background: var(--violet-soft); }
.metric-icon svg { width: 13px; }
.metric.danger .metric-icon { color: var(--red); background: #fff0f2; }
.metric.cyan .metric-icon { color: var(--cyan); background: #eaf9fb; }
.metric.amber .metric-icon { color: var(--amber); background: #fff6e9; }
.metric-trend { color: var(--muted-2); font-size: 8px; font-weight: 600; }
.metric > strong { display: block; margin: 13px 0 2px; font: 800 28px/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.metric > span, .metric > small { color: var(--muted); font-size: 9px; }
.metric > span { display: block; margin-bottom: 3px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 14px; margin-top: 14px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-xs); }
.panel-body { padding: 20px; }
.panel.wide { grid-row: span 2; min-height: 390px; padding: 0; overflow: hidden; }
.panel h2 { margin: 0; font: 700 16px/1.25 "Manrope", sans-serif; letter-spacing: -.025em; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 19px 20px 15px; }
.panel-head.flush { padding: 0 0 15px; }
.panel-head-link { display: inline-flex; align-items: center; gap: 5px; color: var(--violet); text-decoration: none; font-size: 9px; font-weight: 700; }
.panel-head-link svg { width: 11px; }
.pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 99px; color: var(--violet); background: var(--violet-soft); font-size: 8px; font-weight: 800; white-space: nowrap; }
.task-table-head, .task-row { display: grid; grid-template-columns: 75px minmax(170px,1fr) 105px 70px; align-items: center; gap: 12px; }
.task-table-head { padding: 9px 20px; border-block: 1px solid var(--line); color: var(--muted-2); background: #fafafd; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.task-row { min-height: 56px; padding: 8px 20px; border-bottom: 1px solid var(--line); text-decoration: none; transition: .14s ease; }
.task-row:hover { background: #faf9fe; }
.task-row:last-child { border-bottom: 0; }
.task-code { color: var(--muted-2); font-size: 8.5px; font-weight: 700; }
.task-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.task-title:before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--violet); transform: rotate(45deg); }
.task-title strong { overflow: hidden; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.task-priority, .task-date { color: var(--muted); font-size: 9px; }
.task-priority { display: inline-flex; align-items: center; gap: 5px; }
.task-priority:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #9b98a5; }
.task-priority.urgent:before { background: var(--red); }
.task-priority.high:before { background: var(--amber); }
.dashboard-side { display: grid; gap: 14px; align-content: start; }
.revenue-card, .focus-card { padding: 20px; }
.revenue-top { display: flex; align-items: flex-start; justify-content: space-between; }
.revenue-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--green); background: #eaf8f2; }
.revenue-icon svg { width: 15px; }
.money { display: block; margin: 19px 0 3px; font: 800 26px/1 "Manrope", sans-serif; letter-spacing: -.045em; }
.revenue-card .muted { margin: 0; font-size: 9px; }
.progress { height: 6px; margin: 18px 0 7px; overflow: hidden; border-radius: 99px; background: #efedf3; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--pink)); }
.panel small { color: var(--muted); font-size: 8.5px; }
.focus-list { display: grid; gap: 9px; margin-top: 15px; }
.focus-item { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 9px; background: var(--surface-soft); text-decoration: none; }
.focus-item span:first-child { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: var(--violet); background: #fff; }
.focus-item svg { width: 12px; }
.focus-item strong, .focus-item small { display: block; }
.focus-item strong { font-size: 9px; }
.focus-item small { margin-top: 2px; }
.empty-state { max-width: 440px; margin: 50px auto; padding: 22px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto 14px; border-radius: 14px; color: var(--violet); background: var(--violet-soft); }
.empty-icon svg { width: 19px; }
.empty-state h3 { margin: 0 0 7px; font: 700 15px/1.2 "Manrope", sans-serif; }
.empty-state p { margin: 0 0 16px; color: var(--muted); font-size: 10px; line-height: 1.55; }

/* Command palette */
.command-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: start center; padding: 11vh 20px 20px; visibility: hidden; opacity: 0; background: rgba(14,12,20,.58); backdrop-filter: blur(7px); transition: .18s ease; }
.command-backdrop.open { visibility: visible; opacity: 1; }
.command-palette { width: min(570px, 100%); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 17px; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-12px) scale(.98); transition: .18s ease; }
.command-backdrop.open .command-palette { transform: translateY(0) scale(1); }
.command-search { display: flex; align-items: center; gap: 11px; height: 58px; padding: 0 17px; border-bottom: 1px solid var(--line); }
.command-search svg { color: var(--violet); }
.command-search input { flex: 1; border: 0; outline: 0; color: var(--ink); font-size: 13px; }
.command-search input::placeholder { color: var(--muted-2); }
.command-search kbd, .command-body kbd, .command-footer kbd { padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: var(--paper); font: 600 8px/1.3 inherit; }
.command-body { display: grid; gap: 4px; padding: 13px; }
.command-label { padding: 3px 7px 7px; color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.command-body > a { display: flex; align-items: center; gap: 11px; padding: 9px; border-radius: 10px; text-decoration: none; }
.command-body > a:hover { background: var(--surface-soft); }
.command-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; }
.command-icon svg { width: 14px; }
.command-icon.violet { color: var(--violet); background: var(--violet-soft); }
.command-icon.blue { color: var(--blue); background: #eaf3ff; }
.command-icon.amber { color: var(--amber); background: #fff4e6; }
.command-body a > span:nth-child(2) { display: grid; }
.command-body strong { font-size: 10.5px; }
.command-body small { margin-top: 2px; color: var(--muted); font-size: 8.5px; }
.command-body a > kbd { margin-left: auto; }
.command-footer { display: flex; gap: 16px; padding: 9px 17px; border-top: 1px solid var(--line); color: var(--muted-2); background: #fafafd; font-size: 8px; }
.command-footer span { display: flex; align-items: center; gap: 3px; }

/* Login */
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(480px, 1.18fr) minmax(420px, .82fr); background: #f6f5f9; }
.login-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 46px clamp(48px, 7vw, 105px); overflow: hidden; color: #fff; background: radial-gradient(circle at 70% 20%, rgba(114,87,245,.34), transparent 32%), radial-gradient(circle at 20% 80%, rgba(236,95,170,.18), transparent 27%), #111018; }
.login-brand:before, .login-brand:after { content: ""; position: absolute; pointer-events: none; }
.login-brand:before { right: -70px; bottom: -140px; width: 460px; height: 460px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.012); }
.login-brand:after { top: 12%; right: 12%; width: 9px; height: 9px; border-radius: 3px; background: var(--pink); box-shadow: -180px 100px 0 -2px var(--violet), 80px 190px 0 -3px var(--cyan); transform: rotate(45deg); }
.login-logo { display: flex; align-items: center; gap: 12px; }
.login-logo .studio-symbol { width: 38px; }
.login-logo strong { font: 800 17px "Manrope"; }
.login-brand-content { position: relative; z-index: 1; max-width: 690px; }
.login-brand .eyebrow { color: #9b8bfa; }
.login-brand h1 { max-width: 670px; margin: 0; font: 800 clamp(42px, 5vw, 70px)/1.02 "Manrope", sans-serif; letter-spacing: -.06em; }
.login-brand h1 em { color: #ad9cff; font-style: normal; }
.login-lead { max-width: 535px; margin: 25px 0 0; color: #aaa5b4; font-size: 14px; line-height: 1.7; }
.login-features { display: flex; gap: 10px; margin-top: 34px; }
.login-features span { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 99px; color: #b8b4c1; background: rgba(255,255,255,.035); font-size: 9px; }
.login-features span:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.brand-foot { position: relative; z-index: 1; color: #65606d; font-size: 9px; }
.login-panel { display: grid; place-items: center; padding: 45px; }
.login-card { width: min(390px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: 0 22px 55px rgba(24,21,36,.08); }
.login-card h2 { margin: 0; font: 800 27px/1.15 "Manrope", sans-serif; letter-spacing: -.045em; }
.login-card > .muted { margin: 8px 0 0; font-size: 11px; }
.form-stack { display: grid; gap: 15px; margin-top: 28px; }
.form-stack label > span { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 9px; font-weight: 700; }
.form-stack input[type=email], .form-stack input[type=password] { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px; outline: none; color: var(--ink); background: #fff; font-size: 11px; transition: .15s ease; }
.form-stack input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(114,87,245,.1); }
.check-row { display: flex!important; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }
.check-row span { margin: 0!important; font-weight: 500!important; }
.login-card .button { min-height: 43px; margin-top: 3px; }
.login-security { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px 0 0; color: var(--muted-2); font-size: 8px; }
.login-security svg { width: 11px; }

@media (max-width: 1100px) {
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .panel.wide { grid-row: auto; }
    .dashboard-side { grid-template-columns: 1fr 1fr; }
    .login-shell { grid-template-columns: 1fr 430px; }
    .login-brand { padding-inline: 55px; }
}

@media (max-width: 820px) {
    .studio-app { display: block; }
    .studio-sidebar { transform: translateX(-100%); box-shadow: 15px 0 45px rgba(0,0,0,.28); transition: transform .22s ease; }
    .studio-app.sidebar-open .studio-sidebar { transform: translateX(0); }
    .sidebar-overlay { position: fixed; z-index: 40; inset: 0; visibility: hidden; opacity: 0; background: rgba(12,10,18,.55); backdrop-filter: blur(3px); transition: .2s ease; }
    .studio-app.sidebar-open .sidebar-overlay { visibility: visible; opacity: 1; }
    .sidebar-close, .mobile-menu { display: grid!important; }
    .sidebar-close { border-color: rgba(255,255,255,.08); color: #aaa5b4; background: rgba(255,255,255,.04); }
    .studio-workspace { min-height: 100vh; }
    .workspace-context > span:not(.context-orb), .workspace-context svg { display: none; }
    .login-shell { grid-template-columns: 1fr; }
    .login-brand { display: none; }
}

@media (max-width: 620px) {
    .workspace-bar { min-height: 56px; padding: 0 14px; }
    .command-trigger { width: 34px; padding: 0; justify-content: center; }
    .command-trigger span, .command-trigger kbd { display: none; }
    .studio-content { padding: 24px 14px 44px; }
    .topbar, .page-head { align-items: stretch; flex-direction: column; }
    .topbar-actions, .header-actions { width: 100%; }
    .topbar-actions .button, .page-head > .button { flex: 1; }
    .metric-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .metric { min-height: 112px; padding: 14px; }
    .metric > strong { font-size: 24px; }
    .dashboard-side { grid-template-columns: 1fr; }
    .task-table-head { display: none; }
    .task-row { grid-template-columns: 64px minmax(0,1fr) 42px; padding-inline: 14px; }
    .task-priority { display: none; }
    .login-panel { padding: 18px; }
    .login-card { padding: 26px 22px; }
}
