/* Site management uses the shared workspace colors and controls. */
.ws-page{max-width:1480px;margin-inline:auto}
.ws-breadcrumb{display:flex;gap:10px;margin-bottom:22px;color:var(--rf-muted);font-size:12px;font-weight:500}.ws-breadcrumb span{color:var(--rf-line)}
.ws-page .rf-page-head{margin-bottom:28px}.ws-page .rf-page-title h1{font-size:32px;letter-spacing:-1.1px}.ws-page .rf-page-title p{max-width:660px;line-height:1.6}
.ws-summary{display:flex;align-items:center;flex-wrap:wrap;gap:24px;padding:20px 24px;border:1px solid var(--rf-line);border-radius:14px;background:var(--rf-soft);margin-bottom:32px}
.ws-summary>div,.ws-summary>a{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--rf-muted)}.ws-summary strong{color:var(--rf-ink);font-size:17px;font-weight:650;margin-right:3px}.ws-summary .ic{width:18px;height:18px;color:var(--rf-indigo)}.ws-summary>a{margin-left:auto;text-decoration:none;font-size:12px}
.ws-toolbar{display:flex;justify-content:space-between;align-items:end;gap:20px}.ws-search{display:flex;align-items:center;gap:10px;width:min(100%,380px);height:44px;padding:0 14px;border:1px solid var(--rf-line);border-radius:10px;background:#fff}.ws-search>.ic{width:18px;height:18px;color:var(--rf-muted);flex:none}.ws-search input{width:100%;min-width:0;border:0;background:none;outline:none;font:inherit;font-size:13px;color:var(--rf-ink)}.ws-search:focus-within{outline:2px solid var(--rf-indigo);outline-offset:2px}.ws-filters{display:flex;gap:12px}.ws-filters label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--rf-muted)}.ws-filters select{height:44px;max-width:180px;padding:0 28px 0 12px;border:1px solid var(--rf-line);border-radius:10px;background:#fff;color:var(--rf-ink);font:inherit;font-size:13px}.ws-result-count{margin:18px 0 16px;font-size:12px;color:var(--rf-muted)}
.ws-site-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px;align-items:stretch}.ws-site-card{min-width:0;padding:24px;border:1px solid var(--rf-line);border-radius:18px;background:#fff;box-shadow:0 3px 12px #10182803;transition:border-color .2s,box-shadow .2s}.ws-site-card:hover{border-color:#b2e5e1;box-shadow:0 8px 24px #1f5f5c08}.ws-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.ws-site-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:var(--rf-tint);color:var(--rf-indigo);font-size:16px;font-weight:700;letter-spacing:-.5px}.ws-status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;font-size:11px;font-weight:550}.ws-status .ic{width:12px;height:12px}.ws-status.synced{background:#ebf7f0;color:#237747}.ws-status.pending{background:#fff5df;color:#87530b}.ws-site-identity{margin:20px 0 24px}.ws-site-identity h2{margin:0;font-size:19px;letter-spacing:-.5px}.ws-site-identity button{max-width:100%;border:0;padding:0;background:none;color:inherit;font:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer}.ws-site-identity button:hover{color:var(--rf-indigo)}.ws-site-identity p{margin:7px 0 0;color:var(--rf-muted);font-size:13px;overflow-wrap:anywhere}.ws-site-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:18px 0;border-top:1px solid var(--rf-line);border-bottom:1px solid var(--rf-line)}.ws-site-metrics dt{font-size:11px;color:var(--rf-muted)}.ws-site-metrics dd{margin:7px 0 0;font-size:20px;font-weight:600;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ws-sync-time{display:flex;align-items:center;gap:6px;min-height:30px;margin:12px 0;color:var(--rf-muted);font-size:11px;line-height:1.6}.ws-sync-time .ic{width:13px;height:13px;flex:none}.ws-card-actions{display:flex;gap:8px}.ws-card-actions .rf-btn{flex:1;height:40px;padding:0 12px;font-size:12px;white-space:nowrap}.ws-card-actions .ic{width:15px;height:15px}.ws-add-card{display:flex;min-height:280px;flex-direction:column;align-items:center;justify-content:center;gap:13px;border:1px dashed #dad7cf;border-radius:18px;background:#fbfaf5;color:var(--rf-ink);cursor:pointer;font:inherit;text-align:center;padding:24px}.ws-add-card:hover{border-color:var(--rf-indigo);background:var(--rf-tint)}.ws-add-card>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--rf-tint);color:var(--rf-indigo);font-size:28px;font-weight:300}.ws-add-card strong{font-size:14px}.ws-add-card small{color:var(--rf-muted);font-size:12px}.ws-source-note{display:flex;align-items:flex-start;gap:8px;margin:25px 0;color:var(--rf-muted);font-size:11px;line-height:1.7}.ws-source-note .ic{width:15px;height:15px;flex:none;margin-top:2px}.ws-empty{border:1px solid var(--rf-line);border-radius:18px;background:#fff}.ws-demo-note{padding:12px 16px;border-radius:9px;background:var(--rf-tint);color:var(--rf-indigo);font-size:12px;margin:0 0 20px}
#site-dialog{max-width:600px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);border:1px solid #e9e8e4;border-radius:22px;box-shadow:0 28px 90px #18132e30;padding:0}#site-dialog::backdrop{background:#18132e65;backdrop-filter:blur(4px)}#site-dialog .dialog-header{padding:28px 28px 22px;background:#fbfcfc;border-bottom:1px solid #f1f0ee}#site-dialog .dialog-header h2{color:#201e19;font-size:26px;letter-spacing:-.8px}#site-dialog .dialog-eyebrow{color:#7c7769}#site-dialog .dialog-mark{background:#eff6f5;color:#2e8a81}#site-dialog .dialog-fields{padding:24px 28px;gap:20px}#site-dialog .dialog-field input,#site-dialog .dialog-field select{border-color:#e4e2de;border-radius:10px;min-height:46px}#site-dialog .dialog-actions{padding:20px 28px;background:#fbfcfc;border-top:1px solid #f1f0ee;display:flex;gap:12px;justify-content:flex-end;align-items:center}#site-dialog .dialog-actions p{margin-right:auto;max-width:220px;font-size:11px;line-height:1.5;color:#6b657b}#site-dialog .primary-button{background:#1f5f5c;border-color:#1f5f5c;color:#fff;min-height:44px;border-radius:10px}#site-dialog button:disabled{opacity:.5;cursor:not-allowed}#site-dialog .dialog-close{border-color:#eae9e5;color:#645e74}#site-dialog .dialog-close:hover{background:#eff6f5;color:#1f5f5c}#site-dialog :is(input,select,button):focus-visible{outline:2px solid #1f5f5c;outline-offset:3px}.ws-dialog-status{margin:20px 28px 0;padding:14px 16px;border:1px solid #e5f0ef;border-radius:10px;background:#f9fbfb;color:#656054;font-size:13px;line-height:1.6}.ws-dialog-status:empty{display:none}.ws-dialog-status.is-error{background:#fff4f1;border-color:#f4d2c9;color:#9b392a}.ws-dialog-status button{display:inline-flex;margin:10px 8px 0 0;padding:8px 12px;border:1px solid #e1dfd8;border-radius:8px;background:#fff;color:#1f5f5c;font:inherit;font-weight:600;cursor:pointer}.ws-dialog-helper{margin:7px 0 0;color:#6c657a;font-size:12px;line-height:1.5}.ws-dialog-cancel{border:1px solid #e4e3e0;border-radius:10px;background:#fff;color:#4f495d;padding:10px 15px;font:inherit;font-size:13px;cursor:pointer}
@media(max-width:1100px){.ws-toolbar{align-items:stretch;flex-direction:column}.ws-search{width:100%;max-width:none}.ws-filters{justify-content:flex-end}.ws-summary{gap:16px}.ws-summary>a{width:100%;margin:0}}@media(max-width:600px){.ws-page .rf-page-head{align-items:start;gap:18px;flex-wrap:wrap}.ws-page .rf-page-title h1{font-size:28px}.ws-summary{padding:16px;gap:14px}.ws-summary>div{font-size:12px}.ws-filters{justify-content:space-between;gap:8px}.ws-filters label{display:grid;gap:6px;flex:1}.ws-filters select{width:100%;max-width:none}.ws-site-card{padding:20px}#site-dialog .dialog-header,#site-dialog .dialog-fields{padding:22px}#site-dialog .dialog-actions{padding:18px 22px;flex-wrap:wrap}#site-dialog .dialog-actions p{flex-basis:100%;max-width:none}.ws-dialog-status{margin:18px 22px 0}}
@media(prefers-reduced-motion:reduce){.ws-site-card{transition:none}}
.ws-project-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:26px 0}.ws-project-metrics article{display:grid;gap:13px;padding:24px;border:1px solid var(--rf-line);border-radius:16px;background:#fff}.ws-project-metrics span{font-size:12px;color:var(--rf-muted)}.ws-project-metrics strong{font-size:32px;font-weight:600;letter-spacing:-1px}.ws-project-metrics small{font-size:11px;color:var(--rf-muted)}.ws-project-panels{display:grid;grid-template-columns:1.45fr 1fr;gap:22px}.ws-project-panels>.rf-card{min-width:0}.ws-panel-head{padding:24px;border-bottom:1px solid var(--rf-line)}.ws-panel-head h2{font-size:17px;letter-spacing:-.4px;margin:0 0 8px}.ws-panel-head p{font-size:12px;line-height:1.5;color:var(--rf-muted);margin:0}.ws-query-list{padding:0 24px}.ws-query-list article{display:grid;gap:8px;padding:20px 0;border-bottom:1px solid var(--rf-line)}.ws-query-list article:last-child{border-bottom:0}.ws-query-list strong{font-size:13px;font-weight:550}.ws-query-list small{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;color:var(--rf-muted)}
@media(max-width:800px){.ws-project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-project-panels{grid-template-columns:1fr}.ws-project-metrics article{padding:18px}.ws-project-metrics strong{font-size:26px}}
