:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f4f7fa;color:#152f48}*{box-sizing:border-box}body{margin:0}header{background:#102940;color:#fff;padding:12px max(16px,calc((100% - 1100px)/2));display:flex;align-items:center;gap:12px}header img{width:165px;max-height:58px;object-fit:contain;object-position:left;background:#fff;border-radius:6px;padding:3px}.topinfo{flex:1;font-size:13px}main{max-width:1000px;margin:0 auto;padding:22px 15px 70px}h1{font-size:24px}h2{font-size:22px}.muted{color:#64798a}.small{font-size:13px}.hello{padding:12px 0 24px;border-bottom:1px solid #dbe3eb;margin-bottom:18px}.hello small{color:#5b7285}button{cursor:pointer;border-radius:9px;border:0;padding:11px 15px;font-size:15px;font-weight:600}button.primary{background:#128da4;color:#fff}button.ghost{color:#fff;background:#1c4a65}button.link{background:none;color:#087c91;padding:9px 0;text-align:left}button.outline{background:#fff;color:#076c84;border:1px solid #8bbcc9}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile{height:112px;display:flex;justify-content:space-between;align-items:center;text-align:left;background:#fff;color:#18374e;box-shadow:0 3px 12px #20385016;border:1px solid #dce6ee;padding:18px;font-size:18px}.tile span:last-child{color:#158d9a;font-size:23px}.card{background:#fff;border:1px solid #e0e8ee;border-radius:12px;padding:16px;margin:12px 0}.card strong{font-size:17px}.card div{margin:6px 0}.heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.heading h2{margin:8px 0}.loginwrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(140deg,#122f4d,#0d728c)}.loginbox{width:min(100%,430px);border-radius:20px;padding:25px;background:#fff;box-shadow:0 14px 46px #041a28a6}.loginbox img{width:100%;max-height:150px;object-fit:contain}form{background:#fff;border:1px solid #e0e8ee;padding:20px;border-radius:12px;display:grid;gap:13px}label{display:grid;gap:5px;font-weight:600;font-size:14px}input,select,textarea{width:100%;padding:12px 11px;font-size:16px;border-radius:8px;border:1px solid #c2d1db;color:#143147;background:#fff}textarea{min-height:85px}form button.primary{min-height:46px}.message{background:#e6f7f2;border:1px solid #a9d7cb;border-radius:8px;padding:12px;color:#165944}.message.bad{background:#fff0ed;border-color:#f0c4bb;color:#9b2929}[hidden]{display:none!important}@media(max-width:520px){.grid{grid-template-columns:1fr 1fr}.tile{height:96px;padding:10px;font-size:15px}header img{width:110px}.topinfo{font-size:11px}.heading h2{font-size:19px}.heading button{font-size:12px}main{padding:12px}header{padding:10px}}.equipment-open{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;background:transparent;color:#143147;padding:3px 0 8px;border-radius:0}.equipment-open strong{font-size:17px}.equipment-open .chevron{font-size:24px;color:#128da4}.equipment-open:focus-visible{outline:3px solid #128da4;outline-offset:4px}.detailrow{display:grid;grid-template-columns:minmax(115px,36%) 1fr;align-items:start;gap:12px;border-bottom:1px solid #e2eaf0;padding:11px 0;overflow-wrap:anywhere}.detailrow:last-child{border-bottom:0}.detailrow strong{font-size:14px;font-weight:600}.customer-open{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;background:transparent;color:#143147;padding:3px 0 8px;border-radius:0}.customer-open strong{font-size:17px}.customer-open .chevron{font-size:24px;color:#128da4}.customer-open:focus-visible{outline:3px solid #128da4;outline-offset:4px}.dashboard .tile{background:linear-gradient(135deg,#126c9b,#07527c);color:#fff;border:1px solid #115e88;box-shadow:0 4px 13px #082c4a30;min-height:122px;height:auto;padding:18px;gap:8px;transition:filter .15s,transform .15s}.dashboard .tile:hover{filter:brightness(1.08)}.dashboard .tile:active{transform:scale(.985)}.dashboard .tile:focus-visible{outline:3px solid #08b1c2;outline-offset:3px}.dashboard .tile-content{display:flex;flex-direction:column;align-items:flex-start;gap:11px;min-width:0}.dashboard .tile-icon{display:inline-flex;align-items:center;justify-content:center;color:#d4f6ff;width:32px;height:32px}.dashboard .tile-icon svg{height:30px;width:30px;display:block}.dashboard .tile-label{display:block;text-align:left;color:#fff;font-size:16px;line-height:1.25;font-weight:700}.dashboard .tile .tile-arrow{font-size:28px;line-height:1;color:#a7ebf3;align-self:center}@media(max-width:520px){.dashboard .tile{min-height:122px;padding:14px 12px}.dashboard .tile-label{font-size:14px}.dashboard .tile-icon svg{width:27px;height:27px}.dashboard .tile .tile-arrow{font-size:22px}}.photos-panel{margin-top:22px;padding:18px;border:1px solid #dce7ed;border-radius:14px}.photos-panel input[type=file]{width:100%;margin:8px 0 14px}.photos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px;margin-top:14px}.photo-thumb{display:block;color:#134663;text-decoration:none;border:1px solid #d4e2e8;border-radius:10px;overflow:hidden;background:#f5f8fa}.photo-thumb img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.photo-thumb span{display:block;padding:6px;text-align:center;font-size:12px}.photo-tile{border:1px solid #d4e2e8;border-radius:11px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.photo-tile .photo-thumb{border:0;border-radius:0;flex:1}.photo-delete{display:block;width:100%;background:#fff2ef;color:#a62c27;border-top:1px solid #f0c4ba;border-radius:0;padding:10px 7px;font-size:13px;font-weight:700;min-height:42px}.photo-delete:focus-visible{outline:3px solid #127a96;outline-offset:-3px}.photo-delete:hover{background:#ffe5de}.photo-delete:disabled{opacity:.6;cursor:wait}.gallery-build-tag{display:block;color:#526a78;font-size:11px;font-weight:600;margin-top:4px}.photos-grid .photo-tile{min-width:0;border:1px solid #cbdce3;box-shadow:0 1px 5px #00000012}.photos-grid .photo-delete{display:block!important;position:relative!important;visibility:visible!important;opacity:1;width:100%;background:#b42318;color:#fff;border:0;border-top:1px solid #8e1c16;border-radius:0;padding:11px 5px;min-height:44px;font-size:13px;font-weight:700;text-align:center;cursor:pointer}.photos-grid .photo-delete:hover{background:#921a13;color:#fff}.photos-grid .photo-delete:focus-visible{outline:3px solid #118ea7;outline-offset:-3px}.photos-grid .photo-delete:disabled{opacity:.5;cursor:wait}.member-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid #dde6eb}.member-row:last-child{border-bottom:none}.member-info{min-width:0;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}.member-info strong{font-size:16px;color:#173b52}.member-info span{font-size:13px;color:#536d80}.member-info small{font-size:12px;color:#087b96;font-weight:700}.member-actions{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.member-actions label{min-width:140px;font-size:12px}.member-actions select{font-size:14px;padding:9px}.member-actions button{font-size:13px;padding:10px 11px}button.danger-button{background:#b42318;color:#fff}button.danger-button:hover{background:#922016}.member-actions button:disabled{opacity:.4;cursor:not-allowed}.invite-result{background:#e8f6f5;border:1px solid #a3d6d1;padding:15px;margin-top:13px;border-radius:10px;overflow-wrap:anywhere}.invite-result input{font-size:13px}@media(max-width:640px){.member-row{align-items:stretch;flex-direction:column}.member-actions{width:100%}.member-actions label{flex:1}.member-actions button{align-self:end}}#invite-error:not(:empty){margin-top:12px}#invite-error .message{margin:0}#invite-form button:disabled{opacity:.7;cursor:wait}#invite-result{margin-top:10px}#invite-link{overflow-wrap:anywhere}.report-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:16px 0}.report-actions .report-back{background:#173e59;color:#fff;border-color:#173e59}.report-paper{background:#fff;border:1px solid #d4e0e8;border-radius:12px;padding:26px;overflow-x:auto;color:#172c3b;font:13px Arial,sans-serif;max-width:100%}.report-paper h1{color:#123d5a;font-size:25px}.report-paper h2{font-size:20px;color:#147a9b;border-bottom:2px solid #147a9b;padding-bottom:8px}.report-paper h3{margin-bottom:6px}.report-paper table{width:100%;border-collapse:collapse;font-size:11px;margin:12px 0 22px}.report-paper th,.report-paper td{border:1px solid #c8d5dc;padding:7px;text-align:left;vertical-align:top;overflow-wrap:anywhere}.report-paper th{background:#e9f4f8}.report-paper .unit,.report-paper .visit{break-inside:avoid;margin:20px 0}.report-paper .photos{display:flex;gap:10px;flex-wrap:wrap}.report-paper .photos figure{margin:4px 0;max-width:210px}.report-paper .photos img{max-width:210px;max-height:180px;object-fit:contain;border:1px solid #ccd}.report-paper .photos figcaption{font-size:10px;color:#53636a}@media(max-width:600px){.report-paper{padding:12px}.report-actions button{flex:1 1 46%;font-size:13px;padding:12px 8px}}@media print{@page{size:letter;margin:.55in}body,html{background:#fff!important}body *{visibility:hidden!important}.report-paper,.report-paper *{visibility:visible!important}.report-paper{position:absolute;left:0;top:0;width:100%;max-width:none!important;overflow:visible!important;border:none!important;border-radius:0!important;padding:0!important;margin:0!important;box-shadow:none!important}.report-paper .photos img{max-height:160px}.report-paper table{break-inside:auto}.report-paper tr{break-inside:avoid}}
