/* Luca surfaces and pale outlines; scoped to the HTML account administration. */
.users-workspace{--users-line:rgba(177,217,250,.26);--users-bright:#d9edff;position:fixed;inset:var(--studio-header-height,94px) 0 0;padding:clamp(14px,2.5vw,36px) clamp(16px,4vw,64px);display:flex;align-items:center;justify-content:center;min-height:0;isolation:isolate}
.users-panel{display:flex;flex-direction:column;width:100%;max-width:1660px;height:100%;max-height:1000px;min-height:0;border:1px solid rgba(177,217,250,.48);border-radius:22px;overflow:hidden;background:linear-gradient(145deg,rgba(28,67,105,.94),rgba(11,34,63,.97));box-shadow:inset 0 1px 0 #e8f5ff20,0 18px 60px #00132733;color:#edf6ff;font-size:14px}
.users-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px 18px;flex-shrink:0}
.users-eyebrow{margin:0 0 7px;font-size:10px;font-weight:700;letter-spacing:.17em;color:#a9c9e9;line-height:1.3}
.users-heading h1{margin:0;color:#fff2c9;font-size:clamp(24px,2.2vw,32px);font-weight:750;letter-spacing:-.025em;line-height:1.15}
.users-heading [data-users-summary]{margin:9px 0 0;color:#bfd5ed;font-size:13px;line-height:1.3}
.users-search{display:flex;align-items:center;gap:10px;width:min(100%,380px);padding:0 14px;border:1px solid #a7cef15c;border-radius:12px;background:#071c354d;box-shadow:inset 0 1px 4px #0013241a}
.users-search>svg{flex-shrink:0;width:20px;height:20px;fill:none;stroke:#c2e0fb;stroke-width:1.7;stroke-linecap:round}
.users-search>input{height:46px;width:100%;padding:0;border:0;border-radius:8px;background:none;color:white;font-size:14px}
.users-search:focus-within{border-color:#ffe2a6;box-shadow:0 0 0 2px #ffd87820}
.users-search>input:focus-visible{outline:0}
.users-search input::placeholder,.users-column-filters input::placeholder{color:#a6bed5;opacity:1}
.users-viewbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 28px;border-top:1px solid var(--users-line);border-bottom:1px solid var(--users-line);background:#08214142;flex-shrink:0}
.users-viewbar label,.users-footer label{display:flex;align-items:center;gap:8px;margin:0;color:#bcd2e8;font-size:12px;white-space:nowrap}
.users-viewbar select,.users-footer select{width:auto;min-width:150px;max-width:250px;height:34px;padding:4px 25px 4px 10px;border:1px solid var(--users-line);border-radius:7px;background:#143253;color:#e9f4ff;font-size:12px}
.users-viewbar button,.users-footer button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:34px;padding:5px 10px;background:#244c714d;border:1px solid var(--users-line);border-radius:7px;color:#e9f4ff;font-size:12px;box-shadow:none}
.users-viewbar button:hover,.users-footer button:hover{border-color:#dceeff;color:#fff4d5;background:#315d825e}
.users-viewbar button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.users-viewbar-spacer{flex:1}
.users-selection{font-size:12px;color:#ffe09b;font-weight:650;white-space:nowrap}
.users-table-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#759aba55 #102d50;overscroll-behavior:contain}
.users-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:left;font-size:14px}
.users-table caption{color:inherit}
.users-table th,.users-table td{height:58px;padding:10px 16px;border-bottom:1px solid rgba(177,217,250,.14);border-right:1px solid rgba(177,217,250,.08);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.users-table th:last-child,.users-table td:last-child{border-right:0}
.users-table thead{position:sticky;top:0;z-index:3;background:#204971;box-shadow:0 2px 8px #00172b26}
.users-table th{position:relative;color:#deedfa;font-size:12px;font-weight:650;height:44px;padding:0 12px;letter-spacing:.015em;border-bottom-color:var(--users-line)}
.users-table th>button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;height:44px;width:100%;padding:0 4px;background:transparent;border:0;border-radius:0;box-shadow:none;color:inherit;font-size:inherit;font-weight:inherit}
.users-table th>button span{color:#94b8d8;flex:none}
.users-table th[aria-sort=ascending]>button span,.users-table th[aria-sort=descending]>button span{color:#ffe09b}
.users-table .users-column-filters th{height:44px;padding:0 10px 9px;background:#1a3d60}
.users-column-filters input{padding:6px 9px;height:30px;background:#0c2a474d;border:1px solid #a6cdeb29;border-radius:6px;color:#edf7ff;font-size:12px}
.users-table td{color:#d6e5f5;transition:background .12s}
.users-table tbody tr:nth-child(even){background:#9bc8ef04}
.users-table tbody tr:hover{background:#a6d3fb0d}
.users-table tbody tr.is-selected{background:linear-gradient(90deg,#80c5fa23,#99c7ef12);box-shadow:inset 3px 0 #ffd878}
.users-table .users-select-cell{width:54px;padding:0;text-align:center}
.users-table input[type=checkbox],.luca-users-dialog input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;accent-color:#ffd878;cursor:pointer;vertical-align:middle}
.users-resize{position:absolute;top:0;right:0;width:8px;height:44px;cursor:col-resize;touch-action:none}
.users-resize:hover{background:#d4ebff30}
.users-identity{display:inline-flex;align-items:center;gap:12px;max-width:100%;vertical-align:middle}
.users-identity strong{overflow:hidden;text-overflow:ellipsis;color:#f3f9ff;font-size:14px;font-weight:650}
.users-avatar{position:relative;display:grid;place-items:center;flex:none;width:36px;height:36px;overflow:hidden}
.users-avatar>svg{width:23px;height:23px;fill:none;stroke:#c8dcef;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.users-avatar>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.users-avatar.has-image>svg{visibility:hidden}
.users-badge{display:inline-flex;align-items:center;gap:7px;padding:4px 9px;border:1px solid #abdbc82b;border-radius:7px;color:#bbebd4;font-size:12px;background:#82d9ac0a}
.users-badge i{width:5px;height:5px;border-radius:50%;background:#8fe1b4}
.users-badge.is-locked{color:#f4c7ba;border-color:#eeb7a930;background:#e27f600a}
.users-badge.is-locked i{background:#e7aa98}
.users-coins{color:#ffe2a1;font-weight:650}
.users-table .is-number{font-variant-numeric:tabular-nums}
.users-table .users-empty{height:220px;text-align:center;border:0;white-space:normal}
.users-empty strong,.users-empty span{display:block}.users-empty strong{font-size:17px;color:#eaf5ff}.users-empty span{margin-top:10px;font-size:13px;color:#a8c3de}
.users-status{margin:0;padding:12px 28px;border-bottom:1px solid var(--users-line);color:#d2e8ff;background:#234969;font-size:13px;flex-shrink:0}
.users-status.is-error{color:#ffe1ba;background:#523b3c;border-color:#ffe0a933}
.users-footer{display:flex;align-items:center;gap:10px;padding:12px 24px;border-top:1px solid var(--users-line);background:#0c274644;flex-shrink:0;color:#b7cfe6;font-size:12px}
.users-footer>[data-users-range]{flex:1}
.users-footer select{min-width:70px;max-width:90px}
.users-footer button{width:32px;padding:0;font-size:22px}
.users-footer [data-users-page]{min-width:45px;text-align:center;font-variant-numeric:tabular-nums}
.users-actions.studio-secondary-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;width:100%;margin:0;padding:8px 0 4px;overflow:visible}
.studio-admin .studio-appbar .users-actions button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:0;height:38px;padding:7px 16px;color:#e4f2ff;background:transparent;border:0;border-radius:7px;box-shadow:none;white-space:nowrap;font-size:13px;font-weight:500}
.studio-admin .studio-appbar .users-actions button+button:before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:1px;background:#cce5fc55;pointer-events:none}
.studio-admin .studio-appbar .users-actions button:hover{color:#ffe3a7;background:#addcff0b;box-shadow:none}
.users-actions svg{display:block;flex:none;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.luca-users-dialog{width:min(720px,94vw);max-width:720px;max-height:90dvh;padding:0;border:1px solid #c6e4ff96;border-radius:20px;background:linear-gradient(145deg,#204970,#102e50);box-shadow:0 24px 100px #00112599;color:#edf6ff}
.luca-users-dialog::backdrop{background:#001125a6;backdrop-filter:blur(5px)}
.users-form>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 28px 18px;border-bottom:1px solid #c9e7ff30}
.users-form h2{font-size:25px;color:#fff1c8;margin:0;line-height:1.2}
.users-form>header button{font-size:25px;line-height:1;width:30px;padding:0;border:0;background:transparent;box-shadow:none}
.users-dialog-body{padding:8px 28px 20px}
.users-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.users-form label{display:block;margin:16px 0 0;color:#bfd6ec;font-size:12px;line-height:1.4}
.users-form label input,.users-form label select,.users-form label textarea{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #b1d5f44d;border-radius:9px;background:#09284780;color:white;font-size:14px;min-height:44px}
.users-form label textarea{resize:vertical}
.users-form input:focus-visible,.users-form select:focus-visible,.users-form textarea:focus-visible{outline:2px solid #ffe0a3;outline-offset:2px}
.users-form .users-check{display:flex;align-items:center;gap:10px;padding:10px 0;margin:0;color:#d4e6f7;font-size:14px}
.users-form .users-check input{display:inline-block;width:16px;height:16px;margin:0;min-height:0}
.users-help{color:#abc6df;font-size:12px;line-height:1.6;margin:14px 0 0}
.users-form fieldset{padding:0;border:0;margin:0;min-width:0}.users-form fieldset:disabled{opacity:.65}
.users-account-summary{display:flex;flex-direction:column;gap:7px;padding:16px;border:1px solid #afd4f23b;border-radius:10px;background:#70a8da0a;margin-top:14px}
.users-account-summary strong{font-size:16px;color:#f9e6b0}.users-account-summary span{font-size:13px;color:#c1d7ed;overflow-wrap:anywhere;line-height:1.5}
.users-grant-review{margin-top:18px;padding:16px;border:1px solid #ffe0a366;border-radius:10px;background:#ffe0a308;color:#ffe3a7;font-size:14px;line-height:1.5}
.users-form>footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 28px;border-top:1px solid #c6e5ff30}
.users-form>footer button{border-color:#b1d6f566;border-radius:10px;padding:11px 20px;font-size:14px}
.users-form-error{margin:0 28px 18px;color:#ffe0bb;font-size:13px;line-height:1.5}
.users-column-list{display:flex;flex-direction:column;margin-top:12px}.users-column-list>div{display:flex;align-items:center;gap:7px;border-bottom:1px solid #c6e4ff17;padding:3px 0}.users-column-list label{flex:1}.users-column-list button{width:30px;height:30px;padding:0;border-radius:7px;border-color:#afceed3b;background:transparent}
.users-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.users-workspace [hidden],.luca-users-dialog [hidden]{display:none!important}
@media(max-width:900px){.users-workspace{padding:12px}.users-panel{border-radius:15px}.users-heading{padding:18px;gap:16px}.users-search{width:300px}.users-viewbar{padding:10px 18px;gap:8px}.users-viewbar select{max-width:150px}.users-footer{padding:10px 14px}.users-heading h1{font-size:25px}}
@media(max-width:600px){.users-workspace{padding:8px}.users-heading{align-items:stretch;flex-direction:column;gap:14px;padding:16px}.users-search{width:100%;max-width:none}.users-heading h1{font-size:23px}.users-viewbar{padding:10px 14px}.users-viewbar-spacer{display:none}.users-footer{flex-wrap:wrap;gap:7px}.users-footer>label{margin-left:auto}.users-form-grid{grid-template-columns:1fr}.users-form>header,.users-dialog-body{padding-left:18px;padding-right:18px}.users-form>footer{padding:14px 18px}.users-form h2{font-size:23px}.users-actions{gap:1px;padding-right:4px;margin-right:2px}}
