:root {
  --paper:#f4f6f8;
  --white:#fff;
  --ink:#202624;
  --muted:#606c66;
  --line:#dae1de;
  --lime:#b6ff00;
  --lime-hover:#a5ed00;
  --accent-ink:#3f5700;
  --surface-muted:#eef2f4;
  --dark:#202624;
  --amber:#fff3d6;
  --danger:#8b3f22;
  --radius:18px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none}
* {
  box-sizing:border-box}
body {
  margin:0;
  font-size:15px;
  line-height:1.55}
a {
  color:inherit;
  text-decoration:none}
a:hover {
  color:#3f5700}
button,input,select,textarea {
  font:inherit}
button,a,input,textarea,select {
  outline-offset:4px}
button {
  cursor:pointer}
:where(a,button,input,select,textarea,summary):focus-visible {
  outline:2px solid var(--ink);
  box-shadow:0 0 0 5px var(--lime)}
h1,h2,h3,p {
  margin-top:0}
h1 {
  font-size:clamp(30px,3.3vw,44px);
  line-height:1.1;
  letter-spacing:-1.6px;
  font-weight:650;
  margin-bottom:13px}
h2 {
  font-size:20px;
  line-height:1.3;
  letter-spacing:-.5px;
  font-weight:650;
  margin-bottom:16px}
h3 {
  font-size:16px;
  line-height:1.4;
  font-weight:620;
  margin-bottom:5px}
p {
  margin-bottom:16px}
small,.small {
  font-size:12px;
  line-height:1.65}
.muted {
  color:var(--muted)}
strong {
  font-weight:650}
.eyebrow {
  font-size:10px;
  letter-spacing:1.8px;
  font-weight:700;
  color:var(--muted)}
.sidebar {
  width:235px;
  position:fixed;
  inset:0 auto 0 0;
  z-index:10;
  background:var(--dark);
  color:#fff;
  padding:36px 23px;
  display:flex;
  flex-direction:column}
.brand {
  font-size:27px;
  font-weight:900;
  letter-spacing:-1.8px;
  display:flex;
  align-items:center;
  gap:8px}
.brand:hover {
  color:white}
.brand-dot {
  background:var(--lime);
  color:var(--dark);
  width:29px;
  height:29px;
  border-radius:8px;
  text-align:center;
  line-height:29px;
  letter-spacing:0;
  font-size:25px}
.brand-tag {
  font-size:7px;
  letter-spacing:1.7px;
  color:#a9b8b1;
  margin:5px 0 50px}
.sidebar nav {
  display:grid;
  gap:9px}
.sidebar nav a {
  display:flex;
  gap:13px;
  align-items:center;
  color:#c4ceca;
  padding:13px 15px;
  border-radius:11px;
  font-size:13px;
  font-weight:500;
  min-height:46px}
.sidebar nav a span {
  font-size:20px;
  line-height:1}
.sidebar nav a:hover {
  background:#344139;
  color:#fff}
.sidebar nav a[aria-current] {
  background:var(--lime);
  color:var(--ink)}
.sidebar-footer {
  margin-top:auto;
  border-top:1px solid #46564e;
  padding-top:22px;
  display:grid;
  grid-template-columns:35px 1fr;
  gap:2px 10px;
  font-size:12px}
.avatar {
  width:35px;
  height:35px;
  border:1px solid #596d61;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#304239;
  color:var(--lime);
  font-size:15px}
.sidebar-footer .avatar {
  grid-row:span 2}
.sidebar-footer small {
  color:#b0beb6;
  font-size:10px}
.sidebar-footer>a,.sidebar-footer form {
  grid-column:2;
  padding-top:8px;
  font-size:10px;
  color:#c8d3cd}
.shell {
  margin-left:235px}
.topbar {
  min-height:75px;
  border-bottom:1px solid var(--line);
  padding:0 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  background:#fff}
.topbar .eyebrow {
  font-size:9px;
  letter-spacing:1.3px}
.topbar .muted {
  margin:0 10px}
.topbar-right {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:10px;
  color:var(--muted)}
.env-dot,.tiny-dot {
  height:7px;
  width:7px;
  border-radius:50%;
  background:#a6bc78;
  display:inline-block}
.tag {
  padding:4px 8px;
  border:1px solid #cbd2b9;
  border-radius:5px;
  font-size:9px;
  font-weight:650;
  letter-spacing:.5px;
  white-space:nowrap}
main {
  max-width:1560px;
  margin:auto;
  padding:38px 40px 65px}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px}
.page-heading .eyebrow {
  margin-bottom:10px}
.page-heading p:last-child {
  margin-bottom:0}
.primary,.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  border:1px solid transparent;
  border-radius:9px;
  min-height:44px;
  padding:11px 17px;
  white-space:normal;
  font-size:12px;
  font-weight:650;
  text-align:center;
  line-height:1.4}
.primary {
  background:var(--lime);
  color:var(--ink)}
.primary:hover {
  background:var(--lime-hover);
  color:var(--ink)}
button:disabled {
  cursor:not-allowed;
  opacity:.45}
.ghost {
  background:white;
  border-color:var(--line);
  color:var(--ink)}
.ghost:hover {
  background:var(--surface-muted)}
.link {
  font-size:12px;
  border:0;
  background:none;
  padding:8px 0;
  color:inherit;
  font-weight:600;
  min-height:40px}
.link.subtle {
  color:var(--muted);
  font-weight:400;
  font-size:11px}
.full {
  width:100%;
  margin-top:12px}
.overview-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-bottom:28px}
.metric {
  border:1px solid var(--line);
  background:white;
  border-radius:var(--radius);
  padding:23px 25px}
.metric>span {
  font-size:9px;
  letter-spacing:1.6px;
  font-weight:700;
  color:var(--muted)}
.metric>strong {
  font-size:44px;
  line-height:1.15;
  letter-spacing:-2px;
  display:block;
  margin:14px 0 18px;
  font-weight:500}
.metric>small {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:13px;
  color:var(--muted);
  font-size:11px}
.metric>small b {
  font-size:18px;
  color:var(--ink);
  line-height:1}
.metric.lime {
  background:var(--lime);
  border-color:var(--lime)}
.metric.lime>small {
  border-color:var(--accent-ink);
  color:var(--ink)}
.metric.lime>span {
  color:var(--ink)}
.workspace-grid {
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);
  gap:25px;
  align-items:start}
.workspace-grid>div {
  min-width:0}
.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  margin-bottom:24px}
.padded {
  padding:25px}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:23px 25px 18px}
.section-heading h2 {
  margin:0;
  font-size:16px}
.section-heading>a,.panel-link {
  font-size:11px;
  font-weight:600}
.section-heading.flush {
  padding:0 0 20px}
.section-heading.flush h2 {
  margin-top:10px;
  font-size:21px}
.count {
  font-size:10px;
  display:inline-grid;
  place-items:center;
  background:var(--surface-muted);
  border-radius:5px;
  min-width:20px;
  height:20px;
  vertical-align:middle;
  margin-left:4px}
.schedule-row {
  display:flex;
  align-items:center;
  gap:15px;
  padding:23px 25px;
  border-top:1px solid var(--line)}
