/* C_SCOPE_START: generated from C design-tokens.css and ui-components.css; rerun prepare.py to update. */
.technical-handoff-flow{
  --ui-brand:#0f4a3d;
  --ui-brand-strong:#0b3d33;
  --ui-brand-soft:#eaf4e9;
  --ui-accent:#b88932;
  --ui-accent-text:#78551c;
  --ui-accent-soft:#f7efdf;
  --ui-page:#f7f4ee;
  --ui-surface:#fffdfa;
  --ui-surface-soft:#f8f5ef;
  --ui-text:#19352e;
  --ui-text-muted:#526459;
  --ui-text-on-brand:#f7f4e9;
  --ui-line:#d8d4c9;
  --ui-control-line:#8b9c91;
  --ui-focus:#17664e;
  --ui-danger:#963a2d;
  --ui-danger-soft:#fff1ed;
  --ui-success:#235f3e;
  --ui-success-soft:#e7f2e9;
  --ui-font:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  --ui-text-size:14px;
  --ui-meta-size:12px;
  --ui-title-size:22px;
  --ui-radius:8px;
  --ui-radius-control:6px;
  --ui-space-field:6px;
  --ui-space-card:8px;
  --ui-space-label:3px;
  --ui-space-inset:8px;
  --ui-space-section:4px;
  --ui-control-height:32px;
  --ui-touch-target:44px;
  --ui-motion-fast:140ms;
  --ui-shadow-float:0 8px 24px #19352e20;
  }
.technical-handoff-flow .ui-control{--ui-control-min-block:var(--ui-control-height);font-family:var(--ui-font);touch-action:manipulation;min-inline-size:0;max-inline-size:100%;border-radius:var(--ui-radius-control)}
.technical-handoff-flow button.ui-control{min-block-size:var(--ui-control-height);padding:5px 10px;line-height:1.4;border:1px solid var(--ui-control-line);background:var(--ui-surface);color:var(--ui-text);cursor:pointer}
.technical-handoff-flow button.ui-control.primary,.technical-handoff-flow .ui-button--primary{background:var(--ui-brand);border-color:var(--ui-brand);color:var(--ui-text-on-brand)}
.technical-handoff-flow button.ui-control.outline{border-color:var(--ui-accent);color:var(--ui-accent-text);background:var(--ui-surface)}
.technical-handoff-flow button.ui-control:hover:not(:disabled){filter:brightness(.96)}
.technical-handoff-flow button.ui-control:active:not(:disabled){filter:brightness(.92)}
.technical-handoff-flow button.ui-control:disabled{cursor:default;opacity:.65;filter:none}
.technical-handoff-flow .ui-control[aria-busy="true"]{cursor:progress}
.technical-handoff-flow input.ui-control::placeholder,.technical-handoff-flow textarea.ui-control::placeholder{color:var(--ui-text-muted);opacity:1}
.technical-handoff-flow :is(button,input,textarea):focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}
.technical-handoff-flow ::selection{background:var(--ui-brand);color:var(--ui-text-on-brand)}
@media(max-width:700px){.technical-handoff-flow button.ui-control{min-height:44px;min-inline-size:44px;padding-block:8px}}
@media(prefers-reduced-motion:reduce){.technical-handoff-flow .ui-control{transition:none}}
@media(forced-colors:active){.technical-handoff-flow .ui-control{border:1px solid ButtonText}}
/* C_SCOPE_END */
/* Shared technical handoff presentation for sales lifecycle and production queues.
   Values and states come from the C design system; business actions stay in JS. */
