:root {
  --alohi-primary: #176b68;
  --alohi-primary-hover: #115654;
  --alohi-secondary: #c9814a;
  --alohi-success: #287a57;
  --alohi-warning: #a86516;
  --alohi-danger: #b4413c;
  --alohi-background: #f7f5f1;
  --alohi-surface: #fff;
  --alohi-surface-secondary: #eef3f1;
  --alohi-text: #182321;
  --alohi-muted: #66736f;
  --alohi-border: #dbe2df;
  --alohi-radius-sm: .5rem;
  --alohi-radius-md: .75rem;
  --alohi-radius-lg: 1rem;
  --alohi-radius-xl: 1.5rem;
  --alohi-shadow-sm: 0 1px 3px rgb(22 43 38 / .08);
  --alohi-shadow-md: 0 14px 40px rgb(22 43 38 / .10);
  --sidebar-width: 248px;
}

* { box-sizing: border-box; }
html { background: var(--alohi-background); }
body { margin: 0; color: var(--alohi-text); background: var(--alohi-background); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; z-index: 1100; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--alohi-text); color: #fff; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.app-shell { min-height: 100vh; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 1020; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 1.25rem .9rem; background: #143d3b; color: #eaf3f0; }
.brand { display: flex; align-items: center; gap: .7rem; padding: .2rem .65rem 1.35rem; color: #fff; font-size: 1.3rem; font-weight: 750; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .8rem; color: #143d3b; background: #e8c69b; font-family: Georgia, serif; font-style: italic; }
.sidebar-nav { display: grid; gap: .3rem; }
.sidebar-nav a, .sidebar-footer > a { display: flex; align-items: center; min-height: 46px; gap: .8rem; padding: .7rem .8rem; color: #bcd0cb; border-radius: .75rem; text-decoration: none; font-size: .94rem; }
.sidebar-nav a:hover, .sidebar-footer > a:hover, .sidebar-nav a.active, .sidebar-footer > a.active { color: #fff; background: rgb(255 255 255 / .1); }
.sidebar-nav i, .sidebar-footer > a i { width: 1.25rem; font-size: 1.1rem; }
.nav-count { margin-left: auto; min-width: 1.5rem; padding: .1rem .4rem; border-radius: 1rem; text-align: center; font-size: .72rem; background: rgb(255 255 255 / .12); }
.sidebar-footer { margin-top: auto; }
.profile-chip { display: flex; align-items: center; gap: .65rem; margin-top: .75rem; padding: .85rem .6rem .2rem; border-top: 1px solid rgb(255 255 255 / .1); }
.profile-chip strong, .profile-chip small { display: block; }
.profile-chip strong { font-size: .82rem; }
.profile-chip small { color: #9db6b0; font-size: .7rem; }
.profile-chip > i { margin-left: auto; }
.profile-chip > button { display: grid; flex: 0 0 auto; place-items: center; width: 2rem; height: 2rem; margin-left: auto; border: 0; border-radius: .55rem; color: #bcd0cb; background: transparent; }
.profile-chip > button:hover { color: #fff; background: rgb(255 255 255 / .1); }
.avatar { display: grid; flex: 0 0 auto; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: #143d3b; background: #e8c69b; font-size: .72rem; font-weight: 750; }

.topbar { position: fixed; z-index: 1010; top: 0; right: 0; left: var(--sidebar-width); height: 74px; display: flex; align-items: center; gap: 1rem; padding: 0 2.25rem; background: rgb(247 245 241 / .9); border-bottom: 1px solid rgb(219 226 223 / .75); backdrop-filter: blur(16px); }
.global-search { position: relative; width: min(470px, 48vw); }
.global-search > i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--alohi-muted); }
.global-search > input { width: 100%; height: 43px; padding: 0 3.5rem 0 2.55rem; border: 1px solid var(--alohi-border); border-radius: .8rem; background: rgb(255 255 255 / .8); outline: none; }
.global-search > input:focus { border-color: var(--alohi-primary); box-shadow: 0 0 0 3px rgb(23 107 104 / .14); }
.global-search > kbd { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); color: var(--alohi-muted); background: #f0f1ef; border: 1px solid var(--alohi-border); font-size: .7rem; font-weight: 500; }
.global-search-results { position: absolute; z-index: 1100; top: calc(100% + .55rem); right: 0; left: 0; max-height: min(65vh,480px); overflow: auto; padding: .45rem; background: #fff; border: 1px solid var(--alohi-border); border-radius: .85rem; box-shadow: 0 18px 50px rgb(12 35 32 / .2); }
.global-search-results[hidden] { display: none; }.search-state { display: flex; align-items: center; gap: .55rem; padding: .9rem; color: var(--alohi-muted); font-size: .7rem; }.search-group + .search-group { margin-top: .35rem; padding-top: .35rem; border-top: 1px solid #edf0ee; }.search-group > strong { display: block; padding: .35rem .55rem; color: var(--alohi-muted); font-size: .55rem; letter-spacing: .06em; text-transform: uppercase; }.search-result { display: grid; grid-template-columns: 34px minmax(0,1fr) max-content; gap: .6rem; align-items: center; width: 100%; min-width: 0; padding: .55rem; color: var(--alohi-text); background: transparent; border: 0; border-radius: .55rem; text-align: left; }.search-result:hover,.search-result:focus,.search-result.active { background: #edf6f2; outline: none; }.search-result > i { position: static; display: grid; width: 34px; height: 34px; place-items: center; color: var(--alohi-primary); background: #e5f2ed; border-radius: .5rem; transform: none; }.search-result span { display: grid; min-width: 0; }.search-result strong { overflow: hidden; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }.search-result small { overflow: hidden; color: var(--alohi-muted); font-size: .57rem; text-overflow: ellipsis; white-space: nowrap; }.search-result > small { justify-self: start; max-width: 7rem; padding: .15rem .35rem; background: #f2f4f3; border-radius: 1rem; }
.new-job-dialog .dialog-grid { padding-bottom: .5rem; }.dialog-feedback { margin: .25rem 1.25rem 0; padding: .65rem .75rem; color: #8e3934; background: #fff0ee; border-radius: .55rem; font-size: .65rem; }.dialog-feedback[hidden] { display: none; }.shell-toast { z-index: 1300; }
.topbar-actions { display: flex; align-items: center; gap: .65rem; margin-left: auto; }
.icon-button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: .75rem; color: var(--alohi-text); background: transparent; }
.icon-button:hover { background: var(--alohi-surface-secondary); }
.notification-dot { position: absolute; top: .65rem; right: .65rem; width: .45rem; height: .45rem; border: 2px solid var(--alohi-background); border-radius: 50%; background: var(--alohi-secondary); }
.notification-dot[hidden],.notification-count[hidden] { display: none; }.notification-count { position: absolute; top: .2rem; right: .15rem; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 .2rem; color: #fff; background: #b85c4e; border: 2px solid #fff; border-radius: 1rem; font-size: .47rem; font-weight: 800; }
.btn-primary { --bs-btn-bg: var(--alohi-primary); --bs-btn-border-color: var(--alohi-primary); --bs-btn-hover-bg: var(--alohi-primary-hover); --bs-btn-hover-border-color: var(--alohi-primary-hover); min-height: 44px; border-radius: .75rem; font-weight: 650; }
.mobile-menu, .mobile-nav, .sidebar-scrim { display: none; }

.auth-screen { overflow: hidden; background: #f3f1ec; }
.auth-screen .sidebar,.auth-screen .topbar,.auth-screen .mobile-nav,.auth-screen .sidebar-scrim,.auth-screen > .skip-link { display: none; }
.auth-screen .workspace { min-height: 100vh; margin: 0; padding: 0; }
.login-page { display: grid; grid-template-columns: minmax(390px,.9fr) minmax(500px,1.1fr); min-height: 100vh; }
.login-story { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: clamp(2rem,4vw,4.5rem); overflow: hidden; color: #f2f8f5; background: #143d3b; }
.login-story::before { position: absolute; right: -18%; bottom: -10%; width: 78%; aspect-ratio: 1; content: ''; border: 1px solid rgb(232 198 155 / .3); border-radius: 50%; box-shadow: 0 0 0 65px rgb(232 198 155 / .055),0 0 0 130px rgb(232 198 155 / .035); }
.login-story::after { position: absolute; top: 15%; right: 8%; width: 8rem; height: 8rem; content: ''; border-radius: 2.5rem; background: linear-gradient(135deg,rgb(232 198 155 / .16),transparent); transform: rotate(24deg); }
.login-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: .75rem; width: fit-content; color: #fff; font-size: 1.35rem; font-weight: 750; letter-spacing: -.03em; text-decoration: none; }
.login-story-copy { position: relative; z-index: 1; max-width: 580px; margin-block: auto; padding: 5rem 0; }
.login-story-copy .eyebrow { color: #e8c69b; }
.login-story-copy h1 { max-width: 11ch; color: #fff; font-family: Georgia,serif; font-size: clamp(2.6rem,5vw,5rem); font-weight: 500; line-height: 1.02; letter-spacing: -.055em; }
.login-story-copy > p:last-child { max-width: 540px; margin: 1.5rem 0 0; color: #bcd0cb; font-size: clamp(.95rem,1.5vw,1.12rem); line-height: 1.7; }
.login-proof { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .7rem; }
.login-proof span { display: inline-flex; align-items: center; gap: .42rem; padding: .45rem .7rem; border: 1px solid rgb(255 255 255 / .12); border-radius: 2rem; color: #d7e5e1; background: rgb(255 255 255 / .06); font-size: .68rem; }
.login-proof i { color: #e8c69b; }
.login-aloha { position: relative; z-index: 1; margin: 1.2rem 0 0; color: #89aaa2; font-size: .68rem; }
.login-form-side { display: grid; place-items: center; min-height: 100vh; padding: clamp(1.25rem,5vw,5rem); background: radial-gradient(circle at 80% 12%,#fff 0,transparent 28%),#f7f5f1; }
.login-card { width: min(100%,440px); }
.login-card h2 { margin: .25rem 0 0; font-size: clamp(1.75rem,3vw,2.25rem); font-weight: 760; letter-spacing: -.045em; }
.login-intro { margin: .6rem 0 2rem; color: var(--alohi-muted); font-size: .88rem; }
.login-mobile-brand { display: none; align-items: center; gap: .65rem; margin-bottom: 2.8rem; font-size: 1.2rem; }
.login-field { display: block; margin-bottom: 1rem; }
.login-field > span { display: block; margin-bottom: .42rem; color: #34423f; font-size: .73rem; font-weight: 700; }
.login-field > div { position: relative; }
.login-field > div > i { position: absolute; top: 50%; left: .9rem; transform: translateY(-50%); color: #84908c; }
.login-field input { width: 100%; height: 50px; padding: 0 2.7rem 0 2.55rem; border: 1px solid #d4ddda; border-radius: .78rem; color: var(--alohi-text); background: rgb(255 255 255 / .9); outline: none; }
.login-field input:focus { border-color: var(--alohi-primary); box-shadow: 0 0 0 3px rgb(23 107 104 / .12); }
.login-field button { position: absolute; top: 50%; right: .55rem; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; transform: translateY(-50%); border: 0; border-radius: .5rem; color: var(--alohi-muted); background: transparent; }
.login-options { display: flex; align-items: center; justify-content: space-between; margin: .2rem 0 1.35rem; color: var(--alohi-muted); font-size: .68rem; }
.login-options label { display: flex; align-items: center; gap: .42rem; }.login-options input { accent-color: var(--alohi-primary); }
.login-options button { border: 0; color: var(--alohi-primary); background: transparent; font-weight: 700; }
.login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding-inline: 1.1rem; }
.login-submit.loading i { animation: login-nudge .8s ease-in-out infinite alternate; }
@keyframes login-nudge { to { transform: translateX(4px); } }
.test-fill { display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; min-height: 44px; margin-top: .7rem; border: 0; border-radius: .7rem; color: var(--alohi-primary); background: transparent; font-size: .7rem; font-weight: 700; }
.test-fill:hover { background: #eaf0ee; }
.login-help { margin: 1.8rem 0 0; color: var(--alohi-muted); font-size: .68rem; text-align: center; }
.login-alert { display: grid; grid-template-columns: auto 1fr; gap: .55rem; margin: -1rem 0 1.2rem; padding: .75rem; border: 1px solid #efc8c5; border-radius: .7rem; color: #973f3b; background: #faecea; font-size: .72rem; }
.login-alert[hidden] { display: none; }

.workspace { min-height: 100vh; margin-left: var(--sidebar-width); padding: 106px clamp(1.25rem, 3vw, 3rem) 3rem; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.eyebrow { margin: 0 0 .35rem; color: var(--alohi-primary); font-size: .74rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 760; letter-spacing: -.045em; }
.page-subtitle { margin: .4rem 0 0; color: var(--alohi-muted); }
.date-control { display: flex; align-items: center; gap: .7rem; min-height: 44px; padding: .55rem .8rem; border: 1px solid var(--alohi-border); border-radius: .75rem; background: var(--alohi-surface); font-weight: 650; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.metric { min-height: 132px; padding: 1.2rem; border-radius: var(--alohi-radius-lg); background: var(--alohi-surface); box-shadow: var(--alohi-shadow-sm); }
.metric-top { display: flex; justify-content: space-between; color: var(--alohi-muted); font-size: .84rem; font-weight: 620; }
.metric-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .65rem; color: var(--alohi-primary); background: var(--alohi-surface-secondary); }
.metric strong { display: block; margin-top: .8rem; font-size: 1.65rem; letter-spacing: -.04em; }
.metric small { color: var(--alohi-muted); }
.trend-up { color: var(--alohi-success) !important; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 1.25rem; }
.panel { padding: 1.25rem; border-radius: var(--alohi-radius-lg); background: var(--alohi-surface); box-shadow: var(--alohi-shadow-sm); }
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.panel-title { margin: 0; font-size: 1rem; font-weight: 720; }
.text-link { border: 0; color: var(--alohi-primary); background: transparent; font-size: .82rem; font-weight: 700; }
.schedule-row { display: grid; grid-template-columns: 70px 4px minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 74px; padding: .45rem 0; }
.schedule-row + .schedule-row { border-top: 1px solid #edf0ee; }
.schedule-time strong, .schedule-time small { display: block; }
.schedule-time strong { font-size: .9rem; }
.schedule-time small { color: var(--alohi-muted); font-size: .73rem; }
.schedule-bar { align-self: stretch; margin: .4rem 0; border-radius: 1rem; background: var(--alohi-primary); }
.schedule-bar.warning { background: var(--alohi-warning); }
.schedule-info strong, .schedule-info small { display: block; }
.schedule-info strong { font-size: .9rem; }
.schedule-info small { margin-top: .2rem; color: var(--alohi-muted); font-size: .76rem; }
.team-stack { display: flex; }
.mini-avatar { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-left: -.35rem; border: 2px solid #fff; border-radius: 50%; color: #24423d; background: #dceae5; font-size: .62rem; font-weight: 720; }
.mini-avatar:first-child { margin-left: 0; }
.attention-list { display: grid; gap: .7rem; }
.attention-item { display: grid; grid-template-columns: 2.3rem minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-height: 60px; padding: .65rem; border-radius: .8rem; background: #fafaf8; }
.attention-icon { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .7rem; color: var(--alohi-warning); background: #f8ead6; }
.attention-icon.danger { color: var(--alohi-danger); background: #f7e5e3; }
.attention-icon.success { color: var(--alohi-success); background: #e4f1ea; }
.attention-item strong, .attention-item small { display: block; }
.attention-item strong { font-size: .84rem; }
.attention-item small { margin-top: .15rem; color: var(--alohi-muted); font-size: .72rem; }
.count-pill { min-width: 1.7rem; padding: .15rem .45rem; border-radius: 1rem; text-align: center; color: var(--alohi-muted); background: #ecefeb; font-size: .72rem; font-weight: 720; }
.coming-soon { display: grid; min-height: 52vh; place-items: center; text-align: center; }
.coming-soon i { display: grid; place-items: center; width: 4rem; height: 4rem; margin: auto auto 1rem; border-radius: 1.2rem; color: var(--alohi-primary); background: var(--alohi-surface-secondary); font-size: 1.6rem; }

.people-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin-bottom: 1.25rem; }
.people-metrics > div { display: flex; align-items: center; gap: .85rem; min-height: 82px; padding: 1rem; border-radius: var(--alohi-radius-lg); background: var(--alohi-surface); box-shadow: var(--alohi-shadow-sm); }
.people-metrics strong, .people-metrics small { display: block; }
.people-metrics strong { font-size: 1.35rem; line-height: 1.1; }
.people-metrics small { margin-top: .2rem; color: var(--alohi-muted); font-size: .75rem; }
.summary-icon { display: grid; flex: 0 0 auto; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .8rem; font-size: 1.05rem; }
.summary-icon.mint { color: var(--alohi-primary); background: #e5f0ed; }
.summary-icon.sand { color: #a8662b; background: #f7ecdc; }
.summary-icon.rose { color: #a94b56; background: #f7e5e8; }
.summary-icon.blue { color: #426f91; background: #e5eff5; }
.employee-panel { padding: 0; overflow: hidden; }
.employee-toolbar { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-bottom: 1px solid #edf0ee; }
.segment-control { display: flex; align-items: center; gap: .2rem; }
.segment-control button { min-height: 38px; padding: .4rem .72rem; border: 0; border-radius: .65rem; color: var(--alohi-muted); background: transparent; font-size: .8rem; font-weight: 650; }
.segment-control button span { margin-left: .2rem; color: #8b9692; font-size: .7rem; }
.segment-control button:hover, .segment-control button.active { color: var(--alohi-primary); background: var(--alohi-surface-secondary); }
.list-search { position: relative; margin-left: auto; }
.list-search i { position: absolute; left: .72rem; top: 50%; transform: translateY(-50%); color: var(--alohi-muted); }
.list-search input { width: 210px; height: 39px; padding: 0 .8rem 0 2.2rem; border: 1px solid var(--alohi-border); border-radius: .7rem; outline: none; }
.list-search input:focus { border-color: var(--alohi-primary); box-shadow: 0 0 0 3px rgb(23 107 104 / .12); }
.filter-button { display: flex; align-items: center; gap: .45rem; min-height: 39px; padding: .45rem .72rem; border: 1px solid var(--alohi-border); border-radius: .7rem; background: #fff; font-size: .8rem; font-weight: 650; }
.employee-list-header, .employee-row { display: grid; grid-template-columns: minmax(230px, 1.5fr) minmax(100px, .7fr) minmax(135px, .9fr) minmax(125px, .8fr) 105px 28px; align-items: center; gap: 1rem; }
.employee-list-header { padding: .72rem 1.2rem; color: var(--alohi-muted); background: #fafbf9; border-bottom: 1px solid #edf0ee; font-size: .69rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.employee-row { min-height: 82px; padding: .8rem 1.2rem; border-bottom: 1px solid #edf0ee; }
.employee-row:hover { background: #fcfdfb; }
.employee-person { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.employee-person strong, .employee-person small, .employee-cell strong, .employee-cell small { display: block; }
.employee-person strong { font-size: .88rem; }
.employee-person small { margin-top: .18rem; overflow: hidden; color: var(--alohi-muted); font-size: .73rem; text-overflow: ellipsis; }
.employee-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: 50%; font-size: .72rem; font-weight: 750; }
.employee-avatar.mint { color: #25655c; background: #dcece7; }
.employee-avatar.sand { color: #8a5d30; background: #f1e4d3; }
.employee-avatar.blue { color: #416982; background: #dce8ef; }
.employee-avatar.lilac { color: #685884; background: #e7e1ee; }
.employee-avatar.rose { color: #98515a; background: #f2dfe2; }
.employee-cell small { color: var(--alohi-muted); font-size: .67rem; }
.live-data-label { display: flex; align-items: center; gap: .3rem; color: var(--alohi-primary); font-size: .58rem; font-weight: 700; }.employee-detail-dialog { max-height: min(88vh,760px); overflow: auto; }.employee-profile-section { padding: .85rem 1.25rem; border-top: 1px solid var(--alohi-border); }.employee-profile-section h3 { margin: 0 0 .55rem; font-size: .72rem; }.employee-profile-section > p { margin: 0; color: var(--alohi-muted); font-size: .65rem; line-height: 1.55; }.employee-profile-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; }.employee-profile-facts span { display: grid; gap: .15rem; padding: .55rem; background: #f4f7f5; border-radius: .5rem; }.employee-profile-facts small { color: var(--alohi-muted); font-size: .52rem; }.employee-profile-facts strong { overflow: hidden; font-size: .64rem; text-overflow: ellipsis; }.time-off-list { display: grid; gap: .4rem; }.time-off-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: .55rem; align-items: center; padding: .55rem; background: #f7f8f7; border-radius: .5rem; }.time-off-row > span { display: grid; }.time-off-row strong { font-size: .62rem; }.time-off-row small { color: var(--alohi-muted); font-size: .54rem; }.time-off-row > div { display: flex; gap: .25rem; }.time-off-row button { display: grid; width: 27px; height: 27px; place-items: center; color: var(--alohi-primary); background: #e5f2ed; border: 0; border-radius: .38rem; }.time-off-row button:last-child { color: #914b45; background: #f7e7e4; }.employee-empty-state { margin: 0; color: var(--alohi-muted); font-size: .62rem; }.availability-editor { display: grid; gap: .4rem; padding: .8rem 1.25rem; }.availability-edit-row { display: grid; grid-template-columns: minmax(105px,1fr) 95px auto 95px; gap: .45rem; align-items: center; padding: .45rem .55rem; background: #f5f7f6; border-radius: .5rem; }.availability-edit-row label { font-size: .63rem; font-weight: 650; }.availability-edit-row input[type="checkbox"] { accent-color: var(--alohi-primary); }.availability-edit-row input[type="time"] { min-height: 34px; padding: .3rem; border: 1px solid var(--alohi-border); border-radius: .4rem; font-size: .61rem; }.availability-edit-row > span { color: var(--alohi-muted); font-size: .55rem; }
.employee-cell strong { margin-top: .14rem; font-size: .78rem; font-weight: 630; }
.status-badge { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; width: fit-content; min-height: 28px; padding: .25rem .55rem; border-radius: 1rem; font-size: .7rem; font-weight: 700; }
.status-badge.active { color: #246b4c; background: #e5f2eb; }
.status-badge.pending { color: #99611b; background: #f8eddb; }
.status-badge i { font-size: .55rem; }
.row-action { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: .5rem; color: var(--alohi-muted); background: transparent; }
.row-action:hover { color: var(--alohi-primary); background: var(--alohi-surface-secondary); }
.list-footer { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: .7rem 1.2rem; color: var(--alohi-muted); font-size: .73rem; }
.list-footer div { display: flex; gap: .35rem; }
.list-footer button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--alohi-border); border-radius: .55rem; color: var(--alohi-text); background: #fff; }
.list-footer button:disabled { opacity: .4; }
.empty-filter { padding: 3rem; text-align: center; }
.empty-filter i, .empty-filter strong, .empty-filter small { display: block; }
.empty-filter i { margin-bottom: .7rem; color: var(--alohi-primary); font-size: 1.5rem; }
.empty-filter small { margin-top: .3rem; color: var(--alohi-muted); }

.crm-layout { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.8fr); gap: 1rem; align-items: start; }
.customer-directory, .customer-workspace { padding: 0; overflow: hidden; }
.directory-toolbar { display: flex; gap: .5rem; padding: .9rem; border-bottom: 1px solid #edf0ee; }
.directory-toolbar .list-search { flex: 1; margin: 0; }
.directory-toolbar .list-search input { width: 100%; }
.directory-count { display: flex; justify-content: space-between; padding: .8rem 1rem .45rem; color: var(--alohi-muted); font-size: .72rem; }
.directory-count strong { color: var(--alohi-text); font-size: .77rem; }
.customer-items { padding: .25rem .5rem .6rem; }
.customer-item { display: grid; grid-template-columns: 2.55rem minmax(0,1fr) auto; align-items: center; gap: .65rem; width: 100%; min-height: 78px; padding: .65rem; border: 0; border-radius: .8rem; text-align: left; background: transparent; }
.customer-item:hover { background: #f7f9f7; }
.customer-item.active { background: var(--alohi-surface-secondary); }
.customer-item-copy { min-width: 0; }
.customer-item-copy strong, .customer-item-copy small, .customer-item-copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-item-copy strong { font-size: .82rem; }
.customer-item-copy small { margin: .12rem 0 .25rem; color: var(--alohi-muted); font-size: .67rem; }
.customer-item-copy > span { color: var(--alohi-primary); font-size: .65rem; }
.customer-item .status-badge { align-self: start; margin-top: .1rem; padding: .18rem .4rem; font-size: .58rem; }
.status-badge.prospect { color: #426f91; background: #e5eff5; }
.status-badge.on-hold { color: #99611b; background: #f8eddb; }
.customer-workspace { min-height: 670px; }
.customer-profile-head { display: flex; align-items: center; gap: .9rem; padding: 1.25rem; }
.profile-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1.05rem; font-size: .85rem; font-weight: 760; }
.profile-avatar.mint { color: #25655c; background: #dcece7; }
.profile-avatar.sand { color: #8a5d30; background: #f1e4d3; }
.profile-avatar.blue { color: #416982; background: #dce8ef; }
.profile-avatar.lilac { color: #685884; background: #e7e1ee; }
.profile-avatar.rose { color: #98515a; background: #f2dfe2; }
.customer-title-line { display: flex; align-items: center; gap: .6rem; }
.customer-title-line h2 { margin: 0; font-size: 1.25rem; font-weight: 750; letter-spacing: -.03em; }
.customer-profile-head p { margin: .2rem 0 0; color: var(--alohi-muted); font-size: .75rem; }
.customer-profile-head p span { padding: 0 .3rem; color: #b2bab6; }
.customer-actions { display: flex; gap: .4rem; margin-left: auto; }
.customer-actions button,.customer-actions a { display: flex; align-items: center; gap: .4rem; min-height: 38px; padding: .45rem .65rem; color: inherit; border: 1px solid var(--alohi-border); border-radius: .65rem; background: #fff; font-size: .72rem; font-weight: 650; text-decoration: none; }
.customer-actions button.primary { color: #fff; border-color: var(--alohi-primary); background: var(--alohi-primary); }
.workspace-tabs { display: flex; gap: 1.2rem; padding: 0 1.25rem; border-bottom: 1px solid #e9eeeb; }
.workspace-tabs button { min-height: 42px; padding: .2rem 0; border: 0; border-bottom: 2px solid transparent; color: var(--alohi-muted); background: transparent; font-size: .74rem; font-weight: 650; }
.workspace-tabs button.active { color: var(--alohi-primary); border-bottom-color: var(--alohi-primary); }
.customer-overview-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(220px,.75fr); gap: 1.1rem; padding: 1.15rem; background: #fbfcfa; }
.next-service-card, .customer-side-card, .customer-timeline { border: 1px solid #e8edea; border-radius: .9rem; background: #fff; box-shadow: 0 1px 2px rgb(22 43 38 / .04); }
.next-service-card { padding: 1rem; }
.card-label { display: flex; align-items: center; justify-content: space-between; color: var(--alohi-muted); font-size: .7rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
.next-service-date { display: flex; align-items: baseline; gap: .7rem; margin: .75rem 0 1rem; }
.next-service-date strong { font-size: 1.35rem; letter-spacing: -.03em; }
.next-service-date span { color: var(--alohi-muted); font-size: .74rem; }
.service-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; padding-top: .8rem; border-top: 1px solid #edf0ee; }
.service-meta > span { display: grid; grid-template-columns: 1.5rem 1fr; align-items: center; }
.service-meta i { grid-row: 1 / 3; color: var(--alohi-primary); }
.service-meta small, .service-meta strong { display: block; }
.service-meta small { color: var(--alohi-muted); font-size: .61rem; }
.service-meta strong { overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 1rem 0 .55rem; }
.section-heading h3 { margin: 0; font-size: .82rem; font-weight: 720; }
.section-heading button { border: 0; color: var(--alohi-primary); background: transparent; font-size: .68rem; font-weight: 700; }
.customer-timeline { padding: .4rem 1rem; }
.timeline-item { position: relative; display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; padding: .75rem 0; }
.timeline-item + .timeline-item { border-top: 1px solid #edf0ee; }
.timeline-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .65rem; font-size: .75rem; }
.timeline-icon.done { color: #246b4c; background: #e5f2eb; }
.timeline-icon.photo { color: #426f91; background: #e5eff5; }
.timeline-icon.note { color: #99611b; background: #f8eddb; }
.timeline-icon.booking { color: #685884; background: #e7e1ee; }
.timeline-item small, .timeline-item strong { display: block; }
.timeline-item small { color: var(--alohi-muted); font-size: .6rem; }
.timeline-item strong { margin-top: .12rem; font-size: .75rem; }
.timeline-item p { margin: .16rem 0 0; color: var(--alohi-muted); font-size: .67rem; }
.customer-side-card { margin-bottom: .8rem; padding: .85rem; }
.customer-side-card .section-heading { margin: 0 0 .6rem; }
.property-illustration { display: grid; place-items: center; height: 68px; margin-bottom: .65rem; border-radius: .7rem; color: var(--alohi-primary); background: linear-gradient(135deg,#e7f0ed,#f7eddf); font-size: 1.5rem; }
.customer-side-card > strong { font-size: .76rem; }
.customer-side-card > p { margin: .2rem 0 .65rem; color: var(--alohi-muted); font-size: .66rem; line-height: 1.45; }
.property-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: .35rem; padding: .55rem 0; border-block: 1px solid #edf0ee; }
.property-facts b, .property-facts small { display: block; text-align: center; }
.property-facts b { font-size: .72rem; }
.property-facts small { color: var(--alohi-muted); font-size: .54rem; }
.card-action { display: flex; justify-content: space-between; width: 100%; margin-top: .6rem; padding: .2rem 0; border: 0; color: var(--alohi-primary); background: transparent; font-size: .68rem; font-weight: 700; }
.visibility-label { color: var(--alohi-muted); font-size: .6rem; }
.note-card { border-left: 3px solid #e7bd83; }
.note-card > small { color: var(--alohi-muted); font-size: .58rem; }

.jobs-heading-actions { display: flex; gap: .55rem; }
.jobs-heading-actions .btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; border-radius: .75rem; font-size: .8rem; font-weight: 680; }
.recurring-button { color: var(--alohi-primary); border: 1px solid var(--alohi-border); background: #fff; }
.job-command { display: grid; grid-template-columns: 160px repeat(4,1fr); margin-bottom: 1rem; overflow: hidden; border-radius: var(--alohi-radius-lg); background: #fff; box-shadow: var(--alohi-shadow-sm); }
.job-command > div { min-height: 88px; padding: 1rem; }
.job-command > div + div { border-left: 1px solid #edf0ee; }
.job-command-date { display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: .6rem; color: #fff; background: #184845; }
.job-command-date span { align-self: end; color: #afd1c9; font-size: .64rem; font-weight: 800; letter-spacing: .12em; }
.job-command-date strong { grid-row: span 2; font-size: 2.35rem; line-height: .9; letter-spacing: -.06em; }
.job-command-date small { color: #d0e1dd; font-size: .65rem; }
.job-command-stat { display: flex; align-items: center; gap: .7rem; }
.job-command-stat strong,.job-command-stat small { display: block; }
.job-command-stat strong { font-size: 1.1rem; }
.job-command-stat small { margin-top: .16rem; color: var(--alohi-muted); font-size: .68rem; }
.jobs-panel { padding: 0; overflow: hidden; }
.job-toolbar { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-bottom: 1px solid #edf0ee; }
.jobs-day-bar { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: .55rem 1.1rem; color: var(--alohi-muted); background: #fafbf9; font-size: .7rem; }
.jobs-day-bar i { margin-right: .45rem; color: var(--alohi-primary); }
.jobs-day-bar strong { color: var(--alohi-text); }
.job-list-header,.job-row { display: grid; grid-template-columns: 82px 4px minmax(260px,1.6fr) minmax(125px,.8fr) 78px 112px 28px; align-items: center; gap: .9rem; }
.job-list-header { padding: .62rem 1.1rem; color: var(--alohi-muted); border-block: 1px solid #edf0ee; font-size: .64rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.job-row { min-height: 88px; padding: .75rem 1.1rem; border-bottom: 1px solid #edf0ee; }
.job-row:hover { background: #fcfdfb; }
.job-time strong,.job-time small,.job-primary span,.job-primary strong,.job-primary small,.job-coverage small { display: block; }
.job-time strong { font-size: .82rem; }
.job-time small { margin-top: .15rem; color: var(--alohi-muted); font-size: .64rem; }
.job-accent { align-self: stretch; margin-block: .22rem; border-radius: 1rem; background: #9abdb4; }
.job-accent.blue { background: #7ea8bd; }.job-accent.sand { background: #d6a56f; }.job-accent.rose { background: #c77a82; }.job-accent.lilac { background: #9b8db2; }
.job-primary { min-width: 0; }
.job-primary span { color: var(--alohi-primary); font-size: .58rem; font-weight: 750; letter-spacing: .05em; }
.job-primary strong { margin-top: .1rem; font-size: .84rem; }
.job-primary small { margin-top: .16rem; overflow: hidden; color: var(--alohi-muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.job-crew { display: flex; padding-left: .3rem; }
.job-crew span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; margin-left: -.3rem; border: 2px solid #fff; border-radius: 50%; color: #28554e; background: #dceae5; font-size: .58rem; font-weight: 750; }
.job-coverage small { margin-top: .2rem; color: var(--alohi-muted); font-size: .58rem; }
.unassigned { color: var(--alohi-danger); font-size: .66rem; font-weight: 680; }
.job-priority,.job-status { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 26px; padding: .22rem .5rem; border-radius: 1rem; font-size: .62rem; font-weight: 720; }
.job-priority { color: var(--alohi-muted); background: #f0f2f0; }.job-priority.high { color: #95601c; background: #f7ead6; }.job-priority.urgent { color: #a23d39; background: #f7e2e0; }
.job-status.scheduled { color: #5e6870; background: #edf0f1; }.job-status.assigned { color: #416982; background: #e5eff5; }.job-status.confirmed { color: #246b4c; background: #e5f2eb; }.job-status.inprogress { color: #6b568c; background: #ece6f3; }.job-status.pendingreview { color: #99611b; background: #f8eddb; }
.jobs-footer { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: .7rem 1.1rem; color: var(--alohi-muted); font-size: .68rem; }
.jobs-footer i { color: var(--alohi-primary); }.jobs-footer button { border: 0; color: var(--alohi-primary); background: transparent; font-weight: 700; }

.schedule-heading { align-items: flex-end; }.schedule-heading .btn { display: flex; align-items: center; gap: .45rem; }
.schedule-controls { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; padding: .75rem 1rem; }
.schedule-date-nav,.schedule-views,.schedule-key { display: flex; align-items: center; }
.schedule-date-nav { gap: .35rem; }.schedule-date-nav button { min-width: 34px; height: 34px; padding: 0 .55rem; border: 1px solid var(--alohi-border); border-radius: .58rem; background: #fff; font-size: .69rem; font-weight: 680; }
.schedule-date-nav strong { min-width: 235px; margin-left: .65rem; font-size: .82rem; }
.schedule-views { gap: .15rem; margin-left: auto; padding: .18rem; border-radius: .65rem; background: #edf1ef; }
.schedule-views button { min-height: 31px; padding: .3rem .75rem; border: 0; border-radius: .5rem; color: var(--alohi-muted); background: transparent; font-size: .68rem; font-weight: 700; }
.schedule-views button.active { color: var(--alohi-primary); background: #fff; box-shadow: 0 1px 3px rgb(20 61 59 / .1); }
.schedule-key { gap: .8rem; margin-left: .5rem; color: var(--alohi-muted); font-size: .62rem; }.schedule-key span { display: flex; align-items: center; gap: .32rem; }.schedule-key i { width: .48rem; height: .48rem; border-radius: 50%; background: #70a897; }.schedule-key i.exception { background: #d7a05b; }.schedule-key i.conflict { background: #c9635d; }
.unassigned-panel { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 1rem; margin-bottom: 1rem; padding: .85rem; border: 1px solid #efd8ba; box-shadow: 0 1px 4px rgb(103 67 24 / .08); }
.unassigned-panel.empty { border-color: var(--alohi-border); }.unassigned-head { display: grid; grid-template-columns: 2.3rem minmax(0,1fr) auto; align-items: center; gap: .6rem; padding: .3rem; }.unassigned-head > span { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .7rem; color: #9a641e; background: #f8ead6; }.unassigned-head h2 { margin: 0; font-size: .82rem; }.unassigned-head p { margin: .15rem 0 0; color: var(--alohi-muted); font-size: .6rem; }.unassigned-head > strong { display: grid; place-items: center; min-width: 1.65rem; height: 1.65rem; border-radius: 50%; color: #fff; background: #b97731; font-size: .68rem; }
.unassigned-scroll { display: flex; align-items: stretch; gap: .55rem; min-width: 0; overflow-x: auto; padding: .1rem .15rem .35rem; }.queue-clear { display: flex; align-items: center; gap: .45rem; margin: auto 0; color: var(--alohi-success); font-size: .72rem; font-weight: 680; }
.dispatch-panel { padding: 0; overflow: hidden; }.dispatch-status { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: .55rem 1rem; color: var(--alohi-muted); border-bottom: 1px solid #edf0ee; font-size: .65rem; }.dispatch-status button { display: flex; align-items: center; gap: .3rem; border: 0; color: var(--alohi-primary); background: transparent; font-size: .65rem; font-weight: 700; }
.dispatch-scroll { min-height: 360px; overflow: auto; }.dispatch-header { position: sticky; z-index: 3; top: 0; display: grid; grid-template-columns: 205px minmax(620px,1fr); min-width: 825px; min-height: 38px; color: var(--alohi-muted); background: #fafbf9; border-bottom: 1px solid #e8edeb; font-size: .61rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }.dispatch-header span { display: flex; align-items: center; padding: .5rem 1rem; }.dispatch-header span + span { border-left: 1px solid #e8edeb; }
.employee-lane { display: grid; grid-template-columns: 205px minmax(620px,1fr); min-width: 825px; border-bottom: 1px solid #e8edeb; transition: background .15s ease; }.employee-lane.drag-over { background: #edf7f3; box-shadow: inset 0 0 0 2px #79ac9f; }.employee-lane > header { position: sticky; left: 0; z-index: 2; display: grid; grid-template-columns: 2.35rem minmax(0,1fr) auto; align-items: center; gap: .55rem; min-height: 102px; padding: .75rem 1rem; background: #fff; border-right: 1px solid #e8edeb; }.employee-lane > header strong,.employee-lane > header small { display: block; }.employee-lane > header strong { font-size: .75rem; }.employee-lane > header small { margin-top: .15rem; color: var(--alohi-muted); font-size: .57rem; }.availability-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #55a07d; box-shadow: 0 0 0 3px #e4f2eb; }
.lane-days { display: grid; grid-auto-columns: minmax(230px,1fr); grid-auto-flow: column; }.lane-day { position: relative; min-height: 102px; padding: .5rem; background: linear-gradient(90deg,rgb(88 155 126 / .055),transparent); }.lane-day + .lane-day { border-left: 1px solid #edf0ee; }.lane-day.has-exception { background: repeating-linear-gradient(135deg,#fff9ef,#fff9ef 7px,#fbf0dc 7px,#fbf0dc 14px); }.lane-day-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; color: var(--alohi-muted); font-size: .54rem; font-weight: 700; text-transform: uppercase; }.lane-day-label span { padding: .1rem .3rem; border-radius: 1rem; color: #975d17; background: #f7e5c9; font-size: .48rem; }.lane-jobs { display: flex; gap: .4rem; min-height: 63px; }.lane-empty { display: grid; width: 100%; place-items: center; border: 1px dashed #cfdbd6; border-radius: .65rem; color: #9aa6a1; font-size: .58rem; }
.dispatch-job { position: relative; display: grid; flex: 1 1 170px; align-content: center; min-width: 170px; max-width: 270px; min-height: 64px; padding: .5rem .6rem .45rem .7rem; overflow: hidden; border: 1px solid #dce7e3; border-left: 3px solid #488f7e; border-radius: .65rem; text-align: left; color: var(--alohi-text); background: #fff; box-shadow: 0 2px 5px rgb(22 43 38 / .07); cursor: grab; }.dispatch-job:hover { border-color: #9fc4b9; transform: translateY(-1px); }.dispatch-job.dragging { opacity: .45; }.dispatch-job.priority-high { border-left-color: #d4974d; }.dispatch-job.priority-urgent { border-left-color: #c4544e; }.dispatch-job.compact { flex: 0 0 215px; }.dispatch-job-time { color: var(--alohi-primary); font-size: .53rem; font-weight: 780; }.dispatch-job > strong { overflow: hidden; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }.dispatch-job > small { overflow: hidden; color: var(--alohi-muted); font-size: .52rem; text-overflow: ellipsis; white-space: nowrap; }.dispatch-job-foot { display: flex; justify-content: space-between; margin-top: .25rem; font-size: .48rem; }.dispatch-job-foot b { color: var(--alohi-muted); }.dispatch-job-foot em { color: #426f91; font-style: normal; }
.schedule-loading { display: flex; justify-content: center; gap: .35rem; padding: 8rem 1rem; }.schedule-loading span { width: .55rem; height: .55rem; border-radius: 50%; background: var(--alohi-primary); animation: schedule-pulse .8s ease-in-out infinite alternate; }.schedule-loading span:nth-child(2) { animation-delay: .2s; }.schedule-loading span:nth-child(3) { animation-delay: .4s; }@keyframes schedule-pulse { to { opacity: .25; transform: translateY(-4px); } }
.schedule-empty { display: grid; justify-items: center; gap: .5rem; padding: 5rem 1rem; color: var(--alohi-muted); text-align: center; }.schedule-empty i { font-size: 1.5rem; }.schedule-empty strong { color: var(--alohi-text); }.schedule-empty small { font-size: .7rem; }
.schedule-dialog { width: min(96vw,1080px); max-height:94vh; overflow:auto; padding: 0; border: 0; border-radius: 1.1rem; color: var(--alohi-text); box-shadow: 0 25px 80px rgb(12 35 32 / .3); }.schedule-dialog::backdrop { background: rgb(10 28 26 / .55); backdrop-filter: blur(3px); }.schedule-dialog form > header { display: flex; align-items: start; justify-content: space-between; padding: 1.15rem 1.25rem .8rem; }.schedule-dialog h2 { margin: 0; font-size: 1.25rem; }.schedule-dialog header button { display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: .5rem; background: #f1f4f2; }.dialog-job { display: grid; padding: .8rem 1.25rem; background: #f4f7f5; }.dialog-job strong { font-size: .8rem; }.dialog-job span { margin-top: .15rem; color: var(--alohi-muted); font-size: .66rem; }.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding: 1rem 1.25rem; }.dialog-grid label,.override-reason { color: #34423f; font-size: .65rem; font-weight: 700; }.dialog-grid input,.dialog-grid select,.override-reason textarea { width: 100%; min-height: 42px; margin-top: .35rem; padding: .5rem .65rem; border: 1px solid var(--alohi-border); border-radius: .62rem; background: #fff; outline: none; }.conflict-review { margin: 0 1.25rem; padding: .8rem; border: 1px solid #edcfaa; border-radius: .7rem; background: #fff8eb; }.conflict-review > strong { display: flex; align-items: center; gap: .4rem; color: #8c5815; font-size: .72rem; }.conflict-review p { display: grid; grid-template-columns: 52px 1fr; gap: .4rem; margin: .55rem 0 0; color: #755d3f; font-size: .61rem; }.conflict-review p b { text-transform: uppercase; }.conflict-review p.block b { color: var(--alohi-danger); }.override-reason { display: block; margin: .8rem 1.25rem 0; }.override-reason[hidden],.conflict-review[hidden] { display: none; }.schedule-dialog footer { display: flex; justify-content: flex-end; gap: .5rem; padding: 1rem 1.25rem 1.2rem; }.dialog-cancel { border: 1px solid var(--alohi-border); background: #fff; }
.alohi-toast { position: fixed; z-index: 1200; right: 1.25rem; bottom: 1.25rem; display: flex; align-items: center; gap: .5rem; max-width: 340px; padding: .8rem 1rem; border-radius: .75rem; color: #fff; background: #143d3b; box-shadow: var(--alohi-shadow-md); font-size: .72rem; }.alohi-toast[hidden] { display: none; }.alohi-toast i { color: #a9d7c6; }
.alohi-toast.error { background: #8e3934; }.alohi-toast.error i { color: #ffd2cc; }

/* Phase 6: field operations */
.field-heading { margin-bottom: 1rem; }.field-sync { display: flex; align-items: center; gap: .4rem; padding: .55rem .75rem; color: #276d54; background: #e8f4ed; border-radius: 2rem; font-size: .7rem; font-weight: 720; }.field-sync i { font-size: .95rem; }
.field-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; margin-bottom: .8rem; }.field-summary > div { display: flex; align-items: baseline; gap: .5rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--alohi-border); border-radius: .75rem; }.field-summary strong { color: var(--alohi-ink); font-size: 1.15rem; }.field-summary small { color: var(--alohi-muted); font-size: .66rem; }
.field-layout { display: grid; grid-template-columns: minmax(285px,32%) minmax(0,1fr); gap: .8rem; align-items: start; }.field-jobs,.field-detail { padding: 0; overflow: hidden; }.field-jobs > header { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid var(--alohi-border); }.field-jobs h2 { margin: 0; font-size: 1rem; }.field-jobs header p { margin: .15rem 0 0; color: var(--alohi-muted); font-size: .66rem; }.field-jobs header button { width: 2rem; height: 2rem; color: var(--alohi-primary); background: #eef5f2; border: 0; border-radius: 50%; }.field-job-card { position: relative; display: grid; grid-template-columns: 57px minmax(0,1fr) auto 12px; gap: .65rem; align-items: center; width: 100%; padding: .85rem 1rem; text-align: left; color: inherit; background: #fff; border: 0; border-bottom: 1px solid #edf0ee; }.field-job-card:hover,.field-job-card.active { background: #f4f8f6; }.field-job-card.active::before { position: absolute; inset: 0 auto 0 0; width: 3px; content: ''; background: var(--alohi-primary); }.field-job-time { display: grid; color: var(--alohi-ink); font-size: .72rem; font-weight: 760; }.field-job-time small,.field-job-copy small,.field-job-copy em,.field-progress small { color: var(--alohi-muted); font-size: .58rem; font-style: normal; font-weight: 500; }.field-job-copy { display: grid; min-width: 0; gap: .12rem; }.field-job-copy b { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }.field-job-copy em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.field-job-copy em i { margin-right: .18rem; }.field-progress { display: grid; justify-items: end; }.field-progress b { font-size: .68rem; }.field-job-card > i { color: #a7b0ad; font-size: .65rem; }
.field-detail { min-height: 560px; }.field-detail-head { display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem .9rem; }.field-detail-head > div > small { margin-left: .4rem; color: var(--alohi-muted); font-size: .62rem; }.field-detail-head h2 { margin: .55rem 0 .15rem; font-size: 1.25rem; }.field-detail-head p { margin: 0; color: var(--alohi-muted); font-size: .72rem; }.field-detail-head > button { display: grid; place-items: center; align-content: center; gap: .15rem; min-width: 62px; color: var(--alohi-primary); background: #edf5f1; border: 0; border-radius: .7rem; font-size: .58rem; font-weight: 720; }.field-detail-head > button i { font-size: 1rem; }.job-status.checkedin { color: #276d54; background: #e4f3eb; }.job-status.completed { color: #fff; background: #2f745a; }
.field-address { display: flex; gap: .65rem; align-items: flex-start; margin: 0 1.25rem .85rem; padding: .75rem; background: #f7f8f7; border-radius: .65rem; }.field-address > i { color: var(--alohi-primary); }.field-address div { display: grid; gap: .1rem; }.field-address strong { font-size: .7rem; }.field-address span { color: var(--alohi-muted); font-size: .63rem; }
.field-actions { padding: .8rem 1.25rem; background: #173f3b; }.field-actions > div { display: flex; gap: .55rem; flex-wrap: wrap; }.field-actions button { display: flex; align-items: center; justify-content: center; gap: .38rem; min-height: 38px; padding: .5rem .9rem; color: #173f3b; background: #fff; border: 0; border-radius: .55rem; font-size: .66rem; font-weight: 760; }.field-actions button.complete { color: #fff; background: #e28f46; }.field-actions > small { display: block; margin-top: .45rem; color: #bed0cb; font-size: .58rem; }.no-actions { color: #d6e2df; font-size: .65rem; }.no-actions i { margin-right: .3rem; }
.field-tabs { display: flex; gap: 1.35rem; padding: 0 1.25rem; border-bottom: 1px solid var(--alohi-border); }.field-tabs button { min-height: 45px; padding: 0; color: var(--alohi-muted); background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: .68rem; font-weight: 700; }.field-tabs button.active { color: var(--alohi-primary); border-bottom-color: var(--alohi-primary); }.field-tabs span { padding: .1rem .3rem; background: #edf1ef; border-radius: 1rem; font-size: .52rem; }
.field-tab-panel { padding: 0 1.25rem 1.2rem; }.field-section { padding-top: 1.15rem; }.field-section + .field-section { margin-top: 1rem; border-top: 1px solid var(--alohi-border); }.field-section h3 { margin: 0; font-size: .85rem; }.field-section-title { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }.field-section-title p { margin: .15rem 0 0; color: var(--alohi-muted); font-size: .6rem; }.field-section-title > span { display: grid; place-items: center; min-width: 34px; height: 25px; padding: 0 .35rem; color: var(--alohi-primary); background: #eaf3ef; border-radius: 1rem; font-size: .6rem; font-weight: 760; }
.checklist-group h4 { margin: .75rem 0 .35rem; color: var(--alohi-muted); font-size: .59rem; text-transform: uppercase; letter-spacing: .06em; }.checklist-item { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: start; padding: .7rem .1rem; border-bottom: 1px solid #eff2f0; cursor: pointer; }.checklist-item input { width: 17px; height: 17px; accent-color: var(--alohi-primary); }.checklist-item > span { display: grid; gap: .15rem; }.checklist-item strong { font-size: .68rem; font-weight: 650; }.checklist-item strong b { margin-left: .4rem; color: #986127; font-size: .5rem; text-transform: uppercase; }.checklist-item small { color: var(--alohi-muted); font-size: .58rem; }.checklist-item small i { margin-right: .2rem; }.checklist-item.done strong { color: var(--alohi-muted); text-decoration: line-through; }.checklist-item > i { color: var(--alohi-primary); }
.photo-strip { display: grid; grid-template-columns: repeat(auto-fill,minmax(110px,1fr)); gap: .55rem; }.photo-tile,.photo-add { display: grid; place-items: center; align-content: center; gap: .18rem; min-height: 96px; padding: .5rem; text-align: center; background: #f5f7f6; border: 1px solid var(--alohi-border); border-radius: .65rem; }.photo-tile i,.photo-add i { color: var(--alohi-primary); font-size: 1.25rem; }.photo-tile strong,.photo-add strong { font-size: .62rem; }.photo-tile small,.photo-add small { max-width: 100%; overflow: hidden; color: var(--alohi-muted); font-size: .52rem; text-overflow: ellipsis; white-space: nowrap; }.photo-add { color: inherit; border-style: dashed; cursor: pointer; }.photo-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field-note-form { display: grid; grid-template-columns: 1fr 38px; gap: .5rem; margin-bottom: .8rem; }.field-note-form textarea { min-height: 58px; padding: .65rem; resize: vertical; border: 1px solid var(--alohi-border); border-radius: .55rem; font: inherit; font-size: .65rem; }.field-note-form button { align-self: end; height: 38px; color: #fff; background: var(--alohi-primary); border: 0; border-radius: .55rem; }.field-note { display: flex; gap: .55rem; padding: .55rem 0; }.field-note > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; color: #fff; background: #6e8f84; border-radius: 50%; font-size: .6rem; font-weight: 750; }.field-note div { display: grid; gap: .08rem; }.field-note strong { font-size: .62rem; }.field-note p { margin: 0; font-size: .65rem; }.field-note small { color: var(--alohi-muted); font-size: .53rem; }
.incident-button { display: grid; grid-template-columns: 34px 1fr auto; gap: .65rem; align-items: center; width: 100%; margin-top: 1.2rem; padding: .75rem; text-align: left; color: #743c37; background: #fff4f2; border: 1px solid #f0d8d4; border-radius: .65rem; }.incident-button > i:first-child { display: grid; place-items: center; height: 34px; background: #f6ded9; border-radius: 50%; }.incident-button span { display: grid; }.incident-button strong { font-size: .67rem; }.incident-button small { color: #936662; font-size: .56rem; }.incident-description { display: grid; gap: .3rem; padding: 0 1.2rem; font-size: .65rem; }.incident-description textarea { padding: .65rem; border: 1px solid var(--alohi-border); border-radius: .55rem; font: inherit; }
.detail-facts dl { display: grid; gap: .7rem; }.detail-facts dl div { padding: .7rem; background: #f6f8f7; border-radius: .55rem; }.detail-facts dt { color: var(--alohi-muted); font-size: .55rem; text-transform: uppercase; }.detail-facts dd { margin: .2rem 0 0; font-size: .67rem; }.field-timeline > div { display: flex; gap: .6rem; padding: .65rem 0; border-bottom: 1px solid #edf0ee; }.field-timeline > div > i { display: grid; place-items: center; width: 30px; height: 30px; color: var(--alohi-primary); background: #eaf3ef; border-radius: 50%; }.field-timeline span { display: grid; }.field-timeline strong { font-size: .65rem; }.field-timeline small { color: var(--alohi-muted); font-size: .55rem; }.incident-summary { display: flex; gap: .6rem; margin-top: .65rem; padding: .65rem; background: #fff4f2; border-radius: .55rem; }.incident-summary b { color: #a04e45; font-size: .55rem; }.incident-summary span { display: grid; }.incident-summary strong { font-size: .65rem; }.incident-summary small { color: var(--alohi-muted); font-size: .58rem; }.field-empty,.field-list-empty { display: grid; place-items: center; align-content: center; gap: .3rem; min-height: 280px; padding: 2rem; text-align: center; color: var(--alohi-muted); }.field-empty i,.field-list-empty i { font-size: 1.5rem; }.field-empty strong,.field-list-empty strong { color: var(--alohi-ink); font-size: .78rem; }.field-empty span,.field-list-empty small,.field-muted { color: var(--alohi-muted); font-size: .62rem; }

/* Phase 7: compensation and payouts */
.payout-heading { margin-bottom: 1rem; }.payout-heading-actions { display: flex; gap: .55rem; }.payout-secondary { color: var(--alohi-primary); background: #fff; border: 1px solid var(--alohi-border); }.payout-secondary:hover { background: #edf5f2; }.payout-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin-bottom: .75rem; }.payout-metrics article { display: grid; grid-template-columns: 42px 1fr auto; gap: .7rem; align-items: center; min-height: 84px; padding: .9rem 1rem; background: #fff; border: 1px solid var(--alohi-border); border-radius: .75rem; }.payout-metrics article > i { display: grid; place-items: center; width: 42px; height: 42px; color: var(--alohi-primary); background: #eaf3ef; border-radius: .65rem; font-size: 1.05rem; }.payout-metrics article span { display: grid; }.payout-metrics small { color: var(--alohi-muted); font-size: .58rem; }.payout-metrics strong { font-size: 1.2rem; }.payout-metrics em { padding: .2rem .45rem; color: #55706a; background: #eff4f2; border-radius: 1rem; font-size: .54rem; font-style: normal; }
.payout-command { display: flex; align-items: end; gap: .7rem; margin-bottom: .75rem; padding: .75rem 1rem; }.payout-period { display: flex; align-items: end; gap: .45rem; }.payout-period label { display: grid; gap: .2rem; color: var(--alohi-muted); font-size: .55rem; }.payout-period input,.pay-dialog input,.pay-dialog select { min-height: 36px; padding: .4rem .55rem; color: var(--alohi-ink); background: #fff; border: 1px solid var(--alohi-border); border-radius: .45rem; font: inherit; font-size: .65rem; }.payout-period > span { padding-bottom: .55rem; color: var(--alohi-muted); font-size: .6rem; }.payout-command > .icon-button { margin-left: auto; }
.payout-workspace { padding: 0; overflow: hidden; }.payout-tabs { display: flex; gap: 1.3rem; padding: 0 1.1rem; border-bottom: 1px solid var(--alohi-border); }.payout-tabs button { min-height: 47px; padding: 0; color: var(--alohi-muted); background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: .67rem; font-weight: 700; }.payout-tabs button.active { color: var(--alohi-primary); border-bottom-color: var(--alohi-primary); }.payout-tabs span { min-width: 18px; padding: .08rem .3rem; background: #edf1ef; border-radius: 1rem; font-size: .5rem; }
.earnings-head,.earning-row { display: grid; grid-template-columns: minmax(220px,1.4fr) 90px 90px 100px 100px 62px; gap: .7rem; align-items: center; padding: .7rem 1.1rem; }.earnings-head { color: var(--alohi-muted); background: #fafbfa; border-bottom: 1px solid var(--alohi-border); font-size: .55rem; text-transform: uppercase; letter-spacing: .04em; }.earning-row { min-height: 72px; border-bottom: 1px solid #edf0ee; }.earning-row > div:first-child { display: grid; min-width: 0; }.earning-row strong { font-size: .68rem; }.earning-row small,.earning-row em { overflow: hidden; color: var(--alohi-muted); font-size: .56rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }.earning-row > span,.earning-row > b { font-size: .66rem; }.earning-actions { display: flex; justify-content: flex-end; gap: .3rem; }.earning-actions button { display: grid; place-items: center; width: 28px; height: 28px; color: var(--alohi-primary); background: #edf5f1; border: 0; border-radius: .4rem; }.pay-status { display: inline-flex; justify-content: center; width: fit-content; padding: .24rem .5rem; border-radius: 1rem; font-size: .54rem; font-style: normal; font-weight: 750; }.pay-status.pendingapproval,.pay-status.estimated,.pay-status.draft { color: #885d24; background: #f8ecd8; }.pay-status.approved { color: #2e6851; background: #e3f1e9; }.pay-status.includedinpayout,.pay-status.processing { color: #4e6082; background: #e7edf6; }.pay-status.paid { color: #fff; background: #317259; }.pay-status.cancelled,.pay-status.voided { color: #7b4d49; background: #f3e6e4; }
.batch-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(270px,1fr)); gap: .8rem; padding: 1rem; }.batch-card { border: 1px solid var(--alohi-border); border-radius: .7rem; overflow: hidden; }.batch-card header { display: flex; justify-content: space-between; gap: .7rem; padding: .85rem; background: #f8faf9; }.batch-card header span { display: grid; }.batch-card header small { color: var(--alohi-muted); font-size: .55rem; }.batch-card header strong { font-size: .72rem; }.batch-card > div { display: grid; grid-template-columns: repeat(3,1fr); padding: .85rem; }.batch-card > div span { display: grid; }.batch-card > div small { color: var(--alohi-muted); font-size: .53rem; }.batch-card > div b { font-size: .72rem; }.batch-card footer { display: flex; gap: .4rem; align-items: center; min-height: 44px; padding: .55rem .85rem; border-top: 1px solid var(--alohi-border); }.batch-card footer button { min-height: 30px; padding: .35rem .55rem; color: #fff; background: var(--alohi-primary); border: 0; border-radius: .4rem; font-size: .57rem; font-weight: 700; }.batch-card footer button.danger { color: #87443e; background: #f7e9e6; }.batch-card footer small { margin-left: auto; color: var(--alohi-muted); font-size: .52rem; }
.rule-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: .65rem; padding: 1rem; }.rule-card { display: grid; grid-template-columns: 38px 1fr auto; gap: .6rem; align-items: center; padding: .75rem; border: 1px solid var(--alohi-border); border-radius: .65rem; }.rule-card > i { display: grid; place-items: center; width: 38px; height: 38px; color: var(--alohi-primary); background: #eaf3ef; border-radius: .55rem; }.rule-card div,.rule-card > span { display: grid; }.rule-card strong,.rule-card b { font-size: .67rem; }.rule-card small { color: var(--alohi-muted); font-size: .54rem; }.rule-card > span { justify-items: end; }.payout-empty { display: grid; place-items: center; align-content: center; gap: .3rem; min-height: 280px; color: var(--alohi-muted); text-align: center; }.payout-empty i { font-size: 1.5rem; }.payout-empty strong { color: var(--alohi-ink); font-size: .78rem; }.payout-empty span { font-size: .62rem; }.pay-dialog .dialog-grid { padding: .2rem 1.2rem 1rem; }.pay-dialog .dialog-grid label,.pay-reference { display: grid; gap: .25rem; color: var(--alohi-muted); font-size: .58rem; }.pay-reference { padding: 0 1.2rem 1rem; }.dialog-note { display: flex; gap: .4rem; margin: 0 1.2rem 1rem; padding: .65rem; color: #4e685f; background: #eef5f2; border-radius: .5rem; font-size: .58rem; }

/* Phase 8: reporting */
.date-control { text-decoration: none; }.dashboard-team { max-width: 150px; overflow: hidden; color: var(--alohi-muted); font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }.dashboard-activity { margin-top: .8rem; }.recent-activity { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .2rem .8rem; }.recent-activity > div { display: flex; gap: .55rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid #edf0ee; }.recent-activity i { display: grid; place-items: center; flex: 0 0 30px; height: 30px; color: var(--alohi-primary); background: #eaf3ef; border-radius: 50%; }.recent-activity span { display: grid; min-width: 0; }.recent-activity strong { overflow: hidden; font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }.recent-activity small,.dashboard-empty { color: var(--alohi-muted); font-size: .54rem; }.dashboard-error { grid-column: 1/-1; padding: 1rem; color: var(--alohi-danger); }
.reports-heading { margin-bottom: 1rem; }.report-filter { display: flex; gap: .6rem; align-items: end; margin-bottom: .75rem; padding: .75rem 1rem; }.report-filter label { display: grid; gap: .18rem; color: var(--alohi-muted); font-size: .55rem; }.report-filter input { min-height: 36px; padding: .4rem .55rem; color: var(--alohi-ink); background: #fff; border: 1px solid var(--alohi-border); border-radius: .45rem; font: inherit; font-size: .64rem; }.report-run { min-height: 36px; color: var(--alohi-primary); background: #edf5f1; }.report-filter > span { margin-left: auto; padding-bottom: .5rem; color: var(--alohi-muted); font-size: .6rem; }.report-kpis { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .65rem; margin-bottom: .75rem; }.report-kpis article { display: flex; gap: .55rem; align-items: center; min-height: 72px; padding: .75rem; background: #fff; border: 1px solid var(--alohi-border); border-radius: .7rem; }.report-kpis i { display: grid; place-items: center; flex: 0 0 34px; height: 34px; color: var(--alohi-primary); background: #eaf3ef; border-radius: .55rem; }.report-kpis span { display: grid; }.report-kpis small { color: var(--alohi-muted); font-size: .53rem; }.report-kpis strong { font-size: .9rem; }
.report-workspace { padding: 0; overflow: hidden; }.report-tabs { display: flex; gap: 1.35rem; padding: 0 1.1rem; border-bottom: 1px solid var(--alohi-border); }.report-tabs button { min-height: 46px; padding: 0; color: var(--alohi-muted); background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: .65rem; font-weight: 700; }.report-tabs button.active { color: var(--alohi-primary); border-bottom-color: var(--alohi-primary); }.report-overview { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(230px,.7fr); }.report-overview > section,.report-overview > aside { padding: 1.1rem; }.report-overview > aside { border-left: 1px solid var(--alohi-border); }.report-section-head { display: flex; justify-content: space-between; gap: .7rem; }.report-section-head h2 { margin: 0; font-size: .82rem; }.report-section-head p { margin: .18rem 0 0; color: var(--alohi-muted); font-size: .57rem; }.report-section-head > strong { font-size: 1rem; }.revenue-chart { display: flex; gap: .5rem; align-items: end; height: 210px; margin-top: 1rem; padding-top: 1.5rem; border-bottom: 1px solid var(--alohi-border); }.revenue-chart > div { display: grid; grid-template-rows: 1fr 24px; flex: 1; align-items: end; height: 100%; }.revenue-chart span { position: relative; min-height: 4px; background: linear-gradient(180deg,#3d8b71,#83b7a5); border-radius: .28rem .28rem 0 0; }.revenue-chart span i { position: absolute; top: -1.05rem; left: 50%; color: var(--alohi-muted); font-size: .48rem; font-style: normal; transform: translateX(-50%); }.revenue-chart small { align-self: center; color: var(--alohi-muted); font-size: .5rem; text-align: center; }.status-report { margin-top: .7rem; }.status-report > div { display: flex; justify-content: space-between; padding: .48rem 0; border-bottom: 1px solid #edf0ee; font-size: .62rem; }.status-report span { display: flex; align-items: center; gap: .4rem; }.job-dot { display: inline-block; width: 7px; height: 7px; background: #8da49c; border-radius: 50%; }.job-dot.completed { background: #2f795d; }.job-dot.assigned,.job-dot.scheduled { background: #6685a0; }.job-dot.inprogress { background: #8b69a0; }.job-dot.cancelled { background: #ad554e; }.retention-card { display: flex; gap: .55rem; align-items: center; margin-top: 1rem; padding: .7rem; color: #2d6651; background: #eaf3ef; border-radius: .6rem; }.retention-card > i { font-size: 1.1rem; }.retention-card span { display: grid; }.retention-card small { font-size: .52rem; }.retention-card strong { font-size: .7rem; }
.report-table { overflow-x: auto; }.report-table-head,.report-table > div:not(.report-table-head) { display: grid; grid-template-columns: minmax(180px,1.4fr) repeat(4,minmax(85px,.7fr)); gap: .7rem; align-items: center; min-width: 600px; padding: .68rem 1.1rem; }.report-table-head { color: var(--alohi-muted); background: #fafbfa; font-size: .53rem; text-transform: uppercase; }.report-table > div:not(.report-table-head) { border-top: 1px solid #edf0ee; }.report-table strong,.report-table span { font-size: .63rem; }.report-table > div > span:last-child { font-weight: 720; }.report-empty { display: grid; place-items: center; min-height: 200px; color: var(--alohi-muted); font-size: .63rem; }.area-summary { display: flex; gap: .6rem; align-items: center; padding: .8rem 1rem; border-top: 1px solid var(--alohi-border); }.area-summary h3 { margin: 0 auto 0 0; font-size: .7rem; }.area-summary span { display: grid; padding: .4rem .6rem; background: #f2f6f4; border-radius: .5rem; }.area-summary b { font-size: .6rem; }.area-summary small { color: var(--alohi-muted); font-size: .5rem; }

/* Phase 9: notifications */
.notification-heading { margin-bottom: 1rem; }.notification-read-all { color: var(--alohi-primary); background: #fff; border: 1px solid var(--alohi-border); }.notification-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(250px,.6fr); gap: .8rem; align-items: start; }.notification-center,.notification-settings { padding: 0; overflow: hidden; }.notification-center > nav { display: flex; gap: 1.2rem; padding: 0 1rem; border-bottom: 1px solid var(--alohi-border); }.notification-center > nav button { min-height: 46px; padding: 0; color: var(--alohi-muted); background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: .66rem; font-weight: 700; }.notification-center > nav button.active { color: var(--alohi-primary); border-bottom-color: var(--alohi-primary); }.notification-item { display: grid; grid-template-columns: 40px minmax(0,1fr) 8px; gap: .7rem; align-items: center; width: 100%; padding: .8rem 1rem; text-align: left; color: inherit; background: #fff; border: 0; border-bottom: 1px solid #edf0ee; }.notification-item.unread { background: #f5faf7; }.notification-item:hover { background: #eef6f2; }.notification-type { display: grid; place-items: center; width: 40px; height: 40px; color: var(--alohi-primary); background: #e7f2ed; border-radius: .65rem; }.notification-item > span:nth-child(2) { display: grid; min-width: 0; gap: .1rem; }.notification-item strong { font-size: .69rem; }.notification-item small { overflow: hidden; color: var(--alohi-muted); font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }.notification-item time { color: #8a9591; font-size: .51rem; }.notification-unread { display: block; width: 7px; height: 7px; background: var(--alohi-secondary); border-radius: 50%; }.notification-empty { display: grid; place-items: center; align-content: center; gap: .3rem; min-height: 300px; color: var(--alohi-muted); text-align: center; }.notification-empty i { font-size: 1.5rem; }.notification-empty strong { color: var(--alohi-ink); font-size: .76rem; }.notification-empty span { font-size: .59rem; }.notification-settings .panel-header { padding: 1rem; border-bottom: 1px solid var(--alohi-border); }.notification-settings .panel-header > i { color: var(--alohi-primary); }.notification-settings form { padding: .4rem 1rem 1rem; }.notification-settings form label { display: flex; justify-content: space-between; gap: .7rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid #edf0ee; }.notification-settings label span { display: grid; grid-template-columns: 26px 1fr; align-items: center; }.notification-settings label i { grid-row: 1/span 2; color: var(--alohi-primary); }.notification-settings label b { font-size: .65rem; }.notification-settings label small { color: var(--alohi-muted); font-size: .53rem; }.notification-settings input { width: 34px; height: 18px; accent-color: var(--alohi-primary); }.notification-settings form button { width: 100%; margin-top: .9rem; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .people-metrics { grid-template-columns: repeat(2, 1fr); }
  .employee-list-header, .employee-row { grid-template-columns: minmax(220px, 1.4fr) 110px minmax(130px, .8fr) 95px 28px; }
  .employee-list-header span:nth-child(4), .employee-row .employee-cell:nth-child(4) { display: none; }
  .crm-layout { grid-template-columns: minmax(250px,.7fr) minmax(0,1.5fr); }
  .customer-overview-grid { grid-template-columns: 1fr; }
  .customer-overview-grid > aside { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
  .job-command { grid-template-columns: 150px repeat(2,1fr); }
  .job-command > div:nth-child(n+4) { display: none; }
  .job-list-header,.job-row { grid-template-columns: 75px 4px minmax(230px,1fr) 110px 100px 28px; }
  .job-list-header span:nth-child(5),.job-row .job-priority { display: none; }
}

@media (max-width: 767.98px) {
  .auth-screen { overflow: auto; }
  .login-page { display: block; min-height: 100vh; }
  .login-story { display: none; }
  .login-form-side { align-items: start; min-height: 100vh; padding: max(2rem,env(safe-area-inset-top)) 1.25rem 2rem; }
  .login-card { margin-top: clamp(1rem,10vh,5rem); }
  .login-mobile-brand { display: flex; }
  .sidebar { transform: translateX(-105%); transition: transform .2s ease; box-shadow: var(--alohi-shadow-md); }
  body.menu-open .sidebar { transform: translateX(0); }
  .sidebar-scrim { position: fixed; z-index: 1015; inset: 0; background: rgb(8 24 22 / .42); }
  body.menu-open .sidebar-scrim { display: block; }
  .topbar { left: 0; height: 66px; padding: 0 1rem; }
  .mobile-menu { display: grid; }
  .global-search { flex: 1; width: auto; }
  .global-search kbd, .quick-add span { display: none; }
  .quick-add { width: 44px; padding: 0; }
  .workspace { margin-left: 0; padding: 90px 1rem 96px; }
  .mobile-nav { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: .4rem max(.35rem, env(safe-area-inset-right)) calc(.35rem + env(safe-area-inset-bottom)) max(.35rem, env(safe-area-inset-left)); background: rgb(255 255 255 / .96); border-top: 1px solid var(--alohi-border); backdrop-filter: blur(16px); }
  .mobile-nav a { display: grid; justify-items: center; gap: .15rem; min-height: 52px; padding: .3rem; color: var(--alohi-muted); text-decoration: none; font-size: .64rem; }
  .mobile-nav i { font-size: 1.15rem; }
  .mobile-nav a.active { color: var(--alohi-primary); font-weight: 720; }
  .page-heading { align-items: flex-start; }
  .date-control span { display: none; }
  .metric-grid { gap: .75rem; }
  .metric { min-height: 116px; padding: 1rem; }
  .metric strong { font-size: 1.4rem; }
  .panel { padding: 1rem; }
  .schedule-row { grid-template-columns: 58px 3px minmax(0, 1fr); gap: .7rem; }
  .team-stack { display: none; }
  .employee-heading { align-items: center; }
  .employee-heading .btn { width: 44px; padding: 0; font-size: 0; }
  .employee-heading .btn i { margin: 0 !important; font-size: 1rem; }
  .people-metrics { gap: .65rem; }
  .people-metrics > div { min-height: 72px; padding: .75rem; }
  .summary-icon { width: 2.35rem; height: 2.35rem; }
  .employee-toolbar { flex-wrap: wrap; padding: .8rem; }
  .segment-control { order: 1; width: 100%; overflow-x: auto; }
  .list-search { order: 2; flex: 1; margin-left: 0; }
  .list-search input { width: 100%; }
  .filter-button { order: 3; }
  .filter-button span { display: none; }
  .employee-list-header { display: none; }
  .employee-row { grid-template-columns: minmax(0, 1fr) auto 22px; gap: .65rem; min-height: 78px; padding: .8rem; }
  .employee-row .employee-cell { display: none; }
  .employee-person small { max-width: 180px; }
  .list-footer { padding: .7rem .8rem; }
  .customer-heading { align-items: center; }
  .customer-heading .btn { width: 44px; padding: 0; font-size: 0; }
  .customer-heading .btn i { margin: 0 !important; font-size: 1rem; }
  .crm-layout { display: block; }
  .customer-directory { margin-bottom: .8rem; }
  .customer-items { display: flex; gap: .5rem; overflow-x: auto; padding: .35rem .65rem .75rem; scroll-snap-type: x mandatory; }
  .customer-item { flex: 0 0 260px; scroll-snap-align: start; border: 1px solid #edf0ee; }
  .directory-count { padding-left: .8rem; }
  .customer-profile-head { align-items: flex-start; flex-wrap: wrap; padding: 1rem; }
  .profile-avatar { width: 3rem; height: 3rem; }
  .customer-actions { width: 100%; margin-left: 0; }
  .customer-actions button { flex: 1; justify-content: center; }
  .workspace-tabs { gap: 1rem; overflow-x: auto; padding: 0 1rem; }
  .customer-overview-grid { padding: .8rem; }
  .customer-overview-grid > aside { grid-template-columns: 1fr; }
  .service-meta { grid-template-columns: 1fr; }
  .service-meta > span { min-height: 34px; }
  .jobs-heading { align-items: center; }
  .jobs-heading-actions .recurring-button { display: none; }
  .jobs-heading-actions .btn-primary { width: 44px; padding: 0; font-size: 0; }
  .jobs-heading-actions .btn-primary i { font-size: 1rem; }
  .job-command { grid-template-columns: 105px 1fr 1fr; }
  .job-command > div { min-height: 78px; padding: .75rem; }
  .job-command-date strong { font-size: 2rem; }
  .job-command-stat { gap: .45rem; }.job-command-stat .summary-icon { display: none; }
  .job-toolbar { flex-wrap: wrap; padding: .8rem; }
  .job-toolbar .segment-control { width: 100%; overflow-x: auto; }
  .job-toolbar .list-search { flex: 1; order: 2; margin-left: 0; }.job-toolbar .list-search input { width: 100%; }
  .job-list-header { display: none; }
  .job-row { grid-template-columns: 58px 3px minmax(0,1fr) auto 22px; gap: .65rem; min-height: 82px; padding: .7rem .8rem; }
  .job-row .job-coverage,.job-row .job-priority { display: none; }
  .job-status { padding: .18rem .38rem; font-size: .56rem; }
  .jobs-footer span { display: none; }.jobs-footer { justify-content: flex-end; }
  .schedule-heading { align-items: center; }.schedule-heading .btn { width: 44px; padding: 0; justify-content: center; font-size: 0; }.schedule-heading .btn i { font-size: 1rem; }
  .schedule-controls { flex-wrap: wrap; gap: .6rem; }.schedule-date-nav { width: 100%; }.schedule-date-nav strong { min-width: 0; margin-left: auto; font-size: .72rem; }.schedule-views { margin-left: 0; }.schedule-key { margin-left: auto; }.schedule-key span:nth-child(2),.schedule-key span:nth-child(3) { display: none; }
  .unassigned-panel { display: block; padding: .65rem; }.unassigned-head { margin-bottom: .4rem; }.dispatch-job.compact { flex-basis: 190px; }
  .dispatch-header,.employee-lane { grid-template-columns: 155px minmax(500px,1fr); min-width: 655px; }.employee-lane > header { min-height: 96px; padding: .65rem; }.employee-lane > header .employee-avatar { width: 2rem; height: 2rem; }.lane-day { min-height: 96px; }.dispatch-job { min-width: 155px; }
  .dialog-grid { grid-template-columns: 1fr; }.schedule-dialog { width: calc(100vw - 1rem); max-height: 90vh; overflow: auto; }
  .alohi-toast { right: .75rem; bottom: 5rem; left: .75rem; max-width: none; }
  .field-heading { align-items: center; }.field-sync span { display: none; }.field-summary { gap: .45rem; }.field-summary > div { display: grid; gap: .05rem; padding: .65rem; }.field-summary strong { font-size: 1rem; }.field-summary small { font-size: .55rem; }.field-layout { display: block; }.field-jobs { margin-bottom: .7rem; }.field-jobs > header { padding: .75rem; }.field-jobs [data-field-jobs] { display: flex; gap: .5rem; overflow-x: auto; padding: .55rem; scroll-snap-type: x mandatory; }.field-job-card { flex: 0 0 270px; grid-template-columns: 52px minmax(0,1fr) auto; padding: .75rem; border: 1px solid var(--alohi-border); border-radius: .65rem; scroll-snap-align: start; }.field-job-card > i { display: none; }.field-detail { min-height: 450px; }.field-detail-head,.field-tab-panel { padding-right: .85rem; padding-left: .85rem; }.field-address { margin-right: .85rem; margin-left: .85rem; }.field-actions { position: sticky; z-index: 5; bottom: 68px; padding: .65rem .85rem; }.field-actions button { flex: 1; }.field-tabs { padding: 0 .85rem; }.field-section { padding-top: .9rem; }
  .payout-heading { align-items: center; }.payout-heading > div:first-child { min-width: 0; }.payout-heading .eyebrow { white-space: normal; }.payout-heading-actions { flex: 0 0 auto; }.payout-heading-actions .btn { width: 44px; padding: 0; font-size: 0; }.payout-heading-actions .btn i { font-size: 1rem; }.payout-metrics { gap: .45rem; }.payout-metrics article { grid-template-columns: 1fr; min-height: 92px; padding: .7rem; }.payout-metrics article > i,.payout-metrics article > em { display: none; }.payout-metrics strong { font-size: 1rem; }.payout-command { align-items: end; flex-wrap: wrap; }.payout-period { width: 100%; }.payout-period label { flex: 1; min-width: 0; }.payout-period input { width: 100%; }.payout-command > .icon-button { margin-left: 0; }.payout-tabs { gap: 1rem; overflow-x: auto; }.earnings-head { display: none; }.earning-row { grid-template-columns: minmax(0,1fr) auto auto; gap: .45rem; padding: .75rem; }.earning-row > span { display: none; }.earning-row > b { grid-column: 2; grid-row: 1; }.earning-row > .pay-status { grid-column: 2; grid-row: 2; }.earning-actions { grid-column: 3; grid-row: 1 / span 2; }.batch-grid,.rule-grid { grid-template-columns: 1fr; padding: .75rem; }
  .recent-activity { grid-template-columns: 1fr; }.dashboard-team { display: none; }.reports-heading .btn { width: 44px; padding: 0; }.reports-heading .btn span { display: none; }.report-filter { flex-wrap: wrap; }.report-filter label { flex: 1; min-width: 110px; }.report-filter input { width: 100%; }.report-filter > span { display: none; }.report-kpis { grid-template-columns: repeat(2,1fr); gap: .45rem; }.report-kpis article:last-child { grid-column: 1/-1; }.report-kpis article { min-height: 64px; padding: .6rem; }.report-overview { display: block; }.report-overview > aside { border-top: 1px solid var(--alohi-border); border-left: 0; }.revenue-chart { gap: .25rem; height: 170px; }.revenue-chart span i { display: none; }.area-summary { align-items: stretch; overflow-x: auto; }.area-summary h3 { display: none; }.area-summary span { flex: 0 0 130px; }
  .notification-heading { align-items: center; }.notification-read-all { width: 44px; padding: 0; font-size: 0; }.notification-read-all i { font-size: 1rem; }.notification-layout { display: block; }.notification-center { margin-bottom: .75rem; }.notification-settings form { display: grid; grid-template-columns: repeat(3,1fr); gap: .4rem; }.notification-settings form label { display: grid; justify-items: center; text-align: center; border: 1px solid var(--alohi-border); border-radius: .55rem; }.notification-settings label span { display: grid; grid-template-columns: 1fr; justify-items: center; }.notification-settings label i { grid-row: auto; }.notification-settings form button { grid-column: 1/-1; }.notification-item { padding: .75rem; }
}

.employee-access-notice { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .8rem; padding: 1rem; color: #724f1d; background: #fff6e6; border: 1px solid #efd49f; border-radius: .75rem; }.employee-access-notice > i { font-size: 1.2rem; }.employee-access-notice strong { font-size: .75rem; }.employee-access-notice p { margin: .15rem 0 0; font-size: .62rem; }
.availability-add { display: flex; gap: .4rem; }.availability-add select,.availability-add button { min-height: 34px; padding: .35rem .55rem; border: 1px solid var(--alohi-border); border-radius: .5rem; background: #fff; font-size: .6rem; }.availability-add button { color: #fff; background: var(--alohi-primary); border-color: var(--alohi-primary); font-weight: 700; }
.availability-block { display: grid !important; grid-template-columns: minmax(120px,1fr) 110px auto 110px 30px !important; }.availability-block label small { color: var(--alohi-muted); font-weight: 500; }.availability-block > button { display: grid; width: 28px; height: 28px; place-items: center; color: #8e3934; background: #f9e9e6; border: 0; border-radius: .4rem; }
.my-block-form { display: grid; grid-template-columns: 1.1fr .8fr .8fr 1fr 1.5fr auto; gap: .6rem; align-items: end; padding: 1rem; }.my-block-form label { display: grid; gap: .3rem; color: #34423f; font-size: .6rem; font-weight: 700; }.my-block-form input,.my-block-form select { min-height: 38px; padding: .4rem .5rem; border: 1px solid var(--alohi-border); border-radius: .5rem; background: #fff; font: inherit; font-size: .62rem; }.blocked-time-list { display: grid; gap: .4rem; padding: 0 1rem 1rem; }.blocked-time-list article { display: flex; gap: .6rem; align-items: center; padding: .65rem; background: #f7f8f7; border-radius: .55rem; }.blocked-time-list article > i { color: #a35f45; }.blocked-time-list article span { display: grid; }.blocked-time-list strong { font-size: .63rem; }.blocked-time-list small,.blocked-time-list > p { color: var(--alohi-muted); font-size: .55rem; }
@media (max-width: 767.98px) { .employee-card-head { align-items: flex-start; }.availability-add { flex-direction: column; }.availability-block { grid-template-columns: minmax(90px,1fr) 78px auto 78px 28px !important; }.my-block-form { grid-template-columns: 1fr 1fr; }.my-block-form .block-note,.my-block-form button { grid-column: 1/-1; } }

@media (max-width: 430px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-top span:first-child { max-width: 75px; }
  .page-subtitle { font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Employee workspace */
.employee-shell .global-search,.employee-shell .quick-add { display: none; }
.employee-shell .topbar { justify-content: flex-end; }
.photo-tile { color: inherit; text-decoration: none; cursor: pointer; }
.employee-portal { max-width: 1120px; margin: 0 auto; }
.employee-welcome { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.employee-welcome h1 { margin: .1rem 0; font-size: clamp(1.65rem,3vw,2.35rem); }
.employee-welcome p:last-child { margin: 0; color: var(--alohi-muted); }
.employee-welcome > span { display: flex; align-items: center; gap: .35rem; padding: .5rem .7rem; color: #276d54; background: #e8f4ed; border-radius: 2rem; font-size: .65rem; font-weight: 720; }
.employee-home-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(260px,.7fr); gap: .8rem; }
.employee-today,.employee-pay-card,.my-schedule-panel,.my-pay-panel,.employee-profile-card,.employee-self-section { padding: 0; overflow: hidden; }
.employee-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--alohi-border); }
.employee-card-head h2 { margin: 0; font-size: 1rem; }.employee-card-head p { margin: .15rem 0 0; color: var(--alohi-muted); font-size: .62rem; }
.employee-card-head a { color: var(--alohi-primary); font-size: .65rem; font-weight: 700; text-decoration: none; }.employee-card-head > button { width: 2rem; height: 2rem; color: var(--alohi-primary); background: #edf5f1; border: 0; border-radius: 50%; }
.employee-next-job { display: grid; grid-template-columns: 75px minmax(0,1fr); gap: 1rem; padding: 1.15rem; }.employee-job-time { display: grid; align-content: start; padding-right: 1rem; border-right: 1px solid var(--alohi-border); }.employee-job-time strong { font-size: 1rem; }.employee-job-time small,.employee-next-job small { color: var(--alohi-muted); font-size: .6rem; }.employee-next-job h3 { margin: .45rem 0 .1rem; font-size: 1.05rem; }.employee-next-job p { margin: 0 0 .35rem; color: var(--alohi-muted); font-size: .7rem; }
.employee-primary-action { display: flex; align-items: center; justify-content: center; gap: .4rem; width: calc(100% - 2.2rem); min-height: 42px; margin: 0 1.1rem 1.1rem; color: #fff; background: var(--alohi-primary); border: 0; border-radius: .65rem; font-size: .7rem; font-weight: 750; }
.employee-pay-card { padding-bottom: 1rem; }.employee-pay-card .employee-card-head { border: 0; }.employee-pay-card .employee-card-head > i { color: var(--alohi-primary); font-size: 1.25rem; }.employee-pay-total { display: block; padding: .4rem 1.1rem 0; font-size: 2rem; }.employee-pay-card > p { margin: 0; padding: .2rem 1.1rem 1rem; color: var(--alohi-muted); font-size: .62rem; }.employee-pay-card > a { margin: 0 1.1rem; color: var(--alohi-primary); font-size: .66rem; font-weight: 700; text-decoration: none; }
.employee-quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .7rem; margin-top: .8rem; }.employee-quick-grid a { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; gap: .55rem; align-items: center; min-height: 80px; padding: .8rem; color: inherit; background: #fff; border: 1px solid var(--alohi-border); border-radius: .75rem; text-decoration: none; }.employee-quick-grid a > i:first-child { display: grid; width: 36px; height: 36px; place-items: center; color: var(--alohi-primary); background: #e8f3ef; border-radius: .55rem; }.employee-quick-grid span { display: grid; }.employee-quick-grid strong { font-size: .68rem; }.employee-quick-grid small { color: var(--alohi-muted); font-size: .54rem; }.employee-quick-grid a > i:last-child { color: #a8b2ae; font-size: .6rem; }
.employee-empty { display: grid; justify-items: center; align-content: center; min-height: 200px; gap: .25rem; padding: 1.5rem; color: var(--alohi-muted); text-align: center; }.employee-empty i { font-size: 1.4rem; }.employee-empty strong { color: var(--alohi-text); font-size: .75rem; }.employee-empty small { font-size: .6rem; }
.my-schedule-nav { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; padding: .9rem 1rem; text-align: center; border-bottom: 1px solid var(--alohi-border); }.my-schedule-nav button { display: grid; width: 36px; height: 36px; place-items: center; color: var(--alohi-primary); background: #edf5f1; border: 0; border-radius: 50%; }.my-schedule-nav div { display: grid; }.my-schedule-nav strong { font-size: .85rem; }.my-schedule-nav small { color: var(--alohi-muted); font-size: .58rem; }
.my-schedule-job { display: grid; grid-template-columns: 78px 3px minmax(0,1fr) 14px; gap: .85rem; align-items: center; width: 100%; padding: 1rem 1.15rem; text-align: left; color: inherit; background: #fff; border: 0; border-bottom: 1px solid #edf0ee; }.my-schedule-job:hover { background: #f6f9f7; }.my-schedule-job > span { display: grid; }.my-schedule-job > span strong { font-size: .78rem; }.my-schedule-job > span small,.my-schedule-job div > small { color: var(--alohi-muted); font-size: .58rem; }.my-schedule-job > i:nth-child(2) { width: 3px; height: 52px; background: var(--alohi-primary); border-radius: 2px; }.my-schedule-job div h2 { margin: .3rem 0 .1rem; font-size: .82rem; }.my-schedule-job div p { margin: 0; color: var(--alohi-muted); font-size: .63rem; }.my-schedule-job > i:last-child { color: #a8b2ae; }
.employee-pay-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-bottom: .8rem; }.employee-pay-metrics article { display: grid; min-height: 105px; padding: 1rem; background: #fff; border: 1px solid var(--alohi-border); border-radius: .75rem; }.employee-pay-metrics small { color: var(--alohi-muted); font-size: .6rem; }.employee-pay-metrics strong { align-self: end; font-size: 1.35rem; }.employee-pay-metrics span { color: var(--alohi-primary); font-size: .55rem; }
.my-pay-row { display: grid; grid-template-columns: minmax(0,1fr) auto 105px; gap: 1rem; align-items: center; padding: .9rem 1.1rem; border-bottom: 1px solid #edf0ee; }.my-pay-row > div,.my-pay-row > span { display: grid; }.my-pay-row strong { font-size: .7rem; }.my-pay-row small { color: var(--alohi-muted); font-size: .57rem; }
.employee-profile-card header { display: flex; gap: .8rem; align-items: center; padding: 1.1rem; background: #173f3b; color: #fff; }.employee-profile-card header > span { display: grid; width: 48px; height: 48px; place-items: center; background: #3d716a; border-radius: 50%; font-size: .8rem; font-weight: 760; }.employee-profile-card h2 { margin: 0; font-size: 1.1rem; }.employee-profile-card header p { margin: .15rem 0 0; color: #c4d6d2; font-size: .62rem; }.employee-profile-card dl { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 1rem; }.employee-profile-card dl div { display: grid; }.employee-profile-card dt { color: var(--alohi-muted); font-size: .55rem; }.employee-profile-card dd { margin: .15rem 0 0; font-size: .68rem; }
.employee-self-section { margin-top: .8rem; }.my-availability { padding: .5rem 1rem 1rem; }.my-availability > div { display: grid; grid-template-columns: minmax(120px,1fr) 110px auto 110px; gap: .5rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid #edf0ee; }.my-availability label { font-size: .65rem; font-weight: 650; }.my-availability input[type=time],.my-timeoff-form input { min-height: 38px; padding: .4rem .55rem; border: 1px solid var(--alohi-border); border-radius: .5rem; font: inherit; font-size: .63rem; }.my-availability > button { margin-top: .8rem; }
.my-timeoff-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .7rem; align-items: end; padding: 1rem; }.my-timeoff-form label { display: grid; gap: .3rem; color: #34423f; font-size: .6rem; font-weight: 700; }.my-timeoff-list { padding: 0 1rem 1rem; }.my-timeoff-list article { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .6rem; padding: .7rem; background: #f6f8f7; border-radius: .55rem; }.my-timeoff-list article + article { margin-top: .4rem; }.my-timeoff-list article > span { display: grid; }.my-timeoff-list strong { font-size: .63rem; }.my-timeoff-list small,.my-timeoff-list > p { color: var(--alohi-muted); font-size: .55rem; }

@media (max-width: 767.98px) {
  .employee-shell .topbar { justify-content: space-between; }
  .employee-home-grid { display: block; }.employee-pay-card { margin-top: .7rem; }.employee-quick-grid { grid-template-columns: 1fr 1fr; }
  .employee-pay-metrics { gap: .45rem; }.employee-pay-metrics article { min-height: 90px; padding: .7rem; }.employee-pay-metrics strong { font-size: 1rem; }
  .my-pay-row { grid-template-columns: minmax(0,1fr) auto; gap: .5rem; }.my-pay-row > i { grid-column: 2; }
  .employee-profile-card dl { grid-template-columns: 1fr; gap: .65rem; }.my-availability > div { grid-template-columns: 1fr 85px auto 85px; }.my-timeoff-form { grid-template-columns: 1fr; }
}

/* Availability layout: the rows wrapper and each time block are separate grids. */
/* Dispatch timeline: one horizontal axis shared by all employees on each date. */
.business-hours-settings { margin-bottom:1rem; }
.business-hours-settings p { margin:.5rem 0; color:var(--alohi-muted); font-size:.75rem; }
.business-hours-settings form { display:flex; flex-wrap:wrap; align-items:end; gap:1rem; }
.business-hours-settings label { display:grid; gap:.4rem; font-size:.8rem; }
.business-hours-settings input { min-height:42px; padding:.5rem; border:1px solid var(--alohi-border); border-radius:.5rem; }
.schedule-business-hours a { font-size:.65rem; color:var(--alohi-primary); }
.schedule-business-hours { display:flex; align-items:end; gap:.45rem; flex-wrap:wrap; }
.schedule-business-hours label { display:grid; gap:.2rem; color:var(--alohi-muted); font-size:.65rem; }
.schedule-business-hours input { width:115px; min-height:36px; padding:.3rem; border:1px solid var(--alohi-border); border-radius:.45rem; background:#fff; }
.schedule-business-hours small { width:100%; color:var(--alohi-muted); font-size:.6rem; }
.schedule-controls { flex-wrap:wrap; }
.dispatch-scroll:has(.timeline-day) { max-height:72vh; }
.timeline-day { width:calc(205px + var(--timeline-width) + 45px); padding-right:45px; }
.timeline-day > h2 { position:sticky; left:0; width:max-content; padding:.8rem 1rem; margin:0; font-size:.85rem; }
.timeline-axis,.timeline-row { display:grid; grid-template-columns:205px var(--timeline-width); }
.timeline-axis { position:sticky; top:0; z-index:8; height:46px; background:#f5f8f6; border-block:1px solid var(--alohi-border); }
.timeline-axis > strong { position:sticky; left:0; z-index:2; padding:.8rem; background:#f5f8f6; font-size:.7rem; }
.timeline-axis > div { position:relative; }
.timeline-axis span { position:absolute; top:14px; padding-left:4px; white-space:nowrap; font-size:.6rem; color:#435b54; }
.timeline-axis span.last { transform:translateX(-100%); }
.timeline-row { border-bottom:1px solid var(--alohi-border); }
.timeline-row > header { position:sticky; left:0; z-index:5; display:flex; align-items:center; gap:.55rem; padding:.75rem; background:white; border-right:1px solid var(--alohi-border); }
.timeline-row > header div { min-width:0; display:grid; }
.timeline-row > header strong { font-size:.75rem; overflow-wrap:anywhere; }
.timeline-row > header small { color:var(--alohi-muted); font-size:.58rem; }
.timeline-track { position:relative; background:repeating-linear-gradient(to right,#dce5e1 0,#dce5e1 1px,transparent 1px,transparent var(--slot-width)),#fafbf9; }
.timeline-band { position:absolute; top:0; bottom:0; pointer-events:none; }
.timeline-band.available { background:rgb(88 155 126 / .12); }
.timeline-band.exception { background:repeating-linear-gradient(135deg,#f7d69970,#f7d69970 7px,#fff1d880 7px,#fff1d880 14px); }
.timeline-band.outside { background:rgb(45 60 55 / .09); }
.crew-overview { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:16px; }
.crew-overview > div { display:grid; gap:4px; padding:16px; background:white; border:1px solid var(--alohi-border); border-radius:14px; }
.crew-overview strong { font-size:1.6rem; line-height:1.2; }
.crew-overview span { font-size:.75rem; color:var(--alohi-muted); }
.crew-overview .needs-crew { background:#fff5e6; border-color:#ebcc9c; }
.crew-badge { display:inline-block; width:fit-content; max-width:100%; padding:3px 7px; margin:3px 0; border-radius:5px; font-size:.65rem; font-weight:750; white-space:nowrap; }
.crew-badge.short { color:#884d09; background:#fff0d6; }
.crew-badge.ready { color:#186252; background:#e4f3ec; }
.dispatch-job.crew-linked { outline:2px solid var(--alohi-primary); outline-offset:1px; background:#f0faf6; }
.crew-roster { margin-bottom:16px; padding:16px; }
.crew-roster summary { font-weight:700; cursor:pointer; }
.crew-roster article { display:grid; grid-template-columns:1.2fr 1fr auto; gap:16px; align-items:center; padding:14px 0; border-bottom:1px solid var(--alohi-border); }
.crew-roster strong { font-size:.85rem; }.crew-roster small { display:block; color:var(--alohi-muted); font-size:.7rem; margin-top:4px; }.crew-roster p { margin:0; font-size:.8rem; }
.crew-picker { padding:16px 20px; }.crew-picker legend { float:none; font-size:1rem; font-weight:700; }.crew-picker p { font-size:.75rem; color:var(--alohi-muted); }
[data-crew-options] { display:grid; grid-template-columns:1fr 1fr; gap:8px; max-height:260px; overflow:auto; }
[data-crew-options] label { display:flex; align-items:center; gap:10px; border:1px solid var(--alohi-border); border-radius:10px; padding:10px; font-size:.8rem; }
[data-crew-options] label:has(input:checked) { background:#e9f5ef; border-color:#84b8a5; }
[data-crew-options] label.unavailable { color:#755f58; background:#f7f4f2; border-color:#ded6d2; }
[data-crew-options] label.unavailable small { color:#a04436; line-height:1.35; }
[data-crew-options] label.checking { opacity:.7; }
[data-crew-options] input { width:18px; height:18px; accent-color:var(--alohi-primary); flex-shrink:0; }
[data-crew-options] small { display:block; font-size:.65rem; color:var(--alohi-muted); }
.crew-picker[hidden],.dialog-grid label[hidden] { display:none; }
.employee-guidance { display:block; margin-top:6px; color:var(--alohi-muted); font-size:.6rem; font-weight:500; line-height:1.35; }
.staffing-planner { display:grid; grid-template-columns:minmax(360px,.9fr) minmax(440px,1.25fr); min-height:480px; }
.staffing-planner-form { border-right:1px solid var(--alohi-border); }
.staffing-finder { padding:18px 20px; background:#f7faf8; }
.staffing-finder > header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.staffing-finder h3 { margin:2px 0 0; font-size:1rem; }
.finder-kicker { color:var(--alohi-primary); font-size:.58rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.staffing-finder header label { display:grid; gap:4px; color:var(--alohi-muted); font-size:.58rem; font-weight:700; }
.staffing-finder select { min-height:34px; padding:5px 28px 5px 9px; border:1px solid var(--alohi-border); border-radius:8px; background:white; font-size:.7rem; }
.staffing-finder > p { margin:12px 0; color:var(--alohi-muted); font-size:.68rem; line-height:1.45; }
.staffing-results { display:grid; gap:10px; max-height:390px; overflow:auto; padding-right:5px; }
.staffing-results section { padding:10px; border:1px solid var(--alohi-border); border-radius:11px; background:white; }
.staffing-results h4 { display:flex; justify-content:space-between; margin:0 0 8px; font-size:.72rem; }
.staffing-results h4 span { color:var(--alohi-muted); font-size:.6rem; font-weight:500; }
.staffing-results section > div { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.staffing-results button { display:grid; gap:2px; padding:8px 9px; border:1px solid #d8e4df; border-radius:8px; text-align:left; background:#fff; }
.staffing-results button:hover:not(:disabled),.staffing-results button.selected { border-color:var(--alohi-primary); background:#eaf6f1; }
.staffing-results button:disabled { opacity:.52; cursor:not-allowed; }
.staffing-results button strong { color:var(--alohi-primary); font-size:.68rem; }.staffing-results button span { font-size:.6rem; font-weight:700; }.staffing-results button small { overflow:hidden; color:var(--alohi-muted); font-size:.54rem; text-overflow:ellipsis; white-space:nowrap; }
.finder-loading { display:flex; justify-content:center; gap:6px; padding:50px; }.finder-loading span { width:7px;height:7px;border-radius:50%;background:var(--alohi-primary);animation:pulse 1s infinite alternate; }.finder-loading span:nth-child(2){animation-delay:.2s}.finder-loading span:nth-child(3){animation-delay:.4s}
.finder-empty { display:grid; justify-items:center; gap:8px; padding:45px 20px; color:var(--alohi-muted); text-align:center; }.finder-empty i { font-size:1.5rem; }.finder-empty strong { color:var(--alohi-text);font-size:.8rem}.finder-empty span { font-size:.68rem; }
.crew-picker:not([hidden]) ~ .conflict-review p { display:block; }
@media(max-width:760px) { .crew-overview { grid-template-columns:repeat(2,1fr); }.crew-roster article { grid-template-columns:1fr; gap:8px; }[data-crew-options] { grid-template-columns:1fr; }.staffing-planner { grid-template-columns:1fr; }.staffing-planner-form { border-right:0;border-bottom:1px solid var(--alohi-border); }.staffing-results { max-height:340px; }.staffing-results section > div { grid-template-columns:1fr; } }
.timeline-job-position { position:absolute; height:104px; padding:0 2px; z-index:2; }
.timeline-job-position .dispatch-job { width:100%; height:100%; min-width:0; max-width:none; min-height:0; padding:.4rem; }
.timeline-job-position .dispatch-job-time { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.timeline-empty { position:absolute; left:12px; top:40px; pointer-events:none; color:#73857d; font-size:.65rem; }
.timeline-row.drag-over .timeline-track { box-shadow:inset 0 0 0 2px var(--alohi-primary); }
@media(max-width:767.98px) {
  .timeline-day { width:calc(155px + var(--timeline-width) + 45px); }
  .timeline-axis,.timeline-row { grid-template-columns:155px var(--timeline-width); }
  .timeline-row > header { padding:.5rem; }
  .timeline-row .employee-avatar { display:none; }
}

.my-availability > [data-availability-rows] { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; align-items: stretch; padding: 0; border: 0; }
.my-availability [data-availability-rows] > .availability-block { display: grid; grid-template-columns: 180px minmax(130px,180px) 28px minmax(130px,180px) 34px !important; gap: .65rem; align-items: center; width: 100%; max-width: 760px; padding: .7rem 0; border-bottom: 1px solid #edf0ee; }
.availability-block label { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.availability-block label input { flex: 0 0 auto; width: 17px; height: 17px; accent-color: var(--alohi-primary); }
.availability-block input[type=time] { width: 100%; }
.availability-block > span { color: var(--alohi-muted); text-align: center; font-size: .6rem; }
.availability-block > button { justify-self: end; }
.my-block-form { grid-template-columns: minmax(150px,1fr) minmax(115px,.7fr) minmax(115px,.7fr) minmax(150px,1fr); }
.my-block-form .block-note { grid-column: 1 / 4; }
.my-block-form > button { grid-column: 4; }
.my-timeoff-form { grid-template-columns: minmax(180px,1fr) minmax(180px,1fr) minmax(220px,1.2fr) auto; }

@media (max-width: 900px) {
  .my-availability [data-availability-rows] > .availability-block { grid-template-columns: 145px minmax(105px,1fr) 22px minmax(105px,1fr) 30px !important; }
  .my-block-form { grid-template-columns: 1fr 1fr; }
  .my-block-form .block-note,.my-block-form > button { grid-column: 1 / -1; }
  .my-timeoff-form { grid-template-columns: 1fr 1fr; }
  .my-timeoff-form label:nth-child(3),.my-timeoff-form > button { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .availability-add { width: 100%; margin-top: .5rem; }
  .availability-add select,.availability-add button { flex: 1; }
  .my-availability [data-availability-rows] > .availability-block { grid-template-areas: "day day remove" "start separator end"; grid-template-columns: minmax(0,1fr) 22px minmax(0,1fr) !important; gap: .45rem; max-width: none; }
  .availability-block > label { grid-area: day; }.availability-block [data-start] { grid-area: start; }.availability-block > span { grid-area: separator; }.availability-block [data-end] { grid-area: end; }.availability-block > button { grid-area: remove; }
  .my-block-form,.my-timeoff-form { grid-template-columns: 1fr; }
  .my-block-form .block-note,.my-block-form > button,.my-timeoff-form label:nth-child(3),.my-timeoff-form > button { grid-column: auto; }
}

.location-editor { display: grid; gap: .55rem; padding: .4rem 1.25rem 1rem; }.location-all,.location-option { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: .65rem; align-items: center; padding: .8rem; border: 1px solid var(--alohi-border); border-radius: .65rem; cursor: pointer; }.location-all { grid-template-columns: 22px minmax(0,1fr); background: #edf6f2; border-color: #b9d5ca; }.location-all > span,.location-option > span { display: grid; }.location-all strong,.location-option strong { font-size: .7rem; }.location-all small,.location-option small { color: var(--alohi-muted); font-size: .57rem; }.location-editor input[type=checkbox],.location-editor input[type=radio] { width: 17px; height: 17px; accent-color: var(--alohi-primary); }.location-option input[type=radio]::after { content: ''; }.location-option:has(input[type=checkbox]:checked) { background: #f8fbf9; border-color: #9fc9ba; }.location-option input:disabled { opacity: .35; }.employee-profile-section > p i { margin-right: .25rem; color: var(--alohi-primary); }

/* Quotes */
.quote-heading { align-items:flex-end; }.quote-layout { display:grid; grid-template-columns:280px minmax(0,1fr); gap:18px; align-items:start; }.quote-list-panel { position:sticky; top:90px; max-height:calc(100vh - 112px); overflow:hidden; }.quote-list-tools { display:grid; gap:8px; padding:14px; border-bottom:1px solid var(--alohi-border); }.quote-list-tools input,.quote-list-tools select,.quote-customer-grid input,.quote-customer-grid select,.quote-section-title select,.quote-line input,.quote-line textarea,.quote-notes textarea,.quote-totals input,.quote-mini-dialog input,.quote-mini-dialog select,.public-response input,.public-response textarea { width:100%; border:1px solid var(--alohi-border); border-radius:9px; background:#fff; padding:9px 10px; color:var(--alohi-text); font:inherit; }.quote-list-tools input,.quote-list-tools select { min-height:38px; font-size:.7rem; }.quote-list-panel [data-quote-list] { max-height:calc(100vh - 220px); overflow:auto; padding:8px; }.quote-list-card { display:grid; width:100%; gap:5px; padding:12px; border:1px solid transparent; border-radius:11px; background:transparent; text-align:left; }.quote-list-card:hover,.quote-list-card.active { border-color:#b7d4c9; background:#edf7f3; }.quote-list-card > span { display:flex; align-items:center; justify-content:space-between; gap:8px; }.quote-list-card strong { font-size:.69rem; }.quote-list-card b { font-size:.76rem; }.quote-list-card small { overflow:hidden; color:var(--alohi-muted); font-size:.58rem; text-overflow:ellipsis; white-space:nowrap; }.quote-list-card em { color:var(--alohi-primary); font-size:.72rem; font-style:normal; font-weight:800; }.quote-status { display:inline-flex; width:max-content; padding:4px 7px; border-radius:99px; background:#edf0ee; color:#50615a; font-size:.53rem; font-style:normal; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }.quote-status.sent,.quote-status.viewed { background:#e6f0fb;color:#285b8b; }.quote-status.accepted,.quote-status.converted { background:#e4f5ed;color:#176b4e; }.quote-status.declined,.quote-status.voided { background:#faeae7;color:#9a3d31; }.quote-status.ready { background:#fff2d4;color:#87611b; }.quote-empty,.quote-welcome { display:grid; place-items:center; gap:10px; padding:45px 20px; color:var(--alohi-muted); text-align:center; }.quote-welcome { min-height:430px; }.quote-welcome i { color:#80aa9b; font-size:3rem; }.quote-welcome h2,.quote-welcome p { margin:0; }.quote-welcome p { max-width:470px; line-height:1.55; }.quote-editor { min-width:0; overflow:hidden; }.quote-editor-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:20px 22px; border-bottom:1px solid var(--alohi-border); }.quote-editor-head h2 { margin:8px 0 3px; font-size:1.35rem; }.quote-editor-head p { margin:0;color:var(--alohi-muted);font-size:.63rem; }.quote-editor-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }.quote-editor-actions .btn { min-height:36px; padding:7px 11px; font-size:.62rem; }.quote-editor-actions .danger { color:#a54438; }.quote-customer-grid { display:grid; grid-template-columns:1.35fr 1.35fr repeat(3,minmax(120px,.7fr)); gap:12px; padding:18px 22px; background:#f9fbfa; border-bottom:1px solid var(--alohi-border); }.quote-customer-grid label,.quote-line label,.quote-notes label,.quote-totals label,.quote-mini-dialog label,.public-response label { display:grid; gap:5px; color:var(--alohi-muted); font-size:.58rem; font-weight:750; }.quote-customer-grid label > div { display:flex; gap:6px; }.quote-customer-grid label > div button { flex:0 0 39px; border:1px solid var(--alohi-border); border-radius:9px; background:white; color:var(--alohi-primary); }.quote-customer-grid input,.quote-customer-grid select { min-height:40px; font-size:.68rem; }.quote-services { padding:21px 22px; border-bottom:1px solid var(--alohi-border); }.quote-section-title { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:15px; }.quote-section-title h3 { margin:0 0 3px;font-size:.9rem; }.quote-section-title p { margin:0;color:var(--alohi-muted);font-size:.6rem; }.quote-section-title > div:last-child { display:flex; gap:7px; }.quote-section-title select { min-width:220px;font-size:.65rem; }.quote-line { display:grid; grid-template-columns:minmax(190px,1.7fr) 60px 72px 55px 84px 82px 80px 32px; gap:8px; align-items:end; padding:12px 0; border-top:1px solid #edf0ee; }.quote-line-main { display:grid;gap:5px; }.quote-line-main strong { font-size:.7rem; }.quote-line textarea { resize:vertical; min-height:39px; font-size:.62rem; }.quote-line input { min-width:0; padding:8px 6px; font-size:.63rem; }.quote-line > b { align-self:center; text-align:right; font-size:.68rem; }.quote-line [data-remove-line] { align-self:center;width:30px;height:30px;border:0;border-radius:7px;background:#f9eae7;color:#a84437; }.quote-line-empty { padding:28px;border:1px dashed #cbd8d3;border-radius:10px;color:var(--alohi-muted);font-size:.68rem;text-align:center; }.quote-bottom { display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;padding:21px 22px; }.quote-notes { display:grid;grid-template-columns:1fr 1fr;gap:12px; }.quote-notes label:last-child { grid-column:1/-1; }.quote-notes textarea { resize:vertical;font-size:.68rem; }.quote-totals { display:grid;gap:9px;padding:14px;border-radius:12px;background:#f3f7f5; }.quote-totals label { grid-template-columns:1fr 95px;align-items:center; }.quote-totals input { padding:7px;font-size:.65rem;text-align:right; }.quote-totals p { display:flex;justify-content:space-between;margin:0;padding-top:7px;border-top:1px solid #dce5e1;font-size:.68rem; }.quote-totals .grand { color:var(--alohi-primary);font-size:.86rem; }.quote-history { margin:0 22px 22px;padding:12px 14px;border:1px solid var(--alohi-border);border-radius:10px; }.quote-history summary { cursor:pointer;font-size:.67rem;font-weight:750; }.quote-history p { display:grid;grid-template-columns:150px 1fr;gap:12px;margin:9px 0 0;color:var(--alohi-muted);font-size:.59rem; }.quote-history time { color:var(--alohi-text); }.quote-mini-dialog { width:min(92vw,590px); }.quote-mini-dialog .dialog-grid { grid-template-columns:1fr 1fr; }.alohi-toast.error { background:#9b4036; }

/* Customer quote */
body.auth-screen:has(.public-quote-shell) { overflow:auto; background:#eef4f1; }.public-quote-shell { width:min(900px,calc(100% - 28px)); margin:38px auto; }.public-quote { overflow:hidden;border:1px solid #dbe5e1;border-radius:18px;background:white;box-shadow:0 18px 55px rgba(25,61,51,.12); }.public-quote > header { display:flex;justify-content:space-between;align-items:flex-start;padding:28px 34px;background:#124c49;color:white; }.public-brand { display:flex;align-items:center;gap:10px;font-size:1.1rem;font-weight:800; }.public-brand b { display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e9bd73;color:#123f3d; }.public-quote > header > div:last-child { display:grid;justify-items:end;gap:3px; }.public-quote > header span,.public-quote-to small { font-size:.55rem;font-weight:800;letter-spacing:.12em; }.public-quote > header strong { font-size:1rem; }.public-quote > header small { color:#bcd6cf;font-size:.6rem; }.public-quote-to { display:flex;justify-content:space-between;gap:30px;padding:30px 34px 22px; }.public-quote-to > div:last-child { display:grid;align-content:start;justify-items:end;gap:5px;text-align:right; }.public-quote-to > div:last-child small:not(:first-child) { margin-top:14px; }.public-quote-to h1 { margin:6px 0;font-size:1.45rem; }.public-quote-to p { margin:0;color:var(--alohi-muted);font-size:.7rem;line-height:1.55; }.public-message { margin:0 34px 22px;padding:14px 16px;border-left:3px solid #e9bd73;background:#fbf8f1;font-size:.72rem;line-height:1.55; }.public-lines { margin:0 34px;border-top:1px solid var(--alohi-border); }.public-lines article { display:grid;grid-template-columns:1fr auto;gap:20px;padding:18px 0;border-bottom:1px solid var(--alohi-border); }.public-lines strong { font-size:.78rem; }.public-lines p { margin:5px 0;color:var(--alohi-muted);font-size:.66rem;line-height:1.45; }.public-lines small { color:var(--alohi-primary);font-size:.58rem;font-weight:700; }.public-lines article > b { font-size:.78rem; }.public-totals { width:300px;margin:22px 34px 22px auto; }.public-totals p { display:flex;justify-content:space-between;margin:0;padding:7px 0;font-size:.68rem; }.public-totals .grand { margin-top:5px;padding-top:12px;border-top:2px solid var(--alohi-text);color:var(--alohi-primary);font-size:1rem; }.public-terms { margin:0 34px 24px;padding-top:18px;border-top:1px solid var(--alohi-border); }.public-terms h2 { font-size:.76rem; }.public-terms p { color:var(--alohi-muted);font-size:.63rem;line-height:1.55;white-space:pre-line; }.public-quote > footer { display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:18px 34px;background:#f6f9f7; }.public-quote > footer strong { color:var(--alohi-primary);font-size:.72rem; }.public-response { width:min(92vw,440px);padding:22px;border:0;border-radius:14px;box-shadow:0 20px 60px #1239; }.public-response form { display:grid;gap:14px; }.public-response h2 { margin:0;font-size:1.1rem; }.public-response p { margin:0;color:#a33;font-size:.65rem; }.public-response form > div { display:flex;justify-content:flex-end;gap:8px; }.public-quote-error { padding:70px 30px;border-radius:16px;background:#fff;text-align:center; }

@media(max-width:1100px) { .quote-layout { grid-template-columns:230px minmax(0,1fr); }.quote-customer-grid { grid-template-columns:1fr 1fr 1fr; }.quote-line { grid-template-columns:minmax(170px,1.6fr) repeat(5,70px) 75px 30px; } }
@media(max-width:800px) { .quote-layout { grid-template-columns:1fr; }.quote-list-panel { position:static;max-height:none; }.quote-list-panel [data-quote-list] { display:flex;max-height:none;overflow:auto; }.quote-list-card { min-width:220px; }.quote-editor-head,.quote-section-title { align-items:stretch;flex-direction:column; }.quote-editor-actions { justify-content:flex-start; }.quote-customer-grid { grid-template-columns:1fr 1fr; }.quote-line { grid-template-columns:repeat(3,1fr);padding:15px 0; }.quote-line-main { grid-column:1/-1; }.quote-line > b { text-align:left; }.quote-bottom { grid-template-columns:1fr; }.quote-totals { width:100%; }.public-quote-shell { margin:12px auto; }.public-quote > header,.public-quote-to,.public-quote > footer { padding:20px; }.public-message,.public-lines,.public-terms { margin-left:20px;margin-right:20px; }.public-totals { width:auto;margin:20px; } }
@media(max-width:520px) { .quote-heading { align-items:stretch; }.quote-heading .btn { width:100%; }.quote-customer-grid,.quote-notes,.quote-mini-dialog .dialog-grid { grid-template-columns:1fr; }.quote-section-title > div:last-child { flex-direction:column; }.quote-section-title select { min-width:0; }.quote-line { grid-template-columns:1fr 1fr; }.quote-line-main { grid-column:1/-1; }.quote-line [data-remove-line] { justify-self:end; }.public-quote-to { flex-direction:column; }.public-quote-to > div:last-child { justify-items:start;text-align:left; }.public-quote > footer { flex-wrap:wrap; }.public-quote > footer .btn { flex:1; } }

@media print { body:has(.public-quote-shell) .topbar,body:has(.public-quote-shell) .sidebar,body:has(.public-quote-shell) .mobile-nav,body:has(.public-quote-shell) .sidebar-scrim,.public-quote > footer { display:none!important; }.public-quote-shell { width:100%;margin:0; }.public-quote { border:0;box-shadow:none; } body:has(.public-quote-shell) .workspace { margin:0;padding:0; }.quote-list-panel,.quote-heading,.quote-editor-actions { display:none!important; }.quote-layout { display:block; }.quote-editor { border:0;box-shadow:none; } }

/* Service catalog */
.catalog-heading { align-items:flex-end; }.catalog-heading > div:last-child { display:flex;gap:8px; }.catalog-metrics { display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px; }.catalog-metrics article { display:flex;align-items:center;gap:12px;padding:15px 17px;border:1px solid var(--alohi-border);border-radius:13px;background:#fff;box-shadow:var(--alohi-shadow); }.catalog-metrics article > i { display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#e7f3ee;color:var(--alohi-primary);font-size:1rem; }.catalog-metrics span { display:grid; }.catalog-metrics strong { font-size:1rem; }.catalog-metrics small { color:var(--alohi-muted);font-size:.58rem; }.catalog-layout { display:grid;grid-template-columns:310px minmax(0,1fr);gap:17px;align-items:start; }.catalog-browser { position:sticky;top:90px;overflow:hidden;max-height:calc(100vh - 110px); }.catalog-tools { display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:13px;border-bottom:1px solid var(--alohi-border); }.catalog-tools label { grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--alohi-border);border-radius:9px;background:#fff;color:var(--alohi-muted); }.catalog-tools input,.catalog-tools select { width:100%;min-width:0;min-height:37px;border:0;background:#fff;font:inherit;font-size:.64rem; }.catalog-tools select { padding:0 7px;border:1px solid var(--alohi-border);border-radius:8px; }.catalog-browser [data-catalog-list] { max-height:calc(100vh - 205px);overflow:auto;padding:8px; }.catalog-card { display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:11px;border:1px solid transparent;border-radius:11px;background:transparent;text-align:left; }.catalog-card:hover,.catalog-card.active { border-color:#a9cfc0;background:#edf7f3; }.catalog-icon { display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#e7f4ef;color:var(--alohi-primary); }.catalog-icon.bundle { background:#fff2d9;color:#986719; }.catalog-card > span:nth-child(2) { display:grid;min-width:0; }.catalog-card small { overflow:hidden;color:var(--alohi-muted);font-size:.5rem;text-overflow:ellipsis;white-space:nowrap;text-transform:uppercase; }.catalog-card strong { overflow:hidden;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap; }.catalog-card em { color:var(--alohi-muted);font-size:.53rem;font-style:normal; }.catalog-card > span:last-child { display:grid;justify-items:end;gap:6px; }.catalog-card b { max-width:92px;color:var(--alohi-primary);font-size:.6rem;text-align:right; }.status-dot { width:7px;height:7px;border-radius:50%;background:#32a778; }.status-dot.off { background:#aaa; }.catalog-welcome { display:grid;place-items:center;min-height:470px;padding:50px;color:var(--alohi-muted);text-align:center; }.catalog-welcome > i { color:#8bb8a7;font-size:3rem; }.catalog-welcome h2,.catalog-welcome p { margin:0; }.catalog-welcome p { max-width:500px;line-height:1.55; }.catalog-editor { min-width:0;overflow:hidden; }.catalog-editor-head { display:flex;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid var(--alohi-border); }.catalog-editor-head h2 { margin:7px 0 3px;font-size:1.3rem; }.catalog-editor-head p { margin:0;color:var(--alohi-muted);font-size:.6rem; }.catalog-editor-head > div:last-child { display:flex;align-items:flex-start;gap:7px; }.catalog-form-grid { display:grid;grid-template-columns:1fr 1fr; }.catalog-form-grid > section { min-width:0;padding:21px 22px;border-right:1px solid var(--alohi-border);border-bottom:1px solid var(--alohi-border); }.catalog-form-grid > section:nth-child(even) { border-right:0; }.catalog-form-grid h3 { margin:0 0 14px;font-size:.82rem; }.catalog-form-grid .dialog-grid { grid-template-columns:1fr 1fr;padding:0; }.catalog-form-grid label { display:grid;gap:5px;color:var(--alohi-muted);font-size:.56rem;font-weight:750; }.catalog-form-grid input,.catalog-form-grid select,.catalog-form-grid textarea { width:100%;min-width:0;padding:8px 9px;border:1px solid var(--alohi-border);border-radius:8px;background:#fff;color:var(--alohi-text);font:inherit;font-size:.65rem; }.catalog-form-grid textarea { resize:vertical; }.catalog-form-grid .catalog-wide { grid-column:1/-1; }.catalog-form-grid .catalog-toggle { display:flex;align-items:center;gap:8px;padding:8px;border:1px solid var(--alohi-border);border-radius:8px;color:var(--alohi-text); }.catalog-toggle input { width:17px;height:17px;accent-color:var(--alohi-primary); }.catalog-subhead { display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0 8px;padding-top:14px;border-top:1px solid var(--alohi-border); }.catalog-subhead > div { display:grid; }.catalog-subhead strong,.catalog-subhead h3 { margin:0;font-size:.68rem; }.catalog-subhead small,.catalog-help { color:var(--alohi-muted);font-size:.55rem;line-height:1.45; }.catalog-subhead button,.catalog-add-row { border:0;background:transparent;color:var(--alohi-primary);font-size:.59rem;font-weight:750; }.tier-editor { border:1px solid var(--alohi-border);border-radius:9px;overflow:hidden; }.tier-editor > header,.tier-editor [data-tier] { display:grid;grid-template-columns:1fr 1fr 1fr 30px;gap:6px;align-items:center;padding:7px 8px; }.tier-editor > header { background:#f3f7f5;color:var(--alohi-muted);font-size:.52rem;font-weight:750; }.tier-editor [data-tier] { border-top:1px solid var(--alohi-border); }.tier-editor [data-tier] input { padding:6px; }.tier-editor [data-tier] button,.bundle-components button,.checklist-builder button { border:0;background:transparent;color:#a5483d; }.tier-editor p,.bundle-components > p { margin:0;padding:14px;color:var(--alohi-muted);font-size:.57rem;text-align:center; }.bundle-components { display:grid;gap:7px; }.bundle-components [data-component] { display:grid;grid-template-columns:minmax(150px,1fr) 60px minmax(90px,.65fr) 28px;gap:7px;align-items:center; }.bundle-components [data-component] span { overflow:hidden;color:var(--alohi-muted);font-size:.55rem;text-overflow:ellipsis;white-space:nowrap; }.bundle-preview { display:flex;gap:20px;margin-top:12px;padding:11px;border-radius:9px;background:#f3f7f5;font-size:.58rem; }.bundle-preview span { display:grid;gap:2px; }.bundle-preview b { color:var(--alohi-primary);font-size:.68rem; }.checklist-builder { display:grid;gap:10px;margin-top:12px; }.checklist-builder > section { padding:10px;border:1px solid var(--alohi-border);border-radius:10px;background:#fafcfb; }.checklist-builder section > header { display:grid;grid-template-columns:1fr 28px;gap:7px;margin-bottom:7px; }.checklist-builder [data-item] { display:grid;grid-template-columns:minmax(160px,1fr) 75px 65px 26px;gap:6px;align-items:center;margin-top:6px; }.checklist-builder [data-item] label { display:flex;align-items:center;gap:4px;color:var(--alohi-text);font-size:.52rem; }.checklist-builder [data-item] label input { width:14px;height:14px;accent-color:var(--alohi-primary); }.catalog-add-row { margin-top:8px; }.catalog-history { display:grid; }.catalog-history p { display:grid;grid-template-columns:125px 65px 1fr;gap:9px;margin:0;padding:8px 0;border-bottom:1px solid var(--alohi-border);font-size:.55rem; }.catalog-history time,.catalog-history span { color:var(--alohi-muted); }.settings-catalog-link { display:grid;grid-template-columns:50px 1fr auto;gap:16px;align-items:center;margin-top:16px;padding:20px; }.settings-catalog-link > span { display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#e7f4ef;color:var(--alohi-primary);font-size:1.2rem; }.settings-catalog-link h2 { margin:2px 0 4px;font-size:.9rem; }.settings-catalog-link p { margin:0;color:var(--alohi-muted);font-size:.62rem; }.quote-bundle-badge { padding:3px 6px;border-radius:99px;background:#fff1d4;color:#95651c;font-size:.48rem;font-style:normal;text-transform:uppercase; }.price-override { color:#9a6a25!important;font-size:.51rem!important; }
@media(max-width:1100px){.catalog-layout{grid-template-columns:260px minmax(0,1fr)}.catalog-form-grid{grid-template-columns:1fr}.catalog-form-grid>section{border-right:0}.catalog-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.catalog-heading{align-items:stretch}.catalog-heading>div:last-child{display:grid;grid-template-columns:1fr 1fr}.catalog-layout{grid-template-columns:1fr}.catalog-browser{position:static;max-height:none}.catalog-browser [data-catalog-list]{display:grid;max-height:390px;overflow:auto}.catalog-card{min-width:0}.catalog-metrics{grid-template-columns:1fr 1fr}.settings-catalog-link{grid-template-columns:45px 1fr}.settings-catalog-link .btn{grid-column:1/-1}.bundle-components [data-component]{grid-template-columns:1fr 55px 28px}.bundle-components [data-component] span{display:none}}
@media(max-width:500px){.catalog-metrics{grid-template-columns:1fr}.catalog-form-grid .dialog-grid{grid-template-columns:1fr}.catalog-form-grid .catalog-wide{grid-column:auto}.catalog-editor-head{flex-direction:column}.checklist-builder [data-item]{grid-template-columns:1fr 1fr 1fr 25px}.checklist-builder [data-item]>input{grid-column:1/-1}.catalog-history p{grid-template-columns:1fr 60px}.catalog-history span{grid-column:1/-1}}

/* Keep catalog labels and editor controls fully visible at desktop widths. */
.catalog-card {
  grid-template-columns:38px minmax(0,1fr) minmax(86px,auto);
  align-items:start;
  min-height:68px;
}
.catalog-card small,
.catalog-card strong,
.catalog-card em,
.catalog-card b {
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.35;
}
.catalog-card > span:last-child {
  padding-top:1px;
}
.catalog-card b {
  max-width:105px;
  font-size:.58rem;
}
.catalog-layout {
  grid-template-columns:400px minmax(0,1fr);
}
.catalog-card strong {
  white-space:nowrap;
  overflow-wrap:normal;
}
.catalog-editor form,
.catalog-form-grid,
.catalog-form-grid > section {
  min-width:0;
}
.catalog-form-grid {
  grid-template-columns:minmax(0,1fr);
}
.catalog-form-grid > section,
.catalog-form-grid > section:nth-child(even) {
  border-right:0;
}
.catalog-form-grid .dialog-grid {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
.catalog-form-grid input,
.catalog-form-grid select,
.catalog-form-grid textarea {
  box-sizing:border-box;
  max-width:100%;
}

@media(max-width:620px){
  .catalog-form-grid .dialog-grid{grid-template-columns:minmax(0,1fr)}
  .catalog-form-grid .catalog-wide{grid-column:auto}
}

@media(max-width:1100px) and (min-width:761px){
  .catalog-layout{grid-template-columns:minmax(0,1fr)}
  .catalog-browser{position:static;max-height:none}
  .catalog-browser [data-catalog-list]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:430px}
}

@media(max-width:760px){
  .catalog-layout{grid-template-columns:minmax(0,1fr)}
}

.booking-confirmed{display:flex;align-items:center;gap:14px;margin:18px 0;padding:16px;border:1px solid #9fcfbd;border-radius:12px;background:#edf8f3;color:var(--alohi-primary)}
.booking-confirmed>i{font-size:1.5rem}.booking-confirmed strong{display:block}.booking-confirmed p{margin:3px 0 0;color:var(--alohi-muted);font-size:.62rem}
.booking-summary{margin:0 0 15px;color:var(--alohi-muted);line-height:1.5}.secure-payment{display:flex;align-items:center;gap:12px;margin:14px 0;padding:13px;border:1px solid var(--alohi-border);border-radius:10px;background:#f6faf8}
.secure-payment>i{color:var(--alohi-primary);font-size:1.25rem}.secure-payment div{display:grid;gap:2px}.secure-payment small,.public-booking-warning{color:var(--alohi-muted);font-size:.58rem}
.preferred-crew-card{margin-bottom:18px}.preferred-crew-card .section-heading{align-items:flex-start}.preferred-crew-card .section-heading p{margin:3px 0 0;color:var(--alohi-muted);font-size:.55rem;line-height:1.4}
.stripe-settings{margin-top:16px;overflow:hidden}.stripe-settings>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid var(--alohi-border)}
.stripe-brand{display:flex;align-items:center;gap:14px}.stripe-brand>span{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#ede9ff;color:#635bff;font-size:1.25rem}.stripe-brand h2{margin:2px 0 4px;font-size:.9rem}.stripe-brand p{margin:0;color:var(--alohi-muted);font-size:.6rem}
.stripe-connection{display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:99px;background:#f2f4f3;color:var(--alohi-muted);font-size:.57rem;font-weight:750}.stripe-connection.verified{background:#e7f5ef;color:#16745e}.stripe-connection.pending{background:#fff3db;color:#8a641d}
.stripe-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--alohi-border);border-bottom:1px solid var(--alohi-border)}.stripe-summary>div{display:grid;gap:4px;padding:14px 20px;background:#fbfcfb}.stripe-summary small{color:var(--alohi-muted);font-size:.48rem;letter-spacing:.07em}.stripe-summary strong{overflow-wrap:anywhere;font-size:.62rem}
.stripe-settings form{padding:20px 22px}.stripe-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stripe-form-grid>label{display:grid;gap:6px;color:var(--alohi-text);font-size:.58rem;font-weight:750}.stripe-form-grid label>small{color:var(--alohi-muted);font-size:.51rem;font-weight:500}.stripe-form-grid em{color:var(--alohi-muted);font-size:.5rem;font-style:normal;font-weight:500}
.stripe-form-grid input,.stripe-form-grid select{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid var(--alohi-border);border-radius:9px;background:#fff;font:inherit;font-size:.64rem}.secret-input{display:grid;grid-template-columns:minmax(0,1fr) 38px}.secret-input input{border-radius:9px 0 0 9px}.secret-input button{border:1px solid var(--alohi-border);border-left:0;border-radius:0 9px 9px 0;background:#fff;color:var(--alohi-muted)}
.stripe-security{display:flex;align-items:flex-start;gap:8px;margin:18px 0;padding:11px;border-radius:9px;background:#f3f7f5;color:var(--alohi-muted);font-size:.54rem;line-height:1.5}.stripe-security i{color:var(--alohi-primary);font-size:.8rem}.stripe-settings footer{display:flex;flex-wrap:wrap;gap:8px}.stripe-settings-error{display:flex;align-items:center;gap:12px;padding:22px}.stripe-settings-error>i{font-size:1.3rem;color:var(--alohi-muted)}.stripe-settings-error p{margin:3px 0 0;color:var(--alohi-muted);font-size:.58rem}
@media(max-width:760px){.stripe-settings>header{align-items:flex-start;flex-direction:column}.stripe-summary{grid-template-columns:1fr 1fr}.stripe-form-grid{grid-template-columns:minmax(0,1fr)}}
.preferred-crew-list{display:grid;gap:6px;margin-top:10px}.preferred-crew-list label{display:grid;grid-template-columns:18px 1fr auto;gap:8px;align-items:center;padding:8px;border:1px solid var(--alohi-border);border-radius:8px;font-size:.62rem}.preferred-crew-list input{width:16px;height:16px;accent-color:var(--alohi-primary)}.preferred-crew-list small{color:var(--alohi-primary);font-weight:750}