.time {
  font-size:20px;
  line-height:1;
  font-weight:600;
  min-width:52px}
.time small {
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:7px}
.timeline-dot {
  width:8px;
  height:8px;
  min-width:8px;
  border-radius:50%;
  background:#a9be79;
  position:relative}
.grow {
  flex:1}
.schedule-row h3 {
  margin:8px 0 5px}
.schedule-row p {
  font-size:11px;
  color:var(--muted);
  margin:0}
.pill {
  font-size:9px;
  font-weight:650;
  letter-spacing:.2px;
  background:var(--surface-muted);
  padding:5px 9px;
  border-radius:6px;
  display:inline-block;
  white-space:normal;
  line-height:1.5}
.pill.amber {
  background:var(--amber);
  color:#80611b}
.list-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:19px 25px;
  border-top:1px solid var(--line)}
.list-row p {
  font-size:11px;
  color:var(--muted);
  margin:5px 0 0}
.list-row h3 {
  font-size:14px;
  margin:4px 0}
.list-row .eyebrow {
  font-size:8px}
.list-row>strong {
  white-space:nowrap}
.dark-panel {
  background:var(--dark);
  color:#fff;
  padding:28px 28px 0;
  border-radius:var(--radius);
  overflow:hidden;
  margin-bottom:24px}
