:root{--brand: #1f6feb;--brand-ink: #ffffff;--brand-soft: #e7f0ff;--bg: #f6f7f9;--surface: #ffffff;--surface-2: #f1f3f6;--text: #1b1f24;--muted: #5b6573;--border: #dde1e7;--danger: #c62828;--danger-soft: #fdecec;--ok: #1b7f3b;--ok-soft: #e6f5ea;--warn: #8a5a00;--warn-soft: #fff4d6;--focus: #1f6feb;--radius: 10px;--radius-sm: 6px;--shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 1px 3px rgb(16 24 40 / 10%);--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--tap: 44px;color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--brand: #4c8dff;--brand-ink: #0b1220;--brand-soft: #16233a;--bg: #0f1216;--surface: #171b21;--surface-2: #1e232b;--text: #e8ebf0;--muted: #9aa4b2;--border: #2b323c;--danger: #ff6b6b;--danger-soft: #3a1d1f;--ok: #5fd38a;--ok-soft: #173023;--warn: #ffcb6b;--warn-soft: #3a3018;--focus: #7aa7ff;color-scheme:dark}}:root[data-theme=dark]{--brand: #4c8dff;--brand-ink: #0b1220;--brand-soft: #16233a;--bg: #0f1216;--surface: #171b21;--surface-2: #1e232b;--text: #e8ebf0;--muted: #9aa4b2;--border: #2b323c;--danger: #ff6b6b;--danger-soft: #3a1d1f;--ok: #5fd38a;--ok-soft: #173023;--warn: #ffcb6b;--warn-soft: #3a3018;--focus: #7aa7ff;color-scheme:dark}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 var(--font);-webkit-text-size-adjust:100%}body{overflow-x:hidden}a{color:var(--brand)}h1,h2,h3{line-height:1.25;margin:0 0 .5rem}h1{font-size:1.5rem}h2{font-size:1.15rem}p{margin:0 0 .75rem}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.pf-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.pf-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:var(--tap);padding:0 1rem;border:1px solid transparent;border-radius:var(--radius-sm);font:inherit;font-weight:600;cursor:pointer;text-decoration:none;background:var(--brand);color:var(--brand-ink)}.pf-btn:hover{filter:brightness(1.05)}.pf-btn:disabled{opacity:.6;cursor:not-allowed}.pf-btn--secondary{background:var(--surface);color:var(--text);border-color:var(--border)}.pf-btn--ghost{background:transparent;color:var(--brand)}.pf-btn--danger{background:var(--danger);color:#fff}.pf-btn--block{width:100%}.pf-btn--small{min-height:36px;padding:0 .75rem;font-size:.9rem}.pf-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.pf-field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem}.pf-field label,.pf-legend{font-weight:600;font-size:.95rem}.pf-field input,.pf-field select,.pf-field textarea{min-height:var(--tap);padding:.5rem .75rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;width:100%}.pf-field textarea{min-height:7rem;resize:vertical}.pf-hint{color:var(--muted);font-size:.875rem}.pf-check{display:flex;align-items:flex-start;gap:.6rem;min-height:var(--tap);padding:.5rem 0}.pf-check input{width:1.15rem;height:1.15rem;margin-top:.2rem}fieldset.pf-fieldset{border:0;padding:0;margin:0 0 1rem}.pf-alert{padding:.75rem 1rem;border-radius:var(--radius-sm);margin-bottom:1rem;border:1px solid transparent}.pf-alert--error{background:var(--danger-soft);color:var(--danger);border-color:color-mix(in srgb,var(--danger) 30%,transparent)}.pf-alert--ok{background:var(--ok-soft);color:var(--ok)}.pf-alert--info{background:var(--brand-soft);color:var(--text)}.pf-badge{display:inline-block;padding:.1rem .5rem;border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:.8rem;font-weight:600;white-space:nowrap}.pf-badge--ok{background:var(--ok-soft);color:var(--ok)}.pf-badge--warn{background:var(--warn-soft);color:var(--warn)}.pf-spinner{display:grid;place-items:center;min-height:40vh;color:var(--muted)}.pf-empty{text-align:center;color:var(--muted);padding:2rem 1rem}.pf-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem;margin-bottom:1rem}.pf-card--danger{border-color:color-mix(in srgb,var(--danger) 40%,var(--border))}.pf-auth{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:1.5rem 1rem}.pf-auth .pf-card{width:100%;max-width:420px;padding:1.5rem}.pf-auth__brand{display:flex;align-items:center;gap:.6rem;margin-bottom:1.25rem;font-weight:700;font-size:1.1rem}.pf-auth__brand img{height:32px}.pf-auth__links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;margin-top:1rem;font-size:.95rem}.pf-divider{display:flex;align-items:center;gap:.75rem;color:var(--muted);font-size:.85rem;margin:1rem 0}.pf-divider:before,.pf-divider:after{content:"";flex:1;border-top:1px solid var(--border)}.pf-qr{display:grid;justify-items:center;gap:.5rem;margin:1rem 0}.pf-qr img{width:200px;height:200px;background:#fff;padding:8px;border-radius:var(--radius-sm)}.pf-secret{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;word-break:break-all;text-align:center;color:var(--muted)}.pf-shell{min-height:100vh;min-height:100dvh}.pf-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:.5rem;height:56px;padding:0 .75rem;background:var(--surface);border-bottom:1px solid var(--border)}.pf-topbar__title{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.pf-topbar__title img{height:28px;vertical-align:middle}.pf-iconbtn{display:inline-grid;place-items:center;width:var(--tap);height:var(--tap);border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text);cursor:pointer;font-size:1.35rem}.pf-iconbtn:hover{background:var(--surface-2)}.pf-nav{position:fixed;inset:56px auto 0 0;width:min(85vw,300px);z-index:30;padding:.75rem;background:var(--surface);border-right:1px solid var(--border);transform:translate(-100%);transition:transform .2s ease;overflow-y:auto;display:flex;flex-direction:column;gap:.25rem}.pf-nav[data-open=true]{transform:none}@media (max-width: 899px){.pf-nav:not([data-open=true]){visibility:hidden;transition:transform .2s ease,visibility 0s linear .2s}}.pf-scrim{position:fixed;inset:56px 0 0;z-index:25;background:#00000059}.pf-nav a{display:flex;align-items:center;min-height:var(--tap);padding:0 .75rem;border-radius:var(--radius-sm);color:var(--text);text-decoration:none;font-weight:500}.pf-nav a:hover{background:var(--surface-2)}.pf-nav a[aria-current=page]{background:var(--brand-soft);color:var(--brand);font-weight:700}.pf-nav__section{margin:.75rem .75rem .25rem;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.pf-tenant-select{margin:0 0 .5rem}.pf-main{padding:1rem;max-width:1100px;margin:0 auto}.pf-main:has(>.pf-wide){max-width:none}.pf-pagehead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem}.pf-pagehead h1{margin:0}.pf-menu{position:relative}.pf-menu__panel{position:absolute;right:0;top:calc(100% + 4px);min-width:220px;padding:.5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);z-index:40}.pf-menu__panel a,.pf-menu__panel button{display:flex;align-items:center;width:100%;min-height:var(--tap);padding:0 .75rem;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text);font:inherit;text-align:left;text-decoration:none;cursor:pointer}.pf-menu__panel a:hover,.pf-menu__panel button:hover{background:var(--surface-2)}.pf-menu__who{padding:.25rem .75rem .5rem;border-bottom:1px solid var(--border);margin-bottom:.25rem;font-size:.9rem;color:var(--muted);overflow-wrap:anywhere}@media (min-width: 900px){.pf-menu-toggle,.pf-scrim{display:none}.pf-nav{transform:none;width:240px}.pf-main{margin-left:240px;padding:1.5rem 2rem}.pf-main--wide{max-width:none}}.pf-tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--border);margin-bottom:1rem;overflow-x:auto}.pf-tabs button{min-height:var(--tap);padding:0 1rem;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}.pf-tabs button[aria-selected=true]{color:var(--brand);border-bottom-color:var(--brand)}.pf-table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.pf-table th,.pf-table td{padding:.75rem;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle}.pf-table th{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:var(--surface-2)}.pf-table tr:last-child td{border-bottom:0}.pf-table__primary{font-weight:600}.pf-table__secondary{color:var(--muted);font-size:.9rem;overflow-wrap:anywhere}.pf-table__actions{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-end}@media (max-width: 699px){.pf-table,.pf-table tbody,.pf-table tr,.pf-table td{display:block;width:100%}.pf-table{border:0;background:transparent}.pf-table thead{display:none}.pf-table tr{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.75rem;padding:.5rem .25rem}.pf-table td{border:0;padding:.4rem .75rem}.pf-table td[data-label]:not([data-label=""]):before{content:attr(data-label);display:block;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.pf-table__actions{justify-content:flex-start}}.pf-dialog{width:min(92vw,480px);max-height:90dvh;padding:0;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.pf-dialog::backdrop{background:#00000073}.pf-dialog__body{padding:1.25rem;overflow-y:auto}.pf-dialog__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;padding:.75rem 1.25rem 1.25rem}@media (max-width: 480px){.pf-dialog__actions .pf-btn{flex:1}}@media (prefers-reduced-motion: reduce){.pf-nav{transition:none}}
