:root {
    --municipal-navy: #002245;
    --navy: #0a4351;
    --navy-deep: #002b3d;
    --teal: #0f6a7a;
    --teal-bright: #15869a;
    --mint: #e9f5f4;
    --blue: #2563eb;
    --green: #24865a;
    --amber: #bd7418;
    --red: #c24145;
    --slate-950: #17212b;
    --slate-800: #2c3a46;
    --slate-700: #425260;
    --slate-600: #5c6b77;
    --slate-500: #74838f;
    --slate-400: #9aa6af;
    --slate-300: #cbd3d9;
    --slate-200: #e2e7eb;
    --slate-100: #f0f3f5;
    --slate-50: #f7f9fa;
    --white: #fff;
    --shadow-sm: 0 1px 2px rgba(16, 36, 45, .05);
    --shadow: 0 10px 30px rgba(16, 36, 45, .07);
    --radius: 14px;
    --radius-sm: 9px;
    --sidebar-width: 264px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--slate-50);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--slate-950);
    background: var(--slate-50);
    font-family: "Segoe UI", "Noto Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

.ui-icon {
    display: block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 8px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

h2 {
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -.015em;
}

h3 {
    margin-bottom: 6px;
}

.app-shell {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    z-index: 50;
    inset: 0 auto 0 0;
    display: flex;
    overflow: hidden;
    width: var(--sidebar-width);
    height: 100vh;
    height: 100dvh;
    padding: 28px 18px 20px;
    flex-direction: column;
    color: #d8e5e8;
    background:
        radial-gradient(circle at 15% 10%, rgba(38, 139, 155, .22), transparent 30%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.brand,
.login-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.sidebar .brand {
    margin: 0 9px 34px;
    flex: 0 0 auto;
}

.brand-mark {
    display: inline-flex;
    width: 46px;
    height: 50px;
    padding: 6px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 5px 16px rgba(0, 22, 42, .18), inset 0 0 0 1px rgba(0, 34, 69, .08);
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand > span:last-child,
.login-brand > span:last-child,
.login-mobile-brand > span:last-child,
.install-lockup > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.brand strong,
.login-brand strong,
.install-lockup strong {
    color: var(--white);
    font-size: 20px;
    letter-spacing: .08em;
}

.brand small,
.login-brand small,
.install-lockup small {
    margin-top: -2px;
    color: #a9c5ca;
    font-size: 12px;
    letter-spacing: .02em;
}

.main-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-nav-scroll {
    min-height: 0;
    padding-right: 5px;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(139, 216, 210, .42) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
}

.sidebar-nav-scroll::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(139, 216, 210, .34);
}

.main-nav a {
    position: relative;
    display: flex;
    min-height: 48px;
    padding: 0 13px;
    align-items: center;
    gap: 13px;
    border-radius: 10px;
    color: #bfd0d4;
    font-size: 15px;
    font-weight: 600;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.main-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .07);
}

.main-nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 3px 0 0 #7bd0cd;
}

.nav-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    color: #9bcdd0;
    border: 1px solid rgba(166, 220, 221, .14);
    border-radius: 9px;
    background: rgba(255, 255, 255, .045);
    transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.nav-icon .ui-icon {
    width: 19px;
    height: 19px;
}

.main-nav a:hover .nav-icon,
.main-nav a.active .nav-icon {
    color: #b8efec;
    border-color: rgba(139, 216, 210, .35);
    background: rgba(123, 208, 205, .12);
}

.nav-count {
    min-width: 23px;
    margin-left: auto;
    padding: 2px 6px;
    color: var(--navy-deep);
    border-radius: 20px;
    background: #8bd8d2;
    font-size: 11px;
    text-align: center;
}

.nav-section-label {
    margin: 28px 13px 9px;
    color: #718f96;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.sidebar-profile {
    display: flex;
    min-width: 0;
    margin-top: 16px;
    padding: 17px 7px 0;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    border-top: 1px solid rgba(255, 255, 255, .11);
}

.profile-link {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 10px;
}

.profile-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.profile-copy strong {
    overflow: hidden;
    color: #eef7f8;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-copy small {
    overflow: hidden;
    color: #8eacb2;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avatar {
    display: inline-flex;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;
    color: #0d5c6b;
    border-radius: 50%;
    background: #d8efee;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .02em;
}

.avatar.small {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
    font-size: 11px;
}

.avatar.huge {
    width: 92px;
    height: 92px;
    flex-basis: 92px;
    font-size: 27px;
}

.icon-button {
    display: inline-flex;
    width: 38px;
    height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: inherit;
    border: 0;
    border-radius: 9px;
    background: transparent;
}

.icon-button:hover {
    background: rgba(255, 255, 255, .09);
}

.icon-button .ui-icon,
.menu-button .ui-icon {
    width: 21px;
    height: 21px;
}

.logout-button {
    color: #89a9af;
    font-size: 20px;
}

.main-column {
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}

.topbar {
    position: sticky;
    z-index: 40;
    top: 0;
    display: flex;
    height: 76px;
    padding: 0 34px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--slate-200);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
}

.topbar-title {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.topbar-title .eyebrow {
    margin: 0;
    font-size: 9px;
}

.topbar-title strong {
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-button {
    position: relative;
    display: inline-flex;
    width: auto;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--slate-500);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    background: var(--white);
    font-size: 15px;
    font-weight: 700;
    transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.notification-button:hover {
    color: var(--teal);
    border-color: rgba(21, 134, 154, .35);
    background: #f9fcfc;
}

.notification-button .ui-icon {
    width: 20px;
    height: 20px;
}

.notification-label {
    line-height: 1;
    white-space: nowrap;
}

.notification-count {
    position: absolute;
    top: -6px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 20px;
    background: var(--red);
    font-size: 9px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.button-with-icon {
    gap: 7px;
}

.button-with-icon .ui-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    flex: 0 0 44px;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    background: var(--white);
    font-size: 20px;
}

.main-nav a:focus-visible,
.notification-button:focus-visible,
.icon-button:focus-visible,
.menu-button:focus-visible {
    outline: 3px solid rgba(123, 208, 205, .45);
    outline-offset: 2px;
}

.content {
    width: min(1500px, 100%);
    margin: 0 auto;
    padding: 38px 40px 60px;
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}

.page-heading,
.detail-heading {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.page-heading > div:first-child,
.detail-heading > div:first-child {
    max-width: 820px;
}

.page-heading p,
.detail-heading > div > p {
    margin-bottom: 0;
    color: var(--slate-600);
}

.dashboard-heading {
    align-items: center;
}

.dashboard-heading h1 {
    font-size: 32px;
}

.button {
    display: inline-flex;
    min-height: 44px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: var(--white);
    background: var(--teal);
    box-shadow: 0 4px 12px rgba(15, 106, 122, .19);
}

.button.primary:hover {
    background: #0c5b69;
}

.button.secondary {
    color: var(--slate-800);
    border-color: var(--slate-300);
    background: var(--white);
}

.button.secondary:hover,
.button.ghost:hover {
    border-color: #a9b6bd;
    background: var(--slate-50);
}

.button.ghost {
    color: var(--slate-600);
    border-color: var(--slate-200);
    background: transparent;
}

.button.compact {
    min-height: 40px;
    padding: 0 15px;
    font-size: 14px;
}

.button.large {
    min-height: 50px;
}

.button.full {
    width: 100%;
}

.button-row {
    display: flex;
    margin-top: 18px;
    justify-content: center;
    gap: 10px;
}

.text-link {
    color: var(--teal);
    font-size: 14px;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

.text-button {
    padding: 0;
    color: var(--slate-600);
    border: 0;
    background: transparent;
    font-size: 14px;
}

.panel,
.table-card {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.panel {
    padding: 24px;
}

.panel-header {
    display: flex;
    margin-bottom: 21px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.panel-header h2 {
    margin: 0;
}

.panel-header p {
    margin: 3px 0 0;
    color: var(--slate-500);
    font-size: 13px;
}

.metric-grid {
    display: grid;
    margin-bottom: 25px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.metric-card {
    position: relative;
    overflow: hidden;
    min-height: 152px;
    padding: 21px 22px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.metric-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--accent, var(--teal));
    content: "";
}

.metric-card::after {
    position: absolute;
    top: -35px;
    right: -35px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent, var(--teal)) 8%, transparent);
    content: "";
}

.accent-teal { --accent: var(--teal); }
.accent-green { --accent: var(--green); }
.accent-blue { --accent: var(--blue); }
.accent-red { --accent: var(--red); }
.accent-slate { --accent: var(--slate-500); }

.metric-head {
    display: flex;
    margin-bottom: 14px;
    align-items: center;
    justify-content: space-between;
    color: var(--slate-600);
    font-size: 13px;
    font-weight: 700;
}

.metric-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    border-radius: 9px;
    background: color-mix(in srgb, var(--accent) 10%, white);
    font-size: 18px;
}

.metric-icon .ui-icon {
    width: 18px;
    height: 18px;
}

.metric-card > strong {
    display: block;
    margin-bottom: 3px;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.03em;
}

.metric-card > small {
    color: var(--slate-500);
    font-size: 12px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr);
    gap: 20px;
}

.dashboard-main,
.dashboard-side {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 20px;
}

.task-list {
    margin: 0 -24px -24px;
}

.task-row {
    display: grid;
    min-height: 74px;
    padding: 13px 24px;
    align-items: center;
    grid-template-columns: 12px minmax(180px, 1fr) 125px 82px;
    gap: 13px;
    border-top: 1px solid var(--slate-100);
    transition: background .15s ease;
}

.task-row:hover {
    background: var(--slate-50);
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--slate-400);
}

.status-dot.blue { background: var(--blue); }
.status-dot.green { background: var(--green); }
.status-dot.amber { background: var(--amber); }
.status-dot.red { background: var(--red); }
.status-dot.slate { background: var(--slate-400); }

.task-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.task-main strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-main > span {
    display: flex;
    margin-top: 4px;
    align-items: center;
    color: var(--slate-500);
    font-size: 12px;
}

.ideal-mini {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--ideal-color, var(--slate-500));
}

