:root {
  color-scheme: light;
  --navy: #153a63;
  --navy-dark: #102e50;
  --blue: #2874b8;
  --blue-soft: #eaf3fb;
  --teal: #208b80;
  --ink: #1d2b3c;
  --muted: #738196;
  --line: #e6ebf1;
  --surface: #fff;
  --canvas: #f4f6f9;
  --green: #238363;
  --amber: #bd7a17;
  --red: #b94a4a;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-size: 13px; }
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #9dc8ec; outline-offset: 2px; }
.app-shell { display: flex; min-height: 100vh; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; width: 252px; padding: 21px 14px 14px; background: var(--navy-dark); color: #d7e4f2; }
.brand { display: flex; align-items: center; gap: 11px; height: 45px; margin: 0 7px 28px; color: #fff; text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #7895b1; border-radius: 12px; color: #d5edff; }
.brand-mark svg { width: 28px; height: 28px; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-size: 20px; letter-spacing: -.7px; }
.brand-copy strong span { color: #75c4bb; }
.brand-copy small { color: #9bb1c8; font-size: 8px; letter-spacing: .82px; }
.workspace-label, .nav-heading { color: #8fa5bb; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.workspace-label { padding: 0 9px 10px; }
.office-switch { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 9px; color: #edf4fb; text-align: left; background: #1c3e60; border: 1px solid #31516f; border-radius: 8px; cursor: pointer; }
.office-icon { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: #d2e8e7; color: #216967; font-size: 10px; font-weight: 700; }
.office-copy, .sync-state > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.office-copy strong { font-size: 11px; font-weight: 600; }
.office-copy small, .sync-state small { color: #a9bed1; font-size: 9px; }
.chevron { margin-left: auto; color: #9db4ca; font-size: 17px; }
.nav-groups { flex: 1; overflow-y: auto; margin: 23px -3px 4px; padding: 0 3px; scrollbar-width: thin; scrollbar-color: #47627b transparent; }
.nav-group { margin: 0 0 20px; }
.nav-heading { padding: 0 10px 7px; font-size: 9px; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 37px; padding: 8px 10px; border: 0; border-radius: 7px; color: #c8d6e5; text-align: left; background: transparent; cursor: pointer; transition: background .15s, color .15s; }
.nav-item:hover { color: white; background: #1c4268; }
.nav-item.active { color: #fff; background: #27537c; box-shadow: inset 3px 0 #72c3b5; }
.nav-item.nav-subitem { min-height: 31px; padding-top: 6px; padding-bottom: 6px; padding-left: 37px; color: #aebfd0; font-size: 10px; }
.nav-item.nav-subitem .nav-icon { width: 12px; font-size: 13px; }
.nav-item.nav-subitem.active { color: #fff; }
.nav-item > span:nth-child(2) { flex: 1; }
.nav-icon { display: grid; width: 18px; place-items: center; color: #a9c1d9; font-size: 17px; line-height: 1; }
.nav-item.active .nav-icon { color: #a7e1d7; }
.nav-count { padding: 2px 6px; border-radius: 9px; background: #355a7e; color: #d7e7f6; font-size: 9px; }
.nav-count.warning { background: #78572d; color: #ffdfa8; }
.sidebar-bottom { padding-top: 12px; border-top: 1px solid #34506b; }
.sync-state { display: flex; align-items: center; gap: 9px; margin: 0 5px 11px; padding: 7px 5px; }
.sync-state strong { color: #dce8f3; font-size: 10px; font-weight: 600; }
.sync-dot { width: 8px; height: 8px; border-radius: 50%; background: #63c6a5; box-shadow: 0 0 0 3px #264f65; }
.sidebar-bottom .nav-item { min-height: 34px; font-size: 11px; }

.main-shell { display: flex; min-width: 0; min-height: 100vh; flex: 1; flex-direction: column; margin-left: 252px; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 0 32px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.topbar-context, .topbar-actions, .breadcrumbs, .user-menu { display: flex; align-items: center; }
.breadcrumbs { gap: 10px; color: #8794a5; font-size: 11px; }
.breadcrumbs strong { color: #324459; font-size: 12px; font-weight: 600; }
.crumb-separator { color: #c0c9d4; }
.topbar-actions { gap: 20px; }
.global-search { display: flex; align-items: center; gap: 8px; width: min(330px, 30vw); height: 35px; padding: 0 10px; border: 1px solid #e5eaf0; border-radius: 7px; background: #f9fafb; color: #8b98a8; }
.global-search > span { font-size: 22px; line-height: 1; transform: rotate(-20deg); }
.global-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.global-search input::placeholder { color: #9aa6b5; }
kbd { flex: 0 0 auto; padding: 2px 4px; border: 1px solid #e0e5eb; border-radius: 4px; color: #8591a0; background: #fff; font-family: inherit; font-size: 9px; }
.icon-button, .plain-icon, .mobile-menu { display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.icon-button { position: relative; width: 30px; height: 32px; color: #5b6b7d; font-size: 20px; }
.notification-button i { position: absolute; top: 5px; right: 4px; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: #e76d5e; }
.user-menu { gap: 9px; padding-left: 2px; }
.avatar { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; background: #e2edf6; color: #315a7d; font-size: 10px; font-weight: 700; }
.user-copy { display: flex; flex-direction: column; gap: 3px; }
.user-copy strong { color: #35475b; font-size: 10px; font-weight: 600; }
.user-copy small { color: #8692a1; font-size: 9px; }
.plain-icon { width: 17px; height: 28px; color: #758296; font-size: 16px; }
.mobile-menu { display: none; }
.page-content { width: 100%; max-width: 1600px; flex: 1; margin: 0 auto; padding: 27px 32px 32px; outline: 0; }
.app-footer { display: flex; justify-content: space-between; gap: 12px; padding: 12px 32px 15px; border-top: 1px solid var(--line); color: #8b97a5; font-size: 9px; }
.footer-divider { padding: 0 4px; color: #bec7d0; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.page-heading h1 { margin: 0; color: #1d3148; font-size: 22px; font-weight: 650; letter-spacing: -.45px; }
.page-heading p { margin: 6px 0 0; color: #758397; font-size: 11px; }
.eyebrow { color: #6a8ba9; font-size: 9px; font-weight: 700; letter-spacing: .9px; }
.heading-actions, .button-row { display: flex; align-items: center; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 0 12px; border: 1px solid #dfe5ec; border-radius: 6px; background: #fff; color: #4b5c70; font-size: 10px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.button:hover { border-color: #b9c9d8; background: #f9fbfd; }
.button:active { transform: translateY(1px); }
.button.primary { border-color: var(--blue); background: var(--blue); color: white; box-shadow: 0 2px 5px #2874b826; }
.button.primary:hover { border-color: #1e629e; background: #1e629e; }
.button.ghost { border-color: transparent; background: transparent; }
.button.danger { color: var(--red); }
.button.small { min-height: 28px; padding: 0 9px; font-size: 9px; }
.button svg { width: 14px; height: 14px; }
.icon-inline { margin-right: 1px; font-size: 14px; }

.panel { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: 0 2px 8px #18365305; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; border-bottom: 1px solid #edf0f4; }
.panel-heading h2, .panel-heading h3 { margin: 0; color: #30445a; font-size: 12px; font-weight: 650; }
.panel-heading p { margin: 4px 0 0; color: #8794a3; font-size: 10px; }
.panel-link { padding: 4px 0; border: 0; background: transparent; color: var(--blue); font-size: 10px; cursor: pointer; }
.panel-body { padding: 16px 17px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 17px; }
.metric-card { position: relative; min-height: 113px; padding: 16px; overflow: hidden; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.metric-label { color: #718095; font-size: 10px; }
.metric-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; background: #edf4fa; color: #4c80ae; font-size: 16px; }
.metric-card:nth-child(2) .metric-icon { background: #fff4e3; color: #bd852a; }
.metric-card:nth-child(3) .metric-icon { background: #e9f6f3; color: #39947d; }
.metric-card:nth-child(4) .metric-icon { background: #f2eefb; color: #8370bb; }
.metric-value { margin-top: 7px; color: #21374f; font-size: 25px; font-weight: 650; letter-spacing: -.7px; }
.metric-foot { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: #8390a0; font-size: 9px; }
.trend-up { color: #25866d; font-weight: 600; }
.dashboard-main-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .9fr); gap: 15px; margin-bottom: 16px; }
.dashboard-bottom-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .9fr); gap: 15px; }
.stage-list { display: flex; flex-direction: column; gap: 15px; }
.stage-topline { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: #57687a; font-size: 10px; }
.stage-topline strong { color: #344a61; font-weight: 650; }
.progress-track { height: 6px; overflow: hidden; border-radius: 6px; background: #edf1f5; }
.progress-value { height: 100%; border-radius: inherit; background: #3981b9; }
.progress-value.amber { background: #d4a045; }
.progress-value.teal { background: #45a18e; }
.progress-value.violet { background: #8774bf; }
.workflow-note { display: flex; gap: 9px; margin-top: 16px; padding: 10px; border: 1px solid #e2edf5; border-radius: 6px; background: #f5f9fc; color: #748397; font-size: 9px; line-height: 1.5; }
.workflow-note b { color: #43688a; font-size: 13px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.quick-action { display: flex; align-items: center; gap: 9px; min-height: 53px; padding: 9px; border: 1px solid #e9edf2; border-radius: 7px; background: #fff; text-align: left; cursor: pointer; }
.quick-action:hover { border-color: #bdd2e5; background: #f7fbff; }
.quick-action-icon { display: grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; border-radius: 7px; background: #edf4fa; color: #417cab; font-size: 15px; }
.quick-action span:last-child { color: #4f6073; font-size: 9px; font-weight: 600; line-height: 1.4; }
.activity-list { display: flex; flex-direction: column; }
.activity-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f2f5; }
.activity-item:first-child { padding-top: 1px; }
.activity-item:last-child { padding-bottom: 1px; border: 0; }
.activity-dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: #4b9b8c; }
.activity-dot.amber { background: #d29a3d; }
.activity-copy { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.activity-copy strong { color: #43566b; font-size: 10px; font-weight: 600; }
.activity-copy span { color: #8793a1; font-size: 9px; }
.activity-time { flex: 0 0 auto; color: #9aa4b0; font-size: 9px; }

.filters-panel { margin-bottom: 13px; padding: 12px 14px; }
.filters-row { display: flex; align-items: center; gap: 9px; }
.filter-search { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 150px; height: 32px; padding: 0 9px; border: 1px solid #e2e7ed; border-radius: 6px; color: #91a0b0; }
.filter-search span { font-size: 16px; }
.filter-search input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 10px; background: transparent; }
.filters-row select, .select-control { height: 32px; padding: 0 27px 0 10px; border: 1px solid #e2e7ed; border-radius: 6px; background: #fff; color: #55667a; font-size: 10px; }
.filter-summary { margin-left: auto; color: #8a96a5; white-space: nowrap; font-size: 9px; }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 10px 13px; border-bottom: 1px solid #e9edf2; background: #fbfcfd; color: #8592a1; font-size: 9px; font-weight: 600; white-space: nowrap; }
.data-table td { padding: 11px 13px; border-bottom: 1px solid #f0f2f5; color: #526276; font-size: 10px; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafcfe; }
.primary-cell { display: flex; flex-direction: column; gap: 3px; min-width: 115px; }
.primary-cell strong { color: #355a7c; font-size: 10px; font-weight: 650; }
.primary-cell small, .muted-cell { color: #929eab; font-size: 9px; }
.table-actions { display: flex; justify-content: flex-end; gap: 3px; white-space: nowrap; }
.table-action { display: grid; width: 25px; height: 25px; place-items: center; border: 0; border-radius: 5px; background: transparent; color: #77869a; font-size: 13px; cursor: pointer; }
.table-action:hover { background: #eef4f9; color: #2e6f9f; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 11px; background: #f0f2f5; color: #657386; font-size: 9px; white-space: nowrap; }
.status::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.status.done, .status.active { background: #eaf5ef; color: #28805e; }
.status.pending, .status.review { background: #fff4e4; color: #a87520; }
.status.blocked, .status.expired { background: #fbeeee; color: #b34f4f; }
.status.progress { background: #edf3fa; color: #4b78a5; }
.table-footer { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-top: 1px solid #edf0f4; color: #8793a1; font-size: 9px; }
.empty-state { padding: 32px 15px; color: #8a96a5; text-align: center; font-size: 11px; }
.empty-state strong { display: block; margin-bottom: 5px; color: #506177; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.list-toolbar-title { color: #8190a1; font-size: 10px; }
.list-toolbar-title strong { color: #3c5167; font-weight: 650; }

.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 14px; }
.map-panel { overflow: hidden; }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.map-tools { display: flex; gap: 5px; }
.map-tool { min-width: 29px; height: 28px; padding: 0 8px; border: 1px solid #e4e9ef; border-radius: 5px; background: white; color: #627288; font-size: 10px; cursor: pointer; }
.map-tool.active { border-color: #bad1e3; background: #edf5fb; color: #286d9f; }
.map-canvas { position: relative; min-height: 440px; overflow: hidden; background: #eff3ed; }
.map-canvas::before { position: absolute; inset: 0; background-image: linear-gradient(#ffffff70 1px, transparent 1px), linear-gradient(90deg, #ffffff70 1px, transparent 1px); background-size: 32px 32px; content: ""; }
.map-canvas svg { position: relative; display: block; width: 100%; min-height: 440px; }
.parcel-shape { fill: #d6e8d5; stroke: #8bac93; stroke-width: 2; cursor: pointer; transition: fill .15s; }
.parcel-shape:hover, .parcel-shape.selected { fill: #a7d6c3; stroke: #277d74; stroke-width: 3; }
.parcel-shape.parcel-warning { fill: #f2dfbd; }
.parcel-shape.parcel-restricted { fill: #f0caca; }
.parcel-label { pointer-events: none; fill: #4c6256; font: 11px "Segoe UI", sans-serif; text-anchor: middle; }
.map-road { fill: none; stroke: #fff; stroke-width: 21; }
.map-road-center { fill: none; stroke: #d9c99e; stroke-width: 2; stroke-dasharray: 9 8; }
.map-caption { position: absolute; right: 12px; bottom: 12px; padding: 7px 9px; border: 1px solid #dce4da; border-radius: 5px; background: #fffffff0; color: #7d8c80; font-size: 9px; }
.map-side-card { padding: 16px; }
.parcel-number { display: flex; align-items: baseline; gap: 7px; margin: 7px 0 13px; color: #294a66; }
.parcel-number strong { font-size: 19px; }
.parcel-number span { color: #8491a0; font-size: 10px; }
.property-list { margin: 0; }
.property-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #edf0f4; font-size: 10px; }
.property-row:last-child { border-bottom: 0; }
.property-row dt { color: #8290a0; }
.property-row dd { margin: 0; color: #4c5f73; text-align: right; }
.map-legend { display: flex; flex-wrap: wrap; gap: 11px; padding: 11px 14px; border-top: 1px solid var(--line); color: #7d8a99; font-size: 9px; }
.legend-item { display: flex; align-items: center; gap: 5px; }
.legend-color { width: 9px; height: 9px; border-radius: 2px; background: #b6d6ba; }
.legend-color.warn { background: #edd4a7; }
.legend-color.restrict { background: #e8b3b3; }

.report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.report-card { display: flex; min-height: 155px; flex-direction: column; align-items: flex-start; padding: 16px; }
.report-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; background: #edf4fa; color: #4d83ad; font-size: 17px; }
.report-card h3 { margin: 12px 0 5px; color: #40546a; font-size: 11px; }
.report-card p { flex: 1; margin: 0 0 12px; color: #8793a1; font-size: 9px; line-height: 1.5; }
.import-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .8fr); gap: 14px; }
.upload-zone { display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; padding: 20px; border: 1px dashed #b9c9d8; border-radius: 8px; background: #fbfdff; text-align: center; }
.upload-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 10px; border-radius: 12px; background: #eaf3fa; color: #4680ad; font-size: 20px; }
.upload-zone strong { color: #41586f; font-size: 11px; }
.upload-zone p { margin: 6px 0 12px; color: #8995a2; font-size: 9px; }
.upload-zone input[type="file"] { max-width: 220px; color: #738196; font-size: 9px; }
.check-list { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 8px; color: #68788b; font-size: 10px; line-height: 1.5; }
.check-list li::before { color: #28866f; content: "✓"; font-weight: 700; }
.workflow-steps { display: flex; align-items: flex-start; margin: 5px 0 19px; }
.workflow-step { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; gap: 7px; color: #91a0af; text-align: center; font-size: 9px; }
.workflow-step:not(:last-child)::after { position: absolute; top: 13px; left: calc(50% + 17px); width: calc(100% - 34px); height: 1px; background: #dce3e9; content: ""; }
.step-circle { z-index: 1; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #dce3e9; border-radius: 50%; background: #fff; color: #8695a5; }
.workflow-step.complete { color: #478575; }
.workflow-step.complete .step-circle { border-color: #8bc7b6; background: #eaf6f2; color: #2d806c; }
.workflow-step.current { color: #3c6f97; font-weight: 650; }
.workflow-step.current .step-circle { border-color: #5e9ac7; background: #edf5fb; color: #3877a6; box-shadow: 0 0 0 3px #e3f0f9; }
.module-tabs { display: flex; gap: 5px; margin: 0 0 12px; padding: 5px; overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; background: #fff; scrollbar-width: thin; }
.module-tab { flex: 0 0 auto; min-height: 29px; padding: 0 10px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #718094; font-size: 9px; cursor: pointer; }
.module-tab:hover { background: #f5f8fb; color: #3e6687; }
.module-tab.active { border-color: #dce8f1; background: #eff5fa; color: #346d98; font-weight: 650; }
.stage-filter-list { display: flex; gap: 7px; margin-bottom: 12px; overflow-x: auto; }
.stage-filter { display: flex; min-width: 118px; flex: 1; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #718094; font-size: 9px; white-space: nowrap; cursor: pointer; }
.stage-filter strong { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #f0f3f6; color: #566a7e; }
.stage-filter.active { border-color: #b7d0e3; background: #eff6fb; color: #346d98; }
.stage-filter.active strong { background: #dcebf6; color: #346d98; }
.advanced-search-fields { display: grid; width: min(740px, 100%); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 17px; padding-top: 14px; border-top: 1px solid #edf0f4; text-align: left; }
.import-file-preview { display: flex; align-items: center; gap: 12px; margin-top: 13px; padding: 10px; border: 1px solid #e4ecf1; border-radius: 6px; background: #f9fbfc; }
.import-file-preview strong { overflow: hidden; color: #526579; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.import-file-preview > span { flex: 1; color: #78889a; font-size: 9px; }
.import-error-list { margin: 12px 0 0; padding: 12px 12px 12px 28px; border: 1px solid #f0dada; border-radius: 6px; background: #fff9f9; color: #a64e4e; font-size: 10px; line-height: 1.8; }
.form-hint { color: #8995a2; font-size: 9px; line-height: 1.5; }
.workflow-role, .workflow-days { min-height: 30px; padding: 5px 8px; border: 1px solid #e2e7ed; border-radius: 5px; background: #fff; color: #536579; font-size: 9px; }
.workflow-days { width: 72px; }
.workflow-required { width: 15px; height: 15px; accent-color: var(--blue); }
.data-table tr[hidden] { display: none; }
.registration-panel .panel-body { padding: 17px 19px; }
.registration-progress { margin: 4px 0 21px; }
.registration-progress .workflow-step { padding: 0; border: 0; background: transparent; cursor: pointer; }
.registration-progress .workflow-step:hover { color: #3c6f97; }
.registration-progress .workflow-step:focus-visible { outline: 2px solid #9dc8ec; outline-offset: 3px; border-radius: 5px; }
.registration-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
.section-title-row { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 15px; }
.section-title-row h3 { margin: 6px 0 4px; color: #364d64; font-size: 14px; }
.section-title-row p { margin: 0; color: #8793a1; font-size: 10px; }
.registration-section-content { padding: 15px; border: 1px solid #edf0f4; border-radius: 7px; background: #fff; }
.registration-summary { padding: 14px; border: 1px solid #e7edf2; border-radius: 7px; background: #f9fbfc; }
.registration-summary .property-row { align-items: flex-start; }
.registration-summary .property-row dd { max-width: 145px; }
.registration-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 19px; border-top: 1px solid #edf0f4; background: #fcfdfe; }
.registration-footer > span { color: #8a96a5; font-size: 9px; }
.registration-footer .button:disabled { cursor: not-allowed; opacity: .5; }
.public-search-panel { display: flex; flex-direction: column; align-items: center; margin-bottom: 15px; padding: 32px 20px; text-align: center; }
.public-search-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #edf5fa; color: #3d7ca6; font-size: 23px; }
.public-search-panel h2 { margin: 12px 0 5px; color: #344b63; font-size: 16px; }
.public-search-panel > p { margin: 0 0 17px; color: #8793a1; font-size: 10px; }
.public-search-row { display: flex; width: min(570px, 100%); gap: 8px; }
.public-search-row input { flex: 1; min-width: 0; height: 36px; padding: 0 11px; border: 1px solid #dfe5eb; border-radius: 6px; color: #45596f; font-size: 10px; }
.public-search-hint { margin-top: 13px; color: #929eaa; font-size: 9px; }
.public-result .workflow-note { margin: 10px 14px 14px; }

.record-dialog { width: min(690px, calc(100% - 28px)); max-width: 690px; max-height: min(84vh, 780px); padding: 0; overflow: hidden; border: 1px solid #dfe5eb; border-radius: 11px; background: #fff; box-shadow: 0 18px 60px #102e5040; }
.record-dialog::backdrop { background: #152b4266; backdrop-filter: blur(2px); }
.record-dialog form { display: flex; max-height: min(84vh, 780px); flex-direction: column; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 18px 21px 14px; border-bottom: 1px solid #edf0f4; }
.dialog-header h2 { margin: 5px 0 0; color: #29415b; font-size: 17px; }
.dialog-close { width: 30px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: #7a8796; font-size: 22px; cursor: pointer; }
.dialog-close:hover { background: #f1f4f7; }
.dialog-body { overflow-y: auto; padding: 17px 21px; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 13px 21px; border-top: 1px solid #edf0f4; background: #fcfdfe; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 13px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: #5a6b7f; font-size: 10px; font-weight: 600; }
.form-field label .required { color: #c95d55; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 35px; padding: 8px 10px; border: 1px solid #dfe5eb; border-radius: 5px; outline: 0; background: white; color: #425367; font-size: 10px; }
.form-field textarea { min-height: 70px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #82afd1; box-shadow: 0 0 0 3px #e9f4fb; }
.detail-banner { margin-bottom: 15px; padding: 12px; border: 1px solid #e1eaf1; border-radius: 7px; background: #f7fafc; }
.detail-banner strong { display: block; margin-bottom: 4px; color: #3d5974; font-size: 11px; }
.detail-banner p { margin: 0; color: #8290a0; font-size: 9px; line-height: 1.5; }
.audit-list { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.audit-entry { display: flex; gap: 9px; padding: 9px 0; border-bottom: 1px solid #edf0f4; }
.audit-entry:last-child { border-bottom: 0; }
.audit-entry > i { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: #72ac9e; }
.audit-entry div { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.audit-entry strong { color: #4e6378; font-size: 10px; }
.audit-entry span { color: #8995a2; font-size: 9px; }
.toast-region { position: fixed; z-index: 50; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.toast { display: flex; align-items: center; gap: 9px; min-width: 250px; max-width: min(390px, calc(100vw - 40px)); padding: 12px 14px; border: 1px solid #dceae3; border-radius: 8px; background: white; color: #476556; box-shadow: 0 7px 25px #1836531a; font-size: 10px; animation: toast-in .18s ease-out; }
.toast.error { border-color: #efdada; color: #a34a4a; }
.toast-mark { display: grid; width: 19px; height: 19px; flex: 0 0 19px; place-items: center; border-radius: 50%; background: #e7f4ed; color: #2c8060; }
.toast.error .toast-mark { background: #f9ebeb; color: #b44d4d; }
@keyframes toast-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1150px) {
  .sidebar { width: 226px; }
  .main-shell { margin-left: 226px; }
  .topbar, .page-content { padding-right: 22px; padding-left: 22px; }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-main-grid, .dashboard-bottom-grid { grid-template-columns: minmax(0, 1.3fr) minmax(240px, .8fr); }
}
@media (max-width: 850px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 12px 0 30px #152b4230; }
  .sidebar.open { transform: translateX(0); }
  .main-shell { margin-left: 0; }
  .mobile-menu { display: grid; width: 29px; height: 30px; margin-right: 9px; color: #5c6e80; font-size: 17px; }
  .dashboard-main-grid, .dashboard-bottom-grid { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: minmax(0, 1fr) 250px; }
  .topbar, .page-content { padding-right: 18px; padding-left: 18px; }
}
@media (max-width: 600px) {
  .topbar { min-height: 58px; padding: 0 13px; }
  .topbar-actions { gap: 10px; }
  .global-search { width: 35px; justify-content: center; padding: 0; border: 0; background: transparent; }
  .global-search input, .global-search kbd { display: none; }
  .user-copy, .user-menu .plain-icon { display: none; }
  .page-content { padding: 20px 13px 24px; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 15px; }
  .page-heading h1 { font-size: 20px; }
  .heading-actions { width: 100%; }
  .dashboard-grid { gap: 9px; }
  .metric-card { min-height: 104px; padding: 12px; }
  .metric-label { font-size: 9px; }
  .metric-value { font-size: 22px; }
  .filters-row { align-items: stretch; flex-wrap: wrap; }
  .filter-search { flex-basis: 100%; }
  .filters-row select { flex: 1; }
  .filter-summary { margin-left: 0; align-self: center; }
  .map-layout, .import-layout { grid-template-columns: 1fr; }
  .registration-form-grid { grid-template-columns: 1fr; }
  .registration-progress .workflow-step { gap: 6px; }
  .registration-footer { padding-right: 12px; padding-left: 12px; }
  .public-search-row { flex-direction: column; }
  .advanced-search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-filter { min-width: 105px; }
  .import-file-preview { align-items: flex-start; flex-direction: column; gap: 7px; }
  .map-canvas, .map-canvas svg { min-height: 320px; }
  .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-card { min-height: 145px; padding: 12px; }
  .app-footer { flex-direction: column; padding: 11px 13px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .record-dialog, .record-dialog form { max-height: 90vh; }
  .workflow-step { font-size: 8px; }
  .workflow-step:not(:last-child)::after { left: calc(50% + 14px); width: calc(100% - 28px); }
  .step-circle { width: 23px; height: 23px; }
  .workflow-step:not(:last-child)::after { top: 11px; }
}
@media print {
  body * { visibility: hidden; }
  .extract-preview, .extract-preview *, .business-print-preview, .business-print-preview * { visibility: visible; }
  .extract-preview { position: absolute; inset: 0; width: 100%; border: 0; box-shadow: none; }
  .extract-preview button { display: none; }
  .business-print-preview { position: absolute; inset: 0; width: 100%; border: 0; box-shadow: none; }
  .business-print-toolbar { display: none !important; }
}
.workflow-launch { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 17px; padding: 16px 18px; border-color: #d7e6f3; background: linear-gradient(110deg, #f8fbfe, #fff); }
.workflow-launch > div { min-width: 0; }
.workflow-launch strong { display: block; margin-top: 5px; color: #284766; font-size: 13px; }
.workflow-launch p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.business-workflow { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 16px; }
.business-main .panel-body { padding-top: 12px; }
.business-steps { margin: 1px 0 16px; }
.business-steps .workflow-step { flex: 1; }
.business-tabs { margin-bottom: 17px; }
.business-actions { justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.business-main .form-grid { min-height: 170px; }
.workflow-checklist { display: grid; gap: 9px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.workflow-checklist > strong { margin-bottom: 2px; color: #44566b; font-size: 10px; }
.checklist-row { display: flex; align-items: center; gap: 8px; color: #79879a; font-size: 10px; }
.checklist-row span { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border: 1px solid #dfe6ed; border-radius: 50%; color: #8b98a8; font-size: 9px; }
.checklist-row.complete span { border-color: #bbded3; background: #e9f6f1; color: #278267; }
.business-print-preview { margin-top: 17px; }
.business-print-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.business-print-toolbar > div { display: flex; gap: 7px; }
.business-print-sheet { max-width: 760px; min-height: 580px; margin: 20px auto; padding: 36px 48px; border: 1px solid #e6e9ed; color: #29394c; background: #fff; }
.business-print-agency { color: #53657b; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .45px; }
.business-print-sheet h2 { margin: 24px 0 9px; color: #1d3148; text-align: center; font-size: 18px; }
.business-print-reference { margin: 0 0 24px; color: #738196; text-align: center; font-size: 10px; }
.business-print-fields { border-top: 1px solid #dfe5ec; }
.business-print-row { display: grid; grid-template-columns: minmax(180px, 35%) 1fr; gap: 15px; padding: 10px 0; border-bottom: 1px solid #e7ebf0; font-size: 11px; }
.business-print-row strong { color: #637287; font-weight: 600; }
.business-print-row span { overflow-wrap: anywhere; }
.business-print-signatures { display: flex; justify-content: space-around; gap: 30px; margin-top: 45px; color: #4a5b70; text-align: center; font-size: 10px; font-weight: 700; }
.business-print-disclaimer { margin-top: 45px; padding-top: 10px; border-top: 1px dashed #cbd4df; color: #8b5a25; font-size: 9px; line-height: 1.5; }
@media (max-width: 900px) {
  .business-workflow { grid-template-columns: 1fr; }
  .business-workflow > aside { order: -1; }
  .business-workflow > aside .panel-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .business-workflow > aside .workflow-note { margin-top: 0; }
  .business-workflow > aside .workflow-checklist { margin-top: 0; padding-top: 0; border-top: 0; }
}
@media (max-width: 600px) {
  .workflow-launch { align-items: flex-start; flex-direction: column; }
  .business-workflow > aside .panel-body { grid-template-columns: 1fr; }
  .business-steps .workflow-step { font-size: 8px; }
  .business-tabs { display: none; }
  .business-actions .button { flex: 1 1 42%; }
}

:root {
  --navy: #123f67;
  --navy-dark: #102f4c;
  --blue: #1769aa;
  --blue-soft: #e8f2fb;
  --teal: #167c72;
  --ink: #172b3f;
  --muted: #596c7f;
  --line: #d9e2eb;
  --canvas: #f2f5f8;
}

body { color: #172b3f; font-size: 15px; line-height: 1.5; }
.sidebar { width: 276px; padding: 22px 15px 16px; }
.main-shell { margin-left: 276px; }
.brand { margin-bottom: 25px; }
.brand-copy small { font-size: 10px; }
.workspace-label, .nav-heading { font-size: 11px; letter-spacing: .75px; }
.office-switch { padding: 11px 10px; }
.office-copy strong { font-size: 13px; }
.office-copy small, .sync-state small { font-size: 11px; }
.nav-groups { margin-top: 21px; }
.nav-group { margin-bottom: 17px; }
.nav-heading { padding-bottom: 8px; }
.nav-item { min-height: 41px; gap: 10px; padding: 9px 10px; font-size: 13px; }
.nav-item.nav-subitem { min-height: 36px; padding: 7px 9px 7px 36px; font-size: 12px; }
.nav-item.nav-subitem .nav-icon { font-size: 14px; }
.nav-icon { width: 20px; font-size: 18px; }
.nav-count { font-size: 11px; }
.sidebar-bottom .nav-item { min-height: 39px; font-size: 12px; }
.topbar { min-height: 72px; padding-right: 36px; padding-left: 36px; }
.breadcrumbs { gap: 12px; font-size: 13px; }
.breadcrumbs strong { font-size: 14px; }
.topbar-actions { gap: 22px; }
.global-search { height: 42px; width: min(390px, 32vw); padding: 0 12px; }
.global-search input { font-size: 13px; }
kbd { font-size: 11px; }
.avatar { width: 38px; height: 38px; font-size: 12px; }
.user-copy strong { font-size: 12px; }
.user-copy small { font-size: 11px; }
.page-content { max-width: 1760px; padding: 34px 36px 40px; }
.app-footer { padding: 14px 36px 17px; color: #596c7f; font-size: 11px; }
.page-heading { align-items: center; gap: 22px; margin-bottom: 25px; }
.page-heading h1 { font-size: 29px; line-height: 1.2; letter-spacing: -.5px; }
.page-heading p { max-width: 760px; margin-top: 8px; color: #596c7f; font-size: 14px; line-height: 1.55; }
.eyebrow { color: #416783; font-size: 11px; letter-spacing: .8px; }
.heading-actions { flex-wrap: wrap; justify-content: flex-end; }
.button { min-height: 42px; padding: 0 15px; border-radius: 7px; font-size: 13px; }
.button.small { min-height: 35px; padding: 0 11px; font-size: 12px; }
.icon-inline { font-size: 16px; }
.panel { border-color: #dce4ec; border-radius: 11px; box-shadow: 0 2px 7px #18365308; }
.panel-heading { gap: 16px; padding: 19px 21px; }
.panel-heading h2, .panel-heading h3 { color: #203b55; font-size: 16px; line-height: 1.4; }
.panel-heading p { margin-top: 5px; color: #607387; font-size: 12px; line-height: 1.45; }
.panel-link { font-size: 12px; }
.panel-body { padding: 20px 21px; }
.dashboard-grid { gap: 16px; margin-bottom: 19px; }
.metric-card { min-height: 132px; padding: 20px; }
.metric-label { color: #53687c; font-size: 13px; }
.metric-icon { width: 36px; height: 36px; font-size: 18px; }
.metric-value { margin-top: 9px; font-size: 32px; }
.metric-foot { margin-top: 5px; color: #53687c; font-size: 12px; }
.dashboard-main-grid, .dashboard-bottom-grid { gap: 17px; }
.dashboard-grid > *, .dashboard-main-grid > *, .dashboard-bottom-grid > * { min-width: 0; }
.dashboard-bottom-grid > .panel, .dashboard-main-grid > .panel { min-width: 0; max-width: 100%; overflow: hidden; }
.table-wrap { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; }
.stage-list { gap: 18px; }
.stage-topline { margin-bottom: 8px; color: #40576b; font-size: 13px; }
.stage-topline strong { color: #263d52; }
.progress-track { height: 8px; }
.workflow-note { gap: 11px; margin-top: 17px; padding: 13px; color: #405970; font-size: 12px; line-height: 1.55; }
.workflow-note b { font-size: 15px; }
.quick-grid { gap: 10px; }
.quick-action { min-height: 62px; gap: 11px; padding: 11px; }
.quick-action-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 17px; }
.quick-action span:last-child { color: #344c63; font-size: 12px; line-height: 1.45; }
.activity-item { gap: 11px; padding: 13px 0; }
.activity-copy strong { color: #344c63; font-size: 13px; }
.activity-copy span, .activity-time { color: #607387; font-size: 11px; }
.filters-panel { margin-bottom: 15px; padding: 15px 17px; }
.filters-row { gap: 11px; }
.filter-search { min-height: 42px; padding: 0 12px; border-color: #cbd7e2; border-radius: 7px; }
.filter-search span { font-size: 19px; }
.filter-search input { font-size: 13px; }
.filters-row select, .select-control { height: 42px; padding-left: 12px; border-color: #cbd7e2; border-radius: 7px; color: #344c63; font-size: 13px; }
.filter-summary { color: #53687c; font-size: 12px; }
.data-table { min-width: 760px; }
.data-table th { padding: 13px 15px; border-bottom-color: #dce4ec; background: #f6f8fa; color: #455d72; font-size: 11px; letter-spacing: .35px; }
.data-table td { padding: 14px 15px; border-bottom-color: #e8edf2; color: #344b60; font-size: 13px; line-height: 1.45; }
.primary-cell { gap: 4px; min-width: 130px; }
.primary-cell strong { color: #194f78; font-size: 13px; }
.primary-cell small, .muted-cell { color: #617589; font-size: 11px; }
.table-actions { gap: 5px; }
.table-action { width: 32px; height: 32px; border-radius: 6px; font-size: 16px; }
.status { gap: 6px; padding: 5px 9px; border-radius: 14px; font-size: 11px; }
.status::before { width: 6px; height: 6px; }
.table-footer { padding: 13px 16px; color: #596e82; font-size: 11px; }
.empty-state { padding: 40px 18px; color: #596e82; font-size: 13px; }
.empty-state strong { color: #263e54; }
.list-toolbar { gap: 14px; margin-bottom: 15px; }
.list-toolbar-title { color: #596e82; font-size: 13px; }
.list-toolbar-title strong { color: #263e54; }
.map-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 17px; }
.map-toolbar { padding: 14px 17px; }
.map-tool { min-width: 36px; height: 36px; padding: 0 10px; font-size: 12px; }
.map-canvas, .map-canvas svg { min-height: 500px; }
.map-caption { font-size: 11px; }
.map-side-card { padding: 20px; }
.parcel-number { margin: 9px 0 16px; }
.parcel-number strong { font-size: 22px; }
.parcel-number span { color: #607387; font-size: 12px; }
.property-row { gap: 14px; padding: 11px 0; font-size: 12px; line-height: 1.45; }
.property-row dt { color: #5c7185; }
.property-row dd { color: #293f54; }
.map-legend { gap: 14px; padding: 13px 17px; color: #53687c; font-size: 11px; }
.report-grid { gap: 16px; }
.report-card { min-height: 190px; padding: 20px; }
.report-icon { width: 42px; height: 42px; font-size: 19px; }
.report-card h3 { margin: 14px 0 7px; color: #2c435a; font-size: 14px; }
.report-card p { margin-bottom: 14px; color: #596e82; font-size: 12px; line-height: 1.55; }
.import-layout { gap: 17px; }
.upload-zone { min-height: 250px; padding: 24px; }
.upload-zone strong { color: #2e465d; font-size: 14px; }
.upload-zone p { color: #596e82; font-size: 12px; }
.upload-zone input[type="file"] { max-width: 270px; font-size: 12px; }
.check-list { gap: 13px; }
.check-list li { gap: 10px; color: #435b70; font-size: 12px; line-height: 1.55; }
.workflow-steps { margin: 7px 0 22px; }
.workflow-step { gap: 8px; color: #53697e; font-size: 11px; line-height: 1.35; }
.workflow-step:not(:last-child)::after { top: 15px; }
.step-circle { width: 32px; height: 32px; font-size: 13px; }
.module-tabs { gap: 6px; margin-bottom: 15px; padding: 6px; border-radius: 8px; }
.module-tab { min-height: 36px; padding: 0 13px; color: #4a6278; font-size: 12px; }
.stage-filter-list { gap: 9px; margin-bottom: 15px; }
.stage-filter { min-width: 140px; gap: 12px; padding: 11px 13px; color: #4d6378; font-size: 12px; }
.stage-filter strong { width: 25px; height: 25px; }
.advanced-search-fields { gap: 12px; margin-top: 19px; padding-top: 16px; }
.import-file-preview { gap: 14px; margin-top: 15px; padding: 13px; }
.import-file-preview strong, .import-file-preview > span { font-size: 12px; }
.import-error-list { font-size: 12px; }
.form-hint { color: #5e7387; font-size: 11px; }
.workflow-role, .workflow-days { min-height: 38px; font-size: 12px; }
.workflow-days { width: 86px; }
.registration-panel .panel-body { padding: 21px 23px; }
.registration-form-grid { gap: 23px; }
.section-title-row h3 { font-size: 16px; }
.section-title-row p { color: #5d7287; font-size: 12px; }
.registration-section-content { padding: 18px; }
.registration-summary { padding: 17px; }
.registration-summary .property-row dd { max-width: 180px; }
.registration-footer { gap: 14px; padding: 16px 21px; }
.registration-footer > span { color: #596e82; font-size: 11px; }
.public-search-panel { margin-bottom: 18px; padding: 40px 24px; }
.public-search-icon { width: 50px; height: 50px; font-size: 26px; }
.public-search-panel h2 { font-size: 20px; }
.public-search-panel > p { margin-bottom: 19px; color: #596e82; font-size: 13px; }
.public-search-row { width: min(650px, 100%); gap: 10px; }
.public-search-row input { height: 44px; padding: 0 13px; font-size: 13px; }
.public-search-hint { margin-top: 14px; color: #5e7387; font-size: 11px; }
.record-dialog { width: min(780px, calc(100% - 32px)); max-width: 780px; border-radius: 13px; }
.dialog-header { padding: 21px 24px 17px; }
.dialog-header h2 { font-size: 20px; }
.dialog-body { padding: 21px 24px; }
.dialog-footer { gap: 10px; padding: 16px 24px; }
.form-grid { gap: 18px 17px; }
.form-field { gap: 7px; }
.form-field label { color: #354d63; font-size: 12px; }
.form-field input, .form-field select, .form-field textarea { min-height: 43px; padding: 9px 12px; border-color: #cbd7e2; border-radius: 7px; color: #21394f; font-size: 13px; }
.form-field textarea { min-height: 96px; }
.detail-banner { margin-bottom: 17px; padding: 15px; }
.detail-banner strong { font-size: 14px; }
.detail-banner p { color: #596e82; font-size: 12px; }
.audit-list { gap: 9px; margin-top: 17px; }
.audit-entry { gap: 11px; padding: 11px 0; }
.audit-entry strong { color: #344b60; font-size: 12px; }
.audit-entry span { color: #5e7387; font-size: 11px; }
.toast-region { right: 24px; bottom: 24px; gap: 10px; }
.toast { min-width: 300px; padding: 14px 16px; font-size: 13px; }
.toast-mark { width: 22px; height: 22px; flex-basis: 22px; }
.workflow-launch { gap: 20px; margin-bottom: 18px; padding: 19px 21px; }
.workflow-launch strong { margin-top: 6px; color: #203b55; font-size: 15px; }
.workflow-launch p { margin-top: 6px; color: #596e82; font-size: 12px; line-height: 1.5; }
.business-workflow { grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; }
.business-main .panel-body { padding: 17px 21px 21px; }
.business-steps { margin-bottom: 19px; }
.business-steps .workflow-step { padding: 0; border: 0; background: transparent; cursor: pointer; }
.business-steps .workflow-step:hover { color: #285d83; }
.business-steps .workflow-step:focus-visible { outline: 2px solid #78a8c9; outline-offset: 3px; border-radius: 6px; }
.business-tabs { margin-bottom: 20px; }
.business-actions { gap: 10px; margin-top: 22px; padding-top: 17px; }
.business-main .form-grid { min-height: 190px; }
.workflow-checklist { gap: 10px; margin-top: 20px; padding-top: 16px; }
.workflow-checklist > strong { font-size: 12px; }
.checklist-row { gap: 9px; color: #4b6278; font-size: 12px; }
.checklist-row span { width: 23px; height: 23px; flex-basis: 23px; font-size: 11px; }
.business-print-toolbar { padding: 14px 18px; }
.business-print-sheet { max-width: 820px; padding: 42px 54px; }
.business-print-agency { font-size: 12px; }
.business-print-sheet h2 { font-size: 21px; }
.business-print-reference { font-size: 12px; }
.business-print-row { gap: 18px; padding: 12px 0; font-size: 13px; }
.business-print-signatures { font-size: 12px; }
.business-print-disclaimer { font-size: 11px; }

@media (max-width: 1150px) {
  .sidebar { width: 246px; }
  .main-shell { margin-left: 246px; }
  .topbar, .page-content { padding-right: 24px; padding-left: 24px; }
  .map-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .business-workflow { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 850px) {
  .sidebar { width: 276px; }
  .main-shell { margin-left: 0; }
  .topbar, .page-content { padding-right: 20px; padding-left: 20px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .heading-actions { width: 100%; justify-content: flex-start; }
  .map-layout, .business-workflow { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  body { overflow-x: hidden; }
  .topbar { min-height: 62px; gap: 8px; padding: 0 14px; }
  .topbar-context { min-width: 0; flex: 1 1 auto; }
  .breadcrumbs { min-width: 0; flex: 1 1 auto; gap: 0; overflow: hidden; }
  .breadcrumbs > span { display: none; }
  .breadcrumbs strong { display: block; min-width: 0; max-width: 100%; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-actions { flex: 0 0 auto; gap: 8px; }
  .page-content { padding: 23px 14px 28px; }
  .page-heading { gap: 13px; margin-bottom: 18px; }
  .page-heading h1 { font-size: 24px; }
  .page-heading p { font-size: 13px; }
  .heading-actions { gap: 7px; flex-wrap: wrap; }
  .button { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .dashboard-grid { gap: 10px; }
  .metric-card { min-height: 118px; padding: 14px; }
  .metric-label { font-size: 12px; }
  .metric-value { font-size: 28px; }
  .metric-foot { font-size: 11px; }
  .panel-heading { padding: 15px; }
  .panel-body { padding: 16px 15px; }
  .filters-row { align-items: stretch; flex-wrap: wrap; }
  .filter-search { flex-basis: 100%; }
  .filters-row select { min-width: 0; flex: 1; }
  .filter-summary { margin-left: 0; align-self: center; }
  .map-layout, .import-layout { grid-template-columns: 1fr; }
  .map-canvas, .map-canvas svg { min-height: 340px; }
  .registration-form-grid { grid-template-columns: 1fr; }
  .registration-footer { flex-wrap: wrap; padding: 13px 14px; }
  .registration-footer > span { order: 2; width: 100%; text-align: center; }
  .public-search-row { flex-direction: column; }
  .advanced-search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-filter { min-width: 130px; }
  .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-card { min-height: 175px; padding: 14px; }
  .report-card h3 { font-size: 13px; }
  .report-card p { font-size: 11px; }
  .app-footer { flex-direction: column; padding: 12px 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .record-dialog, .record-dialog form { max-height: 92vh; }
  .workflow-step { font-size: 10px; }
  .step-circle { width: 28px; height: 28px; }
  .business-workflow > aside { order: 0; }
  .business-workflow > aside .panel-body { grid-template-columns: 1fr; }
  .business-steps .workflow-step { font-size: 10px; }
  .business-tabs { display: none; }
  .business-actions .button { flex: 1 1 45%; }
  .business-print-sheet { min-height: auto; margin: 12px; padding: 25px 20px; }
  .business-print-row { grid-template-columns: 1fr; gap: 4px; }
  .business-print-signatures { gap: 15px; font-size: 10px; }
}

.nav-groups { margin-top: 16px; }
.nav-group { margin: 0 0 7px; }
.nav-group .nav-heading { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 45px; padding: 8px 11px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #c8d6e5; text-align: left; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.nav-group .nav-heading:hover { border-color: #31516f; background: #193d5e; color: #fff; }
.nav-group.active-group .nav-heading { color: #f1f7fc; }
.nav-group .nav-heading[aria-expanded="true"] { border-color: #31516f; background: #1b3d5d; color: #fff; }
.nav-group-icon { display: grid; width: 20px; flex: 0 0 20px; place-items: center; color: #a9c1d9; font-size: 17px; }
.nav-group-chevron { margin-left: auto; color: #9fb3c6; font-size: 17px; line-height: 1; transition: transform .15s; }
.nav-heading[aria-expanded="true"] .nav-group-chevron { transform: rotate(180deg); }
.nav-group-items:not([hidden]) { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 4px 11px; padding: 4px 0 4px 9px; border-left: 1px solid #3a5771; }
.nav-group-items .nav-item { min-height: 40px; padding-top: 7px; padding-bottom: 7px; font-size: 13px; }
.nav-group-items .nav-item.nav-subitem { min-height: 36px; padding-left: 33px; font-size: 12px; }
.nav-overview { margin-bottom: 10px; }
.nav-overview .nav-item { min-height: 45px; font-size: 14px; }
