:root {
    color-scheme: light;
    --ink: #202033;
    --muted: #707086;
    --line: #e9e8f0;
    --violet: #6851c8;
    --violet-dark: #5140a7;
    --surface: #fff;
}

html { scroll-behavior: smooth; }
body.dashboard-shell { min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background: #f7f7fb; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.app-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 94%); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.app-navbar { min-height: 72px; gap: 24px; }
.brand-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #eeeafd; color: var(--violet-dark); font-size: 20px; font-weight: 800; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 14px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.nav-groups { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 12px; border-radius: 9px; color: #49485c; font-size: 13px; font-weight: 600; list-style: none; cursor: pointer; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover, .nav-dropdown[open] summary { color: var(--violet-dark); background: #f3f0ff; }
.nav-dropdown summary span { color: #88869a; }
.nav-menu { position: absolute; top: calc(100% + 7px); left: 0; z-index: 60; width: max-content; min-width: 210px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 14px 34px rgb(35 30 65 / 12%); }
.nav-menu li a { min-height: 40px; border-radius: 7px; color: #444357; font-size: 13px; }
.nav-menu li a:hover, .nav-menu li a:focus-visible { color: var(--violet-dark); background: #f5f2ff; }
.nav-account { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.account-name { max-width: 150px; overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; }
.btn.btn-primary { border-color: var(--violet); background: var(--violet); color: white; box-shadow: 0 5px 16px rgb(104 81 200 / 18%); }
.btn.btn-primary:hover { border-color: var(--violet-dark); background: var(--violet-dark); }
.btn.btn-ghost { color: #5d5b70; }
.btn.btn-ghost:hover { background: #f3f0ff; color: var(--violet-dark); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; transform: translateY(-150%); border-radius: 8px; background: var(--violet-dark); color: white; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #937de8 !important; outline-offset: 3px; }
#main-container { width: 100%; max-width: 1280px; }
.qa-image-filters .qa-image-filter-options > div,
.qa-image-filters .qa-image-filter-options ul,
.qa-category-options > div,
.qa-category-options ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.qa-image-filters .qa-image-filter-options li,
.qa-category-options li { min-width: 0; list-style: none; }
.qa-image-filters .qa-image-filter-options label,
.qa-category-options label { display: flex; min-width: 0; align-items: flex-start; justify-content: flex-start; gap: 8px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; white-space: normal; overflow-wrap: anywhere; }
.qa-image-filters .qa-image-filter-options input[type="checkbox"],
.qa-category-options input[type="checkbox"] { width: 16px; min-width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; accent-color: var(--violet); }
.qa-image-categories .qa-category-options > div,
.qa-image-categories .qa-category-options ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr)); gap: 4px; }
.qa-image-categories .qa-category-options label { gap: 5px; padding: 4px 5px; }
.qa-image-categories .qa-category-options input[type="checkbox"] { width: 14px; min-width: 14px; height: 14px; flex-basis: 14px; }
.dashboard-page { display: grid; gap: 20px; }
.welcome-panel { position: relative; display: flex; min-height: 270px; align-items: center; overflow: hidden; padding: clamp(28px, 5vw, 58px); border: 1px solid #e8e4f5; border-radius: 22px; background: linear-gradient(112deg, #fff 5%, #faf9ff 60%, #f1effb 100%); }
.welcome-panel::after { position: absolute; top: -110px; right: 8%; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgb(133 104 228 / 16%), rgb(133 104 228 / 5%) 45%, transparent 72%); content: ""; pointer-events: none; }
.welcome-content { position: relative; z-index: 2; max-width: 690px; }
.eyebrow { margin: 0 0 12px; color: var(--violet); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.welcome-panel h1 { margin: 0; color: #25243a; font-size: clamp(30px, 4vw, 46px); font-weight: 720; letter-spacing: -.045em; line-height: 1.1; }
.welcome-lede { max-width: 570px; margin: 15px 0 22px; color: #68677a; font-size: 15px; line-height: 1.65; }
.welcome-cta { min-height: 44px; gap: 12px; border-radius: 9px; padding-inline: 18px; }
.welcome-art { position: absolute; top: 50%; right: 8%; width: 190px; height: 190px; transform: translateY(-50%); }
.art-orbit { position: absolute; inset: 0; border: 1px solid rgb(104 81 200 / 20%); border-radius: 50%; }
.orbit-two { inset: 24px; border-color: rgb(104 81 200 / 26%); }
.art-core { position: absolute; inset: 59px; display: grid; place-items: center; border: 1px solid #e5e0f8; border-radius: 30px; background: linear-gradient(145deg, #fff, #f1edff); color: #6955bd; font-size: 42px; font-weight: 800; box-shadow: 0 14px 34px rgb(67 52 132 / 9%), 0 0 30px rgb(133 104 228 / 14%); }
.dashboard-section { display: grid; gap: 18px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin: 0; color: #29283d; font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.section-heading > p { margin: 0 0 2px; color: var(--muted); font-size: 13px; }
.workspace-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 16px; }
.workspace-card { display: flex; min-height: 235px; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.workspace-card:hover { transform: translateY(-2px); border-color: #d8d1f3; box-shadow: 0 12px 28px rgb(44 37 86 / 7%), 0 0 20px rgb(126 96 214 / 8%); }
.card-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 18px; border-radius: 12px; font-size: 19px; font-weight: 700; }
.icon-violet { background: #f0edff; color: #6650c4; }.icon-blue { background: #eaf3ff; color: #4774b7; }.icon-teal { background: #e8f6f3; color: #348678; }.icon-amber { background: #fff4e3; color: #a8752d; }
.card-kicker { color: #89879b; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.workspace-card h3 { margin: 5px 0 6px; color: #2b2a40; font-size: 17px; font-weight: 700; }
.workspace-card p { margin: 0 0 16px; color: #717084; font-size: 13px; line-height: 1.55; }
.card-link { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; color: var(--violet-dark); font-size: 12px; font-weight: 700; }
.overview-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.overview-strip > div { display: flex; align-items: flex-start; gap: 12px; }
.overview-dot { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: #7b68cd; box-shadow: 0 0 0 4px #f0edff; }
.overview-strip strong { font-size: 13px; }.overview-strip p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.overview-action { color: var(--violet-dark); font-size: 12px; font-weight: 700; text-decoration: none; }.overview-action:hover { text-decoration: underline; }
@media (max-width: 760px) {
    .app-navbar { min-height: 66px; flex-wrap: wrap; gap: 5px 14px; padding-top: 10px; padding-bottom: 10px; }
    .brand-mark { width: 34px; height: 34px; }.nav-groups { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; margin: 0; }
    .nav-dropdown summary { min-height: 40px; padding: 0 9px; white-space: nowrap; }.nav-account { margin-left: auto; }.account-name { display: none; }
    .welcome-panel { min-height: 255px; }.welcome-art { right: -68px; opacity: .32; }.welcome-content { max-width: 100%; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }.dashboard-page { gap: 32px; }
}
@media (max-width: 480px) {
    #main-container { padding-top: 20px; padding-bottom: 24px; }.welcome-panel { padding: 25px 22px; border-radius: 17px; }
    .welcome-panel h1 { font-size: 31px; }.welcome-lede { font-size: 14px; }.workspace-grid { grid-template-columns: 1fr; gap: 12px; }
    .workspace-card { min-height: 205px; }.overview-strip { align-items: flex-start; flex-direction: column; padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