.ideal-mini.other {
    background: var(--slate-400);
}

.task-progress,
.progress-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.task-progress > span,
.progress-cell > span {
    display: block;
    overflow: hidden;
    width: 74px;
    height: 5px;
    border-radius: 10px;
    background: var(--slate-100);
}

.task-progress i,
.progress-cell i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--teal-bright);
}

.task-progress small,
.progress-cell small {
    color: var(--slate-500);
    font-size: 10px;
}

.due-date {
    color: var(--slate-500);
    font-size: 12px;
    text-align: right;
}

.overdue {
    color: var(--red) !important;
}

.badge {
    display: inline-flex;
    width: fit-content;
    min-height: 26px;
    padding: 3px 9px;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

.badge.blue {
    color: #1c56b4;
    background: #e8f0ff;
}

.badge.green {
    color: #22724e;
    background: #e4f4eb;
}

.badge.amber {
    color: #965b12;
    background: #fff1dc;
}

.badge.red {
    color: #a9343a;
    background: #fde9ea;
}

.badge.slate {
    color: #56646f;
    background: #edf0f2;
}

.badge.purple {
    color: #7e22ce;
    background: #f3e8ff;
}

.muted {
    color: var(--slate-500);
}

.small {
    font-size: 12px;
}

.ideal-list {
    margin: 0 -24px 18px;
}

.ideal-stat {
    display: flex;
    padding: 17px 24px;
    gap: 13px;
    border-top: 1px solid var(--slate-100);
}

.ideal-stat:hover {
    background: var(--slate-50);
}

.ideal-number {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    color: var(--ideal-color);
    border: 1px solid color-mix(in srgb, var(--ideal-color) 25%, white);
    border-radius: 10px;
    background: color-mix(in srgb, var(--ideal-color) 8%, white);
    font-size: 11px;
    font-weight: 800;
}

.ideal-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.ideal-copy strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ideal-copy > span {
    margin: 2px 0 8px;
    color: var(--slate-500);
    font-size: 11px;
}

.ideal-copy > i {
    overflow: hidden;
    height: 4px;
    border-radius: 5px;
    background: var(--slate-100);
}

.ideal-copy > i b {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.quick-report {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(135deg, #f0f8f7, #fff);
}

.quick-report h3 {
    font-size: 15px;
}

.quick-report p {
    margin-bottom: 10px;
    color: var(--slate-600);
    font-size: 12px;
}

.report-symbol {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    border-radius: 11px;
    background: #dcefee;
    font-size: 20px;
}

.report-symbol .ui-icon {
    width: 21px;
    height: 21px;
}

.empty-state {
    display: flex;
    padding: 30px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--slate-600);
    text-align: center;
}

.empty-state.large {
    min-height: 380px;
}

.empty-state.small {
    min-height: 170px;
}

.empty-state h1,
.empty-state h2,
.empty-state h3 {
    color: var(--slate-950);
}

.empty-state p {
    max-width: 520px;
    margin-bottom: 0;
}

.empty-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    border-radius: 50%;
    background: var(--mint);
    font-size: 25px;
    font-weight: 800;
}

.empty-icon .ui-icon {
    width: 27px;
    height: 27px;
}

.filter-bar {
    display: flex;
    margin-bottom: 20px;
    padding: 14px;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    background: var(--white);
}

.filter-bar select {
    width: auto;
    min-width: 155px;
    flex: 1 1 155px;
}

.filter-bar select[name="ideal"] {
    min-width: 190px;
}

.search-field {
    position: relative;
    display: flex;
    min-width: 220px;
    flex: 2 1 280px;
    align-items: center;
}

.search-field > span {
    position: absolute;
    z-index: 1;
    left: 13px;
    color: var(--slate-400);
    font-size: 20px;
}

.search-field > span .ui-icon {
    width: 19px;
    height: 19px;
}

.search-field input {
    padding-left: 40px;
}

.filter-clear {
    padding: 8px;
    color: var(--slate-500);
    font-size: 13px;
}

.sr-only {
    position: absolute !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    white-space: nowrap !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
}

.task-list-tools,
.layout-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.layout-switch {
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    background: var(--white);
}

.layout-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 11px;
    color: var(--slate-600);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.layout-switch .ui-icon {
    width: 17px;
    height: 17px;
}

.layout-switch a.active {
    color: var(--teal);
    background: var(--mint);
}

.kanban-shell {
    min-width: 0;
}

.kanban-help {
    margin: 0 0 10px;
    color: var(--slate-500);
    font-size: 12px;
}

.kanban-scroll {
    overflow-x: auto;
    max-width: 100%;
    padding: 2px 2px 14px;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
}

.kanban-scroll:focus-visible {
    outline: 3px solid rgba(21, 134, 154, .2);
    outline-offset: 2px;
    border-radius: var(--radius);
}

.kanban-board {
    display: grid;
    width: max-content;
    min-width: 100%;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 12px;
}

.kanban-column {
    display: flex;
    min-width: 0;
    max-width: 310px;
    padding: 11px;
    flex-direction: column;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    background: var(--slate-50);
    scroll-snap-align: start;
}

.kanban-column > header {
    display: grid;
    min-height: 36px;
    padding: 2px 3px 9px;
    align-items: center;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 8px;
}

.kanban-column > header h2 {
    margin: 0;
    font-size: 13px;
}

.kanban-column > header b {
    min-width: 24px;
    padding: 3px 7px;
    color: var(--slate-600);
    border-radius: 999px;
    background: var(--slate-200);
    font-size: 11px;
    text-align: center;
}

.kanban-dropzone {
    display: flex;
    min-height: 170px;
    padding: 2px;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: border-color .15s ease, background .15s ease;
}

.kanban-dropzone.is-drop-target {
    border-color: var(--teal-bright);
    background: color-mix(in srgb, var(--mint) 72%, white);
}

.kanban-card {
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
    transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.kanban-card.is-draggable {
    cursor: grab;
}

.kanban-card.is-draggable:hover,
.kanban-card:focus-within {
    border-color: color-mix(in srgb, var(--teal) 42%, var(--slate-200));
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

.kanban-card.is-dragging {
    opacity: .45;
    cursor: grabbing;
}

.kanban-card-link {
    display: flex;
    padding: 13px;
    flex-direction: column;
    gap: 10px;
}

.kanban-card-link > strong {
    color: var(--slate-950);
    font-size: 14px;
    line-height: 1.35;
}

.kanban-card-purpose,
.kanban-card-date,
.kanban-card-person {
    color: var(--slate-500);
    font-size: 11px;
}

.kanban-card-purpose,
.kanban-card-person {
    display: flex;
    align-items: center;
}

.kanban-card-person {
    gap: 7px;
}

.kanban-card-date.overdue {
    color: var(--red);
    font-weight: 700;
}

.kanban-card-progress {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 8px;
}

.kanban-card-progress > i {
    overflow: hidden;
    height: 6px;
    border-radius: 99px;
    background: var(--slate-200);
}

.kanban-card-progress > i > b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--teal), var(--teal-bright));
}

