:root{--ink:#202124;--muted:#73767b;--green:#d3213b;--line:#e2e3e6;--paper:#fff;--canvas:#f4f4f5;--amber:#97631b}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:15px/1.55 "Segoe UI",Arial,sans-serif}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}.topbar{background:#173b32;color:white;display:flex;align-items:center;gap:34px;padding:18px 36px;flex-wrap:wrap}.topbar a{color:inherit}.brand{font-size:23px;font-weight:700;display:flex;align-items:center;gap:10px;white-space:nowrap}.brand-icon{display:inline-grid;place-items:center;background:#a7d5a4;color:#173b32;width:35px;height:35px;border-radius:9px}.brand small{font-size:9px;letter-spacing:2px;margin-left:7px;font-weight:500;color:#b4c9bd}.topbar nav{display:flex;gap:21px;font-size:13px;flex-wrap:wrap}.logout{margin-left:auto;display:flex;gap:14px;align-items:center;font-size:12px}.logout .link{color:#c9dfcb}main{max-width:1320px;margin:0 auto;padding:44px 32px 70px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--green);margin-bottom:8px}h1{font-size:36px;line-height:1.2;font-weight:650;letter-spacing:-1px;margin:0 0 9px}h2{font-size:18px;font-weight:650;margin:0 0 20px;display:flex;align-items:center;gap:12px}h3{font-size:13px;margin-bottom:5px}.muted{color:var(--muted);margin:8px 0 18px}.hint{font-size:12px;color:var(--muted);margin:15px 0 0}button,.button{font:600 14px/1.4 "Segoe UI",Arial,sans-serif;display:inline-block;border:1px solid var(--green);border-radius:7px;background:var(--green);color:#fff;padding:11px 19px;cursor:pointer;text-align:center;white-space:nowrap}.button:hover{text-decoration:none;background:#ab152c}button:hover{filter:brightness(.95)}.secondary{color:var(--green);background:#fff;border-color:#d0d1d5}.link{background:none;border:0;color:var(--green);padding:0;font-size:12px;font-weight:500}.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:26px;margin-bottom:23px;box-shadow:0 3px 8px #20212403}.grid{display:grid;gap:19px}.cols2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols4{grid-template-columns:repeat(4,minmax(0,1fr))}label{font-size:12px;font-weight:600;display:block;margin-bottom:17px;color:#4b4e54}input,select,textarea{font:400 14px "Segoe UI",Arial,sans-serif;width:100%;padding:11px 12px;margin-top:6px;color:var(--ink);border:1px solid #d5d6db;border-radius:6px;background:#fff;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #dd8796;outline-offset:1px}input:disabled,select:disabled{background:#f0f0f2;color:#565961}textarea{resize:vertical;min-height:80px}small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:27px}.stats>a,.stats>div{padding:22px 24px;border:1px solid var(--line);background:#fff;border-radius:10px;color:var(--ink)}.stats span{display:block;color:var(--muted);font-size:12px}.stats strong{font-size:32px;font-weight:600;display:block;margin-top:5px;letter-spacing:-1px}.stats.financial>div:nth-child(2){background:#fff0f2;border-color:#f4cbd2}.filter{display:flex;gap:15px;align-items:flex-end;margin-bottom:18px;flex-wrap:wrap}.filter label{margin:0;min-width:180px}.filter>a{padding:10px;font-size:13px}.grow{flex:1}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}thead{background:#f4f4f6}th,td{text-align:left;padding:14px 12px;border-bottom:1px solid #e8e8eb;vertical-align:top}thead th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#686b72;white-space:nowrap}tbody tr:hover{background:#fcfcfd}td .strong,.strong{font-weight:650}.badge{display:inline-block;font-size:10px;padding:3px 8px;background:#f1f1f3;border-radius:20px;margin:1px;white-space:nowrap}.empty{padding:62px 20px;text-align:center;color:var(--muted)}.empty h2{justify-content:center;color:var(--ink);font-size:23px}.empty .button{margin-top:12px}.backup{text-align:right}.step{border-radius:50%;background:#fff0f2;width:30px;height:30px;display:inline-grid;place-items:center;color:#bd2038;font-size:11px}.part-card{padding:18px 20px;background:#f7f7f8;border-radius:8px;border:1px solid #e5e5e9;margin:7px 0 24px}.part-card p{margin:7px 0}.labor{min-width:950px}.labor th{font-size:12px;min-width:160px}.labor thead th:not(:first-child){min-width:90px}.labor input{padding:9px;margin-top:0}.labor td{padding:9px 5px}.savebar{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;background:#25262a;border-radius:9px;gap:20px}.savebar span{color:#e2e2e7;font-size:12px}.notice{padding:15px 20px;background:#fff4db;border:1px solid #e5d3a7;color:#684e1f;border-radius:8px;margin-bottom:22px}.notice.error{background:#ffeded;border-color:#eeb5b5;color:#8a2828}.notice.success{background:#f0f5f0;border-color:#c9d9c8;color:#3d603a}.warning{color:var(--amber)}.actions{display:flex;gap:12px}.details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin:0}dt{color:var(--muted);font-size:11px}dd{margin:5px 0 0;font-size:14px;font-weight:600}.costs{margin:0}.costs>div{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ededf0;padding:10px 0;gap:10px}.costs dt{font-size:13px}.costs dd{white-space:nowrap}.preserve{white-space:pre-wrap}.check,.checks label{display:flex;align-items:center;gap:9px;font-weight:400}.check input,.checks input{width:auto;margin:0}.checks{display:flex;gap:25px;flex-wrap:wrap;margin:12px 0}.customer-row{display:flex;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}.customer-row label{margin:0}.customer-row .check{min-width:165px}.customer-row button{align-self:flex-end}.source-values{max-width:500px;overflow-wrap:anywhere;font-size:11px}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:500px;font-size:11px}.login-card{max-width:470px;margin:40px auto 80px;background:white;border:1px solid var(--line);border-radius:14px;padding:38px}.login-card h1{font-size:32px}.login-card button{width:100%;margin-top:8px}footer{max-width:1256px;border-top:1px solid var(--line);margin:auto;padding:22px 0;color:var(--muted);font-size:11px;display:flex;justify-content:space-between}
@media(max-width:950px){.topbar{padding:18px 22px;gap:18px}.brand small{display:none}.logout{margin-left:0}.cols4{grid-template-columns:repeat(2,minmax(0,1fr))}.stats strong{font-size:25px}.details{grid-template-columns:repeat(2,minmax(0,1fr))}main{padding:30px 20px}.topbar nav{gap:15px}footer{margin:0 20px}.customer-row{flex-wrap:wrap}}
@media(max-width:620px){.cols2,.cols3,.cols4{grid-template-columns:1fr}.grid{gap:0}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.page-heading{align-items:flex-start;flex-direction:column}.panel{padding:18px}.details{grid-template-columns:1fr}.savebar{flex-direction:column;align-items:stretch}.filter label{width:100%}h1{font-size:30px}.actions{flex-wrap:wrap}.login-card{padding:25px;margin:10px auto}.topbar nav{width:100%}.topbar{gap:14px}.stats>a,.stats>div{padding:16px}}
@media print{body{background:white;font-size:11px}.topbar,footer,.actions,.notice,.backup{display:none}main{padding:0;max-width:none}.panel{box-shadow:none;border:1px solid #ccc;margin-bottom:12px;padding:14px;break-inside:avoid}.stats{gap:10px}.stats strong{font-size:22px}.stats>div{padding:12px}.page-heading{margin-bottom:15px}h1{font-size:28px}.table-wrap{overflow:visible}table{font-size:10px}th,td{padding:7px 5px}thead th{font-size:8px}.cols2{grid-template-columns:1fr 1fr}.details{grid-template-columns:repeat(3,minmax(0,1fr))}a{color:inherit}.financial>div{background:white!important}}

/* Rothsport Racing brand. The provided logo is displayed without modification. */
.topbar{background:#fff;color:#202124;border-top:5px solid #202124;border-bottom:2px solid #d3213b;box-shadow:0 3px 12px #20212408;gap:28px;padding:18px 32px}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1}
.brand-logo{width:268px;height:auto;display:block;max-width:100%;object-fit:contain}
.brand-caption{font-size:8px;font-weight:600;letter-spacing:3px;color:#757880;margin:5px 0 0 5px}
.topbar nav{font-weight:600;gap:23px}.topbar nav a{padding:8px 0;border-bottom:2px solid transparent}.topbar nav a:hover{color:#c21e35;border-bottom-color:#d3213b;text-decoration:none}
.logout .link{color:#bd2038}.logout span{color:#777a81}
.page-heading h1{font-weight:700;letter-spacing:-1.15px}.eyebrow{color:#c32038;font-size:10px;letter-spacing:2.4px}
.step{border-radius:5px}.panel{box-shadow:0 4px 15px #20212403}.stats strong{font-variant-numeric:tabular-nums}.stats.financial>div:nth-child(2){border-top:3px solid #d3213b;padding-top:20px}
.login-card{border-top:4px solid #d3213b;max-width:510px;padding:36px 40px}.login-logo{display:block;width:100%;height:auto;margin:0 0 32px;object-fit:contain}.login-card h1{font-size:34px}
.login-card .eyebrow{font-size:9px}.savebar button{border-color:#e42945}.savebar{box-shadow:inset 4px 0 #d3213b}.savebar span{color:#dddde3}
.print-brand{display:none}
@media(max-width:950px){.topbar{gap:17px;padding:17px 22px}.brand-logo{width:230px}.topbar nav{gap:17px}.brand-caption{font-size:7px}.logout{margin-left:0}}
@media(max-width:620px){.topbar{padding:17px 20px;gap:13px}.brand-logo{width:250px}.topbar nav{gap:16px}.brand-caption{margin-top:3px}.login-card{padding:28px 24px}.login-logo{margin-bottom:28px}.login-card h1{font-size:30px}}
@media print{.topbar{display:none}.print-brand{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #d3213b;padding-bottom:12px;margin-bottom:18px}.print-brand img{width:240px;height:auto}.print-brand span{font-size:9px;letter-spacing:2px;color:#666}.stats.financial>div:nth-child(2){border:1px solid #ccc;padding-top:12px}.savebar{display:none}}

.login-logo{max-width:360px;margin-left:auto;margin-right:auto}
@media print{.print-brand{padding-right:18px}}
