:root {
    color-scheme: light;
    --canvas: #f3f6f4;
    --surface: #fff;
    --surface-alt: #f6f9f7;
    --ink: #172a21;
    --muted: #52665b;
    --line: #dce6e0;
    --accent: #226746;
    --accent-hover: #194e35;
    --accent-soft: #e4f2e9;
    --focus: #438965;
    --shadow: 0 12px 30px rgba(23, 58, 38, .065);
    --success-bg: #def6ed;
    --success: #146451;
    --danger-bg: #ffebee;
    --danger: #a42645;
    --warning-bg: #fff0cf;
    --warning: #805509;
    --nav: #14291f;
    --nav-ink: #e2efe7;
    --nav-muted: #a9c5b5;
    --sidebar-width: 248px;
}
:root[data-bs-theme="dark"] {
    color-scheme: dark;
    --canvas: #101914;
    --surface: #1a2720;
    --surface-alt: #223229;
    --ink: #edf5ef;
    --muted: #b1c6b8;
    --line: #35483d;
    --accent: #a2d9b8;
    --accent-hover: #c3ead1;
    --accent-soft: #244434;
    --focus: #a2d9b8;
    --shadow: 0 12px 32px rgba(0, 0, 0, .16);
    --success-bg: #19493c;
    --success: #acf0d8;
    --danger-bg: #522337;
    --danger: #ffbdd0;
    --warning-bg: #503c16;
    --warning: #ffdb91;
    --nav: #14261c;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); font-family: system-ui, -apple-system, Arial, sans-serif; font-size: 15px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button:not([disabled]) { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(29px, 4vw, 46px); line-height: 1.09; letter-spacing: -.048em; font-weight: 720; }
h2 { font-size: 18px; line-height: 1.25; letter-spacing: -.025em; font-weight: 700; }
small { font-size: .83em; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--accent); overflow-wrap: anywhere; }
strong, .strong { font-weight: 680; }
.muted, .subline { color: var(--muted); }
.subline { display: block; margin-top: 3px; }
.no-wrap { white-space: nowrap; }

