.workspace.page-requests,
.workspace.page-request-settings {
  display: block;
  max-width: none;
  color: var(--request-text);
  background: var(--request-bg);
  font-family: var(--request-font-sans);
  -webkit-font-smoothing: antialiased;
}
.workspace.page-requests {
  height: calc(100vh - 88px);
  padding: 0 14px 14px;
}
.workspace.page-request-settings {min-height: calc(100vh - 130px);padding: 20px}
.requests-scope *, .requests-scope *::before, .requests-scope *::after {box-sizing: border-box}
.requests-scope button,.requests-scope input,.requests-scope select,.requests-scope textarea {font-family: inherit}
.requests-scope .request-num,
.requests-scope time,
.requests-scope .request-column h2 b,
.requests-scope input[type="number"] {font-family: var(--request-font-sans);font-variant-numeric: tabular-nums;letter-spacing: -.01em}
.requests-scope .primary {background: var(--request-accent);border-color: var(--request-accent);color: var(--request-on-accent);border-radius: var(--request-radius-pill);font-weight: 700}
.requests-scope .primary:hover {background: var(--request-accent-hover);border-color: var(--request-accent-hover)}
.requests-scope .ghost {background: transparent;border-color: var(--request-border);color: var(--request-muted);border-radius: var(--request-radius-pill)}
.requests-scope .ghost:hover {background: var(--request-surface-muted);color: var(--request-text)}
.requests-scope button:focus-visible,.requests-scope input:focus-visible,.requests-scope select:focus-visible,.requests-scope textarea:focus-visible {outline: 2px solid var(--request-accent);outline-offset: 2px}