.technical-handoff-flow{min-width:0;display:grid;gap:var(--ui-space-card,8px);margin:8px 0;color:var(--ui-text,#19352e);font-size:14px}
.technical-handoff-intro,.technical-handoff-queue-item>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:8px 0;border:0;border-radius:0;background:transparent}
.technical-handoff-intro :is(h3,p),.technical-handoff-queue-item>header :is(strong,small){margin:0}
.technical-handoff-intro{flex-wrap:wrap}.technical-handoff-intro>div{min-width:0;flex:1 1 240px}.technical-handoff-intro>strong{flex:none;white-space:nowrap;font-size:12px}
.technical-handoff-intro h3{font-size:18px}.technical-handoff-intro p{margin-top:3px;color:var(--ui-text-muted,#526459);font-size:12px}
.technical-handoff-card{min-width:0;border:1px solid var(--ui-line,#d8d4c9);border-radius:var(--ui-radius,8px);padding:var(--ui-space-inset,8px);background:var(--ui-surface,#fffdfa);display:grid;gap:12px}
.technical-handoff-head{margin:0;padding:0;border:0;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.technical-handoff-head :is(p,h3,small){margin:0}.technical-handoff-head h3{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.technical-handoff-head :is(p,small){color:var(--ui-text-muted,#526459);font-size:12px}
.technical-handoff-status{flex:none;border-radius:4px;padding:4px 8px;background:var(--ui-success-soft,#e7f2e9);color:var(--ui-success,#235f3e);font-size:12px;font-weight:600}.technical-handoff-status[data-status=draft]{background:var(--ui-accent-soft,#f7efdf);color:var(--ui-accent-text,#78551c)}
.technical-handoff-section,.technical-handoff-signoffs{min-width:0;border:0;padding:0}
.technical-handoff-card :is(.technical-handoff-section,.technical-handoff-signoffs) h4{font-size:15px;margin:0 0 6px;line-height:1.5}
.technical-handoff-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:6px}.technical-handoff-card .technical-handoff-section-head h4{margin:0}
.technical-handoff-card .technical-handoff-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:1px solid var(--ui-line,#d8d4c9);border-left:1px solid var(--ui-line,#d8d4c9)}
.technical-handoff-card label.technical-handoff-field{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:stretch;min-width:0;gap:0;margin:0;border-right:1px solid var(--ui-line,#d8d4c9);border-bottom:1px solid var(--ui-line,#d8d4c9)}
.technical-handoff-card .technical-handoff-wide{grid-column:1/-1}
.technical-handoff-field>span:first-child{display:flex;align-items:center;gap:3px;padding:6px 8px;border-right:1px solid var(--ui-line,#d8d4c9);background:var(--ui-surface-soft,#f8f5ef);color:var(--ui-text-muted,#526459);font-size:12px;overflow-wrap:anywhere;line-height:1.5}
.technical-handoff-field em{color:var(--ui-danger,#963a2d);font-style:normal}
:is(#workspace,#sales-dialog,.technical-handoff-flow) .technical-handoff-card .technical-handoff-field :is(input,textarea).ui-control{width:100%!important;inline-size:100%!important;min-width:0!important;max-width:100%!important;border:0;border-radius:0;box-shadow:none;background:var(--ui-surface,#fffdfa);color:var(--ui-text,#19352e);padding:7px 8px;margin:0;min-height:36px;height:auto;font-size:14px;line-height:1.5;box-sizing:border-box}
.technical-handoff-card .technical-handoff-field textarea.ui-control{min-height:56px;resize:vertical}
.technical-handoff-card .technical-handoff-field :is(input,textarea):hover:not(:disabled){background:var(--ui-brand-soft,#eaf4e9)}
.technical-handoff-card .technical-handoff-field :is(input,textarea):focus-visible{outline:2px solid var(--ui-focus,#17664e);outline-offset:-2px}
.technical-handoff-card :is(input,textarea):disabled{opacity:1;cursor:default;color:var(--ui-text-muted,#526459);background:var(--ui-surface-soft,#f8f5ef)}
.technical-handoff-table-wrap{min-width:0;max-width:100%;overflow:auto;border:1px solid var(--ui-line,#d8d4c9);border-radius:0;scrollbar-color:var(--ui-control-line,#8b9c91) var(--ui-surface-soft,#f8f5ef)}
.technical-handoff-table{width:100%;min-width:740px;border-collapse:collapse;font-size:12px}.technical-handoff-table th,.technical-handoff-table td{padding:0;border:0;border-right:1px solid var(--ui-line,#d8d4c9);border-bottom:1px solid var(--ui-line,#d8d4c9);text-align:left;white-space:nowrap}.technical-handoff-table th{padding:7px 8px;background:var(--ui-surface-soft,#f8f5ef);color:var(--ui-text-muted,#526459);font-weight:500}.technical-handoff-table tr>:last-child{border-right:0}.technical-handoff-table tbody tr:last-child td{border-bottom:0}.technical-handoff-card .technical-handoff-table input.ui-control{width:100%;min-width:98px;border:0;border-radius:0;padding:7px 8px;font-size:13px;box-sizing:border-box}.technical-handoff-table [data-glaze-empty] td{padding:10px;white-space:normal;color:var(--ui-text-muted,#526459)}
.technical-handoff-signoffs>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--ui-line,#d8d4c9)}.technical-handoff-signoffs>div>div{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 8px;padding:8px;background:var(--ui-surface,#fffdfa)}.technical-handoff-signoffs>div>div+div{border-left:1px solid var(--ui-line,#d8d4c9)}.technical-handoff-signoffs span{color:var(--ui-text-muted,#526459);font-size:12px}.technical-handoff-signoffs strong{font-size:13px;justify-self:end;overflow-wrap:anywhere}.technical-handoff-signoffs small{grid-column:2;font-size:11px;color:var(--ui-text-muted,#526459);overflow-wrap:anywhere}
.technical-handoff-message{margin:0;color:var(--ui-text-muted,#526459);font-size:13px;line-height:1.6}.technical-handoff-message:empty{display:none}.technical-handoff-message[data-state=error]{color:var(--ui-danger,#963a2d);padding:8px;background:var(--ui-danger-soft,#fff1ed)}
.technical-handoff-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;padding-top:8px;border-top:1px solid var(--ui-line,#d8d4c9)}
.technical-handoff-actions button{min-height:36px}.technical-handoff-queue-item{min-width:0;display:grid;gap:8px}.technical-handoff-queue-item>header small{display:block;margin-top:3px;color:var(--ui-text-muted,#526459)}.technical-handoff-queue-item .technical-handoff-intro{display:none}
@media(max-width:700px){.technical-handoff-head{flex-wrap:wrap}.technical-handoff-card .technical-handoff-fields{grid-template-columns:minmax(0,1fr)}.technical-handoff-card label.technical-handoff-field{grid-template-columns:110px minmax(0,1fr)}:is(#workspace,#sales-dialog,.technical-handoff-flow) .technical-handoff-card .technical-handoff-field :is(input,textarea).ui-control{font-size:16px;min-height:44px;min-inline-size:0!important}.technical-handoff-field>span:first-child{font-size:12px;padding:6px}.technical-handoff-card{padding:8px}.technical-handoff-card :is(button,input,textarea).ui-control{min-height:44px}.technical-handoff-actions{justify-content:stretch}.technical-handoff-actions button{flex:1}.technical-handoff-signoffs>div{grid-template-columns:minmax(0,1fr)}.technical-handoff-signoffs>div>div+div{border-left:0;border-top:1px solid var(--ui-line,#d8d4c9)}}

/* The shared calendar wraps the native input in a second span; only the first span is the field label. */
.technical-handoff-card .technical-handoff-field>.workbench-date-field{display:flex;align-items:center;min-width:0;max-width:100%;padding:0 8px;border:0;border-radius:0;background:var(--ui-surface,#fffdfa)}
