*{box-sizing:border-box} :root{color-scheme:light;font:16px/1.45 system-ui,-apple-system,'Segoe UI',sans-serif;color:#192d40;background:#f4f7fa} body{margin:0} button,input,textarea,select{font:inherit} button{min-height:44px;min-width:44px;padding:10px 16px;border:0;border-radius:10px;background:#254061;color:white;font-weight:650;cursor:pointer} button:hover{filter:brightness(1.12)} button:disabled{opacity:.48;cursor:not-allowed} button.ghost{background:#e7edf3;color:#17375e} button.danger{background:#9e2929} button.primary{background:#166082} input,textarea,select{width:100%;min-height:44px;padding:10px 12px;border:1.5px solid #b2c5d6;border-radius:9px;background:#fff;color:#192d40} textarea{resize:vertical;min-height:95px} input[type=checkbox],input[type=radio]{width:auto;min-width:22px;min-height:22px} input[type=file]{padding:9px} label{font-weight:650;display:block;margin:10px 0 5px} .app-header{background:#17375e;color:white;padding:16px max(18px,calc((100vw - 970px)/2));display:flex;align-items:center;justify-content:space-between;gap:10px} .app-header h1{font-size:1.4rem;margin:0}.app-header small{letter-spacing:.13em;font-weight:750;color:#b8d2e8} main{max-width:970px;margin:0 auto;padding:20px 16px 110px}.card{background:white;border:1px solid #d7e2eb;border-radius:14px;padding:20px;margin:14px 0;box-shadow:0 3px 16px #17375e0a}.card h2,.card h3{margin:0 0 12px;color:#17375e}.card h2{font-size:1.22rem}.card h3{font-size:1.05rem}.row{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.row>*{flex:1 1 160px}.row button{flex:0 0 auto}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}.stack{display:grid;gap:12px}.muted{color:#597184}.small{font-size:.86rem}.badge{display:inline-block;border-radius:30px;padding:2px 10px;background:#e7edf4;color:#17375e;font-size:.8rem;font-weight:700}.badge.closed{background:#d8f1e0;color:#185834}.alert{border-left:5px solid #b23b2f;background:#fff1ef;padding:10px 14px;border-radius:6px;margin:8px 0}.alert.warn{border-color:#d29719;background:#fff9e9}.notice{padding:12px 16px;border:1px solid #e4c981;border-radius:8px;background:#fff9e5}.subtle{background:#eef4f8;border-radius:8px;padding:12px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.hidden{display:none!important}.footbar{position:fixed;z-index:8;bottom:0;left:0;right:0;background:#fff;box-shadow:0 -3px 22px #123b5c25;padding:12px max(16px,calc((100vw - 970px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.footbar button{min-width:160px}.footbar .small{flex:1}.person,.photo-item,.equipment-item{padding:10px;border:1px solid #d4e0e9;border-radius:9px;margin:8px 0;background:#fbfdff}.person input,.person select{margin:4px 0}.person .row>*{min-width:120px}.photo-img{max-width:100%;max-height:55vh;object-fit:contain;border-radius:9px;background:#e9eef2}.photo-stage{text-align:center;position:fixed;inset:0;z-index:15;background:#f4f7fa;overflow:auto;margin:0!important;border-radius:0!important;display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:24px max(16px,calc((100vw - 680px)/2))!important}.photo-stage .photo-img{width:100%;max-height:min(62vh,650px)}.photo-stage .actions{justify-content:center}.photo-stage label{text-align:left}.photo-stage textarea{text-align:left}.photo-thumb{width:110px;height:90px;object-fit:cover;border-radius:7px}.photo-item{display:flex;gap:12px;align-items:center}.photo-item div{flex:1}.modal-overlay{position:fixed;inset:0;background:#102b44bb;z-index:10;display:grid;place-items:center;padding:12px}.modal-overlay>.card{width:min(640px,100%);max-height:94vh;overflow:auto;margin:0} iframe.pdf-preview{width:100%;height:min(65vh,760px);border:1px solid #cad8e3;border-radius:8px} #toast:not(:empty){position:fixed;z-index:30;right:16px;bottom:95px;background:#17375e;color:white;padding:12px 18px;border-radius:10px;box-shadow:0 4px 25px #102f4d44} .update{position:fixed;top:8px;left:50%;transform:translateX(-50%);z-index:20;background:#fff9e5;padding:10px 16px;border:1px solid #d29719;border-radius:10px} .tag{color:#17375e;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em} .dropzone.drag{outline:3px dashed #376092;background:#edf5fa} @media(max-width:500px){main{padding:14px 12px 110px}.card{padding:15px}.app-header{padding:12px}.app-header h1{font-size:1.15rem}.row>button{flex:1 1 100%}.footbar button{flex:1}.photo-thumb{width:70px;height:70px}}
