:root{--blue:#254b87;--navy:#214c7c;--yellow:#ffbf08;--bg:#eeeef4;--line:#d7d8dc;--text:#343638}*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--bg);font:16px Arial,Helvetica,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #4c8cde;outline-offset:3px}button:disabled{opacity:.55;cursor:default}input,select,textarea{color:var(--text)}h1,h2,h3,p{margin-top:0}p{line-height:1.6}button.primary,.primary{background:var(--blue);color:white;border-radius:3px;padding:12px 18px}button.secondary{background:#f8f8fa;border:1px solid #cdd0d8;border-radius:3px;padding:11px 18px}button.danger{background:#e44d43;color:#fff;padding:11px 16px;border-radius:3px}button.success{background:#36bb62;color:white;padding:11px 16px;border-radius:3px}.topbar{height:68px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 14px;position:sticky;top:0;z-index:5;gap:10px}.topbar>div{display:flex;align-items:center;gap:12px}.topbar .back{background:#204b73;color:var(--yellow);padding:12px;border-radius:3px}.topbar small{color:#dae4f7;font-size:12px}.topbar b{font-weight:400;font-size:15px}.layout{display:grid;grid-template-columns:265px minmax(0,1fr);min-height:calc(100vh - 68px)}.sidebar{background:var(--bg);border-right:2px solid var(--line);position:sticky;top:68px;height:calc(100vh - 68px)}.sidebar nav{background:white}.sidebar button{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:18px 23px;border-bottom:1px solid var(--line);font-size:17px;min-height:57px}.sidebar button.active{background:var(--yellow)}.icon{display:inline-flex;align-items:center;justify-content:center;color:#326ba8;font-size:26px;min-width:26px}.watermark{margin:50px auto;width:180px;height:220px;opacity:.055}.work{padding:28px 35px 90px;max-width:1400px;width:100%;margin:auto}.work.wide{padding:14px 12px 85px}.sectiontitle{font-size:17px;margin:0 0 15px;font-weight:400}.panel{background:white;border:1px solid var(--line);margin-bottom:20px;border-radius:3px;overflow:hidden}.panelhead{background:#f5f5f6;padding:13px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:17px}.panelhead h2{font-size:17px;font-weight:500;margin:0}.row{min-height:55px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px;gap:20px}.row:last-child{border-bottom:0}.row>label{width:48%;flex-shrink:0;font-size:16px}.row input,.row select{width:50%;border:0;background:transparent;text-align:right;padding:17px 4px;min-width:0;outline-offset:-3px}.row select{cursor:pointer}.row textarea{width:100%;border:0;min-height:100px;padding:16px;resize:vertical}.helper{background:#e1e1e4;border-radius:4px;padding:25px 30px;display:flex;gap:23px;line-height:1.6;font-size:14px;margin-top:20px}.helper .icon{color:#a3a5aa;font-size:32px;align-self:flex-start}.helper p{margin:0}.subtle{color:#777e88;font-size:13px}.customer{padding:30px;display:flex;gap:55px;align-items:center;min-height:190px}.customer .avatar{height:96px;width:96px;flex-shrink:0;border:1px solid #ddd;background:#f7f7f7;border-radius:5px;display:grid;place-items:center;color:#aaa;font-size:35px}.customer img{width:96px;height:96px;object-fit:contain}.customer p{margin:9px 0}.switch{appearance:none;width:51px!important;height:30px!important;padding:0!important;border:1px solid #ddd!important;background:#eee!important;border-radius:20px;position:relative;cursor:pointer;flex-shrink:0}.switch:before{content:'';width:24px;height:24px;background:white;box-shadow:0 1px 4px #999;border-radius:50%;position:absolute;left:2px;top:2px;transition:.15s}.switch:checked{background:#38ad6c!important}.switch:checked:before{left:23px}.wizardfooter{display:flex;justify-content:space-between;align-items:center;margin-top:25px;gap:12px}.saved{font-size:12px;color:#718079}.home{min-height:100vh;display:flex;align-items:center;flex-direction:column;position:relative;overflow:hidden;padding:35px 24px 25px;background:#efeff4}.home:before{content:'';position:absolute;width:1100px;height:1100px;border:130px solid #dcddea;border-radius:35%;transform:rotate(-43deg);opacity:.38;top:-400px;left:calc(50% - 550px);pointer-events:none}.home>*{position:relative}.home-tools{width:100%;max-width:800px;display:flex;gap:10px}.home-tools button{height:44px;width:44px;border-radius:50%;background:var(--navy);color:var(--yellow);font-weight:bold;font-size:24px}.appicon{width:170px;height:170px;border-radius:34px;background:linear-gradient(135deg,#214e79,#0589a4);position:relative;overflow:hidden;box-shadow:0 2px 3px #203d6530;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:12px;margin-top:-20px}.appicon svg{width:117px;height:120px;background:#d3dde0;border-radius:50%;padding:12px}.appicon strong{position:absolute;bottom:0;left:0;right:0;background:var(--yellow);text-align:center;color:#1b507e;padding:13px 0;font-size:20px;letter-spacing:.8px}.home h1{font-size:29px;margin:20px 0 40px}.homegrid{display:grid;grid-template-columns:1fr 1fr;gap:28px 12px;width:100%;max-width:800px}.homegrid button{display:flex;gap:18px;align-items:center;background:var(--navy);color:var(--yellow);font-size:21px;text-align:left;padding:20px 18px;min-height:72px;border-radius:3px;border:1px solid #4a6c98}.homegrid button:first-child,.homegrid button:last-child{grid-column:1 / 3;max-width:395px;width:100%;justify-self:center}.homegrid .icon{color:white;font-size:30px}.homegrid .resume{background:#305c8c}.homefooter{margin-top:auto;padding-top:65px;text-align:center;font-size:12px;color:#697c96}.homefooter b{font-size:28px;display:block;margin-bottom:15px}.homefooter button{color:var(--blue);text-decoration:underline}.cardlist{display:grid;gap:15px}.listcard{padding:20px;background:#fff;border:1px solid var(--line);border-radius:3px;display:flex;justify-content:space-between;gap:20px;align-items:center}.listcard h3{font-size:17px;margin:0 0 8px}.listcard p{margin:4px 0;font-size:13px;color:#6e737c}.controls{display:flex;gap:8px;flex-wrap:wrap}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.toolbar input{border:1px solid var(--line);background:white;padding:12px;flex:1;min-width:0}.badge{font-size:11px;padding:5px 8px;border-radius:3px;background:#e8eff8;color:var(--blue);white-space:nowrap}.badge.done{background:#e3f4e8;color:#247442}.badge.warn{background:#fff1c9;color:#9c6910}.empty{padding:40px 20px;text-align:center;background:white;border:1px solid var(--line);color:#777}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:grid;gap:8px;font-size:14px}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #d2d6dc;border-radius:3px;background:#fff;min-width:0}.field textarea{min-height:100px;resize:vertical}.field.full{grid-column:1/-1}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap}dialog{border:0;border-radius:7px;padding:28px;max-width:740px;width:94%;max-height:90vh;color:var(--text)}dialog::backdrop{background:#17375c88}dialog h2{font-size:22px;margin-bottom:12px}dialog p{font-size:14px;color:#666}#toast{display:none;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:20;background:#233e62;color:white;padding:15px 23px;border-radius:5px;max-width:92vw;box-shadow:0 5px 20px #0002}.protocoltabs{display:flex;gap:5px;overflow:auto;margin-bottom:14px;padding-bottom:5px}.protocoltabs button{background:#fff;border:1px solid var(--line);padding:11px 15px;white-space:nowrap;border-radius:3px}.protocoltabs button.selected{background:var(--blue);color:#fff}.addsmall{background:#3d80ed;color:white;border-radius:3px;font-size:22px;padding:3px 10px}.findingrow{display:grid;grid-template-columns:50% 40% 10%;min-height:55px;border-bottom:1px solid var(--line);background:white}.findingrow .partname{padding:17px 18px;font-size:16px;display:flex;align-items:center}.findingrow .rating{display:flex;align-items:center;justify-content:center;border-left:1px solid var(--line);border-right:1px solid var(--line);width:100%;border-radius:0}.findingrow .detail{font-size:28px;color:#676a70;padding:0}.rating.pending{background:#fff;color:#a4a4a4}.rating.pending:before{content:'';width:26px;height:26px;border:1px solid #ddd;border-radius:50%}.rating.ok{background:#eff7f0;color:#307344}.rating.green{background:#59bb70;color:#fff}.rating.orange{background:#f29a00;color:#513e25}.rating.red{background:#e82f2e;color:white}.rating.na{background:#eee;color:#737373}.legend{display:flex;gap:15px;flex-wrap:wrap;padding:15px;background:#f9f9fb;font-size:12px}.legend span:before{content:'';display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--c);margin-right:6px}.ratingchoices{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.ratingchoices button{border:2px solid transparent;min-height:50px;border-radius:4px;padding:10px 14px}.ratingchoices button[aria-pressed=true]{border-color:#143d73;box-shadow:0 0 0 2px white inset}.photos{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.photo{position:relative}.photo img{height:100px;width:130px;object-fit:cover;border-radius:3px}.photo button{position:absolute;top:0;right:0;background:#d84236;color:white}.filelabel{display:inline-block;cursor:pointer;background:#edf0f6;padding:13px 18px;border-radius:3px;color:var(--blue);font-size:14px}.notice{padding:14px 18px;background:#fff5d9;font-size:13px;line-height:1.5;margin-bottom:20px;border-left:3px solid var(--yellow)}.sheet{background:white;border:1px solid #ddd;box-shadow:0 3px 12px #0001;margin:0 auto 24px;padding:35px;max-width:1100px;font-size:12px;color:#222}.reporthead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.reporthead h2{font-size:23px;margin:4px 0}.reportbrand{font-size:17px;color:var(--navy);font-weight:bold;display:flex;align-items:center;gap:10px}.reportbrand svg{width:45px;height:55px}.reportlogo{max-width:110px;max-height:70px;object-fit:contain}.reportmeta{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:18px 0 30px}.reporttable{border-collapse:collapse;width:100%;font-size:11px;margin-bottom:20px}.reporttable th,.reporttable td{border:1px solid #999;padding:6px 7px;vertical-align:top;text-align:left;overflow-wrap:anywhere}.reporttable th{background:#dfdfe1;font-weight:500}.reporttable .sectionth{background:#f3f3f3;font-weight:bold}.sheet h3{font-size:13px;margin:25px 0 12px}.reportfoot{margin-top:30px;border-top:1px solid #ddd;padding-top:12px;display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#666}.reportphotos{display:flex;gap:12px;flex-wrap:wrap}.reportphotos figure{margin:0;break-inside:avoid}.reportphotos img{max-width:210px;max-height:160px;object-fit:contain}.reportphotos figcaption{font-size:10px;max-width:210px}.reportnote{white-space:pre-wrap;overflow-wrap:anywhere}.signatures{display:grid;grid-template-columns:1fr 1fr;gap:45px;margin-top:55px;font-size:11px}.signatures div{border-top:1px solid #777;padding-top:8px}#printroot{display:none}.readnotice{margin-bottom:20px;font-size:13px;color:#5d6b80}button.link{color:var(--blue);text-decoration:underline;padding:0;font-size:13px}.progressbar{height:3px;background:#dce0e8;margin-bottom:20px}.progressbar div{height:3px;background:#ffbc04}.topactions{display:flex;gap:8px}.warninglist{margin:10px 0;padding-left:22px;line-height:1.7;color:#98442e;font-size:14px}@media(min-width:1400px){.work{padding-left:70px;padding-right:70px}}@media(max-width:850px){.layout{grid-template-columns:215px 1fr}.sidebar button{padding:17px 12px;font-size:15px;gap:9px}.work{padding:24px 20px 70px}.customer{gap:25px}.topbar small{display:none}.sheet{padding:22px}.row>label,.findingrow .partname{font-size:14px}}@media(max-width:600px){.topbar{height:58px}.topbar b{font-size:12px}.topbar button{font-size:12px;padding:10px}.layout{display:block}.sidebar{position:sticky;top:58px;height:auto;border:0;z-index:4}.sidebar nav{display:flex;overflow:auto}.sidebar button{white-space:nowrap;padding:13px 12px;min-height:48px;width:auto;flex-shrink:0;font-size:12px}.sidebar .icon{display:none}.watermark{display:none}.work,.work.wide{padding:20px 12px 50px}.home{padding:24px 18px}.appicon{width:140px;height:140px;margin-top:15px}.appicon svg{height:100px;width:100px}.appicon strong{font-size:16px;padding:9px}.home h1{margin:20px 0 30px;font-size:25px}.homegrid{gap:15px;max-width:400px;grid-template-columns:1fr}.homegrid button,.homegrid button:first-child,.homegrid button:last-child{grid-column:auto;max-width:none;font-size:18px;padding:16px}.homefooter{padding-top:35px}.formgrid{grid-template-columns:1fr}.field.full{grid-column:auto}.row{padding:0 12px;gap:8px}.row>label{width:47%}.row input,.row select{font-size:14px}.customer{padding:20px;gap:22px}.customer .avatar,.customer img{width:65px;height:65px}.helper{padding:18px;gap:10px;font-size:13px}.listcard{align-items:flex-start;flex-direction:column}.toolbar{flex-wrap:wrap}.toolbar input{flex-basis:100%}.reportmeta{grid-template-columns:1fr}.sheet{padding:15px;overflow:auto}.reporttable{font-size:9px}.reporttable th,.reporttable td{padding:4px}.reporthead{margin-bottom:15px}.reporthead h2{font-size:19px}.reportbrand{font-size:12px}.reportbrand svg{width:30px}.reportfoot{font-size:8px}.findingrow{grid-template-columns:57% 30% 13%}.findingrow .partname{padding:14px 12px}.panelhead{font-size:15px}.topactions button{font-size:11px;padding:9px!important}.row .switch{width:51px!important}.topbar>div{gap:8px}}
@media print{@page{size:A4 landscape;margin:15mm}body{background:white}#app,dialog,#toast{display:none!important}#printroot{display:block!important}.sheet{border:0;box-shadow:none;max-width:none;padding:0;margin:0;overflow:visible;break-after:page;font-size:11px}.sheet:last-child{break-after:auto}.reportmeta{grid-template-columns:1fr 1fr}.reporttable{font-size:10px}.reporttable th,.reporttable td{padding:4px 6px}.reporthead{margin-bottom:22px}.reporttable thead{display:table-header-group}.reporttable tr,.reportphotos figure,.reportfoot,.signatures{break-inside:avoid}.reportfoot{font-size:9px}.reportphotos img{max-height:140px}.reporttable,.rating,th,td{-webkit-print-color-adjust:exact;print-color-adjust:exact}.noprint{display:none!important}}
.part-with-photos{flex-direction:column;align-items:flex-start!important;gap:10px}.part-photo-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.part-photo-add{display:inline-block;border:1px solid #b9c9dd;background:#f0f5fc;color:#254b87;border-radius:3px;padding:7px 10px;font-size:12px;cursor:pointer}.part-photo-add:focus-within{outline:2px solid #254b87}.photo-count{font-size:11px;color:#7b8089}.part-thumbnails{display:flex;gap:7px;flex-wrap:wrap}.part-thumbnail{padding:0;border:1px solid #c6ccd5;border-radius:3px;overflow:hidden;width:64px;height:48px}.part-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}.photo-full{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:20px auto}

.appicon strong{font-size:13px;letter-spacing:.1px}.home h1{text-align:center;line-height:1.4}.app-subtitle{font-size:22px;font-weight:500}@media(max-width:600px){.appicon strong{font-size:11px}.app-subtitle{font-size:20px}}

body{padding-bottom:38px}#team-status{position:fixed;bottom:0;left:0;right:0;padding:10px 15px;background:#e5f0e8;border-top:1px solid #c8daca;color:#28553a;font-size:12px;z-index:8;text-align:center}#team-status.attention{background:#fff1d2;color:#7e510c}.team-conflict{position:relative;z-index:7;background:#fff1d2;padding:18px;border-bottom:2px solid #edb642}.team-conflict p{font-size:13px;margin:8px 0}@media print{#team-status,.team-conflict{display:none!important}body{padding:0}}

.company-logo{width:min(440px,90vw);margin:10px auto 0;padding:18px;background:#fff;border-radius:12px}.company-logo img{display:block;width:100%;height:auto}.reportbrand .report-company-logo{width:180px;max-height:95px;object-fit:contain}.reportbrand{display:flex;flex-direction:column;align-items:flex-end;gap:8px}@media(max-width:600px){.company-logo{width:min(300px,90%);padding:12px;margin-top:12px}.reportbrand .report-company-logo{width:120px;max-height:65px}}

[hidden]{display:none!important}
