/* Consolidated Cobalt Glass styles; original cascade and vendor fallbacks retained. */
:root { color-scheme: dark; --radius: 26px; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
body { margin: 0; isolation: isolate; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
a { text-underline-offset: 4px; }
button, input, select { min-height: 44px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.16; margin-bottom: 12px; }
h2 { font-size: 1.15rem; letter-spacing: -.02em; font-weight: 600; margin-bottom: 12px; }
h3 { font-size: 1rem; }
p { margin-bottom: 16px; }
small, .muted { color: var(--muted); }
#app { position: relative; z-index: 1; min-width: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; background: #34435b; color: var(--ink); padding: 12px; border-radius: 14px; border: 1px solid var(--edge); }
.skip-link:focus { top: 8px; }
.glass-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; }
.glass-scene span { position: absolute; display: block; }
.glass-orb { border-radius: 50%; box-shadow: inset -18px -25px 42px rgba(0,0,0,.3),inset 5px 5px 14px rgba(255,245,215,.35),0 30px 70px rgba(0,0,0,.25); }
.glass-orb.amber { width: 310px; height: 310px; left: 7%; top: 12%; }
.glass-orb.smoke { width: 265px; height: 265px; right: 4%; bottom: 8%; }
.glass-ring { width: 240px; height: 240px; right: 24%; top: 25%; border: 22px solid transparent; border-radius: 50%; transform: rotate(-26deg) scaleX(.57); box-shadow: inset 2px 3px 8px rgba(0,0,0,.6),inset -2px -1px 5px rgba(255,255,255,.6),6px 10px 25px rgba(0,0,0,.25); }
.glass-ring.small { width: 95px; height: 95px; border-width: 11px; left: 9%; top: auto; bottom: 9%; transform: rotate(30deg) scaleX(.62); }
.glass-ribbon { width: 1100px; height: 310px; left: -220px; bottom: 4%; border: 1px solid rgba(225, 234, 248,.2); border-radius: 50%; transform: rotate(-24deg); }
.panel, .auth-form-area { position: relative; border-radius: var(--radius); }
.sidebar { border-radius: var(--radius); }
.topbar { position: relative; }
.panel::before, .auth-form-area::before, .sidebar::before, .topbar::before { content: ""; position: absolute; border-radius: inherit; pointer-events: none; -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite: exclude; }
.shell { min-height: 100vh; display: grid; }
.sidebar { padding: 25px 18px; display: flex; flex-direction: column; gap: 26px; align-self: start; position: sticky; top: 20px; min-height: calc(100vh - 40px); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: .02em; min-width: 0; }
.brand-mark { display: grid; place-items: center; background: linear-gradient(145deg,rgba(225, 234, 248,.16),rgba(225, 234, 248,.03)); border: 1px solid var(--edge); border-radius: 14px; width: 40px; height: 40px; font-size: 22px; flex-shrink: 0; }
.brand small { color: var(--muted); display: block; font-size: 10px; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar .nav-button { border: 1px solid transparent; color: var(--muted); text-align: left; justify-content: flex-start; padding: 11px 14px; border-radius: 24px; font-weight: 400; }
.side-label { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin: 8px 12px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-bottom p { font-size: 11px; color: var(--muted); margin: 12px; }
.topbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 24px; }
.topbar .identity { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-width: 0; }
.avatar { display: grid; place-items: center; background: linear-gradient(145deg,rgba(166, 184, 212,.27),rgba(166, 184, 212,.07)); border: 1px solid var(--edge); border-radius: 50%; width: 36px; height: 36px; font-weight: 600; flex-shrink: 0; }
.identity span { overflow-wrap: anywhere; font-size: 13px; }
.content { min-width: 0; }
.content:focus, .auth-form-area:focus { outline: none; }
.eyebrow { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }
.page-heading { margin-bottom: 28px; }
.page-heading p { color: var(--muted); }
.panel { padding: 26px; margin-bottom: 22px; min-width: 0; }
.panel p { color: var(--muted); }
.panel.accent { background: linear-gradient(140deg,rgba(166, 184, 212,.12),rgba(166, 184, 212,.035)),var(--glass); }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; align-items: start; }
.grid>.panel { margin-bottom: 0; }
.stack { display: grid; gap: 18px; }
.form { display: grid; gap: 17px; max-width: 520px; }
.form label { display: grid; gap: 7px; font-size: 13px; font-weight: 500; }
.form input, .form select { border: 1px solid rgba(225, 234, 248,.26); border-radius: 15px; padding: 11px 13px; width: 100%; min-width: 0; }
select.language { border: 1px solid rgba(225, 234, 248,.26); width: 100%; }
.org-switch { border: 1px solid rgba(225, 234, 248,.26); width: 100%; min-width: 0; }
.table-scroll select { border: 1px solid rgba(225, 234, 248,.26); border-radius: 15px; width: 100%; min-width: 0; }
.form small { font-weight: 400; color: var(--muted); }
input::placeholder { color: var(--muted); opacity: .85; }
.org-switch { max-width: 100%; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(225, 234, 248,.5); border-radius: 24px; padding: 11px 18px; font-weight: 600; font-size: 13px; min-height: 44px; text-decoration: none; }
.button:hover { filter: brightness(1.07); }
.button.ghost { padding-left: 0; padding-right: 0; text-align: left; justify-content: start; }
.button.small { padding: 8px 13px; font-size: 12px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 30px; border: 1px solid rgba(166, 184, 212,.23); font-size: 11px; font-weight: 500; white-space: nowrap; }
.notice { border-radius: 17px; padding: 14px 18px; margin-bottom: 22px; border: 1px solid rgba(183,219,186,.33); overflow-wrap: anywhere; }
.notice:empty { display: none; }
.table-scroll { overflow: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 0 14px 14px; border-bottom: 1px solid var(--line); }
td { padding: 17px 14px; border-bottom: 1px solid rgba(166, 184, 212,.12); vertical-align: middle; overflow-wrap: anywhere; max-width: 350px; }
td:first-child, th:first-child { padding-left: 0; }
td:last-child, th:last-child { padding-right: 0; }
tr:last-child td { border-bottom: 0; }
.table-scroll select { max-width: 140px; padding: 7px 10px; }
.pager { display: flex; align-items: center; justify-content: end; gap: 12px; margin-top: 18px; }
.empty { padding: 28px 0; color: var(--muted); }
.org-card { display: flex; flex-direction: column; gap: 18px; min-height: 210px; }
.org-card h2 { font-size: 1.35rem; overflow-wrap: anywhere; margin-bottom: 0; }
.org-symbol { display: grid; place-items: center; width: 46px; height: 46px; background: linear-gradient(140deg,rgba(225, 234, 248,.15),rgba(225, 234, 248,.025)); border: 1px solid var(--edge); border-radius: 16px; font-size: 22px; }
.org-card .button { align-self: flex-start; margin-top: auto; }
.danger-zone { border-color: rgba(255,182,172,.35); margin-top: 24px; }
.secret { display: block; border: 1px solid var(--edge); border-radius: 15px; padding: 15px; overflow-wrap: anywhere; user-select: all; font-size: 15px; font-family: ui-monospace,monospace; letter-spacing: .04em; margin: 16px 0; }
.recovery-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 0; list-style: none; font-family: ui-monospace,monospace; font-size: 12px; overflow-wrap: anywhere; }
.key-entry { padding: 18px 0; border-bottom: 1px solid var(--line); }
.key-entry:last-child { border: 0; }
.key-entry .form { gap: 10px; }
.key-entry small { display: block; margin: 8px 0; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); margin: auto; padding: 32px; gap: 32px; }
.auth-story { grid-column: 2; grid-row: 1; padding: 12px 7%; display: flex; flex-direction: column; justify-content: space-between; position: relative; min-width: 0; color: var(--ink); }
.auth-story .brand, .auth-story .story-copy, .auth-story small { position: relative; z-index: 1; }
.story-copy { max-width: 440px; margin: 70px 0; }
.story-copy h1 { font-size: clamp(2.4rem,4vw,4rem); white-space: pre-line; letter-spacing: -.055em; line-height: 1.08; text-shadow: 0 4px 35px rgba(0,0,0,.35); }
.story-copy p { color: var(--muted); max-width: 330px; margin-top: 24px; }
.auth-story>small { color: var(--muted); font-size: 12px; }
.auth-main { grid-column: 1; grid-row: 1; padding: 0; display: flex; flex-direction: column; min-width: 0; }
.auth-tools { display: flex; justify-content: flex-start; margin-bottom: 30px; }
.auth-form-area { width: 100%; margin: auto; padding: 34px; }
.auth-form-area h1 { font-size: 2rem; }
.auth-form-area .page-heading { margin-bottom: 24px; }
.auth-form-area>.muted { margin-bottom: 28px; }
.auth-form-area .button { width: 100%; }
.auth-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 18px; }
.auth-links .button { width: auto; }
.auth-footer { margin-top: 28px; font-size: 11px; color: var(--muted); }
.language { width: auto!important; min-height: 40px; font-size: 12px; }
.status-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.status-summary h2 { margin: 0; }
.divider { height: 1px; background: var(--line); margin: 24px 0; }
.inline-form { margin-top: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media(max-width:1000px) {
  .sidebar { padding: 22px 14px; top: 14px; min-height: calc(100vh - 28px); }
  .grid { grid-template-columns: 1fr; }
  .auth-shell { padding: 28px; gap: 28px; }
  .auth-story { padding: 12px 0; }
  .auth-form-area { padding: 28px; }
  .identity span { max-width: 230px; }
}
@media(max-width:700px) {
  .shell { display: block; }
  .sidebar { position: relative; top: 0; min-height: 0; padding: 18px; gap: 16px; border-radius: 24px; }
  .sidebar .brand { font-size: 14px; }
  .sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .sidebar .nav-button { padding: 8px 11px; font-size: 12px; }
  .side-label { margin: 0 0 6px; font-size: 11px; }
  .sidebar-bottom { display: none; }
  .sidebar .org-switch { max-width: 100%; }
  .sidebar>div:has(.org-switch) { display: grid; gap: 8px; }
  .topbar { min-height: 65px; border-radius: 22px; }
  .topbar .identity { width: 100%; gap: 8px; }
  .topbar .identity span { max-width: 160px; }
  .topbar>.muted { display: none; }
  .panel { padding: 22px 18px; border-radius: 24px; }
  .auth-shell { display: flex; flex-direction: column; padding: 20px; gap: 22px; }
  .auth-story { padding: 0; display: block; }
  .auth-story .brand { margin-bottom: 22px; }
  .story-copy { margin: 0; }
  .story-copy h1 { font-size: 2rem; max-width: 400px; }
  .story-copy p, .auth-story>small { display: none; }
  .auth-main { padding: 0; min-height: 0; }
  .auth-tools { margin-bottom: 18px; justify-content: flex-end; }
  .auth-form-area { padding: 26px 22px; }
  .auth-footer { margin-top: 24px; }
  .recovery-list { grid-template-columns: 1fr; }
  .table-scroll table { min-width: 570px; }
  .row>.button { flex-shrink: 0; }
  .form input, .form select { font-size: 16px; }
  .glass-orb.amber { width: 210px; height: 210px; left: -70px; top: 20%; }
  .glass-orb.smoke { width: 180px; height: 180px; right: -50px; bottom: 12%; }
  .glass-ring { width: 170px; height: 170px; right: -45px; top: 42%; border-width: 16px; }
  .glass-ring.small { left: 0; bottom: 3%; top: auto; width: 80px; height: 80px; border-width: 9px; }
}
.page-heading { border-radius: 22px; }
@media(prefers-reduced-motion:no-preference) {
  button, a { transition: background .15s,filter .15s; }
}
@media(prefers-reduced-transparency:reduce) {
  .glass-scene { display: none; }
}
@media(forced-colors:active) {
  .glass-scene { display: none; }
  .button, .form input, .form select, .badge { border: 1px solid CanvasText; }
  .panel::before, .auth-form-area::before, .sidebar::before, .topbar::before { display: none; }
}
.shell { max-width: 1920px; margin-inline: auto; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; padding: 20px 24px; }
.workspace { min-width: 0; }
.topbar { width: 100%; margin: 0 0 22px; padding: 14px 26px; }
.content { width: 100%; max-width: none; margin: 0; padding: 0 0 32px; }
.content .form { width: 100%; max-width: 760px; }
.page-heading p { max-width: 900px; }
.auth-shell { max-width: 1360px; }
.auth-form-area { max-width: 480px; }
.panel, .auth-form-area, .sidebar, .topbar { border: 1px solid rgba(225, 234, 248, .13); backdrop-filter: blur(24px) saturate(155%); -webkit-backdrop-filter: blur(24px) saturate(155%); }
.page-heading { border: 1px solid rgba(225, 234, 248, .13); box-shadow: inset 0 1px 0 rgba(225, 234, 248, .12), var(--shadow); backdrop-filter: blur(24px) saturate(155%); -webkit-backdrop-filter: blur(24px) saturate(155%); }
.page-heading { position: relative; padding: 24px 26px; }
.panel::before, .auth-form-area::before, .sidebar::before, .topbar::before { inset: 0; padding: .5px; opacity: .43; }
.panel::after, .auth-form-area::after, .sidebar::after, .topbar::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none; }
.sidebar .nav-button { box-shadow: none; border-color: transparent; background: transparent; }
.sidebar .nav-button.active { box-shadow: inset 0 1px 0 rgba(225, 234, 248, .13), 0 5px 16px rgba(0, 0, 0, .07); }
.button.secondary { border-color: rgba(225, 234, 248, .16); box-shadow: inset 0 1px 0 rgba(225, 234, 248, .12), 0 4px 12px rgba(0, 0, 0, .08); }
.button.danger { box-shadow: none; }
.brand-mark, .org-symbol, .avatar { border-color: rgba(225, 234, 248, .19); box-shadow: inset 0 1px 0 rgba(225, 234, 248, .19), 0 5px 14px rgba(0, 0, 0, .08); }
.form input, .form select, select.language, .org-switch, .table-scroll select { box-shadow: inset 0 1px 4px rgba(0, 0, 0, .12); }
.notice { border-color: rgba(183, 219, 186, .21); }
.notice.error { border-color: rgba(255, 182, 172, .25); }
.glass-orb { filter: saturate(108%); }
.glass-orb::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(ellipse at 25% 16%, rgba(255, 255, 245, .33), transparent 40%); box-shadow: inset 0 1px 0 rgba(225, 234, 248, .24); }
.glass-ribbon { opacity: .83; }
@media (prefers-reduced-motion: no-preference) and (min-width: 701px) {
  @keyframes liquid-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(12px, -16px, 0); }
  }
}
@media (max-width: 1000px) {
  .shell { grid-template-columns: 214px minmax(0, 1fr); padding: 14px; gap: 18px; }
  .content { padding: 0 0 28px; }
  .topbar { margin: 0 0 20px; padding: 14px 20px; }
}
@media (max-width: 700px) {
  .shell { display: block; padding: 12px; }
  .topbar { margin: 14px 0 20px; padding: 13px 16px; }
  .content { padding: 0 0 25px; }
  .panel, .auth-form-area, .sidebar, .topbar, .page-heading { backdrop-filter: blur(18px) saturate(145%); -webkit-backdrop-filter: blur(18px) saturate(145%); }
  .page-heading { padding: 22px 18px; }
  .auth-form-area { max-width: 480px; }
}
.auth-form-area .page-heading { padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (prefers-reduced-transparency: reduce) {
  .panel, .auth-form-area, .sidebar, .topbar, .page-heading { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .panel::after, .auth-form-area::after, .sidebar::after, .topbar::after, .glass-scene { display: none; }
}
@media (forced-colors: active) {
  .panel, .auth-form-area, .sidebar, .topbar, .page-heading, .button, .form input, .form select, .badge { border: 1px solid CanvasText; }
  .panel::before, .auth-form-area::before, .sidebar::before, .topbar::before, .panel::after, .auth-form-area::after, .sidebar::after, .topbar::after, .glass-scene { display: none; }
}
.admin-tabs { display: flex; flex-wrap: wrap; gap: 5px; width: fit-content; max-width: 100%; margin-bottom: 22px; padding: 5px; border: 1px solid rgba(225, 234, 248, .10); border-radius: 21px; backdrop-filter: blur(20px) saturate(145%); -webkit-backdrop-filter: blur(20px) saturate(145%); }
.admin-tabs .button { padding: 10px 14px; border-radius: 16px; color: var(--muted); font-weight: 500; }
.admin-tabs .is-active { background: linear-gradient(135deg, rgba(166, 184, 212, .17), rgba(166, 184, 212, .045)); border-color: rgba(166, 184, 212, .17); color: var(--ink); box-shadow: inset 0 1px 0 rgba(225, 234, 248, .13); }
.admin-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 18px; padding: 18px 22px; }
.admin-toolbar .admin-search-form { display: flex; align-items: end; flex: 1 1 440px; gap: 12px; max-width: none; }
.admin-search-form label { flex: 1; min-width: 120px; }
.admin-search-form > .button { flex: 0 0 auto; }
.admin-toolbar > .button { min-width: 185px; }
.admin-editor-heading { display: grid; gap: 10px; margin-bottom: 24px; }
.admin-editor-heading h2 { margin: 0; font-size: 1.25rem; }
.admin-editor-heading p { margin: 0; max-width: 90ch; font-size: 13px; line-height: 1.65; }
.content .admin-glass-form { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; width: 100%; max-width: none; }
.content .admin-form-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-form-section { min-width: 0; margin: 0; padding: 20px; border: 1px solid rgba(225, 234, 248, .10); border-radius: 20px; background: linear-gradient(135deg, rgba(225, 234, 248, .035), transparent 65%), rgba(28, 37, 53, .12); }
.admin-form-section legend { max-width: 100%; padding: 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.admin-step { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-right: 9px; border-radius: 9px; font-size: 10px; font-variant-numeric: tabular-nums; }
.admin-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-field-grid label { min-width: 0; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-form-section .admin-section-hint { font-size: 12px; line-height: 1.65; margin: 0 0 18px; max-width: 88ch; }
.admin-confirmation { grid-column: 1 / -1; }
.admin-confirmation .admin-field-grid { max-width: 760px; }
.admin-form-actions { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding-top: 2px; }
.admin-form-actions > .button[type=submit] { min-width: 190px; }
.admin-glass-form input, .admin-glass-form select { min-height: 48px; border-radius: 14px; }
.admin-registry { margin-top: 22px; }
.admin-registry tbody tr { transition: background .15s; }
.admin-registry tbody tr:hover { background: rgba(225, 234, 248, .025); }
.admin-registry td { padding-block: 19px; }
.admin-danger { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255, 182, 172, .17); }
.admin-danger > h3 { margin-bottom: 8px; font-size: 14px; }
.admin-danger > p { font-size: 12px; line-height: 1.65; max-width: 90ch; }
.admin-revoke-form { margin-top: 20px; }
.admin-revoke-form .admin-form-section { border-color: rgba(255, 182, 172, .12); }
.admin-revoke-form .admin-form-actions > .button[type=submit] { border-color: rgba(255, 182, 172, .24); box-shadow: inset 0 1px 0 rgba(255, 210, 200, .07); }
.admin-tabs + .grid { margin-bottom: 22px; }
@media (max-width: 1100px) {
  .content .admin-form-columns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .admin-tabs { width: 100%; gap: 3px; border-radius: 18px; }
  .admin-tabs .button { padding: 9px 11px; font-size: 12px; }
  .admin-toolbar { padding: 18px; gap: 14px; }
  .admin-toolbar .admin-search-form { flex-basis: 100%; }
  .admin-toolbar > .button { width: 100%; }
  .admin-form-section { padding: 17px 14px; border-radius: 18px; }
  .admin-field-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .admin-form-actions { gap: 12px; }
  .admin-form-actions > .button[type=submit] { min-width: 0; flex: 1 1 100%; }
  .admin-editor-heading .badge { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-registry tbody tr { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .admin-form-section { background: #303d52; }
  .admin-tabs { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (forced-colors: active) {
  .admin-form-section, .admin-tabs { border: 1px solid CanvasText; }
  .admin-tabs .is-active { outline: 1px solid Highlight; }
}
:root { --ink: #f8faff; --muted: #d4ddeb; --paper: #1b2433; --glass: rgba(50, 64, 87, .48); --line: rgba(220, 231, 248, .13); --edge: rgba(220, 231, 248, .17); --accent: #78e2dc; --green: #78e2dc; --danger: #f4d9de; --shadow: 0 16px 44px rgba(8, 15, 27, .18); }
body { background: radial-gradient(ellipse at 80% 12%, rgba(124, 145, 179, .13), transparent 52%), var(--paper); }
::selection { background: rgba(82, 207, 202, .32); color: #fff; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
.glass-orb.amber { background: radial-gradient(circle at 28% 23%, #e7edf6, #a1b0c6 18%, #647691 49%, #303e55 85%); }
.glass-orb.smoke { background: radial-gradient(circle at 28% 23%, #f2f5fb, #bbc5d5 25%, #7989a3 59%, #384861 87%); }
.glass-ring { background: linear-gradient(#1b2433, #1b2433) padding-box,
    conic-gradient(from 25deg, #f4f7ff, #b6c5dc 14%, #5a7094 32%, #d8e3f6 49%, #4c617e 64%, #f1f5fd 80%, #8092af) border-box; }
.glass-ribbon { border-color: rgba(212, 225, 245, .14); background: linear-gradient(180deg, transparent, rgba(218, 229, 246, .035) 30%,
    rgba(167, 188, 221, .17) 49%, rgba(218, 229, 246, .035) 51%, transparent 63%); }
.glass-orb.amber, .glass-orb.smoke { animation: none; }
.panel, .sidebar, .topbar, .auth-form-area, .admin-editor { background: linear-gradient(125deg, rgba(232, 239, 252, .065), transparent 48%, rgba(178, 197, 226, .045)), var(--glass); border-color: rgba(220, 231, 248, .15); box-shadow: inset 0 1px 0 rgba(242, 247, 255, .10), var(--shadow); }
.page-heading { background: linear-gradient(125deg, rgba(232, 239, 252, .035), transparent 65%), rgba(27, 36, 52, .62); border-color: rgba(220, 231, 248, .13); }
.panel::before, .auth-form-area::before, .sidebar::before, .topbar::before { background: linear-gradient(135deg, rgba(239, 245, 255, .65), transparent 26%, transparent 64%, rgba(191, 211, 240, .38) 84%, transparent); }
.panel::after, .auth-form-area::after, .sidebar::after, .topbar::after { background: radial-gradient(ellipse at 12% 0%, rgba(236, 243, 255, .045), transparent 54%),
    linear-gradient(115deg, transparent 8%, rgba(227, 238, 255, .024) 30%, transparent 49%); }
.brand-mark, .org-symbol, .avatar { color: var(--ink); }
.sidebar .nav-button.active, .admin-tabs .button.is-active { background: linear-gradient(135deg, rgba(182, 201, 231, .18), rgba(144, 167, 203, .065)); border-color: rgba(221, 233, 251, .23); color: var(--ink); }
.button { color: #fff; background: linear-gradient(180deg, rgba(237, 245, 255, .10), transparent 60%), linear-gradient(135deg, #50617e, #3d4d68); border-color: rgba(218, 233, 255, .26); box-shadow: inset 0 1px 0 rgba(241, 247, 255, .18), 0 5px 16px rgba(8, 15, 27, .14); }
.button.secondary { color: #fff; background: linear-gradient(140deg, rgba(231, 239, 255, .075), rgba(231, 239, 255, .015)), rgba(43, 56, 77, .30); }
.button.ghost { color: var(--ink); background: transparent; border-color: transparent; box-shadow: none; }
.button.danger { color: var(--ink); background: rgba(143, 72, 90, .13); border-color: rgba(231, 160, 174, .24); }
.button:not(:disabled):hover, .sidebar .nav-button:hover, .admin-tabs .button:hover { color: #fff; border-color: rgba(105, 224, 215, .55); background: linear-gradient(125deg, rgba(80, 211, 203, .17), rgba(80, 211, 203, .05)), rgba(52, 69, 91, .38); box-shadow: inset 0 1px 0 rgba(165, 246, 239, .14), 0 0 18px rgba(72, 209, 200, .075); filter: none; }
.button:not(:disabled):active { box-shadow: inset 0 1px 5px rgba(7, 22, 35, .18); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.form input, .form select, select.language, .org-switch, .table-scroll select { color: #fff; background: linear-gradient(145deg, rgba(220, 233, 255, .035), transparent), rgba(23, 33, 49, .34); border-color: rgba(220, 233, 252, .19); }
.form input:hover, .form select:hover, .org-switch:hover, select.language:hover { border-color: rgba(105, 224, 215, .42); }
.form input:focus, .form select:focus { border-color: var(--accent); }
select option { background: #303e55; color: #fff; }
.badge, .badge.owner, .badge.admin { color: #f8faff; background: rgba(180, 200, 229, .12); border-color: rgba(218, 231, 250, .17); }
.badge.expired, .badge.revoked { color: #f8faff; background: rgba(169, 88, 109, .12); border-color: rgba(228, 160, 176, .22); }
.notice { color: #f8faff; background: rgba(113, 169, 179, .13); }
.notice.error { color: #fff; background: rgba(153, 76, 101, .16); }
.secret { color: #fff; background: rgba(21, 31, 47, .76); }
.admin-tabs { background: linear-gradient(115deg, rgba(232, 242, 255, .04), transparent), rgba(28, 38, 55, .30); }
.admin-confirmation { background: rgba(24, 34, 51, .24); }
.admin-step { background: rgba(185, 205, 234, .12); color: #fff; }
.admin-revoke-form .admin-form-actions > .button[type=submit] { color: #fff; background: rgba(142, 72, 92, .14); }
.admin-danger > h3 { color: #fff; }
.admin-registry tbody tr.is-selected { background: rgba(182, 204, 237, .085); }
.panel.is-pointer-surface, .page-heading.is-pointer-surface, .topbar.is-pointer-surface, .sidebar.is-pointer-surface, .admin-form-section.is-pointer-surface, .admin-tabs.is-pointer-surface, .auth-form-area.is-pointer-surface { border-color: rgba(111, 225, 216, .30); }
.cursor-light { position: fixed; top: 0; left: 0; width: 280px; height: 280px; border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; background: radial-gradient(circle, rgba(62, 221, 207, .23), rgba(62, 221, 207, .075) 38%, transparent 69%); transition: opacity .16s ease; }
.cursor-light.is-visible { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .button, input, select, .panel, .page-heading, .admin-form-section, .admin-tabs { transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
  .reveal-ready { transition: opacity .28s ease var(--reveal-delay, 0ms), transform .34s cubic-bezier(.2, .65, .3, 1) var(--reveal-delay, 0ms), border-color .16s ease; }
  .reveal-ready:not(.reveal-visible) { opacity: 0; transform: translate3d(0, 9px, 0); }
  .reveal-ready.reveal-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .cursor-light { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready { opacity: 1; transform: none; transition: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .panel, .sidebar, .topbar, .auth-form-area, .page-heading, .admin-editor { background: #303d52; }
}
@media (prefers-reduced-transparency: reduce) {
  .panel, .sidebar, .topbar, .auth-form-area, .page-heading, .admin-editor, .admin-tabs { background: #303d52; }
  .cursor-light { display: none; }
}
@media (forced-colors: active) {
  .cursor-light { display: none; }
  .button, .panel, .page-heading, .admin-tabs, .admin-form-section { border-color: CanvasText; }
}
.admin-field-note { font-size: 12px; line-height: 1.5; font-weight: 400; }
.admin-field-note[hidden] { display: none; }
.form select:disabled, .form input:disabled { opacity: .55; cursor: default; }
.admin-toolbar > .admin-clear { min-width: auto; }
:root { --control-height: 48px; }
.form input:not([type=checkbox]):not([type=radio]), .form select:not([multiple]), select.language, .org-switch, .table-scroll select:not([multiple]) { box-sizing: border-box; height: var(--control-height); min-height: var(--control-height); padding: 11px 14px; font-size: 14px; line-height: 1.4; border-radius: 14px; }
.form select:not([multiple]), select.language, .org-switch, .table-scroll select:not([multiple]) { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, #eef7ff 50%),
    linear-gradient(135deg, #eef7ff 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; background-color: rgba(23, 33, 49, .42); }
select.language { min-width: 120px; }
@media (max-width: 700px) {
  .form input:not([type=checkbox]):not([type=radio]), .form select:not([multiple]), select.language, .org-switch, .table-scroll select:not([multiple]) { font-size: 16px; }
}
@media (forced-colors: active) {
  .form select:not([multiple]), select.language, .org-switch, .table-scroll select:not([multiple]) { appearance: auto; -webkit-appearance: auto; background-image: none; padding-right: 14px; }
}
