
:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #f5f5f5; color: #17233d; }
.app-shell { --primary: #582e73; --cdo-header: #880015; --cdo-purple: #582e73; --cdo-green: #217346; --app-font: system-ui; --app-size: 16px; min-height: 100vh; font-family: var(--app-font), sans-serif; font-size: var(--app-size); display: flex; flex-direction: column; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 4px; }
h1:focus { outline: none; }
.app-header { height: 96px; padding: 0 5.5%; background: var(--primary); border-bottom: 1px solid color-mix(in srgb,var(--primary) 85%,black); display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand,.brand:hover { display:flex; align-items:center; gap:13px; color:white; font-size:1.25em; font-weight:800; letter-spacing:.035em; }
.brand small { display:block; color:#ffffffcc; font-size:.46em; font-weight:650; letter-spacing:.18em; margin-top:3px; }
.brand-mark { width:44px; height:44px; display:grid; place-items:center; background:var(--primary); color:white; border-radius:13px; font-size:1.25em; }
.brand img { width:56px; height:56px; padding:4px; border-radius:10px; background:white; object-fit:contain; }
.header-actions { display:flex; gap:20px; align-items:center; font-size:.86em; }
.municipal-brand { display:flex; align-items:center; justify-content:center; gap:18px; flex:1; min-width:0; color:white; }
.municipal-brand img { width:200px; height:56px; padding:5px; background:white; border-radius:6px; object-fit:contain; flex-shrink:0; }
.municipal-brand span { max-width:290px; font-size:.9em; line-height:1.35; overflow-wrap:anywhere; }
.municipal-preview img { width:250px; max-width:100%; height:auto; margin-bottom:14px; }
.header-actions a:not(.button) { color:white; }
.main-content { width: min(1260px,89%); margin:0 auto; padding:52px 0 64px; flex:1; }
h1,h2,h3,p { margin-top:0; }
h1 { font-size:clamp(2em,4vw,3.25em); line-height:1.12; letter-spacing:-.045em; font-weight:750; margin-bottom:18px; }
h2 { font-size:1.35em; letter-spacing:-.025em; font-weight:700; }
h3 { font-size:1.05em; font-weight:700; }
p { color:#647089; line-height:1.7; }
.eyebrow { display:block; font-size:.66em; letter-spacing:.16em; font-weight:750; color:#7b879d; margin-bottom:16px; }
.page-heading { padding:14px 0 35px; }
.page-heading p { max-width:760px; font-size:1.05em; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; }
.section-heading h2 { margin:0; }
.section-heading.list-refresh { justify-content:flex-end; }
.section-heading>span { color:#8a94a6; font-size:.8em; }
.module-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.main-menu { display:flex; flex-direction:column; gap:20px; }
.main-menu .menu-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
.main-menu .menu-row:empty { display:none; }
.module-card { position:relative; display:block; padding:18px 44px 18px 20px; background:var(--primary); border:1px solid var(--primary); border-radius:18px; color:white; transition:transform .18s, box-shadow .18s; }
.module-card:hover { color:white; transform:translateY(-4px); box-shadow:0 12px 30px #17233d20; border-color:var(--primary); }
.card-arrow { position:absolute; top:14px; right:16px; color:white; font-size:1.3em; }
.module-card .eyebrow { color:white; font-size:.59em; margin-bottom:6px; }
.module-card h3 { font-size:1.22em; letter-spacing:-.03em; margin-bottom:8px; }
.module-card p { color:white; font-size:.83em; margin:0; }
.submenu-grid .module-card { background:color-mix(in srgb,var(--primary) 16%,transparent); border-color:color-mix(in srgb,var(--primary) 28%,transparent); color:var(--primary); }
.submenu-grid .module-card:hover { background:color-mix(in srgb,var(--primary) 24%,transparent); border-color:var(--primary); color:var(--primary); }
.submenu-grid .module-card :is(.eyebrow,p,.card-arrow) { color:var(--primary); }
.info-strip { margin-top:32px; padding:18px 22px; background:#edf1f7; color:#758097; border-radius:12px; font-size:.78em; display:flex; align-items:center; gap:10px; }
.status-dot { width:7px; height:7px; border-radius:50%; background:var(--cdo-green); flex-shrink:0; }
.app-footer { display:flex; justify-content:space-between; padding:24px 5.5%; border-top:1px solid #e3e8f1; font-size:.7em; color:#8993a4; gap:20px; }
.button { display:inline-flex; justify-content:center; align-items:center; gap:28px; border:1px solid transparent; border-radius:9px; background:var(--primary); color:white; padding:12px 20px; font-size:.86em; font-weight:650; cursor:pointer; text-decoration:none; }
.button:hover { color:white; filter:brightness(.94); }
.button.secondary { background:white; border-color:#dce3ee; color:#46536c; }
.button.compact { padding:9px 14px; font-size:.8em; }
.button:disabled,fieldset:disabled .button { opacity:.6; cursor:wait; }
.full-width { width:100%; }
.welcome-panel { border:1px solid #e0e6ef; border-radius:22px; padding:48px; display:grid; grid-template-columns:1.1fr 1fr; gap:40px; background:white; overflow:hidden; }
.welcome-panel h2 { font-size:2em; line-height:1.25; letter-spacing:-.04em; }
.welcome-panel p { font-size:.95em; max-width:420px; }
.welcome-panel .button { margin-top:16px; }
.welcome-art { min-height:260px; border-radius:18px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:repeating-linear-gradient(0deg,transparent,transparent 39px,#ffffff25 40px),repeating-linear-gradient(90deg,transparent,transparent 39px,#ffffff25 40px),var(--primary); color:white; }
.welcome-art>span { font-size:8em; font-weight:850; line-height:1; letter-spacing:-.08em; margin-right:12px; }
.welcome-art { background: var(--cdo-purple); }
.welcome-art>img { width:120px; height:120px; padding:12px; border-radius:20px; background:white; object-fit:contain; image-rendering:auto; }
.welcome-art>small { font-size:.55em; letter-spacing:.2em; margin-top:28px; }
.navigation-button { min-height:60px; max-width:100%; padding:12px 22px; gap:16px; font-size:1em; font-weight:700; background:var(--primary); color:white; border:2px solid color-mix(in srgb,var(--primary) 65%,white); box-shadow:0 4px 12px #17233d18; text-align:left; }
.navigation-button:hover { color:white; }
.navigation-arrow { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; font-size:2.4em; line-height:1; color:white; }
.back-link { margin-bottom:25px; }
.compact-heading { padding:0 0 20px; }
.compact-heading h1 { font-size:2.5em; }
.workspace-grid { display:grid; grid-template-columns:1.1fr 1fr; align-items:start; gap:24px; }
.catalog-editor { max-width:760px; }
.panel { background:white; border:1px solid #e2e8f2; border-radius:16px; padding:28px; min-width:0; }
.panel h2 { margin-bottom:22px; }
.panel h3 { margin-top:24px; }
label { display:block; font-size:.82em; font-weight:600; color:#46536c; margin:18px 0 7px; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=color]),select,textarea { width:100%; padding:11px 13px; border:1px solid #d9e1ed; border-radius:8px; color:#27354f; background:white; min-height:44px; }
textarea { min-height:90px; resize:vertical; }
input[type=checkbox] { width:17px; height:17px; accent-color:var(--primary); flex-shrink:0; }
.check-row { display:flex; align-items:center; gap:10px; font-weight:500; margin:16px 0; }
.permission-row { border:1px solid #edf0f5; padding:13px; border-radius:8px; }
.field-hint { font-size:.74em; color:#8390a4; line-height:1.55; margin:9px 0 16px; }
.form-actions { display:flex; gap:12px; margin-top:28px; flex-wrap:wrap; }
fieldset { border:0; padding:0; margin:0; min-width:0; }
.validation-message,.validation-errors { color:#b32635; font-size:.82em; }
.invalid { border-color:#b32635 !important; }
.notice { padding:14px 18px; background:color-mix(in srgb,var(--primary) 9%,white); color:var(--primary); border-radius:9px; margin-bottom:22px; font-size:.84em; }
.notice.error { background:color-mix(in srgb,var(--primary) 12%,white); color:var(--primary); border-left:3px solid var(--primary); }
.notice.success { background:#edf8f2; color:#26754d; }
.table-scroll { overflow-x:auto; margin-top:22px; }
.neighborhood-list,.street-list { max-height:560px; overflow:auto; }
.neighborhood-list th,.street-list th { position:sticky; top:0; background:white; z-index:1; }
.selectable-list tbody tr { cursor:pointer; }
.selectable-list tbody tr:hover>td { background:color-mix(in srgb,var(--primary) 6%,white); }
.selectable-list tbody tr.selected-row>td { background:color-mix(in srgb,var(--primary) 15%,white); }
.selectable-list tbody tr.selected-row>td:first-child { box-shadow:inset 4px 0 0 var(--primary); }
.selectable-list tbody tr:focus-visible { outline:3px solid var(--primary); outline-offset:-3px; }
.list-actions { margin-top:18px; }
table { width:100%; border-collapse:collapse; font-size:.83em; }
th { color:#8993a5; font-weight:600; text-align:left; padding:12px 8px; border-bottom:1px solid #e7ecf3; }
.column-sort { display:inline-flex; align-items:center; gap:10px; padding:4px 0; border:0; background:transparent; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.column-sort:hover,.column-sort:focus-visible { color:var(--primary); }
th[aria-sort="ascending"],th[aria-sort="descending"] { color:var(--primary); }
td { padding:17px 8px; border-bottom:1px solid #eef1f6; }
td strong { font-weight:650; } td small,.profile-row small { display:block; color:#8a95a7; font-size:.85em; margin-top:4px; }
.badge { font-size:.69em; font-weight:600; border-radius:20px; padding:6px 10px; background:#eff1f5; color:#798499; white-space:nowrap; }
.badge.active { background:#ecf8f1; color:#30865a; }
.text-button { border:0; background:transparent; color:var(--primary); cursor:pointer; font-size:.88em; }
.empty-state { text-align:center; padding:36px 12px; font-size:.86em; }
.profile-row { width:100%; padding:19px 0; display:flex; justify-content:space-between; align-items:center; gap:12px; border:0; border-bottom:1px solid #edf0f5; background:white; text-align:left; color:#26344c; cursor:pointer; }
.profile-row:hover strong { color:var(--primary); }
.profile-row strong { font-size:.95em; }
.color-field { display:flex; gap:16px; align-items:center; }
input[type=color] { width:64px; height:44px; border:1px solid #d9e1ed; border-radius:7px; background:white; }
.preview-panel { padding:38px; }
.preview-panel h2 { font-size:1.8em; }
.preview-brand { font-weight:800; color:var(--primary); letter-spacing:.06em; margin:40px 0 25px; }
.preview-sample { border-top:1px solid #edf0f5; margin-top:35px; padding-top:10px; }
.preview-sample .badge { display:inline-block; margin-top:20px; }
.login-container { max-width:480px; margin:10px auto 40px; }
.login-panel { padding:36px; }
.login-panel h1 { font-size:2em; }
.login-panel>p { font-size:.86em; }
.login-panel .full-width { margin:10px 0 16px; }
.header-image { width:100%; max-height:200px; object-fit:cover; border-radius:16px; margin-bottom:28px; }
#blazor-error-ui { display:none; position:fixed; bottom:0; width:100%; background:#fff4d5; padding:16px 28px; z-index:1000; }
#blazor-error-ui .dismiss { position:absolute; right:14px; border:0; background:transparent; }
@media(max-width:1100px) { .module-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .app-header { height:auto; min-height:96px; padding-top:16px; padding-bottom:16px; flex-wrap:wrap; } .municipal-brand { order:3; flex-basis:100%; justify-content:flex-start; } .header-actions { margin-left:auto; } }
@media(max-width:760px) { .app-header { height:auto; min-height:84px; padding:18px 5%; flex-wrap:wrap; } .header-actions { gap:12px; flex-wrap:wrap; } .main-content { width:90%; padding-top:32px; } .workspace-grid,.welcome-panel { grid-template-columns:1fr; } .welcome-panel { padding:28px; } .welcome-art { min-height:220px; } .panel { padding:22px; } .app-footer { flex-direction:column; gap:8px; } .section-heading { align-items:flex-start; flex-wrap:wrap; } }
@media(max-width:440px) { .module-grid { grid-template-columns:1fr; } .page-heading h1 { font-size:2.3em; } }
@media(prefers-reduced-motion:reduce) { * { transition:none !important; } }

.account-nav { display:flex; gap:24px; margin:0 0 24px; font-size:.9em; } .account-nav .active { font-weight:700; } .account-details dt { font-size:.8em; color:#8993a4; margin-top:20px; } .account-details dd { margin:4px 0; }
/* The application header stays outside the content scroller, so its responsive
   height never needs to be duplicated in a sticky offset. */
.app-shell { height:100vh; height:100dvh; min-height:0; overflow:hidden; }
.app-header,.app-footer { flex-shrink:0; }
.app-header { position:relative; z-index:30; }
.main-content { min-height:0; overflow-y:auto; scrollbar-gutter:stable; padding:0 8px 32px 0; scroll-padding-top:180px; }
.page-toolbar { position:sticky; top:0; z-index:20; display:flex; align-items:center; flex-wrap:wrap; gap:24px; padding:18px 0; margin-bottom:24px; background:#f5f5f5; border-bottom:1px solid #e2e8f2; }
.page-toolbar .back-link { margin:0; flex-shrink:0; }
.page-toolbar .page-heading { padding:0; flex:1; min-width:0; }
.page-toolbar .eyebrow { margin:0 0 5px; }
.page-toolbar h1 { margin:0; font-size:1.8em; overflow-wrap:anywhere; }
.page-toolbar p { margin:7px 0 0; font-size:.85em; }
.page-actions { display:flex; align-items:center; gap:12px; flex-shrink:0; flex-wrap:wrap; }
.page-actions .button { min-height:44px; }
.page-toolbar-notice { flex-basis:100%; }
.page-toolbar-notice:empty { display:none; }
.page-toolbar-notice .notice { margin:0; }
.page-toolbar-notice .notice p { margin:0; }
.page-toolbar-notice .form-actions { margin-top:12px; }
@media(max-width:760px) {
    .main-content { padding-top:0; }
    .page-toolbar { gap:12px; padding:12px 0; flex-wrap:wrap; }
    .page-toolbar .navigation-button { padding:8px 12px; min-height:50px; font-size:.85em; max-width:55%; }
    .page-toolbar .page-heading { flex-basis:35%; }
    .page-toolbar h1 { font-size:1.35em; }
    .page-actions { width:100%; justify-content:flex-end; }
}
@media(max-width:1100px) { .main-menu .menu-row { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:440px) { .main-menu .menu-row { grid-template-columns:1fr; } }

.list-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:end; }
.filter-field { min-width:0; }
.filter-field label { margin-top:0; }
.filter-field select { min-width:0; }
.activity-tree-tools { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:20px 0; }
.activity-tree-tools .field-hint { margin:0 auto 0 0; }
.activity-tree, .activity-children { list-style:none; padding:0; margin:0; }
.activity-branch { margin:12px 0; }
.activity-branch-heading { display:flex; align-items:center; gap:10px; padding:8px 12px; border-radius:10px; background:color-mix(in srgb,var(--primary) 14%,transparent); }
.activity-branch-heading .field-hint { margin:0 0 0 auto; }
.tree-toggle { flex-shrink:0; width:36px; height:36px; border:0; border-radius:8px; background:var(--primary); color:white; cursor:pointer; }
.tree-label { display:block; text-align:left; overflow-wrap:anywhere; min-width:0; padding:10px; border:0; border-radius:8px; background:transparent; color:var(--primary); cursor:pointer; }
.tree-label:hover { background:color-mix(in srgb,var(--primary) 10%,transparent); }
.activity-children { margin:8px 0 8px 29px; padding-left:24px; border-left:2px solid color-mix(in srgb,var(--primary) 25%,transparent); }
.activity-children[hidden] { display:none; }
.activity-children li { position:relative; padding-left:12px; }
.activity-children li::before { content:""; position:absolute; left:-24px; top:20px; width:30px; border-top:1px solid color-mix(in srgb,var(--primary) 25%,transparent); }
.activity-children .tree-label { width:100%; }
.location-editor-grid { display:grid; grid-template-columns:minmax(280px,.8fr) minmax(360px,1.5fr); gap:20px; align-items:start; }
.location-map { width:100%; height:520px; min-height:360px; border-radius:12px; background:#eee9f1; }
.map-actions { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.location-map-panel { min-width:0; }
@media(max-width:1000px) { .location-editor-grid { grid-template-columns:1fr; } }

.location-heading .page-heading { min-width:min(260px,45%); }
.location-heading .page-actions { margin-left:auto; }

.brand small { max-width:340px; font-size:.6em; letter-spacing:.02em; line-height:1.3; white-space:normal; }
.location-address-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; }
.location-address-value { margin:0; min-width:0; overflow-wrap:anywhere; color:#17233d; font-size:.9em; }
.location-address-row .button { margin:0; }

.preview-brand small { display:block; font-size:.5em; font-weight:650; margin-top:6px; line-height:1.3; }

.formatted-location-address { overflow-wrap:anywhere; }
/* Occupations keep the existing page toolbar and collapse like the map editor. */
.occupation-editor-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1.25rem; align-items:start; }
.occupation-panel-stack { display:grid; gap:1.25rem; }
.occupation-general-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin-bottom:20px; }
.occupation-general-heading h2 { margin:0; }
.occupation-general-heading .field-hint { margin:0 0 0 auto; text-align:right; }
.occupation-editor-grid .panel { min-width:0; }
.occupation-activities { grid-column:1/-1; }
.occupation-check-grid,.occupation-activity-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem 1.25rem; }
label.occupation-check { display:flex; align-items:center; gap:.6rem; margin:.65rem 0; font-weight:400; }
.occupation-check input[type=checkbox] { width:1.1rem; height:1.1rem; flex:0 0 auto; margin:0; }
.occupation-activity-class { border:1px solid #e2e8f2; border-radius:.65rem; padding:.8rem; }
.occupation-activity-class summary,.occupation-filters summary { cursor:pointer; color:var(--primary); font-weight:600; }
.occupation-activity-child { padding-left:1.25rem; }
.occupation-filters { margin:1rem 0; }
.occupation-tabs { display:flex; gap:.6rem; flex-wrap:wrap; }
.occupation-map { margin:1rem 0; }
.occupation-map-label { display:grid; place-items:center; min-width:30px; height:30px; padding:3px 8px; border:2px solid white; border-radius:50%; color:white; font-weight:800; box-shadow:0 2px 8px #17233d55; cursor:pointer; }
.occupation-map-label { position:absolute; transform:translate(-50%,-50%); margin:0; font:800 13px var(--app-font),sans-serif; }
.occupation-map-label:focus-visible { outline:3px solid #17233d; outline-offset:2px; }
/* Only this consultation uses the remaining viewport. */
.main-content:has(.occupation-location-workspace) { display:flex; flex-direction:column; overflow:hidden; padding-bottom:10px; }
.main-content:has(.occupation-location-workspace) > * { flex-shrink:0; }
.main-content:has(.occupation-location-workspace) > .page-toolbar { margin-bottom:8px; gap:16px; padding:12px 0; }
.main-content:has(.occupation-location-workspace) > .field-hint { margin:4px 0 8px; }
.main-content:has(.occupation-location-workspace) > .notice { max-height:75px; overflow:auto; }
.main-content > .occupation-location-workspace { flex:1 1 0; min-height:0; min-width:0; display:flex; flex-direction:column; gap:8px; padding:16px; margin:0; overflow:hidden; }
.occupation-location-workspace .section-heading { margin:0; gap:12px; }
.occupation-location-workspace .section-heading h2 { margin:0; font-size:1.15em; }
.occupation-location-workspace .section-heading span { font-size:.75em; }
.occupation-location-tools { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.occupation-location-tools label { margin:0; }
.occupation-location-tools select { width:auto; flex:1; min-width:80px; margin:0; padding:8px; }
.occupation-location-tools .button { flex-shrink:0; margin:0; }
.occupation-location-workspace .notice { margin:0; padding:8px 12px; font-size:.8em; max-height:80px; overflow:auto; flex-shrink:0; }
.occupation-location-selection { min-height:38px; }
.occupation-location-selection strong { display:block; }
.occupation-location-state { display:inline-block; padding:3px 8px; border-radius:5px; font-size:.85em; font-weight:650; white-space:nowrap; }
.occupation-location-selection p { margin:3px 0 0; }
.occupation-location-workspace .field-hint { margin:0; font-size:.75em; }
.occupation-location-split { --map-share:55fr; --list-share:45fr; flex:1 1 0; min-height:180px; display:grid; grid-template-rows:minmax(80px,var(--map-share)) 16px minmax(80px,var(--list-share)); overflow:hidden; }
.occupation-location-map-pane { min-height:0; min-width:0; position:relative; overflow:hidden; }
.occupation-location-map-pane .occupation-map { height:100%; min-height:0; margin:0; border-radius:8px; }
.occupation-location-map-pane > .notice { position:absolute; z-index:1; top:8px; left:8px; right:8px; }
.occupation-location-divider { display:grid; place-items:center; cursor:row-resize; touch-action:none; user-select:none; border-radius:6px; }
.occupation-location-divider span { width:80px; height:5px; border-radius:4px; background:color-mix(in srgb,var(--primary) 45%,white); }
.occupation-location-divider:hover,.occupation-location-divider:focus-visible,.occupation-location-divider.is-resizing { background:color-mix(in srgb,var(--primary) 14%,white); outline:2px solid var(--primary); outline-offset:-2px; }
.occupation-location-list-pane { min-height:0; min-width:0; margin:0; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; border:1px solid #e2e8f2; border-radius:8px; }
.occupation-location-list-pane table { margin:0; }
.occupation-location-list-pane thead { position:sticky; top:0; z-index:2; background:white; }
.occupation-location-list-pane td,.occupation-location-list-pane th { padding:9px 10px; }
.selectable-list tr.is-selected td { background:color-mix(in srgb,var(--primary) 14%,white); }
.preserve-lines { white-space:pre-wrap; }
.occupation-filters .list-filters { margin-top:1rem; }
.occupation-pagination { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; margin:1rem 0; color:#647089; }
.occupation-pagination .form-actions { margin:0; }
.occupation-list-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.occupation-list-tools .occupation-pagination { margin:0 0 0 auto; justify-content:flex-end; font-size:.85em; }
.occupation-list-code { white-space:nowrap; font-variant-numeric:tabular-nums; }
.location-name-link { color:var(--primary); background:transparent; border:0; padding:0; text-align:left; font:inherit; cursor:pointer; }
.location-name-link:hover { text-decoration:underline; }
.location-editor-point { display:grid; place-items:center; width:30px; height:30px; border:2px solid white; border-radius:50%; font-weight:800; box-shadow:0 2px 8px #17233d55; }
.occupation-date-tools { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:14px 0; }
.occupation-date-tools label { margin:0; }
.occupation-date-tools input { width:160px; margin:0; }
.occupation-date-grid { max-height:430px; overflow:auto; }
.occupation-date-grid thead { position:sticky; top:0; background:white; z-index:1; }
.occupation-date-grid input,.occupation-date-grid select { margin:0; min-width:110px; }
@media(max-width:1000px) { .occupation-editor-grid,.occupation-activity-grid { grid-template-columns:minmax(0,1fr); } }
