      :root {
        --bg: #060d21;
        --bg-soft: #0b1531;
        --panel: #101d3f;
        --panel-2: #0a1430;
        --text: #e9f1ff;
        --muted: #8da0c8;
        --line: #27396a;
        --ok: #2dc989;
        --err: #ec6d7f;
        --warn: #e5ad41;
        --accent: #6a7cff;
      }
      * { box-sizing: border-box; }
      body {
        margin: 0;
        font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
        background:
          radial-gradient(70rem 38rem at 105% -8%, rgba(101, 112, 255, .36), transparent 58%),
          radial-gradient(54rem 26rem at -8% 12%, rgba(59, 129, 246, .24), transparent 56%),
          linear-gradient(168deg, #050a1d 0%, #08102a 42%, #060d21 100%);
        color: var(--text);
      }
      body.light-mode {
        --bg: #eef3f8;
        --bg-soft: #f4f8fc;
        --panel: #ffffff;
        --panel-2: #f8fbff;
        --text: #0f1a2a;
        --muted: #4f6278;
        --line: #ccd8e6;
        --accent: #2d6fd3;
        background:
          radial-gradient(80rem 40rem at 105% -10%, rgba(83, 143, 234, 0.16), transparent 60%),
          radial-gradient(62rem 32rem at -15% 5%, rgba(120, 170, 229, 0.17), transparent 58%),
          linear-gradient(160deg, #edf4fb 0%, #f4f8fc 42%, #eaf2f9 100%);
      }
      body.light-mode .card {
        background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(247, 251, 255, .96));
        border: 1px solid #d6e1ee;
        box-shadow: 0 10px 26px rgba(27, 55, 92, .08);
      }
      body.light-mode .topbar {
        background:
          linear-gradient(120deg, rgba(255, 255, 255, .95), rgba(241, 248, 255, .95)),
          radial-gradient(circle at right top, rgba(89, 149, 223, .18), transparent 42%);
      }
      body.light-mode .activity-head,
      body.light-mode .redirects-create {
        background:
          linear-gradient(130deg, rgba(255, 255, 255, .96), rgba(240, 248, 255, .95)),
          radial-gradient(circle at 95% 5%, rgba(99, 156, 228, .2), transparent 45%);
      }
      body.light-mode .activity-kicker,
      body.light-mode .redirect-field-label,
      body.light-mode .metric-label,
      body.light-mode .activity-meta {
        color: #5f7390;
      }
      body.light-mode .activity-heading,
      body.light-mode .redirect-heading,
      body.light-mode .activity-title,
      body.light-mode h1,
      body.light-mode h2,
      body.light-mode h3 {
        color: #12273f;
      }
      body.light-mode .activity-copy,
      body.light-mode .muted,
      body.light-mode .meta,
      body.light-mode .metric-sub,
      body.light-mode #alerts-meta,
      body.light-mode #session-email {
        color: #5d7089;
      }
      body.light-mode .activity-card,
      body.light-mode .redirect-row,
      body.light-mode .metric-card,
      body.light-mode .health-item,
      body.light-mode .project {
        background:
          linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 250, 255, .98)),
          radial-gradient(circle at 90% 12%, rgba(97, 153, 225, .11), transparent 38%);
        border-color: #d6e2ef;
        box-shadow: 0 8px 22px rgba(27, 55, 92, .08);
      }
      body.light-mode .activity-card:hover,
      body.light-mode .redirect-row:hover,
      body.light-mode .project:hover {
        border-color: #9db8d8;
        box-shadow: 0 14px 30px rgba(27, 55, 92, .12);
      }
      body.light-mode .activity-status,
      body.light-mode .chip.ok,
      body.light-mode .health-item.ok {
        color: #1e8f5d;
        border-color: #9fd7bc;
      }
      body.light-mode .activity-status.warn,
      body.light-mode .chip.err,
      body.light-mode .health-item.err {
        color: #b34141;
        border-color: #e4b5b5;
      }
      body.light-mode .activity-preview {
        color: #2b4464;
      }
      body.light-mode .activity-preview.warn {
        color: #9f3838;
      }
      body.light-mode .activity-pill,
      body.light-mode .redirect-pill,
      body.light-mode .chip {
        color: #4f6886;
        border-color: #cbd9e9;
        background: rgba(255, 255, 255, .8);
      }
      body.light-mode input,
      body.light-mode textarea,
      body.light-mode .redirect-note,
      body.light-mode .redirect-grid input {
        background: #fff;
        color: #10243a;
        border-color: #c8d7e8;
      }
      body.light-mode input:focus,
      body.light-mode textarea:focus,
      body.light-mode .redirect-note:focus,
      body.light-mode .redirect-grid input:focus {
        border-color: #6e9fd9;
        box-shadow: 0 0 0 3px rgba(76, 129, 199, .18);
      }
      body.light-mode button.btn-ghost {
        color: #244362;
        border-color: #b8cbe0;
        background: rgba(255, 255, 255, .82);
      }
      body.light-mode button.btn-ghost:hover:not(:disabled) {
        background: rgba(238, 246, 255, .95);
        border-color: #8fb0d0;
      }
      body.light-mode button.btn-primary {
        background: linear-gradient(135deg, #3f87e3, #2f71cc);
        color: #fff;
      }
      body.light-mode .meter {
        border-color: #c5d5e8;
        background: #edf3fa;
      }
      body.light-mode pre {
        background: #f4f8fc;
        border-color: #d5e1ee;
        color: #284058;
      }
      body.light-mode .sidebar {
        background:
          linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(244, 250, 255, .95)),
          radial-gradient(circle at 100% 0%, rgba(92, 151, 225, .16), transparent 46%);
      }
      body.light-mode .sidebar-link {
        color: #294766;
      }
      body.light-mode .sidebar-link.active,
      body.light-mode .sidebar-link:hover {
        background: rgba(208, 226, 246, .72);
      }
      body.light-mode .sidebar-search {
        background: #fff;
        border-color: #c8d7e8;
        color: #10243a;
      }
      body.light-mode .sidebar-divider {
        border-top-color: #d6e3f0;
      }
      .hidden { display: none !important; }
      .wrap { max-width: 1280px; margin: 0 auto; padding: 30px 24px 64px; }
      .app-shell {
        display: grid;
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
      }
      .app-shell.sidebar-collapsed {
        grid-template-columns: 84px minmax(0, 1fr);
      }
      .sidebar {
        position: sticky;
        top: 14px;
        padding: 16px 14px;
        border-radius: 16px;
        background:
          linear-gradient(180deg, rgba(12, 24, 54, .97), rgba(8, 17, 42, .97)),
          radial-gradient(circle at 100% 0%, rgba(114, 132, 255, .2), transparent 46%);
      }
      .sidebar-brand {
        margin: 0;
        font-family: "Space Grotesk", "Manrope", sans-serif;
        font-size: 24px;
        letter-spacing: -0.02em;
      }
      .sidebar-head {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 12px;
      }
      .sidebar-brand-image {
        display: block;
        height: 34px;
        width: auto;
        max-width: 100%;
      }
      .sidebar-toggle-btn {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto 0;
      }
      .sidebar-search {
        width: 100%;
        border-radius: 10px;
        border: 1px solid #2f4678;
        background: rgba(8, 18, 43, .85);
        color: #d8e6ff;
        padding: 10px 11px;
        margin-bottom: 12px;
      }
      .sidebar-nav {
        display: grid;
        gap: 6px;
      }
      .sidebar-link {
        display: flex;
        align-items: center;
        gap: 8px;
        border-radius: 10px;
        padding: 9px 10px;
        font-size: 13px;
        color: #bdd0ef;
        text-decoration: none;
        border: 1px solid transparent;
        transition: background-color .2s ease, border-color .2s ease, transform .14s ease;
      }
      .sidebar-icon {
        width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #a9c7ff;
        flex-shrink: 0;
      }
      .sidebar-icon svg {
        width: 18px;
        height: 18px;
        display: block;
      }
      .sidebar-link.active .sidebar-icon {
        color: #d8e7ff;
      }
      .sidebar-link-label {
        line-height: 1.1;
      }
      .sidebar-link .notif-badge {
        position: static;
        margin-left: auto;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 10px;
      }
      .sidebar-link:hover {
        background: rgba(20, 37, 73, .75);
        border-color: #385187;
      }
      .sidebar-link.active {
        background: rgba(32, 57, 108, .78);
        border-color: #4e6daa;
      }
      .sidebar-divider {
        margin: 12px 0;
        border: 0;
        border-top: 1px solid #273b68;
      }
      .sidebar-note {
        margin: 0;
        font-size: 12px;
        color: var(--muted);
      }
      .app-shell.sidebar-collapsed .sidebar-brand,
      .app-shell.sidebar-collapsed .sidebar-search,
      .app-shell.sidebar-collapsed .sidebar-note,
      .app-shell.sidebar-collapsed .sidebar-link {
        font-size: 0;
      }
      .app-shell.sidebar-collapsed {
        gap: 8px;
      }
      .app-shell.sidebar-collapsed .sidebar {
        width: 52px !important;
        min-width: 52px;
        max-width: 52px;
        padding: 10px 6px;
      }
      .app-shell.sidebar-collapsed .sidebar-head {
        justify-content: center;
        margin-bottom: 0;
      }
      .app-shell.sidebar-collapsed .sidebar-toggle-btn {
        position: static;
      }
      .app-shell.sidebar-collapsed .sidebar-brand-image {
        display: none;
      }
      .app-shell.sidebar-collapsed .sidebar-link {
        justify-content: center;
        padding: 9px 6px;
        gap: 0;
      }
      .app-shell.sidebar-collapsed .sidebar-link-label,
      .app-shell.sidebar-collapsed .sidebar-link .notif-badge {
        display: none;
      }
      .status-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border-radius: 999px;
        padding: 4px 9px;
        border: 1px solid var(--line);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .06em;
      }
      .status-badge.healthy { border-color: #2d6f52; color: #98f0c2; }
      .status-badge.warning { border-color: #7a5a1a; color: #f7c96a; }
      .status-badge.critical { border-color: #7a2a2e; color: #ffb0b8; }
      .status-badge.info { border-color: #2b4f89; color: #9dc4ff; }
      .status-badge.unknown { border-color: #445475; color: #aab4c7; }
      .skeleton {
        background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.14), rgba(255,255,255,.04));
        background-size: 200% 100%;
        animation: pulse 1.5s linear infinite;
        border-radius: 8px;
        min-height: 16px;
      }
      @keyframes pulse {
        0% { background-position: 120% 0; }
        100% { background-position: -120% 0; }
      }
      .app-main {
        min-width: 0;
      }
      .card {
        background:
          linear-gradient(182deg, rgba(16, 31, 68, .96), rgba(10, 22, 52, .96)),
          radial-gradient(circle at 92% 10%, rgba(109, 132, 255, .18), transparent 42%);
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: 0 16px 36px rgba(3, 9, 24, .36);
        transition: border-color .2s ease, box-shadow .25s ease, transform .2s ease;
      }
      .login {
        max-width: 420px;
        margin: 8vh auto 0;
        padding: 18px;
      }
      h1 { margin: 0 0 10px; font-size: 22px; }
      p { margin: 0; }
      .muted { color: var(--muted); }
      .field { margin-top: 12px; }
      label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
      input {
        width: 100%;
        border-radius: 9px;
        border: 1px solid var(--line);
        background: rgba(9, 20, 49, .9);
        color: var(--text);
        padding: 10px;
      }
      button {
        border: 1px solid transparent;
        border-radius: 999px;
        padding: 9px 14px;
        font-size: 12px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        cursor: pointer;
        font-weight: 700;
        transition: transform .14s ease, border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
      }
      button:disabled { opacity: .55; cursor: default; }
      .btn-primary {
        background: linear-gradient(135deg, #7381ff, #5b6df0);
        color: #fff;
        border-color: #7a87ff;
      }
      .btn-ghost {
        background: rgba(9, 19, 45, .62);
        border-color: #304679;
        color: #d9e5ff;
      }
      .btn-danger { background: transparent; border-color: #6f2d2d; color: #ffbaba; }
      .btn-warn { background: transparent; border-color: #6a5425; color: #f0cd84; }
      button:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
      }
      /* Global policy: hide manual Save controls (Add/Create actions remain visible). */
      .redirect-save-btn,
      .hub-org-save-btn,
      .hub-business-save-btn,
      .hub-user-save-btn,
      .hub-employee-save-btn,
      #reviews-config-save-btn,
      .whatsapp-save-config-btn,
      .wa-save-modules-btn,
      .wa-toggle-autosave-btn,
      .wa-autosave-label {
        display: none !important;
      }
      .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
      .actions { margin-top: 14px; }
      .status { margin-top: 10px; min-height: 20px; color: var(--muted); }
      .status.error { color: var(--err); }
      .status.ok { color: var(--ok); }
      .topbar {
        padding: 16px 18px;
        margin-bottom: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        background:
          linear-gradient(120deg, rgba(14, 29, 66, .96), rgba(9, 20, 49, .96)),
          radial-gradient(circle at right top, rgba(111, 128, 255, .26), transparent 44%);
        box-shadow: 0 16px 40px rgba(3, 9, 24, .42);
      }
      .topbar .row {
        justify-content: flex-end;
        gap: 8px;
      }
      .topbar .row button {
        padding: 9px 13px;
      }
      .topbar-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
      }
      .topbar-logo {
        width: 96px;
        height: 96px;
        object-fit: contain;
        flex-shrink: 0;
      }
      .topbar-brand-text {
        min-width: 0;
      }
      .app-title {
        margin: 0;
        font-family: "Space Grotesk", "Manrope", "Avenir Next", sans-serif;
        font-size: 31px;
        letter-spacing: -0.02em;
      }
      #session-email {
        margin-top: 4px;
        font-size: 14px;
      }
      #alerts-meta {
        margin-top: 2px;
      }
      .grid {
        display: grid;
        gap: 14px;
      }
      .activity-shell {
        display: grid;
        gap: 18px;
        width: 100%;
        min-width: 0;
        grid-column: 1 / -1;
      }
      .activity-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 24px;
        margin-top: 8px;
        margin-bottom: 18px;
      }
      .activity-kicker {
        margin: 0;
        font-size: 11px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #8ea2cd;
      }
      .activity-heading {
        margin: 8px 0 0;
        font-size: 26px;
        line-height: 1.05;
        letter-spacing: -0.02em;
        font-family: "Space Grotesk", "Manrope", "Avenir Next", sans-serif;
      }
      .activity-copy {
        margin: 8px 0 0;
        color: #96acd3;
        font-size: 13px;
      }
      .activity-stats {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .activity-pill {
        border: 1px solid #334a7f;
        border-radius: 999px;
        padding: 5px 10px;
        font-size: 11px;
        color: #c3d3f2;
        background: rgba(8, 18, 43, .52);
      }
      .activity-grid {
        display: grid;
        gap: 18px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        margin-top: 22px;
      }
      .activity-card {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        text-align: left;
        border: 1px solid #2d4275;
        border-radius: 16px;
        padding: 21px;
        min-height: 126px;
        background:
          linear-gradient(182deg, rgba(14, 28, 64, .97), rgba(9, 19, 45, .97)),
          radial-gradient(circle at 92% 14%, rgba(114, 129, 255, .24), transparent 42%);
        box-shadow: 0 12px 28px rgba(4, 11, 28, .3);
        text-transform: none;
        letter-spacing: normal;
        overflow: hidden;
      }
      .activity-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(255, 255, 255, .06), transparent 40%);
        opacity: 0;
        transition: opacity .2s ease;
        pointer-events: none;
      }
      .activity-card:hover {
        border-color: #4a62a6;
        transform: translateY(-2px);
      }
      .activity-card:hover::before {
        opacity: 1;
      }
      .activity-card.issue {
        border-color: #6f3840;
        box-shadow: 0 16px 30px rgba(45, 11, 18, .24);
      }
      .activity-card.coming-soon {
        opacity: .68;
        border-color: rgba(255, 255, 255, 0.05);
        background:
          linear-gradient(182deg, rgba(14, 24, 46, .85), rgba(10, 17, 34, .85));
        box-shadow: 0 8px 20px rgba(4, 11, 28, .16);
      }
      .activity-card.coming-soon:hover {
        transform: none;
        border-color: rgba(255, 255, 255, 0.08);
      }
      .activity-title {
        margin: 0;
        font-size: 16px;
        line-height: 1.15;
        letter-spacing: -0.01em;
        font-weight: 650;
        color: #f1f6ff;
      }
      .activity-meta {
        margin: 0;
        font-size: 12px;
        color: rgba(159, 181, 220, .72);
        letter-spacing: 0.02em;
      }
      .activity-status {
        margin: 0;
        font-size: 12px;
        color: #6ff0b7;
      }
      .activity-status.warn {
        color: #ff9d9d;
      }
      .activity-preview.warn {
        color: #ffb2b2;
      }
      .activity-preview {
        margin: 0;
        font-size: 13px;
        line-height: 1.3;
        color: #d5e4ff;
        opacity: 0.98;
        font-weight: 560;
        display: block !important;
        visibility: visible !important;
      }
      .notif-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 999px;
        background: #ff3b30;
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 4px 12px rgba(255, 59, 48, .35);
      }
      .health {
        padding: 12px;
        margin-bottom: 14px;
      }
      .health-grid {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      }
      .health-item {
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 8px 10px;
        background: rgba(9, 18, 43, .64);
      }
      .health-item .num {
        display: block;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.1;
      }
      .health-item .lbl {
        display: block;
        font-size: 11px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }
      .health-item.ok { border-color: #205c42; color: #8ce0b7; }
      .health-item.err { border-color: #663333; color: #f3aaaa; }
      .health-item.warn { border-color: #6a5425; color: #f0cd84; }
      .health-banner {
        margin-top: 10px;
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 8px 10px;
        font-size: 13px;
      }
      .health-banner.ok { border-color: #205c42; color: #8ce0b7; }
      .health-banner.err { border-color: #663333; color: #f3aaaa; }
      .project {
        padding: 12px;
      }
      .project.project-enter { animation: fadeInUp .22s ease both; }
      .project:hover {
        border-color: #4663a0;
      }
      .project h3 {
        margin: 0;
        font-size: 18px;
      }
      .meta {
        margin-top: 6px;
        color: var(--muted);
        font-size: 12px;
      }
      .chips { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
      .chip {
        border: 1px solid var(--line);
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 4px 8px;
        font-size: 11px;
        line-height: 1;
        text-align: center;
        color: var(--muted);
        transition: border-color .2s ease, color .2s ease, transform .15s ease;
      }
      .chip.ok { border-color: #205c42; color: #8ce0b7; }
      .chip.err { border-color: #663333; color: #f3aaaa; }
      .chip.warn { border-color: #6a5425; color: #f0cd84; }
      .project-actions { margin-top: 10px; }
      .project-state {
        margin-top: 8px;
        font-size: 13px;
      }
      .system-shell {
        display: grid;
        gap: 14px;
      }
      .system-head {
        padding: 16px 18px;
      }
      .system-title {
        margin: 0;
        font-size: 23px;
      }
      .system-meta {
        margin-top: 8px;
        color: var(--muted);
        font-size: 13px;
      }
      .metric-grid {
        display: grid;
        gap: 18px;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        width: 100%;
      }
      .metric-card {
        padding: 14px;
        border: 1px solid #2f457a;
        border-radius: 12px;
        background: rgba(9, 19, 46, .68);
      }
      .metric-label {
        margin: 0;
        color: var(--muted);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .07em;
      }
      .metric-value {
        margin: 8px 0 0;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: -0.02em;
      }
      .metric-sub {
        margin: 6px 0 0;
        color: var(--muted);
        font-size: 12px;
      }
      .meter {
        margin-top: 10px;
        height: 8px;
        border-radius: 999px;
        overflow: hidden;
        border: 1px solid #2d4678;
        background: rgba(7, 14, 33, .92);
      }
      .meter > span,
      .c-meter__fill {
        display: block;
        height: 100%;
        width: calc(var(--fill, 0) * 1%);
        border-radius: inherit;
        background: linear-gradient(90deg, #3dbf7d, #52c8d6);
      }
      .meter > span.warn,
      .c-meter__fill.warn {
        background: linear-gradient(90deg, #d39b2f, #f0cd84);
      }
      .meter > span.err,
      .c-meter__fill.err {
        background: linear-gradient(90deg, #d25555, #f08a8a);
      }
      .redirects-shell {
        display: grid;
        gap: 16px;
      }
      .redirects-create {
        position: relative;
        overflow: hidden;
        padding: 18px;
        background:
          linear-gradient(180deg, rgba(14, 29, 65, .95), rgba(8, 19, 44, .95)),
          radial-gradient(circle at 96% 0%, rgba(114, 132, 255, .28), transparent 46%);
      }
      .redirects-create::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(130deg, rgba(255, 255, 255, .06), transparent 48%);
        opacity: .7;
      }
      .redirects-content {
        position: relative;
        z-index: 1;
      }
      .redirects-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 14px;
        flex-wrap: wrap;
      }
      .redirect-heading {
        margin: 0;
        font-size: 24px;
        letter-spacing: -0.02em;
        font-family: "Space Grotesk", "Manrope", "Avenir Next", sans-serif;
      }
      .redirect-overview {
        display: grid;
        gap: 10px;
        margin-top: 14px;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      }
      .redirect-stat-card {
        border: 1px solid #2f4460;
        border-radius: 12px;
        padding: 10px 12px;
        background: rgba(10, 18, 30, .65);
      }
      .redirect-stat-label {
        display: block;
        color: #99b4d1;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .08em;
      }
      .redirect-stat-value {
        margin-top: 6px;
        font-size: 21px;
        line-height: 1.1;
        letter-spacing: -.02em;
        font-weight: 700;
      }
      .redirect-form {
        margin-top: 14px;
        border: 1px solid #2f4560;
        border-radius: 14px;
        padding: 14px;
        background: rgba(7, 14, 25, .7);
      }
      .redirect-grid {
        display: grid;
        grid-template-columns: 160px minmax(260px, 1.4fr) minmax(120px, 1fr);
        gap: 12px;
      }
      .redirect-field {
        display: grid;
        gap: 6px;
      }
      .redirect-field-label {
        font-size: 11px;
        letter-spacing: .07em;
        text-transform: uppercase;
        color: #91abc6;
      }
      .redirect-grid input {
        width: 100%;
      }
      .redirect-grid input,
      .redirect-note {
        border: 1px solid #304760;
        background: rgba(8, 15, 26, .92);
        transition: border-color .18s ease, box-shadow .18s ease;
      }
      .redirect-grid input:focus,
      .redirect-note:focus {
        outline: none;
        border-color: #548dda;
        box-shadow: 0 0 0 3px rgba(83, 141, 219, .14);
      }
      .redirect-note {
        width: 100%;
        border-radius: 10px;
        color: var(--text);
        padding: 10px;
        min-height: 88px;
        resize: vertical;
      }
      .redirect-note-field {
        margin-top: 12px;
      }
      .redirect-list {
        display: grid;
        gap: 12px;
      }
      .redirect-empty {
        padding: 22px;
      }
      .redirect-empty p:first-child {
        margin: 0;
        font-size: 18px;
      }
      .redirect-empty .muted {
        margin-top: 6px;
      }
      .redirect-row {
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 14px;
        background:
          linear-gradient(180deg, rgba(16, 28, 43, .92), rgba(9, 18, 29, .92));
        box-shadow: 0 10px 24px rgba(4, 10, 18, .22);
      }
      .redirect-row:hover {
        border-color: #3a5675;
      }
      .redirect-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
      }
      .redirect-title {
        margin: 0;
        font-size: 17px;
        letter-spacing: -.01em;
      }
      .redirect-short {
        margin-top: 6px;
      }
      .redirect-short-link {
        color: #8ec0ff;
        font-size: 12px;
        text-decoration: none;
        word-break: break-all;
      }
      .redirect-short-link:hover {
        color: #b7d7ff;
        text-decoration: underline;
      }
      .redirect-stats {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 10px;
      }
      .redirect-pill {
        border: 1px solid #30455d;
        border-radius: 999px;
        padding: 4px 9px;
        font-size: 11px;
        color: #bdd2e7;
        background: rgba(10, 19, 31, .66);
      }
      .redirect-actions {
        margin-top: 12px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
      }
      .redirect-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid #30455d;
        border-radius: 999px;
        padding: 6px 11px;
        font-size: 12px;
        color: #bbd0e5;
        background: rgba(10, 18, 30, .72);
      }
      .redirect-toggle input {
        width: 15px;
        height: 15px;
        margin: 0;
        accent-color: #5a91de;
      }
      .redirect-create-btn {
        min-width: 156px;
        background: linear-gradient(135deg, #5f96ee, #427fe3);
      }
      .redirect-row .redirect-grid {
        margin-top: 12px;
      }
      .redirect-clicks {
        margin-top: 12px;
        border-top: 1px solid rgba(43, 58, 74, 0.7);
        padding-top: 10px;
      }
      .redirect-clicks summary {
        color: #93aac4;
        font-size: 12px;
      }
      .redirect-clicks summary:hover {
        color: #c6d9ed;
      }
      .redirect-clicks pre {
        max-height: 160px;
      }
      .settings-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 8px 12px;
        font-size: 13px;
        color: var(--text);
        background: rgba(10, 18, 30, .5);
      }
      .settings-toggle input {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: var(--accent);
      }
      @media (max-width: 920px) {
        .redirects-create {
          padding: 15px;
        }
        .redirect-grid {
          grid-template-columns: 1fr;
        }
      }
      details { margin-top: 10px; }
      summary { cursor: pointer; color: var(--muted); }
      details.slide-panel {
        overflow: hidden;
      }
      .slide-body {
        overflow: hidden;
      }
      pre {
        margin: 8px 0 0;
        max-height: 240px;
        overflow: auto;
        border: 1px solid var(--line);
        background: #0b131c;
        border-radius: 8px;
        padding: 10px;
        white-space: pre-wrap;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 12px;
        color: #d5dfeb;
      }
      .scrapers {
        margin-top: 12px;
        border: 1px solid var(--line);
        border-radius: 10px;
        overflow: hidden;
      }
      .scrapers[open] .scrapers-head {
        border-bottom: 1px solid var(--line);
      }
      .scrapers-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 10px;
        background: rgba(11, 19, 28, 0.5);
        cursor: pointer;
        user-select: none;
      }
      .scrapers-head::-webkit-details-marker {
        display: none;
      }
      .scrapers-title {
        margin: 0;
        font-size: 12px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--muted);
      }
      .scraper-summary {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
      }
      .scraper-row {
        display: grid;
        grid-template-columns: minmax(170px, 1.25fr) 84px 130px minmax(160px, 1fr);
        gap: 8px;
        align-items: center;
        padding: 8px 10px;
        border-top: 1px solid rgba(43, 58, 74, 0.6);
        transition: background-color .18s ease;
      }
      .scraper-row:first-of-type {
        border-top: 0;
      }
      .scraper-row:hover {
        background: rgba(79, 142, 240, 0.06);
      }
      .scraper-name {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
      }
      .scraper-meta {
        font-size: 11px;
        color: var(--muted);
      }
      .scraper-state {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        border: 1px solid var(--line);
        padding: 3px 8px;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        width: fit-content;
      }
      .scraper-state.ok { border-color: #205c42; color: #8ce0b7; }
      .scraper-state.err { border-color: #663333; color: #f3aaaa; }
      .scraper-state.warn { border-color: #6a5425; color: #f0cd84; }
      .scraper-state.idle { border-color: var(--line); color: var(--muted); }
      .scraper-count {
        font-size: 13px;
        font-weight: 600;
      }
      .scraper-note {
        font-size: 12px;
        color: var(--muted);
        line-height: 1.25;
      }
      .scraper-note-wrap {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
      }
      .scraper-actions {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }
      .scraper-detail-btn {
        padding: 5px 9px;
        font-size: 10px;
        text-transform: uppercase;
      }
      .modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(5, 10, 17, 0.62);
        display: grid;
        place-items: center;
        z-index: 90;
        animation: fadeIn .16s ease;
      }
      .modal {
        width: min(960px, calc(100vw - 28px));
        max-height: min(86vh, 860px);
        overflow: auto;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(24,34,48,.99), rgba(15,23,36,.99));
        box-shadow: 0 20px 55px rgba(0,0,0,.45);
        animation: fadeInUp .2s ease;
      }
      .modal-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
      }
      .modal-title {
        margin: 0;
        font-size: 17px;
      }
      .modal-body {
        margin-top: 10px;
        display: grid;
        gap: 10px;
      }
      .kv {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }
      .json-box {
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #0b131c;
        padding: 10px;
      }
      .json-box pre {
        margin: 0;
        max-height: 300px;
      }
      .split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }
      .path-list {
        display: grid;
        gap: 4px;
        font-size: 12px;
        color: var(--muted);
      }
      .run-history-list {
        display: grid;
        gap: 8px;
      }
      .run-history-row {
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 10px;
        background: rgba(11, 19, 28, 0.55);
        display: grid;
        gap: 8px;
      }
      .run-history-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
        flex-wrap: wrap;
      }
      .run-title {
        margin: 0;
        font-size: 14px;
      }
      .run-meta {
        margin: 4px 0 0;
        color: var(--muted);
        font-size: 12px;
      }
      .run-summary {
        margin: 0;
        color: #c8d9eb;
        font-size: 12px;
      }
      .run-issues {
        margin: 0;
        color: #ffbdbd;
        font-size: 12px;
      }
      .run-detail-grid {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
      }
      .run-detail-pre {
        margin: 0;
        max-height: 300px;
      }
      .activity-feed-controls {
        display: inline-flex;
        align-items: center;
        gap: 8px;
      }
      .activity-feed-list {
        margin-top: 8px;
        display: grid;
        gap: 6px;
      }
      .activity-feed-row {
        justify-content: space-between;
        gap: 8px;
        align-items: center;
        padding: 6px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        opacity: 1;
        transform: translateY(0);
        transition: opacity .2s ease, transform .2s ease;
      }
      .activity-feed-row.fade-out {
        opacity: 0;
        transform: translateY(-3px);
      }
      .activity-feed-row-main {
        min-width: 0;
      }
      .activity-feed-row-side {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .activity-history {
        margin-top: 10px;
        display: grid;
        gap: 8px;
      }
      .activity-history-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
      }
      .activity-history-body {
        display: grid;
        gap: 8px;
      }
      .wa-sessions-shell {
        display: grid;
        gap: 24px;
      }
      .wa-sessions-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
      }
      .wa-sessions-head-right {
        display: flex;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .wa-backend-inline {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        padding: 10px 12px;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.06);
        background: rgba(15,18,38,0.75);
      }
      .wa-sessions-table-wrap {
        overflow: auto;
      }
      .wa-sessions-table {
        width: 100%;
        border-collapse: collapse;
      }
      .wa-sessions-table th,
      .wa-sessions-table td {
        text-align: left;
        vertical-align: top;
        padding: 10px 8px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
      }
      .wa-sessions-table th {
        font-size: 12px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .04em;
      }
      .wa-stat-inline {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
      }
      .wa-pills-inline {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
      }
      .wa-row-actions {
        display: flex;
        gap: 8px;
        align-items: flex-start;
        flex-wrap: wrap;
      }
      .wa-row-menu {
        position: relative;
      }
      .wa-row-menu summary {
        list-style: none;
        cursor: pointer;
      }
      .wa-row-menu summary::-webkit-details-marker {
        display: none;
      }
      .wa-row-menu-panel {
        position: absolute;
        right: 0;
        top: calc(100% + 4px);
        z-index: 9;
        width: 220px;
        display: grid;
        gap: 6px;
        padding: 10px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.08);
        background: rgba(12,16,32,.97);
        box-shadow: 0 8px 24px rgba(0,0,0,.35);
      }
      .wa-sessions-mobile-list {
        display: none;
        gap: 10px;
      }
      .wa-session-mobile-card {
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 12px;
        background: rgba(15,18,38,0.75);
        padding: 12px;
      }
      .wa-modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.55);
        display: grid;
        place-items: center;
        z-index: 120;
        padding: 16px;
      }
      .wa-modal-card {
        width: min(780px, 100%);
        max-height: calc(100vh - 32px);
        overflow: auto;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.08);
        background: rgba(13,18,36,.98);
        padding: 14px;
      }
      .wa-main-grid {
        display: grid;
        grid-template-columns: 1.6fr 1fr;
        gap: 24px;
        align-items: start;
      }
      .wa-primary-card,
      .wa-kpi-card,
      .wa-instance-card {
        background: rgba(15,18,38,0.75);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 16px;
        transition: transform 140ms ease;
      }
      .wa-primary-card:hover,
      .wa-kpi-card:hover,
      .wa-instance-card:hover {
        transform: translateY(-1px);
      }
      .wa-primary-card {
        padding: 20px;
      }
      .wa-kpi-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
      }
      .wa-kpi-card {
        padding: 16px;
      }
      .wa-instances-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
      }
      .wa-instance-card {
        padding: 18px;
      }
      .wa-instance-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
      }
      .wa-instance-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }
      .wa-workspace-grid {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 16px;
        align-items: start;
      }
      .wa-session-header-grid {
        display: grid;
        grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr) auto;
        gap: 12px;
        align-items: start;
      }
      .wa-session-header-left {
        min-width: 0;
      }
      .wa-session-title {
        margin: 6px 0 2px;
        font-size: 24px;
      }
      .wa-session-id-row {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
      }
      .wa-session-id-mono {
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        font-size: 12px;
        color: var(--muted);
      }
      .wa-session-header-middle {
        display: grid;
        gap: 8px;
      }
      .wa-status-pills-desktop {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }
      .wa-status-mobile {
        display: none;
      }
      .wa-status-mobile summary {
        list-style: none;
        cursor: pointer;
      }
      .wa-status-mobile summary::-webkit-details-marker {
        display: none;
      }
      .wa-status-mobile-panel {
        margin-top: 6px;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 10px;
        padding: 8px;
        background: rgba(12,16,32,.97);
        display: grid;
        gap: 6px;
      }
      .wa-session-header-right {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .wa-action-group {
        display: flex;
        gap: 8px;
        align-items: center;
        padding-left: 10px;
        border-left: 1px solid rgba(255,255,255,0.08);
      }
      .wa-action-group:first-child {
        border-left: 0;
        padding-left: 0;
      }
      .wa-menu {
        position: relative;
      }
      .wa-menu summary {
        list-style: none;
        cursor: pointer;
      }
      .wa-menu summary::-webkit-details-marker {
        display: none;
      }
      .wa-menu-panel {
        position: absolute;
        right: 0;
        top: calc(100% + 6px);
        z-index: 15;
        width: 200px;
        display: grid;
        gap: 6px;
        padding: 10px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.08);
        background: rgba(12,16,32,.97);
        box-shadow: 0 8px 24px rgba(0,0,0,.35);
      }
      .wa-session-nav {
        position: sticky;
        top: 8px;
      }
      .wa-session-nav-list {
        display: grid;
        gap: 8px;
        max-height: 70vh;
        overflow: auto;
      }
      .wa-session-nav-btn {
        width: 100%;
        text-align: left;
      }
      .wa-modules-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }
      .wa-module-card {
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 12px;
        padding: 12px;
        background: rgba(255,255,255,0.02);
      }
      .wa-module-card h4 {
        margin: 0 0 6px;
      }
      .wa-module-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 10px;
      }
      @media (max-width: 1100px) {
        .wa-main-grid {
          grid-template-columns: 1fr;
        }
        .wa-kpi-grid {
          grid-template-columns: repeat(2, 1fr);
        }
        .wa-workspace-grid {
          grid-template-columns: 1fr;
        }
        .wa-session-header-grid {
          grid-template-columns: 1fr;
        }
        .wa-session-header-right {
          justify-content: flex-start;
        }
        .wa-action-group {
          border-left: 0;
          padding-left: 0;
        }
        .wa-session-nav {
          position: static;
        }
      }
      @media (max-width: 700px) {
        .wa-kpi-grid {
          grid-template-columns: 1fr;
        }
        .wa-modules-grid {
          grid-template-columns: 1fr;
        }
        .wa-sessions-table-wrap {
          display: none;
        }
        .wa-sessions-mobile-list {
          display: grid;
        }
        .wa-row-actions {
          width: 100%;
        }
        .wa-status-pills-desktop {
          display: none;
        }
        .wa-status-mobile {
          display: block;
        }
        .wa-action-group.connection-group {
          display: none;
        }
        .wa-save-group .wa-autosave-label {
          display: none;
        }
        .wa-more-mobile-only {
          display: block;
        }
      }
      .wa-more-mobile-only {
        display: none;
      }
      @media (max-width: 920px) {
        .wrap {
          padding: 16px 14px 34px;
        }
        .app-shell {
          grid-template-columns: 1fr;
          gap: 12px;
        }
        .sidebar {
          position: static;
          padding: 12px;
        }
        .sidebar-nav {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .topbar {
          padding: 14px;
          border-radius: 14px;
        }
        .topbar-logo {
          width: 72px;
          height: 72px;
        }
        .app-title {
          font-size: 25px;
        }
        .activity-head {
          flex-direction: column;
          align-items: flex-start;
        }
        .activity-heading {
          font-size: 23px;
        }
        .split {
          grid-template-columns: 1fr;
        }
        .run-detail-grid {
          grid-template-columns: 1fr;
        }
      }
      @media (max-width: 1400px) {
        .metric-grid {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }
        .activity-grid {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }
      }
      @media (max-width: 1100px) {
        .activity-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }
      @media (max-width: 1000px) {
        .metric-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }
      @media (max-width: 700px) {
        .activity-grid {
          grid-template-columns: 1fr;
        }
      }
      @media (max-width: 640px) {
        .metric-grid {
          grid-template-columns: 1fr;
        }
      }
      @media (max-width: 920px) {
        .scraper-row {
          grid-template-columns: 1fr;
          gap: 4px;
        }
      }
      @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
      }
      @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
      }
      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
          animation: none !important;
          transition: none !important;
          scroll-behavior: auto !important;
        }
      }
      .p-admin-hub-root {
        min-height: 100vh;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        background:
          radial-gradient(900px 500px at 50% -200px, rgba(120, 140, 255, 0.10), transparent 60%),
          radial-gradient(700px 400px at 0% 0%, rgba(0, 255, 200, 0.04), transparent 55%),
          radial-gradient(700px 400px at 100% 0%, rgba(255, 120, 200, 0.04), transparent 55%),
          #070a14;
      }
      .p-admin-hub-shell {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
        max-width: none;
      }
      .p-admin-hub-sidebar {
        width: 260px;
        flex-shrink: 0;
      }
      .p-admin-hub-sidebar-toggle {
        padding: 6px 9px;
      }
      .p-admin-hub-main {
        flex: 1;
        min-width: 0;
        width: 100%;
        max-width: 1680px;
        margin: 0 auto;
        padding: 24px 32px 48px;
      }
      .p-admin-hub-topbar {
        position: sticky;
        top: 12px;
        z-index: 50;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 16px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(10, 14, 30, 0.65);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 26px rgba(0, 0, 0, 0.25);
      }
      .p-admin-hub-text-xs {
        font-size: 12px;
      }
      .p-admin-hub-observability-offline {
        color: #ffb26b;
      }
      .p-admin-hub-topbar-action {
        height: 32px;
        border-radius: 999px;
        padding: 0 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.05);
      }
      .p-admin-hub-modal-wide {
        max-width: 760px;
      }
      .p-admin-hub-debug-badge {
        position: fixed;
        right: 12px;
        bottom: 12px;
        z-index: 9999;
        padding: 8px 10px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(6, 10, 24, 0.9);
        font: 12px/1.2 monospace;
        color: #dbe7ff;
        pointer-events: none;
      }
      .p-admin-hub-logs-output {
        max-height: 56vh;
        overflow: auto;
      }
      .p-admin-hub-settings-maintenance {
        margin-top: 10px;
      }
      .p-admin-hub-settings-maintenance-title {
        margin: 0 0 8px;
      }
      .p-admin-hub-settings-maintenance-copy {
        margin: 0 0 8px;
      }
      .p-admin-hub-settings-maintenance-actions {
        gap: 8px;
        flex-wrap: wrap;
      }

      /* PASS1 tranche: Dashboard + Projects inline-style extraction */
      .p-admin-hub__activity-feed-head {
        justify-content: space-between;
        align-items: center;
      }
      .p-admin-hub__activity-feed-title {
        margin: 0;
      }
      .p-admin-hub__run-title-compact {
        margin: 0;
      }
      .p-admin-hub__run-meta-tight {
        margin: 2px 0 0;
      }
      .p-admin-hub__history-title {
        margin: 0;
      }
      .p-admin-hub__history-row-actions {
        gap: 8px;
        align-items: center;
      }
      .p-admin-hub__run-meta-reset {
        margin: 0;
      }
      .p-admin-hub__activity-coming-soon-chip {
        position: absolute;
        top: 10px;
        right: 10px;
      }
      .p-admin-hub__activity-head-flat {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
      }
      .p-admin-hub__activity-heading-tight {
        margin: 0 0 4px;
      }
      .p-admin-hub__activity-copy-tight {
        margin-top: 4px;
      }
      .p-admin-hub__projects-page-chips {
        margin-top: 8px;
      }
      .p-admin-hub__muted-reset {
        margin: 0;
      }

      /* PASS1 tranche: Reviews Hub inline-style extraction */
      .p-admin-hub__rh-align-end { align-self: end; }
      .p-admin-hub__rh-gap-8 { gap: 8px; }
      .p-admin-hub__rh-gap-8-align-start { gap: 8px; align-self: flex-start; }
      .p-admin-hub__rh-gap-8-wrap { gap: 8px; flex-wrap: wrap; }
      .p-admin-hub__rh-row-between-top-wrap {
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        flex-wrap: wrap;
      }
      .p-admin-hub__rh-row-between-top-lg {
        justify-content: space-between;
        align-items: flex-start;
        gap: 14px;
      }
      .p-admin-hub__rh-mt-0 { margin-top: 0; }
      .p-admin-hub__rh-mt-6 { margin-top: 6px; }
      .p-admin-hub__rh-mt-8 { margin-top: 8px; }
      .p-admin-hub__rh-mt-10 { margin-top: 10px; }
      .p-admin-hub__rh-mt-12 { margin-top: 12px; }
      .p-admin-hub__rh-mt-8-dashed { margin-top: 8px; border-style: dashed; }
      .p-admin-hub__rh-mt-8-gap-8 { margin-top: 8px; gap: 8px; }
      .p-admin-hub__rh-mt-10-gap-14-start { margin-top: 10px; gap: 14px; align-items: flex-start; }
      .p-admin-hub__rh-mt-8-between-center {
        margin-top: 8px;
        justify-content: space-between;
        align-items: center;
      }
      .p-admin-hub__rh-mt-8-between-center-wrap {
        margin-top: 8px;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
      }
      .p-admin-hub__rh-m-0 { margin: 0; }
      .p-admin-hub__rh-m-0-align-end { margin: 0; align-self: end; }
      .p-admin-hub__rh-m-0-0-4 { margin: 0 0 4px; }
      .p-admin-hub__rh-m-0-0-6 { margin: 0 0 6px; }
      .p-admin-hub__rh-m-0-0-8 { margin: 0 0 8px; }
      .p-admin-hub__rh-m-4-0-0 { margin: 4px 0 0; }
      .p-admin-hub__rh-head-flat {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
      }
      .p-admin-hub__rh-img-profile {
        width: 88px;
        height: 88px;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid var(--line);
      }
      .p-admin-hub__rh-img-background {
        width: 148px;
        height: 88px;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid var(--line);
      }
      /* PASS1 tranche: WhatsApp templates inline-style extraction */
      .p-admin-hub__wa-label-block-mt8 { display: block; margin-top: 8px; }
      .p-admin-hub__wa-grid-main { display: grid; gap: 12px; min-width: 0; }
      .p-admin-hub__wa-flex-1 { flex: 1; }
      .p-admin-hub__wa-gap-12-wrap { gap: 12px; flex-wrap: wrap; }
      .p-admin-hub__wa-gap-8-wrap { gap: 8px; flex-wrap: wrap; }
      .p-admin-hub__wa-mt10-gap8-wrap { gap: 8px; flex-wrap: wrap; margin-top: 10px; }
      .p-admin-hub__wa-mt8-gap8-end { gap: 8px; margin-top: 8px; align-items: flex-end; }
      .p-admin-hub__wa-row-end-mt12 { justify-content: flex-end; gap: 8px; margin-top: 12px; }
      .p-admin-hub__wa-row-between { justify-content: space-between; }
      .p-admin-hub__wa-row-between-center { justify-content: space-between; align-items: center; }
      .p-admin-hub__wa-row-between-center-gap8 { justify-content: space-between; align-items: center; gap: 8px; }
      .p-admin-hub__wa-row-between-start { justify-content: space-between; align-items: flex-start; }
      .p-admin-hub__wa-row-between-start-gap10 { justify-content: space-between; align-items: flex-start; gap: 10px; }
      .p-admin-hub__wa-row-between-start-gap8 { justify-content: space-between; align-items: flex-start; gap: 8px; }
      .p-admin-hub__wa-mb-12 { margin-bottom: 12px; }
      .p-admin-hub__wa-mb-8 { margin-bottom: 8px; }
      .p-admin-hub__wa-mt-10 { margin-top: 10px; }
      .p-admin-hub__wa-mt10-gap12-wrap { margin-top: 10px; gap: 12px; flex-wrap: wrap; }
      .p-admin-hub__wa-mt10-gap8-wrap { margin-top: 10px; gap: 8px; flex-wrap: wrap; }
      .p-admin-hub__wa-pre-mt10-h160 { margin-top: 10px; max-height: 160px; overflow: auto; }
      .p-admin-hub__wa-pre-mt10-h280 { margin-top: 10px; max-height: 280px; overflow: auto; }
      .p-admin-hub__wa-mt-12 { margin-top: 12px; }
      .p-admin-hub__wa-mt-8 { margin-top: 8px; }
      .p-admin-hub__wa-mt8-gap8-wrap { margin-top: 8px; gap: 8px; flex-wrap: wrap; }
      .p-admin-hub__wa-m-0-0-10 { margin: 0 0 10px; }
      .p-admin-hub__wa-m-0-0-8 { margin: 0 0 8px; }
      .p-admin-hub__wa-m-0 { margin: 0; }
      .p-admin-hub__wa-m-4-0-0 { margin: 4px 0 0; }
      .p-admin-hub__wa-m-6-0-0 { margin: 6px 0 0; }
      .p-admin-hub__wa-m-8-0-0 { margin: 8px 0 0; }
      .p-admin-hub__wa-pre-h180 { max-height: 180px; overflow: auto; }
      .p-admin-hub__wa-scroll-h320 { max-height: 320px; overflow: auto; }
      .p-admin-hub__wa-maxw-420 { max-width: 420px; }
      .p-admin-hub__wa-card-pad10-mt10 { padding: 10px; margin-top: 10px; }
      .p-admin-hub__wa-card-pad10-mt8 { padding: 10px; margin-top: 8px; }
      .p-admin-hub__wa-card-pad12-mt12 { padding: 12px; margin-top: 12px; }
      .p-admin-hub__wa-pre-wrap-mt6 { white-space: pre-wrap; margin-top: 6px; }
      .p-admin-hub__wa-qr-img {
        width: 260px;
        height: 260px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: #fff;
        padding: 8px;
      }
