:root{--bg:#f6f6f8;--ink:#24242d;--muted:#858590;--line:#eaeaf0;--red:#b82c45;--red-hover:#9e243a;--green:#348168;--sidebar:#1c1c24;--shadow:0 4px 28px #24243406;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #b82c4580;outline-offset:4px}button{border:0;background:none;color:inherit}input,select{min-width:0;width:100%;border:1px solid #dfdfe7;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus{border-color:var(--red);box-shadow:0 0 0 3px #b82c4510}input:disabled{background:#f4f4f6;color:var(--muted)}input::placeholder{color:#a4a4af}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;font-weight:650;margin-bottom:10px}h2{font-size:17px;letter-spacing:-.3px;margin-bottom:0}h3{font-size:14px;margin:0}p{line-height:1.65}small{font-size:11px}[hidden]{display:none!important}.sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.eyebrow{color:var(--red);font-weight:650;font-size:10px;letter-spacing:1.8px;margin-bottom:14px}.light{color:#d697a7}.tiny-tag{font-size:10px;letter-spacing:1.2px;font-weight:600;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 17px;min-height:42px;border-radius:8px;font-size:12px;font-weight:600;transition:background .15s,transform .15s;white-space:nowrap}.button:active{transform:translateY(1px)}.primary{background:var(--red);color:#fff;box-shadow:0 3px 6px #b82c4512}.primary:hover{background:var(--red-hover)}.secondary{background:#fff;border:1px solid #dfdfe7}.secondary:hover{background:#f6f6f8}.wide{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:7px;color:#8c8c97}.icon-button:hover{background:#f0f0f4;color:var(--ink)}.text-button{display:inline-flex;align-items:center;gap:5px;color:#8e8e98;font-size:11px;padding:4px 0}.text-button:hover{color:var(--red)}.text-button .icon{width:14px;height:14px}.align-right{text-align:right}.surface{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.app-shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--sidebar);color:#ececf1;padding:32px 19px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-size:26px;font-weight:600;letter-spacing:-1px;padding:0 12px}.brand-mark{display:grid;place-items:center;background:var(--red);height:39px;width:39px;border-radius:11px;color:#fff}.brand-mark .icon{width:22px;height:22px;stroke-width:1.8}.brand-caption{display:block;font-size:8px;font-weight:500;letter-spacing:1.9px;color:#a5a5b1;margin-top:2px}.workspace{display:flex;gap:10px;align-items:center;padding:16px 10px;border:1px solid #ffffff10;background:#ffffff04;border-radius:9px;margin:35px 0 29px;font-size:11px;font-weight:550}.workspace-avatar{width:30px;height:30px;display:grid;place-items:center;background:#33333f;border:1px solid #454552;border-radius:7px;color:#d2d2df}.workspace div>span{display:block;font-size:9px;color:#828291;margin-top:4px}.workspace-dot{width:5px;height:5px;border-radius:50%;background:#76a590;margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.4px;color:#777787;padding:0 13px;margin-bottom:12px}.nav-item{width:100%;text-align:left;display:flex;align-items:center;gap:12px;padding:12px 13px;margin:3px 0;border-radius:7px;color:#9292a2;font-size:12px}.nav-item:hover{background:#ffffff07;color:#e4e4ee}.nav-item.active{background:#b82c4527;color:#f3bcc8;border:1px solid #b82c4525}.nav-count{font-size:10px;background:#b82c4533;border-radius:4px;padding:3px 6px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:40px}.pilot-card{border:1px solid #ffffff0b;background:linear-gradient(135deg,#292932,#222229);border-radius:10px;padding:16px;margin-bottom:18px}.pilot-card>.icon{width:17px;color:#c991a0;margin-right:5px}.pilot-card strong{font-size:11px;font-weight:550}.pilot-card p{font-size:10px;color:#9595a3;line-height:1.8;margin:11px 0}.pilot-card>span{font-size:8px;letter-spacing:1.1px;color:#747483}.sidebar form{margin:0}.main-shell{min-width:0}.topbar{height:83px;border-bottom:1px solid var(--line);background:#ffffffd9;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:15px}.breadcrumbs{font-size:11px;color:#9898a3;white-space:nowrap}.breadcrumbs span{padding:0 13px;color:#c7c7ce}.breadcrumbs strong{font-weight:500;color:#555563}.topbar-right{display:flex;align-items:center;gap:11px}.local-label{font-size:10px;color:#83838f;display:flex;align-items:center;gap:6px}.local-label i{width:5px;height:5px;background:var(--green);border-radius:50%}.topbar-divider{height:25px;background:var(--line);width:1px;margin:0 8px}.profile-avatar{height:34px;width:34px;border:3px solid #fff;box-shadow:0 0 0 1px #e8e0e3;border-radius:50%;display:grid;place-items:center;background:#eddee3;color:#8f4a5c;font-size:12px}.profile-name{font-size:11px;font-weight:600;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-name small{display:block;color:#9b9ba6;font-size:9px;font-weight:400;margin-top:4px}.main-content{max-width:1640px;padding:38px 38px 20px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{font-size:12px;color:#8b8b97;margin-bottom:0}.page-heading .eyebrow{margin-bottom:8px;font-size:9px;letter-spacing:1.6px}.page-heading h1{font-size:29px;margin-bottom:9px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:28px}.stat-card{padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:10px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#92929d;font-size:11px;gap:5px}.stat-icon{height:29px;width:29px;display:grid;place-items:center;background:#f7f5f7;color:#9b8690;border-radius:8px}.stat-icon.green{background:#edf6f1;color:var(--green)}.stat-icon.red{background:#fbf0f2;color:var(--red)}.stat-value{font-size:29px;letter-spacing:-1px;line-height:1.2;font-weight:600;margin:9px 0 5px}.stat-description{font-size:10px;color:#a2a2ab}.table-surface{overflow:hidden}.table-toolbar{padding:18px 21px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:3px;white-space:nowrap;background:#f6f6f8;border-radius:7px;padding:3px}.tab{font-size:10px;padding:8px 11px;color:#9393a0;border-radius:5px}.tab.selected{background:#fff;box-shadow:0 1px 3px #0000000b;color:#4d4d5b}.tab span{margin-left:4px;font-size:9px;color:#a0a0aa}.table-filters{display:flex;gap:9px;align-items:center}.search-box{display:flex;flex-direction:row;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:0 10px;height:34px;color:#a0a0aa;max-width:210px}.search-box .icon{width:15px;height:15px}.search-box input{width:150px;border:0;padding:7px 0;font-weight:400;font-size:10px;box-shadow:none}.table-filters select{width:145px;font-size:10px;padding:8px;border-color:var(--line);height:34px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{font-size:9px;font-weight:500;color:#9898a5;background:#fbfbfc;padding:13px 21px;border-bottom:1px solid var(--line)}td{padding:17px 21px;font-size:11px;border-bottom:1px solid #f1f1f5;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdfcfd}.person{display:flex;align-items:center;gap:11px}.avatar{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;font-size:11px;font-weight:600;background:#e8edf5;color:#657695}.avatar.v1{background:#f3e7ec;color:#a47184}.avatar.v2{background:#e6f0eb;color:#6b917d}.avatar.v3{background:#eee9f6;color:#8a79a4}.person strong{font-weight:550;display:block}.person small{display:block;font-size:10px;color:#a1a1ad;margin-top:4px}.subtext{display:block;margin-top:5px;color:#a0a0ac;font-size:10px}.access-badges{display:flex;gap:5px;align-items:center}.resource-badge{display:inline-flex;align-items:center;justify-content:center;height:26px;width:29px;border:1px solid #e8e8ef;border-radius:6px;background:#fafafb;color:#9696a4}.resource-badge .icon{height:14px;width:14px}.resource-badge.pending{border-style:dashed;color:#b6a4aa}.access-more{font-size:9px;color:#9a9aa4;margin-left:2px}.status{display:inline-flex;align-items:center;gap:6px;font-size:9px;background:#eef7f1;color:#53836b;border-radius:5px;padding:5px 8px;white-space:nowrap}.status i{height:4px;width:4px;border-radius:50%;background:currentColor}.status.blocked{background:#f9ecef;color:#bb687c}.status.pending{background:#f9f4ea;color:#aa8951}.status.neutral{background:#f2f2f6;color:#9595a3}.row-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center}.toggle{width:32px;height:19px;background:#d8d8df;border-radius:20px;position:relative;padding:0;flex-shrink:0}.toggle:after{content:'';position:absolute;width:13px;height:13px;top:3px;left:3px;background:#fff;border-radius:50%;box-shadow:0 1px 2px #0002}.toggle.on{background:var(--red)}.toggle.on:after{left:16px}.row-edit{font-size:10px;color:#8a8a97;padding:6px}.row-edit:hover{color:var(--red)}.table-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);font-size:9px;color:#aaaab3;padding:13px 21px}.table-footer .icon{width:12px;height:12px;margin-right:4px}.empty-state{padding:48px 25px;text-align:center}.empty-state>.icon{width:30px;height:30px;color:#b8a2aa;background:#f7eef1;padding:13px;box-sizing:content-box;border-radius:16px;margin-bottom:18px}.empty-state h3{font-size:16px;font-weight:550;margin-bottom:8px}.empty-state p{font-size:12px;color:#9898a4;max-width:380px;margin:0 auto 20px}.below-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.compact-card{padding:20px 22px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:10px}.section-heading h2{font-size:13px;font-weight:600}.mini-resource{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f1f1f4}.mini-resource:last-child{border-bottom:0;padding-bottom:0}.resource-logo{display:grid;place-items:center;height:34px;width:34px;border-radius:8px;background:#f4eff1;color:#aa6d81;flex-shrink:0}.resource-logo.discord{background:#eeeefb;color:#7c79ba}.resource-logo.sandbox{background:#edf5f1;color:#679982}.mini-resource strong{display:block;font-size:11px;font-weight:550}.mini-resource p{font-size:9px;color:#a0a0ad;margin:4px 0 0}.mini-resource>.status{margin-left:auto;font-size:8px}.activity{position:relative;display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #f1f1f4}.activity:last-child{border-bottom:0}.activity-dot{margin:5px 0 0;width:6px;height:6px;border:2px solid #c4a2ac;background:#fff;box-sizing:content-box;border-radius:50%;flex-shrink:0}.activity strong{font-size:11px;font-weight:550}.activity p{font-size:9px;color:#a0a0ab;margin:4px 0 0}.activity time{color:#aaaab4;font-size:9px;white-space:nowrap;margin-left:auto}.page-footer{display:flex;justify-content:space-between;gap:12px;margin-top:27px;font-size:9px;color:#b0b0bb}.information{display:flex;gap:12px;border:1px solid #e7e3dc;background:#faf8f3;color:#8d805c;padding:17px 20px;border-radius:10px;margin-bottom:22px}.information strong{font-size:11px;font-weight:600}.information p{font-size:11px;margin:5px 0 0;max-width:740px;color:#9c917a}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.resource-card{padding:23px;display:flex;flex-direction:column;gap:15px}.resource-card-top{display:flex;justify-content:space-between;align-items:center}.resource-card h2{font-size:16px;margin:0}.resource-card p{font-size:11px;color:#9494a0;margin:0;min-height:38px}.resource-address{font-size:10px;font-family:Consolas,monospace;color:#a7a7b1;overflow-wrap:anywhere;padding:10px;background:#fafafb;border-radius:6px}.resource-card .button{margin-top:auto}.audit-header{padding:23px 25px;border-bottom:1px solid var(--line);display:flex;gap:15px;align-items:center;justify-content:space-between}.audit-header h2{font-size:14px}.audit-header span{font-size:10px;color:#a0a0aa}.audit-row{display:flex;gap:14px;padding:18px 25px;border-bottom:1px solid var(--line)}.audit-row:last-child{border:0}.audit-row .activity-dot{margin-top:7px}.audit-main{min-width:0;flex:1}.audit-main strong{font-size:12px;font-weight:550}.audit-main p{color:#8d8d9a;font-size:11px;margin:5px 0 0;overflow-wrap:anywhere}.audit-row time{font-size:10px;color:#a2a2ac;white-space:nowrap;margin-left:auto}
dialog{border:1px solid var(--line);padding:0;color:var(--ink);box-shadow:0 30px 100px #18182426;background:#fff}dialog::backdrop{background:#14141d55;backdrop-filter:blur(3px)}.drawer{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:530px;max-width:100vw;border-radius:14px 0 0 14px}.drawer form{display:flex;flex-direction:column;min-height:100%}.dialog-header{padding:25px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-header .eyebrow{font-size:9px;margin-bottom:8px}.dialog-header h2{font-size:21px;letter-spacing:-.5px}.dialog-content{padding:25px 26px}.dialog-content>label{margin-bottom:20px}.dialog-content>.muted{font-size:12px;margin-bottom:25px}.dialog-footer{padding:20px 26px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;margin-top:auto}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:27px}.field-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.field-heading span{font-size:10px;color:#9b9ba8}.resource-check{display:flex;align-items:center;flex-direction:row;gap:11px;border:1px solid var(--line);border-radius:8px;margin:9px 0;padding:13px;font-weight:400}.resource-check input{width:16px;height:16px;padding:0;accent-color:var(--red);box-shadow:none;flex-shrink:0}.resource-check:has(input:checked){background:#fdf7f9;border-color:#dfb8c2}.resource-check strong{font-size:12px;display:block;font-weight:550}.resource-check small{font-size:10px;display:block;font-weight:400;color:#a1a1ad;margin-top:4px}.resource-check .resource-logo{margin-left:auto;width:29px;height:29px}.form-note{display:flex;align-items:flex-start;gap:9px;color:#9c9197;background:#f9f5f7;border-radius:8px;padding:13px;margin-top:23px}.form-note p{font-size:11px;margin:0}.form-note .icon{height:16px;width:16px;margin-top:2px}.form-error{background:#fbecf0;border:1px solid #f0d4dd;border-radius:8px;padding:12px 14px;color:#a53650;font-size:12px;margin:15px 0}.form-error p{margin:0}.field-hint{font-size:11px;line-height:1.7;color:#a0a0ad;margin:12px 0 0}.modal{width:480px;max-width:calc(100vw - 32px);border-radius:14px;max-height:92dvh}.modal.small{width:440px}.modal .dialog-header h2{font-size:19px}.modal .dialog-content>.muted:last-child{margin-bottom:0}.success-icon{display:grid;place-items:center;background:#edf7f1;color:var(--green);width:50px;height:50px;border-radius:15px;margin-bottom:18px}.success-icon .icon{width:26px;height:26px}.credential{padding:13px 15px;background:#f7f7fa;border:1px solid var(--line);border-radius:8px;margin-bottom:12px}.credential>span{display:block;font-size:10px;color:#a0a0ad;margin-bottom:7px}.credential strong,.credential code{font-size:16px;font-family:Consolas,monospace;font-weight:500;overflow-wrap:anywhere}.toast{position:fixed;bottom:26px;left:calc(50% + 119px);transform:translateX(-50%);background:#282832;color:#fff;padding:13px 22px;border-radius:10px;box-shadow:0 7px 30px #0002;font-size:12px;z-index:10;max-width:calc(100vw - 30px)}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:44% 56%}.auth-story{min-height:100vh;position:relative;background:radial-gradient(ellipse at 60% 70%,#572936 0,transparent 60%),#1d1c24;color:white;padding:43px 45px;overflow:hidden;display:flex;flex-direction:column}.auth-story .brand{padding:0}.auth-story-content{max-width:460px;margin:auto;padding:60px 0 30px}.auth-story-content h1{font-size:clamp(32px,3.7vw,53px);line-height:1.18;letter-spacing:-2px;font-weight:550;margin-top:22px;margin-bottom:24px}.auth-story-content>p{color:#a29aa6;font-size:14px;max-width:340px;line-height:1.8}.auth-footer{font-size:10px;color:#908592;display:flex;align-items:center;gap:8px}.status-dot{height:6px;width:6px;border-radius:50%;background:#68a086;display:inline-block;flex-shrink:0}.orbit{width:290px;height:225px;position:relative;margin:50px auto 0}.orbit:before,.orbit:after{content:'';position:absolute;border:1px solid #b7778b26;border-radius:50%;width:195px;height:195px;left:48px;top:15px}.orbit:after{width:135px;height:135px;left:78px;top:45px}.orbit-center{width:70px;height:70px;border-radius:20px;position:absolute;top:78px;left:111px;border:1px solid #9b5e7255;background:linear-gradient(145deg,#6e3648,#3a2733);box-shadow:0 10px 40px #a43b5619;display:grid;place-items:center;color:#e6b1c0}.orbit-center .icon{height:34px;width:34px;stroke-width:1.3}.orbit-chip{position:absolute;display:flex;gap:9px;align-items:center;border:1px solid #94697a36;border-radius:8px;background:#34262fdd;padding:10px 13px;color:#d2bec8;font-size:11px;box-shadow:0 7px 25px #0001}.orbit-chip .icon{width:16px;height:16px;color:#bc8b9d}.chip-one{top:12px;left:-8px}.chip-two{top:76px;right:-18px}.chip-three{bottom:2px;left:14px}.auth-main{display:flex;align-items:center;justify-content:center;background:#fff;padding:40px}.auth-form-wrap{width:365px;max-width:100%}.auth-form-wrap>h2{margin:22px 0 13px;font-size:28px;font-weight:600;letter-spacing:-.8px;line-height:1.3}.auth-form-wrap>.muted{font-size:12px;margin-bottom:27px}.auth-form{display:flex;flex-direction:column;gap:19px}.auth-form input{padding:13px}.auth-form .button{margin-top:8px;justify-content:space-between;padding:14px 17px}.auth-form .field-hint{margin:-7px 0 0}.auth-note{display:flex;gap:10px;color:#aaa1a8;font-size:10px;line-height:1.7;border-top:1px solid var(--line);margin-top:27px;padding-top:21px}.auth-note .icon{height:15px;width:15px;margin-top:2px}.lab-shell{max-width:700px;margin:70px auto;padding:0 20px}.lab-back{font-size:12px;color:#9595a0}.lab-card{padding:40px;margin-top:24px}.lab-card>p{font-size:13px}.lab-card h1{font-size:30px}.lab-status{display:flex;align-items:center;gap:12px;background:#edf6f1;border:1px solid #dceee4;border-radius:9px;padding:18px;margin:25px 0;color:#4b886b}.lab-status strong{display:block;font-size:13px}.lab-status small{display:block;font-size:11px;margin-top:6px}.lab-status.denied{color:#ae4963;background:#fbecf0;border-color:#f2d6df}.lab-status.denied .status-dot{background:#ae4963}.divider{height:1px;background:var(--line);margin:28px 0}
@media(min-width:1550px){.main-content{padding:45px 52px}.topbar{padding:0 52px}td{padding-top:20px;padding-bottom:20px}.below-grid{margin-top:28px}.compact-card{padding:24px 26px}}
@media(max-width:1180px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:28px 14px 15px}.main-content{padding:30px 23px 20px}.topbar{padding:0 23px}.stats-grid{gap:10px}.stat-card{padding:14px}.table-toolbar{align-items:flex-start;flex-direction:column}.table-filters{width:100%}.search-box{max-width:none;flex:1}.search-box input{width:100%}td,th{padding-left:14px;padding-right:14px}.below-grid{gap:14px}.compact-card{padding:17px}.mini-resource>.status{font-size:7px}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toast{left:calc(50% + 102px)}}
@media(max-width:850px){.app-shell{grid-template-columns:76px minmax(0,1fr)}.sidebar{padding:22px 11px}.brand{padding:0;justify-content:center}.sidebar .brand>span:last-child,.workspace,.nav-label,.nav-count,.pilot-card{display:none}.sidebar nav{margin-top:35px}.sidebar .nav-item{font-size:0;justify-content:center;gap:0;padding:13px}.sidebar .nav-item .icon{width:21px;height:21px}.topbar-right .local-label,.topbar-divider{display:none}.breadcrumbs{font-size:10px}.topbar{height:72px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.below-grid{grid-template-columns:1fr}.table-footer>span:last-child{display:none}.page-heading{align-items:flex-start}.page-heading h1{font-size:26px}.page-heading>.button{font-size:10px;padding:10px}.auth-shell{grid-template-columns:38% 62%}.auth-story{padding:30px 22px}.auth-story-content h1{font-size:32px}.auth-story-content>p{font-size:12px}.orbit{transform:scale(.75);transform-origin:left center;width:230px}.auth-main{padding:30px}.toast{left:calc(50% + 38px)}}
@media(max-width:590px){.topbar{padding:0 15px}.breadcrumbs{display:none}.topbar-right{margin-left:auto}.main-content{padding:25px 15px 20px}.page-heading{flex-direction:column;gap:16px}.page-heading>.button{width:100%}.table-toolbar{padding:12px}.table-filters{flex-direction:column;align-items:stretch}.table-filters select{width:100%}.search-box{max-width:100%}.tabs{width:100%;justify-content:space-between}.tab{padding:8px}.stat-card{padding:13px}.stat-top{font-size:10px}.stat-icon{width:23px;height:23px}.stat-icon .icon{width:15px;height:15px}.stat-value{font-size:25px}.stat-description{font-size:9px;line-height:1.5}.resource-grid{grid-template-columns:1fr}.information{padding:14px}.information>.icon{display:none}.information p{font-size:10px}.page-footer{flex-direction:column;gap:7px}.audit-header{display:block;padding:17px}.audit-header span{display:block;margin-top:8px}.audit-row{padding:15px;flex-wrap:wrap}.audit-row time{width:100%;margin-left:23px}.auth-shell{display:block}.auth-story{min-height:0;padding:23px}.auth-story .brand{justify-content:flex-start}.auth-story-content,.auth-footer{display:none}.auth-main{min-height:calc(100vh - 92px);padding:35px 24px}.auth-form-wrap>h2{font-size:25px}.dialog-content,.dialog-header,.dialog-footer{padding:20px}.form-columns{grid-template-columns:1fr}.lab-card{padding:25px}.lab-shell{margin-top:35px}.lab-card h1{font-size:26px}.lab-card .tiny-tag{font-size:8px}.empty-state{padding:32px 17px}.empty-state h3{font-size:14px}.empty-state p{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.extra-actions{display:flex;flex-direction:column;gap:9px}.extra-actions .button{justify-content:flex-start;font-size:11px}
.person-button{text-align:left;padding:3px;border-radius:9px;margin:-3px}.person-button:hover strong{color:var(--red)}
.profile-section-heading{margin-top:2px}.profile-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin-bottom:22px}.profile-data-grid label{font-size:10px;color:#777784;gap:6px}.profile-data-grid input{padding:9px 10px}
.future-access-section{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.future-access-caption{font-size:10px;color:#9999a5;margin:0 0 10px}.future-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.future-access-grid label{display:flex;flex-direction:row;align-items:center;gap:9px;border:1px dashed #e0e0e7;border-radius:8px;padding:10px 11px;color:#81818d;font-size:11px;font-weight:500;background:#fafafd}.future-access-grid input{width:15px;height:15px;padding:0;flex-shrink:0;accent-color:var(--red)}
@media(max-width:590px){.profile-data-grid,.future-access-grid{grid-template-columns:1fr}}

/* Wide employee editor: profile details and access settings stay visible side by side. */
.member-drawer{width:min(980px,calc(100vw - 24px));max-width:none}
.member-drawer form{height:100%;min-height:0}
.member-dialog-content{flex:1;min-height:0;overflow-y:auto;padding:22px 28px 26px}
.member-dialog-content>p.muted{margin:0 0 20px}
.member-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.94fr);gap:28px}
.member-column{min-width:0}
.member-profile-column{padding-right:28px;border-right:1px solid var(--line)}
.member-column-heading{margin:0 0 16px}
.member-column>label{margin-bottom:16px}
.member-column>.form-columns{margin-bottom:12px}
.member-column>.field-hint{margin:0}
.member-section{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.member-section .profile-data-grid{margin-bottom:0}
.member-access-column .future-access-section{margin-top:20px;padding-top:20px}
.member-access-column .form-note{margin-top:18px}
.member-drawer .dialog-footer{margin-top:0}
@media(max-width:900px){.member-drawer{width:min(680px,100vw)}.member-layout{grid-template-columns:1fr;gap:24px}.member-profile-column{padding-right:0;border-right:0}.member-access-column{padding-top:22px;border-top:1px solid var(--line)}}

/* Private employee card and corporate access matrix. */
textarea{min-width:0;width:100%;resize:vertical;border:1px solid #dfdfe7;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);outline:none;font:inherit;line-height:1.5}textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px #b82c4510}.profile-data-grid .field-wide{grid-column:1/-1}.profile-links{margin-top:18px;border:1px solid var(--line);border-radius:10px;background:#fbfbfc}.profile-links summary{cursor:pointer;padding:13px 15px;font-size:11px;font-weight:600;color:#6f6f7b}.profile-links[open] summary{border-bottom:1px solid var(--line)}.profile-links .profile-data-grid{padding:14px;margin:0}.corporate-access-section{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}.corporate-access-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.corporate-access-group{min-width:0;margin:0;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fbfbfc}.corporate-access-group legend{padding:0 5px;color:#777784;font-size:9px;font-weight:700;letter-spacing:.7px;text-transform:uppercase}.corporate-access-group>div{display:grid;gap:5px}.corporate-access-group label{display:flex;flex-direction:row;align-items:center;gap:8px;padding:7px 8px;border-radius:6px;font-size:10px;font-weight:500;color:#666673;cursor:pointer}.corporate-access-group label:hover{background:#fff}.corporate-access-group label:has(input:checked){background:#f9edf1;color:#853b50}.corporate-access-group input{width:15px;height:15px;padding:0;accent-color:var(--red);box-shadow:none;flex:0 0 auto}.corporate-access-group span{min-width:0;overflow-wrap:anywhere}.member-dialog-content>.muted{max-width:760px}.member-dialog-content input,.member-dialog-content select,.member-dialog-content textarea{font-size:11px}.member-section{margin-top:24px}.profile-section-heading{padding-top:22px;border-top:1px solid var(--line)}
.profile-link-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:stretch}.profile-link-open{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:72px;padding:0 10px;border:1px solid #dfdfe7;border-radius:8px;background:#fff;color:#7b6470;font-size:9px;font-weight:600;transition:background .15s,border-color .15s,color .15s}.profile-link-open:hover{background:#f9edf1;border-color:#e2bcc6;color:var(--red)}.profile-link-open .icon{width:12px;height:12px}
.audit-main p{white-space:pre-line}
@media(max-width:590px){.corporate-access-groups{grid-template-columns:1fr}.profile-data-grid .field-wide{grid-column:auto}}
@media(max-width:590px){.member-dialog-content{padding:20px}.member-layout{gap:20px}.member-drawer .form-columns{grid-template-columns:1fr}}
.rank-crown{display:inline-block;margin-left:5px;font-size:14px;line-height:1;vertical-align:-1px;filter:drop-shadow(0 1px 2px rgba(31,24,15,.18))}.rank-crown.prince{font-size:13px}
.resource-ai-panel{border:1px solid #e8e8ef;border-radius:9px;background:#fbfbfc;padding:12px 13px}.resource-ai-panel.loading{min-height:51px;display:flex;align-items:center}.resource-ai-panel.unavailable{border-style:dashed;background:#fcfcfd}.resource-ai-panel.unavailable p{min-height:0;margin:8px 0 0;font-size:9px;line-height:1.5;color:#a0a0ab}.resource-ai-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.resource-ai-heading strong{font-size:11px;font-weight:600}.resource-ai-heading>span{font-size:9px;color:#858591}.resource-ai-scopes{display:grid;gap:7px;margin-top:10px}.resource-ai-scope{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px;border-top:1px solid #eeeeF2}.resource-ai-scope>span{display:flex;align-items:baseline;gap:7px}.resource-ai-scope b{font-size:10px}.resource-ai-scope small{color:#9b9ba6;font-size:9px}.ai-toggle{width:34px;height:20px}.resource-usage-panel{border:1px solid #e8e8ef;border-radius:9px;padding:12px 13px;background:#fff}.resource-usage-today{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:4px 10px}.resource-usage-today>span{grid-row:1/3;font-size:9px;color:#8f8f9a;text-transform:uppercase;letter-spacing:.7px}.resource-usage-today strong{font-size:15px;justify-self:end}.resource-usage-today>span:last-child,.resource-usage-empty{font-size:8px;text-transform:none;letter-spacing:0;color:#a0a0ab;justify-self:end}.resource-budget,.detail-progress{display:block;width:100%;height:4px;border:0;border-radius:9px;overflow:hidden;margin-top:9px;background:#eeeef3;appearance:none}.resource-budget::-webkit-progress-bar,.detail-progress::-webkit-progress-bar{background:#eeeef3;border-radius:9px}.resource-budget::-webkit-progress-value,.detail-progress::-webkit-progress-value{background:var(--red);border-radius:9px}.resource-budget::-moz-progress-bar,.detail-progress::-moz-progress-bar{background:var(--red);border-radius:9px}.resource-budget-copy{display:block;margin-top:5px;color:#a0a0aa;font-size:8px}.resource-periods{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}.resource-periods>div{display:flex;align-items:center;justify-content:space-between;gap:5px;background:#f7f7f9;border-radius:6px;padding:8px}.resource-periods span{font-size:8px;color:#9999a4}.resource-periods strong{font-size:10px}.resource-details-button{display:flex;align-items:center;justify-content:space-between;width:100%;color:#858590;font-size:9px;padding:10px 1px 0}.resource-details-button:hover{color:var(--red)}.resource-details-button .icon{width:13px;height:13px}.resource-card>.resource-usage-panel+.button{margin-top:0}
.resource-details-modal{width:min(820px,calc(100vw - 32px))}.resource-details-modal .dialog-header small{display:block;color:#9d9da8;margin-top:7px}.resource-details-content{max-height:calc(92dvh - 155px);overflow-y:auto}.detail-scopes{display:flex;gap:5px;margin-bottom:17px}.detail-scope{padding:8px 14px;border-radius:7px;background:#f3f3f6;color:#888894;font-size:10px}.detail-scope.selected{background:#f8e9ed;color:var(--red);box-shadow:inset 0 0 0 1px #e9cbd3}.detail-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.detail-period{border:1px solid var(--line);border-radius:9px;padding:14px;background:#fcfcfd}.detail-period>span{display:block;color:#9696a1;font-size:9px;text-transform:uppercase;letter-spacing:.6px}.detail-period strong{display:block;font-size:21px;margin:8px 0}.detail-period small{display:block;color:#9696a2;font-size:9px;line-height:1.55}.detail-section{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.detail-limits{display:grid;gap:14px}.detail-limit>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px}.detail-limit span{color:#888894}.detail-limit strong{font-size:10px}.detail-progress{height:6px;margin-top:7px}.detail-models{overflow-x:auto;border:1px solid var(--line);border-radius:9px}.detail-models th{padding:10px 12px}.detail-models td{padding:12px;font-size:10px}.detail-models td strong{display:block;font-weight:600}.detail-models td small{display:block;color:#a0a0aa;margin-top:4px}.models-empty{text-align:center;color:#9999a4;padding:25px!important}
@media(max-width:590px){.detail-periods{grid-template-columns:1fr}.detail-period{display:grid;grid-template-columns:1fr auto;align-items:center}.detail-period strong{grid-column:2;grid-row:1/3;margin:0}.detail-period small{grid-column:1}.resource-details-modal .dialog-header{align-items:flex-start}.resource-ai-scope>span{display:block}.resource-ai-scope small{display:block;margin-top:3px}}
.resource-ai-scope{display:block}.resource-ai-scope-head,.resource-ai-setting{display:flex;align-items:center;justify-content:space-between;gap:10px}.resource-ai-scope-head{margin-bottom:4px}.resource-ai-scope-head small{color:#9b9ba6;font-size:9px}.resource-ai-setting{min-height:28px;padding:3px 0}.resource-ai-setting>span{font-size:9px;color:#666672}.resource-ai-setting>span small{display:block;margin-top:2px;font-size:8px;color:#aaaab4}.ai-toggle:disabled{cursor:not-allowed;opacity:.45}
.resource-tools{border:1px solid #e8e8ef;border-radius:9px;background:#fbfbfc}.resource-tools summary{min-height:40px;padding:0 13px;display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none;color:#666672}.resource-tools summary::-webkit-details-marker{display:none}.resource-tools summary>span{font-size:10px;font-weight:600}.resource-tools summary>small{margin-left:auto;color:#9a9aa5;font-size:9px}.resource-tools summary>.icon{width:13px;height:13px;transition:transform .18s ease}.resource-tools[open] summary{border-bottom:1px solid #eeeeF2}.resource-tools[open] summary>small{font-size:0}.resource-tools[open] summary>small:after{content:'Скрыть';font-size:9px}.resource-tools[open] summary>.icon{transform:rotate(90deg)}.resource-tools-content{display:grid;gap:10px;padding:10px}.resource-tools-content>.resource-ai-panel,.resource-tools-content>.resource-usage-panel{background:#fff}.resource-card>.resource-action{margin-top:auto;min-height:44px;flex-shrink:0}
.detail-chart-range{display:flex;gap:4px;background:#f3f3f6;padding:3px;border-radius:7px}.detail-chart-range button{padding:6px 9px;border-radius:5px;font-size:10px;color:#888894}.detail-chart-range button.selected{background:#fff;color:var(--red);box-shadow:0 1px 3px #00000012}.detail-chart{display:flex;gap:10px;margin-top:14px;min-width:0}.detail-chart-scale{height:155px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;color:#a0a0aa;font-size:9px;white-space:nowrap}.detail-chart-bars{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:3px;flex:1;min-width:0}.detail-chart-bars.days-7{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.detail-chart-day{position:relative;min-width:0;outline-offset:2px}.detail-chart-day:focus-visible{outline:2px solid var(--red);border-radius:3px}.detail-chart-column{height:155px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #dcdce4;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#f0f0f4 calc(25% - 1px),#f0f0f4 25%)}.detail-chart-column>span{display:block;width:100%;max-width:18px;min-height:0;background:#b82c45;border-radius:3px 3px 0 0;transition:background .15s}.detail-chart-day:hover .detail-chart-column>span,.detail-chart-day:focus-visible .detail-chart-column>span{background:#8e2037}.detail-chart-day>small{display:block;height:18px;text-align:center;font-size:8px;color:#a0a0aa;white-space:nowrap}.detail-chart-tooltip{position:absolute;z-index:2;bottom:calc(100% - 1px);left:50%;transform:translateX(-50%);display:none;width:max-content;max-width:220px;padding:7px 9px;border-radius:5px;background:#32323d;color:#fff;font-size:10px;box-shadow:0 4px 12px #0002}.detail-chart-day:hover .detail-chart-tooltip,.detail-chart-day:focus-visible .detail-chart-tooltip{display:block}.detail-chart-day:first-child .detail-chart-tooltip{left:0;transform:none}.detail-chart-day:last-child .detail-chart-tooltip{left:auto;right:0;transform:none}.detail-chart-empty{padding:22px 0;color:#9999a4;font-size:11px}
.detail-chart-column>.detail-bar-0{height:0px}.detail-chart-column>.detail-bar-1{height:8px}.detail-chart-column>.detail-bar-2{height:15px}.detail-chart-column>.detail-bar-3{height:23px}.detail-chart-column>.detail-bar-4{height:31px}.detail-chart-column>.detail-bar-5{height:39px}.detail-chart-column>.detail-bar-6{height:46px}.detail-chart-column>.detail-bar-7{height:54px}.detail-chart-column>.detail-bar-8{height:62px}.detail-chart-column>.detail-bar-9{height:69px}.detail-chart-column>.detail-bar-10{height:77px}.detail-chart-column>.detail-bar-11{height:85px}.detail-chart-column>.detail-bar-12{height:92px}.detail-chart-column>.detail-bar-13{height:100px}.detail-chart-column>.detail-bar-14{height:108px}.detail-chart-column>.detail-bar-15{height:116px}.detail-chart-column>.detail-bar-16{height:123px}.detail-chart-column>.detail-bar-17{height:131px}.detail-chart-column>.detail-bar-18{height:139px}.detail-chart-column>.detail-bar-19{height:146px}.detail-chart-column>.detail-bar-20{height:154px}
.resource-totals{padding:22px;margin-bottom:22px}.resource-totals .field-heading{margin-bottom:12px}.resource-totals h2{font-size:16px;margin:0}.resource-totals-status{color:#737381;font-size:11px;margin:0 0 15px}.resource-totals-notes{margin-top:12px}.resource-totals-notes p{font-size:10px;color:#777785;line-height:1.6;margin:5px 0}.resource-totals-breakdown{margin-top:16px}.resource-totals-breakdown>summary{cursor:pointer;font-size:11px;font-weight:600;color:#656573;padding:8px 0}.resource-totals-breakdown .detail-models{margin-top:8px}.resource-totals-breakdown td:first-child{min-width:180px}.resource-totals-breakdown td:first-child .resource-logo{float:left;margin-right:9px}.resource-totals-breakdown td small{max-width:360px;line-height:1.5}.resource-totals-breakdown .resource-details-button{white-space:nowrap;padding:0;gap:8px}.resource-ai-panel .resource-ai-note{min-height:0;margin:9px 0 0;font-size:10px;color:#777785;line-height:1.6}
@media(max-width:590px){.resource-totals{padding:16px}.resource-totals .field-heading{align-items:flex-start;gap:8px;flex-direction:column}}
.resource-totals-breakdown td:first-child{white-space:normal}
.resource-totals-breakdown td small{white-space:normal;overflow-wrap:anywhere}
.related-usage{border-top:1px solid var(--line);margin-top:15px;padding-top:12px}.related-usage>strong{display:block;font-size:10px;color:#656573;margin-bottom:8px}.related-usage>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;font-size:10px;margin:6px 0}.related-usage>div>span{flex:1;min-width:130px;color:#777785}.related-usage>div>b{white-space:nowrap}.related-usage>div>small{flex-basis:100%;color:#888894}.resource-ai-panel .related-usage>p,.related-usage>p{min-height:0;font-size:10px;color:#888894;line-height:1.5;margin:8px 0 0}
