:root{font-family:system-ui,-apple-system,sans-serif;color:#173831;background:#f2f5f1;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#fff;border-bottom:1px solid #dce4dd;padding:22px max(24px,calc((100vw - 1120px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{color:#16775c;text-decoration:none;font-size:34px;font-weight:850;display:flex;gap:14px;align-items:center}.brand span{font-size:17px;letter-spacing:2px}.brand small{display:block;font-size:9px;letter-spacing:2.3px;margin-top:5px}nav{display:flex;flex-wrap:wrap;gap:8px}main{max-width:1120px;margin:45px auto;padding:0 24px;min-height:70vh}h1{font-size:32px;letter-spacing:-1px;margin:10px 0}h2{font-size:22px}p{line-height:1.6}.muted{color:#65796f}.eyebrow{text-transform:uppercase;letter-spacing:2px;color:#337863;font-size:12px;font-weight:700}.layout{display:grid;grid-template-columns:230px 1fr;gap:32px;margin-top:30px}.panel{background:white;border:1px solid #dce4dd;border-radius:18px;padding:30px;box-shadow:0 8px 30px #233a2505}.steps{padding:10px 0;list-style:none}.steps li{padding:14px 12px;border-left:2px solid #dae3db;color:#7a8c80}.steps li.active{border-color:#16775c;background:#e4eee5;color:#155b47;font-weight:700;border-radius:0 10px 10px 0}.steps b{display:inline-block;width:28px}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:25px 0}.choice{padding:22px;text-align:left;min-height:90px;background:white;color:#234a3b;border:1px solid #d6e1d8;display:flex;flex-direction:column;gap:8px}.choice.selected{border:2px solid #16775c;background:#f0f8f1}.choice small{font-weight:400;color:#6b7f71}button,.btn{font:inherit;border-radius:9px;border:0;background:#176b51;color:#fff;padding:12px 19px;cursor:pointer;font-weight:600;text-decoration:none;display:inline-block}button:hover,.btn:hover{filter:brightness(.94)}button:disabled{opacity:.45;cursor:wait}.secondary{background:#e9efea;color:#355a48}.actions{display:flex;justify-content:space-between;gap:12px;margin-top:30px;border-top:1px solid #edf0ea;padding-top:22px}label{display:block;font-weight:600;font-size:14px;margin:18px 0 7px}input,select,textarea{font:inherit;width:100%;padding:12px;border:1px solid #cbd8cf;border-radius:8px;background:#fff;color:#173831}input:focus,select:focus,textarea:focus{outline:2px solid #70b58c;outline-offset:2px}textarea{min-height:140px}.login{max-width:440px;margin:70px auto}.banner{background:#fff1d4;border:1px solid #eed9aa;padding:13px 17px;border-radius:9px;font-size:14px;margin:20px 0}.summary{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#f3f7f2;padding:20px;border-radius:12px}.summary small{display:block;color:#718474;margin-bottom:5px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse}td,th{padding:14px 10px;border-bottom:1px solid #e1e8df;text-align:left;font-size:14px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.toolbar input{max-width:420px}.editrow{background:#f5f7f3;border-radius:10px;padding:16px;margin:12px 0}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.danger{background:#f4e7e2;color:#8e3326}.pill{border-radius:20px;background:#e9f2e8;padding:5px 10px;font-size:12px}#notice{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#8b332a;color:white;border-radius:10px;padding:15px 24px;max-width:90vw;display:none;z-index:10}footer{text-align:center;font-size:12px;color:#778b7b;padding:20px}.success{text-align:center;padding:45px}.success h1{color:#16775c}a{color:#176b51}button:focus-visible,a:focus-visible{outline:3px solid #e4af42;outline-offset:3px}@media(max-width:740px){header{padding:16px;align-items:flex-start}.brand{font-size:26px}.brand span{font-size:12px}nav button{padding:9px;font-size:12px}main{margin:24px auto;padding:0 16px}.layout{grid-template-columns:1fr;gap:10px}.steps{display:flex;overflow:auto;margin:0}.steps li{white-space:nowrap;font-size:12px;padding:10px}.steps li:not(.active){font-size:0}.steps li b{font-size:12px;width:auto}.panel{padding:22px}.choices,.fields,.summary{grid-template-columns:1fr}h1{font-size:27px}}
.vehicle-image{width:100%;height:100px;object-fit:contain;border-radius:8px;background:#f2f6f0}.vehicle-preview{display:flex;gap:18px;align-items:center;margin-bottom:16px}.vehicle-preview .vehicle-image{width:160px;height:85px}.paper-options{display:grid;gap:12px;margin:20px 0}.paper-choice{border:1px solid #cbd8cf;border-radius:12px;padding:18px;display:flex;align-items:flex-start;gap:14px;cursor:pointer}.paper-choice:has(input:checked){border:2px solid #176b51;background:#f0f8f1}.paper-choice input{width:20px;min-width:20px;height:20px;margin:3px 0}.paper-choice span small{display:block;color:#65796f;font-weight:400;line-height:1.5;margin-top:7px}fieldset{border:1px solid #d5e1d7;border-radius:10px;margin:16px 0;padding:12px}legend{font-size:13px;font-weight:700;padding:0 6px}.check{display:flex;align-items:center;gap:10px;margin:8px 0;font-weight:400}.check input{width:20px;height:20px;flex-shrink:0}.editrow>button{margin:10px 8px 0 0}input[type=color]{height:47px;cursor:pointer;padding:5px}input[type=file]{font-size:14px} .choice strong{font-size:17px}.choices{max-height:620px;overflow:auto;padding:2px}.choice .vehicle-image{height:90px}
.vehicle-illustration{overflow:hidden;background:#fff;height:132px}.choice .vehicle-illustration{height:126px}.vehicle-preview .vehicle-illustration{width:210px;height:130px}.vehicle-preview{min-height:130px}
.advanced{margin:22px 0;padding:18px;border:1px solid #d5e1d7;border-radius:12px;background:#fafcf9}summary{font-weight:700;cursor:pointer;padding:6px 0}.checkgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;margin-top:12px}.sort{color:#214d3b;background:transparent;padding:4px 0;font-size:13px;text-align:left;white-space:nowrap}thead input{font-size:12px;padding:7px;min-width:100px}.toolbar label{margin:0;min-width:150px;font-size:12px}.tablewrap{margin-top:20px}#user-form input[readonly]{background:#eef2ec}#history-access details{padding:9px 0}td{white-space:normal;min-width:90px}.editrow .check{padding-top:4px}@media(max-width:740px){.checkgrid{grid-template-columns:1fr}.toolbar{align-items:stretch}.toolbar input{max-width:none}.toolbar label{flex:1}.advanced{padding:12px}}

/* 0.4.1: selection confirmation and full-width archive */
.selection-summary{background:#f0f8f1;border:1px solid #bfd8c6;border-radius:12px;padding:18px;scroll-margin-top:20px;margin:18px 0 26px}.selected-item{display:flex;align-items:center;gap:18px;margin:14px 0}.selected-item .vehicle-image{width:160px;height:95px;flex-shrink:0}.selected-item strong{display:block;font-size:19px}.selected-item small{display:block;color:#65796f;margin-top:7px}.selection-summary>button{width:100%}.history-wide{max-width:none;width:100%;padding:0 32px}.history-wide .tablewrap{padding:12px 18px}.history-wide table{min-width:100%}.history-controls{display:flex;justify-content:flex-end}.history-controls label{margin:0;min-width:170px}.history-controls select{margin-top:7px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}#history-pager{display:flex;align-items:center;gap:12px;flex-wrap:wrap}@media(max-width:740px){.history-wide{padding:0 16px}.selected-item{gap:12px}.selected-item .vehicle-image{width:110px;height:80px}.selected-item strong{font-size:17px}.history-wide .tablewrap{padding:8px}.history-pagination{align-items:flex-start}#history-pager button{padding:10px 12px}}
