/* Technician / field staff registration – shared by the public form and the admin profile */
.staff-section { padding-top: 40px; }
.staff-form { max-width: 980px; margin: 0 auto; }
.staff-sec { border: 1px solid #ececf1; border-radius: 16px; padding: 18px 20px 20px; display: grid; gap: 14px; min-width: 0; margin: 0; }
.staff-sec legend { font-weight: 700; color: var(--ink, #1b1b1f); padding: 0 8px; font-size: 1.02rem; }
.staff-sec legend small { font-weight: 400; color: #8a8a96; font-size: .8rem; }
.staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.staff-grid .wide { grid-column: 1 / -1; }
.staff-skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 14px; }
.staff-form label.check, .staff-sec label.check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.staff-sec label.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #e30613; }
.staff-yn { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-weight: 600; font-size: .9rem; color: var(--ink, #1b1b1f); }
.staff-yn > span { flex: 1 1 100%; }
.staff-yn label { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 500; }
.staff-yn input { width: 18px !important; height: 18px; accent-color: #e30613; }
.staff-decl { font-size: .92rem; line-height: 1.45; }
.staff-note { font-size: .85rem; color: #6b6b78; background: #f6f6f9; border-radius: 10px; padding: 10px 12px; margin: 0; }
.staff-date-box { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink, #1b1b1f); }
.staff-date-box b { font-weight: 500; padding: 12px 0; }
@media (max-width: 640px) { .staff-grid { grid-template-columns: 1fr; } .staff-sec { padding: 14px; } }
/* admin profile */
.staff-admin { background: #fffaf0; border-color: #f3dfa8; }
.asset-row { display: grid; grid-template-columns: 220px 1fr; gap: 10px; align-items: center; }
@media (max-width: 640px) { .asset-row { grid-template-columns: 1fr; } }
.staff-docs { display: flex; flex-wrap: wrap; gap: 10px; }
.staff-doc { width: 130px; border: 1px solid #ececf1; border-radius: 10px; overflow: hidden; font-size: .75rem; background: #fafafc; position: relative; }
.staff-doc a.th { display: grid; place-items: center; height: 90px; background: #f1f1f5; color: #8a8a96; }
.staff-doc img { width: 100%; height: 90px; object-fit: cover; display: block; }
.staff-doc div { padding: 4px 6px; }
.staff-doc form { position: absolute; top: 3px; right: 3px; }
.staff-doc button { border: 0; background: rgba(0,0,0,.55); color: #fff; width: 20px; height: 20px; border-radius: 50%; font-size: .7rem; cursor: pointer; }
.staff-off { display: inline-block; font-size: .68rem; font-weight: 600; background: #f1f1f5; color: #8a8a96; padding: 1px 7px; border-radius: 10px; margin-left: 4px; }
.staff-help { display: block; font-weight: 400; font-size: .78rem; color: #8a8a96; }
.staff-checks { display: grid; gap: 8px; }
.staff-lbl { font-weight: 600; font-size: .9rem; color: var(--ink, #1b1b1f); }
.staff-privacy { background: #f7faff; border-color: #dbe6f5; }
.pp-box { font-size: .88rem; line-height: 1.5; color: #4a4a55; display: grid; gap: 6px; }
.pp-box p { margin: 0; }
.pp-links { margin: 0; font-size: .88rem; }
/* form builder */
.fb-section { border: 1px solid #ececf1; border-radius: 12px; padding: 12px; margin-bottom: 14px; background: #fafafc; }
.fb-sec-title { display: flex !important; align-items: center; gap: 10px; font-weight: 700; color: var(--ink, #1b1b1f); margin-bottom: 10px; }
.fb-sec-title input { flex: 1; max-width: 360px; padding: 7px 10px; border: 1px solid #dcdce4; border-radius: 8px; font: inherit; font-weight: 600; }
.fb-list { display: grid; gap: 8px; min-height: 30px; }
.fb-empty { display: none; border: 2px dashed #dcdce4; border-radius: 10px; padding: 10px; text-align: center; color: #8a8a96; font-size: .82rem; }
.fb-list:not(:has([data-row])) .fb-empty { display: block; }
.fb-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; background: #fff; border: 1px solid #ececf1; border-radius: 10px; padding: 10px 12px; }
.fb-row.off { background: #f6f6f8; }
.fb-row.off .fb-main { opacity: .6; }
.fb-row.dragging { opacity: .4; border-style: dashed; }
.fb-handle { cursor: grab; color: #8a8a96; font-size: 1.1rem; line-height: 2; user-select: none; }
.fb-main { display: grid; gap: 6px; min-width: 0; }
.fb-line { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fb-line input, .fb-main textarea { flex: 1 1 200px; min-width: 0; padding: 7px 10px; border: 1px solid #dcdce4; border-radius: 8px; font: inherit; font-size: .88rem; }
.fb-label { font-weight: 600 !important; }
.fb-type { font-size: .72rem; background: #f1f1f5; color: #6b6b78; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.fb-ctl { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.fb-req { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; white-space: nowrap; }
.fb-move { font: inherit; font-size: .78rem; padding: 3px 6px; border: 1px solid #dcdce4; border-radius: 6px; max-width: 150px; }
.fb-block { display: grid; gap: 6px; font-weight: 600; margin-bottom: 12px; }
.fb-block textarea { padding: 10px; border: 1px solid #dcdce4; border-radius: 8px; font: inherit; font-weight: 400; }
@media (max-width: 700px) { .fb-row { grid-template-columns: 18px minmax(0, 1fr); } .fb-ctl { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; } }
.pp-notice { font-size: .82rem; color: #6b6b78; margin: 0; }
.pp-link { font-weight: 600; text-decoration: underline; }
.pp-ver { font-size: .75em; color: #8a8a96; }
.staff-sec label.pp-ack { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 600; cursor: pointer; }
.staff-sec label.pp-ack input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #e30613; }
