:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#211a2a;background:#f7f6fa;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-width:320px}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.6}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ba8af8;outline-offset:2px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.boot-page{min-height:100svh;display:grid;place-items:center;padding:24px;background:#211028;color:#fff}.boot-card{text-align:center}.boot-card img{display:block;width:195px;max-width:70vw;margin:0 auto 22px}.boot-card p{margin:0 0 18px;color:#e4d8e9;font-size:14px}.boot-card button{background:#fff;color:#2b1934;border:0;padding:10px 18px;border-radius:9px}.boot-card noscript{display:block;margin-top:20px;color:#e4d8e9}

.login-page{position:relative;display:grid;place-items:center;min-height:100svh;padding:36px 20px;isolation:isolate;background:#211028;overflow:hidden}
.login-scene{position:absolute;inset:0;z-index:-1;overflow:hidden;background:linear-gradient(110deg,#1d0f27 5%,#371c3a 55%,#1c1024)}
.scene-photo{position:absolute;inset:-22px;background:url("/brand/admin-hero.jpg") center/cover no-repeat;filter:blur(8px) saturate(.82);opacity:.5;transform:scale(1.035)}
.login-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(24,10,35,.91),rgba(31,12,42,.65) 48%,rgba(22,10,30,.68)),radial-gradient(circle at 80% 90%,rgba(236,55,118,.27),transparent 34%)}
.scene-copy{position:absolute;left:max(5vw,32px);top:21%;z-index:1;color:#fff;max-width:510px;opacity:.62}
.scene-copy span{display:block;font-size:12px;letter-spacing:.2em;color:#ffaf50;font-weight:800;margin-bottom:30px}
.scene-copy strong{display:block;font-size:clamp(45px,5.1vw,82px);letter-spacing:-.055em;line-height:1.04;font-weight:700}
.scene-copy p{font-size:19px;line-height:1.5;max-width:330px;color:#e3d9e6}
.login-card{width:min(100%,560px);background:#fff;border-radius:25px;box-shadow:0 30px 90px rgba(15,4,25,.42);overflow:hidden}
.login-brand{height:102px;display:grid;place-items:center;background:#271330}
.login-brand img{width:208px;max-width:75%;height:auto}
.login-content{padding:34px 46px 20px}
.login-eyebrow,.eyebrow{font-size:11px;line-height:1.4;letter-spacing:.16em;font-weight:800;color:#76519c}
.login-content h1{font-size:35px;line-height:1.1;letter-spacing:-.04em;margin:12px 0 9px}
.login-intro{margin:0 0 31px;color:#777185;line-height:1.45}
.login-form{display:grid;gap:9px}
.login-form label{font-weight:700;font-size:13px;margin-top:7px;color:#3b3445}
.optional{font-weight:500;color:#9d95a5}
.field-help{font-size:11px;line-height:1.45;color:#8c8194;margin:0}
.login-form input,.grant-form input,.grant-form select,.ticket-content textarea,.ticket-content select{height:49px;width:100%;border:1px solid #ded9e6;border-radius:10px;background:#fff;color:#211a2a;padding:0 15px;transition:border-color .2s,box-shadow .2s}
.login-form input::placeholder,.grant-form input::placeholder,.ticket-content textarea::placeholder{color:#a6a0ae}
.login-form input:focus,.grant-form input:focus,.grant-form select:focus,.ticket-content textarea:focus,.ticket-content select:focus{border-color:#8e53b4;box-shadow:0 0 0 3px rgba(142,83,180,.12);outline:none}
.password-field{position:relative}
.password-field input{padding-right:70px}
.password-field button{position:absolute;right:7px;top:7px;height:35px;border:0;background:transparent;color:#755199;font-size:12px;font-weight:800;padding:0 10px}
.code-disclosure{margin:10px 0 15px}
.code-disclosure summary{color:#7851a4;font-size:13px;font-weight:700;cursor:pointer;list-style:none}
.code-disclosure summary:before{content:"▸";display:inline-block;margin-right:8px;transition:transform .2s}
.code-disclosure[open] summary:before{transform:rotate(90deg)}
.code-disclosure summary::-webkit-details-marker{display:none}
.code-disclosure label{display:block;margin:16px 0 9px}
.primary{border:0;background:linear-gradient(105deg,#ec3667,#ad2379);color:white;border-radius:10px;font-weight:750;box-shadow:0 10px 20px rgba(220,43,104,.14);padding:13px 21px;min-height:48px}
.primary:hover{filter:brightness(1.06)}
.login-submit{width:100%;min-height:52px}
.login-message{min-height:22px;margin:12px 0 0;color:#ad2855;font-size:13px}
.login-footer{border-top:1px solid #eeeaf1;text-align:center;padding:18px;color:#91899c;font-size:12px}

.app-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100svh}
.sidebar{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;background:#24132f;color:#fff;padding:28px 16px 20px;z-index:5}
.sidebar-brand{display:flex;flex-direction:column;align-items:center;gap:9px;padding:6px 8px 43px;border-bottom:1px solid rgba(255,255,255,.1)}
.sidebar-brand img{width:171px;height:auto}
.sidebar-brand span{font-size:10px;letter-spacing:.22em;font-weight:750;color:#cdbdd7}
.sidebar-group-label{font-size:10px;letter-spacing:.16em;font-weight:800;color:#a991b7;margin:28px 15px 12px}
.sidebar-group-gap{margin-top:32px}
.sidebar-nav{display:grid;gap:5px}
.sidebar-nav button{display:flex;align-items:center;gap:12px;width:100%;height:44px;border:0;border-radius:9px;background:transparent;color:#d9cbdf;text-align:left;padding:0 14px;font-size:13px;font-weight:650}
.sidebar-nav button:hover{background:rgba(255,255,255,.07);color:#fff}
.sidebar-nav button.active{background:#492b5d;color:#fff;box-shadow:inset 3px 0 #f19b4b}
.nav-icon{width:18px;text-align:center;font-size:18px;line-height:1;color:#cda9dc}
.sidebar-nav button.active .nav-icon{color:#ffba63}
.nav-badge{margin-left:auto;background:#ed3f70;color:#fff;min-width:19px;height:19px;border-radius:30px;text-align:center;line-height:19px;font-size:10px}
.sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding:20px 14px 0}
.signed-in-label{font-size:10px;letter-spacing:.16em;color:#ad96b7;font-weight:800}
.account-email{font-size:12px;color:#f9f2fb;overflow-wrap:anywhere;margin:8px 0 13px}
.signout-button{border:0;background:none;color:#ffc17b;font-size:12px;font-weight:750;padding:0}
.signout-button span{margin-left:4px}
.main-area{min-width:0}
.topbar{height:69px;background:#fff;border-bottom:1px solid #ece8ee;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}
.topbar-title{font-weight:800;font-size:15px;color:#2a1b33}
.topbar-title span{font-weight:500;color:#948b9c}
.topbar-right{display:flex;align-items:center;gap:8px;color:#716b7a;font-size:12px;font-weight:700}
.status-dot{width:8px;height:8px;background:#4dbb89;border-radius:50%;box-shadow:0 0 0 4px #e4f7ee}
.menu-toggle{display:none;border:0;background:transparent;color:#281432;font-size:23px}
.page-container{max-width:1450px;margin:0 auto;padding:42px 42px 70px}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}
.page-heading h1{font-size:clamp(29px,3vw,38px);line-height:1.14;letter-spacing:-.045em;margin:8px 0 8px;color:#241a2d}
.page-heading p{color:#817989;margin:0;font-size:14px;line-height:1.5}
.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:42px;padding:10px 15px;border-radius:9px;font-weight:750;font-size:12px;white-space:nowrap}
.secondary{border:1px solid #e3dce8;background:#fff;color:#513b5e}
.secondary:hover{border-color:#bda7cc;background:#fcf9fd}
.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:20px}
.stat-card,.panel{background:#fff;border:1px solid #eae5ee;border-radius:15px;box-shadow:0 4px 20px rgba(40,20,55,.025)}
.stat-card{min-height:142px;padding:22px 25px;display:flex;flex-direction:column}
.stat-card span{font-size:13px;color:#6c6175;font-weight:650}
.stat-card strong{font-size:35px;line-height:1.1;letter-spacing:-.06em;margin:10px 0 4px;color:#281732}
.stat-card small{color:#9c95a3;font-size:11px}
.overview-grid,.system-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.panel{padding:24px}
.panel h2{font-size:18px;letter-spacing:-.025em;margin:0 0 7px}
.panel p{color:#88808e;font-size:13px;line-height:1.5;margin:0}
.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:19px}
.text-link{border:0;background:none;color:#8752a0;font-size:12px;font-weight:800;white-space:nowrap;padding:4px 0}
.text-link:hover{text-decoration:underline}
.overview-list:empty:after,.activity-list:empty:after,.ticket-list:empty:after,.usage-list:empty:after{content:"No data yet.";display:block;color:#968d9b;font-size:13px;padding:17px 0}
.gallery-loading{padding:30px 0;color:#817989;font-size:14px}
.gallery-workspace{display:block;width:100%;min-height:560px;border:0;background:transparent}
.workspace-dialog{width:min(440px,calc(100vw - 32px));border:1px solid #eae5ee;border-radius:16px;padding:26px;background:#fff;color:#241a2d;box-shadow:0 25px 80px #24122f40}
.workspace-dialog::backdrop{background:#1e0d2aaa}
.workspace-dialog h2{font-size:21px;letter-spacing:-.025em;margin:0 0 10px}
.workspace-dialog p{color:#746b7d;line-height:1.5;font-size:14px;margin:0 0 21px}
.workspace-dialog textarea{width:100%;border:1px solid #e3dce8;border-radius:9px;padding:12px;resize:none;color:#241a2d;margin-bottom:18px}
.workspace-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.overview-row,.activity-row,.usage-row,.service-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-top:1px solid #f1edf3;font-size:13px}
.overview-row:first-child,.activity-row:first-child,.usage-row:first-child,.service-row:first-child{border-top:0}
.overview-row strong,.activity-row strong,.usage-row strong,.service-row strong{display:block;font-size:13px;color:#302239;font-weight:750;overflow-wrap:anywhere}
.overview-row small,.activity-row small,.usage-row small{display:block;color:#9b91a3;margin-top:5px;font-size:11px}
.pill{display:inline-flex;align-items:center;background:#f2e8f7;color:#7c4793;border-radius:30px;padding:6px 10px;font-size:10px;font-weight:800;text-transform:capitalize;white-space:nowrap}
.pill.active{background:#e7f7ef;color:#23825c}
.pill.suspended,.pill.expired{background:#fff0ef;color:#c55450}
.table-panel{padding:0}
.table-tools{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #eee9f1;padding:21px 24px;color:#9a91a1;font-size:12px}
.table-tools span:first-child{color:#3b2a45;font-weight:800}
.scroll{overflow:auto}
table{width:100%;border-collapse:collapse;text-align:left;min-width:620px}
th{color:#8e8397;font-size:11px;letter-spacing:.07em;text-transform:uppercase;font-weight:800;background:#fcfbfd}
td,th{padding:18px 22px;border-bottom:1px solid #f0ebf2}
tbody tr:last-child td{border-bottom:0}
td{font-size:13px;color:#44384d;overflow-wrap:anywhere}
td:first-child{font-weight:700}
.row-action{border:1px solid #e5d7ec;border-radius:8px;background:#faf6fc;color:#764690;padding:8px 11px;font-size:11px;font-weight:800;white-space:nowrap}
.row-action:hover{background:#f1e5f7}
.form-panel{max-width:960px;padding:30px}
.grant-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px;margin-top:27px}
.grant-form label{display:grid;gap:9px;font-size:12px;font-weight:750;color:#4d4055}
.grant-form label small{display:inline;color:#aaa0af;font-weight:500}
.checkbox-row{display:flex;align-items:center;gap:9px}
.checkbox-row input{height:auto;width:auto}
.grant-form input,.grant-form select{font-size:13px}
.form-action{display:flex;align-items:end}
.form-action .primary{min-width:165px}
.computer-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.computer-form{display:grid;gap:10px;padding:0 0 24px;border-bottom:1px solid #f0ebf2}
.computer-form label{font-size:12px;font-weight:750;color:#4d4055}
.computer-form input,.computer-form select,.computer-rename input{width:100%;height:45px;border:1px solid #ded9e6;border-radius:9px;background:#fff;color:#211a2a;padding:0 13px}
.computer-form .primary{justify-self:start;margin-top:7px}
.created-key{display:grid;gap:10px;margin:20px 0;padding:15px;border:1px solid #e4cde9;border-radius:10px;background:#fcf7ff;font-size:12px;color:#4c2d60}
.created-key code{display:block;overflow-wrap:anywhere;font-size:12px;color:#211a2a}
.computer-list{font-size:13px;color:#968d9b}
.computer-list:empty{padding:19px 0}
.computer-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid #f0ebf2}
.computer-row:last-child{border-bottom:0}
.computer-row>div:first-child{min-width:0;flex:1}
.computer-row strong{display:block;color:#302239;font-size:13px;overflow-wrap:anywhere}
.computer-row small{display:block;margin-top:5px;color:#978d9d;font-size:11px}
.computer-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.computer-actions .button,.computer-rename .button{min-height:35px;font-size:11px;padding:7px 10px}
.computer-rename{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.computer-rename input{flex:1 1 180px;height:36px}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.settings-wide{grid-column:1/-1}
.settings-value{margin:17px 0 7px;color:#302239;font-weight:750;overflow-wrap:anywhere}
.settings-note{margin-bottom:20px!important}
.settings-form{display:grid;gap:10px;max-width:460px;margin-top:20px}
.settings-form label{font-size:12px;font-weight:750;color:#4d4055}
.settings-form label small{color:#958b9b;font-weight:500}
.settings-form input{height:45px;width:100%;border:1px solid #ded9e6;border-radius:9px;background:#fff;color:#211a2a;padding:0 13px}
.settings-form .primary,.settings-form .button{justify-self:start;margin-top:8px}
.mfa-pending{display:grid;gap:12px;margin-top:20px;padding:20px;border-radius:11px;background:#faf7fc}
.mfa-pending img{width:220px;max-width:100%;height:auto;background:#fff;padding:8px;border-radius:8px}
.mfa-pending code{display:block;overflow-wrap:anywhere;font-size:13px;color:#341d42;letter-spacing:.08em}
.ticket-list details{border-top:1px solid #eee8f0;padding:18px 0}
.ticket-list details:first-child{border-top:0}
.ticket-list summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:750;font-size:13px}
.ticket-list summary span{color:#968b9e;font-weight:500;font-size:11px}
.ticket-content{padding:18px 0 3px;display:grid;gap:14px}
.ticket-content p{background:#f8f5fa;padding:13px;border-radius:8px;color:#554b5d}
.ticket-content textarea{height:auto;min-height:100px;padding:13px;resize:vertical}
.ticket-actions{display:flex;gap:9px;flex-wrap:wrap}
.ticket-actions button,.ticket-actions select{min-height:39px;border-radius:8px;padding:7px 12px}
.ticket-actions button{border:1px solid #d9c6e1;background:#f8f0fb;color:#73448a;font-size:12px;font-weight:750}
.ticket-actions select{width:auto}
.service-row span:last-child{font-weight:750;color:#6a4d79}
.toast{position:fixed;right:25px;bottom:25px;max-width:min(390px,calc(100vw - 40px));background:#2c1b36;color:white;border-radius:11px;padding:14px 19px;box-shadow:0 14px 40px #24122f33;z-index:30;font-size:13px}
.toast.error{background:#a3264f}
.nav-shade{display:none}
@media(max-width:1050px){.overview-grid,.computer-layout,.settings-grid{grid-template-columns:1fr}.page-container{padding:34px 26px 60px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;width:265px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.nav-shade:not([hidden]){display:block;position:fixed;inset:0;background:#1e0d2aaa;z-index:4}.menu-toggle{display:block}.topbar{height:60px;padding:0 18px}.topbar-right{display:none}.page-container{padding:28px 18px 50px}.page-heading{align-items:flex-start}.stats-grid{gap:9px}.stat-card{padding:17px 13px;min-height:129px}.stat-card strong{font-size:28px}.stat-card span{font-size:11px}.stat-card small{font-size:10px}.system-grid{grid-template-columns:1fr}}
@media(max-width:540px){.scene-copy{display:none}.login-page{padding:18px}.login-card{border-radius:19px}.login-brand{height:82px}.login-brand img{width:165px}.login-content{padding:28px 24px 16px}.login-content h1{font-size:30px}.page-heading{display:block}.page-heading .button{margin-top:19px}.stats-grid{grid-template-columns:1fr}.stat-card{min-height:100px}.stat-card strong{font-size:29px;margin:5px 0}.overview-grid{gap:13px}.panel{padding:19px}.table-panel{padding:0}.table-tools{padding:18px}.table-tools span:last-child{display:none}.grant-form{grid-template-columns:1fr}.form-panel{padding:22px}.topbar-title span{display:none}}

.photo-viewer{width:min(1050px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #e5dfe9;border-radius:18px;background:#fff;color:#241a2d;box-shadow:0 24px 90px #1b0d2670;overflow:auto}
.photo-viewer::backdrop{background:rgba(22,10,32,.82)}
.photo-viewer button{margin:0;cursor:pointer;font:inherit}
.photo-viewer-head,.photo-viewer-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px}
.photo-viewer-head{border-bottom:1px solid #eee9f1}.photo-viewer-head div{display:flex;flex-direction:column;min-width:0}.photo-viewer-head strong{font-size:18px;overflow-wrap:anywhere}.photo-viewer-head span,.photo-viewer-foot>span{font-size:13px;color:#817989}
.photo-viewer-head button{border:1px solid #e6dfea;border-radius:9px;padding:8px 12px;background:#fff;color:#442b53}
.photo-viewer-stage{display:grid;grid-template-columns:54px minmax(0,1fr) 54px;align-items:center;min-height:min(65dvh,650px);background:#17121c;color:#fff}
.photo-viewer-media{display:grid;place-items:center;min-height:min(65dvh,650px);overflow:hidden}.photo-viewer-media img,.photo-viewer-media video{display:block;max-width:100%;max-height:min(65dvh,650px);object-fit:contain}.photo-viewer-media span{color:#d4cbd9}
.photo-viewer-arrow{border:0;background:transparent;color:#fff;font-size:42px!important;height:100%;min-height:72px}.photo-viewer-arrow:hover{background:#ffffff18}.photo-viewer-arrow:disabled{opacity:.25;cursor:default}
.photo-viewer-foot{border-top:1px solid #eee9f1}.photo-viewer-foot div{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.photo-viewer-foot button{border:1px solid #5e3576;border-radius:9px;background:#5e3576;color:#fff;padding:10px 15px;font-weight:700}.photo-viewer-foot button.danger{border-color:#f0dce1;background:#fff;color:#b84b61}
@media(max-width:640px){.photo-viewer-head,.photo-viewer-foot{padding:13px}.photo-viewer-stage{grid-template-columns:38px minmax(0,1fr) 38px;min-height:45dvh}.photo-viewer-media{min-height:45dvh}.photo-viewer-media img,.photo-viewer-media video{max-height:55dvh}.photo-viewer-arrow{font-size:30px!important}.photo-viewer-foot{align-items:flex-start;flex-direction:column}}
