/* 개발자 안내: 설비 검사 관리의 등록/목록 화면. 공개 QR 입력 화면은 safety-portal.css가 담당한다. */
.sf-page{display:flex;flex-direction:column;align-items:stretch;gap:24px;color:#222;font-family:inherit;font-size:14px;line-height:1.4;min-width:900px}.sf-page *,.sf-modal *{box-sizing:border-box}.sf-page [hidden],.sf-modal [hidden]{display:none!important}.sf-page button,.sf-modal button{font-family:inherit;box-shadow:none;cursor:pointer}.sf-btn{display:inline-flex;justify-content:center;align-items:center;gap:5px;min-width:64px;height:32px;padding:0 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:30px;border:1px solid #ccc;border-radius:6px;background:#fff;color:#222;text-decoration:none;white-space:nowrap}.sf-btn.green{background:#941B0C;border-color:#941B0C;color:white}.sf-btn.navy{background:#220901;border-color:#220901;color:white}.sf-btn.red{background:#d92d20;border-color:#d92d20;color:white}.sf-btn.large{height:48px;min-width:124px;padding:0 16px;font-size:16px;font-weight:700}.sf-btn:disabled{cursor:not-allowed;background:#e5e5e5!important;border-color:#ccc!important;color:#b4b4b4!important}.sf-page input,.sf-page select,.sf-modal input,.sf-modal select{font-family:inherit;font-size:14px;font-weight:400;line-height:20px;height:32px;min-height:0;padding:0 12px;border:1px solid #ccc;border-radius:4px;background:#fff;color:#222;box-shadow:none;outline:none}.sf-page input:focus,.sf-modal input:focus{border-color:#941B0C}.sf-page input::placeholder,.sf-modal input::placeholder{color:#cbd5e0}.sf-page input[type=checkbox]{width:16px;height:16px;padding:0;accent-color:#941B0C}.sf-toolbar{display:flex;justify-content:flex-end;gap:8px;margin-top:-8px}.sf-filter{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:24px;padding:16px 24px;border-radius:12px;background:white;box-shadow:0 1px 2px #0000001a}.sf-filter-fields{display:flex;flex-direction:column;gap:16px}.sf-filter-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;min-height:34px}.sf-filter-field{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:15px;font-weight:500;margin:0}.sf-filter-field>input{width:220px}.sf-filter-divider{height:100%;width:1px;background:#e5e5e5}.sf-filter .sf-btn{height:37px}.sf-select{display:inline-block;position:relative;width:200px;font-size:14px;font-weight:400;text-align:left;vertical-align:middle}.sf-select>button,.sf-select>input.sf-combobox{height:32px;min-height:0;width:100%;font:inherit;padding:0 30px 0 12px;border:1px solid #ddd;border-radius:4px;background:white;text-align:left;color:#222}.sf-select:after{content:'';position:absolute;right:12px;top:11px;width:7px;height:7px;transform:rotate(45deg);border-bottom:1.5px solid #888;border-right:1.5px solid #888;pointer-events:none}.sf-options{position:absolute;left:0;top:calc(100% + 3px);z-index:200;min-width:100%;max-height:250px;overflow:auto;margin:0;padding:4px;background:white;border:1px solid #e2e8f0;border-radius:5px;box-shadow:0 4px 10px #0002;list-style:none}.sf-options button{display:block;width:100%;padding:8px 10px;min-height:30px;border:0;background:white;color:#222;text-align:left;white-space:nowrap;font:inherit;font-weight:400}.sf-options button:hover,.sf-options button.selected{background:#f3f6f8;color:#941B0C}.sf-options .sf-no-option{padding:8px 10px;color:#999}.sf-data{display:flex;flex-direction:column;gap:12px;padding:16px 24px;border-radius:12px;background:white;box-shadow:0 1px 2px #0000001a;min-width:0}.sf-data-head{display:flex;align-items:center;justify-content:space-between;width:100%}.sf-total{display:flex;align-items:center;font-size:12px;color:#9c9c9c}.sf-total b{font-weight:400;margin-left:4px;color:#222}.sf-total .sf-select{margin-left:12px;width:130px}.sf-actions{display:flex;align-items:center;gap:8px}.sf-table-scroll{width:100%;overflow:auto}.sf-table{width:100%;border-collapse:collapse;font-family:inherit;font-size:14px;white-space:nowrap;text-align:center;table-layout:auto}.sf-table th{background:#f4f4f7;border-top:1px solid #e6e7f0;border-bottom:1px solid #e6e7f0;padding:12px 8px;font-weight:400;font-size:14px;color:#444;position:relative;line-height:20px}.sf-table th:not(:last-child):after{content:'';position:absolute;right:0;top:15px;width:1px;height:12px;background:#d0d2dc}.sf-table td{padding:14px 8px;border-bottom:1px solid #ebedf0;color:#222;vertical-align:middle;line-height:20px}.sf-table .sf-check{width:44px;padding:10px}.sf-link{color:#941B0C;text-decoration:underline;background:none;border:0;font:inherit;font-weight:400;padding:0;cursor:pointer}.sf-sub{display:block;margin-top:2px;font-size:12px;line-height:17px;color:#9aa1ab}.sf-main{display:block;overflow:hidden;text-overflow:ellipsis;max-width:310px;white-space:nowrap;margin:auto}.sf-badge{display:inline-block;min-width:37px;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600;line-height:16px;letter-spacing:-.36px;background:#e5e5e5;color:#9c9c9c;white-space:nowrap}.sf-badge.completed{background:#FFF3DC;color:#941B0C}.sf-badge.progress{background:#FFF3DC;color:#BC3908}.sf-badge.pending{background:#e5e5e5;color:#666}.sf-badge.request{background:#FFF3DC;color:#621708}.sf-badge.scheduled{background:#FFF3DC;color:#621708}.sf-badge.rejected{background:#fddcdc;color:#f53838}.sf-flow{display:flex;flex-direction:column;gap:1px;color:#6b7280;font-size:12px}.sf-pagination{display:flex;justify-content:center;gap:4px;padding:10px 0}.sf-pagination button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:4px;background:white;font-size:14px;font-weight:400;color:#666}.sf-pagination .active{color:white;background:#941B0C}.sf-pagination button:disabled{color:#c7c7c7;cursor:default}.sf-empty{height:150px;text-align:center;color:#9c9c9c!important}.sf-empty-symbol{display:block;margin:14px auto;width:34px;height:34px;border-radius:50%;background:#e5e5e5;color:white;font:700 28px/34px sans-serif}.sf-heading{display:flex;align-items:center;gap:8px}.sf-heading h1{font-size:32px;line-height:40px;margin:0;font-weight:700}.sf-code{padding:6px 8px;border:0;border-radius:4px;background:#220901;color:white;font-size:14px;line-height:20px;font-weight:700}.sf-card{width:100%;background:white;border-radius:12px;box-shadow:0 1px 2px #0000001a;padding:16px 24px}.sf-card h4{margin:0 0 16px;font-size:20px;line-height:28px;font-weight:500}.sf-form-grid{display:grid;grid-template-columns:200px minmax(0,1fr) 200px minmax(0,1fr);width:100%;border-top:1px solid #e6e7f0}.sf-label{display:flex;align-items:center;padding:14px 16px;border-bottom:1.5px solid #e6e7f0;background:#f4f4f7;font-size:14px;line-height:20px;color:#444}.sf-value{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1.5px solid #e6e7f0;min-height:49px;font-size:14px;line-height:22px;min-width:0}.sf-value.wide{grid-column:span 3}.sf-value input{width:100%;max-width:200px}.sf-value input.wide{max-width:none}.sf-value .sf-readonly{border:0;background:white;padding:0;max-width:none;width:100%;color:#222;font-size:14px;height:32px}.sf-label .sf-required{display:inline-block;width:4px;height:4px;background:#f64f4f;border-radius:50%;margin:0 0 8px 3px}.sf-detail-footer{display:flex;justify-content:space-between;margin-top:16px;gap:8px}.sf-error{padding:14px;color:#b42318;background:#fff2f0;border:1px solid #fecdca;border-radius:5px;font-size:14px}.sf-modal{width:calc(100% - 40px);max-width:900px;max-height:90dvh;padding:24px;border:0;border-radius:16px;background:white;box-shadow:0 3px 10px #071c3c0d;color:#222;overflow:hidden;font-family:inherit}.sf-modal.wide{max-width:1120px}.sf-modal.xwide{max-width:1400px}.sf-modal::backdrop{background:#0008}.sf-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:8px}.sf-modal-head h2{font-size:20px;line-height:28px;font-weight:700;margin:0}.sf-close{background:none;border:0;padding:0;color:#bfc6ce;font-size:28px;line-height:24px;min-height:0}.sf-modal-body{display:flex;flex-direction:column;align-items:stretch;gap:16px;width:100%;max-height:calc(90dvh - 145px);overflow:auto}.sf-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:24px}.sf-modal-footer .sf-btn{height:38px;padding:8px 16px;line-height:20px}.sf-modal .sf-form-grid{grid-template-columns:140px minmax(0,1fr) 140px minmax(0,1fr)}.sf-modal .sf-value input{max-width:none}.sf-modal .sf-desc{font-size:13px;line-height:1.6;color:#667085;margin:0}.sf-modal .sf-table th,.sf-modal .sf-table td{padding:12px;text-align:left;border-bottom:1px solid #f1f5f9;white-space:normal;color:#111827}.sf-modal .sf-table th{background:#f8fafc;border-bottom:1px solid #e5e7eb;font-weight:700;white-space:nowrap}.sf-modal .sf-table th:after{display:none}.sf-tabs{display:flex;align-items:center;gap:6px;width:100%;border-bottom:1px solid #dfe3ea}.sf-tabs button{min-width:92px;padding:10px 16px;border:1px solid #cfd6e2;border-bottom-color:#dfe3ea;border-radius:10px 10px 0 0;margin-bottom:-1px;background:#eef2f7;font-family:inherit;font-size:14px;font-weight:600;line-height:20px;color:#667085}.sf-tabs button.active{background:white;border-bottom-color:white;color:#941B0C}.sf-tab-body{display:flex;flex-direction:column;gap:16px}.sf-modal h3{margin:0;font-size:15px;line-height:22px;font-weight:700}.sf-schedule{display:flex;flex-direction:column;gap:10px}.sf-schedule-row{display:flex;align-items:center;gap:8px;padding:12px;background:#fafbfd;border:1px solid #e6e7f0;border-radius:8px}.sf-schedule-row input{width:200px}.sf-preview-tabs{display:flex;width:max-content;border-bottom:1px solid #e5e7eb}.sf-preview-tabs button{padding:12px 16px;border:0;border-right:1px solid #e5e7eb;background:#f9fafb;font-size:14px;font-weight:500;line-height:20px;color:#4b5563}.sf-preview-tabs button.active{background:#f3f4f6;color:#941B0C;font-weight:600}.sf-preview-tabs button.danger{color:#dc2626}.sf-file-name{font-size:13px;color:#4b5563;max-width:40ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sf-upload-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;width:100%;min-width:0}.sf-upload-row input[type=file]{display:none}.sf-notice{padding:32px 12px;text-align:center;color:#667085}.sf-modal .sf-contact-actions{display:flex;justify-content:flex-end;gap:8px}.sf-card-collapse{display:flex;justify-content:space-between;align-items:center}.sf-card-collapse button{background:none;border:0;color:#777}.sf-card-collapse h4{margin-bottom:16px}@media(max-width:1200px){.sf-form-grid{grid-template-columns:160px minmax(0,1fr) 160px minmax(0,1fr)}.sf-filter{gap:16px}.sf-filter-row{gap:16px}.sf-select{width:170px}.sf-filter-field{font-size:14px}.sf-page{min-width:780px}}

.sf-management-tabs{display:flex;align-items:center;gap:8px;border-bottom:1px solid #dfe3e6;margin-bottom:24px;padding-bottom:12px}.sf-management-tabs .sf-btn{min-width:138px;min-height:40px;padding:0 20px;font-size:16px;font-weight:600;border-color:#ddd;color:#220901;background:#fff}.sf-management-tabs .sf-btn.active{background:#941B0C;border-color:#941B0C;color:#fff}.sf-management-tabs .sf-btn:focus-visible{outline:3px solid #F6AA1C;outline-offset:3px}.sf-management-panel{min-width:0}.sf-management-panel[hidden]{display:none!important}.sf-management-panel:focus-visible{outline:2px solid #BC3908;outline-offset:4px}
.sf-table[data-order-table]{table-layout:fixed;min-width:1420px}.sf-table[data-order-table] th:first-child{width:2.82%}.sf-table[data-order-table] th:nth-child(5){width:12.68%}.sf-table[data-order-table] th:not(:first-child):not(:nth-child(5)){width:8.45%}.sf-table[data-order-table] td{overflow:hidden;text-overflow:ellipsis}.sf-table[data-site-table]{table-layout:fixed;min-width:1120px}.sf-table[data-site-table] th:nth-child(2),.sf-table[data-site-table] th:nth-child(3){width:19%}.sf-table[data-site-table] td{overflow:hidden;text-overflow:ellipsis}
.sf-page input:not([type=checkbox]):not([type=radio]):not([type=file]),.sf-modal input:not([type=checkbox]):not([type=radio]):not([type=file]){height:32px;min-height:0;padding:0 12px;border:1px solid #ccc;border-radius:4px;color:#222;background:white;box-shadow:none}.sf-page .sf-value input.sf-readonly,.sf-modal .sf-value input.sf-readonly{border:0!important;padding:0!important;background:white!important;box-shadow:none!important}.sf-page .sf-select input.sf-combobox{padding-right:30px}.sf-page .sf-table th{text-align:center}.sf-page .sf-table tr:last-child td{border-bottom:1px solid #ebedf0}.sf-page input[type=hidden],.sf-modal input[type=hidden]{display:none!important}
.sf-filter-field>.ecm-multi{width:200px;min-width:170px;font-weight:400}
.sf-filter-field>.ecm-multi[data-ecm-multi=cpo]{width:240px}
.sf-filter-field .ecm-multi-option{white-space:normal}
.sf-filter-field .ecm-multi-search{width:100%}
@media(max-width:1200px){.sf-filter-field>.ecm-multi{width:170px}.sf-filter-field>.ecm-multi[data-ecm-multi=cpo]{width:220px}}
/* QR scheduling and received requests share the existing facility palette. */
.sf-qr{display:grid;grid-template-columns:260px 1fr;gap:18px;align-items:center;margin-top:16px}.sf-qr img{max-width:100%;height:auto;background:white}.sf-qr input{width:100%;font-size:13px;margin:8px 0}.sf-notice{background:#fff4dc;border:1px solid #f0d4a5;border-radius:5px;padding:10px 12px;line-height:1.6}.sf-review-check{display:flex;align-items:center;gap:9px;margin:14px 0}.sf-review-check input{width:20px;height:20px}.sf-received-table{overflow:auto}.sf-received-table table{min-width:1100px}.sf-qr .sf-actions{flex-wrap:wrap}.sf-toolbar{flex-wrap:wrap;gap:8px}@media(max-width:720px){.sf-qr{grid-template-columns:1fr}.sf-qr img{margin:auto}.sf-qr .sf-actions{justify-content:flex-start}}