.dark-panel .eyebrow {
  font-size:8px;
  letter-spacing:1.5px;
  color:#c4ceca}
.dark-panel h2 {
  font-size:26px;
  font-weight:500;
  letter-spacing:-.8px;
  margin:23px 0 15px}
.dark-panel p {
  font-size:12px;
  color:#bac8c1;
  line-height:1.8}
.dark-panel .primary {
  margin-top:5px;
  font-size:11px}
.wave {
  color:var(--lime);
  font-size:30px;
  font-weight:900;
  letter-spacing:4px;
  text-align:center;
  opacity:.65;
  line-height:1.3;
  padding-top:20px;
  transform:translateY(8px);
  white-space:nowrap}
.empty {
  text-align:center;
  padding:45px 25px;
  color:var(--muted)}
.empty h3 {
  color:var(--ink)}
.empty p {
  font-size:12px;
  margin-bottom:15px}
.empty a {
  font-size:12px;
  font-weight:650;
  color:var(--ink)}
.empty.compact {
  padding:22px 25px;
  text-align:left}
.empty.compact p {
  margin:0}
.empty-icon {
  font-size:30px;
  display:block;
  color:#a8bcb0;
  margin-bottom:10px}
.panel-link {
  display:block;
  padding:0 25px 23px}
.page-footer {
  padding:0 40px 35px;
  font-size:9px;
  font-weight:800;
  letter-spacing:1px;
  display:flex;
  gap:12px;
  color:#a1b2a8}
.page-footer span {
  font-weight:400;
  letter-spacing:0}
.job-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px}
.job-card {
  display:block;
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:25px}
.job-card h2 {
  font-size:23px;
  margin:22px 0 12px}
.job-card p {
  margin:5px 0;
  font-size:13px}
.job-card-footer {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:18px;
  margin-top:25px;
  font-size:11px;
  color:var(--muted)}
.job-card-footer b {
  font-size:20px;
  line-height:1;
  color:var(--ink)}
.split {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:flex-start}
.search {
  display:flex;
  gap:12px;
  margin-bottom:25px;
  max-width:650px}
.search input {
  flex:1}
.back {
  font-size:12px;
  color:var(--muted);
  display:inline-block;
  margin-bottom:20px}
.notice {
  background:var(--surface-muted);
  border:1px solid var(--line);
  border-radius:10px;
  padding:14px 16px;
  font-size:12px;
  margin-bottom:23px;
  overflow-wrap:anywhere}
.notice.error {
  background:#fff0e7;
  border-color:#e7baa3;
  color:var(--danger)}
.notice.success {
  background:#ecf6dc;
  border-color:#d2e8b2}
.notice.warning,.issue {
  background:#fff5df;
  color:var(--danger)}
.notice p:last-child {
  margin-bottom:0}
.warning {
  color:var(--danger)}
.issue {
  font-size:11px;
  padding:7px 10px;
  border-radius:5px;
  margin-bottom:8px}
.actions {
  display:flex;
  align-items:center;
  gap:15px;
  flex-wrap:wrap}
.actions a {
  font-size:12px;
  font-weight:600}
.form-panel {
  max-width:750px;
  padding:28px}
form p {
  margin-bottom:20px}
label {
  font-size:12px;
  font-weight:600;
  display:block;
  margin-bottom:7px}
input:not([type=checkbox]):not([type=radio]),select,textarea {
  width:100%;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:11px 13px;
  min-height:44px;
  color:var(--ink);
  max-width:100%}
textarea {
  min-height:90px;
  resize:vertical}
input[type=checkbox] {
  width:18px;
  height:18px;
  accent-color:var(--accent-ink);
  vertical-align:middle;
  margin-right:9px}
input[type=file] {
  font-size:12px}
input[type=file]::file-selector-button {
  border:0;
  border-radius:5px;
  padding:6px 10px;
  margin-right:10px;
  background:#e8f2d8;
  color:var(--ink)}
.helptext {
  font-size:11px;
  color:var(--muted);
  display:block;
  margin-top:6px}
.helptext ul {
  padding-left:18px}
.errorlist {
  font-size:12px;
  color:#a13f25;
  list-style:none;
  padding:10px;
  border-radius:8px;
  background:#fff0e7}
form ul.errorlist+p input {
  border-color:#b76944}
.save-state {
  font-size:11px;
  color:var(--muted);
  margin-left:10px}
.check {
  display:flex;
  align-items:center;
  gap:5px;
  margin:15px 0;
  font-weight:400}
.check input {
  flex-shrink:0}
.status-row {
  font-size:11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid var(--line)}
.status-row:last-of-type {
  margin-bottom:20px}
.customer-card {
  padding:25px;
  margin:0}
.customer-card .avatar {
  background:#f0ffdc;
  color:var(--accent-ink);
  border-color:#cee6a6;
  margin-bottom:20px}
.customer-card>p {
  font-size:13px;
  color:var(--muted)}
.address-block {
  padding:15px 0;
  border-top:1px solid var(--line)}
.address-block p {
  font-size:12px;
  margin-bottom:4px}
.address-block small {
  color:var(--muted)}
.customer-card>a {
  font-size:12px;
  font-weight:600;
  display:inline-block;
  margin-top:14px}
.preserve {
  white-space:pre-wrap;
  overflow-wrap:anywhere}
hr {
  border:0;
  border-top:1px solid var(--line);
  margin:22px 0}
.recorder {
  background:var(--surface-muted);
  border:1px dashed #b9c6bf;
  border-radius:10px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  padding:18px;
  gap:12px;
  margin:22px 0}
.recorder [data-record-status] {
  font-size:10px;
  color:var(--muted)}
audio {
  width:100%;
  max-width:100%;
  margin:12px 0}
.mic-icon {
  width:45px;
  height:45px;
  background:var(--lime);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:24px;
  flex-shrink:0}
.saved-note {
  padding:20px 0;
  border-top:1px solid var(--line);
  margin-top:20px}
.saved-note:first-child {
  margin-top:0}
details {
  margin:15px 0}
summary {
  cursor:pointer;
  font-size:13px;
  font-weight:600;
  min-height:40px;
  display:list-item;
  align-content:center}
details[open] summary {
  margin-bottom:15px}
.file-link {
  display:block;
  padding:15px 0;
  border-bottom:1px solid var(--line);
  font-size:12px}
.cost {
  font-size:32px;
  letter-spacing:-1px;
  line-height:1.3}
.cost small {
  font-size:10px;
  letter-spacing:0;
  color:var(--muted)}
.quote-row {
  padding:24px;
  border-top:1px solid var(--line)}
.quote-row h3 {
  margin:8px 0}
.quote-row .split>strong {
  font-size:20px;
  white-space:nowrap}
.total-row {
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:13px 0;
  font-size:12px}
.grand-total {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:20px 0;
  margin:10px 0;
  font-size:13px}
.grand-total strong {
  font-size:29px;
  letter-spacing:-1px;
  white-space:nowrap}
.sticky {
  position:sticky;
  top:24px}
.document-body {
  background:#e3e9e7;
  padding:30px;
  font-size:13px}
.document {
  max-width:850px;
  margin:auto;
  background:white;
  padding:55px 60px;
  box-shadow:0 3px 20px #0001}
.document-tools {
  display:flex;
  max-width:850px;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin:0 auto 20px;
  font-size:12px}
.document-header {
  display:flex;
  justify-content:space-between;
  border-bottom:3px solid var(--ink);
  padding-bottom:20px;
  margin-bottom:30px}
.document-header h1 {
  font-size:30px;
  letter-spacing:-1px}
.document-header p {
  font-size:11px;
  color:var(--muted)}
.document-header .right {
  text-align:right}
.document-customer {
  padding-bottom:20px}
.document-customer h3 {
  margin-top:10px}
.document table {
  width:100%;
  border-collapse:collapse;
  font-size:11px;
  margin-top:30px}
.document th {
  text-align:left;
  background:var(--surface-muted);
  padding:12px 8px;
  font-size:10px}
.document td {
  padding:15px 8px;
  border-bottom:1px solid var(--line);
  vertical-align:top}
.document th:last-child,.document td:last-child {
  text-align:right}
.document-totals {
  margin:20px 0 30px auto;
  width:320px;
  max-width:100%}
.document-footer {
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:40px;
  font-size:10px;
  color:var(--muted)}
.draft-banner {
  padding:14px;
  background:#fff0dc;
  color:#8b4b22;
  margin-bottom:30px;
  font-weight:650}
.auth-shell {
  margin-left:0}
.auth-shell main {
  max-width:1200px}
.auth-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
  padding:7vh 0}
.auth-intro h1 {
  font-size:46px;
  line-height:1.2;
  margin-top:35px}
.auth-intro>p {
  color:var(--muted);
  max-width:340px;
  font-size:14px}
.wordmark {
  font-weight:900;
  font-size:39px;
  letter-spacing:-2.5px}
.wordmark span {
  display:inline-block;
  background:var(--lime);
  padding:0 8px;
  border-radius:10px;
  margin-left:8px}
.auth-rule {
  height:3px;
  width:55px;
  background:var(--lime);
  margin:35px 0}
.auth-card {
  padding:35px}
.auth-card h2 {
  font-size:25px;
  margin-top:23px}
.auth-card>p {
  font-size:13px}
.auth-card form {
  margin-top:25px}
.mobile-nav {
  display:none}
.sr-only {
  position:absolute;
  height:1px;
  width:1px;
  overflow:hidden;
  clip:rect(0,0,0,0)}
.skip {
  position:fixed;
  top:-100px;
  left:10px;
  z-index:100;
  background:var(--lime);
  padding:15px}
.skip:focus {
  top:10px}
[hidden] {
  display:none!important}

@media(min-width:1500px) {
  .workspace-grid {
    grid-template-columns:minmax(0,1.85fr) minmax(0,1fr)}
  main {
    padding-top:45px}
}
@media(max-width:1100px) {
  .sidebar {
    width:205px;
    padding:30px 18px}
  .shell {
    margin-left:205px}
  .brand {
    font-size:25px}
  .brand-tag {
    font-size:6px}
  .topbar {
    padding:0 25px}
  main {
    padding:30px 25px 55px}
  .workspace-grid {
    gap:18px;
    grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
  .padded {
    padding:20px}
  .metric {
    padding:20px}
  .dark-panel {
    padding:25px 20px 0}
  .dark-panel h2 {
    font-size:23px}
  .section-heading {
    padding:20px}
  .list-row {
    padding:18px 20px}
  .auth-shell {
    margin:0}
  .auth-layout {
    gap:40px}
}
@media(max-width:850px) {
  .sidebar {
    width:175px;
    padding:28px 12px}
  .brand {
    font-size:23px}
  .brand-dot {
    width:24px;
    height:24px;
    line-height:24px;
    font-size:20px}
  .brand-tag {
    font-size:5.5px;
    letter-spacing:1.2px}
  .shell {
    margin-left:175px}
  .sidebar nav a {
    font-size:12px;
    padding:12px 10px;
    gap:10px}
  .workspace-grid {
    grid-template-columns:1fr}
  .workspace-grid>div {
    display:contents}
  .sticky {
    position:static}
  .topbar-right .tag {
    display:none}
  .topbar .eyebrow {
    font-size:8px}
  .metric {
    padding:18px}
  .metric>small {
    font-size:10px}
  .job-grid {
    grid-template-columns:1fr}
  .auth-shell {
    margin:0}
  .auth-layout {
    grid-template-columns:1fr;
    max-width:500px;
    margin:auto;
    gap:30px;
    padding:30px 0}
  .auth-intro h1 {
    font-size:32px;
    margin-top:20px}
  .auth-intro .auth-rule,.auth-intro .eyebrow {
    display:none}
  .auth-intro>p {
    margin-bottom:0}
  .auth-card {
    padding:28px}
}
@media(max-width:760px) {
  body {
    font-size:14px}
  .sidebar {
    display:none}
  .shell {
    margin:0}
  .topbar {
    min-height:59px;
    padding:0 19px;
    gap:5px}
  .topbar .eyebrow {
    font-size:8px;
    letter-spacing:.7px}
  .topbar-right {
    font-size:8px;
    gap:5px}
  .topbar-right .env-dot {
    width:5px;
    height:5px}
  .topbar .muted {
    margin:0 4px}
  main {
    padding:27px 18px 90px}
  .page-heading {
    gap:12px;
    align-items:flex-start;
    margin-bottom:23px}
  .page-heading h1 {
    font-size:31px;
    letter-spacing:-1px}
  .page-heading p {
    font-size:12px}
  .page-heading>.button {
    font-size:10px;
    padding:10px;
    min-height:40px;
    flex-shrink:0}
  .overview-grid {
    gap:9px;
    margin-bottom:21px}
  .metric {
    padding:14px 12px;
    border-radius:12px}
  .metric>span {
    font-size:7px;
    letter-spacing:.7px;
    display:block;
    min-height:24px}
  .metric>strong {
    font-size:34px;
    margin:8px 0 12px}
  .metric>small {
    font-size:8px;
    line-height:1.5;
    min-height:40px;
    padding-top:10px;
    gap:5px}
  .metric>small b {
    font-size:13px}
  .panel {
    border-radius:14px;
    margin-bottom:19px}
  .padded {
    padding:21px}
  .section-heading {
    padding:21px 20px 17px}
  .section-heading h2 {
    font-size:15px}
  .workspace-grid {
    gap:0}
  .schedule-row {
    padding:20px;
    gap:12px}
  .schedule-row .time {
    font-size:18px;
    min-width:48px}
  .schedule-row h3 {
    font-size:14px}
  .dark-panel {
    border-radius:14px;
    padding:25px 23px 0}
  .dark-panel h2 {
    font-size:28px}
  .dark-panel .wave {
    font-size:30px}
  .mobile-nav {
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    display:flex;
    background:var(--dark);
    color:#d3ded7;
    justify-content:space-around;
    align-items:center;
    z-index:30;
    border-top:1px solid #4c6255;
    padding:9px 8px calc(9px + env(safe-area-inset-bottom))}
  .mobile-nav a {
    display:grid;
    place-items:center;
    font-size:21px;
    line-height:1.2;
    min-width:55px;
    min-height:45px}
  .mobile-nav span {
    font-size:9px;
    margin-top:4px}
  .page-footer {
    display:none}
  .form-panel {
    padding:22px}
  .back {
    font-size:11px}
  .list-row {
    padding:18px 20px}
  .quote-row {
    padding:20px}
  .quote-row .split>strong {
    font-size:17px}
  .status-row {
    font-size:10px}
  .split {
    gap:10px}
  .auth-shell main {
    padding-top:15px}
  .auth-card {
    padding:25px}
  .auth-intro h1 {
    font-size:34px}
  .wordmark {
    font-size:32px}
  .auth-layout {
    gap:25px;
    padding:20px 0}
  .document-body {
    padding:15px}
  .document {
    padding:30px 22px}
  .document-header h1 {
    font-size:23px}
  .document-header h2 {
    font-size:16px}
  .document-header {
    gap:20px}
  .document-tools {
    font-size:10px}
  .document table {
    font-size:9px}
  .document th,.document td {
    padding:10px 5px}
  .recorder {
    padding:15px}
}
@media print {
  :root {
    background:white}
  @page {
    size:A4;
    margin:16mm}
  .document-body {
    background:white;
    padding:0}
  .document {
    box-shadow:none;
    padding:0;
    max-width:none}
  .document-tools {
    display:none}
  .document-header {
    break-inside:avoid}
  .document tr,.document-totals {
    break-inside:avoid}
  .document-terms p {
    break-inside:avoid;
    orphans:3;
    widows:3}
  .document thead {
    display:table-header-group}
  .document h3 {
    break-after:avoid}
  .document-footer {
    font-size:9px}
  .draft-banner {
    border:2px solid #333}
}

/* Voice quoting: real capture, saved-source review and explicit processing states. */
.voice-steps { display:flex; gap:12px; flex-wrap:wrap; margin:0 0 25px; font-size:12px; }
.voice-steps > * { padding:9px 13px; border:1px solid var(--line); border-radius:9px; background:white; }
.voice-steps strong { background:var(--lime); border-color:var(--lime); }
.recorder-large { display:grid; justify-items:start; gap:17px; padding:25px; }
.record-status { display:flex; align-items:center; gap:9px; font-size:13px; }
.record-status > span { width:9px; height:9px; border-radius:50%; background:#b0b8a3; }
.record-status > span.is-recording { background:#c0452e; box-shadow:0 0 0 5px #c0452e15; }
.record-timer { font-size:48px; font-variant-numeric:tabular-nums; line-height:1.1; letter-spacing:-2px; }
.recorder-large audio { width:100%; min-width:0; }
.command { display:block; padding:12px; background:var(--surface-muted); border:1px solid var(--line); border-radius:8px; font-size:11px; overflow-wrap:anywhere; margin:12px 0; }
.voice-checklist { font-size:12px; line-height:1.9; padding-left:20px; }
progress { width:100%; height:13px; accent-color:var(--accent-ink); }
[data-transcript-form] textarea { min-height:250px; line-height:1.75; }
@media (max-width:760px) { .voice-steps { gap:7px; font-size:10px; } .voice-steps > * { padding:8px 9px; } .recorder-large {padding:18px;} }

.saved-audio-player { border:1px solid var(--line); border-radius:10px; padding:16px; margin:16px 0; background:#fff; }
.saved-audio-controls { display:grid; gap:14px; }
.saved-audio-controls input[type=range] { width:100%; padding:0; accent-color:var(--accent-ink); cursor:pointer; min-height:32px; }
.saved-audio-player .audio-clock { font-variant-numeric:tabular-nums; font-size:12px; white-space:nowrap; }
.audio-feedback { margin:12px 0 7px; color:var(--muted); }
.saved-audio-player[data-audio-state=error] .audio-feedback { color:var(--danger); }
.saved-audio-player[data-audio-state=playing] .audio-feedback { color:#526d22; }

.provider-diagnostic { font-size:12px; display:grid; grid-template-columns:90px minmax(0,1fr); gap:9px 12px; padding:14px; background:var(--surface-muted); border-radius:9px; }
.provider-diagnostic dt { font-weight:650; color:var(--muted); }
.provider-diagnostic dd { margin:0; overflow-wrap:anywhere; }

.actions.extra-actions { display:block; }
.extra-actions > details { width:100%; }
.extra-actions > form { margin-top:12px; }
.extra-actions details form { max-width:520px; padding-top:12px; }
.deposit-control { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.deposit-control fieldset { border:0; padding:0; margin:0 0 12px; }
.deposit-control legend { font-weight:650; margin-bottom:8px; }
.deposit-control input[type=range] { width:100%; padding:0; accent-color:var(--accent-ink); min-height:44px; }
.deposit-control input[type=radio] { accent-color:var(--accent-ink); }
.deposit-control input[type=number] { margin-bottom:12px; }

/* Today: action groups share existing record links, no separate task interface. */
.today-subheading { padding:16px 24px 8px; font-size:12px; font-weight:700; color:var(--muted); }
.today-help { margin:0; padding:0 24px 16px; font-size:12px; color:var(--muted); line-height:1.6; }
.today-grid > div { min-width:0; }
.today-invoice .grow { min-width:0; }
.today-invoice p, .today-grid h3, #callbacks h3 { overflow-wrap:anywhere; }
.today-invoice { align-items:flex-start; }
@media(max-width:760px) {
 .today-subheading { padding-left:18px; padding-right:18px; }
 .today-help { padding-left:18px; padding-right:18px; }
 .today-grid .section-heading { gap:10px; flex-wrap:wrap; }
}

.today-clear { font-size:12px; color:var(--muted); margin:0 0 22px; }
.today-grid .empty.compact { min-height:0; padding:12px 24px 20px; }

/* One next step, before long job history and callback panels. */
.job-continuation { border: 2px solid var(--lime, #d9f760); display:flex; align-items:center; gap:20px; justify-content:space-between; }
.job-continuation h2 { margin:6px 0; }
.job-continuation p { margin:6px 0; max-width:65ch; }
.job-continuation .button { white-space:normal; text-align:center; }
#job-overview, #job-appointments, #job-quotes, #job-invoices { scroll-margin-top:24px; }
@media (max-width:650px) {
  .job-continuation { display:block; }
  .job-continuation .button { width:100%; margin-top:12px; }
}

.quote-detail-section { border-top:1px solid var(--line); }
.quote-detail-section summary { display:flex; align-items:center; gap:10px; min-height:48px; cursor:pointer; padding:8px 0; }
.quote-detail-section summary:before { content:'＋'; flex-shrink:0; }
.quote-detail-section[open] summary:before { content:'−'; }
.quote-detail-section summary strong { flex-shrink:0; font-size:14px; }
.detail-preview { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--muted); font-size:13px; min-width:0; }
.detail-editor { padding:4px 0 12px; }
.detail-editor textarea { min-height:92px; }
.quote-detail-section.needs-review { border-left:3px solid #a16c00; padding-left:10px; }
.quote-validity { display:flex; flex-wrap:wrap; align-items:flex-start; gap:12px; font-size:14px; margin:12px 0; }
.quote-validity summary { min-height:44px; cursor:pointer; padding:0 6px; }
.quote-validity input { max-width:210px; }
.coverage-review { display:flex; align-items:flex-start; gap:9px; }
.coverage-review input { width:20px; flex-shrink:0; }
.coverage-review label { margin:0; }
.quote-mobile-totals { display:none; }
#quote-approval { scroll-margin-top:70px; }
@media(max-width:650px) {
 .quote-mobile-totals { display:flex; position:sticky; top:0; z-index:10; gap:12px; justify-content:space-between; align-items:center; background:#f9ffdf; padding:10px; border:1px solid #c7d79c; border-radius:10px; font-size:13px; min-height:48px; }
 .quote-mobile-totals a { min-height:44px; display:flex; align-items:center; font-weight:700; }
 .quote-detail-section summary { gap:7px; }
 .quote-detail-section summary strong { max-width:55%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
}
.office-views { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 20px; }
.office-views a { display:flex; align-items:center; justify-content:center; gap:6px; min-height:48px; padding:10px 16px; border:1px solid var(--line,#dfe2d7); border-radius:14px; color:inherit; background:#fff; font-weight:700; text-decoration:none; }
.office-views a[aria-current="page"] { background:var(--lime); border-color:var(--accent-ink); }
.money-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(175px,1fr)); gap:12px; margin:18px 0; }
.money-stat { display:flex; flex-direction:column; gap:8px; padding:16px; border-radius:14px; background:var(--surface-muted); overflow-wrap:anywhere; }
.money-stat strong { font-size:1.65rem; line-height:1.2; }
.money-stat small { color:var(--muted); }
.money-source .today-invoice { padding-left:0; padding-right:0; }
@media(max-width:450px) { .office-views a { flex:1 1 auto; padding:10px; } .money-grid { grid-template-columns:1fr; } }
.mobile-today,.mobile-more,.mobile-title { display:none; }
.pilot-badge { color:var(--ink); background:var(--lime); border-radius:8px; padding:5px 7px; font-weight:700; overflow-wrap:anywhere; }
[hidden] { display:none !important; }
@media(max-width:760px) {
  .office-views,.desktop-today,.desktop-title { display:none; }
  .mobile-title { display:inline; }
  .mobile-today,.mobile-more { display:block; }
  .mobile-today { margin-bottom:18px; }
  .mobile-today h2 { margin:0; }
  .mobile-today .split { gap:8px; flex-wrap:wrap; }
  .mobile-today .split a { min-height:44px; display:flex; align-items:center; }
  .today-heading .muted { display:none; }
  .today-heading { align-items:center; margin-bottom:15px; }
  .today-heading h1 { font-size:28px; margin:3px 0; }
  .topbar { padding-top:env(safe-area-inset-top); flex-wrap:wrap; }
  .topbar-right { flex-wrap:wrap; }
  .topbar-right .tag { display:inline-flex; }
  .topbar .eyebrow { overflow-wrap:anywhere; min-width:0; }
  .mobile-more { position:relative; font-size:13px; }
  .mobile-more summary { min-height:44px; min-width:44px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
  .mobile-more nav { position:absolute; top:100%; right:0; z-index:40; width:min(280px,85vw); padding:10px; border:1px solid var(--line); border-radius:14px; background:var(--white); box-shadow:0 8px 25px #0002; }
  .mobile-more a,.mobile-more button { display:block; min-height:44px; padding:10px; width:100%; text-align:left; }
  .mobile-more form { margin:0; }
  .mobile-nav a { min-height:48px; min-width:60px; border-radius:10px; }
  .mobile-nav a[aria-current="page"] { background:#344338; color:var(--lime); }
  main { padding-bottom:calc(100px + env(safe-area-inset-bottom)); padding-left:max(16px,env(safe-area-inset-left)); padding-right:max(16px,env(safe-area-inset-right)); }
  input,select,textarea { font-size:16px; max-width:100%; }
  .panel,.list-row>div,.page-heading>div,.job-card { min-width:0; overflow-wrap:anywhere; }
  .button { min-height:44px; }
}


/* Mobile feedback review: compact quote-line editing and job-photo access. */
.page-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.camera-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px}
.camera-link{position:relative;overflow:hidden;cursor:pointer;margin:0}
.camera-file{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.camera-link:focus-within{outline:3px solid var(--ink,#242622);outline-offset:3px}
[data-camera-upload]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%}
[data-camera-status]{flex-basis:100%;max-width:240px}
#quote-details{scroll-margin-top:90px}
.coverage-review-required{padding:14px;border:2px solid #a96716;border-radius:12px;background:#fff3d6;color:#3c2a13}
.coverage-review label{padding:3px 0;min-height:44px;cursor:pointer}
#quote-details:target .coverage-review-required{outline:3px solid #a96716;outline-offset:3px}
.line-editor-primary{display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,1fr) minmax(100px,.7fr);gap:14px;align-items:end}
.line-editor-primary p,.line-editor-details p{margin:0}
.line-editor-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.line-editor-wide{grid-column:1/-1}
[data-line-labour-fields]{grid-column:1/-1}
[data-line-labour-fields][hidden]{display:none}
@media(max-width:700px){.line-editor-primary,.line-editor-details{grid-template-columns:1fr}.page-heading-actions{justify-content:flex-start}.line-editor-wide,[data-line-labour-fields]{grid-column:auto}}

/* Koda's supplied customer-document structure. App navigation keeps its hi-vis theme. */
.document { --document-green:#b6ff00; }
.koda-document-header { border:0; margin-bottom:32px; }
.document-brand { display:grid; grid-template-columns:minmax(140px,1fr) 2fr; gap:28px; align-items:start; width:100%; }
.document-wordmark { font-family:Georgia,serif; font-size:34px; font-style:italic; font-weight:700; line-height:1.1; }
.document-contact { font-size:11px; }
.document-address-row { display:grid; grid-template-columns:3fr 2fr; gap:16px; border-bottom:6px solid var(--document-green); padding-bottom:0; margin-bottom:38px; }
.document-identifiers h2,.document-identifiers p { margin:0 0 10px; padding:12px; background:var(--document-green); color:#202624; font-size:12px; }
.document-identifiers h2 { font-size:20px; }
.document-identifiers small { display:block; padding:0 10px 12px; }
.document th { background:var(--document-green); color:#202624; }
.document .grand-total { background:var(--document-green); color:#202624; border:0; padding:12px; }
.document .document-acceptance { display:flex; justify-content:space-between; gap:20px; margin-top:36px; font-size:11px; break-inside:avoid; }
.document-payment { text-align:center; margin:38px auto 12px; font-size:12px; line-height:1.6; break-inside:avoid; overflow-wrap:anywhere; }
.document-payment p { margin:0; }
@media screen and (max-width:600px) {
  .document-brand { grid-template-columns:1fr; gap:14px; }
  .document-address-row { grid-template-columns:1fr; }
  .document .document-acceptance { flex-direction:column; }
}
@media print {
  .document-brand,.document-address-row { break-inside:avoid; }
  .document-identifiers h2,.document-identifiers p,.document th,.document .grand-total { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
}
.document-logo { width:180px; max-width:100%; height:auto; object-fit:contain; }
@media print { .document-logo { width:150px; } }
/* Customer PDFs use white paper, independently of the app theme. */
.document-body .document { background:#fff; color:#202624; }
@media print { html,body.document-body,.document-body .document { background:#fff !important; } }
/* Keep ordinary short quotes/invoices on one A4 sheet; long jobs still paginate. */
@media print {
  .document-body { font-size:11px; line-height:1.4; }
  .document .draft-banner { padding:8px 10px; margin-bottom:16px; }
  .document .koda-document-header { padding-bottom:0; margin-bottom:18px; }
  .document .document-logo { width:135px; }
  .document .document-address-row { margin-bottom:18px; }
  .document .document-customer { padding-bottom:8px; }
  .document .document-identifiers h2 { font-size:17px; }
  .document .document-identifiers h2,.document .document-identifiers p { padding:8px 10px; margin-bottom:7px; }
  .document p { margin-bottom:9px; }
  .document h3 { font-size:13px; margin-bottom:4px; }
  .document table { margin-top:16px; font-size:10px; }
  .document th,.document td { padding:8px 6px; }
  .document .document-totals { margin-top:12px; margin-bottom:16px; }
  .document .total-row { padding:7px 0; font-size:11px; }
  .document .grand-total { margin:6px 0; padding:9px; }
  .document .grand-total strong { font-size:23px; }
  .document .small { font-size:10px; line-height:1.4; }
  .document .document-acceptance { margin-top:20px; }
  .document .document-payment { margin-top:22px; font-size:11px; line-height:1.4; }
  .document .document-footer { margin-top:20px; padding-top:10px; }
}
.site-notes > summary { cursor:pointer; padding:2px 0; }
.visit-day { margin:18px 0; border:0; padding:0; min-width:0; }
.visit-day legend { font-weight:650; margin-bottom:8px; }
.visit-slots { display:grid; grid-template-columns:repeat(auto-fit,minmax(185px,1fr)); gap:8px; }
.visit-slot { display:flex; gap:10px; align-items:center; padding:12px; border:1px solid var(--line); border-radius:12px; cursor:pointer; }
.visit-slot input { width:auto; flex:0 0 auto; margin:0; }
.visit-slot:has(input:checked) { border-color:var(--ink); background:var(--lime); color:var(--ink); }

.overdue-link { color:inherit; text-decoration:none; min-height:44px; }
.overdue-link:hover,.overdue-link:focus-visible { outline:2px solid var(--lime); outline-offset:2px; }
.money-source { scroll-margin-top:16px; }

/* Guided setup reuses the approved lime/charcoal theme. */
.setup-flow {max-width:760px;margin:0 auto}
.setup-progress {display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 24px}
.setup-progress span {padding:6px 10px;border:1px solid currentColor;border-radius:20px;font-size:.8rem;opacity:.65}
.setup-progress [aria-current="step"] {background:var(--lime);color:var(--ink);border-color:var(--lime);opacity:1;font-weight:700}
.setup-flow .setup-actions {display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.setup-flow ol {padding-left:24px;line-height:1.65}
.setup-flow form input,.setup-flow form select {max-width:100%}
@media(max-width:600px) {.setup-flow .setup-actions .button {width:100%}.setup-progress span {font-size:.73rem}.setup-flow .panel {overflow-wrap:anywhere}}

.guided-setup .sidebar,.guided-setup .mobile-nav,.guided-setup .mobile-more {display:none}
.guided-setup .shell {margin-left:0;padding-bottom:24px}

.setup-import-choices {display:grid;gap:12px;margin:20px 0}.setup-import-choices .button {white-space:normal}.price-import-row {padding:16px 0;border-bottom:1px solid var(--line)}.price-import-row label {display:flex;align-items:flex-start;gap:12px}.price-import-row input[type="checkbox"] {width:auto;flex-shrink:0}
.price-source-table {overflow:auto;max-width:100%;margin:16px 0}.price-source-table table {min-width:100%;font-size:.85rem}.price-source-table th,.price-source-table td {padding:8px;min-width:80px;vertical-align:top}.price-import-row input:not([type="checkbox"]) {width:100%;margin:8px 0 14px}.price-import-row label {display:block}

/* Quote review follows one reading order at desktop and phone widths. */
.quote-review-flow.workspace-grid { display:block; max-width:850px; margin-inline:auto; }
.quote-review-flow .sticky { position:static; }
.quote-review-page > #dictation-review, .quote-review-page > #quote-missing-details { max-width:850px; margin-inline:auto; }
.quote-review-page .quote-row { overflow-wrap:anywhere; }
.quote-review-page summary { min-height:44px; cursor:pointer; }
.quote-review-page .saved-deposit { padding:12px; border-left:4px solid var(--accent, #c6ff00); }

@media (max-width:700px) {
 .quote-review-page .page-heading { margin-bottom:16px; }
 .quote-review-page .page-heading h1 { font-size:30px; }
 .quote-review-page .panel.padded { padding:18px; margin-bottom:14px; }
 .quote-review-page .quote-row, .quote-review-page .section-heading { padding:18px; }
 .quote-review-page .panel h2 { font-size:21px; }
 .quote-review-page .panel h3 { font-size:18px; }
}
.signature-pad { display:block; width:100%; height:180px; background:#fff; border:2px solid #8ba31b; border-radius:12px; touch-action:none; margin:12px 0; }

.quote-inline-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:12px}
.quote-inline-fields p{min-width:0;margin:0 0 12px}.quote-inline-fields input{width:100%;min-width:0}
.quote-preview-actions{display:block;max-width:210mm;margin:16px auto;padding:16px}.quote-preview-actions p{white-space:normal}
@media(max-width:600px){.quote-inline-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.quote-inline-fields p:first-child{grid-column:1/-1}}
@media print{.quote-preview-actions{display:none!important}}

.quote-has-edits [data-saved-amount]::after,.quote-has-edits [data-saved-total-label]::after{content:" · before edits";font-size:.75rem;font-weight:normal}
.quote-has-edits .quote-mobile-totals>span::after{content:" · preview updates edits";font-size:.75rem}

/* Keep quote entry tools together without crowding the mobile heading. */
.quote-review-page .section-heading:has(.quote-line-tools) { flex-wrap: wrap; }
.quote-line-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.quote-line-tools .button { white-space: normal; }

/* Focus the existing quote editor; advanced workflows retain their own controls. */
.quote-focus .quote-review-flow { max-width: 760px; }
.quote-focus .quote-review-flow > div > .panel,
.quote-focus .quote-work-summary { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 18px 0; margin: 0; }
.quote-focus .quote-row { padding: 14px 0; border-top: 0; border-bottom: 1px solid var(--border, #dce2df); }
.quote-focus .section-heading { padding: 12px 0; }
.quote-focus .quote-inline-fields { gap: 10px; }
.quote-focus .quote-inline-fields p { margin-bottom: 6px; }
.quote-focus .quote-row > details { margin-top: 8px; }
.quote-focus .quote-row .eyebrow { font-size: 11px; }
.quote-focus .quote-more-options { border-block: 1px solid var(--border, #dce2df); padding: 16px 0; margin-top: 12px; }
.quote-more-options > summary { font-weight: 700; min-height: 44px; }
.quote-more-options > summary span { display: block; margin-top: 4px; font-weight: 400; }
.quote-options-content { padding-top: 12px; }
.quote-options-content > .panel { background: transparent; border: 0; padding: 12px 0; box-shadow: none; }
.quote-options-content > details { margin-block: 12px; }
.quote-focus #quote-approval { padding-bottom: 24px; }
.quote-preview-transcript { max-width: 48rem; margin-block: 16px; }
.quote-focus [id] { scroll-margin-top: 80px; }

/* Owner-only preview editors are not part of customer print/PDF content. */
.document table tr.quote-line-resolver { display:table-row; margin:0; }
.document .quote-line-resolver > td { text-align:left; white-space:normal; padding:10px 0 18px; }
.quote-resolution-card { border-left:3px solid var(--lime); padding:10px 14px; overflow-wrap:anywhere; }
.resolution-problem { color:#75420b; margin:4px 0; }
.preview-resolution-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.preview-resolution-fields fieldset { border:0; min-width:0; margin:0; padding:0; }
.preview-resolution-fields fieldset[hidden] { display:none; }
.quote-resolution-card input,.quote-resolution-card select,.quote-resolution-card textarea { min-width:0; width:100%; }
.quote-resolution-card input[type=checkbox] { width:auto; }
.quote-resolution-card summary { min-height:44px; }
.quote-resolution-card [data-resolution-error],.preview-quote-question [data-resolution-error] { color:#8a2c16; }
.preview-quote-question { width:100%; }
.document #preview-send { flex-wrap:wrap; }
.document #preview-send>form,.document .quote-preview-transcript { width:100%; }
@media(max-width:600px){.preview-resolution-fields{grid-template-columns:minmax(0,1fr)}}
@media print{.quote-line-resolver,.preview-quote-question,.quote-resolution-card{display:none!important}}

/* Jiblet: original green J mark; existing application palette and flows retained. */
.app-wordmark { display:inline-flex; align-items:center; gap:.035em; font-weight:850; letter-spacing:-.045em; line-height:1; white-space:nowrap; vertical-align:middle; color:var(--ink); }
.app-wordmark .app-symbol { width:1.25em; height:1.25em; flex:none; border-radius:.27em; }
.app-wordmark .app-wordmark-rest { color:inherit; font:inherit; letter-spacing:inherit; }
.sidebar .app-wordmark { color:var(--paper); }
.wordmark .app-wordmark,.wordmark .app-wordmark-rest { background:none; margin:0; padding:0; border-radius:0; }
.wordmark .app-wordmark { font-size:clamp(42px,11vw,58px); }
.app-wordmark--compact { gap:0; }
.app-wordmark .app-wordmark-initial { color:var(--lime); font:inherit; letter-spacing:inherit; }
.page-footer .app-wordmark { font-size:13px; font-weight:850; }
.page-footer .app-wordmark-rest { color:var(--ink); }
.document-footer .app-wordmark { font-size:11px; }
@media print { .app-wordmark-initial { -webkit-print-color-adjust:exact; print-color-adjust:exact; } }
.topbar-identity { min-width:0; }
.mobile-brand { display:none; }
@media(max-width:760px) {
  .topbar-identity { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
  .mobile-brand { display:inline-flex; font-size:18px; }
  .topbar-identity .eyebrow { max-width:42vw; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}
.wordmark .app-wordmark { display:inline-flex; }
@media(max-width:760px) {
  .topbar { padding-top:calc(8px + env(safe-area-inset-top)); padding-bottom:8px; }
  .topbar-identity { flex-direction:row; align-items:center; gap:8px; }
}

/* Supplied Jiblet reference: luminous green, silver surfaces and charcoal chrome. */
:root { --ink:#101719; --dark:#11191c; --line:#cdd5d3; --surface-muted:#eef1f0; --metal-highlight:#f9fbfa; --brand-green-deep:#79ce00; }
body:not(.document-body) { background:linear-gradient(155deg,#fff 0%,var(--paper) 48%,#edf1ef 100%); }
.sidebar { background:linear-gradient(155deg,#2b3435 0%,#11191c 36%,#080d0f 100%); border-right:1px solid #46534c; }
.topbar { background:linear-gradient(180deg,#fff 0%,#f1f4f2 100%); }
.panel { background:linear-gradient(145deg,#fff 0%,#fafcfb 100%); border-color:var(--line); box-shadow:0 5px 18px #10171908; }
.primary { background:linear-gradient(160deg,#c8ff35 0%,var(--lime) 40%,#8ee000 100%); color:#101719; border-color:#9ae300; box-shadow:inset 0 1px 0 #ffffff9c,0 3px 8px #3f650018; }
.primary:hover { background:linear-gradient(160deg,#d6ff67,var(--lime) 52%,#9cea00); color:#101719; }
.sidebar nav a[aria-current=page] { background:linear-gradient(145deg,#c5ff29,var(--lime) 60%,#93e400); color:#101719; }
.mobile-nav { background:linear-gradient(180deg,#263132,#101719 58%,#080d0f); border-top-color:#80b800; }
.mobile-nav a[aria-current=page] { background:linear-gradient(145deg,#354433,#1a261c); color:var(--lime); box-shadow:inset 0 1px 0 #aaff0033; }
.app-wordmark { gap:.14em; letter-spacing:-.055em; }
.app-wordmark .app-symbol { border-radius:.26em; box-shadow:0 2px 7px #0003; }
.app-wordmark-type { display:inline-flex; position:relative; align-items:baseline; font-family:"Arial Black",Arial,Helvetica,sans-serif; font-weight:900; font-style:italic; line-height:1; padding-right:.09em; }
.app-wordmark .app-wordmark-initial { color:var(--lime); text-shadow:0 1px 0 #75bb00; }
.app-wordmark:not(.app-wordmark--compact) .app-wordmark-initial { background:linear-gradient(145deg,#c2ff00 10%,#a3ee00 60%,#69bd00); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.app-wordmark:not(.app-wordmark--compact) .app-wordmark-type::after { content:""; position:absolute; left:10%; right:2%; bottom:-.12em; height:.065em; border-radius:100% 70% 80% 20%; background:linear-gradient(90deg,#7ed000,var(--lime),#8bdc00); transform:rotate(-1deg); }
.wordmark .app-wordmark-type,.wordmark .app-wordmark-initial { background:none; margin:0; padding:0; border-radius:0; }
.wordmark .app-wordmark-type { display:inline-flex; padding-right:.09em; }
.app-wordmark--compact { gap:0; letter-spacing:-.035em; }
.document-body .document { background:#fff; }

/* One connected workspace: lime actions, white content, compact disclosure. */
body:not(.document-body) { background:var(--paper); }
body:not(.document-body) .panel { background:#fff; box-shadow:none; }
.workspace-section { margin:0 0 20px; padding:16px 0; border:0; border-top:1px solid var(--line); background:transparent; box-shadow:none; min-width:0; }
.workspace-section>summary { font-size:17px; font-weight:750; padding:8px 0; min-height:44px; cursor:pointer; }
.workspace-section>summary:hover { color:#385500; }
.workspace-section>summary+h2,.workspace-section>summary+.section-heading h2 { display:none; }
.workspace-section .panel,.quote-options-content .panel { background:transparent; box-shadow:none; border:0; border-radius:0; padding:12px 0; }
.workspace-section .list-row { padding:14px 0; }
.workspace-section .section-heading { padding:0 0 12px; }
.next-action { padding:18px 0 24px; border-bottom:1px solid var(--line); margin-bottom:10px; }
.next-action h2 { margin:5px 0 12px; font-size:24px; }
.source-review-item { border-top:1px solid var(--line); padding:16px 0; }
.job-scope { margin-top:16px; }
.job-scope summary { min-height:44px; padding:12px 0; font-weight:650; }
#job-overview { border:0; background:transparent; padding:0 0 20px; }

#continue-job { border:0; border-left:4px solid var(--lime); border-radius:0; box-shadow:none; }
body:not(.document-body) .saved-note { border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; padding:14px 0; }
#invoice-review { border:0; padding:0 0 20px; }
.quote-focus .quote-mobile-totals { display:none; }
.quote-focus .quote-review-flow { align-items:start; }
.quote-focus .sticky { position:static; }
.quote-focus #quote-approval { border:0; padding:16px 0; }
.quote-focus .quote-more-options { border:0; border-top:1px solid var(--line); border-radius:0; }
[id] { scroll-margin-top:20px; }
@media(max-width:760px) {
  .workspace-grid { display:block; }
  .workspace-section { margin-bottom:12px; }
  .page-heading { gap:12px; }
  .page-heading h1 { font-size:28px; }
  .topbar-right .tag { display:none; }
  .next-action .button { width:100%; }
  .quote-review-flow>div,.workspace-grid>div { min-width:0; }
  .document { min-width:0; }
  .document table { table-layout:fixed; width:100%; }
  .document td,.document th { overflow-wrap:anywhere; }
  .document th:nth-child(1),.document td:nth-child(1) { width:13%; }
  .document th:nth-child(2),.document td:nth-child(2) { width:14%; }
  .document th:nth-child(3),.document td:nth-child(3) { width:29%; }
  .document th:nth-child(4),.document td:nth-child(4) { width:13%; }
  .document th:nth-child(5),.document td:nth-child(5) { width:16%; }
  .document th:nth-child(6),.document td:nth-child(6) { width:15%; }
}
@media print { .document { background:#fff!important; } }

#site-notes,#job-materials { background:transparent; border:0; border-top:1px solid var(--line); border-radius:0; padding:16px 0; }

/* Owner-selected action treatment: consistent lime controls, including review. */
body .button,body button:not(.link),body .action-review {
  background:linear-gradient(160deg,#c8ff35 0%,var(--lime) 40%,#8ee000 100%);
  color:#101719; border:1px solid #9ae300;
}
body .action-review { display:inline-flex; align-items:center; justify-content:center; padding:10px 14px; border-radius:9px; min-height:44px; font-weight:650; text-decoration:none; }
body .review-action { flex:none; white-space:nowrap; }
body .button:hover,body button:not(.link):hover,body .action-review:hover { background:var(--lime); color:#101719; }
body button:disabled,body .button[aria-disabled="true"] { opacity:.5; cursor:not-allowed; }
@media(max-width:400px){ #attention .list-row { gap:10px; } #attention .list-row>div { min-width:0; } }

/* Private SMS document drafts remain readable on narrow phones. */
.sms-document-body { overflow-wrap: anywhere; word-break: break-word; }

/* One diary: phone cards never participate in the old narrow flex columns. */
.diary-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin-bottom:16px}
.diary-controls form{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin:0;min-width:0}
.diary-controls label{font-size:12px;margin:0;width:auto}
.diary-controls input[type=date]{width:155px;max-width:100%;margin:0}
.diary-dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:16px 0}
.diary-dates a{display:flex;flex-direction:column;text-align:center;padding:10px 2px;border-radius:10px;background:var(--white);color:var(--ink);text-decoration:none;min-width:0}
.diary-dates a[aria-current]{outline:2px solid var(--lime,#b6ff00)}
.diary-day{min-width:0;scroll-margin-top:90px;margin-bottom:16px}
.diary-day h2{font-size:16px;margin:10px 0}
.diary-card{display:block;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:16px;margin:10px 0;color:inherit;text-decoration:none;min-width:0;overflow-wrap:anywhere}
.diary-card h3{font-size:18px;margin:8px 0}.diary-card p{margin:6px 0}.diary-card .pill{white-space:normal;line-height:1.5}
.diary-review{padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.new-job-form fieldset{border:0;margin:0 0 18px;padding:0;min-width:0}.new-job-form legend{font-weight:700;margin-bottom:12px}
.new-job-form input,.new-job-form select,.new-job-form textarea{max-width:100%;box-sizing:border-box}
.new-job-form .actions{flex-wrap:wrap}.new-job-form [hidden]{display:none!important}
@media(min-width:1100px){.diary-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}

.new-job-form input,.new-job-form select,.new-job-form textarea,.new-job-form button{scroll-margin-bottom:120px}
.diary-day .empty.compact{padding:8px 12px;margin:0;font-size:13px}
/* Calendar busy periods remain distinct from actionable Jiblet job cards. */
.diary-busy{background:var(--surface,#f3f5f4);border-style:dashed;box-shadow:none}
.record-filter{overflow-wrap:anywhere}.record-filter a{font-weight:700}
#saved-drafts,#booked-quotes{scroll-margin-top:85px}#saved-drafts{margin-block:20px}

@media(max-width:700px){.quote-draft-card{display:block}.quote-draft-card .button{display:inline-flex;margin-top:10px;white-space:nowrap}}
