:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#172032;background:#f3f6fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}.app{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:linear-gradient(160deg,#152235,#0c1423 78%);color:#c3cede;position:sticky;top:0;height:100vh;padding:20px 14px;display:flex;flex-direction:column}.logo{font-size:30px;letter-spacing:-1.3px;font-weight:850;color:#f6f8ff;padding:0 14px 25px}.logo b{color:#2d7cff}.sidelabel{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#7c8da5;margin:19px 15px 9px}.sideitem{width:100%;text-align:left;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#becce0;padding:12px 13px;border-radius:10px;font-size:13px;margin-bottom:3px;transition:background .2s}.sideitem:hover{background:#203248;color:#fff}.sideitem.active{background:linear-gradient(95deg,#0769ea,#317eff);color:#fff;box-shadow:0 6px 15px #0759e747;font-weight:800}.sideitem .ico{width:21px;font-size:17px;opacity:.95;text-align:center}.sidebadge{margin-left:auto;padding:2px 6px;border-radius:20px;background:#ec4e5a;color:#fff;font-size:10px}.sidebottom{margin-top:auto;font-size:11px;color:#93a4bd;line-height:1.65;padding:18px 12px 0;border-top:1px solid #263247}.main{min-width:0}.topbar{height:62px;background:#fff;border-bottom:1px solid #e2e8f2;display:flex;align-items:center;padding:0 29px;gap:24px}.topsearch{background:#f6f8fb;border:1px solid #e0e6ef;padding:11px 14px;border-radius:8px;color:#76849b;max-width:540px;width:100%;font-size:12px}.topright{margin-left:auto;display:flex;gap:20px;align-items:center;color:#5c6a80;font-size:12px;white-space:nowrap}.avatar{width:29px;height:29px;border-radius:50%;background:#1c3354;color:#fff;display:grid;place-items:center;font-weight:800}.workspace{max-width:1550px;margin:0 auto;padding:25px 27px 50px}.pagehead{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.eyebrow{color:#5f7d9a;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:5px}.pagetitle{font-size:27px;font-weight:840;letter-spacing:-.9px;margin:0 0 5px;color:#182235}.subtitle{font-size:13px;color:#728098;line-height:1.5;margin:0}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;padding:10px 13px;border:1px solid #d8e0ed;background:#fff;color:#253249;font-size:12px;font-weight:750;white-space:nowrap;box-shadow:0 1px 1px #00000008}.btn:hover{background:#f4f8ff;border-color:#abc5ef}.btn.primary{color:#fff;border-color:#1471ec;background:linear-gradient(120deg,#075de2,#2c83f9);box-shadow:0 6px 14px #1873e628}.btn.primary:hover{filter:brightness(1.06)}.btn.subtle{background:#eff5ff;border-color:#cfe0fc;color:#1466d8}.btn.danger{background:#fff1f3;color:#b42c42;border-color:#fbd3d9}.btn.sm{padding:7px 9px;font-size:11px}.btn.icon{padding:7px 10px}.demo-note{background:#fff9e9;border:1px solid #f5e4b0;color:#7a6120;border-radius:9px;font-size:12px;padding:10px 13px;display:flex;align-items:center;gap:9px;margin-bottom:16px}.projectbar{display:flex;gap:11px;flex-wrap:wrap;align-items:center;margin-bottom:17px}.projectbar label{font-size:12px;font-weight:750;color:#4b5b74}.projectbar select{min-width:250px}.project-meta{font-size:12px;color:#64748b}.control{border:1px solid #dce3ee;background:#fff;border-radius:8px;padding:9px 10px;color:#253249;max-width:100%;font-size:12px}.control:focus{outline:2px solid #9ac3ff;outline-offset:1px}.tabbar{display:flex;gap:1px;border-bottom:1px solid #dce5f1;overflow:auto;background:#fff;border-radius:10px 10px 0 0;padding:0 7px}.tab{border:0;background:transparent;color:#65748c;padding:15px 17px 13px;white-space:nowrap;font-size:12px;font-weight:750;border-bottom:3px solid transparent}.tab:hover{color:#0d63d6}.tab.active{color:#116bde;border-color:#1675f0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:19px 0}.stat{display:flex;align-items:center;gap:14px;padding:17px;background:#fff;border:1px solid #e0e7f0;border-radius:10px;min-width:0;box-shadow:0 2px 5px #16325108}.staticon{flex-shrink:0;display:grid;place-items:center;width:49px;height:49px;background:#eaf2ff;border-radius:9px;color:#1c77ed;font-size:23px}.staticon.green{color:#0a9d60;background:#e5f9ef}.staticon.purple{color:#773fea;background:#f0eafe}.staticon.orange{color:#e89406;background:#fff4df}.statnum{font-size:26px;font-weight:850;line-height:1.05}.statlabel{font-size:12px;color:#6c7890;margin-top:4px}.statlink{font-size:11px;color:#176bd8;margin-top:5px}.panel{background:#fff;border:1px solid #dfe6ef;border-radius:11px;box-shadow:0 2px 6px #1e36520a;overflow:hidden;min-width:0}.panelhead{padding:14px 16px;background:linear-gradient(120deg,#152233,#1e2b3e);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:8px}.panelhead h2{font-size:13px;margin:0;letter-spacing:.2px}.panelhead p{font-size:11px;color:#d4dce8;margin:4px 0 0}.panelbody{padding:15px}.overviewgrid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:15px;margin-top:15px}.ovcard{min-height:258px}.row{display:flex;align-items:center;gap:9px}.between{justify-content:space-between}.muted{color:#718098}.small{font-size:12px}.tiny{font-size:11px}.mt{margin-top:12px}.mb{margin-bottom:12px}.stack{display:flex;flex-direction:column;gap:9px}.minirow{border-bottom:1px solid #ebf0f6;padding:9px 0;font-size:12px;display:flex;justify-content:space-between;gap:8px;align-items:center}.minirow:last-child{border-bottom:0}.semibold{font-weight:750}.hint{color:#718098;font-size:11px;line-height:1.5}.section{margin-top:17px}.toolbar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:12px}.toolbar h2{margin:0;font-size:17px;letter-spacing:-.25px}.filters{display:flex;gap:8px;flex-wrap:wrap}.tablewrap{width:100%;overflow:auto}.datatable{width:100%;border-collapse:collapse;min-width:770px;font-size:12px;text-align:left}.datatable th{background:#f3f6fa;color:#4b5b74;font-size:11px;padding:12px 9px;border-bottom:1px solid #e1e6ef;white-space:nowrap}.datatable td{padding:11px 9px;border-bottom:1px solid #edf0f5;vertical-align:middle}.datatable tr:hover td{background:#f9fbff}.datatable tr:last-child td{border-bottom:none}.pill{border-radius:30px;padding:5px 8px;font-size:10px;font-weight:800;white-space:nowrap;display:inline-block;background:#edf1f7;color:#50627c}.pill.confirmed{background:#e1f8e9;color:#138348}.pill.pending,.pill.prepared{background:#fff2d4;color:#9a6a0b}.pill.declined{background:#ffe5e8;color:#b83749}.pill.queued{background:#eaf2ff;color:#166ee0}.crewname{font-weight:780;color:#1f2f45}.nameavatar{background:#dceaff;color:#2e65bc;font-size:10px;font-weight:900;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.fieldinline{background:transparent;border:1px solid #d8e0eb;padding:6px;border-radius:6px;width:120px;max-width:100%;font-size:11px}.fieldinline.smallfield{width:85px}.selectedtab{font-weight:800;color:#216be0}.blank{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:30px;text-align:center;color:#6d7b91;font-size:12px}.blank .largeicon{font-size:32px}.layout2{display:grid;grid-template-columns:1fr 1fr;gap:17px}.templategrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.templatecard{border:1px solid #dce4f0;border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:12px;background:#fff}.templatecard h3{font-size:14px;margin:0 0 5px}.templatecard p{font-size:11px;color:#718198;line-height:1.5;margin:0}.templateicon{width:38px;height:38px;display:grid;place-items:center;background:#eaf2ff;color:#146ce0;border-radius:9px;font-size:20px}.templatefoot{margin-top:auto;display:flex;gap:8px}.pdfpreview{background:#e4e8f0;padding:15px;border:1px solid #d7dee9;border-radius:7px;overflow:auto}.paper{background:#fff;box-shadow:0 2px 13px #20304827;padding:20px 22px;min-width:635px;color:#171b21}.paper h3{font-size:18px;margin:0;font-weight:850}.paper .brand{font-size:21px;font-weight:850}.paper .brand b{color:#246de0}.paper .qr{width:69px;height:69px;object-fit:contain}.paper .pmeta{font-size:9px;border-bottom:1px solid #777;padding:3px 0}.papertable{width:100%;border-collapse:collapse;font-size:7px;margin-top:10px}.papertable th{background:#ebedf0}.papertable td,.papertable th{border:1px solid #9a9a9a;padding:5px 3px;text-align:center}.papertable td:first-child{text-align:left}.paper .paperfoot{display:flex;justify-content:space-between;font-size:9px;margin-top:11px}.checklist{display:flex;flex-direction:column;gap:7px;font-size:12px}.callgrid{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.5fr);gap:17px}.calloptions{display:flex;flex-direction:column;gap:13px}.formlabel{font-size:11px;font-weight:800;color:#4b5870;display:flex;flex-direction:column;gap:6px}.formlabel .control{width:100%}.note{background:#eff6ff;border:1px solid #d1e2ff;border-radius:8px;color:#315a88;font-size:11px;padding:12px;line-height:1.5}.messagebox{padding:10px;background:#f8fafc;border:1px solid #e4e8f0;border-radius:8px;font-size:12px;color:#405065;line-height:1.6}.divider{height:1px;background:#e5ebf3;margin:14px 0}.badgebrand{background:#e8f2ff;color:#166add;padding:4px 9px;border-radius:99px;font-size:10px;font-weight:800}.mutedline{font-size:11px;color:#748198;margin-top:5px}.modal{width:min(540px,94vw);border:1px solid #dbe5f1;border-radius:14px;box-shadow:0 20px 80px #17223544;padding:0;max-height:90vh;overflow:auto}.modal::backdrop{background:#0b1834ae}.modalbar{padding:20px 22px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e8f0}.modalbar h2{margin:0;font-size:18px}.modalmain{padding:20px 22px}.modalfoot{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formgrid .full{grid-column:1/-1}.candidate{padding:12px;border:1px solid #e1e7f0;border-radius:9px;display:flex;justify-content:space-between;align-items:center;gap:11px}.candidate label{display:flex;gap:10px;align-items:center;cursor:pointer}.candidate input{accent-color:#1d74ed;width:17px;height:17px}.notifier{position:fixed;right:25px;bottom:22px;z-index:100;background:#18283e;color:#fff;padding:13px 17px;border-radius:10px;font-size:12px;box-shadow:0 12px 30px #0004;max-width:440px}.notifier[hidden]{display:none}.mobilebar{display:none}.overlay{display:none}.singlecall{width:min(100%,680px);margin:auto;background:#fff;padding:28px;border:1px solid #d9e0eb;box-shadow:0 3px 10px #0001}.singlecall .bigtitle{font-weight:850;font-size:23px}.infotiles{display:grid;grid-template-columns:1fr 1fr;gap:13px}.infotiles .info{border-radius:9px;background:#f1f6fc;padding:14px}.infotiles .info span{font-size:11px;color:#75869b}.infotiles .info strong{display:block;margin-top:3px;font-size:13px;color:#23344a}.fauxlink{color:#1b73e7;font-weight:700;font-size:11px}input[type=checkbox]{accent-color:#1771ee}textarea.control{min-height:74px;resize:vertical}@media(max-width:1230px){.overviewgrid{grid-template-columns:1fr 1fr}.ovcard:first-child{grid-column:span 2}.templategrid{grid-template-columns:1fr 1fr}.callgrid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:840px){.app{display:block}.sidebar{display:none;position:fixed;z-index:80;inset:0 auto 0 0;width:260px}.sidebar.open{display:flex}.overlay.show{display:block;position:fixed;inset:0;background:#0007;z-index:79}.mobilebar{display:inline-flex;background:transparent;border:0;color:#26374e;font-size:23px}.topbar{gap:13px;padding:0 16px}.workspace{padding:20px 15px}.pagetitle{font-size:24px}.topsearch{max-width:none}.topright .tophelp{display:none}}@media(max-width:590px){.stats{grid-template-columns:1fr 1fr;gap:9px}.stat{padding:13px 10px;gap:10px}.staticon{width:35px;height:35px;font-size:18px}.statnum{font-size:21px}.statlabel{font-size:10px}.overviewgrid,.layout2,.templategrid{grid-template-columns:1fr}.ovcard:first-child{grid-column:auto}.pagehead{flex-direction:column}.formgrid{grid-template-columns:1fr}.formgrid .full{grid-column:auto}.topright{gap:8px}.topsearch{font-size:10px}.statlink{font-size:10px}.modalfoot{flex-direction:column-reverse}.modalfoot .btn{width:100%}}@media print{.sidebar,.topbar,.pagehead,.projectbar,.tabbar,.stats,.demo-note,.actions,.toolbar,.panelhead,.notprint,.calloptions{display:none!important}.app{display:block}.workspace{padding:0}.pdfpreview{padding:0;background:#fff;border:0}.paper{box-shadow:none;min-width:unset;width:100%;padding:0}.callgrid{display:block}.panel{border:0;box-shadow:none}.panelbody{padding:0}@page{size:landscape;margin:.35in}}
/* Prototype additions: preserve BookedAV-like information architecture */
.footerreview{margin:28px 0 0;text-align:center;color:#8996ac;font-size:10px;border-top:1px solid #e2e9f3;padding-top:14px}.footerreview b{color:#4077cc}.overviewgrid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.overviewgrid.four .panelbody{min-height:190px}.overviewbottom{display:grid;grid-template-columns:.82fr 1.5fr .9fr;gap:15px;margin-top:16px}.clickable{color:#1c6fe6;font-weight:750;cursor:pointer}.phonebox{display:flex;flex-wrap:wrap;gap:5px;align-items:center;min-width:205px}.phonenum{font-weight:750;color:#1f416e;font-size:12px}.personlinks{display:flex;gap:5px}.contactbtn{display:inline-flex;align-items:center;gap:4px;border:1px solid #cddff7;background:#f0f6ff;padding:6px 8px;border-radius:6px;color:#1267ce;font-size:10px;font-weight:800;text-decoration:none}.contactbtn:hover{background:#dfedff}.cellinput{border:1px solid #e2e8f0;border-radius:6px;padding:7px 6px;font-size:11px;max-width:140px;background:#fff}.cellinput:focus{outline:2px solid #a7caff}.center{text-align:center}.tagdemo{font-size:10px;border-radius:50px;background:#eaf2ff;color:#366daf;padding:4px 8px;font-weight:800}.well{border:1px solid #dfe8f5;background:#f6faff;border-radius:9px;padding:13px;font-size:12px;color:#52647e}.noticewarn{border:1px solid #fae0a2;background:#fff8e9;color:#8d6d31;border-radius:9px;padding:12px;font-size:12px}.h2{font-size:17px;margin:0}.mutedtext{font-size:12px;color:#6d7b94}.fieldrow{display:flex;gap:9px;align-items:center}.fieldrow label{font-size:11px;font-weight:700;color:#506079}.modal .formlabel input,.modal .formlabel select,.modal .formlabel textarea{width:100%}.modal .hint{padding-top:5px}.itembox{border:1px solid #e0e7f0;border-radius:10px;padding:15px;background:#fff}.itembox strong{font-size:13px}.itembox p{font-size:12px;color:#6f7f94}.projcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.projcards .itembox{display:flex;flex-direction:column;gap:8px;min-height:170px}.projcards .itembox .btn{align-self:flex-start;margin-top:auto}.laborwarn{color:#bf4f25;font-weight:800}.laborgood{color:#16844e;font-weight:800}.timeline{display:grid;grid-template-columns:150px repeat(5,minmax(75px,1fr));overflow:auto}.timelinelabel,.timeslot{padding:12px 7px;border:1px solid #e6ecf5;font-size:11px}.timelinelabel{background:#f4f7fb;font-weight:800}.timeslot{min-height:68px}.schedulepill{display:block;background:#e2efff;border-left:3px solid #2273de;padding:7px 5px;border-radius:4px;font-size:10px;color:#1d4f9e;margin:2px 0}.contracthint{color:#5f7998;font-size:11px}.selectedgrid{width:21px;height:21px}.nudge{display:flex;gap:3px}.qr-top{max-width:42px}.calltop{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;gap:10px}.callrole{padding:6px 9px;border-radius:6px;background:#e6f1ff;color:#0e64d0;font-size:11px;font-weight:800}.statuscells{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.whiteline{background:#fff;border:1px solid #e0e7ee;border-radius:8px;padding:13px;margin-bottom:10px}.whiteline .row{flex-wrap:wrap}.minitext{font-size:11px;color:#77879b}.statlink button{border:0;background:none;color:#176bd8;font-size:11px;padding:0;cursor:pointer}.formspread{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.formspread .wide{grid-column:span 2}.copyhero{display:grid;grid-template-columns:1fr 1fr;gap:16px}.templatecard .templatefoot{flex-wrap:wrap}.call-check{padding:10px;border:1px solid #dfe7f2;border-radius:8px;margin:5px 0}.call-check input{width:16px;height:16px}.rateprivate{font-size:10px;color:#64748b}.pdflabel{font-size:10px;background:#eff7fb;border-radius:99px;padding:4px 8px}.footeractions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.emptyrow{height:20px}.btn.full{width:100%}.pdfpanel{min-width:0}.softdivider{height:1px;background:#e7ecf2;margin:12px 0}.printnote{font-size:10px;color:#75849c}.qrvisual{height:65px;width:65px}.pmeta-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.actionshrink{font-size:11px}.candidate input[type=checkbox]{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1450px){.overviewgrid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.overviewbottom{grid-template-columns:1fr 1fr}.overviewbottom .pdfpanel{grid-column:1/-1;grid-row:1}}@media(max-width:1050px){.overviewbottom{grid-template-columns:1fr}.overviewbottom .pdfpanel{grid-column:auto;grid-row:auto}.projcards{grid-template-columns:repeat(2,minmax(0,1fr))}.formspread{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:590px){.overviewgrid.four,.projcards,.formspread,.copyhero{grid-template-columns:1fr}.formspread .wide{grid-column:auto}.overviewbottom{grid-template-columns:1fr}.topsearch{width:60vw}.projectbar select{min-width:160px}.stats{grid-template-columns:1fr 1fr}}@media print{.footerreview,.overviewbottom,.overviewgrid{display:none!important}}

@media(min-width:1200px){.overviewbottom .pdfpreview .paper{zoom:.73}}

/* Streamlined BookedAV workspace */
.app{grid-template-columns:226px minmax(0,1fr)}
.sidebar{padding:22px 13px;background:linear-gradient(165deg,#131f31,#0b1424 83%)}
.sidebar-tools{margin-top:auto;border-top:1px solid #ffffff20;padding-top:16px}
.sidebar-tools .sideitem{font-size:12px;padding:9px 12px;color:#99aac0}
.sidebar-tools .sidelabel{margin:0 12px 9px}
.sideitem{border-radius:9px;padding:12px 13px;margin-bottom:6px;font-size:13px}
.sideitem.active{box-shadow:none;background:#1f71eb}
.workspace{max-width:1440px;padding:31px 35px 55px}
.topbar{height:61px}
.topright{font-size:12px}
.pagehead{margin-bottom:18px;align-items:center}
.pagetitle{font-size:29px;letter-spacing:-.5px}
.subtitle{font-size:13px;max-width:680px}
.projectbar{background:#fff;border:1px solid #e2e8f1;padding:13px 16px;border-radius:12px;margin-bottom:19px;gap:14px}
.projectbar label{color:#68768d}
.projectbar select{min-width:260px;max-width:400px}
.project-meta{flex:1;color:#75829a}
.tabbar{display:none}
.panel{border-radius:13px;box-shadow:0 2px 7px #25375906}
.panelhead{background:white;color:#182b42;padding:19px 21px 2px;align-items:start}
.panelhead h2{font-size:16px;letter-spacing:-.25px}
.panelhead p{font-size:12px;color:#76849b;margin-top:5px}
.panelbody{padding:18px 21px 21px}
.stats.compactstats{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:17px 0}
.compactstats .stat{padding:16px 20px;box-shadow:none;border-radius:12px;gap:12px}
.statglyph{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#ebf3ff;color:#176cea;font-size:22px;flex-shrink:0}
.compactstats .statnum{font-size:24px}
.compactstats .statlabel{margin-top:3px}
.getting-started{padding:23px 24px 25px;background:linear-gradient(110deg,#142c50,#1d4f9b);color:white;border-radius:15px;box-shadow:0 8px 18px #173b791c}
.startheading{gap:20px;align-items:center;margin-bottom:16px}
.startheading h2{font-size:20px;letter-spacing:-.4px;margin:3px 0 4px}
.startheading p{font-size:12px;color:#ccd9ee;margin:0}
.startheading .eyebrow{color:#87b9ff}
.startheading .btn{background:#ffffff18;border-color:#ffffff40;color:#fff}
.simple-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.simple-step{border:1px solid #ffffff2c;border-radius:12px;padding:17px 15px;display:flex;align-items:flex-start;gap:13px;min-height:103px;background:#ffffff14;color:#fff;text-align:left;transition:background .15s,transform .15s}
.simple-step:hover{background:#ffffff24;transform:translateY(-1px)}
.simple-step b{display:block;margin-bottom:7px;font-size:13px}
.simple-step small{display:block;color:#c9d7ec;font-size:11px;line-height:1.5}
.stepno{display:grid;place-items:center;background:#fff;color:#1868da;border-radius:8px;width:34px;height:34px;font-size:12px;font-weight:800;flex-shrink:0}
.steparrow{margin-left:auto;font-size:17px;color:#b9d5ff}
.simpleoverview{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}
.overview-person{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f6}
.overview-person .row{gap:10px}
.overview-person small{display:block;color:#77849a;font-size:11px;margin-top:3px}
.overview-person .phonebox{justify-content:flex-end}
.overview-person .phonenum{font-size:12px}
.empty-simple{padding:23px;color:#738198;text-align:center;background:#f7f9fc;border-radius:10px}
.quicktemplates{margin-top:17px;border:1px solid #e1e8f3;background:#fff;border-radius:12px;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;color:#5e6f86}
.quicktemplates b{color:#24374e}
.quicktemplates .row{flex-shrink:0}
.footeractions{flex-wrap:wrap}
.schedule-switch{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}
.schedule-switch h2{font-size:20px;color:#20334e;margin:0 0 5px}
.schedule-switch p{font-size:12px;color:#79869b;margin:0}
.segment{display:inline-flex;background:#e9eff8;padding:4px;border-radius:10px;gap:4px;flex-shrink:0}
.segment button{background:none;border:0;color:#67758c;padding:9px 16px;border-radius:8px;font-size:12px;font-weight:700}
.segment button.selected{background:#fff;color:#125bcc;box-shadow:0 1px 4px #1c396421}
.statuspanel{margin-top:16px}
.cutline{border-top:1px solid #e8edf4;margin:5px 0}
.templatecard{border-radius:12px}
.templategrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.callgrid{grid-template-columns:minmax(300px,.78fr) minmax(0,1.5fr)}
@media(max-width:1230px){.simple-steps{grid-template-columns:1fr 1fr}.simpleoverview{grid-template-columns:1fr}.templategrid{grid-template-columns:1fr 1fr}}
@media(max-width:840px){.workspace{padding:18px 16px 40px}.tabbar{display:flex;margin:0 0 15px;border:1px solid #e0e8f3;border-radius:11px}.tab{white-space:nowrap}.sidebar-tools{margin-top:15px}.startheading{align-items:flex-start}}
@media(max-width:620px){.simple-steps{grid-template-columns:1fr}.getting-started{padding:18px}.stats.compactstats{grid-template-columns:repeat(3,minmax(0,1fr))}.compactstats .stat{padding:12px;gap:5px;flex-direction:column;align-items:flex-start}.statglyph{width:31px;height:31px;font-size:18px}.compactstats .statnum{font-size:20px}.simpleoverview{grid-template-columns:1fr}.quicktemplates{flex-direction:column;align-items:flex-start}.quicktemplates .row{flex-wrap:wrap}.overview-person{align-items:flex-start;flex-wrap:wrap}.schedule-switch{flex-direction:column;align-items:flex-start}.projectbar select{min-width:0;width:100%}.project-meta{flex-basis:100%}.templategrid{grid-template-columns:1fr}}
@media print{.getting-started,.simpleoverview,.quicktemplates,.schedule-switch{display:none!important}}

/* Restored full Crew Manager dashboard layout */
.app{grid-template-columns:240px minmax(0,1fr)}
.sidebar{padding:20px 14px}
.workspace{max-width:1550px;padding:25px 27px 50px}
.pagehead{align-items:flex-start;margin-bottom:19px}
.tabbar{display:flex;margin:0 0 15px;background:#fff;border:0;border-bottom:1px solid #dde5f0;border-radius:10px 10px 0 0}
.panel{border-radius:11px;box-shadow:0 2px 6px #1e36520a}
.panelhead{background:linear-gradient(120deg,#152233,#1e2b3e);color:#fff;padding:14px 16px}
.panelhead h2{font-size:13px;letter-spacing:.2px;color:#fff}
.panelhead p{font-size:11px;color:#d4dce8;margin-top:4px}
.panelbody{padding:15px}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:18px 0}
.overviewgrid.four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.overviewgrid.four .panelbody{min-height:200px}
.overviewbottom{display:grid;grid-template-columns:.9fr 1.6fr 1fr;gap:13px;margin-top:14px}
.ovcard{min-height:275px}
.ov-crew-row{padding:9px 0;border-bottom:1px solid #e8edf4;display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}
.ov-name{display:flex;gap:8px;align-items:center}
.ov-name b{font-size:12px}
.ov-name small,.overview-sub{display:block;font-size:10px;color:#738198;margin-top:3px}
.ov-phone .phonebox{min-width:unset}
.ov-phone .phonenum{font-size:11px}
.ov-phone .contactbtn{font-size:10px;padding:4px 6px}
.template-mini{display:flex;align-items:center;gap:10px;padding:10px 0}
.template-mini b{font-size:12px}
.template-mini .hint{margin:4px 0 0}
.templategrid.singleton{grid-template-columns:minmax(285px,480px);max-width:500px}
.overviewbottom .pdfpreview .paper{zoom:.77}
.overviewbottom .pdfpanel{min-width:0}
@media(min-width:1200px){.overviewbottom .pdfpreview .paper{zoom:.77}}
@media(max-width:1450px){.overviewgrid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.overviewbottom{grid-template-columns:1fr 1fr}.overviewbottom .pdfpanel{grid-column:1/-1;grid-row:1}}
@media(max-width:1050px){.overviewbottom{grid-template-columns:1fr}.overviewbottom .pdfpanel{grid-column:auto;grid-row:auto}}
@media(max-width:840px){.workspace{padding:18px 16px 40px}.tabbar{display:flex;overflow-x:auto}.pagehead{flex-direction:column}.overviewbottom{grid-template-columns:1fr}}
@media(max-width:590px){.stats{grid-template-columns:1fr 1fr}.overviewgrid.four{grid-template-columns:1fr}.overviewbottom{grid-template-columns:1fr}.templategrid.singleton{grid-template-columns:1fr}.tab{padding:12px}.projectbar select{width:auto;min-width:160px}.topsearch{max-width:70vw}}

/* Real circular profile photos; use neutral silhouette if none was provided. */
.nameavatar {width:35px;height:35px;min-width:35px;min-height:35px;border-radius:50%;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:#dbe8fa;color:#5374a5;vertical-align:middle;}
.nameavatar img {width:100%;height:100%;display:block;object-fit:cover;border-radius:50%;}
.nameavatar svg{display:block}
.candidate .nameavatar{width:42px;height:42px;min-width:42px;min-height:42px;}
.photopicker {display:flex;align-items:center;gap:16px;background:#f5f8fc;border:1px solid #e0e8f2;border-radius:10px;padding:12px;margin:0 0 15px;}
.photopicker .nameavatar{width:66px;height:66px;min-width:66px;min-height:66px;}
.photopicker .nameavatar svg{width:38px;height:38px;}
.photo-controls{display:flex;align-items:flex-start;gap:7px;flex-direction:column;}
.photo-controls b{font-size:12px;}
.slotrow{display:flex;gap:6px;align-items:center;margin:2px 0;white-space:nowrap}.linkselect{max-width:180px}

.slotfields{display:flex;gap:10px;align-items:center;flex-wrap:nowrap;margin-bottom:6px}.slotfields label{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#55657a;white-space:nowrap}.slotfields .smallfield{width:78px}.money{display:inline-flex;align-items:center;gap:2px}
.slotcard{border:1px solid #e3eaf3;border-radius:8px;padding:6px 8px;margin:4px 0;background:#fbfcfe}.slotcard .slotrow{flex-wrap:wrap}.slotnum{min-width:30px}
.applist{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}.appchip{display:inline-flex;align-items:center;gap:6px;border:1px solid #d6e1ee;background:#fff;border-radius:999px;padding:2px 10px 2px 2px;font-size:12px;cursor:pointer}.appchip:hover{border-color:#2f6fd0}.appchip img,.appinit{width:24px;height:24px;border-radius:50%;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;background:#dbe8fa;font-weight:700}.appchip em{font-style:normal;font-size:10px;font-weight:700;color:#fff;background:#d23d3d;border-radius:4px;padding:0 4px}.appchip em.acc{background:#1f8a4c}.appchip.isnew{border-color:#d23d3d}
.call-check .btn{margin-left:6px}
/* Marketplace integration preview: visually disabled; live features exist only in the role-gated /crew-manager. */
.mktpreview{border:1px dashed #b9c6da;background:#f4f6fa;border-radius:12px;padding:16px 18px;margin-top:16px}
.mktpreview-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:13px;color:#3a4b63}
.mktlock{font-size:15px}
.mktpreview-btns{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 4px}
.lockedbtn{background:#eceff4!important;border-color:#d5dbe6!important;color:#8a96a8!important;box-shadow:none!important;cursor:not-allowed}
.lockedbtn:hover{background:#eceff4!important;border-color:#d5dbe6!important;filter:none}
.mktpreview-note{font-size:12px;color:#5c6b82;line-height:1.55;margin:8px 0 0;max-width:780px}
.mktpreview-sub{font-size:11px;color:#8593a8}
.mktpreview-cta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
@media(max-width:590px){.mktpreview-btns .lockedbtn{width:100%}}
@media print{.mktpreview{display:none!important}}
.jobbanner{background:#fff;border:1px solid #dfe6ef;border-left:4px solid #1675f0;border-radius:11px;padding:14px 16px;margin:16px 0 4px}.jbtitle{display:flex;justify-content:space-between;align-items:center;gap:10px}.jbtitle h2{margin:0;font-size:18px}.jbgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:10px}.jbgrid span{display:block;font-size:10px;font-weight:800;color:#6c7890;text-transform:uppercase;letter-spacing:.6px}.jbgrid strong{font-size:13px;color:#1f2f45}
.money{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
.datatable{min-width:0!important;table-layout:auto}.datatable th{white-space:normal}.datatable td{padding:8px 6px}.cellinput{max-width:100%;min-width:0;width:100%}.cellinput.smallfield{width:80px}.slotcard,.slotrow{flex-wrap:wrap}.linkselect{max-width:100%}
.datatable td,.datatable th{padding:7px 4px}.cellinput{padding:6px 4px}.cellinput.smallfield{width:66px}.slotfields .cellinput.smallfield{width:58px}
.cellinput[type=time]{width:98px!important}.datatable th:nth-child(1),.datatable th:nth-child(2){min-width:0}

/* Production-ready pass: full width, readable type, clear field lines, night mode */
.workspace{max-width:none;padding:22px 28px 44px}
.overviewgrid.four{grid-template-columns:repeat(3,minmax(0,1fr))}
body{font-size:14px}
.datatable{font-size:13.5px;min-width:0}.datatable th{font-size:12.5px}
.control,.cellinput,.fieldinline,.btn{font-size:13px}.btn.sm{font-size:12.5px}
.hint,.tiny,.minirow,.small,.mutedtext,.formlabel,.panelhead p,.statlabel,.ov-name small,.overview-sub{font-size:13px}
.panelhead h2{font-size:14.5px}.pill{font-size:11.5px}.ov-name b{font-size:13.5px}
.control,.cellinput,.fieldinline,.topsearch{border:1.5px solid #6f95c9}
.datatable td{border-bottom:1px solid #b9cce6}.datatable th{border-bottom:1.5px solid #8eaedb}
.minirow,.ov-crew-row,.overview-person{border-bottom-color:#c4d4ea}
.control:focus,.cellinput:focus,.fieldinline:focus{outline:2px solid #2d7cff;border-color:#2d7cff}
@media(min-width:1500px){.overviewbottom{grid-template-columns:.9fr 1.8fr 1fr}}
html.dark,html.dark body{background:#0b1220;color:#dbe4f2}
html.dark .topbar,html.dark .panel,html.dark .projectbar,html.dark .tabbar,html.dark .stat,html.dark .itembox,html.dark .templatecard,html.dark .whiteline,html.dark .quicktemplates,html.dark .modal,html.dark .candidate{background:#121c2e;border-color:#2a3b57;color:#dbe4f2}
html.dark .control,html.dark .cellinput,html.dark .fieldinline,html.dark .topsearch{background:#0e1727;color:#e6edf8;border-color:#4f74a8}
html.dark .btn{background:#17233a;color:#dbe4f2;border-color:#36507a}html.dark .btn:hover{background:#1f2f4d}
html.dark .btn.primary{color:#fff;background:linear-gradient(120deg,#075de2,#2c83f9);border-color:#1471ec}
html.dark .pagetitle,html.dark .crewname,html.dark .toolbar h2,html.dark .schedule-switch h2,html.dark .infotiles .info strong,html.dark .itembox strong{color:#f1f5fb}
html.dark .subtitle,html.dark .hint,html.dark .muted,html.dark .mutedtext,html.dark .statlabel,html.dark .project-meta,html.dark .projectbar label,html.dark .formlabel,html.dark .tab{color:#9fb0c8}
html.dark .datatable th{background:#17233a;color:#c5d3e8;border-bottom-color:#3d5a87}
html.dark .datatable td{border-bottom-color:#2a3b57}html.dark .datatable tr:hover td{background:#16223a}
html.dark .minirow,html.dark .ov-crew-row,html.dark .overview-person,html.dark .modalbar{border-color:#2a3b57}
html.dark .note,html.dark .well,html.dark .messagebox,html.dark .infotiles .info,html.dark .empty-simple{background:#14233d;border-color:#2c4670;color:#c2d3ec}
html.dark .pdfpreview{background:#0e1727;border-color:#2a3b57}
html.dark .phonenum{color:#a9c8f5}html.dark .contactbtn{background:#15284a;border-color:#2c4c80;color:#8fbaff}
html.dark .mobilebar{color:#dbe4f2}
html.dark .jobbanner{background:#121c2e;border-color:#2a3b57;border-left-color:#2d7cff}
html.dark .jobbanner *{color:#dbe4f2}
.stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
/* Slot cards: calm slate when open (amber accent = needs attention), blue when live, green when filled */
.slotcard{border-left-width:3px}
.slotcard.isopen{background:#f4f6fa;border-color:#dfe5ee;border-left-color:#e0a23a}
.slotcard.islive{background:#f1f6ff;border-color:#d3e2fb;border-left-color:#2d7cff}
.slotcard.isfilled{background:#eaf8f0;border-color:#c5ead4;border-left-color:#1f8a4c}
.needscrew{font-size:11px;font-weight:700;color:#a86e12}
html.dark .slotcard.isopen{background:#152031;border-color:#25344d;border-left-color:#d99a34}
html.dark .slotcard.islive{background:#12243d;border-color:#22406b;border-left-color:#2d7cff}
html.dark .slotcard.isfilled{background:#0d281a;border-color:#1d5a37;border-left-color:#2fae66}
html.dark .needscrew{color:#e2ab55}
html.dark .slotcard .slotnum{color:#9fb0c8}
html.dark .slotcard .linkselect{background:#0e1727;color:#c9d6ea;border:1px solid #36507a;border-radius:6px}
html.dark .slotcard .laborgood{color:#5fd394}
/* Stronger slot-card contrast so cards never read as plain white */
.slotcard.isopen{background:#e2e8f0;border-color:#cbd5e1;border-left-color:#e0a23a}
.slotcard.isfilled{background:#dcfce7;border-color:#86efac;border-left-color:#1f8a4c}
.slotcard.islive{background:#dbeafe;border-color:#93c5fd}
.slotcard .linkselect{background:#f1f5f9;border:1px solid #94a3b8;border-radius:6px;color:#334155}
.slotcard.isopen .btn.subtle{background:#cbd5e1;color:#1e293b;border-color:#94a3b8}
html.dark .slotcard.isopen{background:#18253a;border-color:#2a3c58;border-left-color:#d99a34}
html.dark .slotcard.isfilled{background:#0d281a;border-color:#1d5a37;border-left-color:#2fae66}
html.dark .slotcard.islive{background:#12243d;border-color:#22406b}
html.dark .slotcard .linkselect{background:#0e1727;color:#c9d6ea;border-color:#36507a}
html.dark .slotcard .btn.subtle{background:#22324b;color:#dbe4f2;border-color:#36507a}

/* larger base text */
.workspace{font-size:15px}.workspace .small,.workspace .hint{font-size:13.5px}.workspace table{font-size:14px}.sideitem{font-size:14.5px}

@media (min-width:841px){.topbar:not(:has(.topsearch)){display:none}}
.techlink{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.techlink:hover .crewname,.techlink:hover b{text-decoration:underline;color:#2d7cff}
a.logo{display:block;text-decoration:none}
.emaillink{font-size:18px;word-break:break-all;color:#2d7cff}
.techgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.techcard{display:flex;align-items:center;gap:12px;padding:14px;border:1.5px solid #6f95c9;border-radius:12px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.techcard:hover{border-color:#2d7cff;background:rgba(45,124,255,.08)}
.techcard>span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.techcard small{font-size:13px}
.techview{font-size:13px;font-weight:700;color:#2d7cff;white-space:nowrap}
.deletewarn{display:flex;flex-direction:column;gap:12px;font-size:15px}
.deletewarn label{display:flex;flex-direction:column;gap:6px}
.deletewarn input{padding:10px;border:1.5px solid #c0392b;border-radius:8px;font:inherit}
.btn.danger:disabled{opacity:.45;cursor:not-allowed}
.techprofiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:16px}
.techprofile{border:1.5px solid #6f95c9;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:10px}
.tphead{display:flex;align-items:center;gap:12px}.tphead>div{flex:1;min-width:0}.tphead h3{margin:0;font-size:18px}
.tprow{display:grid;grid-template-columns:120px 1fr;gap:10px;font-size:14px;border-top:1px solid rgba(111,149,201,.35);padding-top:8px}
.tprow>span{font-weight:700;opacity:.75}.tprow a{color:#2d7cff;word-break:break-all}
@media(max-width:600px){.techprofiles{grid-template-columns:1fr}.tprow{grid-template-columns:1fr}}
.dark .photopicker{background:#18253a;border-color:#2a3c58;color:#dbe4f2}
.btn.danger{background:#c0392b;color:#fff;border-color:#c0392b}
.btn.danger:hover:not(:disabled){background:#a93226;border-color:#a93226}
.dark .btn.danger{background:#d64545;color:#fff;border-color:#d64545}
.dark .staticon{background:#1d3150;color:#9cc2ff}.dark .staticon.green{background:#123726;color:#7fe0a8}
.dark .mktpreview{background:#152031;border-color:#2a3c58;color:#dbe4f2}
.dark .btn.lockedbtn{background:#1c2a40;border-color:#2a3c58;color:#8a9bb5}
.dark .pill{background:#1c2a40;color:#c8d5ea}
.dark .datatable th{background:#18253a;color:#c8d5ea}
.dark .paper .datatable th,.dark .paper th{background:#ebedf0;color:#111}
.dark .lockedbtn,.dark .lockedbtn:hover{background:#1c2a40!important;border-color:#2a3c58!important;color:#8a9bb5!important}
.tpsep{opacity:.5;margin:0 6px}
.jbphotos{display:flex;gap:10px;align-items:center}.vphoto{position:relative;width:100px;height:58px;flex:0 0 100px;border-radius:7px;overflow:hidden;border:1.5px solid #c9d6ea;background:#eef2f8}.vthumb{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}.vthumb img{width:100%;height:100%;object-fit:cover;display:block}.vdel{position:absolute;top:2px;right:2px;width:18px;height:18px;border-radius:50%;border:0;background:rgba(15,23,42,.75);color:#fff;font-size:10px;line-height:18px;padding:0;cursor:pointer}.vempty{display:flex;align-items:center;justify-content:center;border-style:dashed;cursor:pointer}.vempty span{font-size:11px;font-weight:700;color:#4a5b75;text-align:center}.vempty:hover{border-color:#1675f0}.vfull{display:block;max-width:100%;max-height:80vh;margin:0 auto;border-radius:8px}
html.dark .vphoto{background:#18253a;border-color:#2a3c58}html.dark .vempty span{color:#9fb0c9!important}html.dark .vdel{color:#fff!important}
.jbgrid{align-items:center}.vphoto{width:150px;height:86px;flex:0 0 150px}
dialog.vwide{width:min(1100px,94vw);max-width:94vw}.vfull{width:100%;max-height:82vh;object-fit:contain}
.jobbanner{display:flex;gap:18px;align-items:stretch}.jbinfo{flex:1 1 auto;min-width:0}.jobbanner>.jbphotos{flex:0 0 auto;align-items:stretch}
.jobbanner .vphoto{width:300px;height:170px;flex:0 0 300px}
.jbloc em{display:block;font-style:normal;font-size:12px;color:#4a5b75;margin-top:2px}html.dark .jbloc em{color:#9fb0c9!important}
@media(max-width:1100px){.jobbanner{flex-direction:column}.jobbanner .vphoto{width:calc(50% - 5px);flex:1 1 0;height:150px}}
/* DEMO button (bottom of sidebar) and demo-mode bar */
.sidedemo{margin-top:auto;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;padding:12px 13px;background:#16A34A;color:#fff;font-weight:800;font-size:14px;letter-spacing:.06em;cursor:pointer;transition:background .2s}
.sidedemo:hover,.sidedemo:focus-visible{background:#15803D}
.sidedemo:focus-visible{outline:2px solid #fff;outline-offset:2px}
body.indemo .sidedemo{box-shadow:0 0 0 2px #86efac inset}
.demobar{border:1.5px solid #16A34A;background:#ecfdf3;color:#14321f;border-radius:12px;padding:12px 14px;margin:0 0 14px;display:flex;flex-direction:column;gap:9px}
.demotop{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.demotag{background:#16A34A;color:#fff;font-weight:800;font-size:12px;letter-spacing:.06em;padding:4px 9px;border-radius:6px}
.demotext{flex:1;min-width:220px;font-size:13.5px}
.democtl{display:flex;gap:8px;flex-wrap:wrap}
.demodays{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13.5px}
.demostats{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13.5px}
.demostats b{margin-left:4px}
html.dark .demobar{background:#0d281a;border-color:#2fae66;color:#d7f5e2}
/* Profile tag bubbles wrap as whole pills; DEMO sits right under the menu */
.tprow .tagdemo{display:inline-block;white-space:nowrap;line-height:1.3;margin:0 4px 5px 0;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.sidedemo{margin-top:14px}

/* Mobile refresh: easy one-hand navigation on phones */
@media(max-width:840px){
.topbar{position:sticky;top:0;z-index:60;height:50px;padding:0 12px}
.mobilebar{font-size:24px;padding:6px 10px;border-radius:8px}
.workspace{padding:12px 12px 90px!important}
.projectbar{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;padding:12px!important;margin-bottom:10px}
.projectbar>label{grid-column:1/-1;margin:0}
.projectbar select{grid-column:1/-1;width:100%;min-width:0!important;min-height:44px;font-size:15px}
.projectbar>.btn{min-height:40px}
.projectbar .project-meta{grid-column:1/-1}
.projectbar>span[style]{grid-column:1/-1;min-width:0!important;flex-wrap:wrap;justify-content:stretch!important;margin:0!important}
.projectbar #globalsearch{flex:1 1 100%;max-width:none!important;min-height:42px;font-size:15px!important}
.projectbar>span[style] .btn{flex:1;min-height:40px}
.tabbar{position:sticky;top:50px;z-index:50;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:10px!important;box-shadow:0 4px 10px #0b18340f}
.tabbar::-webkit-scrollbar{display:none}
.tab{scroll-snap-align:start;padding:14px 14px 12px;font-size:14px}
.sidebar{width:min(300px,86vw)!important;overflow-y:auto}
.sideitem{padding:14px 13px;font-size:15px}
.btn{min-height:38px;font-size:13px}.btn.sm{min-height:34px;font-size:12px}
.control,.cellinput,.fieldinline{font-size:15px;min-height:38px}
.tablewrap{-webkit-overflow-scrolling:touch;border-radius:8px;box-shadow:inset -12px 0 10px -10px #0b183433}
.panelbody{padding:12px}
.toolbar{flex-direction:column;align-items:stretch}.toolbar .actions{width:100%}.toolbar .actions .btn{flex:1}
.footeractions .btn{flex:1 1 45%}
.jobbanner{flex-direction:column!important;align-items:stretch!important}
.jobbanner .vphoto{width:100%!important;flex:1 1 0!important;height:140px!important}
.modal{width:100vw!important;max-width:100vw;height:100dvh;max-height:100dvh!important;border-radius:0;margin:0}
.notifier{left:12px;right:12px;bottom:14px;max-width:none}
}
/* Mobile: every panel fits the screen; wide sheets scroll inside their own box */
@media(max-width:840px){
.callgrid,.overviewgrid,.overviewgrid.four,.overviewbottom,.simpleoverview,.layout2,.copyhero,.techprofiles{grid-template-columns:minmax(0,1fr)!important}
.callgrid>*,.overviewbottom>*,.panel,.pdfpanel{min-width:0;max-width:100%}
.pdfpreview{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;padding:8px}
.paper{min-width:600px}
.overviewbottom .pdfpreview .paper{zoom:1}
.phonebox{min-width:0}
.modal{overflow-y:auto}
}

/* Mobile: tables become stacked cards — no sideways scrolling */
@media(max-width:840px){
.tablewrap{overflow:visible!important;box-shadow:none!important}
.tablewrap table{min-width:0!important;width:100%}
.tablewrap thead{display:none}
.tablewrap table,.tablewrap tbody,.tablewrap tr{display:block;width:100%}
.tablewrap tr{border:1px solid #e0e6ef;border-radius:11px;padding:6px 12px;margin-bottom:10px;background:#fff}
.tablewrap td{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0!important;border:0!important;border-bottom:1px solid #eef1f6!important;background:transparent!important;text-align:right;min-width:0;width:100%}
.tablewrap td:last-child{border-bottom:0!important}
.tablewrap td[data-label]::before{content:attr(data-label);flex:0 0 36%;text-align:left;font-size:11px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;color:#6b7a90}
.tablewrap td>*{max-width:64%;min-width:0}
.tablewrap td .cellinput,.tablewrap td .control,.tablewrap td input,.tablewrap td select{width:auto;max-width:100%;flex:1 1 auto}
.tablewrap td:not([data-label]){justify-content:flex-end}
html.dark .tablewrap tr{background:#121c2e;border-color:#2a3b57}
html.dark .tablewrap td{border-bottom-color:#22314a!important}
html.dark .tablewrap td[data-label]::before{color:#93a4bd}
}

/* Signed-out preview: sample production only, cannot leave the demo */
body.guest [data-action="exitdemo"]{display:none!important}
.pdflabel{background:#e0f2fe;color:#0369a1;border:1px solid #bae6fd;font-weight:700}
html.dark .pdflabel{background:#0c2a4a;color:#7dd3fc;border-color:#1e4f7a}

/* Sidebar already has these links on desktop; keep the tab strip for phones only. One step larger text. */
@media(min-width:841px){.tabbar{display:none!important}}
.sideitem{font-size:14px}.btn{font-size:13px}.btn.sm{font-size:12px}.control,.topsearch,.datatable,.small,.minirow,.mutedtext,.phonenum,.project-meta,.projectbar label,.messagebox,.well,.itembox p{font-size:13px}.datatable th,.hint,.panelhead p,.statlabel,.statlink,.tiny,.formlabel,.note,.contactbtn,.cellinput,.fieldinline,.tagdemo,.pill,.minitext{font-size:12px}.panelhead h2{font-size:14px}.toolbar h2{font-size:18px}.statnum{font-size:27px}.sidelabel{font-size:11px}

/* Readability: larger text only, no layout/style changes */
body{font-size:15px}.workspace{font-size:16px}
.sideitem{font-size:15.5px}.btn{font-size:14.5px}.btn.sm{font-size:13.5px}
.control,.topsearch,.datatable,.small,.minirow,.mutedtext,.phonenum,.project-meta,.projectbar label,.messagebox,.well,.itembox p,.workspace table,.workspace .small{font-size:14.5px}
.datatable th,.hint,.workspace .hint,.panelhead p,.statlabel,.statlink,.tiny,.formlabel,.note,.contactbtn,.cellinput,.fieldinline,.tagdemo,.pill,.minitext,.needscrew,.demotext,.demodays,.demostats,.techcard small,.jbgrid strong,.techview{font-size:13.5px}
.jbgrid span,.sidelabel,.vempty span,.jbloc em,.demotag{font-size:12.5px}
.panelhead h2{font-size:16px}.ov-name b{font-size:15px}.toolbar h2,.jbtitle h2{font-size:20px}.statnum{font-size:29px}
.tablewrap td[data-label]::before{font-size:12.5px}
/* Video walkthrough card in sidebar */
.sidevideo{display:block;width:100%;margin-top:12px;padding:0;border:1px solid #ffffff22;border-radius:11px;background:#0f1a2b;color:#dfe7f3;text-align:left;overflow:hidden;transition:border-color .2s,transform .2s}.sidevideo:hover{border-color:#2d7cff;transform:translateY(-1px)}.sidevideo-thumb{position:relative;display:block;aspect-ratio:16/9}.sidevideo-thumb img{width:100%;height:100%;object-fit:cover;display:block}.sidevideo-play{position:absolute;inset:0;margin:auto;width:42px;height:30px;border-radius:8px;background:#ff0033;color:#fff;display:grid;place-items:center;box-shadow:0 4px 12px #0007}.sidevideo-label{display:block;padding:8px 10px;font-size:12px;font-weight:750}
.videomodal{width:min(1650px,94vw,calc((92vh - 54px) * 16 / 9));max-width:none;padding:0;border:0;border-radius:14px;background:#0b1424;color:#fff;overflow:hidden}.videomodal::backdrop{background:#050b16d9}.videomodal-bar{display:flex;justify-content:space-between;align-items:center;padding:10px 14px}.videomodal-frame{aspect-ratio:16/9;background:#000}.videomodal-frame iframe{width:100%;height:100%;border:0;display:block}

/* Full-width on large monitors + keep action buttons inside the frame */
.workspace{max-width:none!important;width:100%}
.pagehead,.toolbar,.actions,.modalbar,.templatefoot,.projectbar{flex-wrap:wrap}
.pagehead>*{min-width:0}
.modal .actions,.modal footer,.modalfoot{flex-wrap:wrap;gap:8px}
.modal{max-width:96vw}

.slotfields label.needsval .cellinput{border-color:#d23d3d!important;box-shadow:0 0 0 2px rgba(210,61,61,.25)}.slotfields label.needsval{color:#c0392b}.slothint{font-size:10px;margin:-2px 0 6px}
