:root{font-family:Arial,Helvetica,sans-serif;color:#2f1b15;background:#f6ead0}*{box-sizing:border-box}body{margin:0}header{background:#5a2418;color:#fff;padding:14px 22px;display:flex;align-items:center;gap:28px;flex-wrap:wrap}.brand{font-weight:800;font-size:1.35rem;display:flex;align-items:center;gap:12px}.brand img{width:62px;height:56px;object-fit:contain;background:#fff;border-radius:7px;padding:3px}nav{display:flex;gap:14px;flex-wrap:wrap}nav a{color:white;text-decoration:none;font-weight:600}main{max-width:1200px;margin:24px auto;padding:0 16px}h1{color:#5a2418}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:20px}.card,.panel,.asset,.inventory-item{background:white;border:1px solid #d9dde1;border-radius:10px;box-shadow:0 2px 8px #0000000d}.card{padding:22px}.card strong{display:block;font-size:2rem;color:#9d2f1f}.card span{color:#59636d}.panel{padding:20px;margin:16px 0;overflow:auto}.biglink,.tracking{font-size:1.35rem;font-weight:800;color:#9d2f1f}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.asset{padding:16px;text-decoration:none;color:inherit;display:flex;flex-direction:column;gap:6px}.asset:hover{border-color:#9d2f1f}.asset strong{color:#9d2f1f;font-size:1.2rem}table{border-collapse:collapse;width:100%;background:white}th,td{border-bottom:1px solid #dfe3e6;padding:10px;text-align:left;vertical-align:top}th{background:#eceff1}.search{display:flex;gap:8px;margin:14px 0}.search input{flex:1}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid.compact{padding:14px}.wide{grid-column:1/-1}label{font-weight:700;display:flex;flex-direction:column;gap:5px}input,select,textarea,button,.button{font:inherit;padding:10px;border:1px solid #adb5bd;border-radius:6px}button,.button{cursor:pointer;text-decoration:none;display:inline-block;background:#e9ecef;color:#222}.primary{background:#9d2f1f;color:white;border-color:#9d2f1f;font-weight:700}.flash{padding:12px;border-radius:7px;margin:10px 0}.flash.success{background:#d9f2df}.flash.warning{background:#fff0c7}.inventory-item{margin:8px 0}.inventory-item summary{padding:14px;cursor:pointer}.inventory-item summary span{float:right;color:#5a2418;font-weight:700}.small{width:100px}.labels{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}.label{border:1px solid #111;text-align:center;padding:7px;break-inside:avoid;display:flex;flex-direction:column;align-items:center}.label img{width:115px;height:115px}.label span{font-size:.8rem}.confirmation{text-align:center}.note{font-size:.9rem;color:#5d6770}@media(max-width:700px){header{display:block}.brand{margin-bottom:10px}.form-grid{grid-template-columns:1fr}.labels{grid-template-columns:repeat(2,1fr)}th,td{font-size:.88rem;padding:7px}.inventory-item summary span{float:none;display:block;margin-top:5px}}@media print{header,.flash,button,.search,main>h1,main>p{display:none!important}body,main{background:white;margin:0;padding:0;max-width:none}.labels{grid-template-columns:repeat(4,1fr);gap:4px}.label{height:2.45in;justify-content:center}.label img{width:1.35in;height:1.35in}.printable{box-shadow:none;border:none}.printable button{display:none}}
.phone-access{display:flex;align-items:center;justify-content:space-between;gap:24px}.app-qr{width:220px;height:220px;object-fit:contain;border:8px solid #fff;box-shadow:0 0 0 1px #c8c8c8}.phone-access h2{margin-top:0}@media(max-width:700px){.phone-access{flex-direction:column;text-align:center}.app-qr{width:190px;height:190px}}

.button{display:inline-block;background:#6b3828;color:white!important;padding:.65rem 1rem;border:0;border-radius:6px;text-decoration:none;cursor:pointer;font-weight:700}.button.secondary{background:#555}.button.danger{background:#a51f24}.action-panel{margin-bottom:1rem}.category-tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin:1rem 0}.category-tabs a{padding:.55rem .8rem;border:1px solid #cbb8a7;border-radius:20px;text-decoration:none;color:#4b2b20;background:white}.category-tabs a.active{background:#6b3828;color:white}.sticky-check-bar{position:sticky;top:0;z-index:4;background:#f4eee7;border:1px solid #d8c8b9;padding:.75rem;display:flex;gap:.6rem;align-items:end;flex-wrap:wrap}.sticky-check-bar label{display:flex;flex-direction:column}.stock-list{margin-top:1rem}.category-heading{background:#6b3828;color:white;padding:.55rem .75rem;margin:1rem 0 0}.stock-row{display:grid;grid-template-columns:minmax(220px,2fr) 80px 100px 120px minmax(160px,1fr);gap:.6rem;align-items:end;padding:.65rem;border:1px solid #ddd;border-top:0;background:white}.stock-main{display:flex;flex-direction:column}.stock-main span{font-size:.95rem}.stock-main em{color:#a51f24}.stock-row label{display:flex;flex-direction:column;font-size:.8rem}.stock-row input,.stock-row select{padding:.5rem;min-width:0}.do-not-stock{opacity:.65;background:#eee}.status-low,.status-out{background:#fff0f0}@media(max-width:760px){header nav{overflow-x:auto;white-space:nowrap}.stock-row{grid-template-columns:1fr 70px 82px}.stock-row .notes{grid-column:1/-1}.stock-row .manual-status{grid-column:auto}.target{text-align:center}.sticky-check-bar{top:0}.panel{overflow-x:auto}}
.button{display:inline-block;padding:.65rem 1rem;background:#5a3825;color:white;text-decoration:none;border-radius:6px;margin:.25rem}.actions{margin-top:1rem}.actions button{margin:.2rem}.print-header{display:flex;align-items:center;gap:1rem}.print-header img{height:70px}.label-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.label{border:1px solid #777;padding:8px;text-align:center;break-inside:avoid;min-height:210px}.label img{display:block;width:120px;height:120px;margin:6px auto}.label small{display:block}@media(max-width:700px){.label-grid{grid-template-columns:1fr 1fr}}@media print{header,.no-print,.flash{display:none!important}main{max-width:none;margin:0;padding:0}.panel{box-shadow:none;border:0}.label-grid{grid-template-columns:repeat(3,1fr)}.label{min-height:2.35in}.printable button{display:none}}

/* Fillable Test Assets driver's vehicle inspection report */
.dvir-toolbar{max-width:8.5in;margin:0 auto 12px;display:flex;align-items:center;justify-content:space-between;gap:16px}.dvir-toolbar p{margin:0}.oos{max-width:8.5in;margin:0 auto 14px;padding:14px;border:3px solid #a51f24;background:#fff;color:#a51f24;text-align:center;font-size:1.2rem}.dvir-sheet{max-width:8.5in;margin:0 auto 30px;background:#fff;color:#151515;border:1px solid #c9c9c9;box-shadow:0 3px 14px #0002;padding:.28in;font-size:.91rem}.dvir-sheet h1,.dvir-sheet h2{color:#111}.dvir-letterhead{display:grid;grid-template-columns:1.65in 1fr;gap:.24in;align-items:center;border-bottom:3px solid #a51f24;padding-bottom:.12in;margin-bottom:.16in}.dvir-letterhead img{width:1.55in;height:.92in;object-fit:contain}.dvir-letterhead h1{font-size:1.65rem;text-transform:uppercase;margin:0 0 .06in}.dvir-letterhead p{text-transform:uppercase;margin:0;font-size:.78rem}.dvir-line{display:flex;align-items:end;gap:8px;min-width:0}.dvir-line label,.dvir-line>span:first-child{font-weight:700;white-space:nowrap}.dvir-line input,.record-line{flex:1;min-width:0;border:0;border-bottom:1px solid #222;border-radius:0;background:transparent;padding:5px 4px;font-weight:400}.dvir-line.full{margin:.08in 0}.dvir-top-grid{display:grid;grid-template-columns:1fr 1.45fr;gap:.12in .25in;margin-top:.12in}.dvir-time-row{display:flex;align-items:end;gap:10px}.dvir-time-row .dvir-line{flex:1}.inline-choice{display:inline-flex;flex-direction:row;align-items:center;gap:4px;white-space:nowrap;font-weight:400}.inline-choice input{width:auto;margin:0}.dvir-instruction{text-align:center;text-transform:uppercase;font-size:.68rem;font-weight:700;margin:.12in 0}.dvir-check-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:.25in}.dvir-check-section{border:0;padding:0;margin:0;min-width:0}.dvir-check-section legend,.dvir-check-section h2{color:#a51f24;text-transform:uppercase;font-size:.95rem;font-weight:800;margin:0 0 6px;padding:0}.dvir-checkbox{display:flex;flex-direction:row;align-items:flex-start;gap:6px;font-weight:400;margin:3px 0;line-height:1.15}.dvir-checkbox input{width:17px;height:17px;margin:0;flex:0 0 auto;accent-color:#a51f24}.dvir-trailer-section{border-top:1px solid #bbb;margin-top:.16in;padding-top:.12in}.trailer-number{max-width:4.5in;margin-bottom:7px}.assigned-equipment{margin:4px 0 8px}.dvir-trailer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 .25in}.dvir-remarks{margin-top:.15in;text-transform:uppercase}.dvir-remarks textarea{resize:vertical;min-height:.72in;border:0;border-bottom:1px solid #222;border-radius:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 25px,#888 26px);line-height:26px;padding:0 5px;font-weight:400;text-transform:none}.dvir-certification{border-top:1px solid #222;margin-top:.12in;padding-top:.1in}.satisfactory{text-transform:uppercase;font-weight:700}.safe-operation{display:flex;gap:16px;align-items:center;margin:.08in 0}.dvir-sign-grid,.defect-settings{display:grid;grid-template-columns:1fr 1fr;gap:.12in .22in;margin:.1in 0}.dvir-sign-grid label,.defect-settings label{font-size:.82rem;text-transform:uppercase}.dvir-sign-grid input,.defect-settings select{border:0;border-bottom:1px solid #222;border-radius:0;background:transparent;padding:5px}.signature-note{font-size:.72rem;color:#555;margin:-.05in 0 .08in}.mechanic-lines{margin-top:.15in}.dvir-footer{border-top:3px solid #a51f24;margin-top:.16in;padding-top:.1in;display:flex;justify-content:space-around;gap:10px;text-transform:uppercase;font-size:.72rem}.dvir-submit{display:block;width:100%;margin:.2in 0 0;padding:13px}.paper-checkbox{display:inline-flex;width:15px;height:15px;align-items:center;justify-content:center;border:1px solid #111;flex:0 0 auto;font-size:13px;font-weight:900;line-height:1}.paper-checkbox.checked{color:#a51f24}.dvir-record .record-line{display:block;min-height:25px}.dvir-record .dvir-sign-grid>div{display:flex;flex-direction:column;gap:4px}.record-remarks{min-height:.8in;border-bottom:1px solid #222}.record-remarks p{margin:6px 0;white-space:pre-wrap;text-transform:none;font-weight:400}.legacy-checks{margin:.12in 0;padding:7px;border:1px solid #d6c4a9;background:#fff8e9}.record-meta{font-size:.75rem;color:#555}.dvir-record .dvir-check-section{break-inside:avoid}

@media(max-width:760px){.dvir-toolbar{align-items:stretch;flex-direction:column}.dvir-sheet{padding:16px}.dvir-letterhead{grid-template-columns:95px 1fr;gap:12px}.dvir-letterhead img{width:90px;height:auto}.dvir-letterhead h1{font-size:1.05rem}.dvir-letterhead p{font-size:.58rem}.dvir-top-grid,.dvir-check-columns,.dvir-trailer-grid,.dvir-sign-grid,.defect-settings{grid-template-columns:1fr}.dvir-time-row{flex-wrap:wrap}.dvir-check-section{border-bottom:1px solid #ddd;padding-bottom:10px;margin-bottom:10px}.dvir-footer{flex-direction:column;text-align:center}.dvir-line{align-items:stretch;flex-direction:column}.dvir-line label,.dvir-line>span:first-child{white-space:normal}.trailer-number{max-width:none}}

@media print{@page{size:letter portrait;margin:.2in}.dvir-sheet{width:8.1in;max-width:none;margin:0;border:0;box-shadow:none;padding:.08in;font-size:8pt}.dvir-letterhead{grid-template-columns:1.35in 1fr;margin-bottom:.06in;padding-bottom:.05in}.dvir-letterhead img{width:1.25in;height:.68in}.dvir-letterhead h1{font-size:15pt}.dvir-letterhead p{font-size:6.8pt}.dvir-line.full{margin:.02in 0}.dvir-line input,.record-line{padding:2px}.dvir-top-grid{gap:.04in .18in;margin-top:.04in}.dvir-instruction{margin:.04in 0;font-size:6pt}.dvir-check-columns{gap:.13in}.dvir-checkbox{margin:1px 0;line-height:1}.dvir-checkbox input{width:11px;height:11px}.dvir-check-section legend,.dvir-check-section h2{font-size:8pt;margin-bottom:2px}.dvir-trailer-section{margin-top:.05in;padding-top:.04in}.trailer-number{margin-bottom:2px}.assigned-equipment{margin:1px 0 3px}.dvir-remarks{margin-top:.04in}.dvir-remarks textarea{min-height:.48in;line-height:16px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 15px,#888 16px)}.dvir-certification{margin-top:.04in;padding-top:.03in}.safe-operation,.dvir-sign-grid,.defect-settings{margin:.03in 0}.dvir-sign-grid input,.defect-settings select{padding:2px}.signature-note{margin:0;font-size:6pt}.mechanic-lines{margin-top:.04in}.dvir-footer{margin-top:.04in;padding-top:.04in;font-size:6pt}.paper-checkbox{width:11px;height:11px;font-size:9px}.record-remarks{min-height:.45in}.record-meta{font-size:6pt}}

/* Multi-location role dashboard and one-hand field workflows */
.location-chip{background:#f4d79b;color:#512014;padding:.4rem .7rem;border-radius:999px;font-weight:800;white-space:nowrap}.field-header nav{margin-left:auto}.module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:18px 0}.module-card{min-height:145px;padding:22px;border-radius:14px;background:#fff;color:#351a12;text-decoration:none;border:2px solid transparent;box-shadow:0 4px 16px #00000013;display:flex;flex-direction:column;justify-content:center;gap:8px}.module-card:hover,.module-card:focus{border-color:#9d2f1f;transform:translateY(-1px)}.module-card strong{font-size:1.45rem;color:#8f2b1e}.module-card span{color:#5d6770}.module-card.scan{background:#6b281b;color:#fff}.module-card.scan strong,.module-card.scan span{color:#fff}.location-summary{display:flex;align-items:center;gap:12px;background:#fff6e4;border-left:5px solid #9d2f1f;padding:12px 16px;border-radius:8px}.location-summary span{color:#666}.field-shell{max-width:520px;margin:18px auto}.field-card{background:#fff;border-radius:18px;padding:24px;box-shadow:0 6px 24px #0002;text-align:center}.field-logo{width:130px;max-height:100px;object-fit:contain}.field-card h1{margin:.5rem 0 1rem}.field-form{display:flex;flex-direction:column;gap:14px;text-align:left}.field-form input,.field-form select{font-size:1.25rem;padding:15px}.field-primary{font-size:1.25rem;padding:17px;width:100%}.module-button{display:block;margin:12px 0;padding:18px;border-radius:12px;background:#7c3324;color:#fff;text-decoration:none;font-weight:800;font-size:1.2rem}.scan-module{background:#a52b20}.secondary-module{background:#555}.scan-video{width:100%;max-height:320px;background:#111;border-radius:12px;margin-bottom:10px}.field-camera{width:100%;font-size:1.1rem;padding:14px;margin:8px 0}.account-panel{max-width:760px;margin-left:auto;margin-right:auto}.account-link{text-align:center}.inline-choice{flex-direction:row;align-items:center}.inline-choice input{width:auto}
@media(max-width:760px){header{padding:10px 14px}.brand img{width:52px;height:47px}.brand span{font-size:1.05rem}.location-chip{margin:8px 0;display:inline-block}header nav{display:flex;gap:10px;padding-bottom:3px}.field-header nav{overflow:visible;white-space:normal}.module-grid{grid-template-columns:1fr 1fr;gap:10px}.module-card{min-height:120px;padding:14px}.module-card strong{font-size:1.15rem}.field-shell{margin:8px auto}.field-card{padding:18px 14px;border-radius:12px}.field-form input,.field-form select{font-size:1.15rem;padding:14px}}
@media(max-width:420px){.module-grid{grid-template-columns:1fr}.module-card{min-height:96px}.location-summary{align-items:flex-start;flex-direction:column;gap:3px}}
.barcode-value{font-family:"Courier New",monospace;font-size:1.05rem!important;font-weight:800;letter-spacing:.08em;overflow-wrap:anywhere}.panel details{max-width:340px}.panel details small{overflow-wrap:anywhere}
@media(max-width:760px){header nav{gap:7px}header nav a{display:flex;align-items:center;min-height:44px;padding:8px 6px}}
.label-codes{display:flex;align-items:center;justify-content:center;gap:4px;width:100%}.label-codes .qr-code{width:85px;height:85px}.label-codes .code128{width:145px;height:74px;object-fit:contain}

/* Test Assets branding */
:root{color:#222;background:#f2f2f2}
body{background:#f2f2f2;color:#222}
header{background:#171717;border-bottom:4px solid #f47a00}
.brand img{width:150px;height:58px;background:#111;border-radius:7px;padding:2px}
h1,.asset strong,.biglink,.tracking,.module-card strong{color:#e96f00}
.primary,.module-button,.category-tabs a.active,.category-heading{background:#e96f00;border-color:#e96f00;color:#fff}
.button{background:#222}
.scan-module,.module-card.scan{background:#111;border:2px solid #e96f00}
.module-card:hover,.module-card:focus,.asset:hover{border-color:#e96f00}
.location-chip{background:#ffe0be;color:#2b1808}
.location-summary{border-left-color:#e96f00;background:#fff6ec}
.dvir-letterhead,.dvir-footer{border-color:#e96f00}
.dvir-check-section legend,.dvir-check-section h2,.paper-checkbox.checked{color:#e96f00}
.dvir-checkbox input{accent-color:#e96f00}
.field-logo{width:320px;max-width:100%;max-height:190px}
@media(max-width:760px){.brand img{width:115px;height:45px}.field-logo{width:280px}.dvir-letterhead{grid-template-columns:145px 1fr}.dvir-letterhead img{width:140px;max-height:85px}}