.kanban-card-progress small {
    color: var(--slate-600);
    font-size: 11px;
    font-style: normal;
    text-align: right;
}

.kanban-card-action {
    display: grid;
    padding: 9px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    border-top: 1px solid var(--slate-100);
    background: var(--slate-50);
}

.kanban-card-action select {
    min-width: 0;
    min-height: 44px;
    padding: 6px 8px;
    font-size: 11px;
}

.kanban-card-action .button {
    min-height: 44px;
    padding: 6px 9px;
}

.kanban-empty {
    margin: 28px 8px;
    color: var(--slate-400);
    font-size: 12px;
    text-align: center;
}

.kanban-live.is-visible {
    display: block;
    margin: 10px 0 0;
    padding: 10px 12px;
    color: var(--teal);
    border-radius: 9px;
    background: var(--mint);
    font-size: 13px;
    font-weight: 700;
}

.kanban-live.is-visible.danger {
    color: var(--red);
    background: color-mix(in srgb, var(--red) 9%, white);
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    color: var(--slate-950);
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-sm);
    outline: none;
    background: var(--white);
    transition: border .15s ease, box-shadow .15s ease;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--teal-bright);
    box-shadow: 0 0 0 3px rgba(21, 134, 154, .12);
}

input::placeholder,
textarea::placeholder {
    color: var(--slate-400);
}

.list-summary {
    display: flex;
    margin: 0 2px 13px;
    align-items: center;
    justify-content: space-between;
}

.list-summary > strong {
    color: var(--slate-600);
    font-size: 13px;
}

.view-tabs {
    display: flex;
    gap: 6px;
}

.view-tabs a {
    padding: 7px 11px;
    color: var(--slate-500);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.view-tabs a.active {
    color: var(--teal);
    background: var(--mint);
}

.table-card {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
}

.data-table {
    min-width: 760px;
}

.table-row {
    display: grid;
    min-height: 76px;
    padding: 12px 20px;
    align-items: center;
    gap: 18px;
    border-top: 1px solid var(--slate-100);
}

.table-row:first-child {
    border-top: 0;
}

a.table-row {
    transition: background .15s ease;
}

a.table-row:hover {
    background: var(--slate-50);
}

.table-head {
    min-height: 44px;
    color: var(--slate-500);
    background: #fafbfc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
}

.task-table .table-row {
    grid-template-columns: minmax(260px, 1.6fr) 112px minmax(170px, .9fr) 125px 85px 20px;
}

.task-cell {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.task-cell > strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-cell > small {
    display: flex;
    margin-top: 5px;
    align-items: center;
    color: var(--slate-500);
    font-size: 11px;
}

.person-cell {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.person-cell > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.person-cell strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.person-cell small {
    overflow: hidden;
    color: var(--slate-500);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.date-cell {
    display: flex;
    flex-direction: column;
    color: var(--slate-700);
    font-size: 12px;
}

.date-cell small {
    font-size: 9px;
    font-weight: 700;
}

.row-arrow {
    color: var(--slate-400);
    font-size: 18px;
}

.pagination {
    display: flex;
    margin-top: 20px;
    justify-content: center;
    gap: 6px;
}

.pagination a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    background: var(--white);
    font-size: 13px;
}

.pagination a.active {
    color: var(--white);
    border-color: var(--teal);
    background: var(--teal);
}

.back-link {
    display: inline-flex;
    margin-bottom: 15px;
    color: var(--slate-500);
    font-size: 13px;
    font-weight: 600;
}

.back-link:hover {
    color: var(--teal);
}

.task-form-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1.7fr) minmax(310px, .68fr);
    gap: 22px;
}

.form-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 20px;
}

.form-panel {
    padding: 27px;
}

.form-panel-head {
    display: flex;
    margin-bottom: 24px;
    align-items: flex-start;
    gap: 13px;
}

.form-panel-head.compact {
    margin-bottom: 20px;
}

.form-panel-head h2 {
    margin: 0;
}

.form-panel-head p {
    margin: 4px 0 0;
    color: var(--slate-500);
    font-size: 13px;
}

.step-number {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    border-radius: 9px;
    background: var(--mint);
    font-size: 13px;
    font-weight: 800;
}

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.stack-form label,
.purpose-panel label,
.quick-update-form label,
.report-period label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: var(--slate-700);
    font-size: 13px;
    font-weight: 700;
}

.stack-form label > span b,
.field-label b {
    color: var(--red);
}

.stack-form label small,
.field-label small {
    color: var(--slate-400);
    font-weight: 500;
}

.field-help {
    color: var(--slate-500) !important;
    font-size: 11px;
    font-weight: 400 !important;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-grid.compact {
    gap: 10px;
}

.form-section-title {
    margin-top: 5px;
    padding-top: 16px;
    color: var(--slate-950);
    border-top: 1px solid var(--slate-200);
    font-size: 13px;
    font-weight: 800;
}

.purpose-switch {
    display: grid;
    margin-bottom: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.choice-card {
    position: relative;
    display: flex;
    min-height: 98px;
    padding: 17px;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--slate-200);
    border-radius: 11px;
    cursor: pointer;
    transition: border .15s ease, background .15s ease, box-shadow .15s ease;
}

.choice-card:has(input:checked) {
    border-color: var(--teal-bright);
    background: #f2fbfa;
    box-shadow: 0 0 0 2px rgba(21, 134, 154, .08);
}

.choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.choice-mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    border-radius: 9px;
    background: var(--mint);
    font-size: 19px;
}

.choice-mark .ui-icon {
    width: 19px;
    height: 19px;
}

.choice-card > span:nth-child(3) {
    display: flex;
    flex-direction: column;
}

.choice-card strong {
    color: var(--slate-950);
    font-size: 14px;
}

.choice-card small {
    margin-top: 4px;
    color: var(--slate-500);
    font-size: 11px;
}

.field-label {
    margin-bottom: 10px;
    color: var(--slate-700);
    font-size: 13px;
    font-weight: 700;
}

.ideal-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ideal-choice {
    position: relative;
    display: flex;
    min-height: 105px;
    padding: 15px;
    align-items: flex-start;
    gap: 11px;
    border: 1px solid var(--slate-200);
    border-radius: 11px;
    cursor: pointer;
}

.ideal-choice:has(input:checked) {
    border-color: var(--ideal-color);
    background: color-mix(in srgb, var(--ideal-color) 5%, white);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--ideal-color) 12%, transparent);
}

.ideal-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ideal-choice-number {
    display: inline-flex;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    color: var(--ideal-color);
    border-radius: 8px;
    background: color-mix(in srgb, var(--ideal-color) 10%, white);
    font-size: 10px;
    font-weight: 800;
}

.ideal-choice > span:nth-child(3) {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ideal-choice strong {
    font-size: 13px;
}

.ideal-choice small {
    margin-top: 4px;
    color: var(--slate-500);
    font-size: 10px;
    line-height: 1.4;
}

.ideal-choice > i {
    position: absolute;
    right: 10px;
    bottom: 9px;
    display: none;
    color: var(--ideal-color);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.ideal-choice > i .ui-icon {
    width: 18px;
    height: 18px;
}

.ideal-choice:has(input:checked) > i {
    display: block;
}

.purpose-panel[hidden] {
    display: none;
}

.sticky-panel {
    position: sticky;
    top: 96px;
}

.range-input {
    height: 25px;
    min-height: 25px;
    padding: 0;
    border: 0;
    box-shadow: none !important;
    accent-color: var(--teal);
}

.form-actions.vertical {
    display: flex;
    margin-top: 8px;
    flex-direction: column;
    gap: 8px;
}

.alert {
    display: flex;
    margin-bottom: 20px;
    padding: 14px 16px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;
}

.alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.alert button {
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1;
}

.alert.success {
    color: #1d6b49;
    border-color: #bfe1ce;
    background: #ecf8f1;
}

.alert.danger {
    color: #9d3137;
    border-color: #efc4c6;
    background: #fff0f0;
}

.detail-heading {
    align-items: flex-start;
}

.detail-heading h1 {
    margin-top: 12px;
}

.detail-heading > div > p {
    white-space: normal;
}

.detail-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.work-number {
    color: var(--slate-400);
    font-size: 11px;
    font-weight: 800;
}

.detail-grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .65fr);
    gap: 20px;
}

.detail-main,
.detail-side {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 20px;
}

.progress-percent {
    color: var(--teal);
    font-size: 28px;
}

