:root{--bg:#090909;--panel:#171717;--copper:#c87533;--glow:#f0a45b;--text:#fff;--muted:#cfc6bd;--green:#8fd17f;--danger:#ff6b6b;--safe-top:env(safe-area-inset-top);--safe-bottom:env(safe-area-inset-bottom)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}#app-shell{height:100%;display:grid;grid-template-rows:calc(64px + var(--safe-top)) 1fr calc(78px + var(--safe-bottom));background:radial-gradient(circle at 20% 0%,#2b1c12 0,#090909 36%,#050505 100%)}.topbar{padding:calc(8px + var(--safe-top)) 18px 6px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c8753359;background:#0008;backdrop-filter:blur(18px)}.brand{display:flex;gap:11px;align-items:center}.brand-logo{width:48px;height:48px;object-fit:contain;border-radius:50%;display:block}.brand-title{font-weight:900;font-size:21px}.brand-subtitle{font-size:12px;color:var(--muted)}.job-pill{border:1px solid #f0a45b99;border-radius:999px;padding:9px 13px;color:var(--glow);font-weight:800;background:#c875331f}#screen{overflow:auto;padding:16px 16px 28px}.tabbar{padding:8px 8px calc(8px + var(--safe-bottom));display:grid;grid-template-columns:repeat(7,1fr);gap:7px;background:#000b;border-top:1px solid #c8753359;backdrop-filter:blur(18px)}.tabbar button,.module-tabs button,.module-links button{border:1px solid #c8753359;background:#131313;color:var(--muted);border-radius:14px;padding:10px 4px;font-size:12px;font-weight:800}.tabbar button.active,.module-tabs button.active{background:linear-gradient(180deg,#46301f,#1c1612);color:#fff;border-color:var(--glow);box-shadow:0 0 18px #f0a45b40}.hero-card{position:relative;aspect-ratio:1213/413;min-height:220px;max-height:440px;border-radius:28px;overflow:hidden;border:1px solid #f0a45b6b;box-shadow:0 12px 40px #0007;margin-bottom:14px;background:#050505}.hero-card img{width:100%;height:100%;object-fit:contain;object-position:center top;position:absolute;inset:0}.hero-overlay{display:none}.hero-overlay h1{margin:0;font-size:42px}.hero-overlay p{margin:6px 0 0;color:var(--muted);font-weight:700}.dashboard-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:14px}.dashboard-grid.small{grid-template-columns:repeat(4,1fr)}.card,.builder-card,.quote-sheet,.purchase-list,.photo-box,.kanban>div,.design-notes,.module-card{background:linear-gradient(180deg,#1f1f1ff5,#0f0f0ffa);border:1px solid #c8753352;border-radius:22px;padding:18px;box-shadow:0 10px 30px #0004}.card.wide{grid-column:span 2}.card-label{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--glow);font-weight:900;margin-bottom:9px}.card h2,.card h3{margin:0 0 6px}.card p{color:var(--muted);margin:0}.money,.big{font-size:34px;font-weight:950;color:var(--glow)}.progress-row{display:flex;justify-content:space-between;border-top:1px solid #ffffff1a;margin-top:16px;padding-top:12px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat-grid div{background:#0e0e0e;border-radius:15px;padding:12px}.stat-grid span,.quote-customer span{display:block;color:var(--muted);font-size:12px}.stat-grid strong{font-size:23px;color:var(--glow)}.page-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:14px}.page-head h1{margin:0;font-size:38px}.page-head p{margin:4px 0 0;color:var(--muted);font-weight:700}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.span2{grid-column:span 2}label{display:flex;flex-direction:column;gap:8px;color:var(--glow);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}input,select,textarea{width:100%;border:1px solid #c8753359;background:#121212;color:#fff;border-radius:16px;padding:15px;font-size:17px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--glow);box-shadow:0 0 0 3px #f0a45b1f}textarea{min-height:110px;resize:none}.module-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.module-card{margin-bottom:14px}.module-card h2{margin:0 0 4px}.module-card>p{color:var(--muted);margin:0 0 14px}.table-head,.piece-row{display:grid;grid-template-columns:1.3fr .72fr .82fr .82fr 44px;gap:9px;align-items:center}.table-head{color:var(--glow);font-size:11px;font-weight:900;text-transform:uppercase;margin-bottom:8px}.piece-row{margin-bottom:9px}.remove{border:1px solid #ff6b6b66;background:#321515;color:#ff9c9c;border-radius:12px;height:48px}.secondary{margin-top:8px;background:#251a13;color:var(--glow);border:1px solid var(--copper);border-radius:16px;padding:13px 18px;font-weight:900}.compact{margin:8px 0 0;padding:9px 14px}.ghost{background:transparent;border:1px solid #ffffff33;color:var(--muted);border-radius:14px;padding:10px 14px}.danger{border-color:#ff6b6b77;color:#ff9c9c}.module-links{display:grid;gap:8px}.module-links button{padding:11px}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.photo-box{height:390px;display:grid;place-items:center;position:relative;text-align:center;color:var(--muted);font-weight:900;overflow:hidden}.photo-box input{position:absolute;inset:0;opacity:0;z-index:2}.photo-box img{width:100%;height:100%;object-fit:cover;border-radius:16px}.design-notes{display:block;margin-top:14px}.quote-brand{display:flex;align-items:center;gap:14px;border-bottom:1px solid #ffffff1a;padding-bottom:16px;margin-bottom:10px}.quote-brand img{width:70px;height:70px;object-fit:contain}.quote-brand h2,.quote-brand p{margin:0}.quote-brand p{color:var(--muted)}.quote-customer{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:10px 0 16px}.quote-customer div{background:#0d0d0d;border-radius:12px;padding:12px}.quote-row{display:grid;grid-template-columns:1fr 220px;align-items:center;gap:12px;border-bottom:1px solid #ffffff14;padding:14px 0;font-size:20px}.quote-row strong{text-align:right}.quote-row.total{color:var(--glow);font-size:28px;font-weight:950}.purchase-item{display:grid;grid-template-columns:1fr 90px 110px;gap:12px;padding:12px 0;border-bottom:1px solid #ffffff14}.purchase-item strong{color:var(--glow)}.kanban{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.kanban h3{color:var(--glow);margin:0 0 12px}.job-card{background:#0d0d0d;border:1px solid #ffffff14;border-radius:14px;padding:14px;margin-bottom:10px}.metric-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.metric-strip div{background:#0d0d0d;border-radius:14px;padding:12px}.metric-strip span{display:block;color:var(--muted);font-size:11px}.metric-strip strong{font-size:22px;color:var(--glow)}.inline-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.checkline{display:flex;flex-direction:row;align-items:center;gap:10px;text-transform:none;font-size:15px;color:#fff}.checkline input{width:22px;height:22px;padding:0}.note{color:var(--muted);font-size:13px}@media(max-width:800px){.dashboard-grid,.dashboard-grid.small,.form-grid,.photo-grid,.kanban,.inline-grid{grid-template-columns:1fr}.card.wide,.span2{grid-column:auto}.tabbar button{font-size:10px;padding:9px 2px}.hero-card{aspect-ratio:1213/413;min-height:180px}.hero-overlay h1{font-size:32px}.stat-grid,.metric-strip{grid-template-columns:repeat(2,1fr)}.table-head{display:none}.piece-row{grid-template-columns:1fr 1fr}.piece-row .remove{grid-column:span 2}.quote-row{grid-template-columns:1fr auto}.quote-customer{grid-template-columns:1fr}.brand-subtitle{display:none}}@media print{.topbar,.tabbar,.page-head button{display:none!important}html,body,#app-shell{overflow:visible;height:auto;background:#fff;color:#111}#app-shell{display:block}#screen{overflow:visible;padding:0}.quote-sheet{box-shadow:none;border:0;background:#fff;color:#111}.quote-row,.quote-brand{border-color:#ddd}.quote-brand p,.quote-customer span{color:#555}.quote-customer div{background:#f5f5f5}.quote-row.total{color:#8b4b1e}}

.saved-jobs{display:grid;gap:10px;margin-bottom:18px}
.saved-job{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:#111}
.saved-job>div:first-child{display:flex;flex-direction:column;gap:4px}.saved-job span{color:var(--muted)}
.saved-job>div:last-child{display:flex;gap:8px}
.tabbar{overflow-x:auto;scrollbar-width:none}.tabbar::-webkit-scrollbar{display:none}.tabbar button{min-width:100px}
@media(max-width:700px){.saved-job{align-items:flex-start;flex-direction:column}.saved-job>div:last-child{width:100%}.saved-job button{flex:1}}

.surface-head,.surface-row{display:grid;grid-template-columns:1.35fr 1fr .8fr 1fr 1.25fr 42px;gap:8px;align-items:center}
.surface-head{padding:0 4px 8px;color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.05em}
.surface-row{margin-bottom:8px}.backsplash-cell{display:flex;align-items:center;gap:7px}.backsplash-cell .checkline{min-width:62px}.backsplash-height{min-width:0}
@media(max-width:800px){.surface-head{display:none}.surface-row{grid-template-columns:1fr 1fr;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;margin-bottom:10px}.surface-row .piece-name{grid-column:1/-1}.backsplash-cell{grid-column:1/-1}.surface-row .remove{justify-self:end}}

.time-clock-card{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:center;background:#111;border:1px solid var(--line);border-radius:20px;padding:18px;margin-bottom:18px}
.time-clock-card span,.time-clock-card small{display:block;color:var(--muted)}.time-clock-card strong{display:block;font-size:1.2rem}.time-actions{display:flex;gap:8px}
.time-entry{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px;margin-bottom:8px;background:#101010}
.time-entry div{display:flex;flex-direction:column;gap:4px}.time-entry span,.time-entry small{color:var(--muted)}
.wide{grid-column:1/-1}.wide textarea{min-height:96px}
@media(max-width:800px){.time-clock-card{grid-template-columns:1fr}.time-actions button{flex:1}.time-entry{align-items:flex-start;flex-direction:column}.time-entry button{width:100%}}

/* v10.8 — restore the rolled-back header proportions Shawn approved */
#app-shell{grid-template-rows:calc(226px + var(--safe-top)) 1fr calc(78px + var(--safe-bottom));}
.topbar.brand-header-full{
  position:relative;overflow:hidden;
  padding:calc(8px + var(--safe-top)) 18px 8px;
  min-height:calc(226px + var(--safe-top));
  display:flex;align-items:flex-end;justify-content:center;
  background:#050302;border-bottom:1px solid #c8753380;
}
.topbar.brand-header-full::before{
  content:"";position:absolute;inset:0;
  background:url("assets/dcc-hero.jpg") center/cover no-repeat;
  filter:brightness(.22) blur(12px);transform:scale(1.08);opacity:.72;
}
.full-header-card{
  position:absolute;top:8px;bottom:8px;left:50%;transform:translateX(-50%);
  width:min(640px,calc(100% - 170px));height:calc(100% - 16px);
  object-fit:contain;object-position:center;display:block;z-index:1;
  border-radius:10px;
}
.header-shade{display:none}
.brand-header-full .job-pill{
  position:absolute;right:22px;bottom:14px;z-index:2;
  margin:0;background:rgba(5,5,5,.72);backdrop-filter:blur(8px);
}
.customer-brand-hero{display:none}
#screen{padding-top:20px}
@media(max-width:800px){
  #app-shell{grid-template-rows:calc(190px + var(--safe-top)) 1fr calc(78px + var(--safe-bottom));}
  .topbar.brand-header-full{min-height:calc(190px + var(--safe-top));padding:calc(6px + var(--safe-top)) 10px 6px}
  .full-header-card{top:6px;bottom:6px;width:min(640px,calc(100% - 130px));height:calc(100% - 12px)}
  .brand-header-full .job-pill{right:12px;bottom:12px;font-size:13px;padding:8px 11px}
}


/* HEADER SCROLL FIX ONLY — preserve v10.8 visual design */
#app-shell{
  height:100%;
  display:block;
  overflow-y:auto;
  overflow-x:hidden;
  padding-bottom:calc(78px + var(--safe-bottom));
}
.topbar.brand-header-full{
  position:relative;
}
#screen{
  overflow:visible;
}
.tabbar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:1000;
  min-height:calc(78px + var(--safe-bottom));
}

/* JOBS HUB v3 */
.job-hub-card{align-items:center;gap:14px}
.job-hub-main{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(150px,1.5fr) auto;align-items:center;gap:14px;flex:1}
.job-hub-main strong{font-size:16px}
.job-hub-main span{color:var(--muted)}
.job-hub-main b{font-size:18px;white-space:nowrap}
.job-hub-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.job-status{min-width:145px;border:1px solid var(--line);border-radius:10px;padding:9px 10px;background:white;font-weight:700}
@media(max-width:700px){
 .job-hub-card{align-items:stretch}
 .job-hub-main{grid-template-columns:1fr auto}
 .job-hub-main span{grid-column:1/-1;grid-row:2}
 .job-hub-actions{justify-content:flex-start}
}

/* FLOW / QUOTE / PURCHASE v5 */
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:white}
.table-wrap table{width:100%;border-collapse:collapse;min-width:680px}
.table-wrap th,.table-wrap td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}
.table-wrap th{background:#f3f6fa;font-weight:900;color:#26364d}
.table-wrap tfoot th{background:#eef3f8}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.metric{border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff}
.metric span{display:block;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}
.metric b{font-size:20px}
@media(max-width:800px){.metrics{grid-template-columns:repeat(2,1fr)}}

/* DCC TIME TRACKING v14 */
.dcc-time-page{padding:18px;max-width:1100px;margin:0 auto 110px}
.dcc-time-shell{display:grid;gap:18px}
.dcc-time-hero,.dcc-time-entry,.dcc-time-summary,.dcc-time-history{background:#fff;border:1px solid #dbe3ec;border-radius:22px;padding:20px;box-shadow:0 8px 24px rgba(15,39,66,.06)}
.dcc-time-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#102a47,#1c426a);color:#fff}
.dcc-time-hero h2{margin:5px 0 4px;font-size:28px}.dcc-time-hero p{margin:0;opacity:.8}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.12em;opacity:.75}
.time-total{text-align:center;min-width:120px}.time-total b{display:block;font-size:38px}.time-total span{font-size:11px;font-weight:900;letter-spacing:.1em}
.dcc-time-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dcc-time-entry label{font-size:11px;font-weight:900;letter-spacing:.08em;color:#526275}.dcc-time-entry input,.dcc-time-entry select{width:100%;margin-top:6px;padding:13px;border:1px solid #cfd9e5;border-radius:13px;font-size:16px;background:#fff}
.time-note{grid-column:1/-1}.dcc-time-entry button{grid-column:1/-1;border:0;border-radius:14px;padding:15px;background:#102a47;color:#fff;font-weight:900;font-size:16px}
#dccTimeStatus{grid-column:1/-1;text-align:center;font-weight:800;color:#35506e}
.time-summary-row,.time-row{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid #e6ebf1}.time-row div{display:flex;flex-direction:column;gap:4px}.time-row span{color:#66768a;font-size:13px}.time-row strong{white-space:nowrap}
@media(max-width:650px){.dcc-time-page{padding:12px}.dcc-time-hero{align-items:flex-start}.dcc-time-hero h2{font-size:23px}.dcc-time-entry{grid-template-columns:1fr}.time-note,.dcc-time-entry button,#dccTimeStatus{grid-column:1}.time-total b{font-size:30px}}

.dcc-mission-page{padding:18px;max-width:1100px;margin:0 auto 6px}.mc-shell{display:grid;gap:18px}.mc-hero,.mc-stat,.mc-card{background:#fff;border:1px solid #dbe3ec;border-radius:22px;padding:20px;box-shadow:0 8px 24px rgba(15,39,66,.06)}.mc-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#102a47,#1c426a);color:#fff}.mc-hero h2{margin:5px 0 4px;font-size:30px}.mc-hero p{margin:0;opacity:.8}.mc-big{text-align:center;min-width:130px}.mc-big b{display:block;font-size:42px}.mc-big span,.mc-stat span{font-size:11px;font-weight:900;letter-spacing:.1em}.mc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mc-stat span{color:#66768a}.mc-stat b{display:block;font-size:24px;margin-top:8px;color:#102a47}.mc-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}.mc-card h3{margin-top:0}.mc-job,.mc-line{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid #e6ebf1}.mc-job div{display:flex;flex-direction:column;gap:4px}.mc-job span{color:#66768a;font-size:13px}.mc-job strong,.mc-line b{white-space:nowrap}@media(max-width:750px){.dcc-mission-page{padding:12px}.mc-stats{grid-template-columns:repeat(2,1fr)}.mc-grid{grid-template-columns:1fr}.mc-hero h2{font-size:24px}.mc-big b{font-size:32px}}

/* CUSTOMER / PERIOD TIME SUMMARY v17 */
#dccTimeSummaryV17{padding:18px;max-width:1100px;margin:0 auto}.v17-summary{display:grid;gap:14px}.v17-periods{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.v17-card{background:#fff;border:1px solid #dbe3ec;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(15,39,66,.06)}.v17-card span{display:block;font-size:11px;font-weight:900;letter-spacing:.1em;color:#66768a}.v17-card b{display:block;font-size:28px;color:#102a47;margin-top:8px}.v17-job h3{margin:7px 0 0;color:#102a47}.v17-job small{display:block;color:#66768a;margin-top:3px}@media(max-width:650px){#dccTimeSummaryV17{padding:12px}.v17-periods{grid-template-columns:1fr}}

/* TIME SELECTION FIX v18 */
.dcc-time-selection{grid-column:1/-1;background:#f4f7fa;border:1px solid #cfd9e5;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.dcc-time-selection span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#66768a}
.dcc-time-selection b{font-size:17px;color:#102a47}
.dcc-time-selection strong{font-size:14px;color:#526275}
@media(max-width:650px){.dcc-time-selection{grid-column:1}}

/* JOB TIME BREAKDOWN v19 */
.dcc-job-time-report{max-width:1100px;margin:0 auto;padding:0 18px 18px}.dcc-job-time-report{background:#fff;border:1px solid #dbe3ec;border-radius:20px;padding:18px;box-shadow:0 8px 24px rgba(15,39,66,.06)}.v19-head{display:flex;justify-content:space-between;gap:16px;align-items:end}.v19-head span,.v19-total span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#66768a}.v19-head h3{margin:5px 0 0;color:#102a47}.v19-head select{min-width:280px}.v19-total{margin-top:18px;padding:16px;border-radius:14px;background:#f4f7fa}.v19-total b{display:block;font-size:30px;color:#102a47;margin-top:5px}.v19-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:12px}.v19-line{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e6ebf1}@media(max-width:650px){.dcc-job-time-report{margin:0 12px 12px;padding:14px}.v19-head{display:block}.v19-head select{min-width:0;width:100%;margin-top:12px}.v19-columns{grid-template-columns:1fr}}

/* OUTSIDE HELP v20 */
.dcc-outside-help{max-width:1100px;margin:0 auto 100px;background:#fff;border:1px solid #dbe3ec;border-radius:20px;padding:18px;box-shadow:0 8px 24px rgba(15,39,66,.06)}.v20-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.v20-head span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#66768a}.v20-head h3{margin:5px 0;color:#102a47}.v20-head>b{font-size:22px;color:#102a47}.v20-form{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:14px}.v20-form label{font-size:11px;font-weight:900;letter-spacing:.08em;color:#526275}.v20-form input,.v20-form select{width:100%;margin-top:6px;padding:12px;border:1px solid #cfd9e5;border-radius:12px;font-size:16px;background:#fff}.v20-form button,#v20Status{grid-column:1/-1}.v20-form button{border:0;border-radius:14px;padding:14px;background:#102a47;color:#fff;font-weight:900}.v20-row{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #e6ebf1}.v20-row div{display:flex;flex-direction:column;gap:4px}.v20-row span{font-size:13px;color:#66768a}.v20-row strong{white-space:nowrap}@media(max-width:650px){.dcc-outside-help{margin:0 12px 90px;padding:14px}.v20-form{grid-template-columns:1fr}.v20-form button,#v20Status{grid-column:1}.v20-row{align-items:flex-start}}

/* JOB COMMAND v21 */
.dcc-job-command{display:grid;gap:14px;margin-bottom:18px}.v21-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;background:linear-gradient(135deg,#102a47,#1c426a);color:#fff;border-radius:20px;padding:20px}.v21-hero span{font-size:10px;font-weight:900;letter-spacing:.1em;opacity:.75}.v21-hero h2{margin:5px 0 0}.v21-hero>b{font-size:34px}.v21-hero small{font-size:10px}.v21-stagebar{display:flex;gap:10px;overflow:auto;padding-bottom:3px}.v21-stagebar>div{min-width:145px;background:#fff;border:1px solid #dbe3ec;border-radius:14px;padding:12px}.v21-stagebar span{display:block;font-size:11px;color:#66768a}.v21-stagebar b{display:block;font-size:24px;color:#102a47;margin-top:4px}.v21-list{display:grid;gap:10px}.v21-job{display:grid;grid-template-columns:1.1fr 1fr 1.4fr;gap:12px;align-items:end;background:#fff;border:1px solid #dbe3ec;border-radius:16px;padding:14px}.v21-job>div{display:flex;flex-direction:column;gap:3px}.v21-job>div span{color:#66768a;font-size:13px}.v21-job label{font-size:10px;font-weight:900;letter-spacing:.08em;color:#66768a}.v21-job select,.v21-job input{width:100%;margin-top:5px;padding:10px;border:1px solid #cfd9e5;border-radius:10px;background:#fff;font-size:14px}@media(max-width:700px){.v21-job{grid-template-columns:1fr}.v21-hero h2{font-size:21px}}

/* OPERATIONS BUNDLE v22 */
.dcc-production-v22{display:grid;gap:14px;margin:0 0 18px;background:#fff;border:1px solid #dbe3ec;border-radius:20px;padding:18px;box-shadow:0 8px 24px rgba(15,39,66,.06)}
.v22-head{display:flex;justify-content:space-between;gap:16px;align-items:end}.v22-head span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#66768a}.v22-head h2{margin:5px 0 0;color:#102a47}.v22-head select{min-width:300px}
.v22-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.v22-step{display:flex;align-items:center;gap:10px;border:1px solid #dbe3ec;border-radius:13px;padding:12px;background:#fff}.v22-step input{width:20px;height:20px}.v22-step>span{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#eef3f8;font-weight:900;color:#102a47}.v22-step.done{background:#f4f8f5}.v22-step.done>span{background:#dfeee4}
.v22-quote-tools{display:flex;justify-content:flex-end;margin:0 0 12px}.v22-quote-tools button{border:0;border-radius:12px;padding:12px 16px;background:#102a47;color:#fff;font-weight:900}
@media(max-width:700px){.v22-head{display:block}.v22-head select{min-width:0;width:100%;margin-top:12px}.v22-steps{grid-template-columns:1fr}}
@media print{
  @page{size:letter;margin:.55in}
  body{background:#fff!important;color:#000!important;font-family:Arial,Helvetica,sans-serif!important}
  header,.topbar,.bottom-nav,nav,.nav,.tabs,.v22-quote-tools,.dcc-job-command,.dcc-production-v22,.dcc-time-page,.dcc-outside-help,#dccTimeSummaryV17,.dcc-job-time-report{display:none!important}
  #screen,.screen,.app,.card,.module-card,.quote,.customer-quote{background:#fff!important;color:#000!important;box-shadow:none!important;border-color:#bbb!important}
  *{text-shadow:none!important}
  h1,h2,h3,h4,b,strong,span,p,td,th,label{color:#000!important}
  table{width:100%!important;border-collapse:collapse!important}
  th,td{border-bottom:1px solid #bbb!important;padding:6px!important}
  .quote-header,.customer-quote-header{background:#fff!important;color:#000!important;border-bottom:2px solid #000!important}
  button,input,select,textarea{box-shadow:none!important}
}

/* MATERIALS CONTROL v23 */
.dcc-materials-v23{margin-top:16px;background:#fff;border:1px solid #dbe3ec;border-radius:18px;padding:16px}.v23-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.v23-head span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#66768a}.v23-head h3{margin:5px 0;color:#102a47}.v23-grid{display:grid;gap:8px;margin-top:12px}.v23-row{display:grid;grid-template-columns:1fr 180px;gap:12px;align-items:center;border-top:1px solid #e6ebf1;padding:10px 0}.v23-row>div{display:flex;flex-direction:column;gap:3px}.v23-row span{font-size:13px;color:#66768a}.v23-row select{width:100%;padding:10px;border:1px solid #cfd9e5;border-radius:10px;background:#fff}@media(max-width:650px){.v23-row{grid-template-columns:1fr 135px}}

/* INVENTORY + PURCHASE v24 */
.dcc-inventory-v24,.dcc-purchase-reconcile-v24{margin-top:16px;background:#fff;border:1px solid #dbe3ec;border-radius:18px;padding:16px}.v24-head,.v24-rec-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.v24-head span,.v24-rec-head span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#66768a}.v24-head h2,.v24-rec-head h3{margin:5px 0;color:#102a47}.v24-add{display:grid;grid-template-columns:1.5fr .7fr .8fr .8fr 1fr;gap:8px;margin-top:12px}.v24-add input,.v24-add button,.v24-row input{padding:10px;border:1px solid #cfd9e5;border-radius:10px;font-size:14px}.v24-add button,#v24Status{grid-column:1/-1}.v24-add button{background:#102a47;color:#fff;border:0;font-weight:900}.v24-row,.v24-rec-row{display:grid;grid-template-columns:1.5fr .7fr .5fr .5fr;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #e6ebf1}.v24-row>div{display:flex;flex-direction:column}.v24-row span{font-size:12px;color:#66768a}.v24-row label{font-size:10px;font-weight:900;color:#66768a}.v24-row input{width:100%;margin-top:4px}.v24-row em{font-style:normal;font-weight:900}.v24-rec-row{grid-template-columns:1.5fr .8fr .8fr 1fr}.v24-rec-row strong{color:#102a47}@media(max-width:700px){.v24-add{grid-template-columns:1fr 1fr}.v24-add button,#v24Status{grid-column:1/-1}.v24-row{grid-template-columns:1fr .8fr}.v24-rec-row{grid-template-columns:1fr 1fr}.v24-rec-row b{grid-column:1/-1}}

/* OPERATIONAL BACKBONE v25 */
.dcc-backbone-v25{display:grid;gap:14px;margin:0 0 18px}
.v25-shell,.v25-card{background:#fff;border:1px solid #dbe3ec;border-radius:20px;padding:18px;box-shadow:0 8px 24px rgba(15,39,66,.06)}
.v25-hero{display:flex;justify-content:space-between;gap:16px;align-items:end;background:linear-gradient(135deg,#102a47,#1c426a);color:#fff;border-radius:18px;padding:18px}
.v25-hero span{font-size:10px;font-weight:900;letter-spacing:.1em;opacity:.75}.v25-hero h2{margin:5px 0}.v25-hero p{margin:0;opacity:.85}.v25-hero select{min-width:260px;padding:11px;border:0;border-radius:12px}
.v25-checks{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}.v25-checks label{display:flex;align-items:center;gap:10px;border:1px solid #dbe3ec;border-radius:13px;padding:12px}.v25-checks input{width:20px;height:20px}.v25-checks label.done{background:#f4f8f5}
.v25-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;align-items:center}.v25-actions button{border:0;border-radius:12px;padding:12px 14px;background:#102a47;color:#fff;font-weight:900}.v25-actions #v25Status{color:#35506e;font-weight:800}
.v25-quote-preview{margin-top:14px}
.v25-quote-paper{background:#fff;color:#111;border:1px solid #bbb;border-radius:10px;padding:22px}.v25-quote-head{display:flex;justify-content:space-between;border-bottom:2px solid #111;padding-bottom:12px;gap:20px}.v25-quote-head h1{font-size:23px;margin:0;color:#111}.v25-quote-head p,.v25-quote-head span{margin:4px 0 0;color:#444}.v25-quote-info{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}.v25-quote-info span{display:block;font-size:10px;font-weight:900;letter-spacing:.08em;color:#555}.v25-quote-info b{color:#111}.v25-quote-table{width:100%;border-collapse:collapse}.v25-quote-table th,.v25-quote-table td{border-bottom:1px solid #ccc;padding:10px;text-align:left;color:#111}.v25-quote-table th:last-child,.v25-quote-table td:last-child{text-align:right}.v25-terms h3{margin:18px 0 6px;color:#111}.v25-terms p{color:#333;line-height:1.45}.v25-signature{display:flex;justify-content:space-between;gap:16px;margin-top:22px;color:#111}
@media(max-width:700px){.v25-hero{display:block}.v25-hero select{width:100%;margin-top:12px;min-width:0}.v25-checks,.v25-quote-info{grid-template-columns:1fr}.v25-signature{display:block}.v25-signature span{display:block;margin-top:10px}}
@media print{
  .v25-quote-paper{border:0!important;border-radius:0!important;padding:0!important}
  .v25-quote-preview{display:block!important}
  body *{visibility:hidden}
  .v25-quote-paper,.v25-quote-paper *{visibility:visible}
  .v25-quote-paper{position:absolute;left:0;top:0;width:100%}
}

/* PRODUCTION CANDIDATE v26 */
.dcc-followups-v26,.dcc-business-report-v26{background:#fff;border:1px solid #dbe3ec;border-radius:20px;padding:18px;margin:0 0 18px;box-shadow:0 8px 24px rgba(15,39,66,.06)}
.v26-follow-head,.v26-report-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.v26-follow-head span,.v26-report-head span,.v26-stats span,.v26-periods span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#66768a}.v26-follow-head h2,.v26-report-head h2{margin:5px 0;color:#102a47}
.v26-follow{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #e6ebf1}.v26-follow>div{display:flex;flex-direction:column;gap:3px}.v26-follow span{font-size:13px;color:#66768a}.v26-follow strong{color:#102a47;text-align:right}
.v26-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.v26-stats>div,.v26-periods>div{border:1px solid #dbe3ec;border-radius:14px;padding:13px}.v26-stats b,.v26-periods b{display:block;font-size:22px;color:#102a47;margin-top:6px}.v26-periods{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.v26-note{color:#66768a;font-size:13px;margin-bottom:0}
@media(max-width:700px){.v26-stats{grid-template-columns:repeat(2,1fr)}.v26-periods{grid-template-columns:1fr}.v26-follow{display:block}.v26-follow strong{display:block;text-align:left;margin-top:7px}}
@media print{.dcc-followups-v26,.dcc-business-report-v26{display:none!important}}

/* CONTROLLED FRESH START v28 */
#dccFreshStartV28{margin:0 0 18px}.v28-fresh{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#fff;border:2px solid #102a47;border-radius:20px;padding:18px}.v28-fresh span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#66768a}.v28-fresh h2{margin:5px 0;color:#102a47}.v28-fresh p{margin:0;color:#526275}.v28-fresh button{border:0;border-radius:14px;padding:14px 18px;background:#102a47;color:#fff;font-weight:900;white-space:nowrap}.v28-fresh strong{color:#35506e}@media(max-width:700px){.v28-fresh{display:block}.v28-fresh button{width:100%;margin-top:14px}}
@media print{#dccFreshStartV28{display:none!important}}

