/* Project-led composition; Jnwecom identity, purpose-specific surfaces. */
:root {
  --bg: #f3f6f5;
  --forest: #105c49;
  --focus-ink: #f4fff9;
  --focus-muted: #c1ded2;
  --shadow-panel: 0 4px 18px rgba(27,54,42,.045);
}
html { scrollbar-color: #bacbc2 #f3f6f5; scrollbar-width: thin; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.brand-mark { background-image:none!important; box-shadow:none!important; }
.sidebar { padding:26px 16px 16px; }
.brand { gap:12px; padding:0 8px 24px; }
.brand strong { font-size:17px; font-weight:750; }
.brand small { margin-top:3px; }
.company-switch { margin:20px 0 22px; padding:12px 10px; background:#f7faf8; border-radius:10px; }
.nav-list { gap:7px; }
.nav-item { min-height:46px; border-radius:8px; }
.nav-item.active { background:#e2f1e9; color:#07563f; border-color:#d2e9dd; box-shadow:none; }
.nav-item.active .icon { color:#007859; }
.topbar { height:68px; }
.topbar .search-button { border-radius:8px; background:#f8faf9; }
.topbar .customer-preview { border-radius:8px; }
.page-body { max-width:1576px; margin:0 auto; padding:28px 32px 64px; }
.panel, .project-card, .material-detail { box-shadow:var(--shadow-panel); }
.btn { border-radius:8px; }
.btn-primary { background:#00795d; }
.btn-primary:hover { background:#005e47; box-shadow:0 3px 9px rgba(0,90,65,.12); }
.workbench-heading { align-items:center; margin-bottom:24px; }
.workbench-heading h1 { font-size:28px; letter-spacing:-.025em; margin:0 0 6px; }
.workbench-heading p { display:flex; align-items:center; gap:12px; margin:0; font-size:13px; }
.heading-divider { width:1px; height:12px; background:#b8c7bf; }
.overview-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; background:#fff; border:1px solid var(--line); border-radius:12px; margin-bottom:24px; overflow:hidden; box-shadow:var(--shadow-panel); }
.overview-metric { display:flex; flex-direction:column; text-align:left; padding:18px 22px; border-right:1px solid var(--line); min-width:0; background:transparent; transition:background .16s ease; }
.overview-metric:last-child { border-right:0; }
.overview-metric:hover { background:#f7fbf8; }
.metric-label { display:flex; justify-content:space-between; align-items:center; width:100%; color:var(--muted); font-size:13px; gap:8px; }
.metric-label .icon { width:18px; height:18px; color:#688376; }
.overview-metric>strong { font-size:29px; letter-spacing:-.025em; line-height:1.4; font-weight:700; color:var(--text); margin:8px 0 4px; font-variant-numeric:tabular-nums; }
.overview-metric strong small { color:var(--muted); font-size:12px; font-weight:400; letter-spacing:0; }
.metric-note { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:12px; line-height:1.6; }
.metric-note .icon { width:14px; height:14px; flex-basis:14px; }
.metric-warning { color:#a54331; }
.workbench-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr); gap:24px; align-items:stretch; }
.project-focus { display:flex; flex-direction:column; overflow:hidden; border-radius:14px; background:#fff; box-shadow:0 6px 20px rgba(19,65,46,.08); min-width:0; }
.focus-surface { flex:1; background:var(--forest); color:var(--focus-ink); padding:24px 26px; }
.focus-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:18px; }
.focus-heading h2 { font-size:17px; font-weight:600; margin:0; color:var(--focus-ink); }
.focus-status { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#e4f5eb; border:1px solid #528c75; border-radius:6px; padding:4px 8px; }
.focus-status .icon { width:14px; height:14px; flex-basis:14px; }
.focus-picker { display:block; }
.focus-picker select { width:100%; max-width:100%; min-height:44px; padding:4px 28px 4px 0; border:0; border-radius:4px; background:transparent; color:var(--focus-ink); font-size:22px; font-weight:650; line-height:1.5; box-shadow:none; cursor:pointer; color-scheme:dark; }
.focus-picker select option { background:#fff; color:var(--text); font-size:15px; }
.focus-picker select:focus-visible { outline-color:#a7dfc2; outline-offset:5px; }
.focus-address { display:flex; gap:6px; align-items:flex-start; margin:8px 0 20px; font-size:12px; line-height:1.7; color:var(--focus-muted); }
.focus-address .icon { width:15px; height:15px; flex-basis:15px; margin-top:3px; }
.focus-progress-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:12px; color:var(--focus-muted); }
.focus-progress-heading b { font-weight:600; margin-left:6px; color:var(--focus-ink); font-size:14px; }
.focus-progress { height:5px; margin:12px 0 18px; border-radius:3px; background:#3d8069; overflow:hidden; }
.focus-progress>span { display:block; height:100%; background:#a4e0be; border-radius:inherit; }
.focus-phases { display:flex; list-style:none; padding:0 0 4px; margin:0; overflow-x:auto; scrollbar-width:thin; scrollbar-color:#6da58c transparent; }
.focus-phases li { position:relative; display:flex; flex:1; flex-direction:column; align-items:center; gap:10px; min-width:55px; text-align:center; color:#c1ded2; }
.focus-phases li:not(:last-child)::after { content:''; position:absolute; left:calc(50% + 14px); top:12px; right:calc(-50% + 14px); height:1px; background:#57957b; }
.focus-phases li>span { display:grid; place-items:center; position:relative; z-index:1; width:25px; height:25px; font-size:12px; border:1px solid #6ba38d; border-radius:50%; font-variant-numeric:tabular-nums; }
.focus-phases li>span .icon { width:14px; height:14px; flex-basis:14px; }
.focus-phases li b { font-size:11px; font-weight:400; white-space:nowrap; }
.focus-phases .complete>span { color:#d7f7e5; border-color:#86b89f; }
.focus-phases .current>span { background:#d5f3dd; border-color:#d5f3dd; color:#164f3c; font-weight:750; }
.focus-phases .current b { color:#fff; font-weight:650; }
.focus-facts { display:flex; gap:36px; margin:18px 0 0; padding-top:16px; border-top:1px solid #3b7c64; }
.focus-facts div { min-width:0; }
.focus-facts dt { color:var(--focus-muted); font-size:11px; margin-bottom:4px; }
.focus-facts dd { margin:0; font-size:13px; font-weight:500; }
.focus-next { display:flex; align-items:center; gap:12px; padding:18px 24px; border:1px solid var(--line); border-top:0; border-radius:0 0 14px 14px; }
.next-node-icon { display:grid; place-items:center; width:40px; height:40px; flex:0 0 40px; background:#edf5ef; color:#426e56; border-radius:9px; }
.focus-next>div:nth-child(2) { display:flex; flex-direction:column; min-width:0; flex:1; }
.focus-next span { font-size:11px; color:var(--muted); }
.focus-next strong { font-size:14px; font-weight:600; margin:2px 0; }
.focus-next small { color:var(--muted); font-size:11px; }
.focus-next small.next-late { color:#a44932; }
.focus-next .text-button { white-space:nowrap; font-size:12px; }
.action-inbox { background:#fff; border:1px solid var(--line); border-radius:12px; padding:22px 22px 0; min-width:0; box-shadow:var(--shadow-panel); }
.inbox-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.inbox-heading h2 { font-size:18px; margin:0; }
.inbox-heading>span { font-size:11px; color:#55675e; background:#f0f4f1; border-radius:5px; padding:4px 8px; }
.inbox-description { margin:7px 0 18px; font-size:12px; color:var(--muted); }
.inbox-row { display:flex; align-items:center; width:100%; text-align:left; gap:10px; background:transparent; border:0; border-top:1px solid #edf0ee; padding:10px 0; min-height:66px; }
.inbox-row:hover { background:#f7faf8; }
.inbox-icon { width:32px; height:36px; display:grid; place-items:center; border-radius:7px; flex:0 0 32px; }
.inbox-icon .icon { width:17px; height:17px; }
.inbox-copy { display:flex; flex-direction:column; gap:4px; min-width:0; flex:1; }
.inbox-copy strong { font-size:13px; font-weight:600; }
.inbox-copy small { font-size:11px; color:var(--muted); line-height:1.6; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.inbox-count { font-size:12px; font-weight:600; color:#53685c; }
.count-red { color:#b1483d; }
.inbox-row>.icon { width:15px; height:15px; flex-basis:15px; color:#7b8f82; }
.inbox-more { border-top:1px solid var(--line); }
.inbox-more summary { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; font-size:12px; color:var(--primary2); cursor:pointer; list-style:none; }
.inbox-more summary::-webkit-details-marker { display:none; }
.inbox-more summary .icon { width:14px; height:14px; }
.inbox-more[open] summary .icon { transform:rotate(180deg); }
.inbox-empty { padding:48px 16px; text-align:center; color:var(--muted); }
.inbox-empty>.icon { width:32px; height:32px; color:var(--primary); }
.inbox-empty h3 { color:var(--text); font-size:15px; }
.workbench-bottom { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr); gap:24px; margin-top:24px; align-items:start; }
.task-agenda, .site-feed { padding:22px 24px; min-width:0; border-radius:12px; }
.workbench-bottom .panel-heading { align-items:center; gap:12px; margin-bottom:16px; }
.workbench-bottom h2 { margin:0; font-size:18px; }
.workbench-bottom .panel-heading p { margin:4px 0 0; color:var(--muted); font-size:12px; }
.workbench-bottom .text-button { font-size:12px; white-space:nowrap; }
.agenda-labels { display:flex; justify-content:space-between; padding:8px 0 8px 44px; border-bottom:1px solid var(--line); font-size:11px; color:var(--muted); }
.agenda-row { display:flex; align-items:center; gap:12px; padding:15px 0; border-bottom:1px solid #edf0ee; }
.agenda-row:last-child { border-bottom:0; }
.agenda-row .check { width:30px; height:30px; min-width:30px; min-height:30px; flex:0 0 30px; background:#fff; border-color:#cad9cf; }
.agenda-row .check:hover { border-color:var(--primary); background:#eff8f2; }
.agenda-row .check.checked { background:var(--primary); color:#fff; }
.agenda-row>div { min-width:0; flex:1; display:flex; flex-direction:column; gap:5px; }
.agenda-row strong { font-size:13px; font-weight:600; }
.agenda-row div>span { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:11px; }
.agenda-row i { width:1px; height:9px; background:#cad5ce; }
.agenda-row time { text-align:right; font-size:12px; color:var(--muted); flex-shrink:0; }
.agenda-row time small { display:block; margin-top:3px; font-size:10px; }
.agenda-row .agenda-late { color:#ac4b38; }
.site-entry { padding:0 0 18px; border-bottom:1px solid var(--line); margin-bottom:18px; }
.site-entry:last-child { margin:0; padding-bottom:0; border:0; }
.site-entry-meta { display:flex; align-items:center; gap:9px; }
.site-avatar { width:32px; height:32px; display:grid; place-items:center; border-radius:9px; color:#35634c; background:#ebf2ed; font-size:12px; }
.site-entry-meta>div { display:flex; flex-direction:column; gap:2px; }
.site-entry-meta strong { font-size:12px; font-weight:600; }
.site-entry-meta div>span { font-size:11px; color:var(--muted); }
.site-entry-meta time { margin-left:auto; font-size:11px; color:var(--muted); }
.site-entry h3 { font-size:14px; margin:14px 0 8px; line-height:1.6; }
.site-entry>p { font-size:12px; line-height:1.9; color:#4e6659; margin:0 0 12px; }
.site-published { display:inline-flex; align-items:center; gap:5px; font-size:11px; color:#40725b; }
.site-published .icon { width:13px; height:13px; flex-basis:13px; }
.site-entry .photo-strip img { height:100px; flex:1; max-width:160px; }
.mobile-nav .icon { width:21px; height:21px; }
@media (min-width:1600px) {
  .page-body { padding-top:36px; }
  .focus-surface { padding:28px 32px; }
  .focus-picker select { font-size:24px; }
  .focus-phases li { min-width:64px; }
  .inbox-row { min-height:77px; }
  .inbox-copy strong { font-size:14px; }
}
@media (max-width:1200px) {
  .workbench-grid { grid-template-columns:minmax(0,1fr); }
  .focus-heading { margin-bottom:16px; }
  .focus-phases li { min-width:54px; }
  .action-inbox { padding-bottom:0; }
  .inbox-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:24px; }
  .workbench-bottom { grid-template-columns:minmax(0,1fr); }
  .overview-metric { padding:16px; }
  .metric-label { font-size:12px; }
  .metric-label .icon { display:none; }
  .overview-metric>strong { font-size:26px; }
}
@media (min-width:761px) and (max-width:1000px) {
  .page-body { padding:24px 20px 48px; }
  .workbench-heading { flex-direction:row; flex-wrap:wrap; }
  .workbench-heading .dashboard-actions { width:auto; }
  .overview-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .overview-metric:nth-child(2) { border-right:0; }
  .overview-metric:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .inbox-list { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:760px) {
  .page-body { padding:24px 16px 108px; }
  .topbar { height:60px; }
  .workbench-heading { margin-bottom:20px; gap:18px; align-items:flex-start; }
  .workbench-heading h1 { font-size:25px; }
  .workbench-heading p { font-size:12px; gap:9px; }
  .workbench-heading .dashboard-actions { gap:10px; }
  .dashboard-actions .btn { min-height:46px; }
  .overview-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); margin-bottom:20px; }
  .overview-metric { padding:14px 16px; }
  .overview-metric:nth-child(2) { border-right:0; }
  .overview-metric:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .overview-metric>strong { font-size:25px; margin:5px 0 3px; }
  .metric-note { font-size:10px; min-height:16px; }
  .metric-label { font-size:12px; }
  .overview-metric strong small { font-size:10px; }
  .workbench-grid, .workbench-bottom { gap:20px; }
  .focus-surface { padding:20px; }
  .focus-heading { margin-bottom:14px; }
  .focus-heading h2 { font-size:16px; }
  .focus-picker select { font-size:18px; padding-right:20px; }
  .focus-address { margin-bottom:22px; font-size:11px; }
  .focus-progress-heading { font-size:11px; }
  .focus-progress-heading b { font-size:13px; }
  .focus-phases { margin:0 -4px; padding-bottom:10px; }
  .focus-phases li { min-width:57px; }
  .focus-facts { gap:24px; margin-top:16px; padding-top:16px; }
  .focus-facts dd { font-size:12px; }
  .focus-next { padding:16px; gap:10px; flex-wrap:wrap; }
  .next-node-icon { width:34px; height:38px; flex-basis:34px; }
  .focus-next .text-button { padding:0; gap:4px; font-size:11px; }
  .focus-next strong { font-size:13px; }
  .focus-next .text-button .icon { width:14px; height:14px; flex-basis:14px; }
  .action-inbox { padding:20px 18px 0; }
  .inbox-list { display:block; }
  .inbox-description { margin-bottom:12px; }
  .inbox-row { min-height:76px; gap:10px; }
  .inbox-copy strong { font-size:13px; }
  .inbox-copy small { font-size:11px; }
  .inbox-more summary { min-height:48px; }
  .workbench-bottom { margin-top:20px; }
  .task-agenda, .site-feed { padding:20px 18px; }
  .workbench-bottom h2 { font-size:17px; }
  .workbench-bottom .panel-heading p { font-size:11px; max-width:20ch; }
  .agenda-row .check { min-width:44px; min-height:44px; flex-basis:44px; }
  .agenda-labels { padding-left:56px; }
  .agenda-row { gap:10px; }
  .agenda-row strong { font-size:13px; }
  .mobile-nav { padding-top:7px; padding-bottom:calc(7px + env(safe-area-inset-bottom)); box-shadow:0 -4px 18px rgba(28,51,39,.04); }
  .mobile-nav button { min-height:52px; font-size:11px; border-radius:8px; background:transparent; color:#64766b; }
  .mobile-nav button.active { background:#e7f2eb; color:#076548; }
}
@media (prefers-reduced-motion:reduce) { .overview-metric { transition:none; } }

/* Client: a calm project journal with a direct route to confirmations. */
.customer-content { max-width:1280px; margin:0 auto; }
.customer-greeting h1 { line-height:1.4; margin-bottom:8px; }
.customer-greeting p { margin:0; color:var(--muted); font-size:13px; }
.customer-topbar { border-bottom:1px solid var(--line); }
.customer-nav button { border-radius:6px 6px 0 0; }
.client-progress-card { border:1px solid var(--line); background:#fff; border-radius:12px; overflow:hidden; box-shadow:var(--shadow-panel); }
.client-progress-main { background:var(--forest); color:var(--focus-ink); padding:26px 28px; }
.client-progress-title { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.client-progress-title h2 { color:inherit; margin:0; font-size:25px; font-weight:650; }
.client-progress-title>span { font-size:12px; color:#def4e7; border:1px solid #5c927b; border-radius:6px; padding:4px 8px; }
.client-progress-label { display:flex; align-items:center; justify-content:space-between; margin-top:28px; color:var(--focus-muted); font-size:12px; }
.client-progress-label strong { color:var(--focus-ink); font-size:20px; font-variant-numeric:tabular-nums; }
.client-progress-track { height:5px; border-radius:4px; background:#42846b; overflow:hidden; margin-top:12px; }
.client-progress-track span { display:block; height:100%; border-radius:inherit; background:#afe5c6; }
.client-delivery-date { display:flex; align-items:center; gap:12px; padding:18px 28px; }
.client-delivery-date>.icon { color:#52765e; }
.client-delivery-date>div { display:flex; align-items:center; gap:16px; }
.client-delivery-date div>span { color:var(--muted); font-size:12px; }
.client-delivery-date strong { font-size:14px; font-weight:600; }
.client-countdown { margin-left:auto; color:#557461; font-size:12px; }
.client-confirm-callout { display:flex; align-items:center; gap:12px; color:var(--text); text-decoration:none; border:1px solid #d7e7db; border-radius:10px; padding:16px 20px; background:#eaf3ed; margin-top:16px; }
.client-confirm-callout>span { flex:1; min-width:0; }
.client-confirm-callout strong { display:block; font-size:14px; font-weight:600; }
.client-confirm-callout small { display:block; font-size:12px; color:#536f5c; margin-top:4px; }
.client-confirm-callout>.icon { color:#236849; }
.client-confirm-callout:hover { border-color:#8fbba1; background:#e1eee5; }
#customer-confirmations { scroll-margin-top:20px; }
.customer-pending-row .pending-icon { display:grid; place-items:center; background:#edf5ee; color:#497a59; }
.customer-pending-row>span:last-child .icon { width:16px; height:16px; }
.customer-section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.customer-section-heading h2 { margin:0; }
.customer-group-tabs { border:1px solid var(--line); }
.customer-timeline, .customer-action-card { border-radius:12px; box-shadow:var(--shadow-panel); }
.customer-update h3 { font-size:16px; }
.customer-update-content>p { max-width:65ch; }
.customer-help-card { background:#edf3ee; border:1px solid #d9e6dc; border-radius:12px; }

/* Worker: one camera action, then the day's real tasks. */
.worker-content { max-width:1040px; padding-top:24px; }
.worker-capture-panel { background:var(--forest); border-radius:14px; padding:26px; color:var(--focus-ink); box-shadow:0 6px 20px rgba(19,65,46,.08); }
.worker-site-title { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.worker-site-title h1 { font-size:23px; line-height:1.5; margin:0; color:inherit; }
.worker-site-title>span { flex-shrink:0; font-size:12px; color:var(--focus-muted); }
.worker-capture-panel>p { display:flex; align-items:center; gap:7px; color:var(--focus-muted); font-size:12px; margin:8px 0 24px; }
.worker-capture-panel>p .icon { width:15px; height:15px; flex-basis:15px; }
.worker-camera-action { display:flex; align-items:center; width:100%; gap:16px; text-align:left; border:1px solid #ecfff3; background:#f0fbf3; color:#134f39; padding:20px; border-radius:10px; min-height:88px; }
.worker-camera-action:hover { background:#e1f5e7; }
.worker-camera-icon { display:grid; place-items:center; width:44px; height:44px; background:#d6efdf; border-radius:10px; }
.worker-camera-icon .icon { width:26px; height:26px; }
.worker-camera-action>span:nth-child(2) { flex:1; }
.worker-camera-action strong { display:block; font-size:20px; font-weight:700; }
.worker-camera-action small { display:block; margin-top:4px; color:#4f715e; font-size:12px; }
.worker-secondary-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
.worker-secondary-actions .btn { color:#eefbf3; background:transparent; border-color:#62947e; min-height:48px; font-size:13px; }
.worker-secondary-actions .btn:hover { background:#256e55; }
.worker-status-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); background:#fff; border:1px solid var(--line); border-radius:12px; padding:18px 0; margin:20px 0; }
.worker-status-strip>div { display:flex; align-items:center; justify-content:center; gap:10px; border-right:1px solid var(--line); }
.worker-status-strip>div:last-child { border:0; }
.worker-status-strip strong { font-size:25px; font-weight:650; font-variant-numeric:tabular-nums; }
.worker-status-strip span { font-size:12px; color:var(--muted); }
.worker-task-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px; }
.worker-task-heading h2 { font-size:18px; margin:0; }
.worker-task-heading>span { color:var(--muted); font-size:12px; }
.worker-task .btn { color:var(--primary2); font-size:12px; }
.worker-bottom button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; }
.worker-bottom .icon { width:20px; height:20px; }
@media (max-width:760px) {
  .customer-content { padding:24px 16px 36px; }
  .customer-topbar { gap:8px; }
  .customer-greeting { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
  .customer-greeting>div { flex:1; min-width:0; }
  .customer-greeting h1 { font-size:22px; }
  .customer-greeting p { font-size:12px; line-height:1.7; }
  .customer-greeting>a { font-size:11px; padding:8px 9px; min-height:44px; flex-shrink:0; }
  .customer-nav { gap:5px; background:#e8efea; padding:5px; margin-top:20px; }
  .customer-nav button { border-radius:7px; }
  .client-progress-main { padding:22px; }
  .client-progress-title h2 { font-size:23px; }
  .client-progress-label { margin-top:22px; }
  .client-delivery-date { padding:16px 20px; gap:10px; }
  .client-delivery-date>div { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
  .client-delivery-date strong { font-size:13px; }
  .client-delivery-date div>span { font-size:11px; }
  .client-countdown { font-size:11px; }
  .client-confirm-callout { padding:14px 16px; gap:10px; }
  .client-confirm-callout strong { font-size:13px; }
  .client-confirm-callout small { font-size:11px; }
  .customer-section-heading { flex-wrap:nowrap; }
  .customer-section-heading h2 { font-size:17px; }
  .customer-group-tabs button { padding:7px 11px; min-height:40px; font-size:12px; }
  .worker-content { padding:20px 16px 28px; }
  .worker-capture-panel { padding:20px; }
  .worker-site-title { display:block; }
  .worker-site-title h1 { font-size:20px; }
  .worker-site-title>span { display:block; margin-top:6px; font-size:11px; }
  .worker-capture-panel>p { margin:8px 0 20px; font-size:11px; }
  .worker-camera-action { padding:16px; gap:12px; }
  .worker-camera-action strong { font-size:19px; }
  .worker-camera-action small { font-size:10px; }
  .worker-secondary-actions { gap:8px; }
  .worker-secondary-actions .btn { font-size:12px; padding:8px; }
  .worker-secondary-actions .icon { width:16px; height:16px; flex-basis:16px; }
  .worker-status-strip { padding:14px 0; }
  .worker-status-strip>div { flex-direction:column; gap:2px; }
  .worker-status-strip strong { font-size:24px; }
  .worker-status-strip span { font-size:11px; }
  .worker-tasks { padding:20px 18px; }
  .worker-task-heading h2 { font-size:17px; }
  .worker-task strong { font-size:13px; }
  .worker-task>div>span { font-size:11px; }
  .worker-task .btn { padding:8px 10px; gap:4px; }
  .worker-bottom button { min-height:54px; font-size:11px; }
}
@media (max-width:390px) {
  .customer-topbar .customer-brand .brand-mark { display:grid; width:30px; height:30px; padding:4px; border-radius:8px!important; }
  .customer-topbar .customer-brand { gap:7px; }
  .customer-topbar .customer-brand>div>span { max-width:125px; font-size:10px; }
  .customer-top-actions { gap:6px; }
  .customer-top-actions .btn { font-size:11px; padding:7px 8px; }
}
/* Keep payment markers separate from copy and aligned across all states. */
.payment-list .payment-row { grid-template-columns:minmax(0,1.6fr) minmax(110px,.8fr) minmax(84px,.55fr) minmax(132px,.7fr); gap:20px; min-height:84px; padding:18px 24px; }
.payment-stage { min-width:0; gap:12px; }
.payment-stage .payment-index { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; margin:0; padding:0; line-height:1; font-family:inherit; font-size:11px; font-weight:600; font-variant-numeric:tabular-nums; text-align:center; }
.payment-stage .payment-index.done { color:var(--primary2); background:var(--teal-soft); }
.payment-stage .payment-index .icon { display:block; width:16px; height:16px; margin:0; flex:none; }
.payment-stage-copy { min-width:0; }
.payment-stage-copy strong { font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.payment-stage-copy>span, .payment-amount>span { font-size:11px; line-height:1.5; }
.payment-amount { text-align:right; font-variant-numeric:tabular-nums; }
.payment-amount strong { line-height:1.5; }
.payment-status { justify-self:center; }
.payment-status .badge { white-space:nowrap; }
.payment-action { min-width:0; margin-left:0; }
.payment-action .btn { min-height:44px; height:auto; white-space:nowrap; }
.payment-action>.muted { font-size:12px; line-height:1.5; }
@media (max-width:1000px) and (min-width:761px) {
 .payment-list .payment-row { grid-template-columns:minmax(0,1fr) minmax(94px,.6fr) 76px 108px; gap:12px; padding:18px; }
}
@media (max-width:760px) {
 .payment-list .list-heading { padding:18px; gap:12px; }
 .payment-list .payment-row { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"stage status" "amount action"; gap:14px 12px; padding:18px; }
 .payment-stage { grid-area:stage; gap:10px; }
 .payment-stage-copy strong { font-size:13px; }
 .payment-stage-copy>span { overflow-wrap:anywhere; }
 .payment-amount { grid-area:amount; text-align:left; padding-left:42px; }
 .payment-list .payment-row>.payment-status { grid-area:status; justify-self:end; }
 .payment-list .payment-row>.payment-action { grid-area:action; text-align:right; justify-self:end; }
}