.workspace { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); align-items: start; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 27px 17px 18px; background: var(--nav); color: var(--nav-ink); z-index: 4; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); width: fit-content; }
.brand:hover { text-decoration: none; color: inherit; }
.brand strong { display: block; font-size: 24px; line-height: 1; letter-spacing: -.055em; }
.brand small { display: block; margin-top: 6px; color: var(--muted); font-weight: 550; font-size: 11px; }
.sidebar .brand { color: #fff; margin: 3px 8px 36px; }
.sidebar .brand small { color: var(--nav-muted); }
.side-links { display: grid; gap: 5px; overflow: auto; }
.side-links a, .sign-out button { min-height: 46px; padding: 10px 12px; border-radius: 9px; display: flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 590; color: var(--nav-ink); text-align: left; }
.side-links a:hover, .sign-out button:hover { background: #223e2f; text-decoration: none; }
.side-links a[aria-current="page"] { color: #fff; background: #2a4d39; box-shadow: inset 3px 0 #81c59c; }
.nav-icon { width: 19px; text-align: center; color: #9bd3b2; font-size: 19px; }
.sign-out { border-top: 1px solid #2e4739; margin-top: auto; padding-top: 12px; }
.sign-out button { background: transparent; border: 0; width: 100%; }
.sign-out button span { color: #9bd3b2; font-size: 20px; }
.main { min-width: 0; }
.topbar, .auth-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px clamp(18px, 4vw, 48px); min-height: 69px; background: var(--surface); border-bottom: 1px solid var(--line); }
.tenant, .top-actions, .toolbar { display: flex; align-items: center; gap: 13px; min-width: 0; }
.tenant { font-weight: 670; }
.public-home { flex: 0 0 auto; white-space: nowrap; }
.public-home > [aria-hidden] { font-size: 19px; line-height: 1; }
.tenant span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tenant-dot { flex: 0 0 7px; height: 7px; background: #5aac7d; border-radius: 50%; }
.avatar { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 730; border-radius: 50%; }
.user-menu { position: relative; min-width: 0; z-index: 3; }
.user-menu summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu-name { overflow: hidden; max-width: 18ch; white-space: nowrap; text-overflow: ellipsis; }
.user-menu-panel { position: absolute; inset: calc(100% + 10px) 0 auto auto; width: min(230px, calc(100vw - 24px)); display: grid; gap: 6px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }
.user-menu-panel > span { padding: 4px 7px 0; font-size: 13px; }
.user-menu-panel > a { display: block; padding: 7px; border-radius: 6px; color: var(--ink); }
.user-menu-panel > a:hover { background: var(--accent-soft); text-decoration: none; }
.update-page { max-width: 860px; }
.update-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.update-heading h1 { font-size: clamp(29px, 3.2vw, 40px); }
.update-card { padding: clamp(14px, 2.4vw, 22px); }
.update-state { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.update-state-text { display: flex; align-items: center; gap: 10px; }
.update-state h2 { font-size: 16px; font-weight: 680; }
.update-state-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; color: var(--success); background: var(--success-bg); font-size: 19px; font-weight: 720; }
.update-state-available { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-alt); }
.update-state-unavailable .update-state-icon { color: var(--warning); background: var(--warning-bg); }
.update-versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.update-version { min-width: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-alt); }
.update-version dt { color: var(--muted); font-size: 13px; font-weight: 650; }
.update-version dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 9px; margin: 3px 0 0; overflow-wrap: anywhere; }
.update-version strong { font-size: 20px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.update-version dd span { color: var(--muted); font-size: 13px; }
.update-notice { margin: 14px 0 0; }
.update-details { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.update-details summary { width: fit-content; color: var(--muted); font-size: 13px; font-weight: 630; cursor: pointer; }
.update-details summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.update-details-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 17px; padding-top: 8px; font-size: 13px; }
.update-checksum { width: 100%; color: var(--muted); overflow-wrap: anywhere; }
.update-page form[aria-busy="true"] .btn { opacity: .7; }
.update-summary { margin-bottom: 23px; }
.language-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-alt); }
.language-switch a { padding: 4px 7px; color: var(--muted); border-radius: 5px; font-size: 11px; font-weight: 750; letter-spacing: .035em; }
.language-switch a[aria-current="true"] { color: var(--accent); background: var(--accent-soft); }
.icon-button { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 20px; }
.icon-button:hover { background: var(--accent-soft); }
.mobile-menu { display: none; }
.content { max-width: 1480px; margin-inline: auto; padding: clamp(22px, 4.5vw, 54px) clamp(17px, 4vw, 48px); }
.page-heading { margin-bottom: 29px; }
.page-heading p { max-width: 62ch; margin-top: 9px; color: var(--muted); }

.card { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); min-width: 0; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(235px, 1fr); gap: 19px; margin-bottom: 23px; }
.stat-set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat { display: grid; align-content: start; position: relative; gap: 9px; min-height: 174px; padding: 17px; }
.stat:hover { text-decoration: none; border-color: var(--focus); color: var(--ink); }
.stat-icon { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 5px; border-radius: 9px; color: var(--accent); background: var(--accent-soft); font-size: 21px; }
.stat-label { color: var(--muted); font-weight: 630; font-size: 13px; }
.stat-number { font-size: 38px; line-height: 1; letter-spacing: -.05em; font-weight: 730; }
.stat-arrow { position: absolute; top: 15px; right: 16px; color: var(--accent); }
.license-feature { position: relative; overflow: hidden; display: grid; justify-items: start; align-content: center; gap: 11px; border-radius: 15px; padding: 24px; background: linear-gradient(124deg, #194533, #287852); color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.license-feature h2 { font-size: 19px; }
.license-feature > a { color: #fff; font-weight: 670; font-size: 13px; }
.feature-mark { color: #b2e2c4; font-size: 220px; line-height: .8; opacity: .14; position: absolute; right: -37px; top: -4px; transform: rotate(-13deg); z-index: -1; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent); padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-active, .status-license_current { background: var(--success-bg); color: var(--success); }
.status-license_grace { background: var(--warning-bg); color: var(--warning); }
.status-license_invalid, .status-license_expired { background: var(--danger-bg); color: var(--danger); }
.notice { padding: 11px 15px; border-radius: 9px; margin: 0 0 18px; font-weight: 560; }
.notice-success { color: var(--success); background: var(--success-bg); }
.notice-error { color: var(--danger); background: var(--danger-bg); }
.notice-info { color: var(--ink); background: var(--accent-soft); }
.notice-info a { white-space: normal; font-weight: 700; }

.panel-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 19px 22px; }
.panel-top a { font-size: 13px; font-weight: 660; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; margin: 0; color: var(--ink); font-size: 13px; text-align: start; }
.table > :not(caption) > * > * { padding: 12px 18px; border-top: 1px solid var(--line); border-bottom: 0; color: var(--ink); background: var(--surface); box-shadow: none; }
.table thead th { background: var(--surface-alt); color: var(--muted); font-weight: 670; text-align: start; white-space: nowrap; }
.table tbody tr:hover > td { background: var(--surface-alt); }
.table tbody tr:last-child td:first-child { border-bottom-left-radius: 15px; }
.table tbody tr:last-child td:last-child { border-bottom-right-radius: 15px; }
.empty { padding: 20px 22px; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(230px, 1fr); gap: 18px; align-items: start; }
.split > :only-child { grid-column: 1 / -1; }
.form-panel { padding: 21px; max-width: 100%; }
.form-panel h2 { margin-bottom: 12px; }
.field-list { display: grid; gap: 13px; align-items: start; }
.field-list > button, .field-list fieldset > button { justify-self: start; }
.field-list fieldset { display: grid; gap: 13px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field { display: grid; gap: 5px; color: var(--ink); font-size: 13px; font-weight: 650; min-width: 0; }
.form-control, .form-select { display: block; width: 100%; color: var(--ink); background: var(--surface-alt); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; }
.form-control:focus, .form-select:focus { color: var(--ink); border-color: var(--focus); background: var(--surface); box-shadow: none; }
.form-control:disabled { background: var(--canvas); opacity: .75; }
.form-select { appearance: auto; background-image: none; }
.license-input { font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; resize: vertical; }
.btn { min-height: 38px; border: 1px solid transparent; display: inline-flex; justify-content: center; align-items: center; gap: 7px; border-radius: 8px; padding: 7px 13px; font-size: 13px; font-weight: 690; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-primary, .btn-primary:active { background: #24724e; color: #fff; border-color: #24724e; }
.btn-primary:hover, .btn-primary:focus-visible { background: #195b3d; border-color: #195b3d; color: #fff; }
.btn-primary:disabled { opacity: .55; background: #24724e; color: #fff; border-color: #24724e; }
.btn-outline { background: var(--surface); color: var(--accent); border-color: var(--line); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-hover); }
.facts { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 1.65fr); align-items: start; column-gap: 13px; row-gap: 11px; margin: 7px 0 0; }
.facts dt { color: var(--muted); font-size: 13px; font-weight: 650; }
.facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 560; }
.copy-row, .row-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.copy-row code { font-size: 12px; }
.row-actions.spaced { justify-content: space-between; margin-bottom: 16px; }
.row-actions.spaced h2 { margin: 0; }
.row-actions > form { margin: 0; }
.row-actions a:not(.btn), .link-button { font-size: 12px; font-weight: 650; }
.link-button { background: none; border: 0; padding: 0; color: var(--accent); }
.link-button:hover { text-decoration: underline; }
.tabs { display: flex; align-items: center; gap: 5px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 15px; }
.tabs a { white-space: nowrap; border-bottom: 2px solid transparent; padding: 9px 10px; color: var(--muted); font-size: 13px; font-weight: 650; }
.tabs a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
.pager { display: flex; gap: 10px; padding: 12px 19px; }
.extension-panel { margin-bottom: 16px; }
.extension-panel h2 small { margin-left: 5px; color: var(--muted); font-size: 11px; font-weight: 600; }
.seed-detail { margin-top: 16px; }

.auth-layout { margin: clamp(22px, 5vw, 64px) auto; max-width: 1040px; width: calc(100% - 34px); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.auth-art { min-height: 370px; display: grid; place-items: center; background: radial-gradient(ellipse at 86% 16%, #55a87b, transparent 56%), linear-gradient(143deg, #112b20, #286347); overflow: hidden; }
.art-stack { width: 167px; height: 222px; position: relative; transform: rotate(-10deg); }
.art-stack span { position: absolute; inset: 0; border-radius: 16px; background: #dbeee2; box-shadow: 0 12px 22px #102d225e; }
.art-stack span:first-child { transform: translate(-45px, -19px) rotate(13deg); background: #86bd9d; }
.art-stack span:nth-child(2) { transform: translate(-22px, -8px) rotate(6deg); background: #afd6bd; }
.art-stack span:last-child { padding: 36px 29px; background: #f1f8f3; display: grid; gap: 14px; align-content: start; }
.art-stack b { width: 34px; height: 34px; background: #30805a; border-radius: 8px; margin-bottom: 13px; }
.art-stack i { height: 6px; width: 100%; background: #c0d8c8; border-radius: 5px; }
.art-stack i:last-child { width: 57%; }
.auth-card { padding: clamp(25px, 4vw, 51px); align-self: center; }
.auth-card h1 { font-size: clamp(27px, 4vw, 40px); }
.auth-card .page-heading { margin-bottom: 21px; }
.error-card { width: min(91%, 600px); margin: 12vh auto; }
.error-card .brand { margin-bottom: 22px; }

@media (max-width: 1120px) {
    :root { --sidebar-width: 220px; }
    .overview-grid { grid-template-columns: 1fr; }
    .license-feature { min-height: 135px; }
}
@media (max-width: 780px) {
    .workspace { display: block; }
    .sidebar { display: none; position: fixed; top: 64px; left: 0; bottom: 0; width: min(82vw, 248px); height: auto; box-shadow: 17px 6px 40px #0e2018a0; }
    .menu-open .sidebar { display: flex; }
    .sidebar .brand { margin-bottom: 20px; }
    .mobile-menu { display: grid; }
    .topbar { min-height: 64px; position: sticky; top: 0; z-index: 5; }
    .split { grid-template-columns: 1fr; }
}
@media (max-width: 530px) {
    .top-actions, .toolbar { gap: 6px; }
    .topbar { padding-inline: 12px; }
    .user-menu-name { display: none; }
    .public-home.btn { width: 35px; min-height: 35px; padding: 0; }
    .public-home-label { display: none; }
    .content { padding-inline: 13px; }
    .update-versions { grid-template-columns: 1fr; gap: 8px; }
    .stat-set { gap: 7px; }
    .stat { min-height: 130px; gap: 7px; padding: 11px 8px; }
    .stat-icon { width: 30px; height: 30px; font-size: 17px; }
    .stat-label { font-size: 11px; overflow-wrap: anywhere; }
    .stat-number { font-size: 29px; }
    .stat-arrow { right: 7px; top: 8px; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-art { display: none; }
    .facts { grid-template-columns: 1fr; row-gap: 5px; }
    .facts dd { margin-bottom: 8px; }
}

.work-search { min-width: 0; width: clamp(100px, 20vw, 260px); }
.content > .form-panel + .form-panel { margin-top: 16px; }
.work-assignment { border-bottom: 1px solid var(--line); padding-block: 12px; }
.form-panel .field-list + .field-list,
.work-assignment .field-list { margin-top: 12px; }

.update-rollback { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.update-rollback h2 { font-size: 15px; margin-bottom: 5px; }
.update-rollback p { font-size: 13px; }
.update-rollback-form { display: grid; grid-template-columns: minmax(170px, 280px) auto; align-items: end; justify-items: start; gap: 9px; margin-top: 10px; }
.update-rollback-form .field { width: 100%; }
.form-select, .form-picker { min-height: 43px; }
.form-picker { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-alt); color: var(--ink); text-align: left; font-size: 14px; font-weight: 560; }
.form-picker:disabled { opacity: .63; }
.form-picker:hover:not(:disabled), .form-picker[aria-expanded="true"] { border-color: var(--focus); background: var(--surface); }
.form-picker[aria-invalid="true"] { border-color: var(--danger); }
.picker-error { color: var(--danger); font-size: 12px; font-weight: 600; }
.picker-chevron { width: 8px; height: 8px; flex: 0 0 8px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); margin: 0 3px 4px; transform: rotate(45deg); }
.form-picker[aria-expanded="true"] .picker-chevron { margin-block: 4px 0; transform: rotate(225deg); }
.picker-calendar-icon { position: relative; width: 16px; height: 15px; flex: 0 0 16px; border: 1.5px solid var(--accent); border-radius: 4px; }
.picker-calendar-icon::after { position: absolute; inset: 3px 0 auto; border-top: 1.5px solid var(--accent); content: ''; }
.picker-panel { position: fixed; inset: auto; margin: 0; overflow: auto; overscroll-behavior: contain; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgb(18 50 35 / 18%); font-size: 14px; }
.picker-panel:focus { outline: none; }
.picker-list { padding: 5px; }
.picker-option { display: block; width: 100%; padding: 7px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); text-align: left; line-height: 1.35; }
.picker-option[aria-selected="true"] { color: var(--accent); background: var(--accent-soft); font-weight: 670; }
.picker-option:hover:not(:disabled), .picker-option:focus-visible { background: var(--accent-soft); outline-offset: -2px; }
.picker-option:disabled { opacity: .48; }
.picker-calendar { padding: 11px; }
.picker-calendar-header, .picker-calendar-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.picker-calendar-header strong { text-align: center; font-size: 14px; text-transform: capitalize; }
.picker-nav, .picker-day, .picker-text-button { border: 0; border-radius: 8px; background: transparent; color: var(--ink); }
.picker-nav { width: 34px; min-height: 34px; font-size: 23px; line-height: 1; }
.picker-calendar-days, .picker-calendar-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.picker-calendar-weekdays { margin: 5px 0 3px; color: var(--muted); font-size: 11px; font-weight: 650; }
.picker-calendar-weekdays span { overflow: hidden; }
.picker-day { min-height: 33px; font-size: 13px; font-variant-numeric: tabular-nums; }
.picker-day[aria-current="date"] { color: var(--accent); font-weight: 750; }
.picker-day[aria-pressed="true"] { color: #fff; background: #24724e; font-weight: 680; }
.picker-nav:hover:not(:disabled), .picker-day:hover:not(:disabled):not([aria-pressed="true"]), .picker-text-button:hover:not(:disabled) { background: var(--accent-soft); }
.picker-nav:disabled, .picker-day:disabled, .picker-text-button:disabled { opacity: .36; }
.picker-calendar-footer { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line); }
.picker-text-button { padding: 5px 8px; color: var(--accent); font-size: 12px; font-weight: 650; }
@media (max-width: 430px) {
    .update-rollback-form { grid-template-columns: 1fr; }
}

.work-list-row { padding-block: .6rem; border-bottom: 1px solid var(--line); }
.work-list-row:last-child { border-bottom: 0; }
.work-list-row > p { margin-block: .2rem; }
.work-inactive { border-inline-start: .25rem solid #b87542; opacity: .8; }
.work-file { display: inline-block; margin: .2rem .35rem .2rem 0; overflow-wrap: anywhere; }
.work-check { display: flex; gap: .55rem; align-items: baseline; }
.work-task-table td { vertical-align: top; }
.work-task-table .work-file { display: block; }
.work-gantt { margin-block: .8rem; }
.work-timeline td, .work-timeline th:not(:first-child) { text-align: center; min-width: 3rem; }
.work-timeline td.work-gantt-span { background: #368b6a36; }
.work-message { white-space: pre-wrap; overflow-wrap: anywhere; }
.work-help section { scroll-margin-top: 6rem; }
.work-help li + li { margin-top: .55rem; }
.work-help code { overflow-wrap: anywhere; }
.work-certificate-login { margin-top: 1rem; }
@media print {
    body.work-print .sidebar, body.work-print .topbar,
    body.work-print .content > :not(:has(.work-print-target)),
    body.work-print .card:has(.work-print-target) > :not(.work-print-target),
    body.work-print .work-print-target > p { display: none !important; }
    body.work-print .workspace, body.work-print .main, body.work-print .content {
        display: block; padding: 0; margin: 0; width: auto; overflow: visible;
    }
    body.work-print .card:has(.work-print-target) { box-shadow: none; border: 0; }
    body.work-print .work-print-target { color: #000; background: #fff; print-color-adjust: exact; }
    body.work-print .work-print-target .table-wrap { overflow: visible; }
    body.work-print .work-print-target .table { font-size: 9pt; }
    body.work-print .work-timeline td, body.work-print .work-timeline th { min-width: auto; padding: .2rem; }
}
.work-preview-frame {
    display: block;
    width: 100%;
    min-height: 55vh;
    margin-block: 1rem;
    border: 1px solid var(--line);
    border-radius: .55rem;
    background: var(--surface-alt);
}
