:root{--theme-product-name: MRTB;--theme-app-name: MRTB;--theme-logo-path: /logo.png;--theme-logo-alt: MRTB Logo;--theme-brand-primary: #e1f3f3;--theme-brand-primary-rgb: 225 243 243;--theme-background: #f2fafa;--theme-background-rgb: 242 250 250;--theme-background-alt: #c9e3e3;--theme-background-alt-rgb: 201 227 227;--theme-text: #1c2b2b;--theme-text-rgb: 28 43 43;--theme-text-muted: #5b7171;--theme-accent: #75c7c7;--theme-accent-rgb: 117 199 199;--theme-accent-soft: #93d3d3;--theme-accent-soft-rgb: 147 211 211;--theme-accent-warm: #d59a63;--theme-accent-warm-rgb: 213 154 99;--theme-success: #4f8e6f;--theme-success-rgb: 79 142 111;--theme-danger: #c05a4c;--theme-danger-rgb: 192 90 76;--theme-info: #3b6db1;--theme-info-rgb: 59 109 177;--theme-icon-color: #5b9b9b;--theme-surface: rgba(255, 255, 255, .92);--theme-surface-rgb: 255 255 255;--theme-surface-strong: #ffffff;--theme-border: rgba(27, 44, 44, .28);--theme-shadow: 0 18px 40px rgba(27, 44, 44, .12);--theme-radius-lg: 20px;--theme-radius-md: 14px;--theme-radius-sm: 10px;--theme-font-display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;--theme-font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;--theme-text-subtle: #889a9a;--theme-accent-contrast: #1c2b2b;--theme-accent-hover: #6cb7b7;--theme-accent-active: #65abab;--theme-accent-ink: #477979;--theme-accent-subtle: rgb(var(--theme-accent-rgb) / .1);--theme-accent-subtle-border: rgb(var(--theme-accent-rgb) / .24);--theme-accent-soft-contrast: #1c2b2b;--theme-focus-ring: rgb(var(--theme-accent-rgb) / .45);--theme-hover-tint: rgb(var(--theme-accent-rgb) / .08);--theme-selected-tint: rgb(var(--theme-accent-rgb) / .14);--theme-surface-raised: var(--theme-surface-strong);--theme-divider: rgb(var(--theme-text-rgb) / .12);--theme-disabled-bg: rgb(var(--theme-text-rgb) / .08);--theme-disabled-text: rgb(var(--theme-text-rgb) / .38);--theme-shadow-sm: 0 8px 18px rgb(var(--theme-text-rgb) / .1);--theme-success-contrast: #ffffff;--theme-success-subtle: rgb(var(--theme-success-rgb) / .14);--theme-success-ink: #43795e;--theme-warning: var(--theme-accent-warm);--theme-warning-rgb: var(--theme-accent-warm-rgb);--theme-warning-contrast: #1c2b2b;--theme-warning-subtle: rgb(var(--theme-accent-warm-rgb) / .16);--theme-warning-ink: #8d6641;--theme-danger-contrast: #ffffff;--theme-danger-hover: #b15346;--theme-danger-subtle: rgb(var(--theme-danger-rgb) / .12);--theme-danger-ink: #b15346;--theme-info-contrast: #ffffff;--theme-info-subtle: rgb(var(--theme-info-rgb) / .14);--theme-info-ink: #3b6db1;--brand: var(--theme-brand-primary);--bg-sand: var(--theme-background);--bg-cream: var(--theme-background-alt);--bg-primary: var(--theme-background);--bg-secondary: var(--theme-background-alt);--bg-card: var(--theme-surface);--bg-glass: rgb(var(--theme-brand-primary-rgb) / .4);--surface: var(--theme-surface);--surface-strong: var(--theme-surface-strong);--stroke: var(--theme-border);--shadow: var(--theme-shadow);--ink: var(--theme-text);--ink-muted: var(--theme-text-muted);--text-primary: var(--theme-text);--text-secondary: var(--theme-text-muted);--text-muted: var(--theme-text-muted);--muted: var(--theme-text-muted);--accent-sea: var(--theme-accent);--accent: var(--theme-accent);--accent-primary: var(--theme-accent);--accent-secondary: var(--theme-accent-soft);--accent-soft: var(--theme-accent-soft);--accent-warm: var(--theme-accent-warm);--accent-ember: var(--theme-accent-warm);--accent-olive: var(--theme-success);--accent-success: var(--theme-success);--accent-danger: var(--theme-danger);--success: var(--theme-success);--danger: var(--theme-danger);--border-color: var(--theme-border);--shadow-color: rgb(var(--theme-text-rgb) / .12);--font-display: var(--theme-font-display);--font-body: var(--theme-font-body);--radius-lg: var(--theme-radius-lg);--radius-md: var(--theme-radius-md);--radius-sm: var(--theme-radius-sm)}.app-boot-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:var(--theme-background);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,visibility .16s ease;z-index:5000}body.app-booting{overflow:hidden}body.app-booting .app-boot-overlay{opacity:1;visibility:visible;pointer-events:auto}.app-boot-shell{display:flex;align-items:center;justify-content:center}.app-boot-spinner{width:2.6rem;height:2.6rem;border-radius:999px;border:3px solid rgb(var(--theme-text-rgb) / .14);border-top-color:var(--theme-accent);border-right-color:rgb(var(--theme-accent-rgb) / .34);animation:app-boot-spin .8s linear infinite}@keyframes app-boot-spin{to{transform:rotate(360deg)}}.themed-icon-mask{display:inline-block;width:var(--icon-size, 52px);height:var(--icon-size, 52px);flex-shrink:0;background:var(--icon-color, var(--theme-icon-color));mask-position:center;mask-repeat:no-repeat;mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;pointer-events:none}body{margin:0;font-family:var(--font-body);color:var(--ink);background:var(--bg-primary);min-height:100vh}.hidden{display:none!important}:focus-visible{outline:2px solid var(--theme-focus-ring);outline-offset:2px}.language-switcher-btn[data-active=true],.topbar .nav-links .btn.ghost{background:var(--theme-accent);border-color:transparent;color:var(--theme-accent-contrast)}.topbar #logoutBtn.btn.ghost,.topbar #logout-button.btn.ghost{background:var(--theme-danger);border-color:transparent;color:var(--theme-danger-contrast)}.page{--page-max-width: 1200px;position:relative;z-index:1;max-width:var(--page-max-width);margin:0 auto;padding:32px 24px 40px;display:flex;flex-direction:column;gap:28px}.page--workspace{--page-max-width: 1480px}.page--dense{--page-max-width: 1640px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;border-radius:16px;background:var(--surface);border:1px solid var(--stroke);box-shadow:var(--shadow);font-weight:500}.topbar-actions{display:flex;align-items:center;gap:10px 12px;flex-wrap:wrap;align-content:flex-start;justify-content:flex-end}.language-switcher{display:inline-flex;align-items:center;gap:6px}.nav-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;order:3;flex-basis:100%}.topbar-actions .user-status{order:1;justify-content:flex-end}.topbar-actions #languageSwitcher,.topbar-actions #language-switcher-mount{order:2;display:inline-flex;align-items:center}.topbar .btn{font-size:.95rem;font-weight:700;padding:12px 18px}.topbar .btn.compact,.topbar .btn.ghost.compact{padding:6px 10px;font-size:.85rem}.brand{display:flex;align-items:center;gap:12px;min-width:0;font-family:var(--font-display)}.brand-logo{width:62px;height:62px;object-fit:contain;flex:none}.brand-text{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.brand-mark{font-family:var(--font-display);font-size:1.4rem;line-height:1;letter-spacing:.08em;text-transform:uppercase}.brand-word{font-size:.9rem;font-weight:600;line-height:1.15;color:var(--theme-accent-ink);letter-spacing:.2em;text-transform:uppercase}.user-status{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:.9rem;color:var(--ink-muted)}.user-email{color:var(--theme-accent-ink);font-weight:600}.role-inline{padding:2px 8px;border-radius:999px;border:1px solid var(--stroke);font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-muted)}.btn{border-radius:999px;padding:10px 18px;border:1px solid transparent;font-weight:600;cursor:pointer;font-family:var(--font-body);transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}.btn.primary{background:var(--theme-accent);color:var(--theme-accent-contrast)}.btn.primary:hover{background:var(--theme-accent-hover)}.btn.primary:active{background:var(--theme-accent-active)}.btn.success{background:var(--theme-success);color:var(--theme-success-contrast)}.btn.warning{background:var(--theme-warning);color:var(--theme-warning-contrast)}.btn.danger{background:var(--theme-danger);color:var(--theme-danger-contrast)}.btn.danger:hover{background:var(--theme-danger-hover)}.btn.ghost{background:transparent;border-color:var(--stroke);color:var(--ink)}.btn.ghost:hover{background:var(--theme-hover-tint)}.btn.subtle{background:var(--theme-accent-subtle);border-color:var(--theme-accent-subtle-border);color:var(--theme-accent-ink)}.btn.compact{padding:6px 12px}.btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgb(var(--theme-accent-rgb) / .2)}.btn:disabled,.btn.is-disabled{background:var(--theme-disabled-bg);border-color:transparent;color:var(--theme-disabled-text);cursor:not-allowed;transform:none;box-shadow:none}.card{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--radius-lg);padding:24px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.card-header h1,.card-header h2{font-family:var(--font-display);font-size:26px;margin-bottom:8px}.card-header p{color:var(--ink-muted);line-height:1.5}.auth-gate{width:min(100%,560px);margin:8px auto 0;padding:26px 24px;border:1px solid var(--stroke);border-radius:var(--radius-md);background:rgb(var(--theme-surface-rgb) / .95);text-align:center}.auth-gate h2{margin:0 0 8px;font-family:var(--font-display)}.auth-gate-actions{margin-top:18px;display:flex;justify-content:center;gap:12px}.field{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--ink-muted)}.field input,.field select,.field textarea{border:1px solid var(--stroke);border-radius:var(--radius-sm);padding:12px 14px;font-size:15px;font-family:inherit;color:var(--ink);background:var(--surface-strong)}.field textarea{resize:vertical;min-height:90px}.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--theme-accent-subtle-border);box-shadow:0 0 0 4px rgb(var(--theme-accent-rgb) / .12)}.field input:disabled,.field select:disabled,.field textarea:disabled{background:var(--theme-disabled-bg);color:var(--theme-disabled-text);cursor:not-allowed}.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;border:1px solid var(--theme-accent-subtle-border);background:var(--theme-accent-subtle);color:var(--theme-accent-ink);font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.badge.subtle,.badge.neutral{border-color:var(--theme-divider);background:rgb(var(--theme-text-rgb) / .08);color:var(--ink-muted)}.badge.success{border-color:rgb(var(--theme-success-rgb) / .4);background:var(--theme-success-subtle);color:var(--theme-success-ink)}.badge.warning{border-color:rgb(var(--theme-warning-rgb) / .45);background:var(--theme-warning-subtle);color:var(--theme-warning-ink)}.badge.danger{border-color:rgb(var(--theme-danger-rgb) / .35);background:var(--theme-danger-subtle);color:var(--theme-danger-ink)}.badge.info{border-color:rgb(var(--theme-info-rgb) / .35);background:var(--theme-info-subtle);color:var(--theme-info-ink)}.mode-tile{min-height:220px;color:var(--ink);font-family:inherit;text-decoration:none;appearance:none;-webkit-appearance:none;border:1px solid var(--stroke);border-radius:var(--radius-md);background:var(--surface-strong);padding:20px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;cursor:pointer;transition:transform .2s ease,border-color .2s ease}.mode-tile:hover{transform:translateY(-2px);border-color:rgb(var(--theme-accent-rgb) / .45);box-shadow:0 0 0 2px rgb(var(--theme-accent-rgb) / .16),var(--theme-shadow-sm)}.mode-tile.disabled,.mode-tile:disabled{opacity:.6;cursor:not-allowed}.mode-tile-icon{width:104px;height:104px;display:grid;place-items:center;border-radius:24px;border:1px solid var(--theme-accent-subtle-border);background:linear-gradient(145deg,rgb(var(--theme-accent-rgb) / .16),rgb(var(--theme-accent-soft-rgb) / .1))}.mode-tile-icon .themed-icon-mask{--icon-size: 52px}.mode-tile-title{font-size:12px;font-weight:700;color:var(--ink)}.mode-tile-subtitle{color:var(--ink-muted);line-height:1.4;font-size:.9rem}.native-language-select{display:none}.language-select{position:relative;width:100%}.language-dropdown{position:relative;border-radius:var(--radius-sm);border:1px solid var(--stroke);background:var(--surface-strong);overflow:visible}.language-dropdown[open]{box-shadow:0 12px 24px rgb(var(--theme-accent-rgb) / .16);border-color:var(--theme-accent-subtle-border)}.language-dropdown.is-disabled{opacity:.65}.language-dropdown-trigger{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 12px;cursor:pointer;font-weight:600;font-size:.95rem;color:var(--ink)}.language-dropdown-trigger:after{content:"";width:8px;height:8px;border-right:2px solid var(--theme-accent-ink);border-bottom:2px solid var(--theme-accent-ink);transform:rotate(45deg);margin-left:auto;margin-right:2px}.language-dropdown-trigger::-webkit-details-marker{display:none}.language-dropdown-menu{display:none;position:absolute;top:calc(100% + 8px);left:-1px;right:-1px;z-index:260;gap:6px;padding:10px 12px 12px;max-height:240px;overflow:auto;border:1px solid var(--stroke);border-radius:var(--radius-sm);background:var(--surface-strong);box-shadow:var(--theme-shadow)}.language-dropdown[open] .language-dropdown-menu{display:grid}.language-dropdown-option{width:100%;border:0;background:transparent;padding:8px 10px;border-radius:10px;cursor:pointer;text-align:left;font:inherit;color:var(--ink)}.language-dropdown-option:hover{background:var(--theme-hover-tint)}.language-dropdown-option.selected{background:var(--theme-selected-tint);font-weight:600}.language-dropdown-option:disabled{opacity:.5;cursor:not-allowed}.native-hub-select{display:none}.hub-select{position:relative;width:100%}.hub-select-dropdown{position:relative;border-radius:var(--radius-sm);border:1px solid var(--stroke);background:var(--surface-strong);overflow:visible;transition:border-color .15s ease,box-shadow .15s ease}.hub-select-dropdown[open]{border-color:var(--theme-accent-subtle-border);box-shadow:0 0 0 4px rgb(var(--theme-accent-rgb) / .12)}.hub-select-dropdown.is-disabled{opacity:.6;pointer-events:none}.hub-select-trigger{appearance:none;-webkit-appearance:none;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:11px 14px;cursor:pointer;font-family:inherit;font-size:15px;font-weight:600;color:var(--ink);-webkit-text-fill-color:currentColor}.hub-select-trigger::-webkit-details-marker{display:none}.hub-select-trigger:after{content:"";flex:none;width:8px;height:8px;margin-left:8px;border-right:2px solid var(--ink-muted);border-bottom:2px solid var(--ink-muted);transform:translateY(-2px) rotate(45deg);transition:transform .15s ease}.hub-select-dropdown[open] .hub-select-trigger:after{transform:translateY(1px) rotate(-135deg)}.hub-select-placeholder{color:var(--ink-muted);font-weight:500}.hub-select-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-select-menu{display:none;position:absolute;top:calc(100% + 8px);left:-1px;right:-1px;z-index:280;gap:6px;padding:10px 12px 12px;max-height:260px;overflow:auto;border:1px solid var(--stroke);border-radius:var(--radius-sm);background:var(--surface-strong);box-shadow:var(--theme-shadow)}.hub-select-dropdown[open] .hub-select-menu{display:grid}.hub-select-option{appearance:none;-webkit-appearance:none;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;border:0;border-radius:10px;padding:9px 10px;background:transparent;color:var(--ink);cursor:pointer;font-family:inherit;font-size:15px;text-align:left;-webkit-text-fill-color:currentColor}.hub-select-option:hover{background:var(--theme-hover-tint)}.hub-select-option.selected{background:var(--theme-selected-tint);font-weight:600}.hub-select-option:disabled{opacity:.5;cursor:not-allowed}.hub-select-option-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-select-option-placeholder{color:var(--ink-muted)}.hub-select-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:4px 10px;background:rgb(var(--theme-accent-rgb) / .12);color:var(--accent);font-size:.78rem;font-weight:700}.hub-select.is-compact .hub-select-trigger{min-height:39px;padding:8px 10px;font-size:.92rem;font-weight:400;line-height:1.2}.hub-select.is-compact .hub-select-option{padding:7px 9px;font-size:.92rem;line-height:1.2}.hub-select.is-compact .hub-select-option.selected{font-weight:500}.hub-select.is-compact .hub-select-badge{padding:3px 8px;font-size:.72rem}.card:has(.hub-select-dropdown[open]){position:relative;z-index:30}.hub-list-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title nav" "secondary secondary";align-items:flex-start;gap:10px;margin-bottom:12px}.hub-list-title-wrap{grid-area:title;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.hub-list-header .hub-list-title{font-family:var(--font-display);font-size:1rem;margin:0}.hub-list-count{border-radius:999px;padding:4px 10px;border:1px solid var(--stroke);color:var(--ink-muted);font-size:.8rem;font-variant-numeric:tabular-nums}.hub-list-nav{grid-area:nav;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;justify-self:end}.hub-list-secondary{grid-area:secondary;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:28px;row-gap:10px;width:100%}.hub-list-controls{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;justify-self:end}.hub-list-header .hub-list-field{display:inline-flex;flex-direction:row;align-items:center;gap:6px;margin:0;font-size:.8rem;color:var(--ink-muted)}.hub-list-header .hub-list-field .hub-select{width:auto;min-width:132px}.btn.hub-pager-step{min-width:38px;padding-left:10px;padding-right:10px;font-size:1.1rem;line-height:1}.hub-page-info{color:var(--ink-muted);font-size:.88rem;font-variant-numeric:tabular-nums}@media(max-width:720px){.hub-list-nav{justify-self:start;justify-content:flex-start;width:100%}.hub-list-secondary{grid-template-columns:1fr}.hub-list-controls{justify-self:start;justify-content:flex-start}}.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:2000}.modal-backdrop{position:absolute;inset:0;background:rgb(var(--theme-text-rgb) / .45);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-card{position:relative;z-index:1;width:min(92vw,420px);max-height:min(86vh,720px);overflow-y:auto;background:var(--theme-surface-raised);border-radius:var(--radius-lg);border:1px solid var(--stroke);box-shadow:var(--shadow);padding:22px;display:flex;flex-direction:column;gap:12px}.modal-card h3{margin:0;font-family:var(--font-display)}.modal-card p{margin:0;color:var(--ink-muted)}.modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.global-message{position:fixed;top:calc(env(safe-area-inset-top,0px) + 12px);left:50%;transform:translate(-50%);width:min(760px,calc(100vw - 24px));padding:12px 16px;border-radius:var(--radius-md);background:var(--theme-accent-subtle);border:1px solid var(--theme-accent-subtle-border);color:var(--theme-accent-ink);font-weight:600;box-shadow:var(--shadow);z-index:3000;pointer-events:none}.global-message[data-tone=error]{background:var(--theme-danger-subtle);border-color:rgb(var(--theme-danger-rgb) / .35);color:var(--theme-danger-ink)}.global-message[data-tone=success]{background:var(--theme-success-subtle);border-color:rgb(var(--theme-success-rgb) / .35);color:var(--theme-success-ink)}.empty-state{border:1px dashed var(--stroke);border-radius:var(--radius-md);background:rgb(var(--theme-surface-rgb) / .7);padding:22px;text-align:center;color:var(--ink-muted)}.subtle{color:var(--ink-muted);font-size:13px}.footer-bar{display:flex;justify-content:center;margin-top:2px}.footer-link{font-size:.85rem;color:var(--ink-muted);text-decoration:none;border-bottom:1px solid transparent}.footer-link:hover{color:var(--theme-accent-ink);border-bottom-color:rgb(var(--theme-accent-rgb) / .45)}@media(max-width:640px){.page{padding:24px 18px 32px}.topbar{flex-direction:column;align-items:flex-start}.topbar-actions{width:100%;flex-wrap:wrap;gap:8px;justify-content:flex-end}.nav-links{width:100%;justify-content:flex-end}.user-status{width:auto;justify-content:flex-end;gap:6px;font-size:.8rem}.topbar .btn.ghost.compact,.user-status .btn.ghost.compact{padding:4px 8px;font-size:.78rem}.brand-logo{width:48px;height:48px}}:root{--particle-r: 122;--particle-g: 190;--particle-b: 191;--particle-glow-r: 208;--particle-glow-g: 236;--particle-glow-b: 236}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{overflow-x:hidden}#particle-banner{display:none}body.auth-view{font-family:Manrope,Aptos,Segoe UI Variable,Segoe UI,Arial,sans-serif;overflow:hidden;background:radial-gradient(circle at top,#ffffff8f,#fff0 34%),radial-gradient(circle at 18% 16%,rgb(var(--theme-brand-primary-rgb) / .44),rgb(var(--theme-brand-primary-rgb) / 0) 26%),linear-gradient(180deg,var(--theme-background) 0%,var(--theme-brand-primary) 44%,var(--theme-background-alt) 100%);color:var(--theme-text)}body.auth-view:before{inset:0;height:auto;background:linear-gradient(120deg,rgb(var(--theme-text-rgb) / .015),rgb(var(--theme-text-rgb) / 0) 28%),radial-gradient(circle at bottom,rgb(var(--theme-text-rgb) / .03),rgb(var(--theme-text-rgb) / 0) 42%);z-index:0}body.auth-view #particle-banner{position:fixed;display:block;inset:0;background:linear-gradient(180deg,#ffffff38,#fff0),linear-gradient(90deg,#ffffff2e,#ffffff0d 24% 76%,#ffffff2e),linear-gradient(180deg,var(--theme-background) 0%,var(--theme-brand-primary) 50%,var(--theme-background-alt) 100%);border-top:1px solid rgb(255 255 255 / .38);border-bottom:1px solid rgb(var(--theme-text-rgb) / .07);box-shadow:0 18px 40px -28px rgb(var(--theme-text-rgb) / .08),inset 0 1px #ffffff3d,inset 0 -18px 24px rgb(var(--theme-text-rgb) / .025);overflow:hidden;z-index:2}body.auth-view #particle-banner:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgb(var(--theme-accent-rgb) / 0),#ffffff57 48%,rgb(var(--theme-accent-rgb) / 0));transform:translate(-140%);animation:banner-scan 8s linear infinite;pointer-events:none}body.auth-view #particle-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgb(var(--theme-text-rgb) / .012),rgb(var(--theme-text-rgb) / .006),rgb(var(--theme-text-rgb) / .04));pointer-events:none}@keyframes banner-scan{to{transform:translate(140%)}}#particle-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}body.auth-view .page{max-width:none;margin:0;padding:0;display:block;z-index:3}body.auth-view .topbar,body.auth-view .footer-bar{display:none}body.auth-view .grid{display:block}.auth-stage{grid-column:1 / -1}body.auth-view #screensaver-overlay{position:fixed;inset:0;z-index:470;display:flex;align-items:center;justify-content:center;padding:1.25rem;background:radial-gradient(circle at center,#fff3,#fff0 32%),linear-gradient(180deg,rgb(var(--theme-text-rgb) / .02),rgb(var(--theme-text-rgb) / .06));-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}body.auth-view .login-shell{width:min(92vw,430px);display:grid;justify-items:center;gap:1rem}body.auth-view .auth-language-switcher{justify-self:end;position:relative;z-index:1}body.auth-view .auth-licenses-link{font-size:.85rem;color:rgb(var(--theme-text-rgb) / .66);text-decoration:none}body.auth-view .auth-licenses-link:hover,body.auth-view .auth-licenses-link:focus-visible{color:rgb(var(--theme-text-rgb) / .92);text-decoration:underline}body.auth-view .card-logo{width:100%;opacity:.98;filter:drop-shadow(0 18px 22px rgb(var(--theme-text-rgb) / .24)) drop-shadow(0 6px 10px rgb(255 255 255 / .34))}body.auth-view .card-logo img{width:100%;height:auto;display:block}body.auth-view .login-card{width:100%;padding:1.65rem;border:1px solid rgb(255 255 255 / .34);border-radius:14px;background:radial-gradient(circle at top left,#ffffff6b,#fff0 28%),linear-gradient(180deg,rgb(var(--theme-surface-rgb) / .82),rgb(var(--theme-brand-primary-rgb) / .52) 54%,rgb(var(--theme-background-alt-rgb) / .74));box-shadow:0 32px 72px -48px rgb(var(--theme-text-rgb) / .18),0 8px 20px rgb(var(--theme-text-rgb) / .08),0 0 0 1px rgb(var(--theme-accent-rgb) / .08),inset 0 1px #ffffff6b;position:relative;overflow:hidden}body.auth-view .login-card:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgb(var(--theme-brand-primary-rgb) / .18) 0 64px,rgb(var(--theme-brand-primary-rgb) / 0) 64px 100%),linear-gradient(180deg,#ffffff14 0 1px,#fff0 1px 100%),linear-gradient(180deg,#ffffff1f,#fff0 18%);background-size:100% 1px,100% 100%,100% 100%;background-repeat:no-repeat;pointer-events:none}body.auth-view .login-card:after{content:"";position:absolute;inset:18px;border:1px solid rgb(255 255 255 / .24);border-radius:10px;pointer-events:none}body.auth-view .login-card h1{font-family:Space Grotesk,Manrope,sans-serif;color:var(--theme-text);font-size:clamp(1.02rem,1.7vw,1.38rem);font-weight:700;line-height:1.08;letter-spacing:-.02em;text-shadow:0 10px 24px rgb(var(--theme-text-rgb) / .08)}body.auth-view .invite-intro{margin-top:.85rem;color:rgb(var(--theme-text-rgb) / .78);font-size:.94rem;line-height:1.5;position:relative;z-index:1}body.auth-view .invite-details{margin-top:1.25rem;display:grid;gap:.3rem;position:relative;z-index:1}body.auth-view .invite-details.hidden{display:none}body.auth-view .invite-details dt{font-family:Space Grotesk,Manrope,sans-serif;color:rgb(var(--theme-text-rgb) / .72);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}body.auth-view .invite-details dd{color:var(--theme-text);font-size:1rem;font-weight:600;word-break:break-all}body.auth-view .invite-details+.actions{margin-top:1.55rem}body.auth-view .actions button:disabled{opacity:.55}body.auth-view .login-form{margin-top:1.55rem;display:grid;gap:1rem;position:relative;z-index:1}body.auth-view .login-form .field{display:grid;gap:.42rem}body.auth-view .login-form .field.hidden{display:none}body.auth-view .login-form .field span{font-family:Space Grotesk,Manrope,sans-serif;color:rgb(var(--theme-text-rgb) / .72);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}body.auth-view .login-form input{width:100%;padding:1rem;border:1px solid rgb(var(--theme-accent-rgb) / .16);border-radius:10px;background:linear-gradient(180deg,rgb(var(--theme-surface-rgb) / .86),rgb(var(--theme-brand-primary-rgb) / .46));color:var(--theme-text);font:inherit;font-size:.98rem;outline:none;box-shadow:inset 0 1px #ffffff5c,0 0 0 1px #fff0;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease}body.auth-view .login-form input::placeholder{color:rgb(var(--theme-text-rgb) / .46)}body.auth-view .login-form input:focus{border-color:rgb(var(--theme-accent-rgb) / .42);background:linear-gradient(180deg,rgb(var(--theme-surface-rgb) / .94),rgb(var(--theme-brand-primary-rgb) / .58));box-shadow:0 0 0 3px rgb(var(--theme-brand-primary-rgb) / .22),0 10px 20px -18px rgb(var(--theme-accent-rgb) / .16),inset 0 1px #ffffff6b}body.auth-view .login-form input::selection{background:rgb(var(--theme-accent-rgb) / .28)}body.auth-view .actions{display:grid;gap:.65rem;margin-top:.35rem;grid-template-columns:1fr}body.auth-view .actions button{width:100%;padding:1rem;border:1px solid rgb(var(--theme-accent-rgb) / .26);border-radius:10px;background:linear-gradient(180deg,rgb(var(--theme-accent-rgb) / .92),rgb(var(--theme-accent-rgb) / .78));color:#fffffff5;font:inherit;font-weight:800;font-size:.84rem;letter-spacing:.14em;text-transform:uppercase;box-shadow:0 20px 34px -24px rgb(var(--theme-accent-rgb) / .28),inset 0 1px #ffffff38;cursor:pointer;transition:filter .18s ease,background .18s ease,box-shadow .18s ease}body.auth-view .actions button:hover,body.auth-view .actions button:focus-visible{filter:brightness(1.03);box-shadow:0 24px 38px -24px rgb(var(--theme-accent-rgb) / .42),inset 0 1px #ffffff75}body.auth-view .actions button:disabled{cursor:default;box-shadow:0 18px 30px -24px rgb(var(--theme-accent-rgb) / .24),inset 0 1px #ffffff4d}body.auth-view .login-card.is-busy .actions button{filter:saturate(.92) brightness(.96)}body.auth-view .auth-secondary{display:none}body.auth-view .auth-secondary:not(.hidden){display:block}body.auth-view .message{margin-top:1rem;min-height:1.3rem;font-size:.92rem;line-height:1.4;color:rgb(var(--theme-text-rgb) / .72);position:relative;z-index:1}body.auth-view .message.success{color:var(--theme-text)}body.auth-view .message.error{color:var(--theme-danger)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{animation:lift .6s ease both}.card:nth-child(2){animation-delay:.08s}.card:nth-child(3){animation-delay:.16s}.access-card{grid-column:1 / -1;position:relative}.role-card{grid-column:span 1}.auth-form{display:flex;flex-direction:column;gap:16px;margin-top:20px}.auth-form .actions{display:flex;gap:12px}.message{margin-top:16px;font-size:14px;color:var(--ink-muted)}.message.success{color:var(--theme-success-ink)}.message.error{color:var(--theme-danger-ink)}.access-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:20px}.access-panel.hidden{display:none}.remote-assist-back-btn{position:absolute;top:24px;right:24px;z-index:5}.remote-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}@media(min-width:1200px){.access-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:920px){.remote-mode-grid{grid-template-columns:1fr}}.access-tile{color:var(--ink);font-family:inherit;text-decoration:none;appearance:none;-webkit-appearance:none;background:var(--surface-strong);border-radius:var(--radius-md);border:1px solid var(--stroke);padding:20px 16px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;cursor:pointer;transition:transform .2s ease,border-color .2s ease}.access-tile *{color:inherit}.tile-icon{width:104px;height:104px;display:grid;place-items:center;border-radius:24px;border:1px solid rgb(var(--theme-accent-rgb) / .2);background:linear-gradient(145deg,rgb(var(--theme-accent-rgb) / .16),rgb(var(--theme-accent-soft-rgb) / .1))}.tile-icon .themed-icon-mask{--icon-size: 52px}.access-tile:hover{transform:translateY(-2px);border-color:rgb(var(--theme-accent-rgb) / .46);box-shadow:0 0 0 2px rgb(var(--theme-accent-rgb) / .16),0 10px 22px rgb(var(--theme-text-rgb) / .12)}.access-tile.disabled{opacity:.6;cursor:not-allowed}.tile-title{font-weight:700;font-size:12px}.role-row{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.role-label{color:var(--ink-muted);font-size:14px}.role-pill{padding:6px 12px;border-radius:999px;border:1px solid var(--stroke);font-size:13px;text-transform:uppercase;letter-spacing:.6px}.role-pill.owner,.role-pill.admin{background:var(--theme-selected-tint);border-color:rgb(var(--theme-accent-rgb) / .4)}.role-pill.user{background:var(--theme-warning-subtle);border-color:rgb(var(--theme-warning-rgb) / .4)}.role-pill.good{background:var(--theme-success-subtle);border-color:rgb(var(--theme-success-rgb) / .4)}.role-pill.warn{background:var(--theme-danger-subtle);border-color:rgb(var(--theme-danger-rgb) / .45)}.role-pill.neutral{background:rgb(var(--theme-text-rgb) / .05)}.subtle{margin-top:12px}.footer{display:flex;justify-content:center;font-size:13px;color:var(--ink-muted)}.modal-card{animation:lift .2s ease both}@keyframes lift{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@media(max-width:980px){.grid{grid-template-columns:1fr}.access-card,.login-card,.role-card{grid-column:span 1}}@media(max-width:640px){.actions{flex-direction:column}}@media(max-width:760px){body.auth-view .login-shell{width:min(94vw,430px);gap:.85rem}body.auth-view .login-card{padding:1.15rem;border-radius:12px}body.auth-view .login-card:after{inset:14px}body.auth-view .login-card h1{font-size:clamp(1rem,4vw,1.14rem)}}
