:root {
    color-scheme: light;
    --ink: #1d2924;
    --ink-soft: #52605a;
    --muted: #87918b;
    --paper: #f3f5ef;
    --surface: #ffffff;
    --line: #e3e8e1;
    --green: #176c4b;
    --green-dark: #104b37;
    --green-soft: #e2f1e8;
    --lime: #d6ef8b;
    --coral: #ed765b;
    --coral-soft: #fff0ea;
    --yellow: #eab94e;
    --yellow-soft: #fff6df;
    --blue: #4f83a5;
    --blue-soft: #eaf3f7;
    --shadow: 0 14px 44px rgba(28, 45, 36, .07);
    font-family: 'DM Sans', sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 14px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
.app-frame { min-height: 100vh; }
.sidebar { width: 248px; background: #1d342a; color: #f1f6ef; position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 27px 16px 18px; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 0 12px; font: 800 19px 'Manrope', sans-serif; letter-spacing: 0; color: #f7faf5; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #1c3429; background: var(--lime); font-size: 15px; }
.brand-dot { color: var(--lime); }
.workspace-label { color: #8da196; font-size: 9px; font-weight: 700; letter-spacing: 1.25px; margin: 55px 12px 13px; }
.primary-nav { display: grid; gap: 5px; }
.nav-link { height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 7px; color: #b9c8be; font-weight: 500; transition: color .16s, background .16s; }
.nav-link:hover { color: white; background: rgba(255,255,255,.07); }
.nav-link.is-active { color: #f7fff7; background: #2d493a; box-shadow: inset 3px 0 var(--lime); }
.nav-icon { width: 20px; color: #a5b8aa; font-size: 16px; text-align: center; }
.nav-link.is-active .nav-icon { color: var(--lime); }
.nav-unread { margin-left: auto; width: 7px; height: 7px; background: #ef896e; border-radius: 50%; }
.sidebar-bottom { margin-top: auto; }
.help-card { min-height: 65px; background: #263f32; border: 1px solid #355142; border-radius: 7px; padding: 12px 11px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.help-symbol { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #d07e64; color: #fff; font-size: 16px; line-height: 1; }
.help-card div { display: grid; gap: 4px; }
.help-card strong { font-size: 11px; }
.help-card span:last-child { color: #a7b8ac; font-size: 10px; }
.profile-row { border-top: 1px solid #3c5145; padding: 17px 4px 0; display: flex; align-items: center; gap: 9px; }
.avatar { flex: 0 0 33px; width: 33px; height: 33px; display: grid; place-items: center; background: #dbb26b; color: #27372f; border-radius: 50%; font-weight: 700; }
.profile-meta { min-width: 0; display: grid; gap: 3px; }
.profile-meta strong { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.profile-meta span { color: #9fb0a4; text-transform: capitalize; font-size: 10px; }
.logout-form { margin-left: auto; }
.icon-button { display: grid; place-items: center; border: 0; background: transparent; width: 34px; height: 34px; color: inherit; border-radius: 6px; cursor: pointer; }
.icon-button:hover { background: rgba(120, 150, 129, .15); }
.main-panel { min-height: 100vh; margin-left: 248px; }
.topbar { height: 65px; padding: 0 42px; border-bottom: 1px solid #e6eae3; display: flex; justify-content: space-between; align-items: center; background: rgba(248,250,246,.72); }
.crumb { display: flex; gap: 11px; align-items: center; color: #89938d; font-size: 12px; }
.crumb b { color: #c2c9c1; font-weight: 400; }
.crumb strong { color: #37463e; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 23px; }
.today-label { font-size: 11px; color: #737f77; }
.top-notice { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 50%; color: #43544a; position: relative; font-size: 14px; }
.top-notice i { position: absolute; width: 7px; height: 7px; top: 4px; right: 3px; background: var(--coral); border-radius: 50%; border: 1px solid white; }
.mobile-menu { display: none; color: var(--ink); }
.page-wrap { max-width: 1500px; padding: 37px 42px 20px; margin: auto; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.eyebrow { color: var(--green); letter-spacing: 1.1px; font-size: 9px; font-weight: 700; margin: 0 0 8px; }
.heading-dot { color: #c6d49f; padding: 0 4px; }
h1, h2, h3, p { margin-top: 0; }
.page-heading h1 { font: 800 33px/1.2 'Manrope', sans-serif; letter-spacing: 0; margin: 0 0 7px; }
.heading-period { color: var(--coral); }
.muted { color: var(--muted); font-size: 12px; margin: 0; }
.button { min-height: 40px; border: 1px solid transparent; border-radius: 5px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 11px; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .5; }
.button-primary { color: white; background: var(--green); }
.button-primary:hover:not(:disabled) { background: var(--green-dark); }
.button-primary span { color: #d9ef9a; font-size: 14px; }
.button-quiet { background: #f6f8f4; border-color: var(--line); color: #53635a; }
.button-small { min-height: 30px; padding: 0 10px; gap: 6px; font-size: 10px; }
.button-wide { width: 100%; justify-content: space-between; margin-top: 5px; min-height: 46px; padding: 0 16px; }
.flash { padding: 12px 15px; margin: -7px 0 22px; border-radius: 5px; font-size: 12px; border: 1px solid; animation: arrive .3s ease both; }
.flash-success { background: var(--green-soft); border-color: #cce3d4; color: #245c40; }
.flash-info { background: var(--blue-soft); border-color: #d4e5ed; color: #3e657b; }
.flash-error { background: var(--coral-soft); border-color: #f1d0c5; color: #a54e39; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; margin-bottom: 19px; }
.metric { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 16px 17px 13px; position: relative; overflow: hidden; animation: rise .45s both; }
.metric:nth-child(2) { animation-delay: .06s; }.metric:nth-child(3) { animation-delay: .12s; }.metric:nth-child(4) { animation-delay: .18s; }
.metric::after { content: ''; position: absolute; width: 5px; height: 34px; left: 0; top: 15px; border-radius: 0 3px 3px 0; background: var(--green); }
.metric-yellow::after { background: var(--yellow); }.metric-coral::after { background: var(--coral); }.metric-blue::after { background: var(--blue); }
.metric-top { display: flex; justify-content: space-between; align-items: center; color: #65736a; font-size: 11px; }
.metric-top b { color: #b5c4ba; font: 700 9px 'Manrope', sans-serif; }
.metric > strong { display: block; font: 800 31px 'Manrope', sans-serif; line-height: 1.25; margin-top: 13px; }
.metric > small { color: #98a199; display: block; font-size: 10px; }
.metric > a { display: flex; justify-content: space-between; border-top: 1px solid #eef0ec; padding-top: 10px; margin-top: 14px; color: var(--green); font-weight: 700; font-size: 10px; }
.metric > a span, .text-link span { font-size: 13px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr); gap: 17px; align-items: stretch; }
.surface { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.recent-surface, .dispatch-surface { min-height: 330px; padding: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 16px; }
.section-heading h2 { font: 700 16px 'Manrope', sans-serif; letter-spacing: 0; margin: 0; }
.section-heading .eyebrow { font-size: 8px; margin-bottom: 6px; }
.text-link { font-size: 10px; color: var(--green); font-weight: 700; white-space: nowrap; }
.report-list { display: grid; }
.report-row { min-height: 58px; border-top: 1px solid #eef0ec; display: flex; align-items: center; gap: 11px; }
.report-row:hover .report-main strong { color: var(--green); }
.report-marker { flex: 0 0 31px; width: 31px; height: 31px; display: grid; place-items: center; background: #eef5ee; color: var(--green); border-radius: 7px; font-size: 17px; }
.report-marker.status-pending_review { background: var(--yellow-soft); color: #9e7420; }.report-marker.status-pending_user_verification { background: var(--coral-soft); color: #b6533d; }
.report-main { display: grid; gap: 4px; flex: 1; min-width: 0; }
.report-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; transition: color .15s; }
.report-main small, .report-end small { color: #949d96; font-size: 9px; }
.report-end { display: grid; justify-items: end; gap: 5px; }
.status-pill { display: inline-flex; align-items: center; width: fit-content; min-height: 22px; border-radius: 3px; padding: 0 7px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.status-pending_review, .status-pending_assignment { color: #8c6922; background: var(--yellow-soft); }
.status-approved, .status-assigned, .status-in_progress { color: #28674a; background: var(--green-soft); }
.status-rejected { color: #a44e3a; background: var(--coral-soft); }
.status-pending_user_verification { color: #a24d39; background: var(--coral-soft); }
.status-completed { color: #426f8a; background: var(--blue-soft); }
.dispatch-surface { color: #f3f7ef; background: #244333; border-color: #244333; position: relative; overflow: hidden; }
.dispatch-surface::after { content: ''; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(212,239,139,.14); border-radius: 50%; right: -110px; top: -74px; box-shadow: 0 0 0 22px rgba(212,239,139,.035), 0 0 0 48px rgba(212,239,139,.025); }
.dispatch-head { display: flex; align-items: center; gap: 9px; position: relative; z-index: 1; }
.dispatch-icon { display: grid; place-items: center; width: 24px; height: 24px; background: #365a42; color: var(--lime); border-radius: 6px; }
.dispatch-head .eyebrow { color: #c4d5c5; font-size: 8px; margin: 0; }
.live-indicator { margin-left: auto; border: 1px solid #52725b; color: #d5efa1; padding: 4px 6px; border-radius: 3px; font-size: 8px; font-weight: 700; letter-spacing: .6px; }
.dispatch-surface h2 { max-width: 250px; font: 700 20px/1.3 'Manrope', sans-serif; margin: 20px 0 7px; position: relative; z-index: 1; }
.dispatch-surface > p { max-width: 280px; color: #b7c8bb; font-size: 10px; line-height: 1.6; margin-bottom: 19px; }
.dispatch-steps { border-top: 1px solid #46614e; }
.dispatch-step { min-height: 48px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #3a5745; }
.dispatch-step > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #688071; color: #bed0c1; font: 700 10px 'Manrope', sans-serif; border-radius: 50%; }
.dispatch-step > div { display: grid; gap: 2px; }
.dispatch-step strong { font-size: 10px; }.dispatch-step small { color: #a8baac; font-size: 9px; }
.dispatch-step > b { margin-left: auto; color: #9fc66f; font-size: 13px; }
.step-current > span { border-color: var(--lime); background: var(--lime); color: #25402f; }
.empty-state { min-height: 210px; display: grid; align-content: center; justify-items: center; text-align: center; color: var(--ink); }
.empty-icon { width: 38px; height: 38px; display: grid; place-items: center; background: #f0f5eb; color: var(--green); border-radius: 50%; font-size: 22px; margin-bottom: 9px; }
.empty-state strong { font: 700 13px 'Manrope', sans-serif; }.empty-state p { color: #929c95; font-size: 10px; margin: 6px 0 0; }
.reporting-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(245px, .75fr); gap: 17px; margin-bottom: 19px; align-items: stretch; }
.create-report, .account-create { padding: 21px; }
.step-count { color: var(--green); font: 700 10px 'Manrope', sans-serif; }.step-count i { color: #b5c4b9; font-style: normal; padding: 0 3px; }
.form-stack { display: grid; gap: 14px; }
.form-stack label { display: grid; gap: 6px; color: #546259; font-size: 10px; font-weight: 700; }
.form-stack label small { color: #919b94; font-size: 9px; font-weight: 400; }
.form-stack input, .form-stack textarea, .form-stack select, .assign-form select, .account-edit input, .account-edit select { width: 100%; border: 1px solid #dfe5dd; border-radius: 4px; background: #fff; color: var(--ink); outline: none; min-height: 39px; padding: 9px 10px; font-size: 11px; font-weight: 400; transition: border .16s, box-shadow .16s; }
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus, .assign-form select:focus, .account-edit input:focus, .account-edit select:focus { border-color: #7aa78e; box-shadow: 0 0 0 3px rgba(59,128,88,.1); }
.form-stack input::placeholder, .form-stack textarea::placeholder { color: #afb7b0; }
.form-stack textarea { resize: vertical; min-height: 85px; line-height: 1.55; }
.map-picker-wrap { display: grid; gap: 8px; }
.map-picker-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.map-picker-heading strong { color: #546259; font-size: 10px; }
.map-picker-heading span, .map-caption { color: #929c95; font-size: 9px; }
.location-map { width: 100%; height: 235px; overflow: hidden; border: 1px solid #dfe5dd; border-radius: 4px; background: #e5eadc; z-index: 0; }
.map-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.map-actions [hidden], #hazard-category-other[hidden] { display: none; }
.coordinate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coordinate-fields label { display: grid; gap: 5px; color: #77847a; font-size: 9px; }
.coordinate-fields input { width: 100%; min-height: 33px; border: 1px solid #dfe5dd; border-radius: 4px; padding: 7px 9px; color: var(--ink); font-size: 10px; }
.coordinate-fields input:focus { border-color: #7aa78e; outline: 2px solid rgba(59,128,88,.1); }
.map-caption { display: block; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 2px; }
.form-footer > span { color: #8c9890; font-size: 9px; line-height: 1.5; }
.report-aside { display: grid; grid-template-rows: 1fr auto; gap: 13px; }
.aside-illustration { min-height: 220px; position: relative; overflow: hidden; border-radius: 7px; background-color: #dbe6d2; background-image: linear-gradient(31deg, transparent 48%, rgba(255,255,255,.72) 49%, rgba(255,255,255,.72) 57%, transparent 58%), linear-gradient(117deg, transparent 42%, rgba(255,255,255,.67) 43%, rgba(255,255,255,.67) 52%, transparent 53%), linear-gradient(0deg, rgba(77,121,84,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(77,121,84,.07) 1px, transparent 1px); background-size: auto, auto, 23px 23px, 23px 23px; }
.aside-illustration::before, .aside-illustration::after { content: ''; position: absolute; width: 67px; height: 67px; border-radius: 12px; background: rgba(118,157,111,.18); transform: rotate(18deg); left: 22px; top: 29px; }
.aside-illustration::after { width: 45px; height: 45px; left: auto; top: auto; right: 25px; bottom: 39px; transform: rotate(-12deg); }
.map-grid { position: absolute; inset: 18% 26%; border: 1px dashed rgba(45,94,57,.23); border-radius: 50%; }
.map-road { position: absolute; top: -30px; left: 53%; height: 300px; width: 39px; transform: rotate(28deg); background: #f8f7e9; border-left: 2px solid rgba(117,138,93,.13); border-right: 2px solid rgba(117,138,93,.13); }
.map-road::after { content: ''; position: absolute; border-left: 1px dashed #b7c4a6; height: 100%; left: 50%; }
.map-pin { position: absolute; top: 38%; left: 43%; width: 39px; height: 39px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: grid; place-items: center; background: var(--coral); color: white; font-style: normal; font-weight: 800; box-shadow: 0 7px 16px rgba(159,75,49,.2); }
.map-pin::first-letter { transform: rotate(45deg); }
.map-label { position: absolute; left: 15px; bottom: 13px; padding: 6px 8px; color: #47684e; background: rgba(250,252,246,.82); border-radius: 3px; font-size: 7px; letter-spacing: .75px; }
.aside-note { display: flex; gap: 10px; background: #e9eee4; padding: 14px; border-radius: 6px; }
.note-icon { flex: 0 0 19px; display: grid; place-items: center; height: 19px; border: 1px solid #95a990; border-radius: 50%; font: 700 10px 'Manrope', sans-serif; color: #547454; }
.aside-note strong { font: 700 11px 'Manrope', sans-serif; }.aside-note p { color: #68776b; font-size: 9px; line-height: 1.55; margin: 5px 0 0; }
.table-surface { padding: 20px; margin-bottom: 17px; }
.table-count { color: #8d9890; font-size: 10px; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { padding: 9px 11px; color: #929c95; background: #f8f9f6; border-block: 1px solid #edf0eb; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .75px; }
td { padding: 12px 11px; border-bottom: 1px solid #edf0eb; color: #59675e; font-size: 10px; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { min-width: 170px; }
.record-id { display: block; color: #839087; font: 700 8px 'Manrope', sans-serif; letter-spacing: .3px; margin-bottom: 4px; }
.table-title { display: block; color: #28382f; font-size: 10px; max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
td small { display: block; margin-top: 4px; color: #98a199; font-size: 9px; }
.inline-actions { display: flex; align-items: center; gap: 5px; }
.verify-actions { flex-wrap: wrap; }
.muted { line-height: 1.5; }
.resolved-check { color: #387854; font-size: 10px; font-weight: 700; }
.job-list { display: grid; gap: 11px; }
.job-card { border: 1px solid #e6ebe4; border-radius: 6px; padding: 16px 17px; }
.job-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.job-card h3 { margin: 9px 0 5px; font: 700 15px 'Manrope', sans-serif; }
.job-location { color: #67756b; font-size: 10px; margin-bottom: 11px; }.job-location span { color: var(--green); font-size: 14px; }.job-location i { padding: 0 4px; color: #bec6bf; font-style: normal; }
.job-meta { display: flex; gap: 15px; flex-wrap: wrap; border-top: 1px solid #eef0ec; padding-top: 10px; color: #929b94; font-size: 9px; }
.job-meta strong { color: #57665c; font-weight: 600; }
.assign-form { display: flex; max-width: 390px; gap: 8px; margin-top: 13px; }
.assign-form select { flex: 1; min-height: 33px; }
.job-update { margin-top: 13px; padding-top: 10px; border-top: 1px solid #eef0ec; }
.job-update summary { color: var(--green); font-size: 10px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; max-width: 210px; }
.job-update summary::-webkit-details-marker { display: none; }
.job-update form { max-width: 480px; margin-top: 12px; }
.conversation-section { margin-top: 13px; padding-top: 10px; border-top: 1px solid #eef0ec; }
.conversation-section h4 { margin: 0 0 9px; color: #546259; font: 700 10px 'Manrope', sans-serif; }
.conversation-cell { min-width: 270px; max-width: 380px; }
.conversation-thread { display: grid; gap: 8px; max-height: 290px; overflow-y: auto; padding: 2px; }
.conversation-message { max-width: 95%; padding: 8px 10px; border: 1px solid #e6ebe4; border-radius: 7px; background: #f8faf7; }
.conversation-message.is-mine { justify-self: end; background: #edf5ee; }
.conversation-message-meta { display: flex; justify-content: space-between; gap: 12px; color: #546259; font-size: 9px; }
.conversation-message-meta span { color: #929b94; white-space: nowrap; }
.conversation-message p { margin: 5px 0 0; color: var(--ink); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.conversation-image { display: block; max-width: 120px; max-height: 90px; margin-top: 7px; object-fit: cover; }
.conversation-compose { display: grid; grid-template-columns: minmax(100px, 1fr) auto auto; gap: 6px; align-items: end; margin-top: 9px; }
.conversation-compose textarea { width: 100%; min-height: 38px; resize: vertical; border: 1px solid #dfe5dd; border-radius: 4px; padding: 7px; font: inherit; font-size: 10px; }
.conversation-compose .image-upload-control { max-width: 110px; }
.conversation-empty { margin: 4px 0; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.image-upload-control { display: grid; gap: 5px; color: #546259; font-size: 9px; font-weight: 700; }
.image-upload-control input { max-width: 100%; font-size: 9px; }
.image-upload-control small { color: #929c95; font-size: 8px; font-weight: 400; }
.proof-image { display: block; width: 64px; height: 50px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.job-proof-image, .activity-image { width: 150px; height: 100px; margin: 10px 0; }
.activity-image { border-radius: 5px; }
.image-preview { cursor: zoom-in; }
.image-preview:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.image-viewer { position: fixed; width: min(94vw, 1200px); max-width: 94vw; max-height: 94vh; padding: 44px 20px 14px; overflow: auto; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; background: #17221c; color: #f7faf5; box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.image-viewer::backdrop { background: rgba(10,16,12,.82); }
.image-viewer > img { display: block; width: 100%; max-height: calc(94vh - 100px); object-fit: contain; }
.image-viewer > p { margin: 10px 0 0; color: #d5dfd7; font-size: 12px; text-align: center; }
.image-viewer-close { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 23px; line-height: 1; cursor: pointer; }
.image-viewer-close:hover { background: rgba(255,255,255,.22); }
.verification-hint { color: #a35440; background: var(--coral-soft); padding: 9px 11px; border-radius: 4px; font-size: 10px; margin: 12px 0 0; }
.account-layout { display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.7fr); align-items: start; gap: 16px; }
.account-create .section-heading { margin-bottom: 18px; }
.account-create .button { margin-top: 3px; }
.small-copy { font-size: 9px; margin-top: 12px; line-height: 1.5; }
.role-tag { display: inline-block; padding: 5px 7px; border-radius: 3px; background: #edf2eb; color: #526e59; font-size: 9px; }
.role-admin { color: #785b24; background: #fff4d9; }.role-user { color: #597084; background: #eaf2f6; }
.access-state { font-size: 9px; }.access-on { color: #36774f; }.access-off { color: #b2624d; }
.account-actions { display: flex; gap: 10px; align-items: center; }
.account-actions form { display: inline; }
.text-button { padding: 3px 0; border: 0; color: var(--green); background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; }
.text-button:hover { text-decoration: underline; }.text-danger { color: #b65443; }
.notification-list { display: grid; }
.notification-row { min-height: 68px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #eef0ec; padding: 10px 7px; }
.notification-row:hover { background: #fafbf8; }.notification-unread { background: #f7faf5; }
.notification-symbol { flex: 0 0 29px; width: 29px; height: 29px; border: 1px solid #e4eae2; color: var(--green); border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.notification-unread .notification-symbol { color: #a7513d; background: var(--coral-soft); border-color: #f2d8cf; }
.notification-row > span:nth-child(2) { display: grid; gap: 5px; flex: 1; }
.notification-row strong { font-size: 10px; font-weight: 600; }.notification-row small { color: #929d95; font-size: 9px; }.notification-row > b { color: #95a197; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; padding: 15px 1px 3px; color: #9aa39c; font-size: 9px; }
.page-footer i { font-style: normal; padding: 0 4px; }.page-footer b { display: inline-block; width: 6px; height: 6px; background: #6ea56a; border-radius: 50%; margin-left: 3px; }
.auth-shell { min-height: 100vh; background: #f6f7f2; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, .95fr) minmax(440px, 1.05fr); }
.auth-story { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; padding: 36px clamp(30px, 6vw, 90px); background: #1d382a; color: #f2f6ef; display: flex; flex-direction: column; }
.auth-story::before { position: absolute; content: ''; z-index: -1; left: -200px; bottom: -430px; width: 850px; height: 650px; border: 1px solid rgba(218,240,160,.2); border-radius: 50%; box-shadow: 0 0 0 27px rgba(218,240,160,.025), 0 0 0 68px rgba(218,240,160,.025), 0 0 0 114px rgba(218,240,160,.02), 0 0 0 174px rgba(218,240,160,.02); }
.auth-story::after { position: absolute; content: ''; z-index: -1; inset: 0; background-image: radial-gradient(rgba(230,245,220,.12) .6px, transparent .6px); background-size: 17px 17px; opacity: .25; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.brand-light { padding: 0; }
.story-copy { margin: auto 0; padding: 60px 0 95px; max-width: 460px; animation: rise .55s both; }
.story-copy .eyebrow { color: #c9e88c; font-size: 9px; }
.story-copy h1 { font: 800 clamp(43px, 5.3vw, 69px)/1.07 'Manrope', sans-serif; margin: 16px 0 20px; letter-spacing: 0; }
.story-copy h1 em { color: #c9e88c; font-style: normal; }
.story-copy > p:last-child { max-width: 340px; color: #c1cec2; font-size: 13px; line-height: 1.8; }
.story-foot { position: absolute; left: clamp(30px, 6vw, 90px); bottom: 34px; color: #afc1b1; font-size: 9px; display: flex; align-items: center; gap: 8px; }
.live-pulse { width: 7px; height: 7px; background: #cae889; border-radius: 50%; box-shadow: 0 0 0 4px rgba(202,232,137,.12); }
.road-art { position: absolute; bottom: -70px; right: -23px; width: 245px; height: 250px; transform: rotate(-25deg); background: #f3f1dc; opacity: .11; border-radius: 48% 52% 0 0; }
.road-art span { position: absolute; inset: 0 auto 0 50%; border-left: 2px dashed #27523b; }
.road-art i, .road-art b { position: absolute; width: 100%; border-top: 1px solid #27523b; top: 37%; }.road-art b { top: 72%; }
.auth-panel { min-height: 100vh; display: grid; place-items: center; padding: 45px; background: radial-gradient(ellipse at 95% 5%, rgba(215,231,195,.32), transparent 35%), #f8f9f5; }
.auth-form-wrap { width: min(100%, 390px); animation: rise .45s both; }
.auth-form-wrap h2 { font: 800 26px 'Manrope', sans-serif; letter-spacing: 0; margin: 0 0 7px; }
.auth-form-wrap > .muted { margin-bottom: 25px; line-height: 1.65; }
.auth-form-wrap .flash { margin: 0 0 18px; }
.auth-switch { color: #7e8981; text-align: center; margin: 20px 0 0; font-size: 10px; }
.auth-switch a { color: var(--green); font-weight: 700; }
.auth-footnote { margin-top: 31px; border-top: 1px solid #e5e9e2; padding-top: 15px; text-align: center; color: #9ba49d; font-size: 9px; }
.auth-disclaimer { margin-top: 18px; color: #7e8981; font-size: 10px; line-height: 1.6; }
.auth-legal-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.auth-legal-links a { display: grid; min-height: 40px; place-items: center; padding: 8px 12px; border: 1px solid #dce6dd; border-radius: 6px; background: rgba(255,255,255,.72); color: var(--green-dark); font-size: 11px; font-weight: 700; text-align: center; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.auth-legal-links a:hover { border-color: #a8c9b2; background: #fff; transform: translateY(-1px); }
.auth-legal-links a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.auth-legal-links a[aria-current="page"] { border-color: #a8c9b2; background: var(--green-soft); }
.auth-form-policy { width: min(100%, 700px); }
.auth-back { display: inline-block; margin-bottom: 25px; color: var(--green); font-size: 11px; font-weight: 700; }
.auth-form-policy > .muted { margin-bottom: 25px; }
.auth-policy { color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.auth-policy section + section { margin-top: 22px; }
.auth-policy h3 { margin: 0 0 7px; color: var(--ink); font: 700 14px 'Manrope', sans-serif; }
.auth-policy p { margin: 0 0 10px; }
.auth-panel .form-stack { gap: 16px; }
.auth-panel .form-stack input { min-height: 43px; }
.auth-panel .form-stack label { gap: 7px; }
.account-edit { margin-top: 8px; padding: 8px; border: 1px solid #edf0eb; border-radius: 4px; white-space: normal; min-width: 220px; }
.account-edit summary { color: var(--green); font-size: 9px; font-weight: 700; cursor: pointer; }
.account-edit form { display: grid; gap: 6px; margin-top: 9px; }
.account-edit input, .account-edit select { min-height: 31px; font-size: 9px; padding: 5px 7px; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes arrive { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1120px) {
    .page-wrap { padding-inline: 28px; }.topbar { padding-inline: 28px; }
    .sidebar { width: 220px; }.main-panel { margin-left: 220px; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .dashboard-grid { grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); }
    .account-layout { grid-template-columns: 1fr; }.account-create { max-width: none; }
}
@media (max-width: 780px) {
    .sidebar { transform: translateX(-100%); transition: transform .22s ease; width: 260px; box-shadow: var(--shadow); }
    .sidebar.is-open { transform: translateX(0); }
    .main-panel { margin-left: 0; }.topbar { height: 58px; padding: 0 18px; gap: 9px; }
    .mobile-menu { display: grid; flex: 0 0 34px; }
    .crumb { flex: 1; gap: 7px; font-size: 10px; }.today-label { display: none; }.topbar-right { gap: 0; }
    .page-wrap { padding: 26px 18px 17px; }.page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 20px; gap: 13px; }
    .page-heading h1 { font-size: 29px; }.page-heading > .button { align-self: stretch; }
    .metric-grid { gap: 9px; }.metric { padding: 14px 12px 11px; }.metric > strong { font-size: 27px; }.metric-top { font-size: 10px; }.metric > small { font-size: 9px; }.metric > a { font-size: 9px; }
    .dashboard-grid, .reporting-layout { grid-template-columns: 1fr; }.recent-surface, .dispatch-surface { min-height: auto; padding: 16px; }
    .dispatch-surface { min-height: 320px; }.report-aside { grid-template-rows: minmax(170px,auto) auto; }
    .create-report, .table-surface, .account-create { padding: 15px; }.form-two { grid-template-columns: 1fr; gap: 13px; }
    .form-footer { align-items: flex-start; flex-direction: column; }.form-footer .button { width: 100%; }
    .page-footer { flex-direction: column; gap: 5px; }.table-surface .section-heading { align-items: flex-start; }
    .auth-layout { grid-template-columns: 1fr; }.auth-story { min-height: 275px; padding: 24px 24px 35px; }
    .auth-story::before { left: 25%; bottom: -500px; }.story-copy { padding: 38px 0 25px; margin: 0; }.story-copy h1 { font-size: 38px; margin: 10px 0; }.story-copy > p:last-child { max-width: 370px; font-size: 11px; margin-bottom: 0; }
    .story-foot { display: none; }.road-art { width: 165px; height: 190px; right: -65px; bottom: -110px; }
    .auth-panel { min-height: auto; padding: 43px 24px 52px; }.auth-form-wrap h2 { font-size: 23px; }
}
@media (max-width: 430px) {
    .page-wrap { padding-inline: 13px; }.topbar { padding-inline: 10px; }.metric-grid { grid-template-columns: 1fr 1fr; }
    .metric-top b { display: none; }.metric > strong { margin-top: 10px; font-size: 25px; }.metric { min-height: 151px; }
    .report-end .status-pill { max-width: 94px; overflow: hidden; text-overflow: ellipsis; }
    .report-row { gap: 8px; }.report-main strong { max-width: 160px; }
    .job-card { padding: 13px; }.job-meta { gap: 7px 12px; }.job-card-top { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }

body { font-size: 16px; }
.muted { color: #69766e; font-size: 14px; }
.eyebrow { font-size: 11px; }
.nav-link { font-size: 14px; }
.workspace-label { font-size: 11px; }
.help-card strong, .profile-meta strong, .today-label { font-size: 13px; }
.help-card span:last-child, .profile-meta span, .crumb { font-size: 12px; }
.page-heading h1 { font-size: clamp(30px, 2.4vw, 36px); }
.button { min-height: 44px; font-size: 14px; }
.button-small { min-height: 38px; font-size: 13px; }
.flash { font-size: 14px; }
.metric-top { font-size: 14px; }
.metric-top b { font-size: 11px; }
.metric > small, .metric > a { font-size: 13px; }
.section-heading h2 { font-size: 18px; }
.section-heading .eyebrow, .dispatch-head .eyebrow { font-size: 10px; }
.text-link, .report-main strong, .dispatch-step strong, .empty-state strong { font-size: 14px; }
.report-main small, .report-end small, .dispatch-step small { font-size: 12px; }
.status-pill { min-height: 26px; padding-inline: 9px; font-size: 12px; }
.dispatch-surface > p, .empty-state p, .aside-note p { font-size: 13px; }
.dispatch-surface h2 { font-size: 22px; }
.dispatch-step > span, .step-count { font-size: 13px; }
.form-stack label { font-size: 14px; }
.form-stack label small, .map-picker-heading span, .map-caption, .coordinate-fields label { font-size: 12px; }
.form-stack input, .form-stack textarea, .form-stack select, .assign-form select, .account-edit input, .account-edit select { min-height: 46px; font-size: 15px; }
.coordinate-fields input { min-height: 42px; font-size: 14px; }
.map-picker-heading strong { font-size: 13px; }
.table-count, .table-title, .job-location, .job-update summary, .notification-row strong, .verification-hint { font-size: 13px; }
th { font-size: 11px; }
td { font-size: 13px; }
.record-id { font-size: 11px; }
.table-title { max-width: 260px; }
td small, .job-meta, .conversation-empty, .conversation-message p, .conversation-message-meta, .conversation-compose textarea { font-size: 12px; }
.job-card h3 { font-size: 17px; }
.conversation-section h4 { font-size: 13px; }
.image-upload-control { font-size: 12px; }
.image-upload-control input { font-size: 12px; }
.image-upload-control small { font-size: 11px; }
.small-copy, .role-tag, .access-state, .text-button, .resolved-check { font-size: 12px; }
.notification-row small, .page-footer { font-size: 12px; }
.auth-form-wrap > .muted, .auth-policy { font-size: 14px; }
.auth-legal-links a { min-height: 46px; font-size: 14px; }
.auth-disclaimer { font-size: 13px; }
.auth-back { font-size: 14px; }
.auth-policy h3 { font-size: 16px; }
.story-copy > p:last-child { font-size: 15px; }
.auth-switch, .auth-footnote { font-size: 13px; }
.page-footer, .metric > small, .report-main small, .report-end small, .job-meta, td small, .notification-row small, .table-count { color: #68756d; }
th, .record-id { color: #68756d; }

@media (max-width: 780px) {
    .crumb { font-size: 12px; }
    .page-wrap { padding: 24px 16px 18px; }
    .page-heading h1 { font-size: 30px; }
    .metric-top { font-size: 12px; }
    .metric > small, .metric > a { font-size: 12px; }
    .report-main strong { font-size: 13px; }
    .report-main small, .report-end small { font-size: 12px; }
    .status-pill { font-size: 12px; }
    .form-stack input, .form-stack textarea, .form-stack select, .assign-form select, .account-edit input, .account-edit select { font-size: 16px; }
    .coordinate-fields { gap: 8px; }
    .map-picker-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
    .auth-layout { min-height: 100vh; }
    .auth-panel { padding: 36px 20px 44px; }
    .story-copy > p:last-child { font-size: 14px; }
    .conversation-compose { grid-template-columns: minmax(0, 1fr) auto; }
    .conversation-compose .image-upload-control { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 430px) {
    .topbar { padding-inline: 8px; }
    .page-wrap { padding-inline: 12px; }
    .metric-top { font-size: 12px; }
    .metric > small, .metric > a { font-size: 12px; }
    .report-main strong { max-width: 44vw; }
    .report-end .status-pill { max-width: 110px; }
    .table-surface { padding: 12px; }
    .auth-panel { padding-inline: 16px; }
    .auth-legal-links { gap: 8px; }
    .auth-legal-links a { min-height: 44px; padding-inline: 8px; font-size: 13px; }
}