:root {
    --ink:#17323b;
    --muted:#667b83;
    --primary:#087c75;
    --line:#e1e8e9;
    --canvas:#f4f7f7;
    --nav:#102c36;
    --sidebar:248px;
}
* {
    box-sizing:border-box;
}
body {
    margin:0;
    font:14px/1.55 "Segoe UI",sans-serif;
    color:var(--ink);
    background:var(--canvas);
}
button,input,select {
    font:inherit;
}
button {
    cursor:pointer;
    color:inherit;
}
a {
    color:var(--primary);
    text-decoration:none;
}
h1,h2,h3,p {
    margin:0;
}
h1 {
    font-size:30px;
    letter-spacing:-1px;
    line-height:1.2;
}
h2 {
    font-size:21px;
    letter-spacing:-.4px;
}
h3 {
    font-size:16px;
}
small {
    font-size:12px;
}
.icon {
    width:20px;
    height:20px;
    flex-shrink:0;
}
button:focus-visible,a:focus-visible,summary:focus-visible {
    outline:3px solid #18a99a;
    outline-offset:4px;
}
input:focus,select:focus {
    outline:3px solid #087c7526;
    border-color:var(--primary);
}
[hidden] {
    display:none!important;
}
.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
}
.skip {
    position:fixed;
    top:-80px;
    left:15px;
    z-index:100;
    background:white;
    padding:12px;
}
.skip:focus {
    top:10px;
}
.sidebar {
    position:fixed;
    inset:0 auto 0 0;
    width:var(--sidebar);
    background:var(--nav);
    color:#c8dadd;
    padding:32px 20px 20px;
    display:flex;
    flex-direction:column;
    z-index:30;
    transition:width .2s,transform .2s;
}
.brand {
    display:flex;
    align-items:center;
    gap:12px;
    color:inherit;
}
.brand-mark {
    display:flex;
    align-items:center;
    justify-content:center;
    width:43px;
    height:45px;
    border-radius:13px;
    background:#d6f4e9;
    color:#123f42;
    font-size:35px;
    line-height:1;
    font-weight:750;
    letter-spacing:-4px;
    padding-right:4px;
}
.brand-mark span {
    color:#0a9b82;
}
.brand-copy strong {
    display:block;
    font-size:21px;
    letter-spacing:4px;
    color:#fff;
    line-height:1.2;
}
.brand-copy small {
    font-size:9px;
    letter-spacing:1.5px;
}
.sidebar-label,.nav-group {
    font-size:9px;
    letter-spacing:1.6px;
    color:#8aabb3;
    white-space:nowrap;
}
.sidebar-label {
    margin:46px 12px 16px;
}
.nav-group {
    margin:32px 12px 12px;
}
.nav-link {
    display:flex;
    align-items:center;
    gap:13px;
    color:#bfd1d5;
    border-radius:10px;
    padding:12px;
    margin:5px 0;
    white-space:nowrap;
}
.nav-link:hover {
    background:#ffffff0c;
    color:#fff;
}
.nav-link.active {
    background:#24515a;
    color:#baf1de;
    box-shadow:inset 3px 0 #78d9bd;
}
.sidebar-bottom {
    margin-top:auto;
    padding-top:32px;
}
.workspace-note {
    display:flex;
    gap:10px;
    align-items:center;
    padding:18px 10px;
    border-top:1px solid #ffffff12;
    font-size:12px;
}
.workspace-note small {
    display:block;
    font-size:10px;
    color:#85a4ad;
}
.workspace-dot,.stat-dot {
    width:8px;
    height:8px;
    background:#63c8a6;
    border-radius:50%;
    display:inline-block;
}
.collapse-nav {
    display:flex;
    gap:12px;
    align-items:center;
    padding:10px;
    border:0;
    background:none;
    color:#9cb8c0;
    width:100%;
    font-size:12px;
}
.app-shell {
    margin-left:var(--sidebar);
    min-height:100dvh;
    display:flex;
    flex-direction:column;
    transition:margin .2s;
}
.topbar {
    height:78px;
    padding:0 42px;
    border-bottom:1px solid var(--line);
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
}
.topbar-context,.topbar-right {
    display:flex;
    align-items:center;
    gap:20px;
}
.breadcrumb {
    color:var(--muted);
    font-size:12px;
}
.breadcrumb span {
    margin:0 14px;
    color:#bbc8cc;
}
.breadcrumb strong {
    font-weight:500;
    color:var(--ink);
}
.environment {
    font-size:10px;
    border:1px solid #e6d9b3;
    background:#fffbeb;
    color:#826429;
    border-radius:6px;
    padding:3px 9px;
}
.avatar {
    width:36px;
    height:36px;
    border-radius:11px;
    background:#e8f2ef;
    color:#24756b;
    font-size:13px;
    font-weight:600;
    display:grid;
    place-content:center;
    flex-shrink:0;
}
.account-menu {
    position:relative;
}
.account-menu summary {
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    list-style:none;
}
.account-menu summary::-webkit-details-marker {
    display:none;
}
.account-name {
    font-size:12px;
    max-width:170px;
    overflow:hidden;
    text-overflow:ellipsis;
}
.account-chevron {
    color:var(--muted);
}
.account-dropdown {
    position:absolute;
    right:0;
    top:48px;
    width:250px;
    background:white;
    border:1px solid var(--line);
    border-radius:12px;
    padding:8px;
    box-shadow:0 12px 40px #102c3620;
    z-index:40;
}
.account-heading {
    padding:10px 12px;
    color:var(--muted);
    font-size:11px;
    border-bottom:1px solid var(--line);
    margin-bottom:5px;
}
.account-heading strong {
    display:block;
    color:var(--ink);
    overflow-wrap:anywhere;
}
.account-dropdown a,.account-dropdown button {
    display:flex;
    gap:10px;
    width:100%;
    align-items:center;
    background:none;
    border:0;
    padding:12px;
    color:var(--ink);
    font-size:12px;
    border-radius:7px;
}
.account-dropdown a:hover,.account-dropdown button:hover {
    background:var(--canvas);
}
.main-content {
    padding:40px 42px;
    max-width:1600px;
    width:100%;
    margin:0 auto;
    flex:1;
}
.app-footer {
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:20px 42px;
    font-size:10px;
    color:var(--muted);
}
.mobile-toggle {
    display:none!important;
}
.page-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:30px;
}
.eyebrow {
    font-size:9px;
    font-weight:650;
    letter-spacing:1.8px;
    color:var(--primary);
    margin-bottom:9px;
}
.page-heading p:not(.eyebrow) {
    color:var(--muted);
    margin-top:10px;
    font-size:13px;
}
.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:42px;
    padding:10px 17px;
    border:1px solid transparent;
    border-radius:9px;
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
}
.button.primary {
    background:var(--primary);
    color:white;
    box-shadow:0 4px 9px #087c7512;
}
.button.primary:hover {
    background:#06645e;
}
.button.secondary {
    background:white;
    border-color:var(--line);
}
.button.ghost {
    background:transparent;
    color:var(--primary);
}
.button.ghost:hover {
    background:#eaf5f1;
}
.button.small {
    min-height:33px;
    padding:7px 10px;
    font-size:11px;
}
.button.small .icon {
    width:15px;
    height:15px;
}
.icon-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:none;
    border:1px solid var(--line);
    border-radius:8px;
    width:36px;
    height:36px;
}
.surface {
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:0 12px 45px #15343b05;
    overflow:hidden;
}
.stat-row {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-bottom:25px;
}
.stat-card {
    background:white;
    border:1px solid var(--line);
    border-radius:13px;
    padding:20px 24px;
    position:relative;
}
.stat-card>span:first-child {
    display:block;
    color:var(--muted);
    font-size:11px;
}
.stat-card strong {
    font-size:29px;
    font-weight:600;
    display:block;
    margin-top:4px;
    line-height:1.3;
}
.stat-card>.icon,.stat-card>.stat-dot {
    position:absolute;
    right:24px;
    top:28px;
    color:#5c958e;
}
.table-toolbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:20px 24px;
    border-bottom:1px solid var(--line);
}
.search-field {
    display:flex;
    align-items:center;
    gap:10px;
    flex:1;
    max-width:360px;
    color:var(--muted);
}
.search-field input {
    width:100%;
    border:0;
    background:transparent;
    padding:9px 5px;
    font-size:12px;
}
.filter-field select {
    border:1px solid var(--line);
    border-radius:8px;
    padding:9px 30px 9px 12px;
    background:#fff;
    font-size:11px;
    color:var(--muted);
}
.table-wrap {
    overflow:auto;
}
table {
    width:100%;
    border-collapse:collapse;
    text-align:left;
    white-space:nowrap;
}
th {
    font-size:10px;
    font-weight:600;
    color:var(--muted);
    background:#fafcfc;
    padding:13px 24px;
    border-bottom:1px solid var(--line);
}
td {
    padding:18px 24px;
    font-size:12px;
    border-bottom:1px solid #edf1f2;
}
tbody tr:last-child td {
    border-bottom:0;
}
tbody tr:hover {
    background:#fbfdfc;
}
.person-cell {
    display:flex;
    align-items:center;
    gap:11px;
}
.person-cell strong {
    font-weight:600;
}
.badge-list {
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}
.badge {
    display:inline-flex;
    padding:4px 9px;
    border-radius:6px;
    font-size:10px;
    font-weight:500;
}
.badge.teal {
    background:#e5f4ee;
    color:#24715d;
}
.badge.neutral {
    background:#eff2f6;
    color:#627286;
}
.badge.violet {
    background:#efecfa;
    color:#77619c;
}
.muted {
    color:var(--muted);
}
.status {
    display:inline-flex;
    align-items:center;
    gap:7px;
    font-size:11px;
}
.status i {
    display:inline-block;
    width:6px;
    height:6px;
    border-radius:50%;
    background:currentColor;
}
.positive {
    color:#2d8065;
}
.text-amber {
    color:#936b22;
    font-size:11px;
}
.row-actions {
    text-align:right;
}
.table-footer {
    border-top:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    padding:15px 24px;
    font-size:10px;
    color:var(--muted);
}
.table-empty {
    text-align:center;
    padding:45px;
    color:var(--muted);
}
.table-empty h3 {
    margin:10px 0;
    color:var(--ink);
}
.notice,.info-strip {
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:15px 18px;
    border-radius:10px;
    background:#eaf2f6;
    color:#456878;
    font-size:12px;
    margin-bottom:24px;
}
.notice.error {
    background:#fff0ef;
    color:#a13c36;
}
.notice.success {
    background:#e9f6ef;
    color:#276c50;
}
.validation-summary-errors {
    border-radius:8px;
    background:#fff0ef;
    color:#a13c36;
    padding:12px;
    margin:15px 0;
    font-size:12px;
}
.validation-summary-errors ul {
    margin:0;
    padding-left:20px;
}
.validation-summary-valid {
    display:none;
}
.field {
    margin-bottom:21px;
}
.field label {
    display:block;
    font-size:12px;
    font-weight:600;
    margin-bottom:8px;
}
.field input {
    width:100%;
    padding:12px 14px;
    border:1px solid #d9e3e4;
    border-radius:8px;
    color:var(--ink);
    background:#fff;
    font-size:13px;
    min-height:46px;
}
.field small {
    display:block;
    color:var(--muted);
    font-size:11px;
    margin-top:7px;
}
.field input::placeholder {
    color:#8b9ba1;
}
.password-wrap {
    position:relative;
}
.password-wrap input {
    padding-right:48px;
}
.password-toggle {
    position:absolute;
    right:4px;
    top:4px;
    width:38px;
    height:38px;
    background:none;
    border:0;
    color:var(--muted);
    display:grid;
    place-content:center;
    border-radius:6px;
}
.password-toggle:hover {
    background:var(--canvas);
}
.editor-dialog {
    border:1px solid var(--line);
    border-radius:18px;
    padding:0;
    width:620px;
    max-width:calc(100% - 32px);
    max-height:calc(100dvh - 48px);
    color:var(--ink);
    box-shadow:0 25px 100px #102c3640;
}
.editor-dialog::backdrop {
    background:#102c3670;
    backdrop-filter:blur(4px);
}
.dialog-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:24px 28px;
    border-bottom:1px solid var(--line);
}
.dialog-heading .eyebrow {
    margin-bottom:5px;
}
.dialog-body {
    padding:25px 28px;
}
.dialog-actions {
    display:flex;
    justify-content:flex-end;
    gap:10px;
    padding:18px 28px;
    border-top:1px solid var(--line);
    background:#fafcfc;
}
.choice-group {
    border:0;
    padding:0;
    margin:24px 0;
}
.choice-group legend {
    font-weight:600;
    font-size:12px;
}
.choice-group>p {
    color:var(--muted);
    font-size:11px;
    margin:6px 0 13px;
}
.choice-row {
    display:flex;
    align-items:center;
    gap:12px;
    border:1px solid var(--line);
    padding:13px;
    border-radius:9px;
    margin:8px 0;
    cursor:pointer;
}
.choice-row:has(input:checked) {
    background:#f1f9f5;
    border-color:#a4d2c3;
}
.choice-row input {
    accent-color:var(--primary);
    width:16px;
    height:16px;
}
.choice-row span {
    flex:1;
}
.choice-row strong {
    font-size:12px;
    font-weight:600;
}
.choice-row small {
    display:block;
    color:var(--muted);
    font-size:11px;
    margin-top:2px;
}
.choice-row>.icon {
    color:#8aaba4;
    width:17px;
}
.switch-card {
    display:flex;
    align-items:center;
    gap:12px;
    background:#f6f9f8;
    padding:14px;
    border-radius:10px;
    cursor:pointer;
}
.switch-card>span:first-child {
    flex:1;
}
.switch-card strong {
    font-size:12px;
}
.switch-card small {
    display:block;
    color:var(--muted);
    font-size:11px;
}
.switch-card input {
    accent-color:var(--primary);
    width:18px;
    height:18px;
}
.switch-track {
    display:none;
}
.permission-toolbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:11px;
    color:var(--muted);
    margin:10px 0;
}
.permission-toolbar button {
    border:0;
    background:none;
    color:var(--primary);
    font-size:11px;
}
.permission-count {
    color:var(--muted);
}
.readonly-permission {
    display:flex;
    justify-content:space-between;
    padding:14px 0;
    border-bottom:1px solid var(--line);
    font-size:12px;
}
.date-cell small {
    display:block;
    color:var(--muted);
    font-weight:400;
}
.date-cell strong {
    font-weight:500;
}
.mono {
    font-family:Consolas,monospace;
    font-size:11px;
}
.truncate {
    max-width:150px;
    overflow:hidden;
    text-overflow:ellipsis;
}
.event-dot {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border-radius:9px;
    background:#e9f5ef;
    color:#388570;
}
.event-dot.warning {
    background:#fff3dc;
    color:#a17b33;
}
.event-dot .icon {
    width:16px;
}
.detail-list {
    margin:0;
}
.detail-list>div {
    padding:14px 0;
    border-bottom:1px solid var(--line);
}
.detail-list dt {
    font-size:10px;
    color:var(--muted);
    margin-bottom:5px;
}
.detail-list dd {
    margin:0;
    overflow-wrap:anywhere;
}
.welcome-banner {
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:240px;
    padding:35px 40px;
    background:linear-gradient(115deg,#e4f1ec,#f0f5ec);
    border:1px solid #dbe9e1;
    border-radius:18px;
    overflow:hidden;
    margin-bottom:36px;
}
.welcome-banner h2 {
    font-size:27px;
    max-width:440px;
    line-height:1.3;
}
.welcome-banner p {
    color:#5e7874;
    max-width:430px;
    font-size:13px;
    margin-top:14px;
}
.welcome-art {
    width:220px;
    height:170px;
    position:relative;
    flex-shrink:0;
}
.art-ring {
    position:absolute;
    inset:0;
    border:1px solid #c8dfd4;
    border-radius:50%;
    transform:rotate(-25deg);
}
.art-card-back,.art-card-front {
    position:absolute;
    display:grid;
    place-content:center;
    width:92px;
    height:113px;
    border-radius:16px;
    box-shadow:0 16px 35px #3c776217;
}
.art-card-back {
    background:#c2dbce;
    left:25px;
    top:20px;
    transform:rotate(-15deg);
    color:#588c7c;
}
.art-card-front {
    background:white;
    left:99px;
    top:43px;
    transform:rotate(12deg);
    color:var(--primary);
}
.welcome-art .icon {
    width:36px;
    height:36px;
}
.section-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:18px;
}
.section-heading h2 {
    font-size:17px;
}
.section-heading p {
    font-size:12px;
    color:var(--muted);
}
.quick-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}
.quick-card {
    position:relative;
    background:white;
    border:1px solid var(--line);
    border-radius:13px;
    padding:24px;
    display:flex;
    gap:17px;
    align-items:flex-start;
    color:var(--ink);
    transition:transform .2s,border-color .2s;
}
.quick-card:hover {
    transform:translateY(-3px);
    border-color:#9bc8bd;
}
.quick-card h3 {
    margin:2px 0 7px;
    font-size:14px;
}
.quick-card p {
    color:var(--muted);
    font-size:12px;
    max-width:280px;
}
.quick-card>.icon:last-child {
    margin-left:auto;
    color:#8ca49f;
    width:17px;
}
.tile-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    width:43px;
    height:43px;
    background:#e8f5ef;
    color:#298271;
    border-radius:12px;
}
.tile-icon.violet {
    background:#efecfa;
    color:#8670b0;
}
.tile-icon.amber {
    background:#fff4df;
    color:#aa8745;
}
.tile-icon.neutral {
    background:#eaf0f5;
    color:#6f879e;
}
.settings-grid {
    display:grid;
    grid-template-columns:minmax(0,620px) minmax(200px,320px);
    gap:26px;
    align-items:start;
}
.settings-form {
    padding:30px;
}
.settings-form>h2 {
    margin:15px 0;
}
.settings-form form {
    margin-top:24px;
}
.help-card {
    padding:25px;
    background:#eaf2ee;
    border-radius:14px;
    font-size:12px;
    color:#58746c;
}
.help-card h3 {
    color:var(--ink);
    margin-bottom:12px;
}
.help-card ul {
    padding-left:18px;
}
.help-card li {
    margin:9px 0;
}
.empty-page {
    max-width:600px;
    margin:70px auto;
    text-align:center;
    padding:45px;
}
.empty-page h1 {
    margin:20px 0;
}
.empty-page p {
    color:var(--muted);
    margin:15px 0 25px;
}
.sidebar-compact {
    --sidebar:84px;
}
.sidebar-compact .sidebar {
    padding-left:14px;
    padding-right:14px;
}
.sidebar-compact .brand-copy,.sidebar-compact .sidebar-label,.sidebar-compact .nav-group,.sidebar-compact .nav-link span,.sidebar-compact .workspace-note,.sidebar-compact .collapse-nav span {
    display:none;
}
.sidebar-compact .brand {
    justify-content:center;
}
.sidebar-compact nav {
    margin-top:45px;
}
.sidebar-compact .nav-link,.sidebar-compact .collapse-nav {
    justify-content:center;
}
.nav-backdrop {
    position:fixed;
    inset:0;
    border:0;
    background:#102c3666;
    z-index:25;
}
.login-page {
    min-height:100dvh;
    display:grid;
    grid-template-columns:1.05fr 1fr;
    background:white;
}
.login-story {
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:45px 9%;
    background:linear-gradient(150deg,#102c36,#12443f);
    color:#f1f8f5;
    min-height:100dvh;
}
.login-story>.brand,.login-story-content,.login-story>footer {
    position:relative;
    z-index:1;
}
.login-story-content {
    margin:70px 0;
}
.story-kicker {
    font-size:10px;
    letter-spacing:2px;
    color:#a5d3c2;
    margin-bottom:22px;
}
.login-story h1 {
    font-size:clamp(38px,4.6vw,65px);
    font-weight:600;
    line-height:1.13;
    letter-spacing:-2.5px;
}
.login-story-content>p:not(.story-kicker) {
    margin-top:25px;
    max-width:370px;
    font-size:14px;
    line-height:1.8;
    color:#aec8c3;
}
.story-divider {
    width:45px;
    height:2px;
    background:#69b79e;
    margin:35px 0 20px;
}
.story-caption {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:11px;
    color:#b2cfc6;
}
.login-story>footer {
    font-size:10px;
    color:#8cafaa;
}
.login-atmosphere {
    position:absolute;
    inset:0;
    overflow:hidden;
    pointer-events:none;
}
.aurora {
    position:absolute;
    border-radius:50%;
    filter:blur(70px);
    animation:drift 18s ease-in-out infinite alternate;
}
.aurora-one {
    width:350px;
    height:350px;
    background:#2d9e7130;
    right:-90px;
    top:25%;
}
.aurora-two {
    width:300px;
    height:300px;
    background:#498f7730;
    left:-150px;
    bottom:-60px;
    animation-delay:-9s;
}
.orbit {
    position:absolute;
    border:1px solid #9dd8bf0b;
    border-radius:50%;
    width:600px;
    height:600px;
    right:-340px;
    bottom:-240px;
}
.orbit-two {
    width:730px;
    height:730px;
    right:-405px;
    bottom:-305px;
}
.orbit-three {
    width:860px;
    height:860px;
    right:-470px;
    bottom:-370px;
}
.login-panel {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:65px 12% 30px;
    position:relative;
}
.login-form-wrap {
    width:100%;
    max-width:380px;
}
.login-label {
    font-size:10px;
    letter-spacing:1.8px;
    color:var(--primary);
    font-weight:600;
    margin-bottom:15px;
}
.login-form-wrap h2 {
    font-size:29px;
    letter-spacing:-1px;
}
.login-form-wrap>p {
    font-size:13px;
    color:var(--muted);
    margin:12px 0 32px;
}
.login-submit {
    width:100%;
    margin-top:5px;
    min-height:47px;
    justify-content:space-between;
    padding:12px 17px;
}
.login-help {
    display:flex;
    gap:9px;
    margin-top:25px;
    font-size:11px;
    color:var(--muted);
    line-height:1.7;
}
.login-help .icon {
    width:15px;
    margin-top:2px;
}
.login-footer {
    position:absolute;
    bottom:25px;
    font-size:10px;
    color:var(--muted);
}
.caps-hint {
    font-size:11px;
    color:#936b22;
    margin-top:8px;
}
.is-busy {
    opacity:.75;
    cursor:wait;
}
.is-busy:before {
    content:"";
    width:13px;
    height:13px;
    border:2px solid currentColor;
    border-right-color:transparent;
    border-radius:50%;
    animation:spin .7s linear infinite;
}
@keyframes spin {
    to {
        transform:rotate(360deg);
    }
}
@keyframes drift {
    to {
        transform:translate(40px,-50px) scale(1.2);
    }
}
@media(min-width:1600px) {
    .quick-grid {
        grid-template-columns:repeat(4,1fr);
    }
    .quick-card {
        display:block;
    }
    .quick-card h3 {
        margin-top:18px;
    }
    .quick-card>.icon:last-child {
        position:absolute;
        right:22px;
        top:28px;
    }
}
@media(max-width:1100px) {
    .main-content {
        padding:30px 25px;
    }
    .topbar {
        padding:0 25px;
    }
    .app-footer {
        padding:20px 25px;
    }
    .welcome-art {
        width:180px;
    }
    .welcome-banner {
        padding:30px;
    }
    .settings-grid {
        grid-template-columns:1fr;
    }
    .quick-card {
        padding:20px;
    }
    .account-name {
        max-width:100px;
    }
}
@media(max-width:760px) {
    .sidebar,.sidebar-compact .sidebar {
        width:248px;
        transform:translateX(-100%);
        padding:30px 20px 20px;
    }
    .nav-open .sidebar {
        transform:translateX(0);
    }
    .app-shell,.sidebar-compact .app-shell {
        margin-left:0;
    }
    .mobile-toggle {
        display:inline-flex!important;
    }
    .sidebar-compact .brand-copy,.sidebar-compact .sidebar-label,.sidebar-compact .nav-group,.sidebar-compact .nav-link span,.sidebar-compact .workspace-note,.sidebar-compact .collapse-nav span {
        display:revert;
    }
    .sidebar-compact .brand,.sidebar-compact .nav-link,.sidebar-compact .collapse-nav {
        justify-content:flex-start;
    }
    .sidebar-compact nav {
        margin-top:0;
    }
    .topbar {
        height:68px;
        padding:0 20px;
    }
    .topbar-context,.topbar-right {
        gap:10px;
    }
    .breadcrumb {
        font-size:11px;
    }
    .breadcrumb>span {
        margin:0 5px;
    }
    .account-name,.account-chevron,.environment {
        display:none;
    }
    .main-content {
        padding:28px 20px;
    }
    .page-heading {
        align-items:flex-start;
        flex-wrap:wrap;
        gap:18px;
        margin-bottom:24px;
    }
    h1 {
        font-size:27px;
    }
    .page-heading p:not(.eyebrow) {
        font-size:12px;
    }
    .stat-row {
        gap:9px;
    }
    .stat-card {
        padding:14px 12px;
    }
    .stat-card>span:first-child {
        font-size:9px;
        min-height:28px;
    }
    .stat-card strong {
        font-size:25px;
    }
    .stat-card>.icon,.stat-card>.stat-dot {
        display:none;
    }
    .table-toolbar {
        padding:14px;
        flex-wrap:wrap;
    }
    .search-field {
        max-width:none;
        min-width:150px;
    }
    .table-wrap table {
        min-width:650px;
    }
    .table-footer {
        padding:14px;
        font-size:10px;
    }
    .table-footer>span:last-child {
        display:none;
    }
    .welcome-banner {
        padding:26px;
        min-height:200px;
    }
    .welcome-banner h2 {
        font-size:23px;
    }
    .welcome-art {
        display:none;
    }
    .quick-grid {
        grid-template-columns:1fr;
        gap:12px;
    }
    .quick-card {
        padding:21px;
    }
    .section-heading p {
        display:none;
    }
    .app-footer {
        padding:20px;
        flex-direction:column;
        gap:4px;
    }
    .settings-form {
        padding:23px;
    }
    .dialog-heading,.dialog-body {
        padding:22px;
    }
    .dialog-actions {
        padding:18px 22px;
    }
    .login-page {
        display:block;
    }
    .login-story {
        min-height:0;
        padding:25px 28px 28px;
    }
    .login-story-content {
        margin:28px 0 0;
    }
    .login-story h1 {
        font-size:31px;
        letter-spacing:-1px;
    }
    .login-story h1 br {
        display:none;
    }
    .login-story-content>p,.story-divider,.story-caption,.login-story>footer {
        display:none;
    }
    .login-story .brand-mark {
        width:34px;
        height:36px;
        font-size:28px;
    }
    .login-story .brand-copy strong {
        font-size:17px;
    }
    .login-story .brand-copy small {
        font-size:8px;
    }
    .login-panel {
        padding:38px 28px 70px;
        min-height:560px;
    }
    .login-form-wrap h2 {
        font-size:27px;
    }
    .login-footer {
        bottom:22px;
    }
    .empty-page {
        margin:30px 20px;
        padding:30px;
    }
    .notice,.info-strip {
        font-size:11px;
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation:none!important;
        transition:none!important;
        scroll-behavior:auto!important;
    }
}
.quick-card {
    display:grid;
    grid-template-columns:43px 1fr;
    gap:6px 18px;
}
.quick-card>.tile-icon {
    grid-row:1/4;
}
.quick-card h3 {
    margin:0;
}
.quick-card p {
    max-width:none;
}
.card-link {
    grid-column:2;
    display:flex;
    align-items:center;
    gap:7px;
    font-size:11px;
    font-weight:600;
    color:var(--primary);
    margin-top:10px;
}
.card-link .icon {
    width:14px;
    height:14px;
}
.subtle-label,.section-heading>span {
    font-size:10px;
    color:var(--muted);
}
.banner-kicker {
    display:block;
    font-size:9px;
    letter-spacing:1.5px;
    color:#53816f;
    margin-bottom:13px;
}
.art-card-front span {
    font-size:8px;
    margin-top:12px;
}
.art-card-front {
    justify-items:center;
}
.story-kicker,.login-label {
    display:block;
}
.story-footer {
    position:relative;
    display:flex;
    justify-content:space-between;
    gap:15px;
    font-size:9px;
    color:#8cafaa;
}
.story-caption strong,.story-caption div>span {
    display:block;
}
.story-caption div>span {
    font-size:10px;
    margin-top:3px;
}
.accent-dot,.text-accent {
    color:#62bd9f;
}
.field-error {
    color:#a13c36;
    font-size:11px;
}
.count-badge {
    font-size:12px;
    color:var(--muted);
    margin-left:8px;
}
.table-toolbar h2 {
    font-size:15px;
}
.small-tile {
    width:34px;
    height:34px;
}
.activity-label {
    display:flex;
    align-items:center;
    gap:10px;
}
.activity-label .event-dot {
    width:7px;
    height:7px;
    border-radius:50%;
    background:#6aa88d;
}
.activity-label .event-dot.warning {
    background:#c39a4e;
}
.truncate {
    display:inline-block;
    vertical-align:middle;
}
.detail-list dt {
    margin-top:18px;
}
.detail-list dt:first-child {
    margin-top:0;
}
.badge>.icon {
    width:14px;
    height:14px;
    margin-right:6px;
}
@media(max-width:760px) {
    .story-footer,.subtle-label,.section-heading>span {
        display:none;
    }
    .quick-card {
        grid-template-columns:43px 1fr;
    }
    .info-strip .tile-icon {
        display:none;
    }
}
@media(min-width:1600px) {
    .quick-card {
        display:block;
    }
    .quick-card h3 {
        margin-top:18px;
    }
    .card-link {
        margin-top:16px;
    }
}
.surface-heading {
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}
.surface-heading h2 {
    font-size:17px;
}
.surface-heading p {
    font-size:12px;
    color:var(--muted);
    margin-top:5px;
}
.help-card>.tile-icon {
    margin-bottom:16px;
}
.table-wrap {
    position:relative;
}
.sr-only {
    white-space:nowrap;
}
@media(max-width:760px) {
    .login-story h1 br {
        display:initial;
    }
}

.account-chevron .icon {
    display: block;
    width: 16px;
    height: 16px;
}
.account-menu[open] .account-chevron .icon {
    transform: rotate(180deg);
}

.catalog-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.import-panel{padding:24px;margin-bottom:24px}.import-panel h2{margin-top:0}.import-panel p{color:var(--muted);line-height:1.6}.template-help{margin-top:24px}.template-help summary{cursor:pointer;font-weight:600}.surface+.surface{margin-top:24px}

.import-stats{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:900px){.import-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.import-stats{grid-template-columns:1fr}}
