:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#16213c;background:#f4f6fb;font-size:16px;font-synthesis:none;--blue:#2254ee;--muted:#6c7891}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #98b8ff;outline-offset:3px}button{border:0;border-radius:12px;padding:13px 16px;background:var(--blue);color:white;font-weight:650;min-height:46px}button.secondary{background:#edf1fb;color:#284477}button.danger{background:#fff0f0;color:#ae303b}.shell{max-width:1100px;margin:auto;padding:28px 28px 112px}header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:28px}.brand{display:flex;align-items:center;gap:12px}.mark{background:#2254ee;color:white;border-radius:15px;padding:11px;font-size:24px;font-weight:800;line-height:1}.brand strong{font-size:23px;letter-spacing:-.8px}.sub{font-size:14px;color:var(--muted);margin-top:4px}.person{font-size:14px;color:var(--muted)}h1{font-size:30px;letter-spacing:-1px;margin:6px 0 18px}h2{font-size:22px;margin:0 0 16px}h3{font-size:17px;margin:0 0 8px}p{line-height:1.5}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.muted{color:var(--muted)}.small{font-size:14px}.panel{background:white;border:1px solid #e3e8f2;border-radius:20px;padding:22px;margin-bottom:18px}.dates{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dates label{min-width:0}label{display:block;font-size:14px;color:#4b5870;font-weight:550}input,select,textarea{display:block;width:100%;border:1px solid #dce2ed;border-radius:11px;background:white;padding:12px;color:#16213c;margin-top:7px;min-height:46px;min-width:0}textarea{min-height:85px;resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #a9beff;border-color:var(--blue)}.filters{display:flex;gap:8px;overflow:auto;padding:4px 0 16px}.chip{white-space:nowrap;background:white;color:#586680;border:1px solid #e0e6f1;min-height:40px;padding:9px 15px;border-radius:24px;font-size:14px}.chip.active{background:#16213c;color:white;border-color:#16213c}.search{margin:0 0 15px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{border:1px solid #e2e7f0;border-radius:20px;background:white;overflow:hidden;display:flex;flex-direction:column}.card-image{width:100%;height:174px;object-fit:cover;background:#eaf0fc;cursor:pointer}.placeholder{height:174px;background:linear-gradient(135deg,#eef3ff,#dfe8fc);display:flex;align-items:center;justify-content:center;flex-direction:column;color:#6880b0;gap:12px;cursor:pointer}.placeholder svg{width:42px;height:42px;stroke:#6a84ba;fill:none;stroke-width:1.5}.placeholder span{font-size:13px}.card-body{padding:18px;display:flex;flex-direction:column;flex:1}.card h3{margin:12px 0 7px}.card .desc{font-size:14px;color:var(--muted);margin:0 0 16px;line-height:1.5;flex:1}.card button{width:100%;margin-top:14px}.badge{font-size:13px;padding:5px 9px;border-radius:7px;background:#eaf6ef;color:#287a51;display:inline-block;font-weight:600}.badge.warn{background:#fff4dc;color:#926217}.badge.bad{background:#ffedef;color:#b73148}.badge.neutral{background:#edf1f8;color:#5c6b87}.booking{padding:20px;border:1px solid #e1e7f1;background:white;border-radius:18px;margin:12px 0;cursor:pointer}.booking:hover{border-color:#9bb6ff}.booking h3{font-size:18px;margin:10px 0}.booking .time{font-size:15px;margin-top:10px}.empty{text-align:center;padding:60px 22px;color:var(--muted);line-height:1.6}.empty h2{color:#16213c}.nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#ffffffed;border-top:1px solid #e3e8f2;backdrop-filter:blur(14px);padding:9px 12px calc(9px + env(safe-area-inset-bottom));z-index:5;gap:8px}.nav button{background:transparent;color:#758099;display:flex;flex-direction:column;gap:4px;align-items:center;font-size:13px;font-weight:550;min-width:90px;position:relative;padding:8px 16px}.nav button.active{color:var(--blue);background:#edf2ff}.nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.count{position:absolute;right:12px;top:0;background:var(--blue);color:white;border-radius:20px;min-width:18px;padding:2px;font-size:12px}.demo{background:#172545;color:white;padding:9px 20px;display:flex;gap:12px;align-items:center;justify-content:center;font-size:14px;flex-wrap:wrap}.demo select{width:auto;margin:0;min-height:34px;padding:5px 10px;font-size:14px}.cart-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid #edf0f6}.cart-row:last-child{border:0}.full{width:100%}.gap{display:grid;gap:16px}.notice{background:#edf2ff;color:#31528f;border-radius:12px;padding:14px;font-size:14px;line-height:1.5;margin:16px 0}.notice.warn{background:#fff4dc;color:#875a15}.stats{display:flex;gap:14px;margin-bottom:20px}.stat{flex:1;background:white;border:1px solid #e2e8f3;border-radius:16px;padding:18px}.stat strong{font-size:27px;display:block;margin-bottom:4px}.stat span{font-size:14px;color:var(--muted)}dialog{border:0;border-radius:22px;width:min(620px,calc(100% - 24px));max-height:90dvh;padding:24px;color:#16213c;box-shadow:0 24px 100px #0b1c4933}dialog::backdrop{background:#101b3e75;backdrop-filter:blur(3px)}.close{float:right;background:#edf1f8;color:#526078;border-radius:50%;min-height:36px;width:36px;padding:4px;margin-left:12px;font-size:22px}.modal-photo{width:100%;max-height:260px;object-fit:contain;background:#eff3fa;border-radius:12px;margin:16px 0}.check{display:flex;gap:12px;align-items:flex-start;font-size:15px;margin:12px 0}.check input{width:20px;height:20px;min-height:20px;margin:0;flex-shrink:0;accent-color:var(--blue)}.inspect{background:#f6f8fc;border-radius:14px;padding:16px;margin:14px 0}.photos{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.photos img{width:74px;height:74px;object-fit:cover;border-radius:8px}.timeline{border-left:2px solid #e1e8f7;margin:18px 0;padding-left:16px}.event{margin:0 0 18px;font-size:14px;line-height:1.5}.event strong{display:block;font-size:15px}.event time{color:var(--muted);font-size:13px}#toast{position:fixed;left:50%;bottom:105px;transform:translateX(-50%);max-width:90%;width:max-content;background:#16213c;color:white;border-radius:12px;padding:14px 20px;z-index:20;display:none;box-shadow:0 5px 30px #10204425}.file-label{padding:13px;border:1px dashed #a8b9d7;border-radius:10px}.file-label input{border:0;padding:4px}.details{font-size:14px;line-height:1.6}.btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.btns>*{flex:1}.pending{max-width:440px;margin:15vh auto;padding:24px}footer{font-size:13px;color:var(--muted);margin-top:25px} @media(max-width:700px){.shell{padding:20px 16px 110px}header{margin-bottom:25px}.person{max-width:115px;text-align:right}.brand strong{font-size:21px}h1{font-size:27px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-image,.placeholder{height:135px}.card-body{padding:13px}.card h3{font-size:16px}.card .desc{display:none}.card button{font-size:14px;padding:11px 8px}.badge{font-size:12px}.panel{padding:17px}.dates{gap:9px}.dates input{font-size:14px;padding:10px 7px}.nav{gap:0}.nav button{min-width:0;flex:1;max-width:120px;padding:8px 6px}.stats{gap:8px}.stat{padding:13px}.stat span{font-size:13px}.stat strong{font-size:24px}dialog{padding:20px}.demo{font-size:13px}}@media(max-width:350px){.grid{grid-template-columns:1fr}.dates{grid-template-columns:1fr}}

.dialog-message{position:sticky;top:0;z-index:2;background:#fff1d6;color:#704b08;border:1px solid #eac878;padding:14px;margin:0 0 16px;border-radius:12px;line-height:1.5;overflow-wrap:anywhere}

.auth-panel{margin-top:8vh}.auth-mark{width:48px;text-align:center;margin-bottom:22px}.auth-panel input{font-size:26px;letter-spacing:8px}.auth-panel h1{margin-top:14px}.lock-button{display:block;margin:5px 0 0 auto;min-height:30px;padding:4px 0;background:transparent;color:var(--blue);font-size:13px}
@media(max-width:700px){.dates{grid-template-columns:1fr}.dates input{font-size:16px;padding:12px}}

.defect-entry{margin:12px 0;padding:14px;background:white;border:1px solid #dce2ed;border-radius:12px}.defect-entry label{margin-top:12px}