.progress-large {
    overflow: hidden;
    height: 9px;
    margin: 7px 0 24px;
    border-radius: 20px;
    background: var(--slate-100);
}

.progress-large i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--teal), #25a7a0);
}

.quick-update-form {
    display: grid;
    align-items: end;
    grid-template-columns: 170px minmax(200px, 1fr) auto;
    gap: 15px;
}

.approval-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--slate-200);
}

.revision-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: end;
    gap: 12px;
    margin-top: 12px;
}

.revision-form textarea {
    min-height: 70px;
}

.subtask-list {
    display: grid;
    gap: 10px;
}

.subtask-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--white);
}

.subtask-item strong {
    display: block;
    color: var(--slate-900);
}

.subtask-item small {
    display: block;
    margin-top: 4px;
    color: var(--slate-500);
}

.subtask-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 190px 160px auto;
    align-items: end;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--slate-200);
}

.subtask-actions {
    display: grid;
    min-width: 260px;
    gap: 8px;
}

.subtask-status-form {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) auto;
    gap: 7px;
}

.subtask-status-form select {
    min-height: 44px;
    padding: 7px 9px;
    font-size: 12px;
}

.subtask-status-form .button {
    min-height: 44px;
}

.subtask-cancel {
    color: var(--slate-500);
    font-size: 12px;
}

.subtask-cancel summary {
    display: flex;
    width: fit-content;
    min-height: 44px;
    margin-left: auto;
    align-items: center;
    cursor: pointer;
}

.subtask-cancel form {
    display: grid;
    margin-top: 8px;
    gap: 8px;
}

.subtask-cancel textarea {
    min-height: 64px;
}

.attachment-upload-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    padding: 16px;
    border: 1px dashed var(--slate-300);
    border-radius: 12px;
    background: var(--slate-50);
}

.attachment-upload-form label,
.comment-attachment-field {
    display: grid;
    gap: 6px;
}

.attachment-upload-form small,
.comment-attachment-field > span {
    color: var(--slate-500);
    font-size: 11px;
}

.attachment-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.attachment-item {
    display: flex;
    min-width: 0;
    padding: 12px;
    align-items: center;
    gap: 10px;
    color: var(--slate-800);
    border: 1px solid var(--slate-200);
    border-radius: 11px;
    background: var(--white);
}

.attachment-item:hover {
    border-color: var(--teal-bright);
    background: var(--mint);
}

.attachment-item > span:last-child {
    min-width: 0;
}

.attachment-item strong,
.attachment-item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attachment-item small {
    margin-top: 4px;
    color: var(--slate-500);
    font-size: 10px;
}

.attachment-symbol {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    border-radius: 9px;
    background: var(--mint);
    font-weight: 800;
}

.comment-attachment-field {
    margin-top: 9px;
}

.comment-attachment-field input {
    min-height: 44px;
    background: var(--white);
}

.comment-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
}

.comment-attachments a {
    padding: 6px 9px;
    color: var(--teal);
    border-radius: 8px;
    background: var(--mint);
    font-size: 11px;
    font-weight: 700;
}

.range-label span {
    display: flex;
    justify-content: space-between;
}

.range-label output {
    color: var(--teal);
    font-weight: 800;
}

.comment-form {
    display: flex;
    padding: 17px;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--slate-50);
}

.comment-form label {
    display: block;
    flex: 1;
}

.comment-form textarea {
    min-height: 82px;
    border-color: transparent;
    background: var(--white);
}

.comment-form-foot {
    display: flex;
    margin-top: 9px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.comment-form-foot small {
    color: var(--slate-500);
    font-size: 10px;
}

.comment-list {
    margin-top: 24px;
}

.comment {
    display: flex;
    padding: 19px 0;
    gap: 12px;
    border-top: 1px solid var(--slate-100);
}

.comment:first-child {
    border-top: 0;
}

.comment > div {
    min-width: 0;
    flex: 1;
}

.comment-head {
    display: flex;
    align-items: center;
    gap: 7px;
}

.comment-head strong {
    font-size: 13px;
}

.comment-head span,
.comment-head time {
    color: var(--slate-400);
    font-size: 10px;
}

.comment-head time {
    margin-left: auto;
}

.comment p {
    margin: 7px 0 0;
    color: var(--slate-700);
    font-size: 13px;
}

.empty-comments {
    padding: 25px 0 5px;
    color: var(--slate-500);
    font-size: 12px;
    text-align: center;
}

.timeline {
    position: relative;
}

.timeline::before {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 5px;
    width: 1px;
    background: var(--slate-200);
    content: "";
}

.timeline-item {
    position: relative;
    display: flex;
    padding: 0 0 18px 23px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item > i {
    position: absolute;
    z-index: 1;
    top: 6px;
    left: 1px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--teal-bright);
    box-shadow: 0 0 0 1px var(--teal-bright);
}

.timeline-item p {
    margin: 0 0 2px;
    color: var(--slate-700);
    font-size: 12px;
}

.timeline-item time {
    color: var(--slate-400);
    font-size: 10px;
}

.info-panel h2 {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--slate-100);
}

.info-panel dl,
.profile-summary dl {
    margin: 0;
}

.info-panel dl > div,
.profile-summary dl > div {
    padding: 14px 0;
    border-bottom: 1px solid var(--slate-100);
}

.info-panel dl > div:last-child,
.profile-summary dl > div:last-child {
    border-bottom: 0;
}

.info-panel dt,
.profile-summary dt {
    margin-bottom: 5px;
    color: var(--slate-500);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.info-panel dd,
.profile-summary dd {
    margin: 0;
    color: var(--slate-800);
    font-size: 13px;
    font-weight: 600;
}

.text-danger {
    color: var(--red) !important;
}

.purpose-card {
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--ideal-color);
}

.purpose-card::after {
    position: absolute;
    right: -50px;
    bottom: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--ideal-color) 8%, transparent);
    content: "";
}

.purpose-card .eyebrow {
    color: var(--ideal-color);
}

.purpose-symbol {
    display: inline-flex;
    width: 42px;
    height: 42px;
    margin-bottom: 13px;
    align-items: center;
    justify-content: center;
    color: var(--ideal-color);
    border-radius: 11px;
    background: color-mix(in srgb, var(--ideal-color) 10%, white);
    font-size: 22px;
}

.purpose-symbol .ui-icon {
    width: 23px;
    height: 23px;
}

.purpose-card h2 {
    position: relative;
    z-index: 1;
}

.purpose-card > p:not(.eyebrow) {
    position: relative;
    z-index: 1;
    color: var(--slate-600);
    font-size: 12px;
}

.report-period {
    display: flex;
    margin-bottom: 20px;
    padding: 16px 20px;
    align-items: flex-end;
    gap: 13px;
}

.report-page-heading {
    align-items: center;
}

.report-heading-lockup {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 18px;
}

.report-brand-emblem {
    display: inline-flex;
    width: 66px;
    height: 72px;
    padding: 7px;
    flex: 0 0 66px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 34, 69, .12);
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.report-brand-emblem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.report-page-heading .eyebrow {
    color: var(--municipal-navy);
}

.report-document-period {
    display: none;
    color: var(--slate-600);
    font-size: 11px;
    font-weight: 700;
}

.report-period > div {
    margin-right: auto;
}

.report-period .eyebrow {
    margin-bottom: 5px;
}

.report-period label {
    width: 155px;
    font-size: 11px;
}

.period-presets {
    display: flex;
    gap: 6px;
}

.period-presets a {
    padding: 6px 9px;
    color: var(--slate-600);
    border-radius: 7px;
    background: var(--slate-100);
    font-size: 10px;
    font-weight: 700;
}

.period-presets a:hover {
    color: var(--teal);
    background: var(--mint);
}

.date-separator {
    padding-bottom: 12px;
    color: var(--slate-400);
}

.report-grid {
    display: grid;
    margin-bottom: 20px;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr);
    gap: 20px;
}

