:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --canvas: #f8fafc;
  --green: #2563eb;
  --green-dark: #0f172a;
  --green-pale: #eff6ff;
  --blue: #2563eb;
  --amber: #d9942f;
  --red: #d46a5d;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 0%, #e5f1e8, transparent 55%), var(--canvas); }
.auth-card { width: min(100%, 420px); padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 14px 45px #1833260d; }
.auth-brand { margin: 0 0 38px; color: var(--ink); }
.auth-card .eyebrow { margin-bottom: 9px; }
.auth-card h1 { margin: 0 0 10px; font-size: 25px; line-height: 1.2; }
.auth-description { margin: 0; color: #7f8c84; font-size: 12px; line-height: 1.65; }
.auth-button { width: 100%; min-height: 43px; margin-top: 23px; font-size: 12px; }
.auth-button:disabled { cursor: not-allowed; opacity: .58; }
.auth-button > span { font-size: 16px; font-weight: 700; }
.auth-message { margin: 14px 0 0; color: #9a563d; font-size: 11px; line-height: 1.6; }
.access-pending { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 13px; border: 1px solid #e8e0cb; border-radius: 8px; background: #fffaf1; color: #806e4d; }
.pending-mark { width: 18px; height: 18px; display: grid; flex: 0 0 18px; place-items: center; border: 1px solid #d3b777; border-radius: 50%; font-size: 11px; }
.access-pending strong { display: block; font-size: 11px; }
.access-pending p { margin: 4px 0 0; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.access-pending .text-button { margin-left: auto; }
.auth-footnote { margin: 21px 0 0; color: #96a198; font-size: 10px; line-height: 1.55; }
.account-email { max-width: 190px; overflow: hidden; color: #738178; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.sign-out-button { min-height: 29px; padding: 0 9px; font-size: 9px; }
.access-requests-panel { margin-top: 16px; }
.access-requests-list { display: grid; gap: 8px; }
.access-request-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border: 1px solid #edf1ee; border-radius: 8px; }
.access-request-person { min-width: 0; }
.access-request-person strong, .access-request-person small { display: block; overflow-wrap: anywhere; }
.access-request-person strong { color: #46574c; font-size: 10px; }
.access-request-person small { margin-top: 3px; color: #89968e; font-size: 9px; }
.access-request-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.access-request-actions .button { min-height: 30px; font-size: 9px; }
.access-request-actions .button:disabled { cursor: wait; opacity: .6; }
.access-requests-empty { margin: 0; padding: 12px 0; color: #89968e; font-size: 10px; }
.app-shell { min-height: 100vh; }
.sidebar { width: 246px; position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; flex-direction: column; padding: 25px 15px 15px; background: var(--green-dark); color: #f3f7f4; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 10px 44px; color: inherit; text-decoration: none; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; background: #b2d9c3; color: #10241d; font-family: Manrope, sans-serif; font-size: 21px; font-weight: 800; }
.brand-copy { display: grid; line-height: 1.06; }
.brand-copy strong { font-family: Manrope, sans-serif; font-size: 17px; letter-spacing: .8px; }
.brand-copy small { margin-top: 4px; color: #a2b2a9; font-size: 9px; font-weight: 700; letter-spacing: 2px; }
.workspace-label { margin: 0 11px 12px; color: #82978b; font-size: 9px; font-weight: 700; letter-spacing: 1.55px; }
.main-nav { display: grid; gap: 5px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: #bdc9c2; text-align: left; font-size: 12px; font-weight: 500; transition: background .18s ease, color .18s ease; }
.nav-item:hover { background: #1a362b; color: #fff; }
.nav-item.active { background: #264438; color: #fff; font-weight: 600; }
.nav-item.active::before { position: absolute; top: 10px; bottom: 10px; left: -15px; width: 3px; border-radius: 0 4px 4px 0; background: #a8d9bd; content: ""; }
.nav-icon { width: 18px; color: #93aa9c; text-align: center; font-size: 16px; }
.nav-item.active .nav-icon { color: #a8d9bd; }
.nav-count { margin-left: auto; color: #9eb7a8; font-size: 10px; }
.nav-alert { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #f0b65b; }
.sidebar-bottom { margin-top: auto; }
.sidebar-bottom > .nav-item { margin: -3px 0 19px; }
.sidebar-help { display: flex; align-items: flex-start; gap: 9px; margin: 0 1px 16px; padding: 11px 9px; border: 1px solid #2c463a; border-radius: 8px; background: #172e24; }
.help-icon { width: 15px; height: 15px; display: grid; flex: 0 0 15px; place-items: center; border: 1px solid #789584; border-radius: 50%; color: #b6c7bc; font-size: 10px; }
.sidebar-help strong, .sidebar-help small, .user-mini strong, .user-mini small { display: block; }
.sidebar-help strong { margin-bottom: 4px; color: #d8e2dc; font-size: 10px; }
.sidebar-help small { color: #8ea398; font-size: 9px; line-height: 1.4; }
.user-mini { display: flex; align-items: center; gap: 9px; padding: 13px 2px 2px; border-top: 1px solid #2a4136; }
.user-mini strong { max-width: 139px; overflow: hidden; color: #e5ece7; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.user-mini small { margin-top: 3px; color: #8fa298; font-size: 9px; }
.user-dots { margin-left: auto; color: #a6b6ad; font-weight: 700; letter-spacing: 1px; }
.avatar { width: 31px; height: 31px; display: inline-grid; flex: 0 0 31px; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; }
.avatar-dark { background: #325344; color: #dbede1; }
.avatar-green { width: 29px; height: 29px; background: #dff0e6; color: #256144; }
.main-area { min-height: 100vh; margin-left: 246px; }
.topbar { height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; border-bottom: 1px solid #edf0ed; background: #fff; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #89958f; font-size: 11px; }
.breadcrumb strong { color: #33433b; font-weight: 600; }
.crumb-divider { color: #c7d0ca; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.role-preview { display: inline-flex; align-items: center; gap: 6px; color: #849189; font-size: 8px; font-weight: 700; letter-spacing: .55px; white-space: nowrap; }
.role-preview select, .employee-picker-wrap select { min-height: 29px; padding: 4px 8px; border: 1px solid #e3eae5; border-radius: 6px; outline: 0; background: #fff; color: #506158; font-size: 9px; font-weight: 600; }
.role-preview select:focus, .employee-picker-wrap select:focus { border-color: #91bda3; box-shadow: 0 0 0 3px #dceee3; }
.data-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #f1dfbf; border-radius: 20px; background: #fffaf1; color: #a56d1d; font-size: 8px; font-weight: 700; letter-spacing: .65px; white-space: nowrap; }
.icon-button, .panel-menu { width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 8px; background: white; color: #62726a; font-size: 18px; line-height: 1; }
.icon-button:hover, .panel-menu:hover { background: #f5f8f5; }
.topbar-date { color: #7c8982; font-size: 10px; }
.mobile-menu { display: none; border: 0; background: transparent; color: var(--ink); font-size: 19px; }
.page-wrap { max-width: 1500px; margin: 0 auto; padding: 21px 36px 25px; }
.live-data-notice { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 10px 12px; border: 1px solid #dcebe1; border-radius: 8px; background: #f4faf6; color: #557261; font-size: 10px; line-height: 1.55; }
.live-data-notice strong { color: #315d43; }
.notice-mark { width: 16px; height: 16px; display: grid; flex: 0 0 16px; place-items: center; border: 1px solid #d3b777; border-radius: 50%; color: #99742e; font-size: 10px; }
.notice-dismiss { margin-left: auto; border: 0; background: transparent; color: #9a896b; font-size: 17px; }
.page-view { display: none; }
.page-view.active { display: block; animation: appear .2s ease; }
@keyframes appear { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.eyebrow { margin: 0 0 7px; color: #77877e; font-size: 9px; font-weight: 700; letter-spacing: 1.35px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 5px; color: #1b2a23; font-family: Manrope, "Segoe UI", sans-serif; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.9px; }
.heading-spark { margin-left: 3px; color: #d7a347; font-size: 18px; vertical-align: 3px; }
.page-subtitle { margin-bottom: 0; color: #8a9690; font-size: 11px; }
.button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; border: 1px solid transparent; border-radius: 7px; font-size: 10px; font-weight: 600; white-space: nowrap; transition: background .15s ease, transform .15s ease; }
.button:active { transform: translateY(1px); }
.button-primary { background: #176d4d; color: white; box-shadow: 0 2px 4px #176d4d17; }
.button-primary:hover { background: #10593e; }
.button-primary > span { font-size: 16px; font-weight: 400; }
.button-secondary { border-color: #e3eae5; background: #fff; color: #56665d; }
.button-secondary:hover { background: #f6f8f6; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 16px; }
.metric-card, .panel { border: 1px solid #e9eeeb; border-radius: 10px; background: #fff; box-shadow: 0 3px 10px #18332605; }
.metric-card { min-height: 121px; padding: 14px 15px 11px; }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: #77857d; font-size: 10px; }
.metric-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font-size: 13px; font-weight: 700; }
.icon-mint { background: #e9f5ee; color: #32865f; }
.icon-blue { background: #edf3fd; color: #628bce; }
.icon-amber { background: #fff5e5; color: #c9903e; }
.icon-red { background: #fff0ed; color: #cf776c; }
.metric-value { margin: 8px 0 5px; color: #21352a; font-family: Manrope, sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -1px; }
.metric-foot { display: flex; align-items: center; gap: 6px; color: #9aa49e; font-size: 9px; }
.metric-dot { width: 6px; height: 6px; display: inline-block; flex: 0 0 6px; border-radius: 50%; }
.dot-green { background: #42a476; }
.dot-blue { background: #6693dc; }
.dot-amber { background: #dda347; }
.dot-red { background: #d67568; }
.dot-gray { background: #bbc5bf; }
.business-performance { margin-bottom: 15px; }
.company-financial-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.company-financial-card { min-width: 0; padding: 13px; border: 1px solid #edf1ee; border-radius: 8px; background: #fcfdfc; }
.company-financial-brand { display: flex; align-items: center; gap: 9px; min-height: 33px; margin-bottom: 11px; }
.company-financial-logo { width: 54px; height: 34px; flex: 0 0 54px; object-fit: contain; object-position: left center; }
.company-financial-mark { width: 32px; height: 32px; display: grid; flex: 0 0 32px; place-items: center; border: 1px solid #dce9df; border-radius: 8px; background: #eff7f1; color: #32724f; font-size: 10px; font-weight: 800; }
.company-financial-brand strong { color: #35483b; font-size: 9px; line-height: 1.4; }
.company-financial-stats { display: grid; grid-template-columns: 1fr auto; gap: 7px 5px; align-items: baseline; }
.company-financial-stats span { color: #849189; font-size: 8px; }
.company-financial-stats strong { color: #53645a; font-size: 8px; font-weight: 600; text-align: right; }
.company-financial-stats .finance-emphasis { padding-top: 7px; border-top: 1px solid #edf1ee; color: #2c6948; font-size: 10px; }
.company-financial-stats .finance-negative { color: #ae5b4f; }
.finance-disclaimer { margin: 11px 1px 0; color: #929d96; font-size: 8px; line-height: 1.55; }
.company-costs-panel { margin-top: 15px; }
.company-cost-form { display: grid; grid-template-columns: 1.05fr 1.25fr .75fr 1.4fr .8fr auto auto; align-items: end; gap: 10px; margin-bottom: 8px; padding: 12px; border: 1px solid #edf1ee; border-radius: 8px; background: #fbfcfb; }
.company-cost-form label { display: grid; gap: 5px; min-width: 0; color: #637168; font-size: 9px; font-weight: 600; }
.company-cost-form input, .company-cost-form select { width: 100%; min-width: 0; min-height: 35px; padding: 8px 9px; border: 1px solid #e7ede9; border-radius: 6px; outline: 0; background: #fff; color: #405247; font-size: 9px; font-weight: 400; }
.company-cost-form input:focus, .company-cost-form select:focus { border-color: #91bda3; box-shadow: 0 0 0 3px #dceee3; }
.company-cost-form > .button { min-height: 35px; }
.project-finance-panel { margin-top: 15px; }
.project-forecast-form { display: grid; grid-template-columns: 1.2fr .8fr .9fr auto; align-items: end; gap: 10px; padding: 12px; border: 1px solid #edf1ee; border-radius: 8px; background: #fbfcfb; }
.project-forecast-form label { display: grid; gap: 5px; min-width: 0; color: #637168; font-size: 9px; font-weight: 600; }
.project-forecast-form input, .project-forecast-form select { width: 100%; min-width: 0; min-height: 35px; padding: 8px 9px; border: 1px solid #e7ede9; border-radius: 6px; outline: 0; background: #fff; color: #405247; font-size: 9px; font-weight: 400; }
.project-forecast-form > .button { min-height: 35px; }
.project-forecast-feedback { min-height: 12px; margin: 8px 1px; }
.finance-row-actions { display: flex; flex-wrap: wrap; gap: 4px; min-width: 120px; }
.finance-action-button, .finance-delete-button { padding: 5px 8px; border: 1px solid #e2eae4; border-radius: 6px; background: #fff; color: #56665d; font-size: 8px; cursor: pointer; white-space: nowrap; }
.finance-action-button:hover { border-color: #a8c8b2; background: #f2f8f4; }
.finance-action-button-primary { border-color: #d0e6d7; background: #f3faf5; color: #28734b; }
.finance-action-button-danger, .finance-delete-button { border-color: #f0dada; background: #fffafa; color: #a64a4a; }
.finance-action-button-danger:hover, .finance-delete-button:hover { border-color: #dbaaaa; background: #fff0f0; }
.company-costs-feedback { min-height: 12px; margin: 6px 1px 8px; }
.overview-grid, .lower-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(300px, 1fr); gap: 15px; margin-bottom: 15px; }
.panel { min-width: 0; padding: 17px 17px 15px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.panel-heading h2 { margin-bottom: 4px; color: #2b3b32; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: -.2px; }
.panel-heading p { margin: 0; color: #9aa49e; font-size: 9px; }
.text-button { padding: 2px 0; border: 0; background: transparent; color: #39805e; font-size: 9px; font-weight: 600; white-space: nowrap; }
.text-button:hover { color: #185b3d; }
.text-button span { margin-left: 3px; font-size: 12px; }
.chart-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chart-summary > div:first-child { display: grid; gap: 2px; }
.chart-summary strong { color: #20352a; font-family: Manrope, sans-serif; font-size: 20px; }
.chart-summary > div:first-child span { color: #929d96; font-size: 9px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 11px; }
.chart-legend span, .attendance-stats span { display: flex; align-items: center; gap: 5px; color: #818e86; font-size: 8px; }
.chart-legend i, .attendance-stats i { width: 6px; height: 6px; border-radius: 2px; }
.legend-green { background: #4a9a71; }
.legend-blue { background: #799bd2; }
.legend-gray { background: #d9e0dc; }
.legend-amber { background: #e0ad55; }
.progress-chart { height: 111px; display: grid; grid-template-columns: repeat(7, minmax(12px, 1fr)); align-items: end; gap: clamp(12px, 2.2vw, 24px); padding: 15px 15px 0; border-bottom: 1px solid #e7ece9; background: repeating-linear-gradient(to bottom, transparent 0, transparent 26px, #eff3f0 27px, transparent 28px); }
.bar-group { height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.bar { width: min(17px, 25%); min-height: 4px; border-radius: 3px 3px 0 0; }
.bar.complete { background: #72b28c; }
.bar.progress { background: #94afd9; }
.bar.scheduled { background: #e1e7e3; }
.chart-axis { display: flex; justify-content: space-between; padding: 7px 8px 0; color: #a2aca6; font-size: 8px; }
.attendance-content { min-height: 125px; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 36px); }
.attendance-ring { width: 116px; height: 116px; display: grid; flex: 0 0 116px; place-items: center; border-radius: 50%; background: conic-gradient(#50a278 0 74%, #e6b256 74% 88%, #e7ece9 88% 100%); }
.attendance-ring::before { width: 83px; height: 83px; grid-area: 1 / 1; border-radius: 50%; background: #fff; content: ""; }
.attendance-ring > div { z-index: 1; grid-area: 1 / 1; display: grid; gap: 1px; text-align: center; }
.attendance-ring strong { color: #293b31; font-family: Manrope, sans-serif; font-size: 21px; }
.attendance-ring span { color: #96a199; font-size: 8px; }
.attendance-stats { display: grid; gap: 9px; min-width: 105px; }
.attendance-stats > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.attendance-stats strong { color: #53645a; font-size: 10px; }
.attendance-stats .text-button { justify-self: start; margin-top: 4px; }
.attendance-note { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eff2f0; color: #98a39c; font-size: 8px; }
.table-panel { padding-bottom: 5px; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 9px 9px; border-bottom: 1px solid #edf1ee; color: #9aa49e; font-size: 8px; font-weight: 600; letter-spacing: .5px; white-space: nowrap; }
td { padding: 11px 9px; border-bottom: 1px solid #f0f3f1; color: #67756d; font-size: 9px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.job-title { display: flex; align-items: center; gap: 8px; min-width: 155px; }
.job-symbol { width: 27px; height: 27px; display: grid; flex: 0 0 27px; place-items: center; border-radius: 7px; background: #f0f5f1; color: #438063; font-size: 10px; }
.job-title strong, .job-title small, .person-cell strong, .person-cell small { display: block; }
.job-title strong, .person-cell strong { max-width: 180px; overflow: hidden; color: #35463c; font-size: 9px; font-weight: 600; text-overflow: ellipsis; }
.job-title small, .person-cell small { margin-top: 3px; color: #a1aaa4; font-size: 8px; }
.progress-cell { min-width: 100px; }
.progress-cell > div { display: flex; align-items: center; gap: 7px; }
.mini-progress { width: 62px; height: 5px; overflow: hidden; border-radius: 8px; background: #edf1ee; }
.mini-progress span { height: 100%; display: block; border-radius: inherit; background: #69a985; }
.progress-cell small { color: #859189; font-size: 8px; }
.progress-edit-button { padding: 3px 6px; border: 1px solid #dce7df; border-radius: 5px; background: #fff; color: #427554; font-size: 9px; font-weight: 600; cursor: pointer; }
.progress-edit-button:hover, .progress-edit-button:focus-visible { border-color: #75a888; background: #f2f8f4; }
.pic-picker { position: relative; min-width: 0; margin: 0; }
.pic-picker-label { display: grid; gap: 4px; margin-bottom: 6px; color: #637168; font-size: 9px; font-weight: 600; }
.pic-picker-label small { color: #818e85; font-size: 10px; font-weight: 400; }
.pic-dropdown { position: relative; }
.pic-dropdown-toggle { width: 100%; min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border: 1px solid #e1e8e3; border-radius: 6px; background: #fff; color: #405247; font: inherit; font-size: 10px; text-align: left; cursor: pointer; }
.pic-dropdown-toggle:hover, .pic-dropdown-toggle[aria-expanded="true"] { border-color: #91bda3; box-shadow: 0 0 0 3px #dceee3; }
.pic-dropdown-toggle > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pic-dropdown-chevron { color: #53645a; font-size: 15px; }
.pic-checkbox-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; max-height: min(360px, 55vh); overflow-y: auto; padding: 8px; border: 1px solid #dfe8e1; border-radius: 8px; background: #fff; box-shadow: 0 10px 25px #10241d24; }
.pic-checkbox-list[hidden] { display: none; }
.pic-search-label { position: sticky; top: -8px; z-index: 1; grid-column: 1 / -1; display: grid !important; gap: 5px !important; padding: 5px 2px 9px; background: #fff; color: #637168 !important; font-size: 9px !important; font-weight: 600 !important; }
.pic-search-label input { width: 100%; min-height: 35px; padding: 8px 9px; border: 1px solid #e1e8e3; border-radius: 6px; outline: 0; color: #405247; font-size: 11px; font-weight: 400; }
.pic-search-label input:focus { border-color: #91bda3; box-shadow: 0 0 0 3px #dceee3; }
.pic-checkbox-option { display: flex !important; align-items: center; gap: 9px !important; width: 100%; min-width: 0; padding: 8px; border: 1px solid transparent; border-radius: 6px; color: #506158 !important; font-size: 10px !important; font-weight: 500 !important; cursor: pointer; }
.pic-checkbox-option:hover { background: #f5f8f5; }
.pic-checkbox-option:has(input:checked) { border-color: #d5e7db; background: #f3f9f5; }
.pic-checkbox-option input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: #438063; }
.job-dialog .pic-checkbox-option input[type="checkbox"] { width: 16px; min-width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; border: 0; border-radius: 3px; background: transparent; box-shadow: none; }
.pic-option-copy { display: grid; gap: 2px; min-width: 0; line-height: 1.3; overflow-wrap: normal; word-break: normal; }
.pic-option-copy strong { color: #34483b; font-size: 11px; font-weight: 700; }
.pic-option-copy small { color: #7b8980; font-size: 9px; font-weight: 400; overflow-wrap: break-word; }
.pic-option-copy .pic-option-phone { color: #397654; font-size: 10px; font-weight: 600; letter-spacing: .15px; }
.pic-checkbox-option[hidden], .pic-search-empty[hidden] { display: none !important; }
.pic-search-empty { margin: 0; padding: 12px 7px; color: #7b8980; font-size: 10px; text-align: center; }
.pic-dropdown-actions { grid-column: 1 / -1; position: sticky; bottom: -8px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 9px; padding: 9px 0 0; border-top: 1px solid #edf1ee; background: #fff; }
.pic-selected-count { color: #66766c; font-size: 9px; }
.pic-dropdown-actions .button { min-height: 28px; padding: 5px 10px; font-size: 9px; }
.pic-dropdown-actions .text-button { padding: 5px; color: #607066; font-size: 9px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 12px; font-size: 8px; font-weight: 600; }
.status-pill::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.status-progress { background: #edf3ff; color: #6285c2; }
.status-scheduled, .status-pending { background: #fff5e6; color: #ae7b30; }
.status-on-hold { background: #fff0ed; color: #bd665b; }
.status-completed, .status-present, .status-filed, .status-approved { background: #eaf5ee; color: #42805a; }
.status-leave, .status-review { background: #fff4e6; color: #b48138; }
.status-absent, .status-overdue, .status-rejected { background: #fff0ed; color: #bd665b; }
.compliance-list { display: grid; }
.compliance-row { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 12px 1px; border-bottom: 1px solid #eff2f0; }
.compliance-row:last-child { border-bottom: 0; }
.compliance-label { display: flex; align-items: center; gap: 9px; min-width: 0; }
.compliance-icon { width: 28px; height: 28px; display: grid; flex: 0 0 28px; place-items: center; border-radius: 8px; background: #f2f6f3; color: #537863; font-size: 9px; font-weight: 700; }
.compliance-label strong { display: block; color: #45554b; font-size: 9px; font-weight: 600; }
.compliance-label small { display: block; margin-top: 3px; color: #a0aaa3; font-size: 8px; }
.compliance-row > .status-pill { flex: 0 0 auto; }
.full-panel { padding: 18px 18px 10px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 12px; }
.filter-tabs { display: flex; align-items: center; gap: 5px; overflow-x: auto; }
.filter-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 9px; border: 0; border-radius: 6px; background: transparent; color: #849189; font-size: 9px; white-space: nowrap; }
.filter-tab.active { background: #edf5f0; color: #397457; font-weight: 600; }
.filter-tab span { padding: 2px 5px; border-radius: 8px; background: #fff; color: #87938b; font-size: 8px; }
.job-search-fields { display: flex; gap: 8px; }
.search-box { min-width: 170px; display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #e8eeea; border-radius: 7px; color: #9aa69f; }
.search-box span { font-size: 15px; line-height: 12px; }
.search-box input { width: 100%; border: 0; outline: 0; color: #46554b; font-size: 9px; }
.search-box input::placeholder { color: #a3aca6; }
.empty-state { padding: 25px !important; color: #95a198; text-align: center; }
.claim-action, .attendance-action, .obligation-action { padding: 5px 8px; border: 1px solid #e5ebe7; border-radius: 6px; background: #fff; color: #53725f; font-size: 8px; font-weight: 600; }
.claim-action:hover, .attendance-action:hover, .obligation-action:hover { border-color: #b9d4c2; background: #f6fbf7; }
.heading-chip { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #eee9dc; border-radius: 7px; background: #fffdf7; color: #8e7956; font-size: 9px; }
.clocking-guide { margin-bottom: 15px; }
.clocking-guide .panel-heading { align-items: center; }
.clocking-notice { margin-bottom: 13px; padding: 10px 12px; border: 1px solid #e9efeb; border-radius: 7px; background: #f8faf8; color: #77857c; font-size: 9px; line-height: 1.65; }
.clocking-notice strong { color: #43594a; }
.clocking-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.clocking-option { min-width: 0; padding: 14px; border: 1px solid #e9efeb; border-radius: 8px; }
.clocking-option-heading { display: flex; align-items: center; gap: 10px; }
.clocking-icon { width: 32px; height: 32px; display: grid; flex: 0 0 32px; place-items: center; border-radius: 9px; background: #eaf5ee; color: #43805e; font-size: 15px; }
.clocking-icon-web { background: #edf3fd; color: #6285c2; }
.clocking-option-heading h3 { margin: 0 0 4px; color: #35473b; font-size: 11px; }
.clocking-option-heading p { margin: 0; color: #929e96; font-size: 8px; }
.clocking-steps { display: grid; gap: 11px; margin: 15px 0 12px; padding: 0; list-style: none; }
.clocking-steps li { display: grid; grid-template-columns: 19px minmax(0, 1fr); align-items: start; gap: 8px; color: #78867d; font-size: 9px; line-height: 1.55; }
.clocking-steps li > span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #f0f5f1; color: #55745f; font-size: 8px; font-weight: 700; }
.clocking-steps strong { color: #465a4b; }
.clocking-foot { display: flex; align-items: flex-start; gap: 7px; padding-top: 10px; border-top: 1px solid #eff2f0; color: #818f86; font-size: 8px; line-height: 1.5; }
.clocking-foot .metric-dot { margin-top: 3px; }
.clocking-disclaimer { margin: 12px 0 0; color: #9aa49d; font-size: 8px; line-height: 1.55; }
.employee-picker-wrap { display: grid; gap: 5px; color: #849189; font-size: 8px; font-weight: 700; letter-spacing: .5px; }
.employee-picker-wrap select { min-width: 185px; }
.employee-live-notice { margin: -6px 0 14px; padding: 9px 11px; border: 1px solid #dcebe1; border-radius: 7px; background: #f4faf6; color: #557261; font-size: 9px; line-height: 1.5; }
.employee-clock-card { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(155px, .9fr) auto; align-items: center; gap: 18px; margin-bottom: 13px; padding: 20px; background: linear-gradient(115deg, #fff 0%, #f6faf7 100%); }
.employee-clock-copy .eyebrow { margin-bottom: 8px; }
.employee-clock-copy h2 { margin: 0 0 5px; color: #263b2e; font-family: Manrope, sans-serif; font-size: 18px; }
.employee-clock-copy > p:last-child { margin: 0; color: #89968e; font-size: 9px; line-height: 1.5; }
.employee-clock-copy > .attendance-location-result { margin-top: 7px; color: #66776c; font-size: 9px; }
.employee-clock-times { display: flex; justify-content: center; gap: 20px; }
.employee-clock-times > div { display: grid; gap: 5px; }
.employee-clock-times span { color: #99a39d; font-size: 8px; }
.employee-clock-times strong { color: #4b5d51; font-family: Manrope, sans-serif; font-size: 15px; }
.employee-clock-button { min-width: 105px; min-height: 39px; }
.employee-clock-button:disabled { cursor: not-allowed; opacity: .58; }
.attendance-review-action { color: #326d4b; font: inherit; font-size: 10px; }
.attendance-review-action { padding: 6px 9px; border: 1px solid #d8e8dc; border-radius: 7px; background: #f3faf4; cursor: pointer; }
.attendance-review-action:disabled { cursor: wait; opacity: .6; }
.job-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.job-delete-action { display: inline-grid; width: 29px; height: 29px; place-items: center; border: 1px solid #f0dada; border-radius: 7px; background: #fffafa; color: #a64a4a; font-size: 13px; cursor: pointer; }
.job-delete-action:hover { border-color: #dbaaaa; background: #fff0f0; }
.employee-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 13px; }
.employee-metric-grid .metric-card { min-height: 108px; }
.employee-metric-text { overflow-wrap: anywhere; font-size: clamp(16px, 2vw, 23px); letter-spacing: -.5px; }
.result-positive { color: #32815b; }
.result-attention { color: #b47c2d; }
.motivation-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: linear-gradient(110deg, #f5f8ef, #fbfaf4); }
.motivation-emblem { width: 38px; height: 38px; display: grid; flex: 0 0 38px; place-items: center; border-radius: 11px; background: #e8efdc; color: #72884e; font-size: 20px; }
.motivation-card .eyebrow { margin-bottom: 6px; color: #7a8661; }
.motivation-card h2 { margin: 0 0 6px; color: #39452f; font-family: Manrope, sans-serif; font-size: 14px; line-height: 1.5; }
.motivation-card > div:last-child > p:last-child { margin: 0; color: #92977e; font-size: 8px; line-height: 1.5; }
.employee-policy-note { margin: 10px 2px 0; color: #9aa49d; font-size: 8px; line-height: 1.55; }
.compliance-callout { margin: -5px 0 16px; padding: 11px 13px; border-left: 3px solid #d6a34e; border-radius: 5px; background: #fffaf1; color: #8d7753; font-size: 9px; line-height: 1.6; }
.compliance-callout strong { color: #70572f; }
.compliance-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 11px; margin-bottom: 8px; padding: 13px; border: 1px solid #edf1ee; border-radius: 8px; background: #fbfcfb; }
.compliance-form label { display: grid; gap: 5px; color: #637168; font-size: 9px; font-weight: 600; }
.compliance-form input, .compliance-form select, .compliance-form textarea { width: 100%; min-height: 35px; padding: 8px 9px; border: 1px solid #e7ede9; border-radius: 6px; outline: 0; background: #fff; color: #405247; font-size: 9px; font-weight: 400; }
.compliance-form textarea { resize: vertical; }
.compliance-form input:focus, .compliance-form select:focus, .compliance-form textarea:focus { border-color: #91bda3; box-shadow: 0 0 0 3px #dceee3; }
.compliance-form > button { justify-self: start; }
.compliance-form + .admin-data-feedback { min-height: 12px; margin: 7px 1px 10px; }
.compliance-guidance { grid-column: 1 / -1; margin: -2px 0 0; color: #78877e; font-size: 10px; line-height: 1.6; }
.compliance-reminder-fields { display: contents; }
.compliance-reminder-fields[hidden], .sst-workspace[hidden], .sst-tool-panel[hidden], .sst-result[hidden], .obligation-grid[hidden], .compliance-reminders-heading[hidden], .sst-adjustment-grid [hidden] { display: none !important; }
.sst-workspace { margin-top: 16px; padding: 18px; border: 1px solid #e6eee9; border-radius: 12px; background: #fcfdfc; }
.sst-workspace-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sst-workspace-heading h3 { margin: 0 0 4px; color: #31483b; font-size: 16px; }
.sst-workspace-heading p, .sst-tool-intro { margin: 0; color: #7d8a82; font-size: 11px; line-height: 1.55; }
.sst-workflow-label { display: grid; max-width: 460px; gap: 6px; color: #53665b; font-size: 11px; font-weight: 600; }
.sst-workflow-label select, .sst-tool-panel select, .sst-tool-panel input { min-height: 40px; padding: 9px 11px; border: 1px solid #e4e9e6; border-radius: 9px; background: #fff; color: var(--ink); font-size: 12px; }
.sst-tool-panel { margin-top: 18px; padding: 17px; border: 1px solid #e9efeb; border-radius: 10px; background: #fff; }
.sst-tool-panel h4 { margin: 0 0 7px; color: #344c3d; font-size: 14px; }
.sst-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 12px; margin-top: 14px; }
.sst-form label, .sst-tool-panel > label { display: grid; gap: 6px; color: #5b6d62; font-size: 10px; font-weight: 600; }
.sst-form > button, .sst-form-row, .sst-line-heading, .sst-lines, .sst-caution, .sst-adjustment-grid, .sst-nil-choice, .sst-result, .sst-preparation-note, .sst-source-links { grid-column: 1 / -1; }
.sst-form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sst-line-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 4px; color: #4a6052; font-size: 11px; }
.sst-line-heading span { color: #8a968e; font-size: 9px; }
.sst-lines { display: grid; gap: 8px; }
.sst-line-item { display: grid; grid-template-columns: minmax(145px, .75fr) repeat(2, minmax(120px, 1fr)) auto; align-items: end; gap: 9px; padding: 11px; border: 1px solid #edf1ee; border-radius: 9px; background: #fbfcfb; }
.sst-line-item label { display: grid; gap: 5px; color: #68786e; font-size: 9px; font-weight: 600; }
.sst-line-item input, .sst-line-item select { min-width: 0; min-height: 38px; padding: 8px; border: 1px solid #e4e9e6; border-radius: 8px; background: #fff; font-size: 11px; }
.sst-caution { margin: 0; color: #87724e; font-size: 10px; line-height: 1.55; }
.sst-adjustment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sst-adjustment-grid label { display: grid; gap: 5px; color: #5b6d62; font-size: 10px; font-weight: 600; }
.sst-adjustment-grid small { color: #8a968e; font-size: 9px; font-weight: 400; }
.sst-nil-choice { display: flex; align-items: center; gap: 8px; color: #53665b; font-size: 10px; }
.sst-nil-choice input { width: 16px; min-height: 16px; }
.sst-result { margin-top: 14px; padding: 14px; border: 1px solid #dfeae3; border-radius: 9px; background: #f7fbf8; color: #53665b; font-size: 10px; line-height: 1.6; }
.sst-result h5 { margin: 0 0 7px; color: #304c3b; font-size: 12px; }
.sst-result p { margin: 7px 0; }
.sst-result ul, .sst-preparation-note ul { margin: 6px 0 8px; padding-left: 18px; }
.sst-result a, .sst-source-links a { color: #28714b; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sst-result a { display: inline-block; margin-top: 6px; }
.sst-warning { color: #a64e37; }
.sst-table-wrap { overflow-x: auto; margin: 10px 0; }
.sst-summary-table { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; font-size: 9px; text-align: right; }
.sst-summary-table th, .sst-summary-table td { padding: 8px; border: 1px solid #e8eee9; white-space: nowrap; }
.sst-summary-table th:first-child { text-align: left; }
.sst-preparation-note { margin-top: 13px; padding: 12px; border-radius: 8px; background: #f6f8f6; color: #68786e; font-size: 10px; line-height: 1.55; }
.sst-preparation-note strong { color: #405748; }
.sst-source-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 10px; }
.role-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; }
.role-choice legend { margin-bottom: 6px; padding: 0; color: #637168; font-size: 10px; font-weight: 600; }
.role-choice label { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid #e7ede9; border-radius: 8px; cursor: pointer; }
.role-choice label:has(input:checked) { border-color: #91bda3; background: #f1f8f3; }
.role-choice span { display: grid; }
.role-choice small { color: #89968e; font-size: 9px; }
#client-reports-body select, #rectifications-body select { min-height: 30px; padding: 4px 6px; border: 1px solid #e7ede9; border-radius: 6px; background: #fff; font-size: 9px; }
.obligation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding: 2px 0 5px; }
.obligation-card { padding: 14px; border: 1px solid #edf1ee; border-radius: 8px; }
.obligation-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.obligation-card h3 { margin: 0 0 4px; color: #3b4d42; font-size: 11px; }
.obligation-card p { margin: 0; color: #9ba59e; font-size: 8px; line-height: 1.5; }
.obligation-date { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 10px; border-top: 1px solid #f0f3f1; color: #86938a; font-size: 8px; }
.obligation-actions { display: flex; gap: 6px; }
.profile-layout { display: grid; grid-template-columns: minmax(240px, .78fr) minmax(0, 1.65fr); align-items: start; gap: 15px; }
.profile-card { overflow: hidden; padding: 0 17px 14px; }
.profile-cover { height: 85px; margin: 0 -17px; background: linear-gradient(115deg, #17392c 0%, #397759 58%, #b7d2b4 100%); }
.profile-identity { display: flex; align-items: center; gap: 11px; margin-top: -23px; }
.profile-logo { width: 48px; height: 48px; display: grid; place-items: center; border: 3px solid white; border-radius: 12px; background: #dceee2; color: #286045; font-family: Manrope, sans-serif; font-size: 15px; font-weight: 800; }
.profile-identity h2 { margin: 19px 0 3px; color: #34453a; font-size: 12px; }
.profile-identity p { margin: 0; color: #929e96; font-size: 8px; }
.profile-description { margin: 16px 0; color: #75837a; font-size: 9px; line-height: 1.6; }
.profile-detail { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid #eff2f0; }
.profile-detail span { color: #a0aaa3; font-size: 8px; }
.profile-detail strong { overflow-wrap: anywhere; color: #4c5e52; font-size: 9px; font-weight: 500; }
.profile-form-panel .panel-heading { margin-bottom: 18px; }
.profile-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.profile-form label, .job-dialog label { display: grid; gap: 6px; color: #637168; font-size: 9px; font-weight: 600; }
.profile-form input, .profile-form textarea, .job-dialog input, .job-dialog select { width: 100%; min-height: 35px; padding: 8px 9px; border: 1px solid #e7ede9; border-radius: 6px; outline: 0; background: #fff; color: #405247; font-size: 9px; font-weight: 400; }
.profile-form textarea { resize: vertical; }
.profile-form input:focus, .profile-form textarea:focus, .job-dialog input:focus, .job-dialog select:focus { border-color: #91bda3; box-shadow: 0 0 0 3px #dceee3; }
.profile-form input::placeholder, .profile-form textarea::placeholder, .job-dialog input::placeholder { color: #a6afa9; }
.form-span { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 2px; }
.save-message { color: #3b835b; font-size: 9px; }
.page-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 12px; border-top: 1px solid #e9eeeb; color: #a2aca5; font-size: 8px; }
.footer-separator { margin: 0 4px; color: #ccd4ce; }
.job-dialog { width: min(520px, calc(100vw - 28px)); max-height: 94vh; padding: 0; overflow-y: auto; border: 1px solid #e5ebe7; border-radius: 13px; background: #fff; box-shadow: 0 20px 65px #10241d30; }
.job-dialog::backdrop { background: #10241d70; backdrop-filter: blur(2px); }
.job-dialog form { display: grid; gap: 13px; padding: 22px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; }
.dialog-heading h2 { margin: 0; color: #23372b; font-family: Manrope, sans-serif; font-size: 18px; }
.dialog-close { width: 28px; height: 28px; border: 0; border-radius: 6px; background: #f5f7f5; color: #738077; font-size: 19px; }
.dialog-note { margin: -5px 0 0; color: #969f99; font-size: 9px; }
.job-dialog label { gap: 6px; }
.job-dialog textarea { width: 100%; min-height: 52px; padding: 8px 9px; border: 1px solid #e7ede9; border-radius: 6px; outline: 0; background: #fff; color: #405247; font-size: 9px; resize: vertical; }
.job-dialog textarea:focus { border-color: #91bda3; box-shadow: 0 0 0 3px #dceee3; }
.job-dialog small { color: #89968e; font-size: 8px; font-weight: 400; }
.job-dialog .job-unassigned-toggle { display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; border: 1px solid #e4eee7; border-radius: 8px; background: #f8fbf9; cursor: pointer; }
.job-dialog .job-unassigned-toggle > span { display: flex; align-items: center; gap: 7px; color: #506158; font-size: 10px; font-weight: 600; }
.job-dialog .job-unassigned-toggle input[type="checkbox"] { width: 16px; min-width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; border: 1px solid #b9c9bf; border-radius: 4px; box-shadow: none; accent-color: #5d9b78; }
.job-dialog .job-unassigned-toggle small { margin-left: auto; max-width: 180px; line-height: 1.35; text-align: right; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 5px; }
.toast { position: fixed; right: 22px; bottom: 20px; z-index: 10; max-width: calc(100vw - 40px); padding: 11px 14px; transform: translateY(12px); border-radius: 8px; background: #1d3327; box-shadow: 0 5px 20px #13291e30; color: #fff; font-size: 10px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { transform: translateY(0); opacity: 1; }
.hr-overview-panel { margin-top: 15px; }
.hr-overview-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.hr-summary-card { display: grid; gap: 6px; min-height: 82px; padding: 12px 13px; border: 1px solid #e8eee9; border-radius: 8px; background: #fbfdfb; }
.hr-summary-card > span { color: #748178; font-size: 9px; font-weight: 600; }
.hr-summary-card > strong { color: #294536; font-family: Manrope, sans-serif; font-size: 20px; letter-spacing: -.03em; }
.hr-summary-card > small { color: #99a59d; font-size: 8px; line-height: 1.35; }

.calendar-panel, .people-requests-panel { margin-bottom: 15px; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.calendar-toolbar h2 { margin: 0 0 4px; color: #2b3b32; font-family: Manrope, sans-serif; font-size: 16px; }
.calendar-toolbar p { margin: 0; color: #929e96; font-size: 9px; }
.calendar-nav { display: flex; align-items: center; gap: 6px; }
.calendar-nav .button { min-height: 31px; font-size: 9px; }
.calendar-step { width: 31px; height: 31px; border: 1px solid #e3eae5; border-radius: 7px; background: #fff; color: #53645a; font-size: 20px; line-height: 1; }
.calendar-step:hover { background: #f6f8f6; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 10px; color: #7d8a82; font-size: 8px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-legend i { width: 8px; height: 8px; border-radius: 3px; }
.legend-team { background: #82b89a; }
.legend-leave { background: #d6b5ec; }
.legend-overtime { background: #efc477; }
.calendar-scroll { width: 100%; overflow-x: auto; }
.calendar-grid { min-width: 690px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid #edf1ee; border-left: 1px solid #edf1ee; }
.calendar-weekday { padding: 9px 7px; border-right: 1px solid #edf1ee; border-bottom: 1px solid #edf1ee; background: #f9fbf9; color: #86938b; font-size: 8px; font-weight: 700; text-align: center; text-transform: uppercase; }
.calendar-day { min-width: 0; min-height: 110px; padding: 6px; border-right: 1px solid #edf1ee; border-bottom: 1px solid #edf1ee; background: #fff; }
.calendar-day.is-outside { background: #fafbfa; }
.calendar-day.is-today { background: #f4faf6; box-shadow: inset 0 0 0 1px #a6cfb4; }
.calendar-day.is-selected { box-shadow: inset 0 0 0 2px #4b9569; }
.calendar-day[data-calendar-date] { cursor: pointer; }
.calendar-day[data-calendar-date]:focus-visible { outline: 2px solid #4b9569; outline-offset: -2px; }
.calendar-day-number { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; color: #56665d; font-size: 9px; font-weight: 700; }
.calendar-day-count { min-width: 15px; padding: 2px 4px; border-radius: 8px; background: #edf4ef; color: #527562; text-align: center; font-size: 7px; }
.calendar-day.is-outside .calendar-day-number { color: #b8c0bb; }
.calendar-event-list { display: grid; align-content: start; gap: 3px; }
.calendar-event { min-width: 0; display: grid; gap: 3px; padding: 5px 6px; overflow: hidden; border-left: 3px solid hsl(var(--event-hue, 145) 38% 48%); border-radius: 4px; background: hsl(var(--event-hue, 145) 42% 95%); color: #34483b; font-size: 10px; line-height: 1.3; }
.calendar-event.team-event { width: 100%; appearance: none; border: 0; border-left: 3px solid hsl(var(--event-hue, 145) 38% 48%); text-align: left; cursor: pointer; }
.calendar-event.team-event:hover { filter: brightness(.97); }
.calendar-event.team-event:focus-visible { outline: 2px solid #4b9569; outline-offset: 1px; }
.calendar-event strong, .calendar-event span { min-width: 0; overflow-wrap: anywhere; }
.calendar-event strong { font-weight: 700; }
.calendar-pic-list { display: flex; flex-wrap: wrap; gap: 2px; }
.calendar-pic { width: fit-content; max-width: 100%; padding: 2px 5px; border-radius: 6px; background: hsl(var(--pic-hue, 210) 45% 91%); color: hsl(var(--pic-hue, 210) 42% 28%); font-size: 9px; }
.calendar-pic-more { align-self: center; color: #405247; font-size: 9px; font-weight: 600; }
.calendar-event.event-leave { border-left-color: #a779c7; background: #f7f0fb; }
.calendar-event.event-overtime { border-left-color: #d69a37; background: #fff8e9; }
.calendar-more { padding: 2px 3px; color: #637168; font-size: 9px; }
.calendar-agenda { margin-top: 16px; padding-top: 13px; border-top: 1px solid #edf1ee; }
.calendar-agenda .panel-heading { margin-bottom: 10px; }
.calendar-agenda h3 { margin: 0 0 3px; color: #34463b; font-size: 12px; }
.calendar-agenda .panel-heading p { margin: 0; color: #929e96; font-size: 8px; }
.calendar-agenda-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); gap: 9px; }
.calendar-agenda-item { display: grid; gap: 7px; min-width: 0; padding: 11px; border: 1px solid #e9eeeb; border-radius: 8px; background: #fff; }
.calendar-agenda-item > strong, .calendar-agenda-heading strong { color: #405247; font-size: 11px; }
.calendar-agenda-item > span, .calendar-agenda-heading span, .calendar-agenda-reminder { color: #69786f; font-size: 10px; }
.calendar-agenda-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; }
.calendar-agenda-item dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 9px; margin: 0; }
.calendar-agenda-item dl > div { min-width: 0; }
.calendar-agenda-item dt { color: #68776e; font-size: 9px; }
.calendar-agenda-item dd { margin: 2px 0 0; overflow-wrap: anywhere; color: #405247; font-size: 10px; }
.calendar-agenda-reminder { padding-top: 6px; border-top: 1px solid #edf1ee; }
.calendar-agenda-empty { grid-column: 1 / -1; margin: 0; padding: 12px 0; color: #89968e; font-size: 9px; }
.calendar-feedback { min-height: 12px; margin: 10px 0 0; color: #929e96; font-size: 8px; }
.people-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 15px; }
.people-form-panel { min-width: 0; }
.people-form-panel .panel-heading { margin-bottom: 12px; }
.people-form { display: grid; gap: 11px; }
.people-form label { display: grid; gap: 5px; color: #637168; font-size: 9px; font-weight: 600; }
.people-form input, .people-form select, .people-form textarea { width: 100%; min-height: 35px; padding: 8px 9px; border: 1px solid #e7ede9; border-radius: 6px; outline: 0; background: #fff; color: #405247; font-size: 9px; font-weight: 400; }
.people-form textarea { resize: vertical; }
.people-form input:focus, .people-form select:focus, .people-form textarea:focus { border-color: #91bda3; box-shadow: 0 0 0 3px #dceee3; }
.people-form .form-actions { flex-wrap: wrap; }
.people-request-list { display: grid; gap: 8px; }
.people-request-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #edf1ee; border-radius: 8px; }
.people-request-main { min-width: 0; display: grid; gap: 4px; }
.people-request-title { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #405247; font-size: 10px; font-weight: 700; }
.people-request-meta, .people-request-reason { margin: 0; color: #849189; font-size: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.people-request-reason { color: #65746b; }
.people-request-actions { display: flex; gap: 6px; }
.people-request-actions .button { min-height: 29px; padding: 0 9px; font-size: 8px; }
.people-request-actions .button:disabled { cursor: wait; opacity: .6; }
.people-request-empty { margin: 0; padding: 9px 0; color: #89968e; font-size: 9px; }
.admin-data-warning { margin-bottom: 14px; padding: 11px 13px; border: 1px solid #eddbb6; border-radius: 8px; background: #fff9ed; color: #816b42; font-size: 9px; line-height: 1.6; }
.admin-data-warning strong { color: #69532d; }
.admin-data-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.admin-data-select { display: grid; gap: 5px; min-width: min(320px, 100%); color: #637168; font-size: 9px; font-weight: 600; }
.admin-data-select select { min-height: 35px; padding: 7px 9px; border: 1px solid #e7ede9; border-radius: 6px; background: #fff; color: #405247; font-size: 9px; }
.admin-data-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-data-actions .button { min-height: 33px; font-size: 9px; }
.admin-data-upload { position: relative; overflow: hidden; cursor: pointer; }
.admin-data-upload input { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; }
.admin-data-description, .admin-data-feedback { margin: 12px 0 8px; color: #849189; font-size: 9px; line-height: 1.5; }
.admin-data-feedback { color: #3e7e5a; }
.admin-data-row-actions { display: flex; gap: 5px; }
.admin-data-row-actions .button { min-height: 27px; padding: 0 8px; font-size: 8px; }
.admin-data-dialog { width: min(780px, calc(100vw - 28px)); max-height: 92vh; overflow-y: auto; }
.admin-data-dialog form { max-height: 92vh; }
.admin-data-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 62vh; overflow-y: auto; padding: 2px 3px 3px 0; }
.admin-data-fields label { display: grid; align-content: start; gap: 5px; color: #536359; font-size: 10px; font-weight: 600; }
.admin-data-fields input, .admin-data-fields textarea { width: 100%; min-height: 36px; padding: 8px; border: 1px solid #e1e8e3; border-radius: 6px; outline: 0; color: #34483b; font-size: 11px; font-weight: 400; }
.admin-data-fields select { width: 100%; min-height: 36px; padding: 8px; border: 1px solid #e1e8e3; border-radius: 6px; outline: 0; background: #fff; color: #34483b; font-size: 11px; font-weight: 400; }
.admin-data-field-help { color: #65746a; font-size: 9px; font-weight: 400; line-height: 1.4; }
.admin-data-fields textarea { resize: vertical; }
.admin-data-fields input:focus, .admin-data-fields select:focus, .admin-data-fields textarea:focus { border-color: #91bda3; box-shadow: 0 0 0 3px #dceee3; }
.claim-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 9px; margin: 0 0 14px; }
.claim-form label { display: grid; gap: 5px; color: #637168; font-size: 8px; font-weight: 600; }
.claim-form input, .claim-form select { width: 100%; min-height: 34px; padding: 7px 8px; border: 1px solid #e7ede9; border-radius: 6px; background: #fff; color: #405247; font-size: 9px; }
.claim-form .button { min-height: 34px; font-size: 9px; }
.claim-form .save-message { grid-column: 1 / -1; }
.claim-form .claim-wide { grid-column: 1 / -1; }
.claim-sheet { min-width: 0; padding: 16px; border: 1px solid #dde6e0; border-radius: 8px; }
.claim-sheet legend { padding: 0 8px; font-size: 15px; font-weight: 700; }
.claim-person-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.claim-form .claim-certification { display: flex; align-items: center; gap: 8px; margin: 16px 0; font-size: 11px; }
.claim-form .claim-certification input { width: auto; min-height: auto; }
.claim-expense-table { min-width: 650px; }
.claim-form .claim-expense-table input { font-size: 11px; }
.claim-expense-table th:first-child { width: 35px; }
.claim-expense-table td { padding: 6px; }
.claim-expense-table input[type="date"] { min-width: 130px; }
.claim-expense-table input[type="number"] { min-width: 100px; }
.claim-expense-table tfoot { text-align: right; font-weight: 700; }
.claim-administration { margin: 16px 0 0; border: 1px solid #dde6e0; border-radius: 6px; padding: 12px; }
.claim-administration legend { font-size: 11px; }
.claim-receipt-note, .claim-administration p, #claim-project-help { color: #637168; font-size: 11px; }
.claim-form input[readonly] { background-color: #f3f7f4; }
button.da-menu-trigger { border: 0; background: transparent; font-family: inherit; text-align: left; }
.claim-company { display: inline-flex; align-items: center; gap: 6px; max-width: 170px; color: #56665d; font-size: 8px; line-height: 1.35; }
.claim-company-logo { width: 38px; height: 25px; flex: 0 0 38px; object-fit: contain; }
.claim-company-mark { width: 26px; height: 25px; display: grid; flex: 0 0 26px; place-items: center; border: 1px solid #dce9df; border-radius: 5px; background: #eff7f1; color: #32724f; font-size: 8px; font-weight: 800; }
.payroll-panel { margin-top: 15px; }
.payslip-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.payslip-form > label { display: grid; align-content: start; gap: 5px; color: #637168; font-size: 8px; font-weight: 600; }
.payslip-form input, .payslip-form select { width: 100%; min-height: 34px; padding: 7px 8px; border: 1px solid #e7ede9; border-radius: 6px; background: #fff; color: #405247; font-size: 9px; }
.payslip-form fieldset { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column: 1 / -1; gap: 9px; margin: 0; padding: 10px; border: 1px solid #e9eeeb; border-radius: 7px; }
.payslip-form legend { padding: 0 5px; color: #405247; font-size: 9px; font-weight: 700; }
.payslip-form fieldset label { display: grid; gap: 4px; color: #637168; font-size: 8px; }
.payslip-form .payslip-late-approval { align-content: start; }
.payslip-form .payslip-late-approval span { display: flex; align-items: center; gap: 6px; }
.payslip-form .payslip-late-approval input[type="checkbox"] { width: auto; min-height: 0; margin: 0; }
.payslip-form .payslip-late-approval small, .payslip-form .payslip-statutory-note { color: #6b7970; font-size: 8px; font-weight: 400; line-height: 1.4; }
.payslip-overtime-fieldset { grid-column: 1 / -1; }
.payslip-rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.payslip-calculation-note { grid-column: 1 / -1; margin: 0; color: #6b7970; font-size: 8px; line-height: 1.45; }
.payslip-form input[readonly] { background: #f5f8f6; }
.payslip-form .form-actions { grid-column: 1 / -1; }
.delta-auto-form { display: grid; align-items: end; gap: 9px; margin: 0 0 14px; }
.delta-auto-form label { display: grid; gap: 5px; color: #637168; font-size: 8px; font-weight: 600; }
.delta-auto-form input, .delta-auto-form select, .delta-auto-form textarea { width: 100%; min-height: 34px; padding: 7px 8px; border: 1px solid #e7ede9; border-radius: 6px; background: #fff; color: #405247; font-size: 9px; }
.delta-auto-form textarea { resize: vertical; }
.delta-auto-settings-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.delta-auto-order-form, .delta-auto-month-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.delta-auto-foreman-field, .delta-auto-po-picker { grid-column: span 2; }
.delta-auto-foreman-field { min-width: 0; margin: 0; padding: 8px; border: 1px solid #e7ede9; border-radius: 6px; }
.delta-auto-foreman-field legend { padding: 0 4px; color: #637168; font-size: 8px; font-weight: 600; }
.delta-auto-foreman-options { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.delta-auto-form .delta-auto-foreman-options label { display: flex; align-items: center; gap: 5px; color: #405247; font-size: 9px; font-weight: 500; }
.delta-auto-form .delta-auto-foreman-options input[type="checkbox"] { width: auto; min-height: 0; margin: 0; accent-color: #27835f; }
.delta-auto-order-help { color: #6b7970; font-size: 8px; font-weight: 400; line-height: 1.4; }
.delta-auto-po-picker { position: relative; display: grid; gap: 5px; min-width: 0; color: #637168; font-size: 8px; font-weight: 600; }
.delta-auto-po-picker .pic-dropdown { min-width: 0; }
.delta-auto-po-picker .pic-dropdown-toggle { min-height: 34px; padding: 7px 8px; font-size: 9px; }
.delta-auto-po-options { z-index: 8; }
.delta-auto-form .delta-auto-po-options .pic-checkbox-option { align-items: flex-start; gap: 8px !important; padding: 9px 8px; font-size: 11px !important; line-height: 1.4; }
.delta-auto-form .delta-auto-po-options .pic-checkbox-option input[type="checkbox"] { flex: 0 0 15px; width: 15px; min-width: 15px; height: 15px; min-height: 15px; margin: 2px 0 0; padding: 0; border: 0; border-radius: 3px; background: transparent; box-shadow: none; accent-color: #438063; }
.delta-auto-po-options .pic-option-copy { gap: 3px; }
.delta-auto-po-options .pic-option-copy strong { font-size: 12px; }
.delta-auto-po-options .pic-option-copy small { font-size: 10px; }
.delta-auto-po-picker .delta-auto-order-help { display: block; }
.delta-auto-po-picker #delta-auto-po-options .pic-option-copy .pic-option-phone { color: #397654; }
.delta-auto-cost-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.delta-auto-billing-form { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.delta-auto-line-items-wrap { min-width: 0; }
.delta-auto-line-items-table { min-width: 970px; }
.delta-auto-line-items-table input { min-width: 65px; padding: 6px; }
.delta-auto-line-items-table [name="description"] { min-width: 280px; resize: vertical; white-space: pre-wrap; line-height: 1.4; overflow: hidden; }
.delta-auto-line-items-table td { vertical-align: top; }
.da-records-form textarea { resize: vertical; grid-column: span 2; }
.delta-auto-line-items-table [name="account"] { min-width: 95px; }
.delta-auto-line-amount { white-space: nowrap; text-align: right; }
.delta-auto-add-line { margin-top: 8px; }
.delta-auto-number-note { margin: 0; color: #6b7970; font-size: 9px; }
.delta-auto-document-totals { grid-column: 3 / -1; width: min(100%, 340px); justify-self: end; }
.delta-auto-document-totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 4px; border-bottom: 1px solid var(--line); font-size: 10px; }
.delta-auto-document-totals .delta-auto-document-grand-total { font-size: 13px; font-weight: 700; }
.delta-auto-form .form-span { grid-column: 1 / -1; }
.delta-auto-form .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.delta-auto-form .save-message { flex: 1 1 100%; }
.delta-auto-form .button { min-height: 34px; font-size: 9px; }
.delta-auto-metrics { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.delta-auto-metrics .metric-value { font-size: clamp(15px, 1.5vw, 21px); }
.delta-auto-page-note { line-height: 1.6; }
#page-delta-auto [hidden] { display: none !important; }
.da-layout { display: block; }
.da-menubar { position: sticky; top: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0 0 16px; padding: 8px 12px; border: 1px solid #dfe7e2; border-radius: 10px; background: #f4f8f5; box-shadow: 0 1px 3px rgba(20,50,38,.08); }
.da-menubar button { width: auto; min-height: 30px; padding: 6px 11px; border: 0; border-radius: 7px; background: transparent; color: #35574a; font: inherit; font-size: 10px; font-weight: 500; text-align: left; cursor: pointer; }
.da-menubar button:hover { background: #e3eee8; color: #14382a; }
.da-menu-single.active, .da-menu-list button.active { background: #2f7d5b; color: #fff; font-weight: 600; }
.da-menu-group { position: relative; }
.da-menu-group.active > .da-menu-trigger { background: #e3eee8; color: #14382a; }
.da-menu-trigger { display: block; padding: 6px 11px; border-radius: 7px; color: #35574a; font-size: 10px; font-weight: 600; cursor: pointer; user-select: none; }
.da-menu-trigger::after { content: ' \25BE'; font-size: 9px; }
.da-menu-trigger:hover, .da-menu-group.open > .da-menu-trigger { background: #e3eee8; color: #14382a; }
.da-menu-list { display: none; position: absolute; top: 100%; left: 0; z-index: 20; min-width: 190px; flex-direction: column; gap: 2px; padding: 6px; border: 1px solid #dfe7e2; border-radius: 9px; background: #fff; box-shadow: 0 8px 22px rgba(20,50,38,.16); }
.da-menu-group.open > .da-menu-list { display: flex; }
.da-menu-list button { width: 100%; white-space: nowrap; }
.da-content { min-width: 0; }
.da-content > [data-da-view] + [data-da-view] { margin-top: 16px; }
.da-doc-filter { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 8px; }
.da-doc-filter label { display: flex; align-items: center; gap: 8px; color: #637168; font-size: 10px; font-weight: 600; }
.da-doc-filter select, .da-doc-filter input { min-height: 30px; padding: 6px 8px; border: 1px solid #e7ede9; border-radius: 6px; background: #fff; color: #405247; font-size: 10px; }
.da-doc-filter input { width: 180px; }
.da-records-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#delta-auto-records-view .delta-auto-form label, #delta-auto-records-view .delta-auto-form input, #delta-auto-records-view .delta-auto-form select { min-width: 0; }
#delta-auto-records-view .delta-auto-bill-import { grid-template-columns: minmax(0, 1fr); }
.da-report-table { max-width: 780px; }
.da-report-table td:last-child, .da-report-table th:last-child { text-align: right; }
.da-report-table .da-total td { font-weight: 700; border-top: 1px solid var(--line); }
.da-report-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 0 0 12px; }
.da-report-controls label { display: grid; gap: 4px; color: #637168; font-size: 9px; font-weight: 600; }
.da-report-controls input { padding: 6px 8px; border: 1px solid #e7ede9; border-radius: 6px; font-size: 10px; }
.da-badge { display: inline-block; padding: 2px 8px; border-radius: 99px; background: #eef3f0; font-size: 9px; font-weight: 600; }

@media (min-width: 1500px) { .page-wrap { padding-right: 44px; padding-left: 44px; } }
@media (max-width: 1120px) {
  .sidebar { width: 215px; }
  .main-area { margin-left: 215px; }
  .topbar { padding: 0 25px; }
  .page-wrap { padding-right: 25px; padding-left: 25px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-financial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-cost-form, .project-forecast-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delta-auto-order-form, .delta-auto-month-form, .delta-auto-cost-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delta-auto-foreman-field { grid-column: 1 / -1; }
  .overview-grid, .lower-grid { grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr); }
  .profile-layout { grid-template-columns: minmax(210px, .8fr) minmax(0, 1.5fr); }
  .employee-clock-card { grid-template-columns: minmax(0, 1.3fr) minmax(145px, .9fr); }
  .employee-clock-button { grid-column: 1 / -1; justify-self: start; }
  .people-forms { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .sidebar { width: 246px; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 10px 0 30px #10241d1a; }
  .sidebar.open { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .topbar { height: 58px; gap: 10px; padding: 0 18px; }
  .mobile-menu { display: block; }
  .breadcrumb { margin-right: auto; }
  .topbar-date { display: none; }
  .page-wrap { padding: 17px 18px 22px; }
  .overview-grid, .lower-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar { padding: 0 12px; }
  .topbar-actions { gap: 7px; }
  .role-preview, .account-email { display: none; }
  .icon-button { width: 27px; height: 27px; }
  .avatar-green { width: 27px; height: 27px; flex-basis: 27px; }
  .breadcrumb { gap: 6px; font-size: 9px; }
  .page-wrap { padding-right: 12px; padding-left: 12px; }
  .live-data-notice { align-items: flex-start; font-size: 9px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .page-heading .button, .page-heading .heading-chip { align-self: flex-start; }
  .metric-grid { gap: 8px; }
  .company-financial-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 109px; padding: 11px; }
  .metric-top { font-size: 9px; }
  .metric-value { font-size: 22px; }
  .metric-foot { font-size: 8px; }
  .panel { padding: 13px 12px; }
  .chart-summary { align-items: flex-start; flex-direction: column; }
  .chart-legend { gap: 8px; }
  .attendance-content { justify-content: space-around; gap: 10px; }
  .attendance-ring { width: 100px; height: 100px; flex-basis: 100px; }
  .attendance-ring::before { width: 72px; height: 72px; }
  .attendance-stats { min-width: 108px; }
  .list-toolbar { align-items: stretch; flex-direction: column; }
  .filter-tabs { padding-bottom: 2px; }
  .job-search-fields { flex-direction: column; }
  .search-box { min-width: 0; }
  .obligation-grid, .profile-layout { grid-template-columns: 1fr; }
  .clocking-options { grid-template-columns: 1fr; }
  .employee-picker-wrap { width: 100%; }
  .employee-picker-wrap select { width: 100%; }
  .employee-clock-card { grid-template-columns: 1fr; gap: 13px; }
  .employee-clock-times { justify-content: flex-start; }
  .employee-clock-button { grid-column: auto; width: 100%; }
  .employee-metric-grid { grid-template-columns: 1fr; }
  .profile-form { grid-template-columns: 1fr; }
  .profile-form label { grid-column: 1 / -1; }
  .compliance-form { grid-template-columns: 1fr; }
  .compliance-form .form-span { grid-column: 1 / -1; }
  .compliance-reminder-fields { display: grid; grid-template-columns: 1fr; gap: 11px; }
  .sst-workspace { padding: 13px; }
  .sst-tool-panel { padding: 13px; }
  .sst-form, .sst-form-row, .sst-adjustment-grid { grid-template-columns: 1fr; }
  .sst-form-row, .sst-line-heading, .sst-lines, .sst-caution, .sst-adjustment-grid, .sst-nil-choice, .sst-result, .sst-preparation-note, .sst-source-links { grid-column: 1; }
  .sst-line-item { grid-template-columns: 1fr; }
  .sst-workspace-heading { flex-direction: column; }
  .page-footer { flex-direction: column; }
  .compliance-callout { line-height: 1.5; }
  .data-tag { font-size: 7px; }
  .calendar-toolbar { align-items: flex-start; }
  .calendar-toolbar p { max-width: 180px; line-height: 1.5; }
  .calendar-nav { gap: 4px; }
  .calendar-nav .button { padding: 0 8px; }
  .people-request-card { grid-template-columns: 1fr; }
  .people-request-actions { justify-content: flex-start; }
  .admin-data-toolbar { align-items: stretch; flex-direction: column; }
  .admin-data-select { min-width: 0; }
  .admin-data-fields { grid-template-columns: 1fr; }
  .claim-form { grid-template-columns: 1fr; }
  .company-cost-form, .project-forecast-form { grid-template-columns: 1fr; }
  .delta-auto-order-form, .delta-auto-month-form, .delta-auto-cost-form { grid-template-columns: 1fr; }
  .delta-auto-foreman-field { grid-column: 1; }
  .delta-auto-billing-form, .delta-auto-settings-form, .da-records-form { grid-template-columns: 1fr; }
  .delta-auto-document-totals { grid-column: 1; justify-self: stretch; }
  .delta-auto-form .form-span { grid-column: 1; }
  .payslip-form { grid-template-columns: 1fr; }
  .payslip-form fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payslip-rate-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ===== Minimalist refinement layer ===== */
:root {
  --line: #e2e8f0;
  --canvas: #f8fafc;
  --radius: 12px;
  --shadow-soft: 0 1px 2px #0f172a08, 0 8px 24px #0f172a0a;
  --focus: 0 0 0 3px #dbeafe;
}
body { -webkit-font-smoothing: antialiased; letter-spacing: .005em; line-height: 1.5; }
::selection { background: #cfe9da; }

/* Sign-in */
.auth-shell { background: linear-gradient(180deg, #f1f7f3 0%, var(--canvas) 60%); }
.auth-card { width: min(100%, 440px); padding: 40px 38px 34px; border: 1px solid #edf0ee; border-radius: 18px; box-shadow: var(--shadow-soft); }
.auth-brand { margin-bottom: 34px; }
.auth-card h1 { font-size: 26px; letter-spacing: -.02em; }
.auth-description { font-size: 13px; color: #78857e; }
.auth-button { min-height: 46px; margin-top: 8px; border-radius: 10px; font-size: 13px; }
.auth-footnote { margin-top: 22px; font-size: 11px; text-align: center; }
.role-choice { margin: 24px 0 16px; gap: 10px; }
.role-choice legend { margin-bottom: 10px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #8a9790; }
.role-choice label { position: relative; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.role-choice label:hover { border-color: #cfe0d6; }
.role-choice label:has(input:checked) { border-color: #5aa583; background: #f5faf7; box-shadow: var(--focus); }
.role-choice input { margin: 3px 0 0; accent-color: var(--green); }
.role-choice strong { font-size: 13px; color: var(--ink); }
.role-choice small { margin-top: 3px; font-size: 11px; line-height: 1.4; }

/* Sidebar */
.sidebar { background: #12261e; padding: 28px 14px 16px; }
.brand { margin-bottom: 40px; }
.brand-mark { border-radius: 11px; background: #cfe8da; }
.workspace-label { font-size: 10px; letter-spacing: .14em; color: #6f8a7b; }
.nav-item { min-height: 40px; border-radius: 10px; color: #aebfb5; font-size: 13px; }
.nav-item:hover { background: #1b362b; }
.nav-item.active { background: #22423a; background: #234237; }
.nav-item.active::before { left: -14px; width: 3px; background: #9fd4b6; }
.nav-icon { opacity: .85; font-size: 15px; }
.sidebar-help { border-color: #26402f; background: transparent; }

/* Top bar & layout */
.topbar { height: 62px; border-bottom: 1px solid #f0f2f1; background: #ffffffd9; backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 4; }
.breadcrumb { font-size: 12px; }
.page-wrap { padding: 28px 40px 32px; }
.page-heading { margin-bottom: 26px; }
h1 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; font-weight: 700; }
.page-subtitle { font-size: 13px; color: #7f8c85; }
.eyebrow { font-size: 10px; letter-spacing: .14em; color: #8a9990; }
.live-data-notice { border-color: #e6efe9; background: #f7fbf8; border-radius: 10px; }

/* Cards & panels */
.metric-card, .panel { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.panel-heading h2, .panel h2 { font-size: 15px; letter-spacing: -.01em; }
.panel-heading p { color: #86928b; font-size: 12px; line-height: 1.6; }

/* Buttons */
.button { min-height: 38px; padding: 0 16px; border-radius: 9px; font-size: 12px; letter-spacing: .01em; }
.button-primary { background: var(--green); box-shadow: none; }
.button-primary:hover { background: #0f6446; }
.button-secondary { border-color: var(--line); color: #4d5e55; }
.button-secondary:hover { border-color: #dbe3de; background: #f7f9f8; }

/* Forms */
.compliance-form { gap: 16px 18px; }
.compliance-form label { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #5d6c64; }
.compliance-form input, .compliance-form select, .compliance-form textarea,
.role-preview select, .employee-picker-wrap select {
  min-height: 42px; padding: 10px 12px; border: 1px solid #e4e9e6; border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; transition: border-color .15s ease, box-shadow .15s ease;
}
.compliance-form textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.compliance-form input::placeholder, .compliance-form textarea::placeholder { color: #aeb8b2; }
.compliance-form input:focus, .compliance-form select:focus, .compliance-form textarea:focus { border-color: #6cb08e; outline: 0; box-shadow: var(--focus); }
.compliance-form input[readonly] { background: #f6f8f7; color: #75837b; }

/* Tables */
table { border-collapse: collapse; }
th { padding: 12px 14px; color: #8a9790; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-align: left; border-bottom: 1px solid var(--line); }
td { padding: 14px; border-bottom: 1px solid #f3f5f4; font-size: 12.5px; color: #3c4c44; vertical-align: middle; }
tbody tr { transition: background .12s ease; }
tbody tr:hover { background: #fafcfb; }
tbody tr:last-child td { border-bottom: 0; }
#client-reports-body select, #rectifications-body select { min-height: 32px; padding: 4px 8px; border: 1px solid #e4e9e6; border-radius: 8px; font-size: 11px; }

/* Status pills */
.status-pill { padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; }

/* Client pages */
#page-client-home .panel-heading { align-items: center; gap: 24px; padding: 8px 4px; }
#page-client-home .panel-heading h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }
#page-client-home .panel-heading p { max-width: 520px; font-size: 13px; }
#page-report-issue .panel + .panel, #page-rectifications .panel + .panel { margin-top: 18px; }

@media (max-width: 760px) {
  .page-wrap { padding: 20px 18px 26px; }
  .auth-card { padding: 30px 22px 26px; }
  .role-choice { grid-template-columns: 1fr; }
}

/* Access request role picker */
.access-request-row { padding: 14px 16px; border-color: var(--line); border-radius: 12px; background: #fff; transition: border-color .15s ease; }
.access-request-row:hover { border-color: #d9e6de; }
.access-request-person strong { color: var(--ink); font-size: 13px; font-weight: 600; }
.access-request-person small { font-size: 11px; }
.access-request-actions { align-items: center; gap: 10px; }
.access-request-actions select {
  appearance: none; -webkit-appearance: none;
  min-width: 118px; min-height: 36px; padding: 0 32px 0 12px;
  border: 1px solid #e4e9e6; border-radius: 999px; outline: 0;
  background: #f8faf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%2382908a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 13px center;
  color: #3c4c44; font-size: 12px; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.access-request-actions select:hover { background-color: #f1f6f3; }
.access-request-actions select:focus { border-color: #6cb08e; box-shadow: var(--focus); background-color: #fff; }
.access-request-actions .button { min-height: 36px; padding: 0 18px; border-radius: 999px; font-size: 12px; }
@media (max-width: 560px) {
  .access-request-row { flex-direction: column; align-items: stretch; }
  .access-request-actions { justify-content: space-between; }
  .access-request-actions select { flex: 1; }
}

/* Client homepage */
#page-client-home .page-heading { display: none; }
.home-hero { display: grid; justify-items: center; gap: 18px; padding: 84px 24px 76px; border-radius: 18px; text-align: center; color: #fff;
  background: radial-gradient(ellipse at 0% 0%, #1f4fa0 0%, transparent 45%), linear-gradient(180deg, #0b0b2b, #0d1030); }
.home-eyebrow { margin: 0; color: #9db4c9; font-size: 11px; font-weight: 600; letter-spacing: .22em; }
.home-hero h1 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(28px, 4.4vw, 46px); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.home-subtitle { max-width: 520px; margin: 0; color: #d3dbe6; font-size: 16px; line-height: 1.6; }
.home-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 26px; border: 1px solid #ffffff80; border-radius: 999px; background: transparent; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .15s ease, border-color .15s ease; }
.home-cta:hover { border-color: #fff; background: #ffffff1a; }
.home-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 20px 0; }
.home-stats div { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.home-stats strong { display: block; color: var(--green); font-size: 30px; letter-spacing: -.03em; }
.home-stats span { color: #7f8c85; font-size: 12px; }
.home-section { margin: 0 0 20px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.home-section h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.02em; }
.home-section p { margin: 0 0 6px; color: #5d6c64; font-size: 14px; line-height: 1.7; }
.home-section a { color: var(--green); }
.home-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.home-services article { padding: 18px; border-radius: 12px; background: #f6f9f7; }
.home-services h3 { margin: 0 0 6px; font-size: 14px; }
.home-services p { font-size: 13px; }

/* Public company homepage */
.auth-shell { display: block; min-height: 100vh; padding: 0; background: #f7f9f7; }
.public-homepage[hidden], .auth-card[hidden] { display: none; }
.public-homepage { color: #182a22; }
.public-header { position: sticky; top: 0; z-index: 5; display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(5vw, 24px); border-bottom: 1px solid #ffffff1c; background: #11251ff2; color: #fff; backdrop-filter: blur(12px); }
.public-brand { display: inline-flex; flex: 0 1 auto; align-items: center; color: inherit; text-decoration: none; }
.public-brand-logo { display: block; width: 100px; height: 50px; object-fit: contain; }
.auth-brand-logo { display: block; width: 100px; height: 50px; object-fit: contain; filter: invert(1); }
.public-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.public-nav a, .public-login { color: #e4eee8; font-size: 13px; text-decoration: none; transition: color .16s ease; }
.public-nav a:hover, .public-login:hover { color: #a7d5b9; }
.public-login { display: inline-flex; min-height: 42px; align-items: center; gap: 12px; padding: 0 20px; border: 1px solid #82bd99; border-radius: 999px; background: #1d503b; color: #fff; font-weight: 650; cursor: pointer; }
.public-login:hover { background: #286749; color: #fff; }
.public-home-hero { position: relative; min-height: min(630px, calc(100vh - 78px)); align-content: center; justify-items: start; gap: 22px; overflow: hidden; padding: 86px max(10vw, 28px); border-radius: 0; text-align: left; background:
  radial-gradient(ellipse at 82% 45%, #2b765333 0, transparent 34%),
  radial-gradient(circle at 78% 46%, #b8dfc51a 0 1px, transparent 1.5px) 0 0 / 16px 16px,
  linear-gradient(115deg, #10241d 6%, #142d24 58%, #10231d 100%); }
.public-home-hero::after { position: absolute; top: 50%; right: 11%; width: min(30vw, 380px); aspect-ratio: 1; border: 1px solid #aad9ba2b; border-radius: 50%; box-shadow: 0 0 0 28px #aad9ba0b, 0 0 0 64px #aad9ba08; content: ""; transform: translateY(-50%); pointer-events: none; }
.public-home-hero > * { position: relative; z-index: 1; }
.public-home-hero .home-eyebrow { color: #a9d4b8; }
.public-home-hero h1 { max-width: min(55%, 720px); font-size: clamp(42px, 6.5vw, 76px); font-weight: 600; letter-spacing: -.045em; }
.public-home-hero .home-subtitle { max-width: min(48%, 590px); color: #d0ddd5; font-size: clamp(16px, 1.8vw, 19px); }
.public-home-hero .home-cta { margin-top: 12px; border-color: #a9d4b8; background: #cce9d51a; color: #fff; text-decoration: none; }
.public-home-hero .home-cta:hover { background: #cce9d533; }
.public-section-kicker { margin: 0 0 11px !important; color: #498362 !important; font-size: 10px !important; font-weight: 700; letter-spacing: .18em; }
.public-about, .public-services, .public-contact { max-width: 1120px; margin: 0 auto 24px; border: 0; border-radius: 0; background: transparent; }
.public-about { padding: 88px 32px 64px; }
.public-about h2, .public-services h2, .public-contact h2 { max-width: 760px; font-size: clamp(27px, 4vw, 40px); letter-spacing: -.035em; line-height: 1.2; }
.public-about > p:last-child { max-width: 780px; font-size: 16px; }
.public-services { padding: 40px 32px 82px; }
.public-services .home-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.public-services .home-services article { min-height: 152px; padding: 24px; border: 1px solid #e6ece8; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px #182a2208; }
.service-number { display: inline-block; margin-bottom: 14px; color: #4d8a68; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.public-services .home-services h3 { font-size: 17px; }
.public-services .home-services p { max-width: 500px; margin: 0; line-height: 1.65; }
.public-contact { max-width: none; margin-bottom: 0; padding: 64px max(10vw, 32px); background: #eaf2ed; }
.public-contact > * { max-width: 960px; margin-right: auto; margin-left: auto; }
.public-contact p:last-child { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.public-contact a { font-size: 16px; font-weight: 600; text-decoration: none; }
.public-footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px max(5vw, 24px); background: #11251f; color: #afc1b7; font-size: 11px; }
.public-footer a { color: #d3e7da; text-decoration: none; }
.auth-card { position: relative; margin: 64px auto; }
.auth-home-link { margin: 0 0 26px; padding: 0; border: 0; background: transparent; color: #49715b; font-size: 12px; cursor: pointer; }
.auth-home-link:hover { color: #194e36; text-decoration: underline; }
.public-footer > span:last-child { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.public-footer a:hover { color: #a7d5b9; }
.public-hero-visual { position: absolute !important; top: 50%; right: 8vw; z-index: 0 !important; width: min(35vw, 455px); height: min(65%, 420px); margin: 0; overflow: hidden; border: 1px solid #ffffff52; border-radius: 22px; box-shadow: 0 32px 90px #06130da6; transform: translateY(-50%); animation: hero-image-arrive .9s .15s both cubic-bezier(.2,.75,.25,1); }
.public-hero-visual::after { position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: linear-gradient(180deg, #0d241022 20%, #0d2410d9 100%); content: ""; pointer-events: none; }
.public-hero-visual > img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center; transition: opacity .25s ease; }
.public-hero-visual > img.is-changing { opacity: .35; }
.hero-carousel-ui { position: absolute; right: 16px; bottom: 15px; left: 16px; z-index: 2; display: grid; gap: 10px; }
.hero-carousel-heading, .hero-carousel-controls, .hero-carousel-filters { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.hero-carousel-heading { color: #e4f0e8; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-carousel-heading [data-carousel-category] { padding: 5px 8px; border: 1px solid #ffffff6b; border-radius: 20px; background: #0d241078; }
.hero-carousel-heading [data-carousel-counter] { font-variant-numeric: tabular-nums; }
.hero-carousel-ui figcaption { position: static; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .015em; }
.hero-carousel-controls { justify-content: flex-start; }
.hero-carousel-controls button, .hero-carousel-filters button { min-height: 30px; border: 1px solid #ffffff70; border-radius: 7px; background: #0d2410a8; color: #fff; font: inherit; cursor: pointer; }
.hero-carousel-controls button { min-width: 34px; padding: 0 9px; font-size: 12px; }
.hero-carousel-controls button:first-child, .hero-carousel-controls button:last-child { font-size: 19px; line-height: 1; }
.hero-carousel-filters { justify-content: flex-start; flex-wrap: wrap; }
.hero-carousel-filters button { min-height: 27px; padding: 0 8px; font-size: 10px; }
.hero-carousel-filters button[aria-pressed="true"] { border-color: #c8e9d3; background: #d8f0e33b; }
.hero-carousel-controls button:hover, .hero-carousel-filters button:hover { background: #ffffff2e; }
.hero-carousel-controls button:focus-visible, .hero-carousel-filters button:focus-visible { outline: 2px solid #c8e9d3; outline-offset: 2px; }
.hero-carousel-controls button:disabled { opacity: .5; cursor: default; }
.public-home-hero > .home-eyebrow { animation: hero-copy-arrive .65s both ease-out; }
.public-home-hero > h1 { animation: hero-copy-arrive .7s .08s both ease-out; }
.public-home-hero > .home-subtitle { animation: hero-copy-arrive .7s .16s both ease-out; }
.public-home-hero > .home-cta { animation: hero-copy-arrive .7s .24s both ease-out; }
.public-group-companies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.public-group-companies article { display: grid; gap: 5px; padding: 18px 20px; border-left: 2px solid #79a98a; background: #fff; }
.public-group-companies strong { font-size: 12px; letter-spacing: .11em; }
.public-group-companies span { color: #718078; font-size: 12px; }
.public-purpose { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px 54px; padding: 72px max(10vw, 32px); background: #eaf2ed; }
.purpose-intro h2, .public-delivery h2 { max-width: 520px; margin: 0 0 12px; font-size: clamp(27px, 4vw, 40px); letter-spacing: -.035em; line-height: 1.2; }
.purpose-intro > p:last-child { max-width: 420px; color: #5d6c64; line-height: 1.7; }
.purpose-pillars { display: grid; gap: 12px; }
.purpose-pillars article { padding: 18px 21px; border: 1px solid #dce8df; border-radius: 12px; background: #ffffffb8; }
.purpose-pillars article > span { color: #498362; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.purpose-pillars article > p { margin: 8px 0 0; color: #596860; font-size: 13px; line-height: 1.7; }
.public-values { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.public-values article { padding: 20px; border-top: 1px solid #cddcd1; }
.public-values h3 { margin: 0 0 6px; font-size: 15px; }
.public-values p { margin: 0; color: #637169; font-size: 12px; line-height: 1.65; }
.public-services .home-services article { overflow: hidden; padding: 0 0 22px; transition: transform .25s ease, box-shadow .25s ease; }
.public-services .home-services article:hover { transform: translateY(-5px); box-shadow: 0 18px 36px #182a2218; }
.service-image { height: 195px; margin-bottom: 19px; overflow: hidden; background: #eaf0ec; }
.service-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.75,.25,1); }
.home-services article:hover .service-image img { transform: scale(1.055); }
.public-services .home-services article > .service-number,
.public-services .home-services article > h3,
.public-services .home-services article > p { margin-right: 22px; margin-left: 22px; }
.public-delivery { padding: 28px 32px 82px; }
.public-delivery > .public-section-kicker, .public-delivery > h2 { max-width: 1056px; margin-right: auto; margin-left: auto; }
.public-delivery ol { display: grid; max-width: 1056px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 30px auto 0; padding: 0; list-style: none; }
.public-delivery li { position: relative; display: grid; align-content: start; gap: 13px; min-height: 100px; padding: 0 18px; border-top: 1px solid #cddbd1; }
.public-delivery li > span { margin-top: -1px; color: #4d8a68; font-size: 11px; font-weight: 700; transform: translateY(-50%); }
.public-delivery li > strong { color: #526158; font-size: 12px; line-height: 1.5; }
.motion-ready #public-home-profile .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s ease var(--reveal-delay, 0ms); }
.motion-ready #public-home-profile .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-copy-arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-image-arrive { from { opacity: 0; transform: translate(18px, -48%); } to { opacity: 1; transform: translate(0, -50%); } }
@media (max-width: 700px) {
  .public-header { min-height: 70px; padding: 0 18px; }
  .public-brand-logo { width: 100px; height: 50px; }
  .public-nav { gap: 14px; }
  .public-nav a { display: none; }
  .public-login { min-height: 38px; padding: 0 14px; }
  .public-home-hero { min-height: 0; padding: 72px 26px 52px; }
  .public-home-hero::after { right: -26%; width: 72vw; opacity: .7; }
  .public-services .home-services { grid-template-columns: 1fr; }
  .public-about, .public-services { padding-right: 24px; padding-left: 24px; }
  .public-about { padding-top: 62px; }
  .public-group-companies { grid-template-columns: 1fr; }
  .public-purpose { grid-template-columns: 1fr; gap: 20px; padding: 54px 24px; }
  .public-values { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .public-delivery { padding: 28px 24px 56px; }
  .public-delivery ol { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .public-delivery li { min-height: 70px; grid-template-columns: 30px 1fr; align-items: start; gap: 8px; padding: 18px 12px; border-top: 0; border-left: 1px solid #cddbd1; }
  .public-delivery li > span { margin: 0; transform: none; }
  .service-image { height: 210px; }
  .public-hero-visual { position: relative !important; top: auto; right: auto; bottom: auto; width: min(100%, 420px); height: 250px; margin: 30px auto 0; transform: none; animation: none; opacity: 1; }
  .hero-carousel-ui { right: 10px; bottom: 10px; left: 10px; gap: 7px; }
  .hero-carousel-ui figcaption { font-size: 11px; }
  .hero-carousel-filters { gap: 5px; }
  .hero-carousel-filters button { padding: 0 6px; font-size: 9px; }
  .public-contact { padding: 52px 24px; }
  .public-footer { flex-direction: column; padding: 22px 24px; }
  .public-footer > span:last-child { gap: 8px 16px; }
  .public-home-hero > *:not(.public-hero-visual) { max-width: 100%; }
  .public-home-hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .public-home-hero .home-subtitle { max-width: 440px; }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .public-home-hero { padding-right: 6vw; padding-left: 7vw; }
  .public-home-hero h1 { max-width: 58%; font-size: clamp(42px, 6vw, 64px); }
  .public-home-hero .home-subtitle { max-width: 54%; }
  .public-hero-visual { right: 5vw; width: 34vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.company-donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 2px 0 12px; }
.company-donut { position: relative; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; }
.company-donut::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #fcfdfc; }
.company-donut span { position: relative; color: #2c6948; font-size: 10px; font-weight: 700; }
.company-donut-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 9px; margin: 0; padding: 0; list-style: none; color: #849189; font-size: 8px; }
.company-donut-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; }
.company-financial-note { margin: 10px 0 0; color: #98a49d; font-size: 8px; }
.delta-auto-donut-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.delta-auto-donut-row .company-financial-stats { flex: 1 1 260px; max-width: 420px; }
.delta-auto-donut-row .company-donut::before { background: var(--panel, #fff); }
.delta-auto-line-items-table [name="item"] { min-width: 220px; }

/* Unified dropdown styling */
select {
  -webkit-appearance: none; appearance: none;
  min-height: 34px; padding: 7px 30px 7px 10px;
  border: 1px solid #dde6e0; border-radius: 8px; outline: 0;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2335574a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 10px;
  color: #34483b; font-size: 11px; font-weight: 500; line-height: 1.3;
  text-overflow: ellipsis; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
select:hover { border-color: #b9d3c3; background-color: #fafdfb; }
select:focus { border-color: #6cb08e; box-shadow: 0 0 0 3px #dff0e6; background-color: #fff; }
select:disabled { opacity: .6; cursor: not-allowed; }
select option { padding: 8px 10px; background: #fff; color: #34483b; font-size: 12px; }
select option:checked { background: #dff0e6; color: #1f5b3f; }
select option[value=""] { color: #8a978f; }
select[multiple] { height: auto; min-height: 96px; padding: 4px; background-image: none; }
select[multiple] option { padding: 5px 8px; border-radius: 5px; font-size: 10px; }
select[multiple] option:checked { background: #cfe9da linear-gradient(#cfe9da, #cfe9da); color: #1f5b3f; font-weight: 600; }
select[multiple] option[disabled] { color: #8a978f; font-style: italic; }
.delta-auto-line-items-table select { min-width: 100%; width: 100%; padding-right: 28px; }
.delta-auto-line-items-table [name="item"] { min-width: 260px; max-width: 320px; }
.da-doc-filter select { padding: 6px 28px 6px 10px; }
.da-doc-filter input { padding: 6px 10px; }
/* Custom suggestion dropdown (replaces native datalist popup) */
.da-combo-panel { position: fixed; z-index: 9999; max-height: 280px; overflow-y: auto; padding: 5px; border: 1px solid #dde6e0; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(25, 41, 35, .16); }
.da-combo-panel[hidden] { display: none; }
.da-combo-option { display: flex; flex-direction: column; gap: 1px; width: 100%; padding: 7px 10px; border: 0; border-radius: 7px; background: transparent; color: #34483b; font: inherit; font-size: 11px; text-align: left; cursor: pointer; }
.da-combo-option strong { font-weight: 600; }
.da-combo-option small { color: #7d8b83; font-size: 10px; }
.da-combo-option:hover, .da-combo-option.active { background: #e7f3ec; }
/* Combo inputs (datalist) and number inputs match the dropdown style */
input[list] {
  padding-right: 30px !important; border-radius: 8px; border-color: #dde6e0; font-size: 11px; color: #34483b;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2335574a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 10px;
}
input[list]::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; right: 0; width: 30px; height: 100%; cursor: pointer; }
input[list]:hover { border-color: #b9d3c3; }
input[list]:focus { border-color: #6cb08e; box-shadow: 0 0 0 3px #dff0e6; outline: 0; }
.delta-auto-form input, .delta-auto-form textarea { border-radius: 8px; border-color: #dde6e0; font-size: 11px; color: #34483b; }
.delta-auto-form input:focus, .delta-auto-form textarea:focus { border-color: #6cb08e; box-shadow: 0 0 0 3px #dff0e6; outline: 0; }
.delta-auto-form input::placeholder { color: #9aa8a0; }
.delta-auto-line-items-table input[type="number"] { -moz-appearance: textfield; appearance: textfield; text-align: right; }
.delta-auto-line-items-table input[type="number"]::-webkit-inner-spin-button,
.delta-auto-line-items-table input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.delta-auto-line-items-table [name="account"] { min-width: 150px; }
.delta-auto-line-items-table [name="taxRate"], .delta-auto-line-items-table [name="discount"] { min-width: 70px; }
/* Custom combo list (replaces native datalist popup) */
input[data-combo-list] { padding-right: 30px !important; border-radius: 8px; border-color: #dde6e0; font-size: 11px; color: #34483b; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2335574a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 10px; }
input[data-combo-list]:hover { border-color: #b9d3c3; }
input[data-combo-list]:focus { border-color: #6cb08e; box-shadow: 0 0 0 3px #dff0e6; outline: 0; }
.combo-panel { position: fixed; z-index: 10000; overflow-y: auto; padding: 4px; background: #fff; border: 1px solid #cfe3d6; border-radius: 10px; box-shadow: 0 10px 28px rgba(25,41,35,.16); }
.combo-panel[hidden] { display: none; }
.combo-option { display: flex; flex-direction: column; gap: 1px; padding: 7px 10px; border-radius: 7px; cursor: pointer; color: #34483b; font-size: 11px; line-height: 1.35; }
.combo-option strong { font-weight: 600; }
.combo-option small { color: #7a897f; font-size: 10px; }
.combo-option:hover, .combo-option.is-active { background: #e9f5ee; color: #1f5a3d; }
/* Wan Reminder */
.wan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.wan-card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid #e3ebe6; border-radius: 12px; border-left: 4px solid #6cb08e; }
.wan-card small { color: #637168; font-size: 11px; font-weight: 600; }
.wan-card strong { font-size: 24px; color: #192923; line-height: 1.2; }
.wan-card span { color: #7a897f; font-size: 11px; }
.wan-card.wan-danger { border-left-color: #d9534f; }
.wan-card.wan-warn { border-left-color: #e0a526; }
.wan-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.wan-pill.wan-danger { background: #fde8e7; color: #b3322e; }
.wan-pill.wan-warn { background: #fff3d6; color: #8a6200; }
.wan-pill.wan-info { background: #e6f2fb; color: #1f5f8f; }
.wan-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.wan-filters .ghost-button { font-size: 11px; padding: 5px 10px; }
.wan-filters .ghost-button.is-on { background: #e9f5ee; border-color: #6cb08e; color: #1f5a3d; }
.wan-step { display: inline-block; font-size: 11px; color: #8a978f; white-space: nowrap; }
.wan-step.is-done { color: #1f7a4d; font-weight: 600; }
.wan-sub { display: block; color: #7a897f; font-size: 10px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Unified button styling */
.button, .ghost-button, .finance-action-button, .finance-delete-button { font-family: inherit; -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.2; letter-spacing: .01em; cursor: pointer; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease, transform .1s ease; }
.button { min-height: 36px; padding: 0 16px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.button-primary { background: linear-gradient(180deg, #1f8a61, #176d4d); color: #fff; border: 1px solid #176d4d; box-shadow: 0 1px 2px rgba(23,109,77,.25), inset 0 1px 0 rgba(255,255,255,.15); }
.button-primary:hover { background: linear-gradient(180deg, #1a7a56, #10593e); box-shadow: 0 4px 10px rgba(23,109,77,.25); }
.button-secondary { background: #fff; border: 1px solid #d9e5dd; color: #3f5a4b; }
.button-secondary:hover { background: #f1f8f4; border-color: #b9d3c3; }
.button:focus-visible, .ghost-button:focus-visible, .finance-action-button:focus-visible, .finance-delete-button:focus-visible { outline: 0; box-shadow: 0 0 0 3px #cfe9da; }
.button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.ghost-button { min-height: 32px; padding: 0 14px; border: 1px solid #dde6e0; border-radius: 999px; background: #fff; color: #4d5e55; font-size: 11px; font-weight: 600; }
.ghost-button:hover { background: #f1f8f4; border-color: #b9d3c3; color: #1f5a3d; }
.wan-filters .ghost-button { padding: 0 12px; font-size: 11px; }
.wan-filters .ghost-button.is-on { background: #176d4d; border-color: #176d4d; color: #fff; box-shadow: 0 2px 6px rgba(23,109,77,.25); }
.finance-row-actions { gap: 6px; align-items: center; }
.finance-action-button, .finance-delete-button { min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 11px; font-weight: 600; border: 1px solid #dde6e0; background: #fff; color: #4d5e55; }
.finance-action-button:hover { background: #f1f8f4; border-color: #b9d3c3; }
.finance-action-button-primary { background: #e9f5ee; border-color: #bfdccb; color: #1f6b46; }
.finance-action-button-primary:hover { background: #d9eee1; border-color: #8fc2a4; }
.finance-action-button-danger, .finance-delete-button { background: #fff; border-color: #f0d6d6; color: #b04545; }
.finance-action-button-danger:hover, .finance-delete-button:hover { background: #fdeeee; border-color: #e3b0b0; }
.finance-action-button-complete { background: linear-gradient(180deg, #1f8a61, #176d4d); border-color: #176d4d; color: #fff; box-shadow: 0 1px 3px rgba(23,109,77,.3); }
.finance-action-button-complete:hover { background: linear-gradient(180deg, #1a7a56, #10593e); border-color: #10593e; box-shadow: 0 3px 8px rgba(23,109,77,.3); }
.finance-delete-button[data-print-delta-auto-document], .finance-delete-button[data-edit-delta-auto-document], .finance-delete-button[data-edit-project-document] { color: #4d5e55; border-color: #dde6e0; }
.finance-delete-button[data-print-delta-auto-document]:hover, .finance-delete-button[data-edit-delta-auto-document]:hover, .finance-delete-button[data-edit-project-document]:hover { background: #f1f8f4; border-color: #b9d3c3; color: #1f5a3d; }
.paid-chip, .unpaid-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.paid-chip { background: #e3f4ea; color: #1f7a4d; }
.unpaid-chip { background: #fff3d6; color: #8a6200; }
.panel-menu, .job-delete-action { border-radius: 8px; }
/* Invoice detail & payments modal */
.doc-link { padding: 0; border: 0; background: none; color: #176d4d; font-size: 12.5px; font-weight: 700; text-decoration: underline; text-decoration-color: #b9d3c3; text-underline-offset: 3px; cursor: pointer; }
.doc-link:hover { color: #0f6446; text-decoration-color: #176d4d; }
.partial-chip { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #e6f2fb; color: #1f5f8f; white-space: nowrap; }
.invoice-modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; background: rgba(18,38,30,.45); backdrop-filter: blur(2px); }
.invoice-modal-card { width: min(980px, 100%); background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(18,38,30,.3); padding: 22px 24px 26px; }
.im-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #e8eee9; }
.im-head small { color: #7a897f; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.im-head h2 { margin: 2px 0; font-size: 22px; color: #192923; }
.im-head p { margin: 0; color: #637168; font-size: 12px; }
.im-head-actions { display: flex; align-items: center; gap: 10px; }
.im-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.im-summary > div { padding: 12px 14px; border: 1px solid #e3ebe6; border-radius: 12px; background: #fafcfb; }
.im-summary small { display: block; color: #7a897f; font-size: 11px; font-weight: 600; }
.im-summary strong { font-size: 18px; color: #192923; }
.im-green { color: #1f7a4d !important; }
.im-red { color: #b3322e !important; }
.im-section { margin-top: 18px; }
.im-section h3 { margin: 0 0 10px; font-size: 14px; color: #192923; }
.im-section h3.im-sub { margin-top: 18px; }
.im-desc { white-space: normal !important; min-width: 240px; max-width: 460px; }
.im-note { margin: 0; padding: 10px 14px; border-radius: 10px; background: #e3f4ea; color: #1f7a4d; font-weight: 600; font-size: 12px; }
.im-pay-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 14px; border: 1px solid #e3ebe6; border-radius: 12px; background: #f7fbf8; }
.im-pay-form label { display: flex; flex-direction: column; gap: 4px; color: #637168; font-size: 11px; font-weight: 600; }
.im-pay-form input { min-height: 36px; padding: 7px 10px; border: 1px solid #dde6e0; border-radius: 8px; background: #fff; color: #34483b; font-size: 12px; }
.im-pay-form input:focus { border-color: #6cb08e; box-shadow: 0 0 0 3px #dff0e6; outline: 0; }
.im-pay-form .button { align-self: end; }
.im-pay-form .save-message { grid-column: 1 / -1; color: #b3322e; font-size: 12px; min-height: 0; }
@media (max-width: 760px) { .im-pay-form { grid-template-columns: 1fr 1fr; } }
/* Wan Reminder toolbar */
.wan-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #edf1ee; background: #fafcfb; }
.wan-toolbar label { display: flex; flex-direction: column; gap: 4px; color: #637168; font-size: 11px; font-weight: 600; }
.wan-toolbar input[type="search"] { min-width: 240px; min-height: 36px; padding: 7px 12px; border: 1px solid #dde6e0; border-radius: 999px; background: #fff; font-size: 12px; }
.wan-toolbar input[type="search"]:focus { border-color: #6cb08e; box-shadow: 0 0 0 3px #dff0e6; outline: 0; }
.wan-toolbar select { min-width: 190px; }
.wan-total { margin-left: auto; align-self: center; color: #176d4d; font-size: 13px; }.da-status-tabs{display:flex;gap:6px;margin:0 0 10px;border-bottom:1px solid #e7ede9}
.da-status-tabs button{padding:8px 14px;border:0;border-bottom:2px solid transparent;background:none;color:#637168;font-size:11px;font-weight:600;cursor:pointer}
.da-status-tabs button span{margin-left:4px;padding:1px 7px;border-radius:99px;background:#e3eee8;color:#14382a;font-size:10px}
.da-status-tabs button.active{color:#14382a;border-bottom-color:#2f7d5b}
.da-bulk-bar{flex-wrap:wrap}

/* Shared PSF brand colours; status and warning colours remain distinct. */
.sidebar { overflow-y: auto; overscroll-behavior: contain; }
.project-workspace { max-width: 900px; }
.project-workspace-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.project-workspace-links > div { padding: 20px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }
.project-workspace-links h3 { margin: 0 0 8px; color: #0f172a; font-size: 15px; }
.project-workspace-links p, .project-workspace-note { color: #526075; font-size: 13px; line-height: 1.6; }
.project-workspace-links p { margin: 0 0 18px; }
.project-workspace-note { margin: 20px 0 0; }
.planner-app { display: grid; gap: 16px; }
.planner-panel { padding: 20px; }
.planner-panel h2 { margin: 0 0 10px; }
.planner-hint { color: #64748b; font-size: 13px; line-height: 1.5; }
.planner-message { padding: 10px 12px; border-radius: 8px; background: #eff6ff; color: #1e40af; }
.planner-error { color: #b91c1c; }
.planner-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; align-items: end; margin-top: 16px; }
.planner-form label, .planner-select { display: grid; gap: 6px; color: #334155; font-size: 12px; font-weight: 600; }
.planner-form :is(input, select, textarea), .planner-select select { width: 100%; padding: 9px; border: 1px solid #cbd5e1; border-radius: 7px; background: white; color: #0f172a; font: inherit; }
.planner-select { max-width: 480px; }
.planner-form small, .planner-table small { display: block; color: #64748b; font-size: 11px; font-weight: 400; }
.planner-form .button { justify-self: start; }
.planner-description { grid-column: 1 / -1; width: min(650px, 100%); }
.planner-description textarea { height: 73px; resize: vertical; }
.planner-step-fieldset { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; }
.planner-step-fieldset legend { padding: 0 4px; color: #334155; font-size: 12px; font-weight: 600; }
.planner-step-fieldset [data-step-list] { display: grid; gap: 10px; margin: 10px 0; }
.planner-step-editor { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 8px; }
.planner-form .planner-step-check { display: flex; align-items: center; gap: 5px; min-height: 36px; white-space: nowrap; }
.planner-form .planner-step-check input { width: auto; margin: 0; accent-color: #4f46e5; }
.planner-form input[readonly] { background: #f1f5f9; }
.planner-work-steps { display: grid; gap: 7px; padding-left: 22px; color: #334155; font-size: 12px; }
.planner-work-steps li { padding-left: 3px; overflow-wrap: anywhere; }
.planner-step-status { display: inline-block; margin-right: 8px; color: #64748b; font-size: 11px; font-weight: 700; }
.planner-step-status.complete { color: #15803d; }
.planner-row-card h3 { margin: 14px 0 4px; color: #334155; font-size: 12px; }
.planner-row-card .planner-work-steps { margin: 8px 0 0; }
.planner-table { width: 100%; min-width: 0; table-layout: fixed; }
.planner-table th:nth-child(2), .planner-table th:nth-child(3) { width: 120px; }
.planner-table td { white-space: normal; }
.planner-row-toggle, .planner-step-remove { border: 0; border-radius: 12px; background: #5b5bf0; color: #fff; box-shadow: inset 0 1px 0 #ffffff59, inset 0 -2px 0 #0000004d, 0 1px 2px #00000066, 0 8px 24px -6px #5b5bf099; transition: box-shadow .12s ease, transform .12s ease; }
.planner-row-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px; text-align: left; }
.planner-step-remove { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 36px; padding: 0; }
.planner-row-toggle strong, .planner-row-toggle small { color: inherit; overflow-wrap: anywhere; }
.planner-row-toggle strong { text-transform: capitalize; }
.planner-row-toggle small { opacity: .85; }
.planner-row-toggle:active, .planner-step-remove:active { transform: translateY(1px); box-shadow: inset 0 2px 4px #00000066, inset 0 -1px 0 #ffffff33; }
.planner-row-toggle:focus-visible, .planner-step-remove:focus-visible { outline: 3px solid #4338ca; outline-offset: 3px; }
.planner-row-chevron { flex: none; font-size: 20px; line-height: 1; transition: transform .12s ease; }
.planner-row-toggle[aria-expanded="true"] .planner-row-chevron { transform: rotate(180deg); }
.planner-row-details[hidden] { display: none; }
.planner-row-details td { padding-top: 0; }
.planner-row-card { padding: 16px; border: 1px solid #c7d2fe; border-radius: 12px; background: #eef2ffdf; box-shadow: 0 8px 24px #47556920, inset 0 1px 0 #ffffffcc; backdrop-filter: blur(12px); }
.planner-row-card dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin: 0; }
.planner-row-card dt { color: #64748b; font-size: 11px; font-weight: 600; }
.planner-row-card dd { margin: 4px 0 0; color: #1e293b; font-weight: 600; }
.planner-row-actions { display: flex; gap: 8px; margin-top: 14px; }
.planner-track { position: relative; width: min(180px, 100%); height: 14px; border-radius: 7px; background: #e2e8f0; overflow: hidden; }
.planner-track span { position: absolute; top: 2px; height: 10px; border-radius: 5px; background: #3b82f6; }
.planner-track span.critical { background: #dc2626; }
@media (max-width: 600px) {
  .planner-table th:nth-child(2), .planner-table th:nth-child(3) { width: 94px; }
  .planner-table th, .planner-table td { padding: 8px 5px; font-size: 11px; }
  .planner-row-toggle { padding: 9px; }
  .planner-row-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.planner-matrix { max-width: 520px; margin-bottom: 20px; text-align: center; }
.planner-matrix td.low { background: #dcfce7; }
.planner-matrix td.medium { background: #fef3c7; }
.planner-matrix td.high { background: #fee2e2; }
.planner-request { padding: 14px 0; border-top: 1px solid #e2e8f0; }
.planner-request pre { max-height: 220px; overflow: auto; padding: 12px; border-radius: 6px; background: #f8fafc; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.planner-executive { display: grid; gap: 16px; }
.planner-overview { padding: 22px; background: linear-gradient(120deg, #0f172a, #1e3a5f); color: #fff; }
.planner-overview h2 { margin: 4px 0; color: #fff; font-size: 20px; }
.planner-overview .planner-hint { color: #cbd5e1; }
.planner-kicker { margin: 0; color: #93c5fd; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.planner-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 10px; margin-top: 18px; }
.planner-metric { display: grid; gap: 5px; padding: 14px; border: 1px solid #ffffff24; border-radius: 9px; background: #ffffff10; }
.planner-metric span, .planner-metric small { color: #cbd5e1; font-size: 11px; }
.planner-metric strong { font-size: 21px; line-height: 1.2; overflow-wrap: anywhere; }
.planner-dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 16px; }
.planner-chart-row { display: grid; grid-template-columns: 90px 1fr 30px; gap: 8px; align-items: center; margin: 12px 0; color: #475569; font-size: 12px; }
.planner-chart-track { height: 8px; overflow: hidden; border-radius: 5px; background: #e2e8f0; }
.planner-chart-track span { display: block; height: 100%; border-radius: inherit; }
.planner-chart-track .complete { background: #16a34a; }
.planner-chart-track .progress { background: #2563eb; }
.planner-chart-track .waiting { background: #94a3b8; }
.planner-phase { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin: 12px 0; color: #475569; font-size: 12px; }
.planner-phase .planner-chart-track { grid-column: 1 / -1; }
.planner-milestones { list-style: none; padding: 0; margin: 0; }
.planner-milestones li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #e2e8f0; font-size: 12px; }
.planner-milestones time { flex: none; color: #1d4ed8; font-weight: 700; }
.planner-client-update { color: #334155; font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.planner-gantt-legend { margin: 12px 0 16px; color: #475569; font-size: 12px; }
.planner-gantt-legend > strong { color: #0f172a; }
.planner-gantt-legend ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0 0; padding: 0; list-style: none; }
.planner-gantt-legend li { display: flex; align-items: center; gap: 7px; }
.planner-legend-swatch { display: inline-block; flex: none; width: 22px; height: 9px; border-radius: 5px; background: #3b82f6; }
.planner-legend-swatch.summary { height: 6px; border-radius: 0; background: #1e293b; }
.planner-legend-swatch.critical { background: #dc2626; }
.planner-legend-swatch.completed { background: #16a34a; }
.planner-legend-swatch.progress { background: linear-gradient(to right, #2c5fad 50%, #3b82f6 50%); }
.planner-legend-swatch.baseline { height: 4px; background: #64748b; }
.planner-legend-swatch.milestone { width: 10px; height: 10px; margin: 0 6px; border-radius: 0; transform: rotate(45deg); }
.planner-legend-arrow { width: 22px; color: #64748b; font-size: 18px; line-height: 1; text-align: center; }
.planner-timescale { display: grid; gap: 5px; color: #334155; font-size: 12px; font-weight: 600; }
.planner-timescale select { min-width: 115px; padding: 8px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: #0f172a; }
.planner-details { padding: 22px; }
.planner-details h3 { margin: 20px 0 5px; font-size: 14px; }
.planner-details dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.planner-details dt { color: #64748b; font-size: 11px; }
.planner-details dd { margin: 3px 0 0; color: #0f172a; font-size: 13px; font-weight: 600; }
.planner-gantt { --planner-label-width: 320px; min-width: 0; }
.planner-gantt-header-scroll { position: sticky; top: 62px; z-index: 3; overflow-x: auto; border: 1px solid #dbe3ee; border-radius: 8px 8px 0 0; background: #f1f5f9; }
.planner-gantt-scroll { max-width: 100%; overflow-x: auto; border: 1px solid #dbe3ee; border-top: 0; border-radius: 0 0 8px 8px; }
.planner-gantt-header, .planner-gantt-body { width: calc(var(--planner-label-width) + var(--planner-chart-width)); min-width: 100%; }
.planner-gantt-header, .planner-gantt-row { display: grid; grid-template-columns: var(--planner-label-width) var(--planner-chart-width); }
.planner-gantt-header { background: #f1f5f9; color: #475569; font-size: 11px; font-weight: 700; }
.planner-gantt-heading, .planner-gantt-info { box-sizing: border-box; border-right: 1px solid #cbd5e1; background: #fff; }
.planner-gantt-heading { display: grid; grid-template-columns: minmax(0, 1fr) 45px; gap: 6px; padding: 12px; background: #f1f5f9; }
.planner-gantt-ticks { display: flex; }
.planner-gantt-ticks span { flex: none; box-sizing: border-box; padding: 12px 5px; border-right: 1px solid #dbe3ee; }
.planner-gantt-body { position: relative; }
.planner-gantt-row { height: 80px; border-top: 1px solid #e2e8f0; box-sizing: border-box; }
.planner-gantt-info { display: grid; grid-template-columns: minmax(0, 1fr) 45px; align-items: center; gap: 6px; padding: 8px 12px; }
.planner-gantt-info > div { min-width: 0; display: grid; gap: 4px; }
.planner-gantt-info strong { display: block; overflow: hidden; color: #0f172a; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.planner-gantt-info small { display: block; overflow: hidden; color: #64748b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.planner-gantt-activity > div { padding-left: 12px; }
.planner-gantt-float { color: #475569; font-size: 11px; font-weight: 600; }
.planner-gantt-float.critical { color: #b91c1c; }
.planner-gantt-summary .planner-gantt-info { background: #f1f5f9; }
.planner-gantt-lane { position: relative; }
.planner-gantt-summary-bar { position: absolute; top: 36px; height: 7px; background: #1e293b; }
.planner-gantt-summary-bar::before, .planner-gantt-summary-bar::after { content: ""; position: absolute; top: 0; width: 3px; height: 13px; background: #1e293b; }
.planner-gantt-summary-bar::before { left: 0; }
.planner-gantt-summary-bar::after { right: 0; }
.planner-gantt-hit { position: absolute; top: 22px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.planner-gantt-hit:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; }
.planner-gantt-bar { position: absolute; top: 9px; left: 0; height: 18px; border-radius: 9px; background: #3b82f6; }
.planner-gantt-bar.critical { background: #dc2626; }
.planner-gantt-bar.completed { background: #16a34a; }
.planner-gantt-progress { display: block; height: 100%; border-radius: inherit; background: #0003; }
.planner-gantt-bar-label { position: absolute; inset: 0; overflow: hidden; padding: 1px 5px; color: #fff; font-size: 10px; font-weight: 600; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.planner-gantt-bar.milestone { top: 13px; height: 10px; border-radius: 0; transform: rotate(45deg); }
.planner-gantt-baseline { position: absolute; top: 54px; height: 4px; border-radius: 2px; background: #64748b; }
.planner-gantt-links { position: absolute; top: 0; left: var(--planner-label-width); z-index: 2; overflow: visible; pointer-events: none; }
.planner-gantt-links > line { stroke: #cbd5e1; stroke-width: 1; opacity: .5; }
.planner-gantt-links > path { fill: none; stroke: #64748b; stroke-width: 1; }
.planner-gantt-links marker path { fill: #64748b; }
@media (max-width: 600px) {
  .planner-gantt { --planner-label-width: 200px; }
  .planner-gantt-heading, .planner-gantt-info { grid-template-columns: minmax(0, 1fr) 38px; padding-left: 8px; padding-right: 8px; }
  .planner-gantt-activity > div { padding-left: 6px; }
}
.auth-shell { background: linear-gradient(180deg, #eff6ff 0%, var(--canvas) 60%); }
.auth-home-link, .text-button, .doc-link { color: #1d4ed8; }
.auth-home-link:hover, .text-button:hover, .doc-link:hover { color: #1e40af; }
.sidebar { background: #0f172a; }
.brand-mark { background: #dbeafe; color: #0f172a; }
.workspace-label { color: #94a3b8; }
.nav-item { color: #cbd5e1; }
.nav-item:hover { background: #1e293b; }
.nav-item.active { background: #1e3a5f; }
.nav-item.active::before { background: #60a5fa; }
.nav-icon, .nav-count { color: #94a3b8; }
.nav-item.active .nav-icon { color: #93c5fd; }
.sidebar-help, .user-mini { border-color: #334155; }
.sidebar-help strong, .user-mini strong { color: #e2e8f0; }
.sidebar-help small, .user-mini small, .brand-copy small { color: #94a3b8; }
.avatar-dark { background: #334155; color: #e2e8f0; }
.avatar-green { background: #dbeafe; color: #1d4ed8; }
.button-primary { background: #2563eb; border-color: #2563eb; box-shadow: none; }
.button-primary:hover { background: #1d4ed8; border-color: #1d4ed8; box-shadow: none; }
.button-secondary, .ghost-button { border-color: #cbd5e1; color: #334155; }
.button-secondary:hover, .ghost-button:hover { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; }
.button:focus-visible, .ghost-button:focus-visible, .finance-action-button:focus-visible, .finance-delete-button:focus-visible { box-shadow: 0 0 0 3px #93c5fd; }
.app-shell :is(input, select, textarea):focus-visible, .auth-card :is(input, select, textarea):focus-visible { border-color: #2563eb; box-shadow: 0 0 0 3px #dbeafe; }
.filter-tab.active, .da-menu-group.active > .da-menu-trigger, .da-menu-trigger:hover, .da-menu-group.open > .da-menu-trigger { background: #dbeafe; color: #1e40af; }
.da-menubar { border-color: #e2e8f0; background: #f8fafc; }
.da-menubar button, .da-menu-trigger { color: #334155; }
.da-menubar button:hover { background: #dbeafe; color: #1e40af; }
.da-menu-single.active, .da-menu-list button.active, .wan-filters .ghost-button.is-on { background: #1d4ed8; border-color: #1d4ed8; color: #fff; box-shadow: none; }
.finance-action-button-primary { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.finance-action-button-primary:hover { background: #dbeafe; border-color: #93c5fd; }
.da-status-tabs button span { background: #eff6ff; color: #1e40af; }
.da-status-tabs button.active { color: #1d4ed8; border-bottom-color: #2563eb; }
.home-hero { background: linear-gradient(135deg, #0f172a, #1e3a5f); }
.home-services article { background: #f8fafc; }