.requests-screen {display:grid;width:100%;max-width:100%;min-width:0;grid-template-rows:auto minmax(0,1fr);height:100%;gap:12px;background:var(--request-bg)}
.request-toolbar {display:flex;position:relative;align-items:center;gap:10px;min-height:56px;white-space:nowrap;overflow:visible;border-bottom:1px solid var(--request-border);background:var(--request-bg)}
.request-toolbar h1 {flex:none;margin:0 4px 0 0;font-size:17px;line-height:24px;font-weight:650;letter-spacing:-.01em}
.request-toolbar label {display:flex;align-items:center;gap:6px;margin:0}.request-toolbar label span {position:absolute;clip:rect(0 0 0 0)}
.request-toolbar input,.request-toolbar select {height:36px;min-width:0;border:1px solid var(--request-border);border-radius:var(--request-radius-pill);background:var(--request-surface);color:var(--request-text);padding:0 11px;font-size:12px}
.request-toolbar input::placeholder {color:var(--request-muted)}
.request-toolbar .request-search {position:relative;display:flex;flex:0 1 280px;align-self:center;align-items:center;width:280px;min-width:160px;max-width:280px;height:36px;border-radius:9px}.request-toolbar .request-search svg {position:absolute;left:11px;width:14px;height:14px;fill:none;stroke:var(--request-muted);stroke-width:2}.request-toolbar .request-search input {width:100%;height:36px;padding-left:32px;border-radius:9px}
.request-toolbar select {flex:0 1 126px;max-width:132px;text-overflow:ellipsis}
.request-scope,.request-class-segment {display:flex;flex:none;border:0;border-radius:9px;padding:3px;background:#eceae6}
.requests-scope .request-scope button,.requests-scope .request-class-segment button {height:28px;border:0;background:transparent;color:#5b5e63!important;padding:0 12px;border-radius:7px;font-size:12px}.requests-scope .request-scope button.active,.requests-scope .request-class-segment button.active {background:#fff!important;color:#1c1d1f!important;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.request-filters {position:relative;z-index:140;flex:none}.request-filters summary {display:flex;height:36px;align-items:center;padding:0 11px;border:1px solid var(--request-border);border-radius:9px;background:var(--request-surface);color:var(--request-muted);font-size:12px;cursor:pointer;list-style:none}.request-filters summary::-webkit-details-marker{display:none}.request-filters>div {position:absolute;z-index:141;top:42px;right:0;display:grid;gap:8px;width:210px;padding:10px;border:1px solid var(--request-border);border-radius:10px;background:var(--request-surface);box-shadow:var(--request-shadow-card)}.request-filters select{width:100%;max-width:none}.request-toolbar-spacer{flex:1 1 auto}.request-overdue-count{flex:none;color:var(--request-muted);font-size:12px}.request-overdue-count b{color:var(--request-danger)}
.request-theme-toggle {flex:none;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--request-border);border-radius:var(--request-radius-pill);background:transparent;color:var(--request-muted);cursor:pointer}.request-theme-toggle:hover {background:var(--request-surface-muted);color:var(--request-text)}
.request-new {flex:none;height:36px;padding:0 14px!important;border:0!important;border-radius:9px!important;background:#1c1d1f!important;color:#fff!important;font-weight:600!important}

body.requests-page-active .header-identity {display:none}
body.requests-page-active .app-header {height:56px;gap:10px}
body.requests-page-active .app-header>.request-toolbar {flex:1 1 auto;width:auto;min-width:0;height:55px;min-height:55px;border:0;background:transparent}
body.requests-page-active .app-header>.session {flex:0 1 auto;min-width:0}
body.requests-page-active .requests-screen:not(:has(> .request-toolbar)) {grid-template-rows:minmax(0,1fr)}

.request-columns {display:grid;width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(200px,.78fr) repeat(4,minmax(240px,1fr));grid-auto-rows:minmax(320px,1fr);align-items:stretch;gap:12px;min-height:0;overflow-x:auto;overflow-y:auto;overscroll-behavior-x:contain}
.request-column {position:relative;display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;border:0;border-radius:6px;background:var(--request-column-bg);overflow:visible}
.request-column:has(.request-board-card:is(.is-priority,.is-urgent)){z-index:1}
.request-column>header {display:flex;align-items:center;padding:6px 4px 2px;background:transparent}
.request-column h2 {display:flex;align-items:center;gap:8px;font-size:12.5px;line-height:18px;font-weight:600;margin:0;white-space:nowrap}.request-column h2::before {content:"";width:7px;height:7px;border-radius:50%;background:var(--request-muted)}
.request-column[data-request-status="new"] h2::before {background:var(--request-accent)}
.request-column[data-request-status="in_progress"] h2::before {background:var(--request-info)}
.request-column[data-request-status="ready"] h2::before {background:var(--request-warn)}
.request-column[data-request-status="agreed"] h2::before {background:var(--request-ok)}
.request-column[data-request-status="rejected"] h2::before {background:var(--request-danger)}
.request-column h2 b {color:var(--request-muted);font-weight:500}
.request-ready-sent-count{display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:var(--request-muted);font-size:10.5px;line-height:16px;font-weight:500;white-space:nowrap}
.request-column-scroll {display:flex;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;padding:16px 16px 20px}
.request-column-scroll>.request-column-empty {color:var(--request-muted);font-size:12px;text-align:center;margin:10px 0;padding:4px 0;border:0;background:transparent}
.request-board-card {position:relative;display:grid;width:100%;min-width:0;flex:0 0 auto;grid-template-rows:minmax(0,1fr) 30px;padding:0;overflow:hidden;text-align:left;border:0;background:var(--request-surface);color:var(--request-text);cursor:pointer;box-shadow:0 0 0 .5px rgba(28,28,26,.11),0 1px 1.5px rgba(28,28,26,.06),0 2px 6px -3px rgba(28,28,26,.08)}
.request-board-card:is(.is-priority,.is-urgent){z-index:2}
.request-board-card:hover,.request-board-card:focus-visible {border-color:transparent}
.requests-scope .request-board-card:focus:not(:focus-visible),.overview-request-cards .request-board-card:focus:not(:focus-visible),.requests-scope .request-board-card[data-pointer-focus]:focus,.overview-request-cards .request-board-card[data-pointer-focus]:focus{outline:none!important}
.requests-scope .request-board-card:focus-visible,.overview-request-cards .request-board-card:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.request-board-card.request-live {background:var(--request-surface)}
.request-board-card.is-priority {box-shadow:0 0 0 1px rgba(196,80,26,.6),0 0 10px 1px rgba(196,80,26,.24),0 1px 1.5px rgba(28,28,26,.06),0 2px 6px -3px rgba(28,28,26,.08)}
.request-board-card.is-hot-request{z-index:2;box-shadow:0 0 0 1px rgba(179,53,45,.72),0 0 12px 2px rgba(179,53,45,.28),0 1px 1.5px rgba(28,28,26,.06),0 2px 6px -3px rgba(28,28,26,.08)!important}
[data-crm-theme="dark"] .request-board-card.is-hot-request{box-shadow:0 0 0 1px rgba(240,127,118,.72),0 0 12px 2px rgba(240,127,118,.3),0 1px 2px rgba(0,0,0,.4),0 4px 10px -4px rgba(0,0,0,.5)!important}
[data-crm-theme="dark"] .request-board-card.is-priority {box-shadow:0 0 0 1px rgba(233,130,79,.6),0 0 10px 1px rgba(233,130,79,.24),0 1px 2px rgba(0,0,0,.4),0 4px 10px -4px rgba(0,0,0,.5)}
.request-board-card.is-urgent.is-priority {animation:request-card-priority-urgent 1.4s ease-in-out infinite}
.request-board-card.is-urgent:not(.is-priority) {animation:request-card-urgent 1.4s ease-in-out infinite}
.request-card-body {display:flex;min-height:0;flex:1;flex-direction:column;gap:10px;padding:14px}
.request-class-sr {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.request-board-card header {display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin:0}.request-board-card header strong {overflow:hidden;font-size:14.5px;line-height:20px;font-weight:650;text-overflow:ellipsis}.request-board-card header span {flex:none;color:var(--request-muted);font-size:12px;font-weight:500}.request-board-card .request-num{display:inline-flex;align-items:center;gap:5px}.request-type-badge{display:inline-flex;align-items:center;min-height:18px;padding:0 6px;border:1px solid var(--request-border);border-radius:6px;background:var(--request-surface-muted);color:var(--request-muted);font-size:9.5px;font-weight:600}
.request-kind-badge,.request-status-badge {display:inline-flex;align-items:center;min-height:21px;padding:0 8px;border:1px solid var(--request-border);border-radius:var(--request-radius-pill);background:var(--request-surface-muted);color:var(--request-muted);font-size:10.5px;line-height:1;font-weight:600;white-space:nowrap}
.request-route-card {display:grid;grid-template-columns:1fr;gap:6px;padding:9px 10px;border-radius:9px;background:var(--request-surface-muted)}
.request-route-point {position:relative;display:grid;grid-template-columns:12px minmax(0,1fr);gap:7px;align-items:center;font-size:13px;line-height:17px}.request-route-point i {width:8px;height:8px;margin-left:1px;border:1.5px solid var(--request-muted);border-radius:50%}.request-route-point.finish i {border:0;background:var(--request-text)}.request-route-point.start::after {content:"";position:absolute;left:4px;top:12px;width:1px;height:10px;background:var(--request-border-strong)}.request-route-card small {padding-left:19px;color:var(--request-muted);font-size:12px}
.request-route-point span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-route-point b {font-weight:600}.request-route-point em {color:var(--request-muted);font-style:normal}.request-card-summary{display:flex;align-items:center;gap:8px;min-width:0}.request-card-facts {display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;margin:0;color:#4a4d52;font-size:12px;font-weight:500;line-height:16px;white-space:nowrap}.request-card-facts>span {flex:none;padding:2px 7px;border-radius:6px;box-shadow:inset 0 0 0 1px var(--request-border)}.request-card-facts>.is-vehicle{min-width:0;overflow:hidden;text-overflow:ellipsis}.request-card-facts .request-rejection-reason{min-width:0;overflow:hidden;background:var(--request-danger-soft);color:var(--request-danger);text-overflow:ellipsis;box-shadow:none}.request-card-values{display:inline-flex;flex:none;align-items:baseline;gap:9px;margin-left:auto;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}.request-card-customer-price{color:#2f7a55;font-size:13px;font-weight:700}.request-card-cost-price{color:#c4501a;font-weight:500}.request-new{margin-right:8px}.request-client-panel button{display:grid;justify-items:start;gap:2px;text-align:left}.request-client-panel button span:last-child{font-size:15px}
[data-crm-theme="dark"] .request-card-customer-price{color:#4fa87a}[data-crm-theme="dark"] .request-card-cost-price{color:#e9824f}
.request-board-card footer .request-sla {margin-left:auto;text-align:right}
.request-warning-badge {display:inline-flex;align-items:center;min-height:20px;padding:1px 7px;border-radius:6px!important;background:var(--request-warn-soft);color:var(--request-warn);font-size:10.5px;line-height:15px;font-weight:650;white-space:nowrap;box-shadow:none!important}

/* Request card v23: three scan lines and a type-coded operational footer. */
.requests-screen{--request-card-ink:#18181a;--request-card-ink2:#4b4e53;--request-card-mut:#8c8f94;--request-card-mut2:#b4b5b8;--request-card-bg:#fff}
[data-crm-theme="dark"] .requests-screen{--request-card-ink:#f1f0ec;--request-card-ink2:#c4c2bd;--request-card-mut:#8e8d89;--request-card-mut2:#5e5d5a;--request-card-bg:#242423}
html[data-crm-theme] body .requests-screen .request-column{padding:12px 0 0!important;border-radius:6px!important;background:var(--request-column-bg)}
html[data-crm-theme] body .requests-screen .request-column>header{height:32px;min-height:32px;padding:0 16px 8px}
html[data-crm-theme] body .requests-screen .request-column-scroll{gap:12px;padding:16px 16px 20px}
html[data-crm-theme] body .requests-screen .request-board-card{border:0;border-radius:6px!important;background:var(--request-card-bg);color:var(--request-card-ink);box-shadow:0 0 0 .5px rgba(28,28,26,.11),0 1px 1.5px rgba(28,28,26,.06),0 2px 6px -3px rgba(28,28,26,.08)}
html[data-crm-theme="dark"] body .requests-screen .request-board-card{box-shadow:0 0 0 .5px rgba(255,255,255,.09),0 1px 2px rgba(0,0,0,.4),0 4px 10px -4px rgba(0,0,0,.5)}
html[data-crm-theme] body .requests-screen .request-board-card.is-priority{box-shadow:0 0 0 1px rgba(196,80,26,.6),0 0 10px 1px rgba(196,80,26,.24),0 1px 1.5px rgba(28,28,26,.06),0 2px 6px -3px rgba(28,28,26,.08)}
html[data-crm-theme="dark"] body .requests-screen .request-board-card.is-priority{box-shadow:0 0 0 1px rgba(233,130,79,.6),0 0 10px 1px rgba(233,130,79,.24),0 1px 2px rgba(0,0,0,.4),0 4px 10px -4px rgba(0,0,0,.5)}
.request-card-v23-body{width:100%;min-width:0;min-height:0;gap:5px;padding:10px 12px 9px}
.request-column:first-child .request-card-v23-body{padding-inline:8px}
.request-card-v23-row{display:flex;min-width:0;align-items:baseline;gap:10px;font-size:12px;line-height:17px}
.request-card-v23-main{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.request-card-route{display:flex;align-items:baseline;gap:6px;font-size:13.5px;letter-spacing:-.01em}.request-card-route strong{display:flex;flex:1;min-width:0;align-items:baseline;color:var(--request-card-ink);white-space:nowrap;font-weight:600}.request-card-route-city{min-width:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-card-route i{flex:none;margin:0 4px;color:var(--request-card-mut2);font-style:normal;font-weight:400}
.request-column:first-child .request-card-route{gap:4px;font-size:13px}.request-column:first-child .request-card-route i{margin-inline:2px}.request-column:first-child .request-card-via{padding-inline:4px}
.request-card-via{flex:none;padding:0 5px;border-radius:3px;color:var(--request-card-mut);font-size:11px;font-weight:500;box-shadow:inset 0 0 0 .5px var(--request-border)}
.request-card-distance{flex:none;color:var(--request-card-mut);font-size:11px;white-space:nowrap}
.request-card-vehicle{display:flex;color:var(--request-card-ink2);font-size:12px}.request-card-vehicle strong{flex:1;min-width:0;overflow:hidden;color:var(--request-card-ink);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.request-card-vehicle span{flex:none;white-space:nowrap}
.request-card-vehicle.is-overweight strong,.request-card-vehicle.is-overweight i{color:var(--state-warn,#9a6213)}.request-card-vehicle.is-overweight i{flex:none;margin-left:5px;font-style:normal}
.request-card-client{color:var(--request-card-ink2);font-size:12px}
.request-card-customer-price{flex:none;color:#26734f;font-size:14px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.request-card-no-price{flex:none;color:#9c6b12;font-size:11.5px;font-weight:500;white-space:nowrap}.request-card-cost-price{flex:none;color:#b8501e;font-size:12.5px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}.request-card-empty-price{flex:none;color:var(--request-muted);font-size:12.5px;white-space:nowrap}
[data-crm-theme="dark"] .request-card-customer-price{color:#5dbb8a}[data-crm-theme="dark"] .request-card-no-price{color:#e3b65c}[data-crm-theme="dark"] .request-card-cost-price{color:#e9824f}
.request-card-v23-footer{display:flex;width:100%;min-width:0;align-items:center;gap:8px;height:30px;min-height:30px;padding:0 12px;border:0!important;border-radius:0 0 6px 6px!important;font-size:11.5px}.request-card-v23-footer .crm-v3-owner{flex:1;min-width:0;overflow:hidden;color:inherit;text-overflow:ellipsis;white-space:nowrap}.request-card-v23-footer .crm-v3-owner.is-empty{opacity:.6}
.request-column:first-child .request-card-v23-footer{gap:4px;padding-inline:8px}
.request-card-v23-footer-live{background:#262624;color:#d7d5d0}.request-card-v23-footer-calculation{background:#1f2c38;color:#afc3d6}
[data-crm-theme="dark"] .request-card-v23-footer-live{background:#111110;color:#bdbbb6}[data-crm-theme="dark"] .request-card-v23-footer-calculation{background:#1d2833;color:#afc3d6;box-shadow:inset 0 .5px 0 rgba(175,195,214,.14)}
.request-card-comments{position:relative;display:flex;flex:none;align-items:center;gap:3px;color:inherit;opacity:.58;font-size:10.5px;font-variant-numeric:tabular-nums}.request-card-comments svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.request-card-comments b{font:inherit;font-weight:600}.request-card-comments.has-unread{opacity:1}.request-card-comments>i{position:absolute;top:-2px;right:-4px;width:6px;height:6px;border-radius:50%;background:#f2877c;animation:request-comment-pulse 1.4s ease-in-out infinite}@keyframes request-comment-pulse{0%,100%{opacity:.42}50%{opacity:1}}
.request-card-timer{display:flex;flex:none;width:96px;align-items:center;justify-content:flex-end;gap:6px;color:#eceae5;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.request-card-progress{flex:none;width:26px;height:4px;overflow:visible}.request-card-progress path{fill:none;stroke:rgba(255,255,255,.14);stroke-width:3;stroke-linecap:round}.request-card-v23-footer-calculation .request-card-progress path{stroke:rgba(175,195,214,.18)}.request-card-progress .value{stroke:#5dbb8a}.request-card-v23-footer-calculation .request-card-progress .value{stroke:#7fb6e6}.request-card-timer.is-warning{color:#f2b65a}.request-card-timer.is-warning .value{stroke:#f2b65a}.request-card-timer.is-bad{color:#f2877c}.request-card-timer.is-bad .value{stroke:#f2877c}.request-card-timer.is-neutral{color:var(--request-muted)}
.request-card-result{flex:none;max-width:150px;overflow:hidden;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.request-card-result.is-agreed{color:#5dbb8a}.request-card-result.is-rejected{color:#f2877c}
.request-card-send-state{display:flex;flex:none;width:auto;min-width:96px;align-items:center;justify-content:flex-end;gap:5px;border:0;background:transparent;color:inherit;font:inherit;font-size:10.5px;line-height:14px;white-space:nowrap;font-variant-numeric:tabular-nums}.request-card-send-state svg{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.request-card-send-state span{min-width:0;overflow:hidden;text-overflow:ellipsis}.request-card-send-state small{color:inherit;font:inherit;opacity:.58}.request-card-send-state b{font-weight:650}.request-card-send-state.is-unsent{height:28px;padding:0;color:#f2b65a;cursor:pointer}.request-card-send-state.is-unsent svg{opacity:.55}.request-card-send-state.is-unsent:hover,.request-card-send-state.is-unsent:focus-visible{color:#ffd087}.request-card-send-state.is-unsent:focus-visible{outline:2px solid currentColor;outline-offset:-2px;border-radius:6px}.request-card-send-state.is-unsent[aria-busy="true"]{opacity:.6;cursor:wait}.request-card-v23-footer-live .request-card-send-state.is-sent{color:#9fd3b6}.request-card-v23-footer-calculation .request-card-send-state.is-sent{color:#7fb6e6}.request-card-send-state.is-waiting-overdue{color:#f2b65a!important}
.request-card-send-state.is-disabled{opacity:.48;cursor:not-allowed}
.request-board-card:has(.request-send-confirm){z-index:4;overflow:visible}
.request-send-confirm{position:absolute;z-index:12;right:8px;bottom:26px;display:grid;width:218px;gap:8px;padding:10px;border:1px solid var(--request-border);border-radius:10px;background:var(--request-surface);color:var(--request-text);box-shadow:0 16px 32px -14px rgba(0,0,0,.4);font-size:11.5px;line-height:16px}.request-send-confirm b{font-weight:650}.request-send-confirm footer{display:flex;justify-content:flex-end;gap:6px}.request-send-confirm button{height:28px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:var(--request-muted);font:inherit;cursor:pointer}.request-send-confirm button[data-request-send-confirm]{background:var(--request-pill);color:var(--request-on-pill);font-weight:600}
.request-undo-notice{display:inline-flex;align-items:center;gap:8px}.request-undo-notice button{height:26px;padding:0 8px;border:0;border-radius:7px;background:transparent;color:var(--request-accent-text);font:inherit;font-weight:600;cursor:pointer}.request-undo-notice button:hover{background:var(--request-accent-soft)}
.request-board-card.is-closed .request-card-customer-price,.request-board-card.is-closed .request-card-cost-price,.request-board-card.is-closed .request-card-no-price{color:var(--request-muted)}
@keyframes request-card-priority-urgent{0%,100%{box-shadow:0 0 0 1px rgba(179,53,45,.45),0 0 6px 0 rgba(179,53,45,.15)}50%{box-shadow:0 0 0 1.5px rgba(179,53,45,.95),0 0 12px 2px rgba(179,53,45,.42)}}
@keyframes request-card-urgent{0%,100%{box-shadow:0 0 0 .5px rgba(28,28,26,.11),0 0 6px 0 rgba(226,146,40,.10)}50%{box-shadow:0 0 0 1.5px rgba(226,146,40,.95),0 0 12px 2px rgba(226,146,40,.40)}}
@keyframes request-card-priority-urgent-dark{0%,100%{box-shadow:0 0 0 1px rgba(240,127,118,.45),0 0 6px 0 rgba(240,127,118,.15)}50%{box-shadow:0 0 0 1.5px rgba(240,127,118,.95),0 0 12px 2px rgba(240,127,118,.42)}}
@keyframes request-card-urgent-dark{0%,100%{box-shadow:0 0 0 .5px rgba(255,255,255,.09),0 0 6px 0 rgba(242,182,90,.10)}50%{box-shadow:0 0 0 1.5px rgba(242,182,90,.95),0 0 12px 2px rgba(242,182,90,.40)}}
[data-crm-theme="dark"] .request-board-card.is-urgent.is-priority{animation-name:request-card-priority-urgent-dark}
[data-crm-theme="dark"] .request-board-card.is-urgent:not(.is-priority){animation-name:request-card-urgent-dark}

.request-drawer-backdrop {position:fixed;z-index:1000;inset:0;border:0;background:var(--request-overlay);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.request-deadline-control .request-urgent-switch{margin-left:8px;padding-left:14px;border-left:1px solid var(--request-border)}
.request-drawer {position:fixed;z-index:1001;top:24px;left:50%;right:auto;box-sizing:border-box;width:min(1180px,calc(100vw - 48px));max-width:1180px;height:min(860px,calc(100dvh - 48px));max-height:min(860px,calc(100dvh - 48px));border:1px solid var(--request-border);border-radius:16px;overflow:hidden;background:var(--request-surface);color:var(--request-text);font-family:var(--request-font-sans);box-shadow:var(--request-shadow);transform:translate(-50%,8px);opacity:0;transition:transform .2s cubic-bezier(.2,.7,.2,1),opacity .18s ease;display:grid;grid-template-rows:auto minmax(0,1fr)}
.request-drawer.open {transform:translate(-50%,0);opacity:1}.request-drawer:focus:not(:focus-visible){outline:0}.request-drawer-head {position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:5px;border-bottom:1px solid var(--request-border);padding:12px 18px;background:var(--request-surface)}.request-drawer-head strong {flex:1}.request-drawer-head button {display:grid;place-items:center;min-width:34px;min-height:34px;padding:0}
#requestDrawerBody {overflow-y:auto;background:var(--request-bg)}.request-sheet-content {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px;padding:0 20px 22px}.request-sheet-content>section {border:1px solid var(--request-border);border-radius:var(--request-radius-lg);background:var(--request-surface);padding:16px 20px;box-shadow:var(--request-shadow-card)}
.request-sheet-summary {position:sticky;top:0;z-index:1;grid-column:1/-1;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:0 -20px;padding:14px 20px!important;border-width:0 0 1px!important;border-radius:0!important}.request-sheet-kicker {display:flex;align-items:center;gap:7px}.request-sheet-summary h2 {margin:8px 0 0;font-size:25px;line-height:31px;font-weight:600;letter-spacing:-.02em}.request-owner {display:grid;grid-template-columns:auto auto;gap:5px 12px;align-content:start}.request-owner span {color:var(--request-muted);font-size:12px}.request-owner b {font-size:12px}
.request-sheet-route article {display:grid;grid-template-columns:30px 1fr;gap:9px;padding:7px 0}.request-sheet-route article>b {display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--request-pill);color:var(--request-on-pill);font-size:11px}.request-sheet-route article:not(:first-of-type)>b {background:transparent;color:var(--request-text);border:1px solid var(--request-border-strong)}.request-sheet-route time {display:block;color:var(--request-muted);font-size:12px}
.request-sheet-facts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.request-sheet-facts div {display:grid;gap:3px}.request-sheet-facts span:not(.request-warning-badge) {color:var(--request-muted);font-size:12px}.request-sheet-facts b {font-weight:600}
.request-offers {grid-column:1/-1}.request-offers article {border-top:1px solid var(--request-border);padding:10px 0}.request-offers article header {display:flex;justify-content:space-between;align-items:center}.request-offers p {margin:5px 0}.request-offers small {color:var(--request-muted)}.request-offer-version {font-size:11px!important;font-weight:500;text-transform:uppercase;letter-spacing:.05em}
.request-actions {grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
.request-activity {grid-column:1/-1}.request-activity ol {list-style:none;margin:0;padding:0}.request-activity li {display:grid;grid-template-columns:minmax(120px,1fr) 2fr auto;gap:10px;padding:8px 0;border-top:1px solid var(--request-border);font-size:13px}.request-activity time {color:var(--request-muted)}

.request-settings {min-height:100%;color:var(--request-text);background:var(--request-bg);font-family:var(--request-font-sans)}.request-settings>header {display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.request-settings>header small {color:var(--request-muted)}.request-settings>header h2 {margin:3px 0 0;font-size:26px;line-height:32px}.request-settings-grid {display:grid;grid-template-columns:1fr 1fr;gap:14px}.request-settings section {border:1px solid var(--request-border);border-radius:var(--request-radius-lg);background:var(--request-surface);padding:16px 20px;box-shadow:var(--request-shadow-card)}.request-settings section>header {display:flex;justify-content:space-between;align-items:center}.request-settings table {width:100%;border-collapse:collapse}.request-settings td {border-top:1px solid var(--request-border);padding:10px 4px}.request-settings td:last-child {text-align:right}.request-settings button {margin-left:5px}.request-settings td button {min-height:30px;padding:5px 9px;border:1px solid var(--request-border);border-radius:var(--request-radius-pill);background:transparent;color:var(--request-muted)}.request-settings td button:hover {background:var(--request-surface-muted);color:var(--request-text)}.request-settings td button[data-setting-delete] {color:var(--request-danger)}
.request-form-dialog {width:min(680px,calc(100vw - 24px));max-height:calc(100vh - 24px);border:1px solid var(--request-border);border-radius:var(--request-radius-lg);padding:0;background:var(--request-bg);color:var(--request-text);font-family:var(--request-font-sans);box-shadow:var(--request-shadow)}.request-form-dialog::backdrop {background:var(--request-overlay)}
.request-form-dialog.request-reject-dialog {width:min(520px,calc(100vw - 24px))}
.request-form-dialog form {display:grid;gap:10px;padding:14px 20px}.request-form-dialog label {color:var(--request-muted)}.request-form-dialog input,.request-form-dialog select,.request-form-dialog textarea {border-color:var(--request-border-strong);background:var(--request-surface-muted);color:var(--request-text)}.request-form-dialog .request-client-results {display:grid;gap:4px}.request-client-results button {text-align:left}.request-point-head,.request-point-row{display:grid;grid-template-columns:22px minmax(0,1fr) 200px 28px;column-gap:8px}.request-point-head{align-items:end;margin:0 0 6px;color:var(--request-muted);font-size:11.5px;font-weight:500}.request-point-head b{font:inherit}.request-point-head small{font:inherit}.request-points{display:grid;gap:14px}.request-point-row{align-items:start}.request-point-row>.crm-icon-button{align-self:start;margin-top:2px}.request-point-row b {align-self:center}.request-settlement-help{display:flex;align-items:center;justify-content:space-between;gap:8px;height:18px;overflow:hidden}.request-settlement-help small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-address-toggle{flex:none;min-height:18px!important;height:18px!important;padding:0!important}.request-point-date{display:block;min-width:0}.request-point-row .crm-field-error{display:block;margin-top:2px}.request-form-error {color:var(--request-danger);min-height:20px}
@media (hover:hover) and (pointer:fine) {
  .request-board-card[data-request-drag-targets] {touch-action:pan-y}
}
.request-board-card.request-dragging {opacity:.35;filter:grayscale(1);transition:opacity 120ms ease-out}
.request-board-card.request-take-pending {position:relative;pointer-events:none;opacity:.62}
.request-board-card.request-take-pending::before {content:"";position:absolute;z-index:2;right:0;bottom:0;left:0;height:2px;background:linear-gradient(90deg,transparent,var(--request-accent),transparent);background-size:45% 100%;animation:request-pending-line 1.2s linear infinite}
.request-board-card.request-take-pending .crm-v3-card-footer>* { opacity:0; }
.request-board-card.request-take-pending::after {content:"Принимаем…";position:absolute;right:13px;bottom:9px;color:var(--request-accent-text);font-size:11px;font-weight:600}
.request-column.request-drop-available {background:color-mix(in srgb,var(--request-accent) 3%,transparent)}
.request-column.request-drop-over {border-color:transparent;background:rgba(196,80,26,.05);box-shadow:inset 0 0 0 1.5px rgba(196,80,26,.35)}
.request-drop-slot {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:120px;padding:0 16px;border:1.5px dashed var(--request-accent);border-radius:12px;background:color-mix(in srgb,var(--request-accent) 4%,transparent);color:var(--request-accent-text);text-align:center;animation:request-slot-open 180ms ease-out}
.request-drop-slot span {font-size:20px}.request-drop-slot b {font-size:12px;font-weight:600}
.request-board-card.request-drag-return {animation:request-drag-return 200ms ease-out}
.request-board-card.request-transfer-complete {animation:request-transfer-complete .9s ease-out}
@keyframes request-pending-line {from {background-position:-80% 0} to {background-position:180% 0}}
@keyframes request-slot-open {from {max-height:0;min-height:0;opacity:0} to {max-height:260px;opacity:1}}
@keyframes request-drag-return {from {transform:translateY(-5px);opacity:.62} to {transform:none;opacity:1}}
@keyframes request-transfer-complete {
  0% {box-shadow:0 0 0 6px rgba(196,80,26,.18)}
  100% {box-shadow:0 0 0 0 rgba(196,80,26,0)}
}

@media (max-width: 1100px) and (min-width: 701px) {
  .request-toolbar {gap:6px}.request-toolbar .request-search {min-width:120px}.request-scope button,.request-class-segment button {padding-inline:8px}.request-new {padding-inline:11px!important}
}
@media (min-width:901px) and (max-width:1320px) {
  body.requests-page-active .app-header {height:108px;min-height:108px;align-items:flex-start;padding-block:5px}
  body.requests-page-active .app-header>.session {flex:none;margin-top:4px}
  body.requests-page-active .app-header>.session #sessionLabel {display:none}
  body.requests-page-active .app-header>.request-toolbar {display:flex;flex:1 1 auto;flex-wrap:wrap;align-content:center;width:auto;height:98px;min-height:98px}
  body.requests-page-active .request-toolbar>h1,
  body.requests-page-active .request-class-segment,
  body.requests-page-active .request-scope,
  body.requests-page-active .request-search,
  body.requests-page-active .request-new {order:1}
  body.requests-page-active .request-toolbar-spacer {order:2;flex:0 0 100%;height:0}
  body.requests-page-active .request-filters,
  body.requests-page-active .request-overdue-count {order:3}
  body.requests-page-active>main {padding-top:118px}
  .workspace.page-requests {height:calc(100vh - 132px)}
  .request-toolbar {gap:7px}.request-toolbar .request-search {flex-basis:160px;width:160px;min-width:160px;max-width:160px}.request-scope button,.request-class-segment button {padding-inline:9px}
  .request-card-v23-row:first-child>.request-card-distance{display:none}
  .request-card-send-state.is-sent small{display:none}
}
@media (max-width: 700px) {
  body.requests-page-active .app-header {display:block;height:152px;min-height:152px;padding:8px 12px}
  body.requests-page-active .app-header>.session {display:none}
  body.requests-page-active .app-header>.request-toolbar {display:flex;width:100%;height:136px;min-height:136px;padding:0;align-content:center}
  body.requests-page-active>main {padding-top:152px}
  body.requests-page-active>main {max-width:100vw;overflow-x:hidden}
  .workspace.page-requests {width:100%;max-width:100%;min-width:0;height:calc(100dvh - 152px);padding:0 8px 8px;overflow:hidden}
  .requests-screen {width:100%;max-width:100%;min-width:0}
  .request-toolbar {flex-wrap:wrap;overflow:visible;min-height:56px;padding:7px 0;scrollbar-width:none}.request-toolbar>* {flex:0 0 auto}.request-toolbar h1 {padding-right:8px;background:var(--request-bg)}.request-toolbar .request-search {order:5;width:calc(100vw - 102px);max-width:none;flex:1 1 calc(100vw - 102px)}.request-toolbar .request-filters{order:6}.request-toolbar .request-toolbar-spacer,.request-toolbar .request-overdue-count{display:none}.request-toolbar .request-new {margin-left:auto}
  .request-columns {width:100%;max-width:100%;min-width:0;grid-auto-flow:column;grid-auto-columns:100%;grid-template-columns:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}.request-columns::-webkit-scrollbar{display:none}.request-column {scroll-snap-align:start;scroll-snap-stop:always}
  .request-drawer {top:0;left:0;width:100vw;height:100dvh;border:0;border-radius:0;transform:translateY(8px)}.request-drawer.open {transform:none}.request-drawer-head {padding-top:max(10px,env(safe-area-inset-top))}.request-sheet-content {grid-template-columns:1fr;padding-inline:12px}.request-sheet-summary {display:grid;margin-inline:-12px;padding-inline:12px!important}.request-sheet-route,.request-sheet-facts {grid-column:1}.request-sheet-facts {grid-template-columns:1fr}.request-activity li {grid-template-columns:1fr}.request-actions button {min-height:44px;flex:1 1 46%}
  .request-settings-grid {grid-template-columns:1fr}
}
@media (prefers-reduced-motion: reduce) {
  .request-drawer,.request-board-card,.request-drop-slot {transition:none!important;animation:none!important}
  .request-board-card.request-take-pending::before {display:none}
  html[data-crm-theme] body .request-board-card.is-urgent.is-priority{box-shadow:0 0 0 1.5px rgba(179,53,45,.95),0 0 12px 2px rgba(179,53,45,.42)}
  html[data-crm-theme] body .request-board-card.is-urgent:not(.is-priority){box-shadow:0 0 0 1.5px rgba(226,146,40,.95),0 0 12px 2px rgba(226,146,40,.40)}
  html[data-crm-theme="dark"] body .request-board-card.is-urgent.is-priority{box-shadow:0 0 0 1.5px rgba(240,127,118,.95),0 0 12px 2px rgba(240,127,118,.42)}
  html[data-crm-theme="dark"] body .request-board-card.is-urgent:not(.is-priority){box-shadow:0 0 0 1.5px rgba(242,182,90,.95),0 0 12px 2px rgba(242,182,90,.40)}
}

/* Request window and form controls v3. Kept in the request scope so the rest of CRM is unchanged. */
.request-form-dialog {width:min(640px,calc(100vw - 24px));border:0;border-radius:16px;background:var(--request-surface);box-shadow:0 30px 60px -20px rgba(0,0,0,.35);overflow:visible}
.request-form-dialog::backdrop {background:rgba(28,29,31,.38);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.request-form-dialog form {max-height:calc(100dvh - 40px);display:flex;flex-direction:column;gap:0;padding:0;overflow:visible}
.request-form-dialog .dialog-head {display:flex;align-items:flex-start;gap:12px;padding:18px 22px 14px;border-bottom:1px solid var(--request-border)}
.request-form-dialog .dialog-head h2 {flex:1;margin:0;font-size:18px;line-height:24px;font-weight:650}
.request-form-dialog .dialog-head .close,.crm-icon-button {display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--request-muted);font-size:20px}
.request-form-dialog .dialog-head .close:hover,.crm-icon-button:hover {background:var(--request-surface-muted);color:var(--request-text)}
#requestActionBody {display:flex;flex-direction:column;gap:10px;min-height:0;padding:12px 22px 0;overflow-y:auto}
.request-dialog-subtitle {margin:0;color:var(--request-muted);font-size:12px}
.request-form-dialog label,.request-form-section>label {display:grid;gap:6px;color:var(--request-muted);font-size:12px;line-height:16px}
.request-form-dialog input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),.request-form-dialog textarea,.crm-select-trigger {width:100%;min-height:40px;padding:0 12px;border:0;border-radius:9px;box-shadow:inset 0 0 0 1px var(--request-border);background:var(--request-surface);color:var(--request-text);font:inherit;font-size:13.5px}
.request-form-dialog textarea {min-height:64px;padding-block:10px;resize:vertical}
.request-form-dialog input:hover,.request-form-dialog textarea:hover,.crm-select-trigger:hover {box-shadow:inset 0 0 0 1px var(--request-border-strong)}
.request-form-dialog input:focus-visible,.request-form-dialog textarea:focus-visible,.crm-select-trigger:focus-visible {outline:0;box-shadow:inset 0 0 0 1.5px #c4501a,0 0 0 3px rgba(196,80,26,.15)}
.crm-field-hint {color:#c98a2b;font-size:11.5px;font-weight:500}.crm-custom-select.is-warning .crm-select-trigger {box-shadow:inset 0 0 0 1.5px #c98a2b}.crm-field-error{display:block;color:#b4372f;font-size:11.5px}.request-form-dialog .is-error,.request-form-dialog [aria-invalid="true"]{box-shadow:inset 0 0 0 1.5px #b4372f!important}
.request-history-sources{margin-top:8px}.request-history-sources>summary{cursor:pointer;color:var(--request-muted);font-size:12px}.request-history-sources>div{max-width:100%;overflow:auto}.request-history-sources table{width:100%;margin-top:8px;border-collapse:collapse;font-size:11.5px;white-space:nowrap}.request-history-sources th,.request-history-sources td{padding:6px 8px;border-bottom:1px solid var(--request-line);text-align:left}.request-history-sources th{color:var(--request-muted);font-weight:500}
.crm-segmented {position:relative;display:inline-grid;grid-template-columns:140px 140px;gap:0;width:max-content;max-width:100%;min-height:38px;padding:3px;border-radius:9px;background:var(--request-surface-muted);isolation:isolate}.crm-segmented::before{content:"";position:absolute;z-index:0;inset:3px auto 3px 3px;width:calc(50% - 3px);border-radius:7px;background:var(--request-surface);box-shadow:0 1px 2px rgba(0,0,0,.06);transition:transform .18s ease}.crm-segmented:has(input[value="calculation"]:checked)::before{transform:translateX(100%)}.crm-segmented label {position:relative;z-index:1;display:block}.crm-segmented input {position:absolute;opacity:0}.crm-segmented span {display:grid;place-items:center;height:32px;border-radius:7px;color:var(--request-muted);font-size:13px}.crm-segmented input:checked+span {color:var(--request-text);font-weight:600}.crm-segmented input:focus-visible+span{outline:2px solid var(--request-accent);outline-offset:-2px}
.crm-custom-select {position:relative}.crm-select-trigger {display:flex;align-items:center;justify-content:space-between;text-align:left}.crm-select-trigger i {font-style:normal;color:var(--request-muted)}
.crm-select-popover {position:absolute;z-index:120;top:calc(100% + 5px);left:0;right:0;padding:6px;border:1px solid var(--request-border);border-radius:10px;background:var(--request-surface);box-shadow:0 16px 36px -14px rgba(0,0,0,.35)}.crm-select-search {margin-bottom:5px}.crm-select-options {display:grid;max-height:220px;overflow-y:auto}.crm-select-options button,.crm-select-add {min-height:34px;padding:7px 9px;border:0;border-radius:7px;background:transparent;color:var(--request-text);text-align:left}.crm-select-options button:hover,.crm-select-options button[aria-selected="true"] {background:var(--request-surface-muted)}.crm-select-add {width:100%;border-top:1px solid var(--request-border);color:var(--request-accent-text)}
.crm-select-popover.is-dialog-floating{position:fixed;z-index:2147483000;right:auto}
.crm-inline-new-option {display:grid;grid-template-columns:1fr auto;gap:5px;padding:6px 0 0;border-top:1px solid var(--request-border)}.crm-inline-new-option input {min-width:0!important;height:34px!important;min-height:34px!important}.crm-inline-new-option button {border:0;border-radius:7px;background:#1c1d1f;color:#fff;font-weight:600}
.request-form-grid {display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}.request-form-grid>label{position:relative;min-height:0;padding-bottom:0;align-content:start}.request-form-grid>label:has(>.crm-field-hint:not(:empty)),.request-form-grid>label:has(>.crm-field-error){padding-bottom:16px}.request-form-grid>label>.crm-field-hint,.request-form-grid>label>.crm-field-error{position:absolute;left:0;bottom:0}.crm-number-field {position:relative;display:block}.crm-number-field>span {position:absolute;right:12px;top:11px;color:var(--request-muted);font-size:12px}.crm-number-field input {padding-right:38px!important;font-variant-numeric:tabular-nums}
.request-points {gap:14px}.request-point-row {grid-template-columns:22px minmax(0,1fr) 200px 28px;gap:8px;align-items:start}.request-point-handle {position:relative;width:22px;height:40px;padding:0;border:0;background:transparent;cursor:grab}.request-point-handle::before,.request-point-handle::after{content:"";position:absolute;left:10px;width:1px;background:var(--request-border-strong)}.request-point-handle::before{top:-8px;bottom:50%}.request-point-handle::after{top:50%;bottom:-8px}.request-point-row.is-first .request-point-handle::before,.request-point-row.is-last .request-point-handle::after{display:none}.request-point-marker{position:absolute;z-index:1;left:6px;top:16px;width:10px;height:10px;border:1.5px solid var(--request-muted);border-radius:50%;background:var(--request-surface)}.request-point-row.is-last .request-point-marker{border-color:var(--request-text);background:var(--request-text)}.request-point-row.is-intermediate .request-point-marker{left:8px;top:18px;width:6px;height:6px;border:0;background:var(--request-muted)}
.request-point-date{display:block;min-width:0}
.request-form-dialog .crm-segmented{min-height:36px}.request-form-dialog .crm-segmented label span{min-height:30px}.request-form-dialog textarea{min-height:54px}.request-header-sla.state-priced{border-color:var(--request-border);background:var(--request-surface-muted);color:var(--request-muted)}
.crm-quiet-button {padding:0;border:0;background:transparent;color:var(--request-accent-text);font:inherit;text-align:left;cursor:pointer}.request-form-section {display:grid;gap:8px}.request-new-client {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}.request-new-client[hidden]{display:none}.request-client-results {position:relative}.request-client-results:not(:empty){position:absolute;z-index:130;margin-top:64px;width:calc(100% - 44px);padding:6px;border:1px solid var(--request-border);border-radius:10px;background:var(--request-surface);box-shadow:0 16px 36px -14px rgba(0,0,0,.35)}.request-client-results button {display:block;width:100%;min-height:34px;padding:7px 9px;border:0;border-radius:7px;background:transparent;color:var(--request-text);text-align:left}.request-client-results button:hover{background:var(--request-surface-muted)}
.request-form-dialog .dialog-actions {position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;margin:2px -22px 0;padding:14px 22px;border-top:1px solid var(--request-border);background:var(--request-surface)}.request-form-dialog .dialog-actions button {min-height:38px;padding:0 16px;border:0;border-radius:9px;font-weight:600}.request-form-dialog .dialog-actions .secondary {background:var(--request-surface-muted);color:var(--request-text)}.request-form-dialog .dialog-actions .primary {background:var(--request-text);color:var(--request-surface)}.request-form-dialog .dialog-actions .danger-button {background:var(--request-danger-soft);color:var(--request-danger)}

.request-drawer {width:min(1180px,calc(100vw - 48px));max-width:1180px;background:var(--request-bg)}
.request-drawer-head {position:absolute;z-index:4;top:14px;right:18px;width:auto;padding:0;border:0;background:transparent}.request-drawer-head strong {display:none}.request-drawer-head button {width:32px;min-width:32px;height:32px;min-height:32px;border:0!important;border-radius:8px!important;background:var(--request-surface-muted)!important;color:var(--request-text)!important}
#requestDrawerBody {background:var(--request-bg)}.request-sheet-content {display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;padding:0 22px 22px}
.request-sheet-content>section {box-shadow:none}.request-sheet-summary {position:sticky;top:0;z-index:3;grid-column:1/-1;display:block;margin:0 -22px;padding:16px 154px 14px 22px!important;border:0!important;border-bottom:1px solid var(--request-border)!important;border-radius:0!important;background:var(--request-surface)!important}
.request-sheet-chips {display:flex;align-items:center;gap:7px;min-height:22px}.request-source-calculation{min-height:22px!important;height:22px!important;padding:0 7px!important;border:0!important;background:transparent!important;color:var(--request-muted)!important;font-size:11px!important}.request-source-calculation:hover{color:var(--request-accent-text)!important}.request-status-badge {gap:5px}.request-status-badge i {width:6px;height:6px;border-radius:50%;background:var(--request-muted)}.request-status-badge.status-ready i {background:var(--request-warn)}.request-status-badge.status-agreed i {background:var(--request-ok)}.request-status-badge.status-rejected i {background:var(--request-danger)}
.request-header-sla {display:inline-flex;align-items:center;min-height:23px;padding:0 9px;border-radius:11px;background:var(--request-surface-muted);color:var(--request-muted);font-size:11.5px}.request-header-sla.state-overdue,.request-header-sla.state-breached {background:#fae9e7;color:#b4372f}.request-header-sla.state-at_risk{background:var(--request-warn-soft);color:var(--request-warn)}
.request-sheet-title-row {display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:8px}.request-sheet-title-row h2 {margin:0;font-size:22px;line-height:28px;font-weight:650}.request-sheet-title-row p {margin:3px 0 0;color:var(--request-muted);font-size:12.5px}.request-owner-pill {display:grid;gap:1px;padding:7px 11px;border:0;border-radius:12px;background:var(--request-surface-muted);color:var(--request-text);text-align:left}.request-owner-pill small {color:var(--request-muted);font-size:9.5px}.request-owner-pill b {font-size:11.5px}
.request-sheet-main {display:grid;gap:14px;align-content:start}.request-sheet-side {display:grid;gap:14px;align-content:start}.request-sheet-main>section,.request-sheet-side>section {padding:16px 18px;border:1px solid var(--request-border);border-radius:12px;background:var(--request-surface);box-shadow:0 1px 2px rgba(0,0,0,.03)}.request-sheet-main h3,.request-sheet-side h3 {margin:0 0 12px;font-size:13px;font-weight:650}
.request-route-facts {display:grid;grid-template-columns:1fr 1fr;gap:24px}.request-route-pane article {position:relative;display:grid;grid-template-columns:12px 1fr;gap:8px;padding:4px 0 12px}.request-route-pane article i {width:9px;height:9px;margin-top:4px;border:1.5px solid var(--request-muted);border-radius:50%}.request-route-pane article i.finish {border:0;background:var(--request-text)}.request-route-pane article:not(:last-child)::after {content:"";position:absolute;left:4px;top:17px;bottom:0;width:1px;background:var(--request-border)}.request-route-pane strong {display:block;font-size:12.5px}.request-route-pane strong small{display:inline;color:var(--request-muted);font-size:11px;font-weight:500}.request-route-pane article>div>small{display:block;margin-top:2px;color:var(--request-muted);font-size:11px}.request-route-pane time {display:block;margin-top:2px;color:var(--request-muted);font-size:11px}.request-facts-pane dl {display:grid;gap:8px;margin:0}.request-facts-pane dl div {display:flex;justify-content:space-between;gap:12px;font-size:12px}.request-facts-pane dt {color:var(--request-muted)}.request-facts-pane dd {margin:0;text-align:right}.request-vehicle-inline {min-height:34px;margin-bottom:10px;padding:0 10px;border:1.5px solid #c98a2b;border-radius:9px;background:var(--request-warn-soft);color:var(--request-warn);font-weight:600}.request-inline-select {position:relative}.request-inline-select>div {position:absolute;z-index:5;top:38px;left:0;right:0;padding:5px;border:1px solid var(--request-border);border-radius:9px;background:var(--request-surface);box-shadow:var(--request-shadow)}.request-inline-select>div button {display:block;width:100%;padding:8px;border:0;border-radius:6px;background:transparent;color:var(--request-text);text-align:left}.request-inline-select>div button:hover{background:var(--request-surface-muted)}
.request-offers article {position:relative;display:grid;grid-template-columns:95px 1fr auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--request-border)}.request-offers article>div:first-child {display:grid}.request-offers article time{color:var(--request-muted);font-size:10.5px}.request-offers h3 small{color:var(--request-muted);font-size:10px;font-weight:500}.request-offers dl {display:flex;gap:22px;margin:0}.request-offers dl div {display:grid}.request-offers dt {color:var(--request-muted);font-size:10px}.request-offers dd {margin:2px 0 0;font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}.request-offer-state {padding:4px 7px;border-radius:6px;background:var(--request-surface-muted);color:var(--request-muted);font-size:10px}
.request-activity ol {margin:0;padding:0;list-style:none}.request-activity li {display:grid;grid-template-columns:120px 1fr;gap:10px;padding:7px 0;border-top:1px solid var(--request-border);font-size:11.5px}.request-activity time {color:var(--request-muted)}
.request-actions {display:block!important;min-height:112px}.request-actions .request-next-action {width:100%;min-height:40px;border:0!important;border-radius:9px!important;background:#1c1d1f!important;color:#fff!important}.request-action-complete{margin:0;padding:10px 12px;border-radius:9px;background:var(--request-ok-soft);color:var(--request-ok);font-size:12px;font-weight:600}.request-secondary-actions {display:flex;align-items:center;gap:7px;margin-top:8px}.request-secondary-actions:empty{display:none}.request-secondary-actions>button {min-height:34px;flex:1;border:0;border-radius:9px}.request-secondary-actions .secondary {background:var(--request-surface-muted);color:var(--request-text)}.request-more-menu{position:relative;margin-left:auto}.request-more-menu summary{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--request-border);border-radius:9px;background:var(--request-surface);color:var(--request-text);cursor:pointer;list-style:none}.request-more-menu summary::-webkit-details-marker{display:none}.request-more-menu>div,.request-more-popover{position:absolute;z-index:12;right:0;top:40px;display:grid;min-width:280px;padding:6px;border:1px solid var(--request-border);border-radius:10px;background:var(--request-surface);box-shadow:var(--request-shadow)}.request-more-popover{position:fixed;z-index:1200;right:auto;top:auto}.request-more-menu button,.request-more-popover button{display:grid;gap:2px;min-height:36px;padding:7px 9px;border:0;border-radius:7px;background:transparent;color:var(--request-text);text-align:left}.request-more-menu button:hover,.request-more-popover button:hover{background:var(--request-surface-muted)}.request-more-menu button.danger-button,.request-more-popover button.danger-button{color:var(--request-danger)}.request-more-menu button small,.request-more-popover button small{color:var(--request-muted);font-size:10.5px;font-weight:400;white-space:normal}.request-client-panel button{color:var(--request-text);font-weight:600}

@media (max-width:700px){.request-form-dialog {width:100vw;max-width:none;height:100dvh;max-height:none;border-radius:0}.request-form-dialog form{height:100dvh;max-height:none}.request-form-grid{grid-template-columns:1fr}.request-point-head,.request-point-row{grid-template-columns:22px minmax(0,1fr) minmax(124px,40%) 28px;gap:5px}.request-point-head{font-size:11px}.request-point-row>.crm-icon-button{margin-top:4px}.request-new-client{grid-template-columns:1fr}.request-drawer{top:0;left:0;width:100vw;height:100dvh;border:0;border-radius:0;transform:translateY(8px)}.request-drawer.open{transform:none}.request-sheet-content{display:block;padding:0 12px 100px}.request-sheet-summary{margin:0 -12px;padding:12px 112px 12px 12px!important}.request-sheet-title-row{display:block}.request-owner-pill{margin-top:10px}.request-sheet-main,.request-sheet-side{display:grid;gap:10px;margin-top:10px}.request-route-facts{grid-template-columns:1fr}.request-offers article{grid-template-columns:75px 1fr}.request-offer-state{grid-column:2}.request-sheet-side{position:sticky;bottom:0;z-index:2}.request-actions{background:var(--request-surface)!important}.request-client-panel{padding:10px 14px!important}.request-drawer-head{top:max(10px,env(safe-area-inset-top));right:10px}}

/* Shared dialog finish: integration, client, contact and follow-up forms use the same surface. */
dialog:not(.request-form-dialog) {border:0;border-radius:16px;background:var(--si-surface,#fff);color:var(--si-text,#1c1d1f);box-shadow:0 30px 60px -20px rgba(0,0,0,.35)}
dialog:not(.request-form-dialog)::backdrop {background:rgba(28,29,31,.38);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
dialog:not(.request-form-dialog) .crm-custom-select {margin:0}
dialog:not(.request-form-dialog) .crm-select-trigger {font-family:inherit}
dialog:not(.request-form-dialog) .dialog-actions button {min-height:38px;border-radius:9px}
.crm-datetime-control{position:relative;display:block}.crm-datetime-control>[data-crm-datetime]{padding-right:68px!important}.crm-datetime-trigger,.crm-datetime-clear{position:absolute;top:4px;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:var(--request-muted)}.crm-datetime-trigger{right:4px}.crm-datetime-clear{right:34px;font-size:17px}.crm-datetime-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.crm-datetime-trigger:hover,.crm-datetime-clear:hover{background:var(--request-surface-muted)}.crm-datetime-popover{position:fixed;z-index:2147483000;width:280px;padding:10px;border:1px solid var(--request-border);border-radius:12px;background:var(--request-surface);box-shadow:0 18px 42px -16px rgba(0,0,0,.4)}.crm-calendar-head{display:grid;grid-template-columns:32px 1fr 32px;align-items:center;text-align:center}.crm-calendar-head button,.crm-calendar-days button{border:0;border-radius:7px;background:transparent;color:inherit}.crm-calendar-week,.crm-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}.crm-calendar-week{margin:8px 0 4px;color:var(--request-muted);font-size:10px}.crm-calendar-days>*{min-width:0;min-height:30px}.crm-calendar-days button:hover,.crm-calendar-days button[aria-selected="true"]{background:var(--request-surface-muted)}.crm-calendar-days button[aria-selected="true"]{box-shadow:inset 0 0 0 1px var(--request-accent)}.crm-calendar-days button:disabled{opacity:.3;cursor:not-allowed}.crm-calendar-time{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid var(--request-border)}.crm-calendar-time input{min-width:0}.crm-calendar-time button{border:0;border-radius:8px;background:#1c1d1f;color:#fff;padding:0 12px}
@media(max-width:700px){dialog:not(.request-form-dialog){width:100vw!important;max-width:none!important;min-height:100dvh;margin:0;border-radius:0}dialog:not(.request-form-dialog) form{min-height:100dvh;padding-bottom:max(18px,env(safe-area-inset-bottom))}}
.request-price-fields{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(180px,.65fr);gap:12px}.request-price-fields label>small{color:var(--si-ink-faint);font-size:11.5px}.notice-link{padding:0;border:0;background:transparent;color:var(--si-accent-text);font:inherit;font-weight:600;cursor:pointer}
@media(max-width:700px){.request-price-fields{grid-template-columns:1fr}}

.request-client-field{position:relative;display:grid;gap:10px}.request-new-client-chip{display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:0 12px;border:1px solid var(--request-border);border-radius:9px;background:var(--request-surface-muted);color:var(--request-text);text-align:left}.request-new-client-chip[hidden]{display:none!important}.request-new-client-chip small{color:var(--request-accent-text)}.request-new-client{grid-template-columns:1fr;margin:0}.request-form-section,.request-form-dialog>form>#requestActionBody{row-gap:16px}.request-drag-price-fields{display:grid;gap:12px;padding-top:2px}.request-drag-price-fields .crm-custom-select,.request-drag-price-fields .crm-select-trigger,.request-drag-price-fields input{min-height:36px;height:36px}.request-price-fields{padding-top:2px}.request-price-fields .crm-select-trigger,.request-price-fields input{min-height:36px;height:36px}.request-offers dt small{color:var(--request-muted);font-size:9.5px;font-weight:500}.request-offers dd{white-space:nowrap}
.request-deadline-control{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:7px 10px;border:1px solid var(--request-border);border-radius:10px;background:var(--request-surface-muted)}.request-deadline-control>div:first-child{display:flex;align-items:center;gap:8px}.request-deadline-control small{color:var(--request-muted);font-size:10.5px}.request-deadline-control .crm-switch{display:inline-flex;align-items:center;gap:8px;color:var(--request-text)}.request-deadline-control .crm-switch input{position:absolute;width:1px;height:1px;opacity:0}.request-deadline-control .crm-switch span{position:relative;width:32px;height:18px;border-radius:9px;background:var(--request-border-strong);transition:background .16s ease}.request-deadline-control .crm-switch span::after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:var(--request-surface);box-shadow:0 1px 3px rgba(0,0,0,.16);transition:transform .16s ease}.request-deadline-control .crm-switch input:checked+span{background:var(--request-accent)}.request-deadline-control .crm-switch input:checked+span::after{transform:translateX(14px)}.request-deadline-control .crm-switch input:focus-visible+span{outline:3px solid rgba(196,80,26,.18);outline-offset:2px}.request-deadline-control .crm-switch b{font-size:12px;font-weight:600}.request-deadline-adjust{display:grid;grid-template-columns:28px minmax(112px,auto) 28px;align-items:center;gap:6px}.request-deadline-adjust[hidden]{display:none}.request-deadline-adjust button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid var(--request-border);border-radius:8px;background:var(--request-surface);color:var(--request-text);font-size:17px}.request-deadline-adjust output{color:var(--request-text);font-size:12px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums}.request-header-sla.state-ok{background:var(--request-ok-soft);color:var(--request-ok)}.request-header-sla.state-warning{background:var(--request-warn-soft);color:var(--request-warn)}.request-header-sla.state-breach{background:var(--request-danger-soft);color:var(--request-danger)}

/* Offer workflow, route history and settlement lookup (final2). */
.request-price-needed,.request-price-ready{display:inline-flex;align-self:flex-start;min-height:22px;padding:0 7px;border-radius:6px;font-size:10.5px;font-weight:650}.request-price-needed{background:var(--request-warn-soft);color:var(--request-warn)}.request-price-ready{background:var(--request-info-soft);color:var(--request-info)}
.request-awaiting-customer-price{display:block;margin-top:6px;padding:6px 8px;border-radius:7px;background:var(--request-warn-soft);color:var(--request-warn);font-size:11.5px;font-weight:600;text-align:center}
.request-settings .request-about{grid-column:1/-1}.request-about p{margin:10px 0 0;color:var(--request-muted);font-size:12px}.request-about a{color:var(--request-accent-text)}
.request-settlement-field{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;min-width:0}.request-settlement-field>[name="point_address"]{grid-column:1/-1}.request-settlement-help{grid-column:1/-1}.request-settlement-state{min-height:15px;color:var(--request-muted);font-size:10.5px}.request-address-toggle{justify-self:end;font-size:11px}.request-settlement-field>[name="point_address_detail"]{grid-column:1/-1}.request-settlement-results{position:absolute;z-index:150;top:44px;left:0;right:0;max-height:240px;padding:5px;overflow:auto;border:1px solid var(--request-border);border-radius:10px;background:var(--request-surface);box-shadow:var(--request-shadow)}.request-settlement-results button{display:grid;gap:1px;width:100%;padding:7px 9px;border:0;border-radius:7px;background:transparent;color:var(--request-text);text-align:left}.request-settlement-results button:hover,.request-settlement-results button[aria-selected="true"]{background:var(--request-surface-muted)}.request-settlement-results small{color:var(--request-muted);font-size:10.5px}
.request-route-history{margin:8px 0 12px;padding:11px;border:1px solid var(--request-border);border-radius:10px;background:var(--request-surface-muted)}.request-route-history header{display:grid;gap:2px}.request-route-history header small{color:var(--request-muted);font-size:10.5px}.request-route-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px}.request-route-history-grid>div{display:grid;gap:3px;align-content:start;padding:8px;border-radius:8px;background:var(--request-surface)}.request-route-history-grid span,.request-route-history-grid small{color:var(--request-muted);font-size:10px}.request-route-history-grid b{font-size:12.5px}.request-route-history button{padding:0;border:0;background:transparent;color:var(--request-accent-text);font-size:10.5px;text-align:left;cursor:pointer}.request-route-history>p{margin:7px 0 0;font-size:11px}.request-history-rejection{color:var(--request-danger)}
@media(max-width:700px){.request-point-row .request-settlement-field{grid-column:2}.request-route-history-grid{grid-template-columns:1fr}}
@media(max-width:700px){.request-deadline-control{align-items:flex-start;flex-direction:column}.request-deadline-adjust{width:100%;grid-template-columns:28px 1fr 28px}}
.request-route-history-grid>div .request-history-fill{display:inline-flex;align-items:center;min-height:28px;width:max-content;padding:0 9px;border:1px solid var(--request-border);border-radius:8px;background:transparent;color:var(--request-accent-text);font-size:10.5px;white-space:nowrap}.request-route-history-grid>div .request-history-fill:hover{background:var(--request-surface-muted)}
.request-price-guidance{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center;margin-bottom:8px;padding:9px;border:1px solid var(--request-border);border-radius:9px;background:var(--request-surface)}.request-price-guidance span{color:var(--request-muted);font-size:10.5px}.request-price-guidance b{grid-column:1;font-size:12px}.request-price-guidance .request-history-fill{grid-column:2;grid-row:1/3;min-height:28px;padding:0 9px;border:1px solid var(--request-border);border-radius:8px;background:transparent;color:var(--request-accent-text);white-space:nowrap}.request-settings td:first-child{display:grid;gap:3px}.request-settings td:first-child small{color:var(--request-muted)}

/* Request window v2 (owner reference 2026-10-28). */
.request-drawer:has(.request-v2-window){width:min(1080px,calc(100vw - 48px));max-width:1080px;background:var(--request-bg)}
.request-drawer:has(.request-v2-window) .request-drawer-head{top:14px;right:16px;display:flex;gap:6px}
.request-drawer:has(.request-v2-window) .request-drawer-head button{display:grid;width:30px;min-width:30px;height:30px;min-height:30px;place-items:center;border:1px solid var(--request-border)!important;border-radius:6px!important;background:var(--request-surface)!important;color:var(--request-muted)!important;font-size:14px}
.request-v2-window{display:grid;height:100%;min-height:0;grid-template-rows:auto 34px minmax(0,1fr);color:var(--request-text);font-variant-numeric:tabular-nums}
.request-v2-header{display:flex;min-height:76px;align-items:flex-start;padding:14px 150px 12px 18px;background:var(--request-surface)}
.request-v2-header h2{margin:0;font-size:20px;line-height:26px;font-weight:600;letter-spacing:-.015em}
.request-v2-header p{display:flex;align-items:baseline;gap:10px;margin:5px 0 0;color:var(--request-muted);font-size:12.5px}.request-v2-header p>i{color:var(--request-border-strong);font-style:normal}
.request-v2-client-link{padding:0;border:0;border-bottom:1px dashed var(--request-border-strong);border-radius:0;background:transparent;color:var(--request-text);font:inherit;font-weight:500;cursor:pointer}
.request-v2-strip{display:flex;height:34px;align-items:center;gap:14px;padding:0 18px;color:#d7d5d0;font-size:12px}.request-v2-strip-request{background:#262624}.request-v2-strip-calculation{background:#1f2c38;color:#afc3d6}.request-v2-strip>b{color:#eceae5;font-weight:600}.request-v2-strip>span{opacity:.82}.request-v2-strip>i{flex:1}.request-v2-strip .request-source-calculation{border:0;background:transparent;color:inherit;font-size:11px;opacity:.78}
.request-v2-timer{display:flex;align-items:center;gap:8px;font-weight:600}.request-v2-timer small{color:inherit;font-size:11px;font-weight:500;opacity:.78}.request-v2-timer-track{width:40px;height:3px;overflow:hidden;border-radius:2px;background:rgba(255,255,255,.14)}.request-v2-timer-track i{display:block;width:70%;height:100%;background:#5dbb8a}.request-v2-timer.state-overdue,.request-v2-timer.state-breached{color:#f2877c}.request-v2-timer.state-overdue .request-v2-timer-track i,.request-v2-timer.state-breached .request-v2-timer-track i{width:100%;background:#f2877c}
.request-v2-body{display:grid;min-height:0;grid-template-columns:minmax(0,1fr) 300px;gap:12px;padding:12px;overflow-y:auto;background:var(--request-bg)}.request-v2-body>main,.request-v2-body>aside{display:flex;min-width:0;flex-direction:column;gap:12px}
.request-v2-body>main{position:static;margin:0;padding:0;width:auto;max-width:none}
.request-v2-section{overflow:hidden;border:1px solid var(--request-border);border-radius:7px;background:var(--request-surface);box-shadow:var(--request-shadow-card)}.request-v2-section>header{display:flex;align-items:baseline;gap:8px;padding:11px 14px 0}.request-v2-section>header>b{font-size:13px;font-weight:600}.request-v2-section>header>span{margin-left:auto;color:var(--request-muted);font-size:11.5px}.request-v2-section>div,.request-v2-section>dl,.request-v2-section>ol{padding:10px 14px 12px}
.request-v2-point{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:8px;align-items:start}.request-v2-point>i{width:9px;height:9px;margin-top:4px;border:1.5px solid var(--request-text);border-radius:50%}.request-v2-point>i.is-finish{background:var(--request-text)}.request-v2-point b{display:block;font-size:13.5px;font-weight:600}.request-v2-point b small{margin-left:6px;color:var(--request-muted);font-size:12px;font-weight:400}.request-v2-point div>span{display:block;margin-top:2px;color:var(--request-text-soft);font-size:12px}.request-v2-point time{color:var(--request-text-soft);font-size:12px;text-align:right}.request-v2-point time small{display:block;color:var(--request-muted);font-size:11px}.request-v2-leg{display:grid;grid-template-columns:16px 1fr;gap:8px;margin:2px 0}.request-v2-leg i{width:1px;height:30px;margin-left:4px;background:var(--request-border)}.request-v2-leg span{align-self:center;color:var(--request-muted);font-size:11.5px}.request-v2-date-warning{display:flex;align-items:center;gap:6px;margin:4px 0 0;color:var(--request-warn);font-size:11.5px}.request-v2-icon{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.request-v2-route footer{display:flex;gap:16px;align-items:baseline;margin-top:10px;padding-top:9px;border-top:1px solid var(--request-border);color:var(--request-text-soft);font-size:12px}.request-v2-route footer b{color:var(--request-text);font-size:14px;font-weight:600}
.request-v2-price>header>span{margin-left:0}.request-v2-versions{position:relative;margin-left:auto;color:var(--request-muted);font-size:11.5px}.request-v2-versions summary{display:flex;align-items:center;gap:4px;cursor:pointer;list-style:none}.request-v2-versions summary::-webkit-details-marker{display:none}.request-v2-versions>div{position:absolute;z-index:8;top:24px;right:0;width:260px;padding:7px;border:1px solid var(--request-border);border-radius:8px;background:var(--request-surface);box-shadow:var(--request-shadow-pop)}.request-v2-versions p{display:grid;grid-template-columns:1fr auto;gap:2px 8px;margin:0;padding:6px}.request-v2-versions p+p{border-top:1px solid var(--request-border)}.request-v2-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-bottom:12px;border-bottom:1px solid var(--request-border)}.request-v2-price-grid>div{padding-right:12px}.request-v2-price-grid>div+div{padding-left:14px;border-left:1px solid var(--request-border)}.request-v2-price-grid small{display:block;color:var(--request-muted);font-size:11px}.request-v2-price-grid b{display:block;margin-top:3px;font-size:22px;line-height:27px;font-weight:600}.request-v2-price-grid b.is-customer{color:#26734f}.request-v2-price-grid b.is-cost{color:#b8501e}.request-v2-price-grid span{display:block;margin-top:2px;color:var(--request-text-soft);font-size:11.5px}
[data-crm-theme="dark"] .request-v2-price-grid b.is-customer{color:#5dbb8a}[data-crm-theme="dark"] .request-v2-price-grid b.is-cost{color:#e9824f}
.request-v2-guidance{padding-top:11px}.request-v2-guidance>header{display:flex;align-items:center;gap:8px;padding-bottom:4px}.request-v2-guidance>header b{font-size:12px}.request-v2-guidance>header span{color:var(--request-muted);font-size:11.5px}.request-v2-guidance>header button{margin-left:auto;min-height:25px;padding:0 9px;border:1px solid var(--request-border);border-radius:6px;background:transparent;color:var(--request-text-soft);font-size:11.5px}.request-v2-guidance-actions{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0}.request-v2-guidance-actions button{min-height:28px;padding:0 9px;border:1px solid var(--request-border);border-radius:6px;background:var(--request-surface);color:var(--request-text-soft);font-size:11.5px}.request-v2-history-table{overflow-x:auto;margin:8px 0}.request-v2-history-table table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}.request-v2-history-table :is(th,td){padding:5px 7px;text-align:left}.request-v2-history-table th{color:var(--request-muted);font-weight:500}.request-v2-history-table td{border-top:1px solid var(--request-border)}.request-v2-match-note{margin-bottom:4px!important;color:var(--request-muted)!important}.request-v2-guidance-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:6px 0;font-size:12px}.request-v2-guidance-row>span{color:var(--request-muted)}.request-v2-guidance-row>small{overflow:hidden;color:var(--request-text-soft);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.request-v2-guidance-row>b{min-width:74px;text-align:right}.request-v2-guidance-row>button,.request-v2-send-row button{min-height:25px;padding:0 9px;border:1px solid var(--request-border);border-radius:6px;background:var(--request-surface);color:var(--request-text-soft);font-size:11.5px;white-space:nowrap}.request-v2-scale{position:relative;height:34px;margin:7px 0 1px}.request-v2-scale>i{position:absolute;top:12px;right:0;left:0;height:3px;border-radius:2px;background:var(--request-border)}.request-v2-scale>span{position:absolute;top:6px;left:var(--scale-position,50%);transform:translateX(-50%)}.request-v2-scale>span>i{display:block;width:2px;height:15px;margin:auto;background:var(--request-text)}.request-v2-scale>span.is-cost>i{background:#b8501e}.request-v2-scale>span.is-customer>i{background:#26734f}.request-v2-scale>span>small{display:block;margin-top:1px;color:var(--request-muted);font-size:10px;white-space:nowrap}.request-v2-guidance>p{margin:2px 0 0;color:var(--request-muted);font-size:11.5px}.request-v2-send-row{display:flex;align-items:center;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid var(--request-border);color:var(--request-text-soft);font-size:12px}.request-v2-send-row>svg{color:var(--request-warn)}.request-v2-send-row>i{flex:1}
.request-v2-section.request-actions{min-height:0}.request-v2-section.request-actions>div{padding:10px 14px 12px}.request-actions .request-next-action{display:flex;align-items:center;justify-content:center;gap:8px}.request-action-hint{margin:8px 0 0;color:var(--request-muted);font-size:11.5px}.request-v2-client strong>.request-v2-client-link{font-size:14px;font-weight:600}.request-v2-client p{margin:3px 0 0;color:var(--request-text-soft);font-size:12px}.request-v2-client-counts{display:flex;gap:14px;margin-top:8px;color:var(--request-muted);font-size:11.5px}.request-v2-client-counts b{color:var(--request-text)}.request-v2-client>div>button:last-child{display:flex;align-items:center;gap:6px;margin-top:10px;padding:0;border:0;background:transparent;color:var(--request-text);font-size:12px;font-weight:500}.request-v2-cargo dl{margin:0}.request-v2-cargo dl div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid var(--request-border);font-size:12.5px}.request-v2-cargo dl div:last-child{border-bottom:0}.request-v2-cargo dt{color:var(--request-muted)}.request-v2-cargo dd{margin:0;text-align:right}.request-v2-journal header button{display:flex;align-items:center;gap:4px;margin-left:auto;padding:0;border:0;background:transparent;color:var(--request-muted);font-size:11.5px}.request-v2-journal ol{margin:0;list-style:none}.request-v2-journal li{display:grid;gap:1px;padding:5px 0;color:var(--request-text-soft);font-size:12px}.request-v2-journal li time{color:var(--request-muted);font-size:11px}.request-v2-empty{margin:0;color:var(--request-muted);font-size:12px}
.request-v2-comments>header>span:empty{display:none}.request-v2-comments>div{display:grid;gap:10px}.request-comments-list{display:grid}.request-comment{position:relative;padding:9px 0;border-bottom:1px solid var(--request-border)}.request-comment:first-child{padding-top:0}.request-comment:last-child{border-bottom:0}.request-comment:focus-visible{outline:2px solid var(--request-text);outline-offset:2px}.request-comment>header{position:relative;display:flex;align-items:center;gap:6px;min-height:22px}.request-comment>header>b{min-width:0;overflow:hidden;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.request-comment>header>i{width:6px;height:6px;flex:none;border-radius:50%;background:var(--request-danger)}.request-comment>header>time{width:44px;flex:none;margin-left:auto;color:var(--request-muted);font-size:11px;font-variant-numeric:tabular-nums;text-align:right}.request-comment-desktop-actions{position:absolute;z-index:1;top:50%;right:50px;display:flex;gap:3px;padding-left:8px;background:var(--request-surface);opacity:0;pointer-events:none;transform:translateY(-50%)}.request-comment:hover .request-comment-desktop-actions,.request-comment:focus-within .request-comment-desktop-actions{opacity:1;pointer-events:auto}.request-comment-mobile-actions{display:none}.request-comment :is(.request-comment-desktop-actions,.request-comment-mobile-actions) button{min-height:24px;padding:0 5px;border:0;border-radius:5px;background:transparent;color:var(--request-muted);font-size:10.5px;cursor:pointer}.request-comment :is(.request-comment-desktop-actions,.request-comment-mobile-actions) button:hover,.request-comment :is(.request-comment-desktop-actions,.request-comment-mobile-actions) button:focus-visible{background:var(--request-surface-muted);color:var(--request-text)}.request-comment>p{margin:5px 0 0;color:var(--request-text-soft);font-size:12.5px;line-height:1.45;white-space:pre-wrap}.request-comment-compose,.request-comment-edit{display:grid;gap:6px;margin-top:3px}.request-comment-compose textarea,.request-comment-edit textarea{display:block;width:100%;min-height:56px;resize:vertical;padding:9px 10px;border:1px solid var(--request-border);border-radius:8px;background:var(--request-surface);color:var(--request-text);font:inherit;font-size:12.5px;line-height:1.4}.request-comment-compose textarea:focus-visible,.request-comment-edit textarea:focus-visible{border-color:var(--request-accent);outline:3px solid rgba(196,80,26,.15)}.request-comment-compose footer,.request-comment-edit footer{display:flex;align-items:center;justify-content:flex-end;gap:7px}.request-comment-compose footer small{margin-right:auto;color:var(--request-muted);font-size:10.5px}.request-comment-compose button,.request-comment-edit button{height:28px;padding:0 10px;border:1px solid var(--request-border);border-radius:7px;background:var(--request-surface-muted);color:var(--request-text);font:inherit;font-size:11.5px;font-weight:600}.request-comment-compose button[type=submit],.request-comment-edit button[type=submit]{border-color:#1c1d1f;background:#1c1d1f;color:#fff}.request-comment-compose button:disabled{opacity:.45;cursor:not-allowed}.request-v2-comments-loading{margin:0;color:var(--request-muted);font-size:12px}
body.request-client-stack #drawerBackdrop{z-index:1100}body.request-client-stack #drawer.client-modal{z-index:1101}
@media(max-width:700px){.request-drawer:has(.request-v2-window){width:100vw;max-width:none}.request-v2-window{grid-template-rows:auto 34px minmax(0,1fr)}.request-v2-header{min-height:70px;padding:10px 112px 9px 12px}.request-v2-header h2{overflow:hidden;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.request-v2-header p{gap:6px;overflow:hidden;white-space:nowrap}.request-v2-strip{gap:8px;padding:0 12px}.request-v2-strip>span:nth-of-type(2),.request-v2-strip>.request-source-calculation{display:none}.request-v2-timer small,.request-v2-timer-track{display:none}.request-v2-body{display:block;padding:10px 12px calc(92px + env(safe-area-inset-bottom))}.request-v2-body>main,.request-v2-body>aside{display:grid;gap:10px}.request-v2-body>aside{margin-top:10px}.request-v2-guidance-row{grid-template-columns:84px 1fr auto}.request-v2-guidance-row>b{display:none}.request-v2-price-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.request-v2-price-grid b{font-size:18px}.request-v2-scale{display:none}.request-v2-section.request-actions{position:static}.request-v2-client-counts{flex-wrap:wrap}.request-comment{padding-right:32px}.request-comment>header>time{margin-left:auto}.request-comment-desktop-actions{display:none}.request-comment-mobile-actions{position:absolute;top:5px;right:0;display:block}.request-comment-mobile-actions>summary{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--request-muted);cursor:pointer;list-style:none}.request-comment-mobile-actions>summary::-webkit-details-marker{display:none}.request-comment-mobile-actions[open]>summary{background:var(--request-surface-muted);color:var(--request-text)}.request-comment-mobile-actions>span{position:absolute;z-index:3;top:32px;right:0;display:none;min-width:140px;padding:5px;border:1px solid var(--request-border);border-radius:8px;background:var(--request-surface);box-shadow:var(--request-shadow-pop)}.request-comment-mobile-actions[open]>span{display:grid}.request-comment-mobile-actions button{width:100%;min-height:34px!important;padding:0 9px!important;text-align:left}}
.request-v2-cargo .request-inline-select{display:inline-block}.request-v2-cargo .request-inline-select>span{position:absolute;z-index:9;right:0;top:38px;display:grid;min-width:210px;padding:5px;border:1px solid var(--request-border);border-radius:9px;background:var(--request-surface);box-shadow:var(--request-shadow-pop)}.request-v2-cargo .request-inline-select>span[hidden]{display:none}.request-v2-cargo .request-inline-select>span button{padding:7px 9px;border:0;border-radius:6px;background:transparent;color:var(--request-text);text-align:left}
.request-v2-timer.state-bad,.request-v2-timer.state-breach{color:#f2877c}.request-v2-timer.state-bad .request-v2-timer-track i,.request-v2-timer.state-breach .request-v2-timer-track i{width:100%;background:#f2877c}

.request-form-dialog.request-assignment-dialog{width:min(440px,calc(100vw - 24px))}
.request-assignment-dialog #requestActionBody{display:flex;min-height:0;flex:1;flex-direction:column;overflow:hidden}
.request-assignment-picker{display:flex;min-height:0;flex:1;flex-direction:column;gap:8px}
.request-assignment-picker>label{flex:none}
.request-assignment-options{display:grid;min-height:0;max-height:min(340px,48vh);gap:2px;overflow-y:auto;overscroll-behavior:contain;padding:2px;border:1px solid var(--request-border);border-radius:9px;background:var(--request-surface)}
.request-assignment-option{display:flex;width:100%;min-height:38px;align-items:center;justify-content:space-between;gap:10px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:var(--request-text);font-size:13px;text-align:left;cursor:pointer}
.request-assignment-option[hidden]{display:none}
.request-assignment-option:hover,.request-assignment-option:focus-visible{background:var(--request-surface-muted)}
.request-assignment-option[aria-selected="true"]{background:var(--request-accent-soft);font-weight:600}
.request-assignment-option small{color:var(--request-muted);font-size:11px;font-weight:500}
.request-assignment-dialog .dialog-actions{flex:none;margin-top:12px}
#notice.request-assignment-toast{position:fixed;z-index:2400;right:16px;bottom:46px;display:flex;min-height:38px;align-items:center;padding:6px 8px;border:1px solid var(--request-border);border-radius:10px;background:var(--request-surface);box-shadow:var(--request-shadow-pop);pointer-events:auto}

@media(prefers-reduced-motion:reduce){.request-card-comments>i{animation:none;opacity:1}}

/* Mobile request window: one compact action row and responsive route history. */
.request-mobile-menu-action{display:none!important}
@media(max-width:700px){
  .request-v2-body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  .request-v2-section.request-actions{position:fixed!important;z-index:20;right:0;bottom:0;left:0;height:calc(52px + env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:0;background:var(--request-surface);box-shadow:0 -8px 24px rgba(0,0,0,.10)}
  .request-v2-section.request-actions>header{display:none}
  .request-v2-section.request-actions>div{display:flex;height:52px;align-items:center;gap:8px;padding:8px 12px!important}
  .request-actions .request-next-action{height:36px;min-height:36px;flex:1}
  .request-v2-section.request-actions :is(.request-action-hint,.request-awaiting-customer-price,.request-action-complete){display:none}
  .request-secondary-actions{margin:0;flex:0 0 auto}
  .request-secondary-actions>button{display:none!important}
  .request-v2-section.request-actions:has([data-price-save]) .request-secondary-actions>button[data-price-cancel]{display:flex!important;height:36px!important;min-height:36px!important;padding:0 12px!important}
  .request-secondary-actions .request-more-menu{display:block;margin:0}
  .request-secondary-actions .request-more-menu>summary{width:36px;height:36px}
  .request-secondary-actions .request-more-menu>div,.request-more-popover{max-height:min(60vh,360px);overflow-y:auto}
  .request-mobile-menu-action{display:grid!important}
  .request-v2-history-table{overflow:visible}
  .request-v2-history-table thead{display:none}
  .request-v2-history-table tbody{display:grid}
  .request-v2-history-table tr{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:3px 8px;padding:8px 0;border-top:1px solid var(--request-border)}
  .request-v2-history-table td{padding:0;border:0;white-space:normal}
  .request-v2-history-table td:nth-child(1){grid-column:1}
  .request-v2-history-table td:nth-child(2){grid-column:2}
  .request-v2-history-table td:nth-child(3){grid-column:3/5;text-align:right}
  .request-v2-history-table td:nth-child(4){grid-column:1/2;min-width:0;overflow:visible;white-space:normal}
  .request-v2-history-table td:nth-child(5){grid-column:2;text-align:right;white-space:nowrap}
  .request-v2-history-table td:nth-child(6){grid-column:3;text-align:right;white-space:nowrap}
  .request-v2-history-table td:nth-child(7){grid-column:4;text-align:right;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.request-v2-section.request-actions{transition:none!important}}

/* Price block v2 (owner reference 2026-10-31). */
.request-v2-price{--price-rate:#26734f;--price-rate-rgb:38,115,79;--price-cost:#b8501e;--price-cost-rgb:184,80,30;--price-warn:#9c6b12}
[data-crm-theme="dark"] .request-v2-price{--price-rate:#5dbb8a;--price-rate-rgb:93,187,138;--price-cost:#e9824f;--price-cost-rgb:233,130,79;--price-warn:#e3b65c}
.request-v2-price>header{align-items:center;padding:14px 16px 0}.request-v2-price>header>b{font-size:14px}.request-v2-price>header>span{color:var(--request-muted);font-size:11.5px;font-weight:500}.request-v2-price>div{padding:12px 16px}
.request-price-vat{display:inline-flex;margin-left:auto;overflow:hidden;border-radius:5px;box-shadow:inset 0 0 0 .5px var(--request-border);font-size:11px;font-weight:500}.request-price-vat button{min-height:24px;padding:3px 8px;border:0;background:transparent;color:var(--request-muted);font:inherit}.request-price-vat button[aria-checked="true"]{background:var(--request-surface-muted);color:var(--request-text)}.request-price-vat+.request-v2-versions{margin-left:0}
.request-v2-price-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;border:0}.request-v2-price-grid>div,.request-v2-price-grid>label{min-width:0;padding:0!important;border:0!important}.request-price-field{display:grid;position:relative;gap:0}.request-price-field>span:first-child{margin-bottom:5px;color:var(--request-muted);font-size:11px}.request-price-input{display:flex;height:38px;align-items:center;padding:0 10px;border-radius:6px;background:var(--request-surface);box-shadow:inset 0 0 0 .5px var(--request-border)}.request-price-input input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:15px;font-weight:600;letter-spacing:-.01em}.request-price-input input::placeholder{color:var(--request-muted);font-size:14px;font-weight:500}.request-price-input i{margin-left:auto;color:var(--request-muted);font-size:11px;font-style:normal;font-weight:500}.request-price-input b{margin:0!important;font-size:15px!important;color:var(--request-text);font-weight:600}.request-price-field.is-customer .request-price-input{color:var(--price-rate)}.request-price-field.is-cost .request-price-input{color:var(--price-cost)}.request-price-field>small{min-height:14px;margin-top:4px;color:var(--request-muted);font-size:10.5px;white-space:nowrap}.request-price-field.is-customer.is-changed .request-price-input{box-shadow:inset 0 0 0 1px rgba(var(--price-rate-rgb),.8)}.request-price-field.is-cost.is-changed .request-price-input{box-shadow:inset 0 0 0 1px rgba(var(--price-cost-rgb),.8)}
.request-price-field.is-customer.is-flashing .request-price-input{animation:request-price-rate-flash 300ms ease-in-out 3 alternate}.request-price-field.is-cost.is-flashing .request-price-input{animation:request-price-cost-flash 300ms ease-in-out 3 alternate}@keyframes request-price-rate-flash{to{background:rgba(var(--price-rate-rgb),.13);box-shadow:inset 0 0 0 1px rgba(var(--price-rate-rgb),.8),0 0 0 3px rgba(var(--price-rate-rgb),.18)}}@keyframes request-price-cost-flash{to{background:rgba(var(--price-cost-rgb),.13);box-shadow:inset 0 0 0 1px rgba(var(--price-cost-rgb),.8),0 0 0 3px rgba(var(--price-cost-rgb),.18)}}
.request-price-unsaved{display:flex;align-items:center;gap:8px;margin:10px 0 0!important;color:var(--price-warn)!important;font-size:11.5px!important}.request-price-unsaved i{width:6px;height:6px;flex:none;border-radius:50%;background:var(--price-warn)}
.request-v2-guidance{margin-top:12px;padding:14px 0 0;border-top:.5px solid var(--request-border)}.request-v2-guidance>header{align-items:baseline;padding:0 0 4px}.request-v2-guidance>header b{font-size:14px;font-weight:600}.request-v2-guidance>header span{font-size:11.5px;font-weight:500}.request-v2-guidance>header button{border:0;background:transparent;color:var(--request-muted)}
.request-history-stats{display:grid;gap:2px;margin-top:6px}.request-history-series{display:grid;column-gap:6px;align-items:baseline}.request-history-series.is-full{grid-template-columns:96px repeat(4,minmax(0,1fr))}.request-history-series.is-compact{grid-template-columns:96px repeat(3,minmax(0,1fr))}.request-history-series.is-single,.request-history-series.is-empty{grid-template-columns:96px minmax(0,1fr);align-items:center}.request-history-series.is-single .request-history-stat{text-align:left}.request-history-stat-head{padding-bottom:4px;color:var(--request-muted);font-size:10.5px;font-weight:500;text-align:right}.request-history-stat-name{padding:5px 0;font-size:12px;font-weight:500}.request-history-stat-name.is-customer{color:var(--price-rate)}.request-history-stat-name.is-cost{color:var(--price-cost)}.request-history-stat{position:relative;padding:4px 2px;border:0;border-radius:4px;background:transparent;font-size:13px;font-weight:500;letter-spacing:-.01em;text-align:right;cursor:pointer}.request-history-stat.is-customer{color:var(--price-rate)}.request-history-stat.is-cost{color:var(--price-cost)}.request-history-stat.is-average{font-weight:600}.request-history-stat:hover,.request-history-stat:focus-visible{text-decoration:underline;text-decoration-thickness:.5px;text-underline-offset:3px;text-decoration-color:var(--request-muted)}.request-history-stat:focus-visible{outline:0}.request-history-stat.is-selected{background:var(--request-surface-muted);box-shadow:inset 0 0 0 .5px var(--request-border)}.request-history-no-cost{padding:5px 2px;color:var(--request-muted);font-size:12px}.request-history-meta{margin:6px 0 0!important;color:var(--request-muted)!important;font-size:11px!important}.request-history-meta span{color:var(--request-text-soft)}
.request-v2-history-table{margin:10px 0 0}.request-v2-history-table>summary{display:flex;align-items:center;gap:6px;color:var(--request-text-soft);font-size:11.5px;cursor:pointer;list-style:none}.request-v2-history-table>summary::before{content:'▸';color:var(--request-muted);font-size:10px}.request-v2-history-table[open]>summary::before{transform:rotate(90deg)}
.request-price-change-dialog{width:min(360px,calc(100vw - 24px))}.request-price-change-dialog #requestActionBody{padding:12px 16px 16px}.request-price-change-dialog #requestActionBody>p{margin:0;color:var(--request-text-soft);font-size:12.5px}.request-price-change-list{margin:0;padding:0;list-style:none}.request-price-change-list li{display:flex;justify-content:space-between;padding:6px 0;border-bottom:.5px solid var(--request-border);font-size:12.5px}.request-price-change-list b{font-weight:600}.request-price-change-list .is-customer{color:var(--price-rate,#26734f)}.request-price-change-list .is-cost{color:var(--price-cost,#b8501e)}.request-price-change-actions{display:flex;gap:8px;justify-content:flex-end}.request-price-change-actions button{height:34px!important;min-height:34px!important;padding:0 12px!important}
@media(max-width:700px){.request-v2-price>div{padding-inline:12px}.request-v2-price-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.request-history-stats{overflow-x:auto}.request-history-series.is-full{grid-template-columns:96px repeat(4,minmax(48px,1fr))}.request-history-series.is-compact{grid-template-columns:96px repeat(3,minmax(48px,1fr))}.request-history-stat{font-size:12px}.request-price-field>small{overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){.request-price-field.is-flashing .request-price-input{animation:none!important}.request-price-field.is-customer.is-flashing .request-price-input{background:rgba(var(--price-rate-rgb),.13);box-shadow:inset 0 0 0 1px rgba(var(--price-rate-rgb),.8),0 0 0 3px rgba(var(--price-rate-rgb),.18)}.request-price-field.is-cost.is-flashing .request-price-input{background:rgba(var(--price-cost-rgb),.13);box-shadow:inset 0 0 0 1px rgba(var(--price-cost-rgb),.8),0 0 0 3px rgba(var(--price-cost-rgb),.18)}}
@media(max-width:700px){.request-form-dialog.request-price-change-dialog{width:min(360px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 24px);border-radius:10px}.request-form-dialog.request-price-change-dialog form{height:auto;max-height:calc(100dvh - 24px)}}
@media(max-width:700px){.request-form-dialog.request-price-change-dialog{inset:auto!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 24px)!important;margin:auto!important}.request-form-dialog.request-price-change-dialog form{height:auto!important;min-height:0!important;max-height:calc(100dvh - 24px)!important}.request-form-dialog.request-price-change-dialog #requestActionBody{flex:none;min-height:0;overflow:visible}}

/* Price block mobile follow-up Q (owner review 2026-11-01). */
.request-price-input{min-width:0;white-space:nowrap}.request-price-input input{overflow:hidden;white-space:nowrap}.request-price-input i{flex:none}.request-price-input b{overflow:hidden;text-overflow:clip;white-space:nowrap}.request-price-field>small{display:grid;min-height:30px;align-content:start;font-size:10.5px;line-height:13px;white-space:normal}.request-price-field>small>span{display:block;min-width:0;letter-spacing:-.03em;white-space:nowrap}.request-v2-guidance>header button>i{display:none;font-style:normal}
@media(min-width:701px){.request-price-field>small{display:flex;min-height:14px;white-space:nowrap}.request-price-field>small>span+span::before{content:' · '}}
@media(max-width:700px){.request-v2-price-grid{align-items:start}.request-price-input input,.request-price-input b{font-size:13px!important}.request-price-field>small{overflow:visible;text-overflow:clip}.request-v2-guidance>header{display:grid;grid-template-columns:auto minmax(0,1fr) 28px;gap:6px;align-items:center}.request-v2-guidance>header b{white-space:nowrap}.request-v2-guidance>header>span{overflow:hidden;font-size:11px;text-overflow:clip;white-space:nowrap}.request-v2-guidance>header button{display:grid;width:28px;height:28px;min-height:28px;margin:0;padding:0;place-items:center;border:.5px solid var(--request-border);border-radius:6px}.request-v2-guidance>header button>span{display:none}.request-v2-guidance>header button>i{display:block;font-size:17px;line-height:1}}

/* Price amounts are one control: the late UI-kit input rule must not split the currency sign out. */
html[data-crm-theme] .request-v2-price .request-price-input{display:flex;width:100%;height:38px;min-height:38px;align-items:center;padding:0 10px 0 12px;border:0;border-radius:6px;background:var(--request-surface);box-shadow:inset 0 0 0 .5px var(--request-border);cursor:text}
html[data-crm-theme] .request-v2-price .request-price-input input{flex:1 1 auto;width:100%;min-width:0;height:100%;min-height:0;padding:0;border:0!important;border-radius:0;outline:0!important;background:transparent!important;box-shadow:none!important;color:inherit}
html[data-crm-theme] .request-v2-price .request-price-input i{flex:none;margin-left:8px;color:var(--request-muted);pointer-events:none;user-select:none}
html[data-crm-theme] .request-v2-price .request-price-input b{display:flex;width:100%;height:100%;align-items:center}
html[data-crm-theme] .request-v2-price .request-price-input:focus-within{box-shadow:inset 0 0 0 1px var(--si-accent),0 0 0 2px color-mix(in srgb,var(--si-accent) 18%,transparent)}
html[data-crm-theme] .request-v2-price .request-price-field.is-customer.is-changed .request-price-input{box-shadow:inset 0 0 0 1px rgba(var(--price-rate-rgb),.8)}
html[data-crm-theme] .request-v2-price .request-price-field.is-cost.is-changed .request-price-input{box-shadow:inset 0 0 0 1px rgba(var(--price-cost-rgb),.8)}
html[data-crm-theme] .request-v2-price .request-price-field.is-customer.is-changed .request-price-input:focus-within{box-shadow:inset 0 0 0 1px rgba(var(--price-rate-rgb),.9),0 0 0 2px rgba(var(--price-rate-rgb),.18)}
html[data-crm-theme] .request-v2-price .request-price-field.is-cost.is-changed .request-price-input:focus-within{box-shadow:inset 0 0 0 1px rgba(var(--price-cost-rgb),.9),0 0 0 2px rgba(var(--price-cost-rgb),.18)}

/* Price provenance and negative-margin states (owner decision 2026-11-01). */
.request-card-negative-margin{flex:none;color:#b3352d;font-size:10.5px;font-weight:600;white-space:nowrap}
[data-crm-theme="dark"] .request-card-negative-margin{color:#f2877c}
.request-price-origin{position:relative;top:-6px;flex:none;margin-left:5px;color:var(--request-muted);font-size:8.5px;font-weight:500;line-height:1;pointer-events:none}
.request-price-field.is-margin.is-negative :is(.request-price-input b,small){color:#b3352d}
[data-crm-theme="dark"] .request-price-field.is-margin.is-negative :is(.request-price-input b,small){color:#f2877c}
.request-negative-margin-dialog{width:min(390px,calc(100vw - 24px))}
.request-negative-margin-body{display:grid;gap:16px;padding:14px 16px 16px}
.request-negative-margin-body p{margin:0;color:var(--request-text);font-size:13px;line-height:1.45}
.request-negative-margin-body .dialog-actions{margin:0}
@media(max-width:700px){
  .request-form-dialog.request-negative-margin-dialog{inset:auto!important;width:min(366px,calc(100vw - 24px));height:auto!important;min-height:0!important;max-height:calc(100dvh - 24px)!important;margin:auto!important;border-radius:10px}
  .request-form-dialog.request-negative-margin-dialog form{height:auto!important;min-height:0!important;max-height:calc(100dvh - 24px)!important}
}
.call-request-toolbar-slot{display:block;flex:none;min-width:0}.call-request-toolbar-slot[hidden]{display:none!important}.call-request-toolbar-slot button{height:36px;border:1px solid var(--request-border);border-radius:7px;background:var(--request-surface);color:var(--request-text);padding:0 11px;font:500 12px/1 Manrope,sans-serif;cursor:pointer}.call-request-toolbar-slot svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.call-request-open,.call-request-ready{display:flex;align-items:center;gap:7px;white-space:nowrap}.call-request-ready{border-color:color-mix(in srgb,var(--request-ok) 34%,var(--request-border))!important;background:color-mix(in srgb,var(--request-ok) 9%,var(--request-surface))!important;color:var(--request-ok)!important;animation:call-ready-breathe 2.6s ease-in-out infinite}.call-request-ready b{display:grid;min-width:18px;height:18px;place-items:center;border-radius:9px;background:var(--request-ok);color:#fff;font-size:10px}.call-request-progress{position:relative;display:grid!important;width:190px;overflow:hidden;padding:0 9px!important;text-align:left}.call-request-progress>span{display:flex;align-items:center;gap:6px}.call-request-progress small{margin-left:auto;color:var(--request-muted)}.call-request-progress>i{position:absolute;right:0;bottom:0;left:0;height:2px;background:linear-gradient(90deg,var(--request-warn) var(--call-progress),var(--request-border) var(--call-progress))}.call-request-progress.is-warning{color:var(--request-warn)}
.call-request-dialog{width:min(520px,calc(100vw - 32px));max-height:min(760px,calc(100dvh - 32px));margin:auto;padding:0;border:0;border-radius:14px;background:var(--request-surface);color:var(--request-text);box-shadow:0 22px 70px rgba(15,15,15,.25);overflow:hidden}.call-request-dialog::backdrop{background:rgba(20,20,18,.42);backdrop-filter:blur(2px)}.call-request-dialog>form{margin:0}.call-request-dialog-body{max-height:min(760px,calc(100dvh - 32px));overflow:auto;padding:16px}.call-request-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.call-request-dialog-head h2{margin:0;font-size:15px;line-height:20px;font-weight:650}.call-request-dialog-head p{margin:3px 0 0;color:var(--request-muted);font-size:11px}.call-request-dialog-head button{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--request-muted);font-size:20px;cursor:pointer}.call-request-dialog-head button:hover{background:var(--request-bg)}.call-request-segment{display:grid;grid-template-columns:1fr 1fr;height:36px;margin-bottom:12px;padding:3px;border-radius:10px;background:var(--request-bg)}.call-request-segment button{border:0;border-radius:8px;background:transparent;color:var(--request-muted);font:500 12px Manrope}.call-request-segment button.active{background:var(--request-surface);color:var(--request-text);box-shadow:0 1px 5px rgba(0,0,0,.10)}.call-request-list,.call-request-drafts{display:grid;gap:6px}.call-request-row{display:grid;grid-template-columns:26px minmax(0,1fr) max-content;align-items:center;gap:9px;min-height:58px;padding:8px 9px;border:.5px solid var(--request-border);border-radius:9px;background:var(--request-surface)}.call-request-row.is-muted{opacity:.58}.call-request-direction{display:grid;width:26px;height:26px;place-items:center;border-radius:7px;background:color-mix(in srgb,var(--request-ok) 12%,var(--request-surface));color:var(--request-ok);font-weight:700}.call-request-person{min-width:0}.call-request-person strong,.call-request-person small,.call-request-person p{display:block;overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.call-request-person strong{font-size:13px;font-weight:600}.call-request-person small{color:var(--request-warn);font-size:10.5px}.call-request-person p{margin-top:3px;color:var(--request-muted);font-size:11px}.call-request-row>button{height:30px;padding:0 10px;border:.5px solid var(--request-border);border-radius:7px;background:var(--request-surface);color:var(--request-text);font:500 11px Manrope;cursor:pointer}.call-request-row>button:disabled{cursor:default}.call-request-empty{padding:28px 12px;text-align:center;color:var(--request-muted);font-size:12px}.call-request-empty.is-error,.call-request-form-error{color:var(--request-danger)}
.call-request-associate,.call-request-new-company{display:grid;gap:14px}.call-request-associate label,.call-request-new-company label,.call-request-field{display:grid;gap:6px;color:var(--request-muted);font-size:11.5px;font-weight:500}.call-request-associate input,.call-request-new-company input,.call-request-field input,.call-request-field select,.call-request-field textarea{box-sizing:border-box;width:100%;height:36px;border:.5px solid var(--request-border);border-radius:6px;background:var(--request-surface);color:var(--request-text);padding:0 12px;font:500 13px Manrope}.call-request-field textarea{height:auto;padding-block:9px;resize:vertical}.call-request-associate>p{margin:0;color:var(--request-muted);font-size:11px}.call-request-company-results{display:grid}.call-request-company-results button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border:0;border-bottom:.5px solid var(--request-border);background:var(--request-bg);color:var(--request-text);text-align:left}.call-request-company-results small{color:var(--request-muted)}.call-request-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.call-request-actions button,.call-request-confirm-head button,.call-request-terminal button{height:40px;padding:0 14px;border:.5px solid var(--request-border);border-radius:8px;font:600 12px Manrope;cursor:pointer}.call-request-actions .primary,.call-request-terminal .primary{border-color:#1e1e1c;background:#1e1e1c;color:#fff}.call-request-actions .secondary,.call-request-confirm-head .secondary{background:var(--request-surface);color:var(--request-text)}.danger-quiet{margin-right:auto!important;border-color:transparent!important;background:transparent!important;color:var(--request-danger)!important}
.call-request-terminal{display:grid;justify-items:center;gap:10px;padding:24px 8px;text-align:center}.call-request-terminal>span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--request-ok) 12%,var(--request-surface));color:var(--request-ok);font-size:18px}.call-request-terminal>span.is-warning{background:color-mix(in srgb,var(--request-warn) 12%,var(--request-surface));color:var(--request-warn)}.call-request-terminal h3,.call-request-terminal p{margin:0}.call-request-terminal h3{font-size:14px}.call-request-terminal p{color:var(--request-muted);font-size:11px}.call-request-loader{width:28px;height:28px;border:2px solid var(--request-border);border-top-color:var(--request-ok);border-radius:50%;animation:call-spin .8s linear infinite}.call-request-draft-row{display:flex;align-items:center;justify-content:space-between;padding:10px;border:.5px solid var(--request-border);border-radius:9px;background:var(--request-surface);color:var(--request-text);text-align:left}.call-request-draft-row>span{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:8px}.call-request-draft-row svg{grid-row:1/3;width:18px;fill:none;stroke:var(--request-ok);stroke-width:1.8}.call-request-draft-row b{font-size:12px}.call-request-draft-row small{color:var(--request-muted);font-size:10.5px}.call-request-draft-row.is-expired{opacity:.52}.call-request-drafts h3{margin:12px 2px 2px;color:var(--request-muted);font-size:11px}
.call-request-dialog.is-confirm{width:min(680px,calc(100vw - 32px))}.call-request-confirm-head{display:flex;justify-content:flex-end;margin:-38px 38px 12px 0}.call-request-confirm-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.call-request-field{position:relative;padding:8px;border:.5px solid transparent;border-radius:9px}.call-request-field>span{display:flex;align-items:center;justify-content:space-between}.call-request-field em{color:var(--request-ok);font-size:9px;font-style:normal}.call-request-field.is-from-call{border-color:color-mix(in srgb,var(--request-ok) 25%,transparent);background:color-mix(in srgb,var(--request-ok) 8%,var(--request-surface))}.call-request-field.is-from-call input,.call-request-field.is-from-call select{border-color:color-mix(in srgb,var(--request-ok) 32%,var(--request-border))}.call-request-wide{grid-column:1/-1}.call-request-quote{padding-left:7px;border-left:1px solid color-mix(in srgb,var(--request-ok) 45%,transparent);color:var(--request-muted);font-size:10.5px;font-style:italic;font-weight:400}.call-request-spoken-hint,.call-request-warning{margin:10px 8px 0;font-size:11px}.call-request-spoken-hint{color:var(--request-ok)}.call-request-warning{color:var(--request-warn)}
@keyframes call-spin{to{transform:rotate(360deg)}}@keyframes call-ready-breathe{50%{box-shadow:0 0 5px rgba(47,122,85,.32),0 0 10px rgba(47,122,85,.18)}}
@media(prefers-reduced-motion:reduce){.call-request-ready,.call-request-loader{animation:none}.call-request-ready{box-shadow:0 0 5px rgba(47,122,85,.32)}}
@media(max-width:768px){.call-request-toolbar-slot .call-request-open span{display:none}.call-request-toolbar-slot .call-request-open{width:36px;padding:0;justify-content:center}.call-request-progress{width:148px}.call-request-progress b{font-size:10.5px}.call-request-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:14px}.call-request-dialog-body{max-height:calc(100dvh - 24px);padding:14px}.call-request-confirm-grid{grid-template-columns:1fr}.call-request-wide{grid-column:auto}.call-request-confirm-head{margin:0 0 10px}.call-request-actions{position:sticky;bottom:-14px;margin:12px -14px -14px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:var(--request-surface);border-top:.5px solid var(--request-border)}}
