/* Shared layout for the sketch-based recruitment and customer workspaces. */
.sketch-page-head h1{font-size:26px;color:#102d55}
.sketch-panel{border-color:#cbdcf2;box-shadow:0 4px 18px #124c9510;min-width:0;max-width:100%}
.sketch-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px;padding:20px;background:linear-gradient(120deg,#f3f8ff,#fff);border-bottom:1px solid #d4e3f6}
.sketch-filter .field{font-size:12px;color:#1c3e6b;min-width:0}
.sketch-filter .field input,.sketch-filter .field select{font-size:13px;min-width:0;min-height:39px;background:#fff;border-color:#c4d6ee}
.sketch-filter-actions{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}
.sketch-filter-actions button{min-height:39px;font-size:12px}
.sketch-filter>.sketch-note{grid-column:1/-1;margin:0;font-size:11px}
.sketch-pay-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;max-width:780px}
.sketch-pay-filters>.sketch-note{grid-column:1/-1;margin:0;font-size:11px}
@media(max-width:600px){.sketch-pay-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.sketch-pay-filters>.field:first-child{grid-column:1/-1}}
.sketch-customers-table+.detail-panel .notice{margin-top:12px}
.sketch-customers-table+.detail-panel .sketch-detail-copy{display:block}
.sketch-selection-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 20px;background:#fff;border-bottom:1px solid #d6e4f5;font-size:12px;color:#315174}
.sketch-selection-bar b{color:#075ece}
.sketch-selection-bar .actions{gap:7px}
.sketch-selection-bar .tiny{padding:6px 9px;background:#f5f9ff;border-color:#c9dcf5;color:#124d98}
.sketch-table .table-scroll{max-width:100%;overflow:auto}
.sketch-table table{font-size:12px}
.sketch-jobs-table{min-width:0;max-width:100%;container-type:inline-size}
.sketch-jobs-table .table-scroll{width:100%;overflow:visible}
.sketch-jobs-table table{width:100%;min-width:0;table-layout:fixed;white-space:normal}
.sketch-jobs-table [data-job-row]{cursor:pointer}
.sketch-jobs-table [data-job-row]:hover{background:#edf5ff}
.sketch-jobs-table .tiny{white-space:normal;padding:6px;max-width:100%;overflow-wrap:anywhere}
.sketch-jobs-table .sketch-share-job{color:#075ece;background:#eef6ff;border-color:#a8c9f5;font-weight:700}
.sketch-jobs-table .sketch-share-job:hover{color:#fff;background:#1260e8;border-color:#1260e8}
.sketch-job-factory{white-space:normal;overflow-wrap:anywhere;line-height:1.65}
.sketch-jobs-table .sketch-job-notes{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;color:#294766}
.sketch-jobs-table td.sketch-job-updated{font-variant-numeric:tabular-nums;color:#111}
.sketch-jobs-table td.sketch-job-updated.is-today{color:#c62828}
.sketch-job-sort-note{margin:0;padding:10px 20px;color:#34577f;background:#f5f9ff;border-bottom:1px solid #d6e4f5;font-size:12px;line-height:1.65}
.sketch-customers-table table{min-width:1690px}
.sketch-retention-rule{margin:0 0 16px}
.sketch-retention-cell{min-width:215px}
.sketch-retention-countdown{display:inline-block;font-weight:700;font-size:12px;color:#075ece;font-variant-numeric:tabular-nums;white-space:nowrap}
.sketch-retention-countdown.is-due{color:#a33d19}
.sketch-retention-public{font-size:12px;color:#456586}
.sketch-customers-table td .sketch-retention-deadline{font-size:10px;color:#526d8e}
.sketch-customers-table .sketch-customer-notes{width:260px;min-width:200px;max-width:300px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;color:#294766}
.sketch-table th{font-weight:700;color:#204c82;background:#e8f2ff;padding:12px;border-right:1px solid #d8e6f7}
.sketch-table td{padding:13px 12px;color:#163151;border-right:1px solid #e5edf8;vertical-align:middle}
.sketch-table th:last-child,.sketch-table td:last-child{border-right:0}
.sketch-table td small{font-size:11px;line-height:1.65;color:#425e80;margin-top:3px}
.sketch-table input[type=checkbox]{width:16px;height:16px;accent-color:#1260e8;vertical-align:middle;cursor:pointer}
.sketch-table input[type=checkbox]:disabled{cursor:not-allowed}
.sketch-table tr.selected td{background:#e4f0ff}
.sketch-table tr.selected td:first-child{box-shadow:inset 3px 0 #1260e8}
.sketch-table .badge{margin:2px 3px 2px 0;font-size:10px;padding:2px 6px}
.sketch-row-select{font-weight:700;text-align:left;white-space:normal;max-width:185px;line-height:1.55}
.sketch-cell-wrap{white-space:normal;min-width:140px;max-width:270px;overflow-wrap:anywhere;line-height:1.65}
.sketch-pay{font-variant-numeric:tabular-nums;color:#075ece}
/* Keep all recruitment fields visible; narrow containers use labelled rows. */
.sketch-jobs-table th,.sketch-jobs-table td{min-width:0;max-width:none;padding:10px 6px;overflow-wrap:anywhere;white-space:normal}
.sketch-jobs-table th:nth-child(1){width:3%}
.sketch-jobs-table th:nth-child(2){width:4%}
.sketch-jobs-table th:nth-child(3){width:5%}
.sketch-jobs-table th:nth-child(4){width:4%}
.sketch-jobs-table th:nth-child(5){width:5%}
.sketch-jobs-table th:nth-child(6){width:9%}
.sketch-jobs-table th:nth-child(7){width:7%}
.sketch-jobs-table th:nth-child(8){width:5%}
.sketch-jobs-table th:nth-child(9){width:5%}
.sketch-jobs-table th:nth-child(10){width:8%}
.sketch-jobs-table th:nth-child(11){width:4%}
.sketch-jobs-table th:nth-child(12){width:8%}
.sketch-jobs-table th:nth-child(13){width:10%}
.sketch-jobs-table th:nth-child(14){width:15%}
.sketch-jobs-table th:nth-child(15){width:8%}
.sketch-jobs-table .badge{white-space:normal;margin-right:0;padding:2px 4px;max-width:100%}
.sketch-jobs-table .sketch-row-select{max-width:100%;overflow-wrap:anywhere}
@container(max-width:1100px){
 .sketch-jobs-table table,.sketch-jobs-table thead,.sketch-jobs-table tbody{display:block}
 .sketch-jobs-table thead tr{display:block;background:#e8f2ff}
 .sketch-jobs-table th{display:none}
 .sketch-jobs-table th:first-child{display:flex;width:100%;align-items:center;gap:9px;border:0;padding:12px 16px}
 .sketch-jobs-table th:first-child::after{content:'选择本页岗位';font-weight:500}
 .sketch-jobs-table tbody{padding:12px;background:#f5f9ff}
 .sketch-jobs-table [data-job-row]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #cbdcf2;border-radius:8px;background:white;overflow:hidden;margin-bottom:12px}
 .sketch-jobs-table [data-job-row]:last-child{margin-bottom:0}
 .sketch-jobs-table td{display:block;padding:10px 12px;font-size:13px;line-height:1.65}
 .sketch-jobs-table td::before{content:attr(data-label);display:block;font-size:11px;font-weight:500;color:#42638b;margin-bottom:4px;white-space:normal}
 .sketch-jobs-table td:nth-child(6),.sketch-jobs-table td:nth-child(10),.sketch-jobs-table td:nth-child(12),.sketch-jobs-table td:nth-child(13){grid-column:span 2}
 .sketch-jobs-table td:nth-child(14){grid-column:1/-1}
 .sketch-jobs-table td:nth-child(15){grid-column:1/-1}
 .sketch-jobs-table .badge{font-size:11px;margin-right:5px}
}
@container(max-width:550px){
 .sketch-jobs-table [data-job-row]{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sketch-jobs-table td{padding:10px}
}
.sketch-pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 20px;background:#fafcff;color:#315174;font-size:12px}
.sketch-pagination .tiny{min-width:52px}
.sketch-pagination button:disabled{color:#7184a0;background:#f1f5fa;border-color:#dce5f1;cursor:not-allowed;opacity:.7}
.sketch-detail{border-color:#cbdcf2;box-shadow:0 4px 18px #124c9509}
.sketch-detail .detail-top{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #e0eaf7}
.sketch-detail .detail-top h2{color:#102d55}
.sketch-detail .detail-top p{font-size:12px;color:#36577b;margin-top:6px}
.sketch-job-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,36%);gap:24px;align-items:start}
.sketch-job-detail-main{min-width:0}
.sketch-job-detail-main .sketch-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.sketch-job-map{min-width:0;border:1px solid #cbdff6;border-radius:12px;overflow:hidden;background:#fff}
.sketch-map-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;background:linear-gradient(110deg,#e9f3ff,#f9fcff);border-bottom:1px solid #d9e7f7}
.sketch-map-head h3{font-size:15px;color:#123b71;margin:0}
.sketch-map-head span{font-size:11px;color:#2d5d92;white-space:nowrap}
.sketch-map-frame{display:block;width:100%;height:420px;border:0;background:#f0f7ff}
.sketch-map-info{padding:16px}
.sketch-map-address{font-size:13px;line-height:1.8;font-weight:600;color:#173651;overflow-wrap:anywhere;margin:0 0 8px}
.sketch-map-hint{font-size:12px;line-height:1.8;color:#425d7c;margin:0}
.sketch-map-link{display:flex;align-items:center;justify-content:center;min-height:42px;margin-top:14px;padding:9px 12px;border:1px solid #b7d6ff;border-radius:7px;background:#edf5ff;color:#075ac5;font-size:13px;font-weight:600;text-decoration:none}
.sketch-map-link:hover{background:#dfedff}
.sketch-map-empty{min-height:190px;display:grid;place-content:center;text-align:center;gap:10px;padding:25px;background:linear-gradient(135deg,#f0f7ff,#fff);color:#214974}
.sketch-map-empty p{font-size:12px;line-height:1.8;margin:0}
@media(max-width:1100px){.sketch-job-detail-layout{grid-template-columns:1fr}.sketch-job-detail-main .sketch-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.sketch-job-detail-layout{gap:18px}.sketch-job-detail-main .sketch-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sketch-id{display:inline-block;font-size:11px;color:#526b8b;margin-left:8px;font-family:monospace;max-width:250px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
.sketch-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #dce8f7;border-radius:8px;overflow:hidden;margin-bottom:20px}
.sketch-facts>div{padding:14px 16px;border-bottom:1px solid #e6edf7;background:#fbfdff;min-width:0}
.sketch-facts dt{font-size:11px;color:#4c6686;margin-bottom:6px}
.sketch-facts dd{font-size:13px;color:#142f51;line-height:1.7;font-weight:600;overflow-wrap:anywhere}
.sketch-detail-copy{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:20px 0}
.sketch-detail-copy h3{font-size:14px;color:#153e70;margin-bottom:8px}
.sketch-detail-copy p{color:#294766;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.sketch-detail-notes{grid-column:1/-1}
.sketch-note{font-size:12px;color:#3a608a;padding:12px 15px;border-left:3px solid #2c80ee;background:#f0f7ff;line-height:1.8;margin-top:16px}
.sketch-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.sketch-section-head h3{font-size:15px;color:#173d6b}
.sketch-section-head p{font-size:12px;color:#4a6381;margin-top:6px}
.sketch-record-table{border:1px solid #dce8f7;border-radius:8px;overflow:hidden}
.sketch-record-table table{min-width:650px}
.sketch-record-table th{font-size:12px;color:#284f7d;font-weight:600}
.sketch-record-table .sketch-cell-wrap{max-width:600px;width:45%}
.sketch-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sketch-media-card{border:1px solid #d5e4f6;border-radius:9px;overflow:hidden;background:#fff}
.sketch-media-card img,.sketch-media-card video{display:block;width:100%;height:180px;object-fit:contain;background:#eef5fd}
.sketch-media-invalid{display:grid;place-items:center;min-height:180px;color:#6b4250;background:#fff1f2;font-size:12px}
.sketch-media-caption{display:flex;align-items:center;justify-content:space-between;padding:12px;gap:10px}
.sketch-media-caption b{font-size:12px;overflow-wrap:anywhere}
.sketch-media-caption small{display:block;font-size:10px;color:#526a86;margin-top:4px}
@media(min-width:1600px){.sketch-filter{grid-template-columns:minmax(180px,1.5fr) repeat(6,minmax(110px,1fr))}.sketch-filter-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:1150px){.sketch-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.sketch-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.sketch-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.sketch-filter{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:12px}.sketch-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.sketch-detail-copy{grid-template-columns:1fr;gap:16px}.sketch-section-head{align-items:flex-start;flex-direction:column}.sketch-filter .field input,.sketch-filter .field select{font-size:16px}.sketch-pagination,.sketch-selection-bar{padding:12px 15px}.sketch-media-grid{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.sketch-filter{grid-template-columns:1fr 1fr;gap:12px 10px}.sketch-filter>.field:first-child{grid-column:1/-1}.sketch-filter-actions{grid-column:1/-1}.sketch-filter-actions button{flex:1}.sketch-facts{grid-template-columns:1fr 1fr}.sketch-facts>div{padding:11px}.sketch-media-grid{grid-template-columns:1fr}.sketch-pagination .actions{gap:6px}.sketch-pagination .tiny{padding:7px 10px}.sketch-id{max-width:180px}}