.report-timeline {
    min-height: 330px;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bar-row {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(140px, .7fr) minmax(170px, 1.3fr) 35px 90px;
    gap: 12px;
}

.bar-label {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.bar-label i {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
}

.bar-label span {
    overflow: hidden;
    color: var(--slate-700);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar-track {
    overflow: hidden;
    height: 9px;
    border-radius: 10px;
    background: var(--slate-100);
}

.bar-track i {
    display: block;
    min-width: 5px;
    height: 100%;
    border-radius: inherit;
}

.bar-row > strong {
    font-size: 13px;
}

.bar-row > small {
    color: var(--slate-500);
    font-size: 10px;
}

.alignment-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.alignment-ring {
    display: grid;
    width: 138px;
    height: 138px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--teal) calc(var(--value) * 1%), var(--slate-100) 0);
}

.alignment-ring::before {
    position: absolute;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: var(--white);
    content: "";
}

.alignment-ring > span {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.alignment-ring strong {
    font-size: 26px;
}

.alignment-ring small {
    color: var(--slate-500);
    font-size: 10px;
}

.alignment-card p {
    margin-bottom: 0;
    color: var(--slate-600);
    font-size: 12px;
}

.column-chart {
    display: flex;
    height: 215px;
    padding-top: 20px;
    align-items: flex-end;
    justify-content: space-around;
    gap: 9px;
    border-bottom: 1px solid var(--slate-200);
}

.column-item {
    display: flex;
    height: 100%;
    min-width: 34px;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
}

.column-value {
    margin-bottom: 4px;
    color: var(--slate-600);
    font-size: 10px;
    font-weight: 700;
}

.column-stack {
    position: relative;
    overflow: hidden;
    width: min(38px, 70%);
    min-height: 8px;
    border-radius: 6px 6px 0 0;
    background: #b9d2f8;
}

.column-total {
    position: absolute;
    inset: 0;
    background: #b9d2f8;
}

.column-completed {
    position: absolute;
    inset: auto 0 0;
    background: var(--green);
}

.column-item > small {
    margin-top: 8px;
    color: var(--slate-500);
    font-size: 9px;
    white-space: nowrap;
}

.chart-legend {
    display: flex;
    margin-top: 16px;
    justify-content: center;
    gap: 15px;
}

.chart-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--slate-500);
    font-size: 10px;
}

.chart-legend i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.chart-legend i.blue { background: #b9d2f8; }
.chart-legend i.green { background: var(--green); }

.status-breakdown {
    display: flex;
    flex-direction: column;
}

.status-breakdown > div {
    display: grid;
    min-height: 46px;
    align-items: center;
    grid-template-columns: 13px minmax(100px, 1fr) 28px 35px;
    gap: 8px;
    border-top: 1px solid var(--slate-100);
}

.status-breakdown > div:first-child {
    border-top: 0;
}

.status-breakdown strong {
    font-size: 12px;
}

.status-breakdown b {
    font-size: 13px;
}

.status-breakdown small {
    color: var(--slate-500);
    font-size: 10px;
    text-align: right;
}

.report-table-panel {
    padding: 0;
    overflow: hidden;
}

.report-table-panel .panel-header {
    margin: 0;
    padding: 22px 24px;
}

.report-table .table-row {
    grid-template-columns: minmax(220px, 1fr) 110px 110px 120px minmax(150px, .7fr);
}

.report-rate {
    display: flex;
    align-items: center;
    gap: 9px;
}

.report-rate > i {
    display: block;
    overflow: hidden;
    width: 100px;
    height: 6px;
    border-radius: 10px;
    background: var(--slate-100);
}

.report-rate b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--green);
}

.report-rate small {
    color: var(--slate-500);
    font-size: 10px;
}

