.service-main{max-width:1120px;margin:36px auto;padding:0 24px 70px}.service-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:30px 0}.service-hero h1{margin:0}.service-hero strong{font-size:30px}.service-card{background:#fff;border:1px solid #d7dfe3;border-radius:14px;padding:26px;margin:20px 0}.service-card h2{font-size:20px;margin:0 0 16px}.service-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.service-fields label,.signature-fields label{display:grid;gap:6px;font-size:14px;font-weight:600}.service-fields .wide{grid-column:1/-1}.service-fields input,.service-fields select,.service-fields textarea,.signature-fields input{width:100%;font:inherit;padding:11px;border:1px solid #bbc6ce;border-radius:7px;color:#182a34;background:#fff;box-sizing:border-box}.service-fields textarea{min-height:90px;resize:vertical}.service-fields input:disabled,.service-fields textarea:disabled{background:#f3f5f7;color:#394d5c;opacity:1}fieldset{border:0;margin:0;padding:0;min-width:0}.service-notice{padding:14px 18px;background:#edf6f7;border-left:4px solid #0d7a82;line-height:1.6}.logo-controls{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:20px}.logo-controls img{width:80px;height:70px;object-fit:contain}.service-item{padding:20px;background:#fafbfc;border:1px solid #d9e1e7;border-radius:10px;margin-bottom:16px}.item-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.item-heading h3{margin:0}.service-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}.media-pickers{display:flex;gap:24px;flex-wrap:wrap}.media-pickers label{display:grid;gap:10px}.service-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.service-gallery figure{margin:0;border:1px solid #d6dce1;border-radius:8px;padding:10px}.service-gallery img{width:100%;height:150px;object-fit:contain}.service-gallery textarea{width:100%;min-height:50px;box-sizing:border-box;font:inherit}.service-gallery figcaption{word-break:break-word;font-size:13px}.signature-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.signature-fields article{display:grid;gap:12px;min-width:0}.signature-fields img{height:75px;width:100%;object-fit:contain}.signature-fields input[type=file]{font-size:12px}.service-small-dialog{max-width:600px;width:calc(100% - 60px);border:0;border-radius:14px;padding:26px}.service-small-dialog::backdrop,.service-report-dialog::backdrop{background:#17232acc}#signatureCanvas{width:100%;height:auto;background:#fff;border:1px solid #99a8b5;touch-action:none} .type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px 0}.type-card{background:#fff;padding:28px;border:1px solid #ced9e1;border-radius:12px;color:#173343;text-decoration:none}.type-card:hover{border-color:#147b85;box-shadow:0 5px 18px #1b3c4a15}.type-card>b{color:#0d777e;font-size:14px;letter-spacing:1px}.type-card p{line-height:1.7;color:#546774}.type-card h2{font-size:21px}
.service-report-dialog{padding:0;border:0;width:calc(100vw - 24px);max-width:none;height:calc(100dvh - 24px);max-height:none;border-radius:10px;background:#d9dfe3;overflow:hidden}.service-report-dialog[open]{display:flex;flex-direction:column}.service-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 22px;background:#10232d;color:#fff;flex-shrink:0}.service-toolbar strong{margin-right:auto}#reportViewport{overflow:auto;flex:1;min-height:0}#serviceReportRoot{display:flex;flex-direction:column;align-items:center;gap:20px;width:max-content;min-width:100%;padding:20px;box-sizing:border-box}.service-report-dialog.exporting{position:fixed;left:-100000px;top:0;width:900px;height:1200px}.service-page{width:210mm;height:297mm;box-sizing:border-box;background:#fff;color:#111;padding:12mm 12mm 16mm;position:relative;font-family:Tahoma,'Noto Sans Thai',Arial,sans-serif;font-size:3.5mm;line-height:1.5;flex:none}.service-page h2{font-size:5mm;text-align:center;margin:0 0 5mm}.service-page h3{font-size:4mm;text-align:center;margin:0 0 4mm}.page-body{height:248mm;overflow:visible}.service-page footer{position:absolute;bottom:7mm;left:12mm;right:12mm;display:flex;justify-content:space-between;font-size:2.7mm;color:#666}.report-meta{display:grid;grid-template-columns:34mm 1fr;gap:3mm;margin:2mm 0;white-space:pre-wrap;overflow-wrap:anywhere}.report-meta>strong{font-weight:600}.service-page .report-table{border-collapse:collapse;width:100%;min-width:0;table-layout:fixed;margin:3mm 0}.service-page .report-table th,.service-page .report-table td{font-size:inherit;border:0.25mm solid #68717a;padding:2.5mm;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}.report-table th{text-align:center;background:#edf0f2;font-weight:600}.report-table .number{width:14mm;text-align:center;padding-left:1mm;padding-right:1mm;word-break:keep-all;overflow-wrap:normal}.report-table .place{width:35mm}.report-table .check{width:14mm;text-align:center}.report-table .service-check{width:25mm;text-align:center}.report-table strong{font-weight:600}.report-row-note{margin-top:2mm}.report-checkbox{display:inline-block;border:0.3mm solid #222;width:4mm;height:4mm;line-height:3.8mm;font-size:3.4mm;text-align:center;vertical-align:middle}.report-checkbox.checked{color:#006b72;font-weight:bold}.report-result{padding:3mm 0;border-bottom:0.25mm solid #aaa;white-space:pre-wrap;overflow-wrap:anywhere}.report-signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:4mm;margin-top:6mm}.report-signature{text-align:center;font-size:3mm;overflow-wrap:anywhere}.report-signature img{display:block;width:100%;height:18mm;object-fit:contain}.signature-blank{height:18mm}.signature-line{border-bottom:0.25mm dotted #555;min-height:7mm}.report-logo{display:block;margin:0 auto 2mm;width:24mm;height:20mm;object-fit:contain}.report-logo-label{text-align:center;font-size:3.2mm;margin:0 0 4mm}.service-time-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:8mm;margin-bottom:5mm}.report-comment{white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:0.25mm solid #888;min-height:10mm;margin-top:3mm}.service-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:5mm}.service-photo-grid figure{margin:0;padding:2mm;border:0.2mm solid #ccd2d6;height:72mm;display:flex;flex-direction:column}.service-photo-grid img{width:100%;height:59mm;object-fit:contain}.service-photo-grid figcaption{font-size:2.8mm;overflow-wrap:anywhere;max-height:10mm;overflow:hidden}.report-attachment{width:100%;height:233mm;object-fit:contain}.report-rule{border-bottom:0.25mm solid #777;height:9mm}
@media(max-width:700px){.service-main{padding:0 14px 35px;margin-top:20px}.service-hero{align-items:flex-start}.service-card{padding:18px}.service-fields,.signature-fields,.type-grid{grid-template-columns:1fr}.service-gallery{grid-template-columns:repeat(2,1fr)}.service-fields .wide{grid-column:auto}.dashboard-header{align-items:flex-start}.dashboard-header nav{flex-wrap:wrap;gap:6px}.service-toolbar{padding:10px}.service-toolbar strong{width:100%}.service-hero h1{font-size:25px}}

.report-image-frame{display:flex;align-items:center;justify-content:center;flex:none;max-width:100%;margin-left:auto;margin-right:auto}

.service-page .report-table th.number{white-space:nowrap;font-size:3mm}
