/* Workshop visual system. Existing state colors and operational behavior stay intact. */
#tech-app,#view-workshop{--work-ink:#163c50;--work-accent:#087b80;--work-line:#d7e5ec;--work-muted:#526c7c}
#tech-app{background:linear-gradient(145deg,#edf7f8,#f4f6fb 65%);color:var(--work-ink)}
#tech-app .tech-workspace .tech-header{background:linear-gradient(110deg,#123b50,#126b73);border:0;padding:26px 30px}
#tech-app .tech-header h1{color:#fff;font-size:30px;letter-spacing:-.7px}
#tech-app .tech-header .tech-brand{color:#b4f2e5}#tech-app .tech-header p{color:#daedf1}
#tech-app .tech-workspace .tech-header .btn{background:#ffffff14;color:#fff;border-color:#ffffff60;border-radius:12px;padding:12px 18px}
#tech-app .tech-sidebar{padding:26px 16px;background:#fff}
#tech-app .tech-logo>b{background:linear-gradient(135deg,#136680,#0a8b83);border-radius:15px}
#tech-app .tech-sidebar .tech-tabs{gap:8px}
#tech-app .tech-sidebar .tech-tabs button{border-radius:12px;padding:13px 14px;min-height:48px;transition:background .15s ease,border-color .15s ease}
#tech-app .tech-sidebar .tech-tabs button.selected{background:#e1f3f1;border-color:#a9d9d2;color:#075b61}
#tech-app .tech-sidebar .tech-tabs button[data-tech-tab="new"]{background:#123f56;color:#fff;border-color:#123f56;box-shadow:0 4px 10px #153d5015}
#tech-app .tech-sidebar .tech-tabs button[data-tech-tab="new"] span{color:#b7f3e5}
#tech-app .tech-sidebar .tech-tabs button[data-tech-tab="new"]:hover{background:#205b72}
#tech-app .tech-sidebar .tech-tabs button[data-tech-tab="new"].selected{outline:2px solid #0b8b83;outline-offset:2px}
#tech-app .tech-sidebar .tech-tabs button[data-marketplace]{background:#eaf5f6;border-color:#badcde;color:#07646b;box-shadow:none;margin-top:12px}
#tech-app .tech-sidebar .tech-tabs button[data-marketplace]:hover{background:#d7edee;color:#075b61}
#tech-app .tech-main{padding:26px 30px}
#tech-app .queue-metric,#tech-app .work-summary,#tech-app .tech-card,#tech-app .tech-dispatch-row{border-radius:16px;box-shadow:0 4px 18px #193e5305}
#tech-app .tech-metrics{gap:12px;margin-bottom:22px}
#tech-app .queue-metric{padding:18px;min-height:90px}
#tech-app .tech-section-head{gap:14px;margin-bottom:20px}
#tech-app .tech-row-actions{gap:10px;flex-wrap:wrap}
#tech-app .tech-row-actions .btn,#tech-app .tech-queue-tools .btn,#view-workshop .btn{min-height:44px;border-radius:12px;padding:11px 16px}
#tech-app .intake-wizard,#view-new .intake-wizard{background:#fff;border:1px solid #d7e5ec;border-radius:20px;padding:28px;box-shadow:0 10px 36px #153d5008}
#tech-app .intake-wizard h2,#view-new .intake-wizard h2{color:#163c50;letter-spacing:-.6px}
.intake-wizard [data-save]{font-size:12px;color:#526c7c}
.intake-wizard button[data-restore]{border:1px solid #cbdde5;border-radius:10px;min-height:44px;background:#f4f8fb;color:#30566b;padding:10px 14px}
.intake-wizard nav{padding:6px;background:#eef4f7;border-radius:14px;gap:6px}
.intake-wizard nav button{min-height:46px;background:transparent;border:1px solid transparent;border-radius:10px;color:#496879;font-weight:700}
.intake-wizard nav button[aria-pressed="true"]{background:#123f56;color:#fff;border-color:#123f56;box-shadow:0 3px 8px #123f5620}
#tech-app .intake-wizard input:not([type="checkbox"]):not([type="radio"]),#tech-app .intake-wizard select,#tech-app .intake-wizard textarea,#view-new .intake-wizard input:not([type="checkbox"]):not([type="radio"]),#view-new .intake-wizard select,#view-new .intake-wizard textarea{border:1px solid #b9ceda;border-radius:11px;background:#fbfdfe;padding:13px;min-height:46px}
/* Selects: 13px top/bottom padding left 18px for 16px text and clipped letters such as "p". */
#tech-app .intake-wizard select,#view-new .intake-wizard select{padding-top:9px;padding-bottom:9px}
.intake-wizard :is(input,select,textarea):focus{outline:3px solid #0b878321;outline-offset:1px;border-color:#087b80!important;background:#fff!important}
.intake-wizard footer{border-top:1px solid #e0eaf0;margin-top:24px;padding-top:20px;gap:12px}
.intake-wizard footer button{min-height:48px;border-radius:12px;padding:12px 20px;font-weight:750}
.intake-wizard footer [data-back]{background:#f2f6f8;border:1px solid #cbdde5;color:#31566b}
.intake-wizard footer .btn.primary{background:linear-gradient(110deg,#08747e,#087c70);color:#fff;border:1px solid #076e73;box-shadow:0 4px 12px #08747e1a}
#view-workshop>.section-top{background:linear-gradient(110deg,#123b50,#126b73);padding:28px;border:0;border-radius:20px}
#view-workshop>.section-top h2{color:#fff}#view-workshop>.section-top .eyebrow{color:#b4f2e5}#view-workshop>.section-top .muted{color:#daedf1}
#view-workshop>.section-top [data-marketplace]{background:#fff;color:#075f6b;border-color:#fff;font-weight:750}
#view-workshop>.panel{border-radius:18px;padding:24px}#view-workshop .workshop-stats>div{border-radius:14px;padding:18px}
#tech-app button:focus-visible,#view-workshop button:focus-visible,.intake-wizard button:focus-visible{outline:3px solid #0a948f;outline-offset:3px}
#tech-app button:disabled,#view-workshop button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
@media(max-width:1024px),(hover:none) and (pointer:coarse){
 #tech-app .tech-mobile-bar{background:linear-gradient(110deg,#123b50,#126b73);border-bottom:0;box-shadow:0 3px 12px #123b501a}
 #tech-app .tech-mobile-title{color:#fff;font-size:18px}#tech-app [data-workshop-menu]{background:#ffffff14;border-color:#ffffff60;color:#fff;border-radius:12px}
 #tech-app .tech-main{padding:16px max(12px,env(safe-area-inset-right,0px)) 28px max(12px,env(safe-area-inset-left,0px))}
 #tech-app .tech-workspace .tech-header{padding:12px}
 #tech-app .tech-sidebar{padding:20px 16px;padding-top:max(20px,env(safe-area-inset-top,0px));padding-bottom:max(20px,env(safe-area-inset-bottom,0px))}
 #tech-app .intake-wizard{padding:20px 16px;border-radius:16px}#tech-app .intake-wizard nav button{min-height:46px}
 #tech-app .queue-metric{padding:14px;min-height:84px}
 #view-workshop>.section-top,#view-workshop>.panel{padding:20px}
}
@media(prefers-reduced-motion:reduce){#tech-app .tech-sidebar .tech-tabs button{transition:none}}
.intake-wizard [data-search],.intake-wizard [data-new]{margin:0 8px 8px 0}.intake-wizard .intake-chips{gap:8px}.intake-wizard .intake-chips button{min-height:44px;border-radius:24px}.intake-wizard .intake-chips button[aria-pressed="true"]{background:#123f56;color:#fff}

#tech-app .tech-metrics{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
#tech-app .queue-metric-primary{min-height:74px;padding:12px 16px}
#tech-app .queue-metric-primary:first-child{background:#e8f4f5;color:#145664;border-color:#b9dadd}
#tech-app .queue-metric-primary:first-child strong{color:#086b79}
#tech-app .queue-secondary{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:1px}
#tech-app .queue-stage-filter{min-height:36px;padding:6px 11px;background:#fff;border:1px solid #d6e3eb;border-radius:20px;box-shadow:none;color:#476274;font-size:12px;gap:6px}
#tech-app .queue-stage-filter strong{font-size:13px;color:#23495d;min-width:0}
#tech-app .queue-stage-filter span{font-size:12px}
#tech-app .queue-stage-filter.selected{outline:2px solid #087e8b;outline-offset:1px}
#tech-app .tech-header [data-tech-scan]{background:#087e8b;border-color:#087e8b;color:#fff;font-weight:750}
#tech-app .tech-header [data-tech-scan]:hover{background:#066975}
#tech-app .tech-empty{max-width:none;min-height:150px;margin:12px 0;padding:24px;border-radius:16px}
#tech-app .tech-empty strong{color:#24495d;font-size:16px}
#tech-app .tech-empty span{font-size:13px}
#tech-app .tech-empty::before{content:none}
#tech-app .tech-empty button{min-height:44px;border-radius:10px;padding:10px 16px}
#tech-app .work-summary{margin-top:24px}
@media(max-width:850px){
 #tech-app .tech-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 #tech-app .queue-metric-primary{min-height:68px;padding:10px 12px}
 #tech-app .queue-secondary{gap:7px}
 #tech-app .queue-stage-filter{min-height:40px;padding:7px 10px}
}