.accent-purple { --accent: #7b4ab5; }

.report-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.report-alert {
    margin-bottom: 18px;
}

.report-context-note {
    display: flex;
    margin-bottom: 20px;
    padding: 14px 17px;
    align-items: flex-start;
    gap: 12px;
    color: var(--slate-700);
    border: 1px solid color-mix(in srgb, var(--teal) 20%, var(--slate-200));
    border-left: 4px solid var(--teal);
    border-radius: 12px;
    background: color-mix(in srgb, var(--mint) 64%, var(--white));
}

.report-context-note p {
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
}

.report-context-icon {
    display: inline-grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: var(--teal);
    font-size: 13px;
    font-weight: 800;
}

.report-context-icon .ui-icon {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.report-kpi-grid {
    display: grid;
    margin-bottom: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.report-kpi-grid .metric-card {
    min-height: 132px;
    padding: 18px 19px;
}

.report-kpi-grid .metric-card > strong {
    font-size: 27px;
}

.report-overview-grid {
    display: grid;
    margin-bottom: 20px;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
    gap: 20px;
}

.report-overview-grid .panel,
.report-strategy-grid .panel,
.report-monthly-panel,
.report-data-panel {
    margin-bottom: 0;
}

.report-footnote,
.report-cell-note {
    display: block;
    color: var(--slate-500);
    font-size: 10px;
}

.report-footnote {
    margin: 12px 0 0;
}

.report-table-scroll {
    overflow-x: auto;
    width: 100%;
}

.report-native-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    font-size: 12px;
}

.report-native-table th,
.report-native-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--slate-100);
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.report-native-table th {
    color: var(--slate-500);
    background: var(--slate-50);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.report-native-table tbody tr:last-child td {
    border-bottom: 0;
}

.report-native-table tbody tr:hover td {
    background: color-mix(in srgb, var(--mint) 42%, var(--white));
}

.report-comparison-table {
    min-width: 570px;
}

.report-comparison-table td:not(:first-child) {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.report-delta {
    color: var(--teal-dark);
}

.report-strategy-grid {
    display: grid;
    margin-bottom: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.report-bar-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.report-bar-row {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.report-bar-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.report-bar-heading > span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: var(--slate-700);
    font-size: 12px;
    font-weight: 750;
}

.report-bar-heading > span i {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
}

.report-bar-heading strong {
    color: var(--municipal-navy);
    font-size: 13px;
}

.report-bar-track {
    display: block;
    overflow: hidden;
    height: 8px;
    border-radius: 99px;
    background: var(--slate-100);
}

.report-bar-track i {
    display: block;
    min-width: 4px;
    height: 100%;
    border-radius: inherit;
}

.report-bar-row small {
    color: var(--slate-500);
    font-size: 10px;
}

.report-empty-inline {
    padding: 20px;
    color: var(--slate-500);
    border: 1px dashed var(--slate-200);
    border-radius: 10px;
    background: var(--slate-50);
    font-size: 12px;
    text-align: center;
}

.report-monthly-panel,
.report-data-panel {
    margin-bottom: 20px;
}

.report-monthly-chart {
    display: flex;
    overflow-x: auto;
    height: 230px;
    padding: 18px 4px 0;
    align-items: flex-end;
    gap: 12px;
    border-bottom: 1px solid var(--slate-200);
}

.report-month-column {
    display: flex;
    min-width: 52px;
    height: 100%;
    flex: 1 0 52px;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
}

.report-month-column > strong {
    margin-bottom: 5px;
    color: var(--slate-600);
    font-size: 10px;
}

.report-month-column > span {
    margin: 8px 0 10px;
    color: var(--slate-500);
    font-size: 9px;
    white-space: nowrap;
}

.report-month-bar {
    position: relative;
    overflow: hidden;
    width: min(36px, 72%);
    min-height: 4px;
    border-radius: 6px 6px 0 0;
    background: #b9d2f8;
}

.report-month-bar i {
    position: absolute;
    inset: auto 0 0;
    background: var(--green);
}

.report-person {
    display: flex;
    min-width: 220px;
    align-items: center;
    gap: 10px;
}

.report-person > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.report-person small {
    color: var(--slate-500);
    font-size: 10px;
}

.notification-panel {
    padding: 0;
    overflow: hidden;
}

.notification-row {
    display: grid;
    min-height: 82px;
    padding: 15px 21px;
    align-items: center;
    grid-template-columns: 38px minmax(200px, 1fr) 100px 20px;
    gap: 12px;
    border-top: 1px solid var(--slate-100);
}

.notification-row:first-child {
    border-top: 0;
}

.notification-row:hover {
    background: var(--slate-50);
}

.notification-row.unread {
    background: #f1f9f8;
}

.notification-symbol {
    position: relative;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    border-radius: 50%;
    background: var(--mint);
}

.notification-symbol .ui-icon {
    width: 18px;
    height: 18px;
}

.notification-row:not(.unread) .notification-symbol {
    color: var(--slate-500);
    background: var(--slate-100);
}

.notification-row.unread .notification-symbol::after {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 7px;
    height: 7px;
    border: 2px solid var(--mint);
    border-radius: 50%;
    background: var(--red);
    content: "";
}

.notification-row > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.notification-row strong {
    color: var(--slate-800);
    font-size: 13px;
}

.notification-row small,
.notification-row time {
    color: var(--slate-500);
    font-size: 10px;
}

.notification-row time {
    text-align: right;
}

.notification-row > i {
    color: var(--slate-400);
    font-style: normal;
}

.admin-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr);
    gap: 20px;
}

.ideal-admin-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ideal-admin-card {
    display: flex;
    padding: 22px;
    align-items: flex-start;
    gap: 17px;
    border-left: 4px solid var(--ideal-color);
}

.ideal-admin-card.inactive {
    opacity: .62;
}

.ideal-admin-card > div {
    min-width: 0;
    flex: 1;
}

.ideal-admin-number {
    display: inline-flex;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    color: var(--ideal-color);
    border-radius: 11px;
    background: color-mix(in srgb, var(--ideal-color) 10%, white);
    font-size: 12px;
    font-weight: 800;
}

.ideal-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ideal-admin-head h2 {
    margin: 0;
}

.ideal-admin-card p {
    margin: 5px 0 12px;
    color: var(--slate-600);
    font-size: 12px;
}

.admin-card-actions,
.row-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-card-actions form,
.row-actions form {
    display: inline;
}

.color-input {
    padding: 4px;
}

.users-layout {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 24px;
}

.users-form-panel {
    overflow: hidden;
    padding: 0;
}

.users-form-header {
    margin: 0;
    padding: 20px 26px;
    align-items: center;
    border-bottom: 1px solid var(--slate-200);
    background: linear-gradient(135deg, #fff 0%, var(--slate-50) 100%);
}

.users-form-header .eyebrow,
.users-list-heading .eyebrow {
    margin-bottom: 5px;
}

.users-form-header h2,
.users-list-heading h2,
.users-form-section-head h3 {
    margin: 0;
}

.users-form-errors {
    display: block;
    margin: 20px 26px 0;
}

.users-form-errors > div + div {
    margin-top: 5px;
}

.users-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.users-form > .users-identity-section {
    grid-column: 1 / -1;
}

.users-form > .users-department-section {
    border-right: 1px solid var(--slate-200);
}

.users-form-section {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 23px 26px 25px;
    border: 0;
    border-bottom: 1px solid var(--slate-200);
}

.users-form-section-head {
    display: flex;
    margin-bottom: 17px;
    align-items: flex-start;
    gap: 12px;
}

.users-form-section-head h3 {
    color: var(--slate-950);
    font-size: 18px;
}

.users-form-section-head p {
    margin: 3px 0 0;
    color: var(--slate-500);
    font-size: 16px;
    font-weight: 500;
}

.users-form-step {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    border: 1px solid rgba(17, 122, 135, .18);
    border-radius: 10px;
    background: var(--mint);
    font-size: 16px;
    font-weight: 800;
}

.users-fields-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.users-department-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.users-inline-label {
    display: block;
    margin-bottom: 7px;
    color: var(--slate-700);
    font-size: 16px;
    font-weight: 700;
}

.users-department-choices {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.users-primary-department {
    align-self: end;
}

.users-account-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.users-account-layout.edit-mode {
    grid-template-columns: minmax(280px, 520px);
}

.users-account-options {
    display: grid;
    min-width: 0;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border: 0;
}

.users-account-choice {
    min-height: 92px;
}

.users-password-field[hidden] {
    display: none !important;
}

.users-form-actions {
    display: flex;
    padding: 19px 26px;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--slate-50);
}

.users-form-actions p {
    max-width: 620px;
    margin: 0;
    color: var(--slate-500);
    font-size: 16px;
}

.users-form-actions > div {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.users-form-actions .button {
    min-width: 180px;
}

.users-list-section {
    min-width: 0;
}

.users-list-heading {
    display: flex;
    margin-bottom: 13px;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.users-table {
    min-width: 900px;
}

.users-table .table-row {
    grid-template-columns: minmax(220px, 1.25fr) 135px minmax(145px, .8fr) 65px 70px 115px;
}

.row-actions {
    justify-content: flex-end;
    gap: 8px;
    font-size: 11px;
}

.row-actions a,
.row-actions button {
    padding: 0;
    color: var(--teal);
    border: 0;
    background: none;
    font-size: 11px;
    font-weight: 700;
}

.admin-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dictionary-card {
    padding: 20px 22px;
    border-left: 4px solid var(--dictionary-color, var(--navy));
}

.dictionary-card.inactive {
    opacity: .64;
}

.dictionary-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.dictionary-card-head h2,
.dictionary-card-head p {
    margin: 0;
}

.dictionary-card-head p,
.admin-meta {
    margin-top: 5px;
    color: var(--slate-500);
    font-size: 12px;
}

.dictionary-stats {
    display: flex;
    gap: 28px;
    margin: 16px 0;
}

.dictionary-stats span {
    display: flex;
    flex-direction: column;
}

.dictionary-stats strong {
    color: var(--navy);
    font-size: 20px;
}

.dictionary-stats small {
    color: var(--slate-500);
    font-size: 10px;
    text-transform: uppercase;
}

.danger-text {
    color: var(--red) !important;
}

.choice-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.choice-check,
.toggle-field {
    display: flex !important;
    min-height: 48px;
    padding: 10px 12px;
    align-items: flex-start;
    flex-direction: row !important;
    gap: 10px !important;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
}

.choice-check.inactive {
    opacity: .62;
}

.choice-check input,
.toggle-field input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
    accent-color: var(--teal);
}

.choice-check > span,
.toggle-field > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.choice-check strong,
.toggle-field strong {
    color: var(--navy);
    font-size: 12px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.settings-grid > .form-panel {
    margin: 0;
}

.settings-alert {
    margin-bottom: 18px;
}

.settings-logo-panel {
    margin-bottom: 20px;
}

.settings-logo-management {
    display: grid;
    align-items: end;
    grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.5fr);
    gap: 20px;
}

.settings-logo-actions,
.logo-upload-form {
    display: flex;
    align-items: end;
    gap: 10px;
}

.logo-upload-form {
    flex: 1 1 auto;
}

.logo-upload-form label {
    min-width: 0;
    flex: 1 1 auto;
}

.logo-upload-form input[type="file"] {
    padding: 9px 12px;
    background: #fff;
}

.official-logo-card {
    display: flex;
    padding: 12px;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--slate-50);
}

.official-logo-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.official-logo-card span,
.settings-actions p {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.official-logo-card small,
.settings-actions span {
    color: var(--slate-500);
    font-size: 11px;
}

.settings-actions {
    display: flex;
    padding: 18px 20px;
    align-items: center;
    justify-content: space-between;
    grid-column: 1 / -1;
    gap: 20px;
}

.settings-actions p {
    margin: 0;
}

.settings-actions > div {
    display: flex;
    gap: 10px;
}

.profile-layout {
    display: grid;
    max-width: 1000px;
    align-items: start;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 20px;
}

.profile-summary {
    display: flex;
    padding: 32px 28px;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.profile-summary h2 {
    margin: 15px 0 2px;
}

.profile-summary > p {
    margin-bottom: 12px;
    color: var(--slate-500);
    font-size: 13px;
}

.profile-summary dl {
    width: 100%;
    margin-top: 20px;
    text-align: left;
}

.login-page {
    background: var(--white);
}

.login-mobile-brand {
    display: none;
}

.login-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(480px, 1.1fr) minmax(420px, .9fr);
}

.login-showcase {
    position: relative;
    display: flex;
    overflow: hidden;
    padding: 55px clamp(48px, 7vw, 105px);
    flex-direction: column;
    color: var(--white);
    background:
        linear-gradient(140deg, rgba(0, 34, 69, .99), rgba(11, 83, 96, .97)),
        var(--navy);
}

.brand-mark-login {
    width: 58px;
    height: 63px;
    padding: 8px;
    flex-basis: 58px;
    border-radius: 15px;
}

.login-showcase::before,
.login-showcase::after {
    position: absolute;
    border: 1px solid rgba(119, 209, 206, .12);
    border-radius: 50%;
    content: "";
}

.login-showcase::before {
    width: 560px;
    height: 560px;
    top: -270px;
    right: -250px;
    box-shadow: 0 0 0 95px rgba(119, 209, 206, .025), 0 0 0 190px rgba(119, 209, 206, .018);
}

.login-showcase::after {
    width: 360px;
    height: 360px;
    bottom: -220px;
    left: -150px;
    box-shadow: 0 0 0 75px rgba(119, 209, 206, .025);
}

.login-copy {
    position: relative;
    z-index: 1;
    max-width: 690px;
    margin: auto 0;
}

.login-copy .eyebrow {
    color: #7fd3d1;
}

.login-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.06;
    letter-spacing: -.045em;
}

.login-copy h1 em {
    color: #8edbd7;
    font-style: normal;
}

.login-copy > p:last-child {
    max-width: 580px;
    color: #bdd3d7;
    font-size: 17px;
    line-height: 1.7;
}

.login-metric-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.login-metric-row > div {
    display: flex;
    padding-top: 24px;
    flex-direction: column;
}

.login-metric-row strong {
    color: #8edbd7;
    font-size: 27px;
}

.login-metric-row span {
    color: #97b6bc;
    font-size: 11px;
}

.login-panel {
    display: flex;
    padding: 45px;
    align-items: center;
    justify-content: center;
    background: var(--slate-50);
}

.login-form-card {
    width: min(420px, 100%);
    padding: 36px;
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.login-form-card h2 {
    margin-bottom: 8px;
    font-size: 27px;
}

.login-form-card > .muted {
    margin-bottom: 26px;
    font-size: 13px;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 75px;
}

.password-field button {
    position: absolute;
    top: 50%;
    right: 8px;
    padding: 6px 8px;
    color: var(--teal);
    border: 0;
    border-radius: 6px;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    transform: translateY(-50%);
}

.login-help {
    margin: 22px 0 0;
    color: var(--slate-400);
    font-size: 10px;
    text-align: center;
}

.install-page {
    background:
        linear-gradient(135deg, rgba(10, 67, 81, .98), rgba(15, 106, 122, .96)),
        var(--navy);
}

.install-shell {
    display: grid;
    width: min(1080px, calc(100% - 40px));
    min-height: calc(100vh - 80px);
    margin: 40px auto;
    align-items: center;
    grid-template-columns: minmax(340px, .85fr) minmax(460px, 1fr);
    gap: 65px;
}

.install-brand {
    color: var(--white);
}

.install-lockup {
    display: flex;
    margin-bottom: 28px;
    align-items: center;
    gap: 16px;
}

.brand-mark-install {
    width: 74px;
    height: 81px;
    padding: 9px;
    flex-basis: 74px;
    border-radius: 18px;
}

.install-lockup .brand-copy {
    display: flex;
    flex-direction: column;
}

.install-lockup strong {
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: .04em;
}

.install-lockup small {
    margin: 0 0 2px;
    color: #b9d3d8;
    font-size: 13px;
    letter-spacing: .02em;
}

.install-brand .eyebrow {
    color: #81d6d2;
}

.install-brand > p:not(.eyebrow) {
    color: #bfd4d8;
    font-size: 16px;
    line-height: 1.7;
}

.check-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin: 11px 0;
    padding-left: 26px;
    color: #d6e5e7;
    font-size: 13px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    color: #80d5d1;
    content: "✓";
}

.install-card {
    padding: 35px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .18);
}

.install-card h2 {
    font-size: 26px;
}

.success-icon {
    display: flex;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    color: var(--green);
    border-radius: 50%;
    background: #e5f5ec;
    font-size: 28px;
}

.sidebar-overlay {
    display: none;
}

@media (max-width: 1200px) {
    .content {
        padding-right: 28px;
        padding-left: 28px;
    }

    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid,
    .detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-side,
    .detail-side {
        display: grid;
        align-items: start;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .task-form-layout,
    .settings-grid,
    .settings-logo-management {
        grid-template-columns: minmax(0, 1fr);
    }

    .users-fields-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .users-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .users-form > .users-identity-section {
        grid-column: auto;
    }

    .users-form > .users-department-section {
        border-right: 0;
    }

    .users-department-layout,
    .users-account-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .users-account-layout.edit-mode {
        grid-template-columns: minmax(0, 520px);
    }

    .form-side .sticky-panel {
        position: static;
    }

    .admin-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-layout > aside .sticky-panel {
        position: static;
    }

    .report-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
    }

    .report-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .report-strategy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    body.menu-open {
        overflow: hidden;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform .2s ease;
    }

    .menu-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-overlay {
        position: fixed;
        z-index: 45;
        inset: 0;
        display: none;
        background: rgba(3, 22, 27, .48);
    }

    .menu-open .sidebar-overlay {
        display: block;
    }

    .main-column {
        margin-left: 0;
    }

    .menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .topbar {
        padding: 0 24px;
        justify-content: flex-start;
        gap: 15px;
    }

    .topbar-actions {
        margin-left: auto;
    }

    .task-form-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-side .sticky-panel {
        position: static;
    }

    .report-period {
        flex-wrap: wrap;
    }

    .report-period > div {
        width: 100%;
    }

    .report-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .report-overview-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .alignment-card {
        min-height: 330px;
    }

    .login-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .login-showcase {
        display: none;
    }

    .install-shell {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .install-brand {
        text-align: center;
    }

    .install-lockup {
        justify-content: center;
        text-align: left;
    }

    .login-mobile-brand {
        display: flex;
        margin-bottom: 24px;
        align-items: center;
        gap: 12px;
    }

    .login-mobile-brand strong {
        display: block;
        color: var(--municipal-navy);
        font-size: 20px;
        letter-spacing: .08em;
    }

    .login-mobile-brand small {
        display: block;
        margin-top: -2px;
        color: var(--slate-500);
        font-size: 12px;
    }

    .check-list {
        display: none;
    }
}

@media (max-height: 760px) {
    .sidebar {
        padding-top: 18px;
        padding-bottom: 16px;
    }

    .sidebar .brand {
        margin-bottom: 20px;
    }

    .nav-section-label {
        margin-top: 18px;
    }

    .sidebar-profile {
        margin-top: 10px;
        padding-top: 11px;
    }
}

@media (max-width: 720px) {
    .attachment-upload-form,
    .attachment-list {
        grid-template-columns: 1fr;
    }

    .attachment-upload-form .button {
        width: 100%;
    }

    .topbar {
        height: 68px;
        padding: 0 16px;
    }

    .topbar-title .eyebrow,
    .notification-button {
        display: none;
    }

    .topbar-title strong {
        font-size: 15px;
    }

    .topbar-actions .button {
        padding: 0 12px;
        font-size: 12px;
    }

    .content {
        padding: 26px 16px 45px;
    }

    .users-form-header {
        padding: 21px 20px;
        align-items: stretch;
        flex-direction: column;
    }

    .users-form-header .button {
        width: 100%;
    }

    .users-form-errors {
        margin: 16px 20px 0;
    }

    .users-form-section {
        padding: 21px 20px 23px;
    }

    .users-fields-grid,
    .users-account-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .users-account-layout.edit-mode {
        grid-template-columns: minmax(0, 1fr);
    }

    .users-account-choice {
        min-height: 0;
    }

    .users-form-actions {
        padding: 18px 20px 20px;
        align-items: stretch;
        flex-direction: column;
    }

    .users-form-actions > div {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .users-form-actions .button {
        width: 100%;
        min-width: 0;
    }

    .users-list-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .report-heading-lockup {
        align-items: flex-start;
    }

    .report-brand-emblem {
        width: 54px;
        height: 59px;
        padding: 6px;
        flex-basis: 54px;
        border-radius: 12px;
    }

    .report-actions {
        width: 100%;
        justify-content: stretch;
    }

    .report-actions .button {
        min-width: 0;
        flex: 1 1 190px;
    }

    .page-heading,
    .detail-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-heading > .button,
    .detail-heading > .button {
        width: 100%;
    }

    .metric-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .report-kpi-grid,
    .report-strategy-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .report-context-note {
        padding: 13px 14px;
    }

    .metric-card {
        min-height: 135px;
    }

    .dashboard-side,
    .detail-side {
        display: flex;
    }

    .task-row {
        grid-template-columns: 10px minmax(0, 1fr) 70px;
    }

    .task-row .task-progress {
        display: none;
    }

    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-bar select,
    .filter-bar .search-field {
        width: 100%;
        min-width: 0;
        flex: 0 0 auto;
    }

    .list-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .view-tabs {
        overflow-x: auto;
        width: 100%;
    }

    .task-list-tools {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .layout-switch {
        width: 100%;
    }

    .layout-switch a {
        flex: 1;
        text-align: center;
    }

    .kanban-scroll {
        scroll-snap-type: x proximity;
    }

    .kanban-board {
        grid-auto-columns: minmax(258px, calc(100vw - 68px));
    }

    .kanban-column {
        max-width: calc(100vw - 68px);
    }

    .table-card {
        overflow-x: auto;
    }

    .purpose-switch,
    .ideal-choice-grid,
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .quick-update-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .revision-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .subtask-item,
    .subtask-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .subtask-actions {
        width: 100%;
        min-width: 0;
    }

    .comment-form {
        flex-direction: column;
    }

    .comment-form-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .comment-form-foot .button {
        width: 100%;
    }

    .report-period {
        align-items: stretch;
        flex-direction: column;
    }

    .report-period label {
        width: 100%;
    }

    .date-separator {
        display: none;
    }

    .period-presets {
        overflow-x: auto;
    }

    .bar-row {
        grid-template-columns: minmax(100px, 1fr) 1fr 25px;
    }

    .bar-row > small {
        display: none;
    }

    .notification-row {
        grid-template-columns: 34px minmax(0, 1fr) 18px;
    }

    .notification-row time {
        display: none;
    }

    .profile-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .login-panel {
        padding: 20px;
    }

    .login-form-card {
        padding: 27px 23px;
    }

    .install-shell {
        width: min(100% - 24px, 620px);
        margin: 20px auto;
    }

    .install-card {
        padding: 26px 20px;
    }

    .install-lockup strong {
        font-size: 34px;
    }

    .brand-mark-install {
        width: 64px;
        height: 70px;
        flex-basis: 64px;
    }
}

@media (max-width: 980px) {
    .settings-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .settings-logo-management {
        grid-template-columns: minmax(0, 1fr);
    }

    .settings-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .choice-check-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .settings-actions > div {
        flex-direction: column;
    }

    .settings-logo-actions,
    .logo-upload-form {
        align-items: stretch;
        flex-direction: column;
    }

    .settings-logo-actions .button {
        width: 100%;
    }

    .settings-actions .button {
        width: 100%;
    }
}

@media print {
    @page {
        size: A4 landscape;
        margin: 12mm;
    }

    :root {
        color-scheme: light;
    }

    html,
    body {
        min-height: auto;
        color: #17212b;
        background: #fff;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .sidebar,
    .topbar,
    .sidebar-overlay,
    .report-period,
    .report-page-heading > .button {
        display: none !important;
    }

    .report-actions,
    .report-context-note {
        display: none !important;
    }

    .main-column {
        min-height: auto;
        margin-left: 0;
    }

    .content {
        max-width: none;
        padding: 0;
    }

    .report-page-heading {
        display: flex;
        margin-bottom: 8mm;
        padding-bottom: 5mm;
        border-bottom: 2px solid var(--municipal-navy);
    }

    .report-page-heading h1 {
        font-size: 25px;
    }

    .report-page-heading p:not(.eyebrow) {
        max-width: none;
        margin-bottom: 4px;
    }

    .report-document-period {
        display: block;
    }

    .metric-grid,
    .report-kpi-grid,
    .report-grid,
    .report-overview-grid,
    .report-strategy-grid,
    .report-table-panel,
    .panel,
    .metric-card {
        break-inside: avoid;
    }

    .panel,
    .metric-card {
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/*
 * Okunabilirlik sözleşmesi
 * ------------------------
 * SAPIDEA'nın masaüstü ve mobil arayüzünde görünen yardımcı metinler de dahil
 * olmak üzere yazılar 16 px altına düşmez. Bu katman yalnız ekran içindir;
 * yazdırma/PDF düzeninin yoğunluğu ve ekran okuyucuya özel .sr-only içeriği
 * etkilenmez. Temel gezinme, eylem ve form hedefleri en az 44 px tutulur.
 */
@media screen {
    .brand small,
    .login-brand small,
    .install-lockup small,
    .main-nav a,
    .nav-count,
    .nav-section-label,
    .profile-copy strong,
    .profile-copy small,
    .avatar,
    .avatar.small,
    .topbar-title .eyebrow,
    .notification-button,
    .notification-label,
    .notification-count,
    .eyebrow,
    .button.compact,
    .text-link,
    .text-button,
    .panel-header p,
    .metric-head,
    .metric-card > small,
    .task-main strong,
    .task-main > span,
    .task-progress small,
    .progress-cell small,
    .due-date,
    .badge,
    .small,
    .ideal-number,
    .ideal-copy strong,
    .ideal-copy > span,
    .quick-report h3,
    .quick-report p,
    .filter-clear,
    .layout-switch a,
    .kanban-help,
    .kanban-column > header h2,
    .kanban-column > header b,
    .kanban-card-link > strong,
    .kanban-card-purpose,
    .kanban-card-date,
    .kanban-card-person,
    .kanban-card-progress small,
    .kanban-card-action select,
    .kanban-empty,
    .kanban-live.is-visible,
    .list-summary > strong,
    .view-tabs a,
    .table-head,
    .task-cell > strong,
    .task-cell > small,
    .person-cell strong,
    .person-cell small,
    .date-cell,
    .date-cell small,
    .pagination a,
    .back-link,
    .form-panel-head p,
    .step-number,
    .stack-form label,
    .purpose-panel label,
    .quick-update-form label,
    .report-period label,
    .field-help,
    .form-section-title,
    .choice-card strong,
    .choice-card small,
    .field-label,
    .ideal-choice-number,
    .ideal-choice strong,
    .ideal-choice small,
    .ideal-choice > i,
    .alert,
    .work-number,
    .subtask-status-form select,
    .subtask-cancel,
    .attachment-upload-form small,
    .comment-attachment-field > span,
    .attachment-item small,
    .comment-attachments a,
    .comment-form-foot small,
    .comment-head strong,
    .comment-head span,
    .comment-head time,
    .comment p,
    .empty-comments,
    .timeline-item p,
    .timeline-item time,
    .info-panel dt,
    .profile-summary dt,
    .info-panel dd,
    .profile-summary dd,
    .purpose-card > p:not(.eyebrow),
    .report-document-period,
    .period-presets a,
    .bar-label span,
    .bar-row > strong,
    .bar-row > small,
    .alignment-ring small,
    .alignment-card p,
    .column-value,
    .column-item > small,
    .chart-legend span,
    .status-breakdown strong,
    .status-breakdown b,
    .status-breakdown small,
    .report-rate small,
    .report-context-note p,
    .report-context-icon,
    .report-footnote,
    .report-cell-note,
    .report-native-table,
    .report-native-table th,
    .report-bar-heading > span,
    .report-bar-heading strong,
    .report-bar-row small,
    .report-empty-inline,
    .report-month-column > strong,
    .report-month-column > span,
    .report-person small,
    .notification-row strong,
    .notification-row small,
    .notification-row time,
    .ideal-admin-number,
    .ideal-admin-card p,
    .row-actions,
    .row-actions a,
    .row-actions button,
    .dictionary-card-head p,
    .admin-meta,
    .dictionary-stats small,
    .choice-check strong,
    .toggle-field strong,
    .official-logo-card small,
    .settings-actions span,
    .profile-summary > p,
    .login-metric-row span,
    .login-form-card > .muted,
    .password-field button,
    .login-help,
    .check-list li,
    .login-mobile-brand small,
    .topbar-title strong,
    .topbar-actions .button {
        font-size: 16px;
    }

    small:not(.sr-only) {
        font-size: 16px;
    }

    .main-nav a,
    .button,
    .login-help a,
    .task-row,
    .ideal-stat,
    .notification-row,
    a.table-row,
    .kanban-card-link,
    .choice-card,
    .ideal-choice,
    .choice-check,
    .toggle-field,
    .attachment-item,
    summary {
        min-height: 44px;
    }

    .profile-link,
    .icon-button,
    .notification-button,
    .menu-button,
    .button.compact,
    .filter-clear,
    .layout-switch a,
    .kanban-card-link,
    .view-tabs a,
    .pagination a,
    .back-link,
    .text-link,
    .text-button,
    .comment-attachments a,
    .period-presets a,
    .row-actions a,
    .row-actions button,
    .password-field button {
        min-height: 44px;
    }

    .login-help a {
        display: inline-flex;
        min-width: 44px;
        padding: 10px 6px;
        align-items: center;
        justify-content: center;
    }

    .icon-button,
    .menu-button,
    .pagination a {
        width: 44px;
        height: 44px;
    }

    .notification-button {
        width: auto;
        min-width: 44px;
        height: 44px;
    }

    .filter-clear,
    .view-tabs a,
    .back-link,
    .text-link,
    .text-button,
    .comment-attachments a,
    .period-presets a,
    .row-actions a,
    .row-actions button,
    .password-field button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding-right: 10px;
        padding-left: 10px;
    }

    .filter-clear,
    .text-link,
    .text-button,
    .comment-attachments a,
    .period-presets a,
    .row-actions a,
    .row-actions button,
    .password-field button {
        min-width: 44px;
    }

    .range-input {
        height: 44px;
        min-height: 44px;
    }

    .notification-count {
        top: -9px;
        right: -9px;
        min-width: 26px;
        height: 26px;
        line-height: 22px;
    }

    .row-actions {
        flex-wrap: wrap;
    }
}
