/* Registry presentation only. Data, permissions and geofencing remain server-owned. */
.worksites-shell #main-content { max-width: 1800px; padding: 22px 28px 28px; }
.worksites-shell [data-app-header] { height: 60px; }
.worksites-page { color: #111214; font-size: 14px; --ws-border: #e9eaeb; --ws-blue: #111214; }
.worksites-page :is(a,button,input,select,[tabindex]):focus-visible { outline: 3px solid #b5b6b9; outline-offset: 3px; }
.ws-page-heading,.ws-section-heading { display:flex; align-items:center; gap:18px; min-width:0; }
.ws-page-heading { margin:0 10px 18px; min-height:64px; }
.ws-heading-copy { flex:1; min-width:0; }
.ws-page-heading h1 { font-size:28px; line-height:1.25; font-weight:750; letter-spacing:-.9px; }
.ws-heading-copy p { margin-top:4px; color:#57585c; line-height:1.5; }
.ws-icon-tile { display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; width:52px; height:52px; border-radius:17px; color:#111214; background:#f3f3f4; }
.ws-icon-tile svg { width:27px; height:27px; stroke-width:1.8; }
.ws-page-icon { width:66px; height:66px; border-radius:21px; box-shadow:0 3px 5px #11121409; }
.ws-page-icon svg { width:35px; height:35px; }
.ws-primary,.ws-search-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 20px; border-radius:15px; font-weight:650; white-space:nowrap; transition:background 170ms,box-shadow 170ms,transform 170ms; }
.ws-primary { color:white; background:#111214; box-shadow:0 3px 5px #1112141a,0 8px 16px #1112140c; }
.ws-primary:hover { box-shadow:0 5px 16px #11121435; transform:translateY(-1px); }
.ws-card { min-width:0; padding:22px; border:1px solid var(--ws-border); border-radius:21px; background:#fff; box-shadow:0 2px 3px #11121404,0 5px 10px #11121405,0 12px 30px #11121405; }
.ws-registry { padding-block:20px; }
.ws-filters { display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin-bottom:18px; }
.ws-search,.ws-status-filter { display:flex; align-items:center; min-height:46px; border:1px solid #e5e6e7; border-radius:15px; background:#fff; box-shadow:0 1px 3px #11121405; }
.ws-search { gap:10px; width:358px; padding:0 14px; color:#454649; }
.ws-search input { min-width:0; width:100%; height:44px; border:0; background:transparent; font-size:14px; outline:none; }
.ws-search input::placeholder { color:#57585c; opacity:1; }
.ws-search:focus-within,.ws-status-filter:focus-within { border-color:#b1b2b5; box-shadow:0 0 0 3px #1112141a; }
.ws-status-filter { position:relative; gap:4px; padding-left:16px; font-weight:600; }
.ws-status-filter select { appearance:none; padding:12px 34px 12px 0; border:0; background:transparent; font:inherit; max-width:190px; }
.ws-status-filter > svg { position:absolute; right:13px; pointer-events:none; }
.ws-search-button { background:#111214; color:#fff; border:1px solid #111214; }
.ws-search-button:hover { background:#111214; box-shadow:0 3px 9px #11121421; }
.ws-table-scroll { overflow-x:auto; border-radius:10px; }
.ws-table { border-collapse:collapse; width:100%; text-align:left; font-size:14px; }
.ws-table th { font-size:13px; color:#57585c; font-weight:600; padding:10px 14px; white-space:nowrap; border-bottom:1px solid var(--ws-border); }
.ws-table td { padding:17px 14px; border-bottom:1px solid var(--ws-border); vertical-align:middle; }
.ws-table tbody tr { transition:background 170ms; background:#f9f9fa66; }
.ws-table tbody tr:hover { background:#f4f5f699; }
.ws-site-name { display:flex; align-items:center; gap:13px; min-width:140px; }
.ws-site-name strong { display:block; font-size:16px; font-weight:650; }
.ws-small-icon { width:39px; height:39px; border-radius:13px; }
.ws-small-icon svg { width:25px; height:25px; }
.ws-site-code { display:block; margin-top:2px; color:#57585c; font-size:13px; }
.ws-cell-icon { display:inline-flex; align-items:center; gap:10px; }
.ws-cell-icon > svg { color:#686d76; flex-shrink:0; width:21px; height:21px; stroke-width:1.8; }
.ws-city { display:block; }
.ws-worker-count { font-weight:650; }
.ws-gps-status { white-space:nowrap; }
.ws-status { display:inline-flex; align-items:center; gap:6px; border-radius:20px; padding:4px 10px; font-size:12px; font-weight:550; white-space:nowrap; }
.ws-status > span { width:6px; height:6px; border-radius:50%; background:currentColor; }
.ws-status.is-active { color:#087c43; background:#def5eb; }
.ws-status.is-inactive { color:#5c5e61; background:#eff0f1; }
.ws-manage { display:inline-flex; align-items:center; gap:20px; color:var(--ws-blue); font-weight:650; white-space:nowrap; }
.ws-manage:hover { text-decoration:underline; text-underline-offset:4px; }
.ws-table .ws-empty { padding:25px 14px; color:#707174; }
.ws-readiness { margin-top:20px; }
.ws-section-heading { gap:16px; margin-bottom:19px; }
.ws-section-heading h2 { font-size:20px; font-weight:700; line-height:1.3; letter-spacing:-.5px; }
.ws-section-heading p { font-size:13px; }
.ws-selection-state { display:inline-flex; align-items:center; gap:8px; max-width:100%; border:1px solid #e9e9ea; background:#fafafb; color:#111214; padding:10px 17px; border-radius:24px; font-size:12px; font-weight:650; }
.ws-selection-state svg { flex-shrink:0; }
.ws-selection-state.is-enabled { color:#087c43; border-color:#cdeee0; background:#eaf8f1; }
.ws-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-bottom:18px; }
.ws-kpi { display:flex; align-items:center; gap:17px; min-width:0; border:1px solid; border-radius:19px; padding:14px 20px; }
.ws-kpi dt { font-size:13px; color:#57585c; line-height:1.35; }
.ws-kpi dd { font-size:29px; font-weight:750; letter-spacing:-.7px; line-height:1.15; margin-top:4px; font-variant-numeric:tabular-nums; }
.ws-kpi .ws-icon-tile { border-radius:50%; }
.ws-kpi-blue { background:#fbfbfc; border-color:#dedfe2; }
.ws-kpi-green { background:#fbfefd; border-color:#d4ede7; }
.ws-kpi-green .ws-icon-tile { background:#e1f7ed; color:#686d76; }
.ws-kpi-orange { background:#fffdfb; border-color:#fbe8d2; }
.ws-kpi-orange .ws-icon-tile { background:#fff0dc; color:#686d76; }
.ws-guidance-grid { display:grid; grid-template-columns:minmax(0,1.85fr) minmax(0,1fr); gap:20px; }
.ws-guidelines,.ws-gps-notice { min-width:0; border:1px solid var(--ws-border); border-radius:17px; padding:17px 20px; }
.ws-guidelines { box-shadow:0 2px 4px #11121404; }
.worksites-page h3 { font-size:16px; font-weight:650; letter-spacing:-.25px; }
.ws-guidelines h3,.ws-unassigned h3 { display:flex; align-items:center; gap:12px; }
.ws-guidelines h3 svg,.ws-unassigned h3 svg { color:#111214; width:21px; height:21px; flex-shrink:0; stroke-width:1.8; }
.ws-guidelines ol { display:grid; gap:7px; list-style:none; counter-reset:ws-rule; margin-top:14px; }
.ws-guidelines li { position:relative; padding-left:32px; counter-increment:ws-rule; font-size:13px; line-height:1.6; }
.ws-guidelines li::before { content:counter(ws-rule); position:absolute; left:0; top:1px; display:grid; place-items:center; width:21px; height:21px; border-radius:50%; background:#eeeeef; color:#111214; font-weight:650; }
.ws-guidelines strong { font-weight:700; }
.ws-gps-notice { display:flex; align-items:flex-start; gap:15px; padding-top:29px; background:#fafafb; border-color:#e7e8e9; }
.ws-gps-notice .ws-icon-tile { width:43px; height:43px; border-radius:50%; }
.ws-gps-notice p { margin-top:10px; color:#494a4d; font-size:14px; line-height:1.6; }
.ws-unassigned { margin-top:22px; border:1px solid var(--ws-border); border-radius:16px; overflow:hidden; }
.ws-unassigned h3 { padding:10px 20px; background:#fcfcfd; border-bottom:1px solid var(--ws-border); }
.ws-unassigned li { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:12px 22px; font-size:13px; border-bottom:1px solid var(--ws-border); }
.ws-unassigned li:last-child { border-bottom:0; }
.ws-unassigned .ws-none-missing { justify-content:flex-start; flex-wrap:nowrap; gap:13px; }
.ws-none-missing svg { flex-shrink:0; width:21px; height:21px; color:#686d76; }
.ws-worker-id { color:#707174; font-size:12px; }
.ws-unassigned-name { min-width:0; overflow-wrap:anywhere; }
.ws-assignment-warning { color:#8a530b; background:#fff6e5; border-radius:15px; padding:4px 9px; font-size:11px; }
.ws-pagination { margin:16px 0 0; }
.ws-onboarding-link { display:flex; align-items:center; justify-content:flex-end; gap:6px; width:fit-content; margin:13px 0 0 auto; min-height:32px; color:var(--ws-blue); font-size:12px; font-weight:600; }
.ws-feedback,.ws-pending,.ws-scope { padding:14px; border-radius:12px; background:#f4f5f6; color:#4e4f52; margin-bottom:16px; }
@media(min-width:1500px) { .ws-section-heading h2 { font-size:21px; } .ws-table td { padding-block:18px; } }
@media(max-width:1279px) { .ws-section-heading { flex-wrap:wrap; } .ws-selection-state { margin-left:68px; } .ws-guidance-grid { grid-template-columns:1fr; } .ws-gps-notice { padding-top:20px; } .ws-kpi { gap:12px; padding:14px; } .ws-kpi .ws-icon-tile { width:40px; height:40px; } .ws-table { min-width:1030px; } }
@media(max-width:767px) {
    .worksites-shell #main-content { padding:20px 16px; }
    .worksites-shell [data-app-header] { padding-inline:12px; gap:6px; }
    .ws-page-heading { flex-wrap:wrap; gap:12px; margin:0 0 18px; }
    .ws-page-icon { width:49px; height:49px; border-radius:16px; } .ws-page-icon svg { width:29px; height:29px; }
    .ws-page-heading h1 { font-size:25px; } .ws-heading-copy p { font-size:12px; }
    .ws-page-heading .ws-heading-copy { flex:1 1 calc(100% - 61px); } .ws-page-heading .ws-primary { margin-left:61px; }
    .ws-card { padding:18px; border-radius:19px; }
    .ws-registry { padding-block:20px; }
.ws-filters { gap:12px; } .ws-search { width:100%; } .ws-status-filter { flex:1; } .ws-search-button { width:100%; font-size:13px; }
    .ws-section-heading { gap:12px; } .ws-section-heading > .ws-icon-tile { width:43px; height:43px; border-radius:14px; }
    .ws-section-heading h2 { font-size:18px; } .ws-section-heading p { font-size:12px; }
    .ws-selection-state { margin-left:0; font-size:11px; padding:9px 12px; }
    .ws-kpis { grid-template-columns:1fr; gap:12px; } .ws-kpi { padding:14px 17px; }
    .ws-kpi .ws-icon-tile { width:48px; height:48px; } .ws-kpi dt { font-size:12px; }
    .ws-guidance-grid { gap:14px; } .ws-guidelines,.ws-gps-notice { padding:16px; } .ws-guidelines li { font-size:12px; }
    .worksites-page h3 { font-size:14px; } .ws-gps-notice { gap:10px; } .ws-gps-notice p { font-size:13px; }
    .ws-unassigned h3 { padding:12px 14px; align-items:flex-start; } .ws-unassigned li { padding:13px 14px; }
}
@media(prefers-reduced-motion:reduce) { .worksites-page *, .worksites-page *::before { transition:none !important; transform:none !important; } }
