:root {
  color-scheme: light;
  --company-ink: #2d2926;
  --company-gold: #ffcc01;
  --company-cream: #f0eee9;
  --company-paper: #fff;
  --company-line: #2d2926;
  --company-muted: #625b54;
  --company-green: #216b4b;
  --company-red: #9d3024;
  --company-card-shadow: 4px 4px 0 var(--company-ink);
  --company-radius: 20px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--company-gold); }
body { margin: 0; min-width: 320px; color: var(--company-ink); background: var(--company-gold); font-family: var(--hustle-body-font, "DM Sans", Arial, sans-serif); }
button, input, select, textarea { font: inherit; }
button, select { touch-action: manipulation; }
button { color: inherit; }
a { color: inherit; }
.company-app { min-height: 100vh; }

.app-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 82px; padding: 12px clamp(16px, 3vw, 38px); background: var(--company-gold); border-bottom: 2px solid var(--company-ink); }
.brand-lockup { display: flex; align-items: center; gap: 13px; min-width: 0; text-decoration: none; }
.brand-lockup img { display: block; width: 48px; height: 48px; object-fit: contain; }
.brand-lockup span { display: grid; gap: 1px; }
.brand-lockup strong { font: 400 21px/1.1 var(--hustle-display-font, Georgia, serif); letter-spacing: .035em; }
.brand-lockup small { color: #4e4842; font-size: 12px; font-weight: 700; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.prototype-chip { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--company-ink); border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.45); font-size: 12px; font-weight: 800; white-space: nowrap; }
.prototype-chip span { width: 8px; height: 8px; border-radius: 50%; background: #9b6c00; box-shadow: 0 0 0 3px rgba(155,108,0,.15); }
.role-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.role-switch select { border: 2px solid var(--company-ink); border-radius: 11px; min-height: 42px; padding: 7px 28px 7px 11px; color: var(--company-ink); background: var(--company-paper); font-size: 13px; font-weight: 800; }

.prototype-notice { position: relative; display: flex; align-items: center; gap: 5px; padding: 11px clamp(16px, 3vw, 38px); padding-right: 48px; background: #fff7d5; border-bottom: 1px solid rgba(45,41,38,.35); color: #39332e; font-size: 12px; line-height: 1.5; }
.prototype-notice strong { flex: 0 0 auto; }
.notice-dismiss { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.notice-dismiss:hover { background: rgba(45,41,38,.08); }

.workspace { display: grid; grid-template-columns: 238px minmax(0,1fr); min-height: calc(100vh - 127px); }
.workspace.production-mode { grid-template-columns: minmax(0,1fr); }
.sidebar[hidden] { display: none !important; }
.sidebar { position: sticky; top: 82px; align-self: start; display: flex; flex-direction: column; height: calc(100vh - 127px); min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 22px 14px 16px; background: var(--company-cream); border-right: 2px solid var(--company-ink); }
.side-label { padding: 2px 11px 13px; color: var(--company-muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: grid; gap: 6px; }
.aux-nav-section { margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(45,41,38,.2); }
.aux-nav-section[hidden] { display: none !important; }
.nav-button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 46px; padding: 9px 11px; border: 1.5px solid transparent; border-radius: 13px; color: var(--company-ink); background: transparent; text-align: left; font-size: 13px; font-weight: 800; cursor: pointer; }
.nav-button:hover { background: rgba(255,204,1,.3); }
.nav-button[aria-current="page"] { border-color: var(--company-ink); background: var(--company-gold); box-shadow: 2px 2px 0 var(--company-ink); }
.nav-icon { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border: 1.5px solid currentColor; border-radius: 9px; font-size: 12px; font-weight: 900; }
.nav-count { margin-left: auto; color: var(--company-muted); font-size: 11px; }
.sidebar-foot { display: grid; gap: 12px; margin-top: auto; padding: 18px 6px 0; }
.sidebar-foot[hidden] { display: none; }
.portal-link { display: flex; align-items: center; gap: 10px; padding: 11px 9px; border: 1.5px solid var(--company-ink); border-radius: 14px; background: var(--company-paper); text-decoration: none; box-shadow: 2px 2px 0 var(--company-ink); }
.portal-symbol { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--company-gold); font-size: 17px; font-weight: 900; }
.portal-link span:last-child { display: grid; gap: 2px; min-width: 0; }
.portal-link strong { font-size: 11px; }
.portal-link small { color: var(--company-muted); font-size: 10px; line-height: 1.35; }
.reset-link { justify-self: start; padding: 5px 8px; border: 0; color: var(--company-muted); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.main-content { min-width: 0; padding: clamp(18px,3.2vw,42px); background: var(--company-gold); }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin: 0 0 24px; }
.page-head-copy { min-width: 0; }
.eyebrow { display: block; margin-bottom: 7px; color: #51473a; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.page-head h1 { margin: 0; font: 400 clamp(30px,4vw,43px)/1.08 var(--hustle-display-font, Georgia, serif); letter-spacing: .035em; overflow-wrap: anywhere; }
.page-head p { max-width: 760px; margin: 8px 0 0; color: #4f4943; font-size: 14px; line-height: 1.55; }
.page-head-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 15px; border: 2px solid var(--company-ink); border-radius: 13px; background: var(--company-paper); color: var(--company-ink); box-shadow: 2px 2px 0 var(--company-ink); font-size: 12px; line-height: 1.25; font-weight: 900; text-align: center; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--company-ink); }
.btn:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--company-ink); }
.btn-primary { background: var(--company-ink); color: var(--company-gold); }
.btn-gold { background: var(--company-gold); }
.btn-quiet { background: transparent; box-shadow: none; }
.btn-danger { color: var(--company-red); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.grid { display: grid; gap: 17px; }
.grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.stack { display: grid; gap: 17px; }
.card { min-width: 0; padding: 20px; border: 2px solid var(--company-ink); border-radius: var(--company-radius); background: var(--company-paper); box-shadow: var(--company-card-shadow); }
.card.compact { padding: 16px; }
.step-card { min-width: 0; padding: 18px; border: 1.5px solid rgba(45,41,38,.28); border-radius: 15px; background: #fffdf7; }
.step-card .eyebrow { margin-bottom: 8px; }
.step-card h3 { overflow-wrap: anywhere; }
.step-card p { margin: 9px 0 14px; color: var(--company-muted); font-size: 12px; line-height: 1.5; }
.step-card .btn { max-width: 100%; }
.ai-proposal-list { display: grid; gap: 14px; }
.ai-proposal { margin: 0; }
.ai-proposal textarea { min-height: 120px; }
.card h2,.card h3 { margin: 0; font-family: var(--hustle-display-font, Georgia,serif); font-weight: 400; letter-spacing: .025em; line-height: 1.16; }
.card h2 { font-size: 23px; }
.card h3 { font-size: 18px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.card-head p { margin: 5px 0 0; color: var(--company-muted); font-size: 12px; line-height: 1.45; }
.subtle { color: var(--company-muted); }
.small { font-size: 12px; line-height: 1.5; }
.tiny { font-size: 10px; line-height: 1.45; }
.mono { font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; padding: 6px 9px; border: 1px solid rgba(45,41,38,.25); border-radius: 999px; background: var(--company-cream); color: var(--company-ink); font-size: 10px; font-weight: 900; line-height: 1.2; }
.status::before { content: ""; display: block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #71695f; }
.status.good { background: #e4f3eb; color: #155c3e; }
.status.good::before { background: #28794f; }
.status.warn { background: #fff4cf; }
.status.warn::before { background: #9b6c00; }
.status.simulated { background: #f2edf7; color: #563974; }
.status.simulated::before { background: #7856a3; }
.status.danger { background: #faeae7; color: #8e2d23; }
.status.danger::before { background: #ad3a2d; }

.metric-card { display: grid; gap: 6px; min-height: 118px; align-content: start; }
.metric-card .metric-label { color: var(--company-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.metric-card strong { font: 400 33px/1 var(--hustle-display-font, Georgia,serif); letter-spacing: .025em; }
.metric-card small { color: var(--company-muted); font-size: 11px; line-height: 1.4; }

.pipeline { display: grid; grid-template-columns: repeat(8,minmax(88px,1fr)); gap: 7px; overflow-x: auto; padding: 4px 3px 7px; }
.pipeline-step { min-width: 88px; padding: 10px 8px; border: 1.5px solid var(--company-ink); border-radius: 12px; background: var(--company-cream); text-align: center; }
.pipeline-step strong { display: block; font: 400 21px/1 var(--hustle-display-font, Georgia,serif); }
.pipeline-step span { display: block; margin-top: 7px; color: var(--company-muted); font-size: 9px; line-height: 1.25; font-weight: 800; }
.pipeline-step.current { background: var(--company-gold); box-shadow: 2px 2px 0 var(--company-ink); }

.record-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 0; border-top: 1px solid rgba(45,41,38,.15); }
.record-row:first-child { border-top: 0; padding-top: 0; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1.5px solid var(--company-ink); border-radius: 14px; background: var(--company-gold); font-size: 12px; font-weight: 900; }
.record-main { min-width: 0; flex: 1; }
.record-main strong { display: block; overflow-wrap: anywhere; font-size: 13px; line-height: 1.35; }
.record-main small { display: block; margin-top: 3px; color: var(--company-muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.record-end { flex: 0 0 auto; text-align: right; }
.record-end strong { display: block; font-size: 12px; }

.quick-links { display: grid; gap: 8px; }
.quick-link { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 12px; align-items: center; width: 100%; padding: 11px 13px; border: 1.5px solid var(--company-ink); border-radius: 13px; background: var(--company-cream); color: var(--company-ink); text-align: left; cursor: pointer; }
.quick-link:hover { background: #fff3bf; }
.quick-link strong { font-size: 12px; line-height: 1.3; }
.quick-link span { color: var(--company-muted); font-size: 10px; line-height: 1.4; }
.quick-link b { grid-column: 2; grid-row: 1 / span 2; font-size: 18px; }

.table-wrap { width: 100%; overflow-x: auto; border: 1px solid rgba(45,41,38,.2); border-radius: 13px; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 12px; text-align: left; }
th,td { padding: 11px 12px; border-bottom: 1px solid rgba(45,41,38,.13); vertical-align: top; }
th { background: var(--company-cream); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td strong { display: block; line-height: 1.35; }
td small { display: block; margin-top: 3px; color: var(--company-muted); line-height: 1.35; }

.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 17px; }
.field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.field > label,.field-label { color: var(--company-ink); font-size: 11px; font-weight: 900; line-height: 1.4; }
.field .hint { color: var(--company-muted); font-size: 10px; line-height: 1.4; }
.field input,.field select,.field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--company-ink); border-radius: 11px; color: var(--company-ink); background: #fff; font-size: 13px; line-height: 1.4; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible { outline: 3px solid var(--company-gold); outline-offset: 2px; }
.field.full { grid-column: 1/-1; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.section-gap { margin-top: 18px; }
.divider { height: 1px; margin: 17px 0; background: rgba(45,41,38,.18); }
.empty-state { padding: 24px; border: 1.5px dashed rgba(45,41,38,.5); border-radius: 15px; color: var(--company-muted); text-align: center; font-size: 12px; line-height: 1.5; }
.callout { padding: 12px 14px; border-left: 4px solid var(--company-gold); border-radius: 7px 12px 12px 7px; background: #fff7d5; color: #403931; font-size: 11px; line-height: 1.5; }
.callout.critical { border-left-color: var(--company-red); background: #faeae7; }
.list-clean { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.list-clean li { display: flex; align-items: flex-start; gap: 9px; color: #39332e; font-size: 12px; line-height: 1.5; }
.check-mark { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 19px; border: 1.4px solid var(--company-ink); border-radius: 7px; background: var(--company-gold); font-size: 11px; font-weight: 900; }

.job-summary { display: grid; gap: 12px; }
.job-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.job-title-row h2 { margin: 0; font: 400 27px/1.12 var(--hustle-display-font, Georgia,serif); letter-spacing: .03em; }
.job-id { color: var(--company-muted); font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.job-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.fact { min-width: 0; padding: 11px; border: 1px solid rgba(45,41,38,.18); border-radius: 12px; background: #fffdf8; }
.fact span { display: block; color: var(--company-muted); font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.fact strong { display: block; margin-top: 5px; overflow-wrap: anywhere; font-size: 12px; line-height: 1.4; }
.progress-track { display: flex; gap: 4px; align-items: center; }
.progress-track i { display: block; height: 6px; flex: 1; border-radius: 99px; background: #ddd8cf; }
.progress-track i.done { background: var(--company-ink); }

.quote-result { display: grid; gap: 10px; padding: 16px; border: 1.5px solid var(--company-ink); border-radius: 15px; background: var(--company-cream); }
.quote-result strong { font-size: 12px; }
.quote-price { font: 400 33px/1 var(--hustle-display-font, Georgia,serif); letter-spacing: .025em; }
.price-detail { display: grid; grid-template-columns: 1fr auto; gap: 7px; color: #47413b; font-size: 11px; }
.price-detail strong { text-align: right; }
.muted-rule { padding-top: 8px; border-top: 1px solid rgba(45,41,38,.2); }
.money-callout { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.money-callout > div { min-width: 0; padding: 12px; border: 1.5px solid var(--company-ink); border-radius: 13px; background: #fff; }
.money-callout > div > span { display: block; color: var(--company-muted); font-size: 9px; font-weight: 900; line-height: 1.35; text-transform: uppercase; }
.money-callout strong { display: block; margin-top: 6px; font: 400 20px/1.1 var(--hustle-display-font, Georgia,serif); overflow-wrap: anywhere; }
.money-value { white-space: nowrap; font-variant-numeric: tabular-nums; }
.money-visual { white-space: nowrap; }
.currency-glyph { display: inline-block; font-family: "Superstar M54 Symbols", "Superstar", "DM Sans", Arial, sans-serif; font-size: .96em; font-weight: 400; letter-spacing: 0; }

.production-setup-gate { max-width: 760px; display: grid; justify-items: start; gap: 14px; padding: clamp(22px,4vw,40px); }
.production-setup-gate h2 { margin: 4px 0 0; font-size: clamp(25px,3vw,32px); }
.production-setup-gate p { max-width: 62ch; margin: 0; line-height: 1.6; }
.prototype-chip[hidden],.prototype-notice[hidden] { display: none !important; }

.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 10px; padding: 0 0 15px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: relative; display: grid; place-items: center; width: 15px; height: 15px; margin-top: 2px; border: 2px solid var(--company-ink); border-radius: 50%; background: #fff; }
.timeline-item:not(:last-child) .timeline-dot::after { content: ""; position: absolute; top: 13px; width: 2px; height: calc(100% + 4px); background: rgba(45,41,38,.25); }
.timeline-item.complete .timeline-dot { background: var(--company-gold); }
.timeline-copy strong { display: block; font-size: 12px; line-height: 1.35; }
.timeline-copy small { display: block; margin-top: 3px; color: var(--company-muted); font-size: 10px; line-height: 1.4; }

.chat-list { display: grid; gap: 9px; max-height: 270px; overflow: auto; padding-right: 3px; }
.chat-bubble { max-width: 92%; padding: 10px 12px; border: 1.3px solid var(--company-ink); border-radius: 13px 13px 13px 4px; background: var(--company-cream); }
.chat-bubble.mine { justify-self: end; border-radius: 13px 13px 4px 13px; background: #fff3bf; }
.chat-bubble strong { display: block; font-size: 10px; }
.chat-bubble p { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 11px; line-height: 1.45; }
.chat-bubble time { display: block; margin-top: 5px; color: var(--company-muted); font-size: 9px; }
.inline-form { display: flex; gap: 8px; margin-top: 12px; }
.inline-form input { flex: 1; min-width: 0; min-height: 44px; padding: 9px 11px; border: 1.5px solid var(--company-ink); border-radius: 11px; background: #fff; font-size: 12px; }

.module-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.module-card { display: grid; align-content: start; gap: 10px; padding: 15px; border: 1.5px solid var(--company-ink); border-radius: 16px; background: #fff; }
.module-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.module-card h3 { margin: 0; font: 400 16px/1.2 var(--hustle-display-font, Georgia,serif); }
.module-card p { margin: 0; color: var(--company-muted); font-size: 10px; line-height: 1.45; }
.module-card .module-scope { padding-top: 8px; border-top: 1px solid rgba(45,41,38,.15); color: #49423c; font-size: 10px; line-height: 1.45; }
.module-toggle { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 900; cursor: pointer; }
.module-toggle input { width: 17px; height: 17px; accent-color: var(--company-ink); }
.required-module { color: var(--company-red); cursor: default; }
.module-search { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: end; margin: 4px 0 19px; }
.module-search .field { max-width: 500px; }
.module-state-legend { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.module-state-legend .status { font-size: 9px; }
.module-group { margin-top: 24px; }
.module-group:first-of-type { margin-top: 0; }
.module-group > h3 { margin: 0 0 11px; font: 400 23px/1.15 var(--hustle-display-font, Georgia,serif); letter-spacing: .03em; }
.module-card[hidden],.module-group[hidden] { display: none !important; }
.module-card[data-excluded="true"] { background: #f6f3ee; }
.setup-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.setup-list li { padding: 10px 12px; border-left: 3px solid var(--company-gold); border-radius: 5px 11px 11px 5px; background: #fffdf7; color: #49423c; font-size: 12px; line-height: 1.5; }
.setup-list li strong { color: var(--company-ink); }
.setup-list.two-column { grid-template-columns: repeat(2,minmax(0,1fr)); }
.settings-disclosure { padding: 0; overflow: clip; }
.settings-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 16px 19px; list-style: none; cursor: pointer; }
.settings-disclosure > summary::-webkit-details-marker { display: none; }
.settings-disclosure > summary > span:first-child { display: grid; gap: 4px; min-width: 0; }
.settings-disclosure > summary strong { font-family: var(--hustle-display-font,Georgia,serif); font-size: 19px; font-weight: 400; letter-spacing: .02em; }
.settings-disclosure > summary small { color: var(--company-muted); font-size: 11px; line-height: 1.4; }
.settings-disclosure > summary::after { content: "+"; margin-left: 2px; font-size: 20px; font-weight: 700; }
.settings-disclosure[open] > summary::after { content: "−"; }
.settings-disclosure[open] > summary { border-bottom: 1px solid rgba(45,41,38,.18); }
.settings-disclosure-body { padding: 18px 19px 20px; }
.settings-disclosure-body > :first-child { margin-top: 0; }
.source-links { color: var(--company-muted); }
.source-links a { color: var(--company-ink); font-weight: 800; text-underline-offset: 3px; }
.required-note .check-mark { background: #f5d4cc; }

.csv-import-card { margin-top: 18px; }
.csv-upload-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.csv-file-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.csv-upload-row label:focus-within { outline: 3px solid var(--company-gold); outline-offset: 4px; }
.import-note { margin: 10px 0 0; }
.import-file-name { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 14px; padding: 10px 12px; border: 1.5px solid var(--company-ink); border-radius: 12px; background: var(--company-cream); font-size: 11px; overflow-wrap: anywhere; }
.import-file-name span { flex: 0 0 auto; color: var(--company-muted); }
.import-mapping { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 17px; }
.import-mapping .field select { min-height: 42px; font-size: 12px; }
.import-preview { padding-top: 15px; border-top: 1.5px solid rgba(45,41,38,.2); }
.import-preview-head h3,.import-history h3 { margin: 0; font: 400 19px/1.2 var(--hustle-display-font, Georgia,serif); letter-spacing: .025em; }
.import-preview-head p { margin: 5px 0 0; }
.import-preview-list { display: grid; gap: 10px; max-height: 580px; overflow: auto; padding: 3px 4px 5px 2px; }
.import-preview-row { display: grid; gap: 8px; min-width: 0; padding: 12px; border: 1.5px solid var(--company-ink); border-radius: 13px; background: #fff; }
.import-preview-row.has-error { border-color: var(--company-red); background: #fff9f8; }
.import-row-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.import-row-heading > div { display: grid; gap: 4px; min-width: 0; }
.import-row-heading strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.4; }
.import-row-heading small { color: var(--company-muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.import-row-number { color: var(--company-muted); font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.import-row-heading .status { flex: 0 0 auto; }
.import-match-note { margin: 0; overflow-wrap: anywhere; }
.import-diff { display: grid; gap: 4px; padding: 8px 10px; margin: 0; border-left: 3px solid var(--company-gold); border-radius: 6px 10px 10px 6px; background: #fff7d5; list-style: none; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.import-row-action { display: grid; grid-template-columns: minmax(90px,.45fr) minmax(160px,1fr); gap: 9px; align-items: center; }
.import-row-action label { font-size: 10px; font-weight: 900; }
.import-row-action select { min-width: 0; min-height: 40px; padding: 8px 10px; border: 1.5px solid var(--company-ink); border-radius: 10px; color: var(--company-ink); background: #fff; font-size: 11px; }
.import-history { display: grid; gap: 8px; }
.import-history-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(45,41,38,.15); }
.import-history-row > div { display: grid; gap: 3px; min-width: 0; }
.import-history-row strong { overflow-wrap: anywhere; font-size: 11px; }
.import-history-row small { color: var(--company-muted); font-size: 9px; line-height: 1.4; }
.import-history-row .btn { flex: 0 0 auto; min-height: 36px; padding: 7px 10px; font-size: 10px; }
.import-preview .button-row .btn { min-width: 150px; }

.customer-hero { padding: 18px; border: 2px solid var(--company-ink); border-radius: 18px; background: var(--company-cream); }
.customer-hero .customer-status { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.customer-hero h2 { margin: 12px 0 6px; font: 400 26px/1.12 var(--hustle-display-font, Georgia,serif); }
.photo-placeholder { display: grid; place-items: center; min-height: 110px; padding: 14px; border: 1.5px dashed #71695f; border-radius: 13px; color: var(--company-muted); background: #fffdf8; text-align: center; font-size: 10px; line-height: 1.4; }

.loading-state { display: flex; align-items: center; gap: 10px; padding: 24px; border: 2px solid var(--company-ink); border-radius: 18px; background: #fff; font-size: 13px; }
.loader-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--company-gold); }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 50; max-width: min(440px,calc(100vw - 36px)); padding: 12px 15px; border: 2px solid var(--company-ink); border-radius: 13px; background: var(--company-ink); color: #fff; box-shadow: 3px 3px 0 var(--company-gold); font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .16s ease,transform .16s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workspace { grid-template-columns: 210px minmax(0,1fr); }
}
@media (max-width: 760px) {
  .app-header { position: relative; flex-wrap: wrap; min-height: auto; padding: 10px 14px; }
  .brand-lockup img { width: 42px; height: 42px; }
  .brand-lockup strong { font-size: 18px; }
  .header-tools { width: 100%; justify-content: space-between; gap: 8px; }
  .prototype-chip { padding: 7px 9px; font-size: 10px; }
  .role-switch { font-size: 10px; }
  .role-switch select { min-height: 38px; }
  .prototype-notice { align-items: flex-start; padding: 10px 44px 10px 14px; font-size: 10px; }
  .prototype-notice strong { margin-right: 1px; }
  .workspace { display: block; min-height: calc(100vh - 150px); }
  .sidebar { position: sticky; top: 0; z-index: 15; height: auto; min-height: auto; max-height: none; overflow: visible; padding: 9px 9px 8px; border-right: 0; border-bottom: 2px solid var(--company-ink); }
  .side-label,.sidebar-foot { display: none; }
  .primary-nav { display: flex; gap: 6px; overflow-x: auto; padding: 2px 1px 5px; scrollbar-width: thin; }
  .aux-nav-section { margin-top: 4px; padding-top: 4px; border-top: 0; }
  .aux-nav-section .primary-nav { overflow: visible; padding: 0 1px 2px; }
  .settings-disclosure > summary { min-height: 58px; padding: 13px 14px; }
  .settings-disclosure-body { padding: 14px; }
  .setup-list.two-column { grid-template-columns: 1fr; }
  .nav-button { flex: 0 0 auto; width: auto; min-height: 40px; padding: 7px 10px; gap: 7px; border-color: rgba(45,41,38,.2); font-size: 11px; white-space: nowrap; }
  .nav-icon { width: 22px; height: 22px; flex-basis: 22px; border-radius: 7px; font-size: 10px; }
  .nav-count { display: none; }
  .main-content { padding: 19px 14px 28px; }
  .page-head { display: grid; gap: 13px; margin-bottom: 18px; }
  .page-head h1 { font-size: 32px; }
  .page-head p { margin-top: 6px; font-size: 12px; }
  .page-head-actions { justify-content: flex-start; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; gap: 13px; }
  .card { padding: 16px; border-radius: 17px; box-shadow: 3px 3px 0 var(--company-ink); }
  .card.compact { padding: 14px; }
  .card h2 { font-size: 21px; }
  .card-head { margin-bottom: 12px; }
  .metric-card { min-height: auto; }
  .metric-card strong { font-size: 29px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .field.full { grid-column: auto; }
  .money-callout { grid-template-columns: 1fr; }
  .money-callout > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .money-callout strong { margin-top: 0; text-align: right; }
  .module-grid { grid-template-columns: 1fr; }
  .module-search { grid-template-columns: 1fr; align-items: start; }
  .module-search .field { max-width: none; }
  .module-state-legend { justify-content: flex-start; }
  .job-title-row { display: grid; }
  .job-facts { grid-template-columns: 1fr 1fr; }
  .button-row .btn { flex: 1 1 140px; }
  .inline-form { align-items: stretch; }
  .inline-form .btn { flex: 0 0 auto; }
  .pipeline { grid-template-columns: repeat(8,86px); }
  .table-wrap { margin-right: -2px; }
  table { min-width: 560px; }
  .import-mapping { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .import-row-heading { display: grid; }
  .import-row-heading .status { justify-self: start; }
  .import-row-action { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 380px) {
  .main-content { padding-right: 11px; padding-left: 11px; }
  .brand-lockup strong { font-size: 16px; }
  .brand-lockup small { font-size: 10px; }
  .prototype-chip { font-size: 9px; }
  .role-switch { gap: 5px; font-size: 9px; }
  .role-switch select { min-height: 36px; padding-left: 8px; font-size: 11px; }
  .nav-button { min-height: 38px; padding: 6px 8px; font-size: 10px; }
  .page-head h1 { font-size: 29px; }
  .card { padding: 14px; }
  .job-facts { grid-template-columns: 1fr; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button-row .btn { width: 100%; }
  .import-mapping { grid-template-columns: 1fr; }
  .import-file-name { display: grid; gap: 4px; }
  .import-file-name span { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .app-header,.prototype-notice,.sidebar,.page-head-actions,.toast { display: none !important; }
  body,.main-content,.workspace { background: #fff !important; }
  .workspace { display: block; }
  .main-content { padding: 0; }
  .card { box-shadow: none; break-inside: avoid; }
}

/* Server-calculated estimate drafting and manager roster editing */
.production-live .production-estimate-details { width: min(100%, 320px); }
.production-live .production-estimate-details[open] { width: min(100%, 700px); }
.production-live .production-estimate-panel { display: grid; gap: 16px; min-width: 0; padding: 14px; border: 1.5px solid var(--company-ink); border-radius: 14px; background: #fffdf8; }
.production-live .production-estimate-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; min-width: 0; }
.production-live .estimate-input-fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; grid-column: 1/-1; min-width: 0; margin: 0; padding: 14px; border: 1px solid rgba(45,41,38,.24); border-radius: 12px; }
.production-live .estimate-input-fieldset legend { padding-inline: 6px; font-weight: 900; }
.production-live .estimate-input-fieldset > p,.production-live .estimate-input-fieldset > h3 { grid-column: 1/-1; margin: 0; }
.production-live .estimate-input-fieldset > .field { min-width: 0; }
.production-live .estimate-input-fieldset input,.production-live .estimate-input-fieldset select { width: 100%; min-width: 0; }
.production-live .estimate-input-fieldset:disabled { opacity: .72; }
.production-live .estimate-option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; min-width: 0; }
.production-live .estimate-option-card { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 13px; border: 1.5px solid var(--company-ink); border-radius: 12px; background: #fff; overflow-wrap: anywhere; }
.production-live .estimate-option-card:has(input:checked) { background: #fff6d2; box-shadow: 3px 3px 0 var(--company-ink); }
.production-live .estimate-option-select { display: flex; align-items: center; gap: 8px; min-width: 0; }
.production-live .estimate-option-select input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--company-ink); }
.production-live .estimate-option-title { font-weight: 900; }
.production-live .estimate-option-total { font-size: 21px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.production-live .estimate-price-breakdown { display: grid; gap: 3px; padding-top: 7px; border-top: 1px solid rgba(45,41,38,.18); font-size: 11px; line-height: 1.4; }
.production-live .estimate-history { display: grid; gap: 7px; }
.production-live .estimate-history h4,.production-live .estimate-results h4 { margin: 0; }
.production-live .estimate-history-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 10px; padding: 9px 0; border-bottom: 1px solid rgba(45,41,38,.14); }
.production-live .estimate-history-row small { grid-column: 1/-1; color: var(--company-muted); }
.production-live .roster-profile-editor { width: 100%; max-width: 240px; }
.production-live .roster-profile-editor > summary { min-height: 36px; padding: 7px 10px; border: 1px solid var(--company-ink); border-radius: 999px; background: #fff7d5; font-size: 10px; font-weight: 900; cursor: pointer; }
.production-live .roster-profile-editor form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; width: min(100%,520px); margin-top: 8px; padding: 12px; border: 1.5px solid var(--company-ink); border-radius: 12px; background: #fffdf8; }
.production-live .roster-profile-editor form .field { min-width: 0; }
.production-live .roster-profile-editor input { width: 100%; min-width: 0; }
.production-live .production-roster-card { flex-wrap: wrap; }
.production-live .production-roster-card > .roster-profile-editor { flex: 1 1 100%; }
@media (max-width: 640px) {
  .production-live .production-estimate-form,.production-live .estimate-input-fieldset,.production-live .estimate-option-grid { grid-template-columns: minmax(0,1fr); }
  .production-live .estimate-input-fieldset > p,.production-live .estimate-input-fieldset > h3 { grid-column: auto; }
  .production-live .production-estimate-panel { padding: 10px; }
  .production-live .production-estimate-details,.production-live .production-estimate-details[open] { width: 100%; }
  .production-live .roster-profile-editor form { grid-template-columns: minmax(0,1fr); }
}

/* Crew roster and availability editor */
.demo-controls-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }
.demo-controls-grid .field { padding: 15px; border: 1.5px solid rgba(45,41,38,.18); border-radius: 14px; background: #fffdf8; }
.roster-tools { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(190px,.75fr); gap: 13px; margin-bottom: 16px; }
.roster-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.roster-card { display: grid; gap: 13px; min-width: 0; padding: 14px; border: 1.5px solid var(--company-ink); border-radius: 17px; background: #fff; }
.roster-card[hidden] { display: none !important; }
.roster-card-top { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.roster-photo { display: grid; align-content: center; justify-items: center; gap: 5px; width: 82px; height: 96px; flex: 0 0 82px; border: 1.5px solid var(--company-ink); border-radius: 13px; background: linear-gradient(145deg,#ffe37c,#fff7d5); color: var(--company-ink); }
.roster-photo span { font: 400 27px/1 var(--hustle-display-font,Georgia,serif); letter-spacing: .025em; }
.roster-photo small { color: #5f574c; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.roster-identity { display: grid; align-content: start; gap: 4px; min-width: 0; }
.roster-role { width: fit-content; padding: 4px 7px; border: 1px solid rgba(45,41,38,.2); border-radius: 999px; background: var(--company-cream); color: var(--company-muted); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.roster-identity h3 { margin: 1px 0 0; font: 400 18px/1.15 var(--hustle-display-font,Georgia,serif); letter-spacing: .02em; overflow-wrap: anywhere; }
.roster-identity p,.roster-identity small { margin: 0; color: var(--company-muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.roster-card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(45,41,38,.15); }
.roster-card-bottom .btn { min-height: 38px; padding: 7px 10px; font-size: 10px; }
.roster-empty { margin-top: 12px; }
.availability-week-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.availability-exception-times[hidden] { display: none !important; }
.availability-day { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; min-width: 0; padding: 10px; border: 1px solid rgba(45,41,38,.17); border-radius: 12px; background: #fffdf8; }
.availability-day-name { display: flex; align-items: center; gap: 7px; grid-column: 1/-1; font-size: 11px; font-weight: 900; }
.availability-day-name input { width: 18px; height: 18px; accent-color: var(--company-ink); }
.availability-day input[type="time"] { width: 100%; min-width: 0; min-height: 40px; padding: 7px; border: 1px solid rgba(45,41,38,.28); border-radius: 9px; background: #fff; color: var(--company-ink); font: 700 11px/1.2 var(--hustle-body-font); }
.availability-day input:disabled { opacity: .48; }
.availability-exception-list { display: grid; gap: 7px; padding: 0; margin: 10px 0 0; list-style: none; }
.availability-exception-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(45,41,38,.14); }
.availability-exception-list li > div { display: grid; gap: 3px; min-width: 0; }
.availability-exception-list strong { font-size: 11px; line-height: 1.4; }
.availability-exception-list small { color: var(--company-muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.availability-review { display: grid; gap: 8px; margin-top: 15px; padding: 13px; border: 1.5px solid #28794f; border-radius: 14px; background: #f2faf5; }
.availability-review.has-conflicts { border-color: var(--company-red); background: #fff6f3; }
.availability-review.needs-review { border-color: #9b6c00; background: #fff9e7; }
.availability-review-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.availability-review-head > strong { font-size: 12px; }
.availability-review p { margin: 0; color: var(--company-muted); font-size: 10px; line-height: 1.45; }
.availability-review ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; font-size: 10px; line-height: 1.45; }
.availability-review .btn { justify-self: start; min-height: 38px; box-shadow: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 1020px) { .roster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .demo-controls-grid,.roster-tools { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .roster-grid { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .availability-week-grid { grid-template-columns: 1fr; }.roster-card { padding: 12px; }.roster-photo { width: 72px; height: 88px; flex-basis: 72px; } }

/* Safe contact, navigation, referral and installation conveniences */
.contact-phone { color:inherit; font-weight:800; text-underline-offset:2px; }
.map-handoff-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.map-handoff { display:grid; gap:9px; min-width:0; padding:13px; border:1.5px solid rgba(45,41,38,.2); border-radius:13px; background:#fffdf8; }
.map-handoff .button-row { flex-wrap:wrap; }
.map-handoff .btn { min-height:40px; }
.offline-notice { padding:11px clamp(16px,3vw,38px); border-bottom:2px solid var(--company-ink); background:#fff2bf; color:var(--company-ink); font-size:12px; font-weight:800; line-height:1.5; }
.offline-notice[hidden] { display:none !important; }
.install-card > p { margin:8px 0; color:#4f4943; line-height:1.55; }
.referral-card { overflow:visible; }
.referral-layout { display:grid; grid-template-columns:minmax(180px,230px) minmax(0,1fr); gap:24px; align-items:center; }
.referral-qr { display:grid; place-items:center; min-width:0; padding:12px; border:1.5px solid var(--company-ink); border-radius:14px; background:#fff; }
.referral-qr svg { display:block; width:min(100%,220px); height:auto; image-rendering:pixelated; }
.referral-link-details { display:grid; gap:12px; min-width:0; }
.referral-url { display:block; padding:11px; border:1px solid rgba(45,41,38,.25); border-radius:10px; background:#fffdf8; font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
.referral-link-details .button-row { flex-wrap:wrap; }
@media(max-width:640px) { .map-handoff-grid,.referral-layout { grid-template-columns:1fr; }.referral-qr { justify-self:center; width:min(100%,260px); }.referral-link-details .button-row { display:grid; grid-template-columns:1fr; }.referral-link-details .btn { width:100%; } }

/* Authenticated, membership-scoped company messaging */
.production-live .message-audiences { margin: 0 0 16px; }
.production-live .messages-layout { display: grid; grid-template-columns: minmax(220px,.72fr) minmax(0,1.28fr); gap: 15px; align-items: stretch; }
.production-live .message-inbox,.production-live .message-panel { min-width: 0; display: grid; align-content: start; gap: 14px; }
.production-live .message-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.production-live .message-card-head h2 { min-width: 0; margin: 0; }
.production-live .message-thread-list { display: grid; gap: 8px; max-height: 520px; overflow: auto; padding: 2px 4px 4px 2px; }
.production-live .message-thread { display: grid; gap: 5px; min-width: 0; min-height: 58px; padding: 11px 12px; border: 1.5px solid var(--company-ink); border-radius: 12px; background: #fff; color: var(--company-ink); text-align: left; cursor: pointer; }
.production-live .message-thread:hover,.production-live .message-thread.is-active { background: #fff5c8; box-shadow: 2px 2px 0 var(--company-ink); }
.production-live .message-thread strong,.production-live .message-thread small { overflow-wrap: anywhere; }
.production-live .message-thread strong { font-size: 12px; line-height: 1.35; }
.production-live .message-thread small { color: var(--company-muted); font-size: 10px; }
.production-live .message-panel { grid-template-rows: auto minmax(170px,1fr) auto; }
.production-live .message-panel .chat-list { max-height: 480px; min-height: 170px; padding: 4px 3px; }
.production-live .chat-bubble { min-width: 0; }
.production-live .chat-bubble .message-ack { min-height: 34px; margin-top: 8px; padding: 6px 9px; font-size: 10px; }
.production-live .message-ack.is-acknowledged { cursor: default; opacity: .7; }
.production-live .message-composer { display: grid; justify-items: start; gap: 10px; padding-top: 13px; border-top: 1px solid rgba(45,41,38,.18); }
.production-live .message-composer textarea { width: 100%; min-height: 76px; max-height: 220px; resize: vertical; padding: 11px 12px; border: 1.5px solid var(--company-ink); border-radius: 12px; color: var(--company-ink); background: #fff; font: 500 13px/1.5 var(--hustle-body-font,Arial,sans-serif); }
.production-live .message-announcement { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; }
.production-live .message-announcement input { width: 17px; height: 17px; accent-color: var(--company-ink); }
.production-live .message-start-list { display: flex; flex-wrap: wrap; gap: 9px; align-items: end; }
.production-live .message-start-form { display: flex; flex-wrap: wrap; gap: 9px; align-items: end; min-width: min(100%,320px); }
.production-live .message-start-form .field { flex: 1 1 200px; min-width: 0; }
.production-live .message-start-form select { min-height: 42px; }
.production-live .message-error { margin: 0 0 14px; }
@media (max-width: 760px) {
  .production-live .messages-layout { grid-template-columns: 1fr; gap: 12px; }
  .production-live .message-thread-list { grid-template-columns: repeat(2,minmax(0,1fr)); max-height: 260px; }
  .production-live .message-panel { min-height: 300px; }
}
@media (max-width: 430px) {
  .production-live .message-thread-list { grid-template-columns: 1fr; max-height: 220px; }
  .production-live .message-audiences { display: grid; grid-template-columns: 1fr 1fr; }
  .production-live .message-audiences .btn { min-width: 0; padding-inline: 8px; font-size: 10px; }
  .production-live .message-start-form { display: grid; width: 100%; }
  .production-live .message-start-form .btn { width: 100%; }
}

/* Authenticated company workspace */
.production-live .workspace { align-items: stretch; }
.production-live .production-setup-gate,.production-live .auth-card { max-width: 720px; margin-inline: auto; }
.production-live .auth-page-head { max-width: 720px; margin-inline: auto; }
.production-live.auth-mode .app-header { justify-content: center; padding-inline: clamp(18px,3.2vw,42px); }
.production-live.auth-mode .brand-lockup { width: min(720px,100%); margin-inline: auto; }
.production-live.auth-mode .header-tools { display: none; }
.production-live .auth-card { display: grid; gap: 15px; padding: clamp(22px,4vw,38px); }
.production-live .auth-card h2 { margin: 0; }
.production-live .auth-card > p { margin: 0; max-width: 62ch; color: var(--company-muted); line-height: 1.55; }
.production-live .auth-form { display: grid; gap: 14px; }
.production-live .auth-form .btn { justify-self: start; min-width: 180px; }
.production-live .auth-form .btn-auth-submit { color: var(--company-ink); background: var(--company-gold); box-shadow: 2px 2px 0 var(--company-ink); transition: background-color .14s ease, color .14s ease, box-shadow .14s ease, transform .14s ease; }
.production-live .auth-form .btn-auth-submit:hover:not(:disabled) { color: var(--company-ink); background: var(--company-gold); box-shadow: 3px 3px 0 var(--company-ink); }
.production-live .auth-form .btn-auth-submit:active:not(:disabled) { color: var(--company-paper); background: var(--company-ink); box-shadow: 1px 1px 0 var(--company-gold); transform: translate(1px, 1px); }
.production-live .auth-form .btn-auth-submit:focus-visible { outline: 3px solid var(--company-ink); outline-offset: 3px; }
.production-live .auth-form .btn-auth-submit:disabled { color: var(--company-ink); background: #f2df99; box-shadow: 2px 2px 0 var(--company-ink); cursor: not-allowed; }
.production-live .auth-secondary { margin-top: 0; }
.production-live .auth-footnote { padding-top: 12px; border-top: 1px solid rgba(45,41,38,.16); }
.production-live .production-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.production-live .production-user { max-width: 240px; color: var(--company-ink); font-size: 11px; font-weight: 800; overflow-wrap: anywhere; }
.production-live .production-scope-list { display: grid; gap: 9px; }
.production-live .production-scope-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 68px; padding: 13px 15px; border: 1.5px solid var(--company-ink); border-radius: 13px; color: var(--company-ink); background: #fff; text-align: left; cursor: pointer; }
.production-live .production-scope-option:hover { background: #fff8d6; }
.production-live .production-scope-option > span { display: grid; gap: 4px; min-width: 0; }
.production-live .production-scope-option small { color: var(--company-muted); }
.production-live .production-scope-option b { font-size: 22px; }
.production-live .production-metric-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.production-live .production-metric { display: grid; gap: 6px; min-width: 0; }
.production-live .production-metric > span { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.production-live .production-metric > strong { font: 400 clamp(30px,5vw,42px)/1 var(--hustle-display-font,Georgia,serif); font-variant-numeric: tabular-nums; }
.production-live .production-metric > small { color: var(--company-muted); line-height: 1.4; }
.production-live .production-content-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.production-live .production-content-grid > .card { min-width: 0; }
.production-live .production-quick-actions { margin-top: 18px; }
.production-live .production-calendar-note { margin: 0 0 12px; }
.production-live .calendar-toolbar { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; margin: 18px 0 12px; }
.production-live .calendar-toolbar-group,.production-live .calendar-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.production-live .calendar-toolbar-group .btn,.production-live .calendar-filter-row .btn { min-height: 39px; padding: 8px 11px; }
.production-live .calendar-nav-button { min-width: 40px; padding: 7px; font-size: 19px; }
.production-live .calendar-current-title { min-width: 0; margin: 0; text-align: center; font: 400 clamp(20px,2.5vw,28px)/1.1 var(--hustle-display-font,Georgia,serif); overflow-wrap: anywhere; }
.production-live .calendar-filter-row { margin: 12px 0; }
.production-live .calendar-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 12px 0; }
.production-live .calendar-legend-item { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border: 1px solid var(--company-ink); border-radius: 999px; font-size: 10px; line-height: 1.2; font-weight: 900; }
.production-live .calendar-grid-wrap { min-width: 0; margin: 12px 0 18px; padding: 4px; border: 2px solid var(--company-ink); border-radius: 17px; background: #fff; box-shadow: 3px 3px 0 var(--company-ink); }
.production-live .calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); min-width: 0; }
.production-live .calendar-weekday { display: grid; place-items: center; min-height: 36px; border-bottom: 1.5px solid var(--company-ink); color: var(--company-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.production-live .calendar-day { display: grid; grid-template-rows: auto 1fr; align-content: start; min-width: 0; min-height: 112px; padding: 6px; border-right: 1px solid rgba(45,41,38,.19); border-bottom: 1px solid rgba(45,41,38,.19); background: #fff; }
.production-live .calendar-day:nth-child(7n) { border-right: 0; }
.production-live .calendar-day.is-other-month { background: #f8f6f1; }
.production-live .calendar-day.is-other-month .calendar-day-number { color: #77716a; }
.production-live .calendar-day.is-today { background: #fff9df; }
.production-live .calendar-day.is-selected { box-shadow: inset 0 0 0 2px var(--company-ink); background: #fff2b3; }
.production-live .calendar-day-number { display: flex; align-items: center; justify-content: space-between; gap: 3px; width: 100%; min-width: 0; min-height: 28px; padding: 1px 3px 5px; border: 0; background: transparent; text-align: left; font-size: 11px; font-weight: 900; cursor: pointer; }
.production-live .calendar-day-number[aria-pressed="true"] span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--company-ink); color: var(--company-gold); }
.production-live .calendar-day-number small { color: var(--company-muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.production-live .calendar-day-items { display: grid; align-content: start; gap: 4px; min-width: 0; }
.production-live .calendar-chip { display: grid; gap: 2px; min-width: 0; width: 100%; padding: 4px 5px; border: 1px solid var(--company-ink); border-radius: 7px; color: var(--company-ink); text-align: left; cursor: pointer; }
.production-live .calendar-chip-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; line-height: 1.2; font-weight: 800; }
.production-live .calendar-chip-status { font-size: 8px; line-height: 1.2; font-weight: 900; }
.production-live .calendar-chip--tentative { background: #fff1ad; }
.production-live .calendar-chip--booked { background: #2d2926; color: #ffcc01; }
.production-live .calendar-chip--in-progress { background: #e4f3eb; }
.production-live .calendar-chip--completed { background: #efede9; }
.production-live .calendar-chip--internal { background: #eee8f7; }
.production-live .calendar-more { justify-self: start; padding: 2px 4px; border: 0; background: transparent; color: var(--company-ink); font-size: 9px; font-weight: 900; cursor: pointer; }
.production-live .calendar-agenda { display: grid; gap: 14px; }
.production-live .calendar-agenda-head,.production-live .calendar-agenda-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; min-width: 0; }
.production-live .calendar-agenda-head h2,.production-live .calendar-agenda-title h3 { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.production-live .calendar-agenda-title h3 { font-size: 17px; }
.production-live .calendar-agenda-list { display: grid; gap: 10px; }
.production-live .calendar-agenda-item { display: grid; grid-template-columns: minmax(105px,.32fr) minmax(0,1fr); gap: 13px; min-width: 0; padding: 13px; border: 1.5px solid var(--company-ink); border-radius: 13px; background: #fff; }
.production-live .calendar-agenda-item--tentative { border-left: 5px solid #d39a00; }
.production-live .calendar-agenda-item--booked { border-left: 5px solid var(--company-ink); }
.production-live .calendar-agenda-item--in-progress { border-left: 5px solid #28794f; }
.production-live .calendar-agenda-item--internal { border-left: 5px solid #7856a3; }
.production-live .calendar-agenda-time { min-width: 0; font-size: 11px; font-weight: 900; line-height: 1.45; overflow-wrap: anywhere; }
.production-live .calendar-agenda-content { display: grid; align-content: start; gap: 6px; min-width: 0; }
.production-live .calendar-agenda-content p,.production-live .calendar-agenda-content small { margin: 0; color: var(--company-muted); line-height: 1.45; overflow-wrap: anywhere; }
.production-live .calendar-agenda-content .btn { justify-self: start; min-height: 36px; padding: 7px 10px; }
.production-live .calendar-agenda-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 5px; }
.production-live .calendar-event-form { padding-top: 12px; border-top: 1px solid rgba(45,41,38,.2); }
.production-live .calendar-create-card { margin-top: 16px; }
.production-live .calendar-create-card > p { margin: 7px 0 0; }
.production-live .calendar-grid-wrap--week { overflow-x: auto; }
.production-live .calendar-grid-wrap--week .calendar-grid { grid-template-columns: repeat(7,minmax(126px,1fr)); min-width: 900px; }
.production-live .calendar-grid-wrap--week .calendar-day { min-height: 190px; }
.production-live .calendar-mobile-week-note { display: none; }
.production-live .production-job-list,.production-live .production-record-list { display: grid; gap: 10px; }
.production-live .production-job-row,.production-live .production-record-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; min-width: 0; padding: 14px; border: 1.5px solid var(--company-ink); border-radius: 14px; background: #fff; }
.production-live .production-job-row > div:first-child,.production-live .production-record-row > div:first-child { display: grid; gap: 5px; min-width: 0; }
.production-live .production-job-row strong,.production-live .production-record-row strong { line-height: 1.4; overflow-wrap: anywhere; }
.production-live .production-job-row small,.production-live .production-record-row small { color: var(--company-muted); line-height: 1.4; overflow-wrap: anywhere; }
.production-live .production-record-row a { color: var(--company-ink); font-size: 12px; font-weight: 700; overflow-wrap: anywhere; text-underline-offset: 2px; }
.production-live .production-job-meta { display: grid; justify-items: end; gap: 9px; flex: 0 0 auto; }
.production-live .production-record-row > .btn { flex: 0 0 auto; }
.production-live .production-record-details { width: min(100%,260px); }
.production-live .production-record-details > summary { min-height: 40px; display: flex; align-items: center; justify-content: center; padding: 7px 11px; border: 1.5px solid var(--company-ink); border-radius: 999px; background: #fff7d5; font-size: 11px; font-weight: 900; cursor: pointer; }
.production-live .production-record-details[open] { width: min(100%,460px); }
.production-live .production-record-details form { padding: 14px; border: 1.5px solid var(--company-ink); border-radius: 14px; background: #fffdf8; }
.production-live .staff-assignment-list { display: grid; gap: 4px; max-height: 280px; overflow-y: auto; padding: 9px; border: 1px solid rgba(45,41,38,.25); border-radius: 10px; }
.production-live .staff-assignment-list legend { padding-inline: 5px; font-size: 11px; font-weight: 900; }
.production-live .staff-assignment-option { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 5px 7px; border-radius: 7px; font-size: 12px; line-height: 1.35; cursor: pointer; }
.production-live .staff-assignment-option:hover { background: #fff2b6; }
.production-live .staff-assignment-option input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--company-ink); }
.production-live .job-staff-assignment-form { display: grid; gap: 12px; }
.production-live .production-form-feedback[hidden] { display: none !important; }
.production-live .production-roster { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.production-live .production-roster-card { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 12px; border: 1.5px solid var(--company-ink); border-radius: 13px; background: #fff; }
.production-live .production-roster-card > div { display: grid; gap: 4px; min-width: 0; }
.production-live .production-roster-card small { color: var(--company-muted); line-height: 1.4; overflow-wrap: anywhere; }
.production-live .production-availability-list { display: grid; gap: 0; }
.production-live .production-availability-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(45,41,38,.15); }
.production-live .production-availability-list > .production-availability-row { display: grid; grid-template-columns: minmax(90px,auto) minmax(0,1fr) auto; align-items: center; gap: 8px 12px; }
.production-live .production-availability-row > .availability-time { min-width: 0; overflow-wrap: anywhere; }
.production-live .availability-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.production-live .availability-actions .btn { min-height: 36px; padding: 6px 10px; }
.production-live .production-availability-form { grid-column: 1 / -1; width: 100%; padding: 14px; border: 1px solid rgba(45,41,38,.2); border-radius: 12px; background: #fffdf8; }
.production-live .production-availability-form [hidden] { display: none !important; }
.production-live .availability-exception-times > .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.production-live .team-availability-list { display: grid; gap: 0; }
.production-live .team-availability-row { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(0,1.3fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(45,41,38,.15); }
.production-live .team-availability-heading { display: grid; align-content: start; gap: 4px; min-width: 0; }
.production-live .team-availability-heading strong,.production-live .team-availability-heading small { overflow-wrap: anywhere; }
.production-live .team-availability-heading small,.production-live .team-availability-horizon { color: var(--company-muted); }
.production-live .availability-window-summary { display: grid; gap: 4px; margin: 0 0 8px; padding-left: 18px; }
.production-live .availability-window-summary li { line-height: 1.45; overflow-wrap: anywhere; }
.production-live [aria-busy="true"] { cursor: progress; }
@media (max-width: 760px) {
  .production-live .production-content-grid { grid-template-columns: 1fr; }
  .production-live.auth-mode .app-header { flex-wrap: nowrap; }
  .production-live .production-record-details,.production-live .production-record-details[open] { width: min(100%,420px); }
  .production-live .calendar-toolbar { grid-template-columns: auto minmax(0,1fr); }
  .production-live .calendar-current-title { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .production-live .calendar-view-controls { justify-self: end; }
  .production-live .calendar-day { min-height: 95px; padding: 4px; }
}
@media (max-width: 520px) {
  .production-live .production-header-actions { justify-content: flex-start; }
  .production-live.auth-mode .app-header { padding-inline: 14px; }
  .production-live .production-user { max-width: 100%; flex-basis: 100%; }
  .production-live .production-metric-grid,.production-live .production-roster { grid-template-columns: 1fr; }
  .production-live .production-job-row,.production-live .production-record-row { display: grid; grid-template-columns: minmax(0,1fr); }
  .production-live .production-job-meta { justify-items: start; }
  .production-live .production-record-row > .btn { justify-self: start; }
  .production-live .production-availability-list > .production-availability-row { grid-template-columns: minmax(0,1fr); align-items: start; }
  .production-live .production-availability-row > .availability-time { margin: 0; }
  .production-live .team-availability-row { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .production-live .availability-exception-times > .form-grid { grid-template-columns: 1fr; gap: 10px; }
  .production-live .auth-form .btn { width: 100%; }
  .production-live .calendar-toolbar { grid-template-columns: 1fr; gap: 8px; }
  .production-live .calendar-toolbar-group { justify-content: space-between; }
  .production-live .calendar-view-controls { justify-self: stretch; }
  .production-live .calendar-view-controls .btn { flex: 1 1 0; }
  .production-live .calendar-current-title { grid-column: auto; grid-row: auto; }
  .production-live .calendar-filter-row .btn { flex: 1 1 auto; padding-inline: 8px; font-size: 10px; }
  .production-live .calendar-grid-wrap { padding: 3px; border-width: 1.5px; }
  .production-live .calendar-grid-wrap--month .calendar-grid { grid-template-rows: 29px repeat(6,minmax(46px,auto)); }
  .production-live .calendar-weekday { min-height: 29px; font-size: 8px; }
  .production-live .calendar-day { min-height: 46px; padding: 2px 1px; }
  .production-live .calendar-day-number { justify-content: center; min-height: 23px; padding: 1px; font-size: 9px; }
  .production-live .calendar-day-number small { display: none; }
  .production-live .calendar-day-number[aria-pressed="true"] span { width: 20px; height: 20px; }
  .production-live .calendar-day-items { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; }
  .production-live .calendar-chip { display: block; width: 6px; height: 6px; min-height: 6px; padding: 0; border-radius: 50%; }
  .production-live .calendar-chip-title,.production-live .calendar-chip-status,.production-live .calendar-more { display: none; }
  .production-live .calendar-agenda-item { grid-template-columns: minmax(0,1fr); gap: 5px; padding: 11px; }
  .production-live .calendar-agenda-time { font-size: 10px; }
  .production-live .calendar-agenda-title h3 { font-size: 16px; }
}

/* Job execution panel: ordered stops, staff-only logistics, checklist, timeline. */
.production-live .production-job-execution-panel { display: grid; gap: 14px; margin-top: 12px; }
.production-live .job-internal-card { display: grid; gap: 10px; min-width: 0; padding: 14px 16px; border: 1.5px solid var(--company-ink); border-radius: 14px; background: #fff; }
.production-live .job-internal-card h4 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; font: 400 17px/1.2 var(--hustle-display-font, Georgia, serif); letter-spacing: .03em; }
.production-live .job-internal-card h4 small { padding: 3px 8px; border-radius: 999px; background: var(--company-gold); font: 900 10px/1.2 var(--hustle-body-font, "DM Sans", Arial, sans-serif); letter-spacing: .04em; text-transform: uppercase; }
.production-live .job-kv-list { display: grid; grid-template-columns: minmax(110px, max-content) minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 13px; line-height: 1.5; }
.production-live .job-kv-list dt { color: var(--company-muted); font-weight: 700; }
.production-live .job-kv-list dd { margin: 0; overflow-wrap: anywhere; }
.production-live .job-stop-row { align-items: center; }
.production-live .job-stops-form { display: grid; gap: 14px; }
.production-live .job-stop-rows { display: grid; gap: 12px; }
.production-live .job-stop-row-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; min-width: 0; margin: 0; padding: 14px; border: 1.5px solid var(--company-ink); border-radius: 14px; background: #fffdf8; }
.production-live .job-stop-row-fields legend { padding: 0 8px; font: 400 15px/1.2 var(--hustle-display-font, Georgia, serif); letter-spacing: .03em; }
.production-live .job-checklist-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.production-live .job-checklist-toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--company-ink); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.production-live .job-checklist-toggle[data-status="complete"] { background: #e4f3eb; color: #155c3e; }
.production-live .job-checklist-toggle[data-status="not_applicable"] { background: var(--company-cream); color: var(--company-muted); }
.production-live .job-checklist-toggle:disabled { opacity: .6; cursor: progress; }
.production-live .job-checklist-toggle .check-mark { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border: 1.5px solid var(--company-ink); border-radius: 7px; background: #fff; font-weight: 900; line-height: 1; }
.production-live .job-timeline { display: grid; gap: 0; margin: 0; padding: 0 0 0 18px; list-style: none; border-left: 2px solid var(--company-ink); }
.production-live .job-timeline li { position: relative; display: grid; gap: 3px; padding: 0 0 14px 16px; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.production-live .job-timeline li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 12px; height: 12px; border: 2px solid var(--company-ink); border-radius: 50%; background: var(--company-gold); }
.production-live .job-timeline li:last-child { padding-bottom: 0; }
.production-live .job-timeline li small { color: var(--company-muted); }
.production-live .job-timeline-flag { width: fit-content; padding: 2px 8px; border: 1px solid rgba(45,41,38,.25); border-radius: 999px; background: #e4f3eb; color: #155c3e !important; font-size: 10px; font-weight: 900; }
.production-live .job-timeline-flag-internal { background: var(--company-cream); color: var(--company-muted) !important; }
@media (max-width: 720px) {
  .production-live .job-stop-row-fields { grid-template-columns: minmax(0, 1fr); }
  .production-live .job-stop-row { flex-direction: column; align-items: stretch; }
  .production-live .job-stop-row .production-job-meta { justify-items: stretch; }
  .production-live .job-kv-list { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .production-live .job-kv-list dd { margin-bottom: 8px; }
  .production-live .job-stop-row .btn { min-height: 44px; }
}

/* Staff management: roster, profile, add/edit. Uses the existing ink/gold/cream look. */
.production-live .staff-toolbar { display: grid; gap: 14px; margin-bottom: 18px; }
.production-live .staff-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.production-live .staff-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 2px solid var(--company-ink); border-radius: 999px; background: #fff; font-weight: 800; font-size: 13px; cursor: pointer; }
.production-live .staff-chip[aria-pressed="true"] { background: var(--company-ink); color: #fff; }
.production-live .staff-chip:focus-visible, .production-live .staff-row:focus-visible, .production-live .staff-inactive-toggle input:focus-visible { outline: 3px solid var(--company-ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--company-gold); }
.production-live .staff-chip-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--company-gold); color: var(--company-ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.production-live .staff-toolbar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; font-size: 13px; font-weight: 700; }
.production-live .staff-inactive-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.production-live .staff-inactive-toggle input { width: 20px; height: 20px; accent-color: var(--company-ink); }
.production-live .staff-results { display: grid; gap: 20px; }
.production-live .staff-group h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 400 20px/1.2 var(--hustle-display-font, Georgia, serif); letter-spacing: .03em; }
.production-live .staff-group-count { padding: 2px 10px; border: 1.5px solid var(--company-ink); border-radius: 999px; background: #fff; font: 800 12px/1.5 var(--hustle-body-font, "DM Sans", Arial, sans-serif); }
.production-live .staff-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.production-live .staff-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 14px; border: 1.5px solid var(--company-ink); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; box-shadow: 3px 3px 0 var(--company-ink); }
.production-live .staff-row:hover { background: #fffdf2; }
.production-live .staff-row-main { display: grid; gap: 6px; min-width: 0; flex: 1; }
.production-live .staff-row-main strong { overflow-wrap: anywhere; line-height: 1.3; }
.production-live .staff-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.production-live .staff-row-chevron { font-size: 26px; line-height: 1; color: var(--company-muted); }
.production-live .staff-role-badge { background: #fff; }
.production-live .staff-role-founder, .production-live .staff-role-director { background: var(--company-gold); color: var(--company-ink); }
.production-live .staff-role-founder::before, .production-live .staff-role-director::before { background: var(--company-ink); }
.production-live .staff-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.production-live .staff-card { min-width: 0; }
.production-live .staff-card h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.production-live .staff-private { grid-column: 1 / -1; }
.production-live .staff-kv { display: grid; grid-template-columns: minmax(110px, max-content) minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: 14px; }
.production-live .staff-kv dt { color: var(--company-muted); font-weight: 700; }
.production-live .staff-kv dd { display: grid; gap: 4px; margin: 0; overflow-wrap: anywhere; }
.production-live .staff-note { display: block; font-weight: 400; }
.production-live .staff-steps { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.production-live .staff-steps li { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 14px; font-weight: 700; }
.production-live .staff-steps li.todo { color: var(--company-muted); font-weight: 600; }
.production-live .staff-step-mark { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1.5px solid var(--company-ink); border-radius: 50%; background: #fff; font-weight: 900; }
.production-live .staff-steps li.done .staff-step-mark { background: #e4f3eb; color: #155c3e; }
.production-live .staff-assignments, .production-live .staff-guardian-list { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.production-live .staff-assignments li { display: grid; gap: 2px; }
.production-live .staff-guardian-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px; border: 1.5px solid var(--company-ink); border-radius: 12px; background: #fffdf8; }
.production-live .staff-guardian-list li > div { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.production-live .staff-imported-contact { display: grid; gap: 4px; margin-bottom: 12px; padding: 12px; border: 1.5px dashed var(--company-ink); border-radius: 12px; overflow-wrap: anywhere; }
.production-live .staff-form { display: grid; gap: 16px; max-width: 640px; }
.production-live .field-error { display: block; margin-top: 4px; color: var(--company-red); font-size: 13px; font-weight: 800; }
.production-live .field-error::before { content: "Problem: "; }
.production-live .field input[aria-invalid="true"], .production-live .field select[aria-invalid="true"] { border-color: var(--company-red); box-shadow: 0 0 0 2px #faeae7; }
.production-live .required-mark, .production-live .optional-mark { color: var(--company-muted); font-weight: 600; }
.production-live .staff-inactive-warning { color: var(--company-red); font-weight: 700; }
.production-live .staff-inactive-tag { color: var(--company-muted); font-size: 12px; }
.production-live .staff-back { padding-left: 4px; }
@media (max-width: 760px) {
  .production-live .staff-profile-grid { grid-template-columns: minmax(0, 1fr); }
  .production-live .staff-filters { flex-wrap: wrap; gap: 8px 6px; }
  .production-live .staff-chip { padding: 8px 12px; }
  .production-live .staff-kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .production-live .staff-kv dd { margin-bottom: 10px; }
  .production-live .staff-row { box-shadow: 2px 2px 0 var(--company-ink); }
  .production-live .page-head-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .production-live .staff-row, .production-live .staff-chip { transition: none; } }

/* Production mode has no footer, so the sidebar fills the window instead of stopping 45px short. */
@media (min-width: 761px) {
  .production-live .workspace { min-height: calc(100vh - 82px); min-height: calc(100dvh - 82px); }
  .production-live .sidebar { height: calc(100vh - 82px); height: calc(100dvh - 82px); }
}
.production-live .staff-toolbar [hidden] { display: none !important; }

/* Visual calendar: month, week, day, agenda. Kinds differ by label, icon and colour. */
.production-live .cal-toolbar { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; margin: 14px 0 10px; }
.production-live .cal-toolbar-group, .production-live .cal-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.production-live .cal-filters { margin-bottom: 10px; }
.production-live .cal-toolbar .btn, .production-live .cal-filters .btn { min-height: 44px; padding: 8px 13px; }
.production-live .cal-title { margin: 0; font: 400 clamp(20px,3vw,28px)/1.15 var(--hustle-display-font, Georgia, serif); letter-spacing: .03em; text-align: center; }
.production-live .cal-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.production-live .cal-legend-item { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 3px 9px; border: 1px solid var(--company-ink); border-radius: 999px; font-size: 11px; font-weight: 800; }
.production-live .cal-kind-job.cal-status-booked { background: var(--company-ink); color: var(--company-gold); }
.production-live .cal-kind-job.cal-status-tentative { background: #fff1ad; }
.production-live .cal-kind-job.cal-status-in-progress { background: #e4f3eb; }
.production-live .cal-kind-job.cal-status-completed { background: #efede9; }
.production-live .cal-kind-walkthrough { background: #e3eef6; color: #24536b; border: 1.5px dashed #24536b; }
.production-live .cal-kind-event { background: #eee8f7; color: #563974; }
.production-live .cal-kind-availability { background: rgba(40,121,79,.16); color: #155c3e; }
.production-live .cal-kind-unavailable { background: rgba(173,58,45,.14); color: #8e2d23; }
.production-live .cal-conflict-key { background: #faeae7; color: #8e2d23; border-color: #8e2d23; }
.production-live .cal-conflicts ul { margin: 6px 0 0; padding-left: 18px; }
.production-live .cal-link { padding: 4px 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; min-height: 32px; }
.production-live .cal-surface { margin-bottom: 16px; overflow-x: auto; border: 2px solid var(--company-ink); border-radius: 16px; background: #fff; box-shadow: 4px 4px 0 var(--company-ink); }
.production-live .cal-month-head { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border-bottom: 2px solid var(--company-ink); background: var(--company-cream); }
.production-live .cal-weekday { padding: 7px; font-size: 11px; font-weight: 900; text-align: center; }
.production-live .cal-month-body { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); min-width: 700px; }
.production-live .cal-day { min-height: 104px; padding: 6px; border-right: 1px solid rgba(45,41,38,.2); border-bottom: 1px solid rgba(45,41,38,.2); }
.production-live .cal-day.is-other-month { background: #f7f5f1; color: var(--company-muted); }
.production-live .cal-day.is-today .cal-day-number { background: var(--company-gold); border-color: var(--company-ink); }
.production-live .cal-day-number { min-width: 32px; min-height: 32px; border: 1.5px solid transparent; border-radius: 50%; background: none; font-weight: 900; cursor: pointer; }
.production-live .cal-day-items { display: grid; gap: 3px; margin-top: 4px; }
.production-live .cal-chip { display: block; width: 100%; min-height: 26px; padding: 3px 6px; border: 1px solid var(--company-ink); border-radius: 7px; font-size: 11px; font-weight: 800; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.production-live .cal-more { padding: 2px 4px; border: 0; background: none; font-size: 11px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.production-live .cal-timegrid { min-width: 640px; }
.production-live .cal-timegrid--day { min-width: 0; }
.production-live .cal-timegrid-head, .production-live .cal-timegrid-body { display: grid; grid-template-columns: 52px repeat(var(--cal-days), minmax(0,1fr)); }
.production-live .cal-timegrid-head { border-bottom: 2px solid var(--company-ink); background: var(--company-cream); }
.production-live .cal-col-head { display: grid; gap: 2px; padding: 8px 6px; border-left: 1px solid rgba(45,41,38,.2); font-size: 12px; text-align: center; }
.production-live .cal-col-head.is-today { background: var(--company-gold); }
.production-live .cal-dst-note { font-size: 10px; font-weight: 800; color: #8e2d23; }
.production-live .cal-timegrid-body { max-height: 640px; overflow-y: auto; }
.production-live .cal-gutter { position: relative; }
.production-live .cal-hour-label { position: absolute; right: 6px; transform: translateY(-50%); font-size: 10px; font-weight: 800; color: var(--company-muted); }
.production-live .cal-col { position: relative; border-left: 1px solid rgba(45,41,38,.2); }
.production-live .cal-col.is-today { background: #fffdf2; }
.production-live .cal-hour-line { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed rgba(45,41,38,.14); }
.production-live .cal-band { position: absolute; left: 0; right: 0; display: flex; align-items: flex-start; justify-content: flex-end; padding: 2px 4px; font-size: 10px; font-weight: 900; opacity: .85; pointer-events: none; }
.production-live .cal-block { position: absolute; display: grid; align-content: start; gap: 1px; padding: 3px 5px; border: 1.5px solid var(--company-ink); border-radius: 8px; overflow: hidden; font-size: 11px; line-height: 1.25; text-align: left; cursor: pointer; }
.production-live .cal-block-title { font-weight: 900; }
.production-live .cal-block-time, .production-live .cal-block-crew { font-size: 10px; opacity: .9; }
.production-live .cal-block.is-conflict, .production-live .cal-agenda-item.is-conflict { outline: 3px solid #ad3a2d; outline-offset: -3px; }
.production-live .cal-block.is-selected { box-shadow: 0 0 0 3px var(--company-gold), 0 0 0 5px var(--company-ink); z-index: 2; }
.production-live .cal-chip:focus-visible, .production-live .cal-block:focus-visible, .production-live .cal-agenda-item:focus-visible, .production-live .cal-link:focus-visible, .production-live .cal-day-number:focus-visible { outline: 3px solid var(--company-ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--company-gold); }
.production-live .cal-agenda { display: grid; gap: 16px; padding: 14px; }
.production-live .cal-agenda-day h3 { margin: 0 0 8px; font: 400 17px/1.2 var(--hustle-display-font, Georgia, serif); }
.production-live .cal-agenda-day ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.production-live .cal-agenda-item { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 12px; width: 100%; min-height: 56px; padding: 10px 12px; border: 1.5px solid var(--company-ink); border-radius: 12px; text-align: left; cursor: pointer; }
.production-live .cal-agenda-time { display: grid; gap: 2px; font-weight: 900; font-variant-numeric: tabular-nums; }
.production-live .cal-agenda-time small { font-weight: 600; }
.production-live .cal-agenda-main { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.production-live .cal-detail { margin-bottom: 16px; }
.production-live .cal-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.production-live .cal-detail h3 { margin: 10px 0 6px; font: 400 18px/1.2 var(--hustle-display-font, Georgia, serif); }
.production-live .cal-crew, .production-live .cal-history, .production-live .cal-preview ul { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; }
.production-live .cal-reschedule { display: grid; gap: 12px; margin-top: 14px; padding: 14px; border: 1.5px dashed var(--company-ink); border-radius: 14px; background: #fffdf8; }
.production-live .cal-preview { padding: 12px; border: 1.5px solid var(--company-ink); border-radius: 12px; background: #fff; }
.production-live .cal-preview h4 { margin: 0 0 8px; }
.production-live .job-schedule-readout p { margin: 4px 0; }
@media (max-width: 760px) {
  .production-live .cal-toolbar { grid-template-columns: 1fr; gap: 8px; }
  .production-live .cal-toolbar-group { justify-content: space-between; }
  .production-live .cal-title { text-align: left; }
  .production-live .cal-agenda-item { grid-template-columns: 62px minmax(0,1fr); }
}

.production-live .job-focus-target { outline: 3px solid var(--company-ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--company-gold); }
.production-live .production-job-row[data-job-id] { scroll-margin-top: 112px; }
@media (max-width: 760px) { .production-live .production-job-row[data-job-id] { scroll-margin-top: 84px; } }

.production-live .cal-legend-wrap { margin: 0 0 12px; }
.production-live .cal-legend-toggle { min-height: 44px; margin-bottom: 8px; }
.production-live .cal-legend-wrap .cal-legend { margin: 0; }
.production-live .cal-options[hidden] { display: none; }
@media (min-width: 761px) { .production-live .cal-legend-toggle { display: none; } .production-live .cal-options[hidden] { display: block; } }
.production-live .cal-toolbar .btn, .production-live .cal-filters .btn, .production-live .cal-legend-toggle { min-width: 44px; min-height: 44px; }
.production-live .cal-conflicts .cal-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 760px) { .production-live .cal-link { min-height: 44px; } }

/* Seats and claims */
.production-live .seat-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.production-live .seat-card h2 { margin: 0 0 4px; font: 400 20px/1.2 var(--hustle-display-font, Georgia, serif); }
.production-live .seat-card:focus { outline: 3px solid var(--company-ink); outline-offset: 3px; }
.production-live .seat-when { margin: 0 0 8px; }
.production-live .seat-lines { margin: 8px 0; padding-left: 18px; }
.production-live .seat-mine { margin: 10px 0; }
.production-live .seat-expiry { margin: 6px 0 0; }
.production-live .seat-card .button-row .btn, .production-live .seat-panel .btn { min-height: 44px; min-width: 44px; }
.production-live .seat-panel { margin-top: 16px; border-top: 1px solid var(--company-line, rgba(0,0,0,.15)); padding-top: 12px; }
.production-live .seat-panel h3 { margin: 0 0 8px; }
.production-live .seat-panel h4 { margin: 14px 0 6px; }
.production-live .seat-claims, .production-live .seat-outbox { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.production-live .seat-claims li, .production-live .seat-outbox li { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.production-live .seat-form { margin-top: 10px; }
.production-live .cal-seat-summary { margin: 6px 0 0; }

.production-live .unread-badge { margin-top: 4px; align-self: flex-start; }

/* Messages: coherent inbox-to-thread on phones, split view on desktop */
.production-live .chat-back { display: none; min-height: 44px; }
.production-live .message-panel { grid-template-rows: none; }
.production-live .message-panel .chat-list { max-height: min(60vh, 640px); min-height: 170px; overflow-y: auto; }
.production-live .chat-participants { margin: 0 0 8px; }
.production-live .chat-jump { position: sticky; bottom: 8px; margin: 8px auto; min-height: 44px; }
.production-live .chat-jump[hidden] { display: none; }
.production-live .chat-older { text-align: center; margin-bottom: 8px; }
.production-live .chat-older .btn { min-height: 44px; }
@media (max-width: 760px) {
  .production-live .chat-back { display: inline-flex; align-items: center; }
  .production-live .messages-view.is-thread-open .message-audiences,
  .production-live .messages-view.is-thread-open .message-start-block,
  .production-live .messages-view.is-thread-open .message-inbox { display: none; }
  .production-live .messages-view:not(.is-thread-open) .message-panel { display: none; }
  .production-live .messages-view.is-thread-open > .page-head { display: none; }
  .production-live .message-panel .chat-list { max-height: calc(100vh - 380px); max-height: calc(100dvh - 380px); min-height: 180px; }
}
.production-live .message-panel { scroll-margin-top: 84px; }

/* Commercial timeline */
.production-live .com-steps { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 10px; }
.production-live .com-step { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.production-live .com-step-icon { width: 28px; height: 28px; border: 2px solid var(--company-ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: #fff; }
.production-live .com-step.is-done .com-step-icon { background: var(--company-ink); color: var(--company-gold); }
.production-live .com-step.is-current .com-step-icon { background: var(--company-gold); }
.production-live .com-step.is-ended .com-step-icon { background: #f3d9d4; }
.production-live .com-step.is-upcoming { opacity: .72; }
.production-live .com-step p { margin: 2px 0 0; }
.production-live .com-step-state { margin-left: 8px; }
.production-live .com-panel { border-top: 1px solid var(--company-line, rgba(0,0,0,.15)); padding-top: 12px; margin-top: 8px; }
.production-live .com-panel h3 { margin: 0 0 8px; }
.production-live .contract-text { white-space: pre-wrap; word-break: break-word; max-height: 320px; overflow: auto; padding: 12px; border: 2px solid var(--company-ink); border-radius: 12px; background: #fff; font: 14px/1.5 var(--hustle-body-font, system-ui, sans-serif); }
.production-live .com-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.production-live .com-list li { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.production-live .com-consent { display: flex; gap: 8px; align-items: flex-start; }
.production-live .com-consent input { width: 24px; height: 24px; flex: none; }
.production-live .com-approve { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.production-live .com-job .btn, .production-live .com-panel .btn { min-height: 44px; min-width: 44px; }
.production-live .com-balance { font-weight: 700; }

/* Job forms */
.production-live .jf-panel { margin-top: 10px; }
.production-live .jf-list { margin: 8px 0; }
.production-live .jf-item { display: grid; gap: 6px; }
.production-live .jf-editor { margin-top: 12px; border-top: 1px solid var(--company-line, rgba(0,0,0,.15)); padding-top: 12px; }
.production-live .jf-editor h4 { margin: 8px 0 0; }
.production-live .jf-rows { border: 1px solid var(--company-line, rgba(0,0,0,.2)); border-radius: 12px; padding: 10px; display: grid; gap: 8px; }
.production-live .jf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; align-items: center; }
.production-live .jf-equipment { grid-template-columns: minmax(120px, 1.4fr) repeat(4, minmax(70px, 1fr)); }
@media (max-width: 760px) { .production-live .jf-equipment { grid-template-columns: 1fr 1fr; } .production-live .jf-equipment strong { grid-column: 1 / -1; } }
.production-live .jf-computed { font-weight: 700; display: block; padding: 8px 0; }
.production-live .jf-add select, .production-live .jf-add .btn, .production-live .jf-editor .btn, .production-live .jf-item .btn, .production-live .jf-customer .btn { min-height: 44px; min-width: 44px; }
.production-live .jf-summary { margin: 8px 0; }
.production-live .jf-confirmation { border-left: 4px solid var(--company-gold); padding-left: 10px; }

/* UX polish: navigation icons, job row layout, consistent action buttons */
.nav-icon svg { display: block; width: 16px; height: 16px; }
@media (max-width: 760px) { .nav-icon svg { width: 14px; height: 14px; } }
.production-live .production-job-row:has(> .production-job-actions) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px 16px; }
.production-live .production-job-row > .job-date-chip { align-self: start; white-space: nowrap; }
.production-live .production-job-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; min-width: 0; }
.production-live .production-job-actions > .production-record-details { width: auto; flex: 0 0 auto; }
.production-live .production-job-actions > .production-record-details > summary { min-height: 44px; padding: 10px 16px; white-space: nowrap; }
.production-live .production-job-actions > .production-record-details[open] { flex: 1 1 100%; width: 100%; max-width: 760px; }
.production-live .production-job-actions > .production-record-details[open] > summary { justify-content: flex-start; width: max-content; margin-bottom: 10px; }
@media (max-width: 760px) {
  .production-live .production-job-row:has(> .production-job-actions) { grid-template-columns: minmax(0, 1fr); }
  .production-live .production-job-row > .job-date-chip { order: 2; justify-self: start; }
  .production-live .production-job-actions { order: 3; }
  .production-live .production-job-actions > .production-record-details:not([open]) { flex: 1 1 calc(50% - 8px); }
  .production-live .production-job-actions > .production-record-details:not([open]) > summary { width: 100%; }
}
.production-live .production-job-actions > .jf-panel, .production-live .production-job-actions > .production-record-details { margin-top: 0; margin-bottom: 0; }
@media (max-width: 760px) {
  /* One compact line: the signed-in email (truncated) and Sign out, instead of a tall stack. */
  .production-live .production-header-actions { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 12px; }
  .production-live .production-user { flex: 1 1 auto; min-width: 0; max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
  .production-live .production-header-actions .btn { flex: 0 0 auto; min-height: 44px; padding: 0 16px; }
  .production-live .message-thread-list { max-height: none; }
}

/* In-page confirmation dialog */
.hm-dialog-backdrop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(45, 41, 38, .55); }
.hm-dialog { width: min(100%, 440px); display: grid; gap: 14px; padding: 24px; border: 2px solid var(--company-ink, #2d2926); border-radius: 18px; background: #fff; box-shadow: 4px 4px 0 var(--company-ink, #2d2926); }
.hm-dialog h2 { margin: 0; font: 400 22px/1.15 var(--hustle-display-font, Georgia, serif); }
.hm-dialog p { margin: 0; line-height: 1.5; }
.hm-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 4px; }
.hm-dialog-actions .btn { min-height: 46px; min-width: 120px; }
.btn-danger { background: #b3261e; border-color: var(--company-ink, #2d2926); color: #fff; }
body.hm-dialog-open { overflow: hidden; }
@media (max-width: 480px) { .hm-dialog-actions { flex-direction: column-reverse; } .hm-dialog-actions .btn { width: 100%; } }

/* Drawn signature pad */
.sig-pad { display: grid; gap: 8px; }
.sig-canvas { width: 100%; max-width: 560px; aspect-ratio: 3 / 1; border: 2px solid var(--company-ink, #2d2926); border-radius: 14px; background: #fff linear-gradient(transparent calc(100% - 44px), rgba(45,41,38,.25) calc(100% - 44px), rgba(45,41,38,.25) calc(100% - 43px), transparent calc(100% - 43px)); touch-action: none; cursor: crosshair; }
.sig-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 560px; }
.sig-actions .btn { min-height: 44px; }

/* Commercial flow, job details, agreement */
.com-job-list, .com-stack { display: grid; gap: 20px; }
.com-job h2 { margin-bottom: 4px; }
.com-job h3 { margin: 18px 0 8px; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.com-section-title { margin: 12px 0 0; font-size: 1.1rem; }
.com-track { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: none; }
.com-track-step { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .78rem; font-weight: 700; color: var(--company-muted); position: relative; }
.com-track-step::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: currentColor; opacity: .25; z-index: 0; }
.com-track-step:first-child::before { display: none; }
.com-track-mark { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--company-ink); background: var(--company-paper); display: grid; place-items: center; font-size: .85rem; position: relative; z-index: 1; color: var(--company-ink); }
.com-track-step.is-done .com-track-mark { background: var(--company-green); border-color: var(--company-green); color: #fff; }
.com-track-step.is-done, .com-track-step.is-current { color: var(--company-ink); }
.com-track-step.is-current .com-track-mark { background: var(--company-gold); }
.com-track-step.is-ended .com-track-mark { background: var(--company-red); border-color: var(--company-red); color: #fff; }
.com-next { margin: 14px 0 0; padding: 10px 14px; background: var(--company-cream); border-radius: 12px; }
.com-balance { margin: 10px 0 0; }
.com-panel { margin-top: 18px; padding: 16px; border: 2px solid var(--company-ink); border-radius: 16px; background: var(--company-paper); display: grid; gap: 12px; }
.com-panel h3 { margin: 0; }
.com-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.com-actions .btn { min-height: 46px; }
.com-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.com-list > li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 12px 14px; border: 1px solid rgba(45,41,38,.25); border-radius: 12px; }
.com-queue-meta { display: block; margin-top: 2px; }
.com-agreement { display: grid; gap: 14px; }
.contract-text { max-height: 340px; overflow: auto; white-space: pre-wrap; font: inherit; font-size: .88rem; line-height: 1.55; padding: 14px; background: var(--company-cream); border-radius: 12px; border: 1px solid rgba(45,41,38,.25); }
.com-consent { display: flex; gap: 10px; align-items: flex-start; }
.com-consent input { margin-top: 4px; min-width: 20px; min-height: 20px; }
.com-signatures { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 12px; }
.com-signatures figure { margin: 0; display: grid; gap: 4px; }
.com-signatures img { max-width: 280px; background: #fff; border: 1px solid rgba(45,41,38,.25); border-radius: 8px; }
.com-decline { display: grid; gap: 12px; }
.job-details { margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 20px; }
.job-details-row { display: grid; gap: 2px; }
.job-details-row dt { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--company-muted); }
.job-details-row dd { margin: 0; }
.job-map-link { margin-left: 6px; font-weight: 700; white-space: nowrap; }
.job-details-empty { margin: 8px 0 0; }
@media (max-width: 560px) { .com-track-label { font-size: .68rem; } .com-actions .btn { flex: 1 1 100%; } }
@media print { body.com-printing * { visibility: hidden; } body.com-printing [data-print-target="1"], body.com-printing [data-print-target="1"] * { visibility: visible; } body.com-printing [data-print-target="1"] { position: absolute; inset: 0 auto auto 0; width: 100%; } }

/* Job tiles: a compact square that opens to a full-width card */
.com-job-list { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); align-items: start; }
.com-tile { padding: 0; overflow: hidden; }
.com-tile[open] { grid-column: 1 / -1; }
.com-tile-head { list-style: none; cursor: pointer; display: grid; gap: 10px; align-content: space-between; min-height: 150px; padding: 18px; position: relative; }
.com-tile[open] > .com-tile-head { min-height: 0; grid-template-columns: 1fr auto auto; align-items: center; border-bottom: 2px solid var(--company-ink); background: var(--company-cream); }
.com-tile-head::-webkit-details-marker { display: none; }
.com-tile-title { font-family: inherit; font-weight: 800; font-size: 1.05rem; text-transform: uppercase; line-height: 1.2; padding-right: 26px; }
.com-tile-when { font-size: .88rem; color: var(--company-muted); }
.com-tile-status { justify-self: start; }
.com-tile-status.warn { background: var(--company-gold); color: var(--company-ink); }
.com-tile-caret { position: absolute; top: 20px; right: 18px; width: 10px; height: 10px; border-right: 3px solid var(--company-ink); border-bottom: 3px solid var(--company-ink); transform: rotate(45deg); transition: transform .15s; }
.com-tile[open] > .com-tile-head .com-tile-caret { position: static; transform: rotate(-135deg); margin: 0 4px; }
.com-tile.is-past { opacity: .85; }
.com-tile-body { padding: 20px; display: grid; gap: 4px; }
.com-tile-body > h3 { margin-top: 14px; }
.com-tile-body > h3:first-child { margin-top: 0; }
@media (max-width: 560px) { .com-job-list { grid-template-columns: 1fr 1fr; gap: 12px; } .com-tile-head { min-height: 130px; padding: 14px; } .com-tile[open] > .com-tile-head { grid-template-columns: 1fr auto; } .com-tile[open] > .com-tile-head .com-tile-status { grid-column: 1 / 2; } }

/* Agreement: a readable page */
.com-agreement { margin-top: 18px; padding: 20px; border: 2px solid var(--company-ink); border-radius: 16px; background: var(--company-paper); }
.com-doc { max-height: min(70vh, 640px); overflow: auto; padding: 22px 26px; background: #fff; border: 1px solid rgba(45,41,38,.3); border-radius: 12px; font-size: 1rem; line-height: 1.65; }
.com-doc h4 { margin: 22px 0 6px; font-size: .95rem; letter-spacing: .06em; border-bottom: 2px solid var(--company-ink); padding-bottom: 4px; }
.com-doc h4:first-child { margin-top: 0; font-size: 1.15rem; border: 0; }
.com-doc h5 { margin: 16px 0 4px; font-size: 1rem; }
.com-doc p { margin: 0 0 8px; max-width: 78ch; }
.com-print-copy .com-doc { max-height: none; }
.com-agreement .com-sign { margin-top: 6px; }
.com-terms { margin: 4px 0; }
.com-terms-list { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }

/* Open shifts */
.seat-day { margin: 22px 0 10px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }
.seat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.seat-card .job-details { margin-top: 8px; }
.seat-heading { margin: 14px 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--company-muted); }
.seat-card .button-row { margin-top: 12px; gap: 12px; display: flex; flex-wrap: wrap; }
.job-group-title { margin: 22px 0 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.job-group-title:first-child { margin-top: 4px; }

/* Customer messages (drafts, dry run) */
.com-notices > li { display: grid; gap: 10px; }
.com-notice-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 16px; width: 100%; }
.com-notice-detail { display: grid; gap: 10px; width: 100%; }
.com-notice-text { white-space: pre-wrap; font: inherit; font-size: .9rem; line-height: 1.55; padding: 14px; background: var(--company-cream); border-radius: 12px; border: 1px solid rgba(45,41,38,.25); margin: 0; max-height: 320px; overflow: auto; }
.com-events { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.com-notify-settings { margin-top: 14px; }

/* ==========================================================================
   Design pass (ux-v54): calmer job cards, one primary action per card,
   quiet secondary actions, compact phone header.
   ========================================================================== */
.production-live .job-group-title { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 10px; font: 400 15px/1.2 var(--hustle-display-font, Georgia, serif); letter-spacing: .06em; }
.production-live .job-group-title:first-of-type { margin-top: 6px; }
.production-live .job-group-title .small { font-family: var(--hustle-body-font, "DM Sans", Arial, sans-serif); font-weight: 800; letter-spacing: 0; }

.production-live .production-job-row.job-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px 18px; border: 1.5px solid var(--company-ink); border-radius: 16px; background: #fff; box-shadow: none; transition: box-shadow .15s ease, transform .15s ease; }
.production-live .production-job-row.job-card:hover { box-shadow: 3px 3px 0 var(--company-ink); }
.production-live .job-card-in_progress { border-width: 2px; box-shadow: 3px 3px 0 var(--company-gold), 3px 3px 0 1.5px var(--company-ink); }
.production-live .job-card-completed, .production-live .job-card-cancelled { background: #faf9f6; }
.production-live .job-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.production-live .job-card-title { display: grid; gap: 3px; min-width: 0; }
.production-live .job-card-title strong { font-size: 16px; line-height: 1.3; }
.production-live .job-card-meta { color: var(--company-muted); font-size: 12.5px; font-weight: 600; line-height: 1.45; }
.production-live .job-card-crew { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 13px; line-height: 1.45; }
.production-live .job-card-label { color: var(--company-muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.production-live .job-card-crew-missing { color: #8a5a00; font-weight: 700; }
.production-live .job-card-body .job-details { margin: 0; padding-top: 10px; border-top: 1px solid rgba(45,41,38,.12); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 18px; }
.production-live .job-card-body .job-details-row dd { font-size: 13px; line-height: 1.4; }
.production-live .job-card-body .job-details-empty { margin: 0; }
.production-live .job-card-body:has(.job-details-empty) { display: none; }

.production-live .job-status-badge { flex: 0 0 auto; padding: 5px 10px; font-size: 10.5px; }
.production-live .status.live { background: var(--company-gold); color: var(--company-ink); border-color: var(--company-ink); }
.production-live .status.live::before { background: var(--company-ink); animation: hustle-pulse 1.6s ease-in-out infinite; }
.production-live .status.done { background: #eceae4; color: #3e3934; }
.production-live .status.done::before { background: #3e3934; }
.production-live .status.muted { background: transparent; color: var(--company-muted); }
@keyframes hustle-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .production-live .status.live::before { animation: none; } }

.production-live .job-next-row { display: flex; }
.production-live .job-next-step { min-height: 48px; min-width: 180px; padding: 12px 22px; font-size: 14px; border-radius: 14px; }

/* Secondary actions: one quiet row of small outlined buttons, not big yellow pills. */
.production-live .job-card > .production-job-actions { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.production-live .job-card > .production-job-actions > .production-record-details { flex: 0 0 auto; width: auto; }
.production-live .job-card > .production-job-actions > .production-record-details > summary { min-height: 36px; padding: 7px 13px; border: 1.5px solid rgba(45,41,38,.35); border-radius: 10px; background: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; list-style: none; }
.production-live .job-card > .production-job-actions > .production-record-details > summary::-webkit-details-marker { display: none; }
.production-live .job-card > .production-job-actions > .production-record-details > summary:hover { border-color: var(--company-ink); background: #fff7d5; }
.production-live .job-card > .production-job-actions > .production-record-details[open] { flex: 1 1 100%; width: 100%; max-width: none; padding: 12px; border: 1px solid rgba(45,41,38,.18); border-radius: 12px; background: #fdfcf8; }
.production-live .job-card > .production-job-actions > .production-record-details[open] > summary { border-color: var(--company-ink); background: var(--company-gold); margin-bottom: 12px; }

@media (max-width: 760px) {
  .production-live .production-job-row.job-card { padding: 14px; gap: 9px; }
  .production-live .job-card > .production-job-actions > .production-record-details:not([open]) { flex: 0 0 auto; }
  .production-live .job-card > .production-job-actions > .production-record-details:not([open]) > summary { width: auto; }
  .production-live .job-next-step { width: 100%; }
  .production-live .job-card-body .job-details { grid-template-columns: 1fr 1fr; }
}

/* Phone header: brand and Sign Out on one row; the email lives on the Overview page. */
@media (max-width: 760px) {
  .production-live .app-header { flex-wrap: nowrap; padding: 10px 14px; }
  .production-live .app-header .header-tools { width: auto; flex: 0 0 auto; }
  .production-live .app-header .production-user { display: none; }
  .production-live .app-header .btn { min-height: 38px; padding: 7px 12px; box-shadow: none; }
  .production-live .brand-lockup small { font-size: 11px; }
}

/* ==========================================================================
   Time clock (ux-v55): one clear Clock In / Clock Out, owner board, customer live card
   ========================================================================== */
.clock-card { display: grid; gap: 14px; margin-bottom: 18px; }
.clock-card.is-on { background: var(--company-ink); color: var(--company-paper); }
.clock-card.is-on .eyebrow { color: var(--company-gold); }
.clock-card h2 { margin: 0; }
.clock-copy .eyebrow { margin-bottom: 4px; }
.clock-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.clock-since { margin: 6px 0 0; font-size: 14px; }
.clock-since strong { font-variant-numeric: tabular-nums; }
.clock-card.is-on .clock-main { background: var(--company-gold); color: var(--company-ink); border-color: var(--company-gold); box-shadow: none; min-height: 52px; min-width: 150px; font-size: 14px; }
.clock-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.clock-job { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1.5px solid rgba(45,41,38,.18); border-radius: 14px; background: var(--company-cream); }
.clock-job div { display: grid; gap: 2px; min-width: 0; }
.clock-job strong { overflow-wrap: anywhere; }
.clock-job small { color: var(--company-muted); font-size: 12px; }
.clock-in-button { min-height: 48px; min-width: 112px; font-size: 13px; }
.clock-general { margin: 0; }
.clock-link { padding: 4px 2px; border: 0; background: none; color: inherit; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.clock-link:disabled { opacity: .5; cursor: default; }
.clock-location { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 12px; line-height: 1.5; }
.clock-card.is-on .clock-location { color: #e9e4dc; }
.clock-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #b6aea4; }
.clock-dot.is-on { background: #2fbf71; box-shadow: 0 0 0 3px rgba(47,191,113,.22); animation: hustle-pulse 1.6s ease-in-out infinite; }
.clock-consent { display: grid; gap: 6px; padding: 14px; border: 1.5px dashed rgba(45,41,38,.35); border-radius: 14px; background: #fffbea; }
.clock-consent p { margin: 0; }
.clock-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-title-row h2 { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-title-row .status.live, .clock-table .status.live { background: var(--company-gold); color: var(--company-ink); border-color: var(--company-ink); }
.clock-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.clock-board-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1.5px solid rgba(45,41,38,.15); border-radius: 14px; background: var(--company-paper); }
.clock-board-main { display: grid; gap: 2px; min-width: 0; }
.clock-board-main small { color: var(--company-muted); font-size: 12px; overflow-wrap: anywhere; }
.clock-board-side { display: grid; justify-items: end; gap: 4px; text-align: right; }
.clock-board-side small { color: var(--company-muted); font-size: 11px; }
.clock-map-link { font-size: 12px; font-weight: 800; }
.clock-close { display: grid; gap: 10px; margin-top: 14px; padding: 14px; border: 1.5px solid var(--company-ink); border-radius: 14px; background: #fffbea; }
.clock-close h3 { margin: 0; font-size: 15px; }
.clock-table-wrap { overflow-x: auto; }
.clock-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.clock-table th, .clock-table td { padding: 10px 8px; border-bottom: 1px solid rgba(45,41,38,.12); text-align: left; }
.clock-table th:nth-child(n+2), .clock-table td:nth-child(n+2) { text-align: right; }
.clock-table thead th { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--company-muted); }
.clock-table tfoot th, .clock-table tfoot td { font-weight: 900; border-bottom: 0; }
.clock-history { list-style: none; margin: 0; padding: 0; display: grid; }
.clock-history li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid rgba(45,41,38,.1); }
.clock-history li:last-child { border-bottom: 0; }
.clock-history-who, .clock-history-time { display: grid; gap: 2px; }
.clock-history-time { justify-items: end; text-align: right; font-variant-numeric: tabular-nums; }
.clock-history small { color: var(--company-muted); font-size: 12px; }
.crew-live { display: grid; gap: 12px; border-color: var(--company-ink); }
.crew-live-head { display: flex; align-items: flex-start; gap: 12px; }
.crew-live-head .clock-dot { margin-top: 8px; }
.crew-live-head h2 { margin: 0; }
.crew-live-head p { margin: 4px 0 0; }
.crew-live-map { overflow: hidden; border: 1.5px solid var(--company-ink); border-radius: 14px; aspect-ratio: 16 / 9; background: var(--company-cream); }
.crew-live-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.crew-live-meta { margin: 0; }
@media (max-width: 640px) {
  .clock-head { align-items: stretch; }
  .clock-card.is-on .clock-main { width: 100%; }
  .clock-board-row { grid-template-columns: auto 1fr; }
  .clock-board-side { grid-column: 1 / -1; grid-template-columns: 1fr auto; justify-items: start; align-items: center; text-align: left; }
  .crew-live-map { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .clock-dot.is-on { animation: none; } }
.clock-table tfoot th, .clock-table tfoot td { background: none; }

/* Schedule upload (ux-v55): AI reads a photo or PDF, the person reviews, then saves */
.schedule-upload { display: grid; gap: 10px; margin-bottom: 18px; border-style: dashed; }
.schedule-upload h2, .schedule-upload h3, .schedule-upload p { margin: 0; }
.schedule-upload h3 { margin-top: 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--company-muted); }
.schedule-file-row { display: flex; }
.visually-hidden-file { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.schedule-pick-file { min-height: 52px; padding: 12px 22px; font-size: 14px; cursor: pointer; }
.visually-hidden-file:focus-visible + .schedule-pick-file { outline: 3px solid var(--company-ink); outline-offset: 3px; }
.visually-hidden-file:disabled + .schedule-pick-file { opacity: .5; cursor: default; }
.schedule-progress { height: 6px; overflow: hidden; border-radius: 999px; background: var(--company-cream); }
.schedule-progress span { display: block; width: 35%; height: 100%; border-radius: inherit; background: var(--company-ink); animation: schedule-slide 1.4s ease-in-out infinite; }
@keyframes schedule-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .schedule-progress span { animation: none; width: 100%; opacity: .35; } }
.schedule-picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.schedule-pick { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1.5px solid rgba(45,41,38,.15); border-radius: 12px; background: var(--company-paper); cursor: pointer; }
.schedule-pick input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--company-ink); flex: 0 0 20px; }
.schedule-pick span { display: grid; gap: 2px; font-size: 14px; font-variant-numeric: tabular-nums; }
.schedule-pick small { color: var(--company-muted); font-size: 12px; }
.schedule-pick:has(input:not(:checked)) { opacity: .55; }
.schedule-replace { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.schedule-replace input { width: 18px; height: 18px; accent-color: var(--company-ink); }
.schedule-actions { margin-top: 4px; }
.schedule-note { font-size: 12px; }
.schedule-times { display: flex; flex-wrap: wrap; gap: 6px; }
.schedule-times em { padding: 3px 9px; border-radius: 999px; background: var(--company-cream); font-style: normal; font-size: 13px; font-weight: 700; }
.schedule-pick .schedule-times { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0; }

/* Automatic updates and smoother e-transfer (ux-v55) */
.chat-bubble.chat-update { align-self: center; max-width: min(520px, 100%); border: 1.5px dashed rgba(45,41,38,.35); background: #fffbea; box-shadow: none; text-align: left; }
.chat-bubble.chat-update strong { color: #7a5b00; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; }
.etransfer-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 8px; }
.etransfer-steps li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; align-items: center; padding: 10px 12px; border: 1.5px solid rgba(45,41,38,.15); border-radius: 12px; background: var(--company-paper); }
.etransfer-steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--company-ink); color: var(--company-gold); font-weight: 900; font-size: 13px; }
.etransfer-step-label { font-size: 12px; color: var(--company-muted); }
.etransfer-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.etransfer-copy strong { font-size: 15px; overflow-wrap: anywhere; }
.etransfer-copy .btn { min-height: 34px; padding: 6px 12px; }
.etransfer-declare { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(45,41,38,.12); }
.etransfer-waiting { border-color: var(--company-ink); background: #fffbea; }
.etransfer-waiting p { margin: 0; }
.staff-guardian-location { display: grid; gap: 6px; margin: 12px 0; padding: 12px; border: 1.5px solid rgba(45,41,38,.15); border-radius: 12px; background: var(--company-cream); } .staff-guardian-location p { margin: 0; }

/* Payroll hours */
.pay-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.pay-range { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 8px; }
.pay-range .field { min-width: 150px; flex: 1 1 150px; }
.pay-result-title { margin: 18px 0 8px; font-size: 16px; }
.pay-warning { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff3cd; border: 1px solid rgba(45,41,38,.25); }
.pay-downloads { margin-top: 14px; }
