:root{font-family:Inter,"Segoe UI",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#20273e;background:#f2f4f9;font-synthesis:none;line-height:1.5;--ink:#20273e;--muted:#838a9c;--line:#e9ecf3;--accent:#7161d5;--accent-dark:#5c4abb;--radius:18px;--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 100% 0,#e8e6f5 0,transparent 44%),#f2f4f9}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #e0e4ef;border-radius:10px;background:#fff;color:#4b546d;padding:11px 16px;font-size:12px;font-weight:600;cursor:pointer;text-decoration:none;transition:background .2s,box-shadow .2s,transform .22s var(--ease),border-color .2s}button:hover,.button:hover{border-color:#c8c8df;background:#f8f8fd;transform:translateY(-1px)}button:active,.button:active{transform:translateY(0) scale(.98)}button:disabled{opacity:.42;cursor:not-allowed;transform:none;box-shadow:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a897ee;outline-offset:4px}svg{width:20px;height:20px;flex-shrink:0}.primary{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 5px 14px #7161d526}.primary:hover{background:var(--accent-dark);border-color:var(--accent-dark);box-shadow:0 8px 20px #7161d538}.danger{background:#d96068;border-color:#d96068;color:white}.danger:hover{background:#c74d58;border-color:#c74d58}.danger-outline{color:#c5535f;border-color:#eeced2;background:#fffafb}.wide{width:100%;margin-top:13px}h1,h2,h3,p{margin:0}h1{font-size:clamp(27px,2.55vw,39px);letter-spacing:-1.45px;line-height:1.18;font-weight:660}h2{font-size:18px;letter-spacing:-.45px;font-weight:650}h3{font-size:14px;font-weight:650}p{font-size:13px;line-height:1.7;margin:8px 0 16px}.muted,small{color:var(--muted)}.eyebrow{display:block;font-size:9px;letter-spacing:2px;font-weight:750;color:#8f83bb;margin-bottom:13px}.accent-dot{color:var(--accent)}.page-head{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:4px 0 31px}.page-head p{margin:10px 0 0;color:var(--muted);font-size:13px}.page-head>.primary{padding:13px 19px;white-space:nowrap}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.section-heading p{margin-bottom:0}.section-icon{color:var(--accent);background:#f2effb;border-radius:12px;padding:10px;display:grid;place-items:center}.panel{border:1px solid var(--line);border-radius:16px;background:#fff;padding:25px;margin:22px 0}.panel h3{margin-bottom:16px}.button-row{display:flex;gap:8px;flex-wrap:wrap}label{display:block;color:#525a72;font-size:12px;font-weight:600;margin-bottom:18px}input:not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid #e1e5ef;border-radius:9px;background:#fafbfe;color:var(--ink);padding:12px 13px;margin-top:8px;font-size:13px;line-height:1.4;min-width:0;transition:border-color .2s,box-shadow .2s,background .2s}input::placeholder,textarea::placeholder{color:#a2a9b9;font-weight:400}input:focus,textarea:focus,select:focus{outline:none;border-color:#a397e1;background:white;box-shadow:0 0 0 4px #7161d50b}textarea{resize:vertical;overflow-wrap:anywhere}input[type=file]{font-size:11px}input[type=file]::file-selector-button{background:#ece8fa;color:#6656ba;border:0;padding:7px 10px;border-radius:6px;margin-right:10px;cursor:pointer}input[type=checkbox]{width:34px;height:20px;appearance:none;border-radius:30px;background:#dce1eb;position:relative;cursor:pointer;transition:background .22s;border:0;flex-shrink:0}input[type=checkbox]::before{content:"";position:absolute;width:14px;height:14px;top:3px;left:3px;background:white;border-radius:50%;box-shadow:0 1px 3px #17213820;transition:transform .24s var(--ease)}input[type=checkbox]:checked{background:var(--accent)}input[type=checkbox]:checked::before{transform:translateX(14px)}input[type=checkbox]:focus-visible{outline:3px solid #c2b9ee;outline-offset:3px}a{color:var(--accent-dark);text-underline-offset:3px}[hidden]{display:none!important}
main{max-width:1040px;margin:40px auto;padding:38px;background:white;border:1px solid var(--line);border-radius:24px;box-shadow:0 10px 40px #26385606}.master-app{max-width:1600px;display:grid;grid-template-columns:230px minmax(0,1fr);margin:18px auto;padding:0;min-height:calc(100vh - 36px);width:calc(100% - 36px);border:0;background:#f8f9fc;box-shadow:0 16px 70px #26304a08;overflow:clip}.master-sidebar{background:linear-gradient(165deg,#20283f,#161c30);border-radius:24px 0 0 24px;color:#c5cada;padding:35px 20px 22px;display:flex;flex-direction:column;min-width:0;position:sticky;top:18px;height:calc(100vh - 36px);max-height:1200px}.platform-brand{display:flex;align-items:center;gap:11px;color:white;text-decoration:none;font-size:21px;letter-spacing:-.7px;font-weight:550;padding:0 11px}.platform-brand small{display:block;font-size:7px;font-weight:600;letter-spacing:2.8px;color:#737e9a;margin-top:2px}.brand-asd{color:#b0a1ee;font-weight:700;margin-left:3px}.brand-symbol{width:39px;height:41px;border-radius:12px;display:grid;place-items:center;color:#e3dcff;background:linear-gradient(145deg,#8c7add,#6753b8);box-shadow:0 6px 16px #0d11242b;flex-shrink:0}.brand-symbol svg{width:23px;height:23px}.sidebar-label{font-size:8px;letter-spacing:1.65px;color:#68748e;margin:52px 13px 16px;font-weight:700}.master-nav{display:flex;flex-direction:column;gap:8px}.master-nav button{position:relative;justify-content:flex-start;border:none;background:none;color:#8994ae;padding:14px 15px;font-size:12px;border-radius:11px;font-weight:500;gap:13px}.master-nav button:hover{color:#e1def0;background:#ffffff06;transform:none}.master-nav button.active{color:#e7dfff;background:#8270d322;box-shadow:inset 0 0 0 1px #8b76e323}.master-nav button.active::before{content:"";position:absolute;left:0;height:18px;width:3px;border-radius:4px;background:#a592f2}.master-nav svg{width:18px;height:18px}.nav-count{margin-left:auto;padding:1px 6px;background:#8976cb29;border-radius:5px;font-size:10px;color:#bfb1ec}.sidebar-bottom{margin-top:auto}.private-note{border:1px solid #ffffff0b;border-radius:14px;padding:18px 14px;margin:30px 4px 20px;background:linear-gradient(140deg,#ffffff05,transparent)}.private-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#9e8fdb12;color:#a596d9;margin-bottom:12px}.private-icon svg{width:16px;height:16px}.private-note b{display:block;font-size:11px;color:#cad0e0;font-weight:500}.private-note p{font-size:10px;line-height:1.8;color:#75809a;margin:6px 0 0}.sidebar-exit{background:none;border:0;color:#7e88a3;font-weight:500;font-size:11px;justify-content:flex-start;width:100%;gap:12px;padding-left:17px}.sidebar-exit:hover{background:#ffffff05;border:0;color:white}.sidebar-exit svg{width:17px;height:17px}.master-workspace{min-width:0}.workspace-topbar{display:flex;align-items:center;justify-content:space-between;height:80px;border-bottom:1px solid #e8ebf280;padding:0 37px;gap:20px}.breadcrumbs{font-size:11px;color:#959daf;display:flex;gap:13px;align-items:center}.breadcrumbs span{color:#cbd0dc}.breadcrumbs b{color:#555e75;font-weight:550}.master-identity{display:flex;align-items:center;gap:21px}.session-indicator{display:flex;align-items:center;gap:7px;font-size:10px;color:#8e96a9}.session-indicator i{width:6px;height:6px;background:#66b29a;border-radius:100%;box-shadow:0 0 0 3px #66b29a10}.admin-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#eee9fa;border:3px solid white;color:#8a78ba;font-size:12px;font-weight:650;box-shadow:0 2px 8px #20283f09}.workspace-content{padding:34px 37px 24px}.workspace-section{animation:section-enter .45s var(--ease) both}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:38px}.metric-card{position:relative;background:white;border:1px solid #e9ebf3;border-radius:15px;padding:22px 18px 18px;display:flex;flex-direction:column;box-shadow:0 3px 8px #26385602;animation:section-enter .5s var(--ease) both}.metric-card:nth-child(2){animation-delay:45ms}.metric-card:nth-child(3){animation-delay:90ms}.metric-card:nth-child(4){animation-delay:135ms}.metric-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;margin-bottom:18px}.metric-icon svg{width:17px;height:17px}.violet{color:#8c77c3;background:#f2eefb}.mint{color:#62a591;background:#eff7f3}.amber{color:#c4a168;background:#fcf6ec}.blue{color:#709bc1;background:#edf4fa}.metric-label{color:#959bb0;font-size:10px;white-space:nowrap}.metric-card strong{font-size:29px;font-weight:550;line-height:1.3;letter-spacing:-1px;margin:3px 0 6px}.metric-card small{font-size:9px;color:#b0b5c4}.directory{min-width:0}.directory-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.directory-head h2{font-size:16px;display:flex;align-items:center;gap:9px}.directory-head p{font-size:11px;margin:7px 0 0}.count-tag{font-size:9px;letter-spacing:0;background:#eeeaf8;color:#8c7ab7;border-radius:5px;padding:2px 6px;font-weight:500}.directory-tools{display:flex;align-items:center;gap:10px}.search-field{position:relative;display:flex;align-items:center;margin:0;max-width:220px}.search-field>svg{position:absolute;left:12px;color:#a7aebe;width:15px;height:15px;pointer-events:none}.search-field input{margin:0;padding:11px 13px 11px 35px;background:white;font-size:10px;border-color:#e6e9f2;border-radius:9px}.directory-tools select{margin:0;font-size:10px;width:136px;flex-shrink:0;padding:11px 10px;color:#8992a7;background:white;border-color:#e6e9f2}.tenant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:0 0 22px}.tenant-card{position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:left;background:white;border:1px solid #e5e8f1;border-radius:16px;padding:22px 22px 0;min-width:0;overflow:hidden;box-shadow:0 4px 12px #29365902;animation:card-enter .48s var(--ease) var(--card-delay,0ms) both;transition:transform .28s var(--ease),box-shadow .28s,border-color .2s}.tenant-card::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#a899d4,transparent 80%);opacity:0;transition:opacity .24s}.tenant-card:hover{transform:translateY(-4px);border-color:#c7bce8;box-shadow:0 12px 26px #5f558511;background:#fff}.tenant-card:hover::before{opacity:1}.tenant-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.tenant-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:linear-gradient(145deg,#f1edf9,#e9e2f4);border:1px solid #e6dff0;color:#9b88bd;font-size:20px;font-weight:550}.tenant-card:nth-child(3n+2) .tenant-mark{background:linear-gradient(145deg,#eff4f3,#e0eeeb);border-color:#dbe8e4;color:#87a99a}.tenant-card:nth-child(3n+3) .tenant-mark{background:linear-gradient(145deg,#edf0f8,#e1e9f3);border-color:#dce4f0;color:#889bb9}.badge{display:inline-flex;align-items:center;gap:5px;width:fit-content;background:#f0f7f3;color:#76a58a;font-size:9px;font-weight:500;border-radius:5px;padding:4px 7px}.badge i{width:4px;height:4px;border-radius:50%;background:currentColor}.badge.blocked{background:#fff1f0;color:#ca8790}.tenant-card-name{display:block;margin:17px 0 23px}.tenant-card-name b{display:block;font-size:14px;font-weight:600;color:#47516a;line-height:1.4;overflow-wrap:anywhere}.tenant-card-name small{display:block;font-size:10px;color:#a5adbf;margin-top:5px;font-weight:400}.tenant-card-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f1f7;padding:13px 0;color:#abb3c4;font-weight:400;font-size:9px}.tenant-card-foot>span:first-child{display:flex;align-items:center;gap:7px}.tenant-card-foot svg{width:14px;height:14px}.card-arrow{width:25px;height:25px;display:grid;place-items:center;color:#a99aca;background:#f7f4fc;border-radius:7px;transition:transform .25s var(--ease),background .2s}.tenant-card:hover .card-arrow{transform:translateX(3px);background:#ece5fa}.pagination{display:flex;justify-content:flex-end;gap:10px;align-items:center;font-size:10px;color:#a9afbf}.pagination button{padding:7px 12px;font-size:10px;border-radius:7px}.workspace-footer{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:44px;font-size:9px;color:#b4bacc}.workspace-footer svg{width:13px;height:13px}.empty{grid-column:1/-1;text-align:center;padding:58px 20px;border:1px dashed #e2e5ef;border-radius:16px;background:#ffffff70;color:#a8afc1}.empty>svg{width:28px;height:28px;margin-bottom:14px;color:#b8aed3}.empty h3{color:#7b839b;font-weight:550;margin:0}.empty p{font-size:11px;margin:8px 0 0}.security-banner{display:flex;align-items:center;gap:18px;padding:25px 26px;border:1px solid #e5ddf3;border-radius:17px;background:linear-gradient(125deg,#f0ebf9,#f9f8fd);margin-bottom:26px}.security-emblem{width:48px;height:53px;display:grid;place-items:center;border-radius:15px;background:#e3daf5;color:#9b84c5}.security-emblem svg{width:26px;height:26px}.security-banner b{font-size:14px;font-weight:600;color:#675980}.security-banner p{font-size:11px;color:#a094b3;margin:5px 0 0}.security-banner .badge{margin-left:auto;background:#e7e1f3;color:#9d86c4}.inline-form{display:flex;gap:12px;align-items:end}.inline-form label{flex:1}.inline-form button{margin-bottom:18px;white-space:nowrap}.add-key-form{margin-top:25px;padding-top:25px;border-top:1px solid var(--line)}.key-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #eff1f7}.key-row:last-child{border-bottom:0}.key-row b{font-size:12px;color:#606981;font-weight:600}.key-row small{display:block;font-size:10px;color:#a0a8ba;margin-top:5px}.key-row button{font-size:10px;padding:9px 12px}.information-note{display:flex;gap:13px;align-items:start;padding:8px 12px;color:#a49abd}.information-note svg{width:17px;height:17px;margin-top:3px}.information-note p{font-size:11px;color:#99a0b2;margin:0;max-width:640px}.audit-row{display:grid;grid-template-columns:135px 1fr 1fr;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #eff1f7;margin:0}.audit-row time{font-size:10px;color:#a3aabb}.audit-row code{font-size:11px;color:#817294;background:#f5f1fa;padding:5px 8px;border-radius:5px;width:fit-content}.audit-row small{font-size:11px;color:#99a2b5;overflow-wrap:anywhere}.audit-panel>.section-heading{border-bottom:1px solid var(--line);padding-bottom:18px}.audit-panel>.section-heading .muted{font-size:10px}
.auth-shell{max-width:1050px;padding:0;margin:6vh auto;overflow:hidden;border:0;box-shadow:0 22px 80px #25324d0d}.auth-layout{display:grid;grid-template-columns:.92fr 1.08fr;min-height:700px}.auth-art{position:relative;display:flex;flex-direction:column;overflow:hidden;padding:37px;background:radial-gradient(ellipse at 20% 10%,#7463aa55,transparent 70%),#22253e;color:#e5ddf3}.auth-art-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:500;letter-spacing:-.6px}.auth-art-brand>span:last-child{margin-left:-8px;color:#bda9ed;font-weight:700}.auth-art-copy{margin-top:auto;position:relative;z-index:1}.auth-art-copy h2{font-size:38px;line-height:1.18;letter-spacing:-1.5px;color:#f0eaf8;font-weight:550}.auth-art-copy .eyebrow{color:#8f83b0;font-size:8px;margin-bottom:20px}.auth-art-copy p{color:#83809e;font-size:11px;line-height:1.9;margin:18px 0 30px}.auth-art-footer{font-size:7px;letter-spacing:1.7px;color:#676482}.auth-orbit{position:relative;width:240px;height:240px;align-self:center;margin:24px 0;display:grid;place-items:center}.orbit-ring{position:absolute;border:1px solid #a08dce20;border-radius:50%;width:100%;height:100%;background:radial-gradient(circle,#b6a1dd05,transparent)}.orbit-ring.two{width:180px;height:180px;border-style:dashed;border-color:#a08dce28;animation:orbit-turn 60s linear infinite}.orbit-core{display:grid;place-items:center;width:90px;height:95px;border-radius:28px;color:#baa4e6;background:linear-gradient(140deg,#9180bb27,#9180bb09);border:1px solid #baace12b;box-shadow:0 20px 55px #15162a25;transform:rotate(-8deg);animation:orbit-float 6s ease-in-out infinite}.orbit-core svg{width:43px;height:43px;stroke-width:1.1}.orbit-satellite{position:absolute;right:1px;top:38px;width:44px;height:44px;display:grid;place-items:center;background:#38324e;border:1px solid #baa1e126;color:#a695cd;border-radius:14px;transform:rotate(12deg);box-shadow:0 8px 22px #12132233;animation:orbit-float 7s ease-in-out -2s infinite}.auth-content{display:flex;align-items:center;padding:50px 47px;background:#fff}.auth-card{width:100%;max-width:440px;margin:0 auto;padding:16px 0;animation:section-enter .6s var(--ease) both}.auth-card .key-icon{display:grid;place-items:center;width:49px;height:51px;background:#f5f1fc;border:1px solid #ebe4f8;color:#ab96cc;border-radius:15px;font-size:29px;margin:0 0 30px}.auth-card .eyebrow{font-size:8px;letter-spacing:1.5px;color:#afa4c0}.auth-card h1{font-size:30px;letter-spacing:-.9px;margin-bottom:13px}.auth-card>.muted{font-size:12px;color:#a0a7b8;margin-bottom:27px}.auth-card form{margin-top:23px}.auth-card details{margin-top:28px;padding-top:21px;border-top:1px solid #eeedf5}.auth-card summary{font-size:10px;color:#a49ab6;cursor:pointer;transition:color .2s}.auth-card summary:hover{color:var(--accent)}.auth-card details p{font-size:11px;color:#9da6b7}.back{display:block;text-align:center;font-size:10px;color:#a39ab4;margin-top:29px;text-decoration:none}.back:hover{color:var(--accent)}details{margin-top:25px}summary{font-size:12px;cursor:pointer}
dialog{padding:0;border:1px solid #e9e4f1;border-radius:22px;max-width:780px;width:calc(100% - 36px);max-height:90vh;color:var(--ink);background:#f8f9fc;box-shadow:0 30px 120px #121a3040;opacity:0;transform:translateY(18px) scale(.985);transition:opacity .24s ease,transform .3s var(--ease),display .3s allow-discrete,overlay .3s allow-discrete}dialog[open]{opacity:1;transform:none}dialog::backdrop{background:#1b244152;backdrop-filter:blur(7px);transition:background .25s,backdrop-filter .25s}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 29px;background:#fff;position:sticky;top:0;border-bottom:1px solid #ebeef5;z-index:2}.dialog-head h2{font-size:18px;letter-spacing:-.4px;overflow-wrap:anywhere}.icon-button{width:33px;height:33px;padding:0;border-radius:9px;background:#f5f4fa;border-color:#eeebf5;color:#a295ba;font-size:22px;font-weight:400}.dialog-body{padding:8px 29px 28px}.dialog-body>.muted{font-size:11px;margin:17px 2px 24px}.dialog-body>.muted>a{font-size:10px;margin-left:4px;text-decoration:none;color:#9c88bc}.dialog-body>.panel{border-radius:13px;padding:22px;margin:16px 0}.dialog-body .panel p{font-size:11px;color:#99a2b4;margin-top:8px}.dialog-body .panel h3{font-size:12px;font-weight:650;color:#687187;margin-bottom:18px}.dialog-body label{font-size:11px;color:#919aaf}.dialog-body input,.dialog-body select{font-size:12px}.dialog-body .button-row{gap:8px}.dialog-body .button-row button{font-size:10px;padding:10px 13px}.dialog-body form>button.primary{margin-top:3px}.dialog-body>form{padding:18px 0 0}.switch-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:0;padding:13px 0;border-bottom:1px solid #f1f2f7;font-weight:400}.switch-row:last-of-type{margin-bottom:19px}.logo-field{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fafbfe;padding:14px;border:1px dashed #e2e5ef;border-radius:10px;margin-bottom:22px}.logo-field img{width:52px;height:52px;object-fit:contain;border-radius:7px;background:white}.logo-field label{flex:1;min-width:140px;margin:0;font-size:10px}.logo-field input{padding:6px;border:0;background:none;font-size:10px;margin-top:4px}.logo-field button{font-size:9px;padding:8px 10px}.danger-zone{border-color:#f0dfe2;background:#fffafb}.dialog-body .danger-zone h3{color:#cf8790}.error{color:#c86f78}.message{position:fixed;z-index:1000;bottom:22px;left:50%;transform:translateX(-50%);max-width:650px;width:calc(100% - 36px);padding:15px 21px;border:1px solid #d6e8df;border-radius:13px;background:#f4faf7;color:#669681;box-shadow:0 8px 30px #26354c10;font-size:12px;overflow-wrap:anywhere;animation:toast-in .3s var(--ease) both}.message.error{background:#fff6f5;border-color:#f1d9dc;color:#c27780}.dialog-message{position:sticky;bottom:0;z-index:3;padding:15px 24px;background:#fff6f3;margin:0;border-top:1px solid #efdfdf;font-size:11px}.notice{background:#fcf7e9;border:1px solid #f0e6c5;border-radius:12px;padding:18px 22px;color:#bda46d;font-size:12px}#one-time-secret{background:#f1edf8;border-color:#e4dced;color:#8e77ab;font-family:ui-monospace,Consolas,monospace;font-size:13px;letter-spacing:.4px}
@starting-style{dialog[open]{opacity:0;transform:translateY(18px) scale(.985)}dialog[open]::backdrop{background:#1b244100;backdrop-filter:blur(0)}}
@keyframes section-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes card-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-in{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}@keyframes orbit-turn{to{transform:rotate(360deg)}}@keyframes orbit-float{0%,100%{translate:0 0}50%{translate:0 -7px}}
@media(min-width:1500px){.tenant-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-content{padding:42px 50px 28px}.workspace-topbar{padding:0 50px}}
@media(max-width:1100px){.master-app{grid-template-columns:195px minmax(0,1fr)}.master-sidebar{padding-inline:12px}.workspace-content{padding:29px 26px 24px}.workspace-topbar{padding:0 26px}.directory-head{align-items:stretch;flex-direction:column;gap:16px}.directory-tools{justify-content:space-between}.search-field{max-width:none;flex:1}.metric-card{padding:17px 14px}.metric-label{font-size:9px}.metric-card small{font-size:8px}.platform-brand{font-size:19px;gap:8px;padding:0 8px}.master-nav button{padding:13px 12px}.private-note{padding:16px 11px}}
@media(max-width:800px){main{margin:20px;padding:25px}.master-app{display:block;width:100%;margin:0;border-radius:0}.master-sidebar{position:relative;top:0;height:auto;max-height:none;border-radius:0;padding:20px 22px 0;background:#20273e;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:20px}.platform-brand{padding:0;font-size:19px;margin-right:auto}.platform-brand .brand-symbol{width:33px;height:35px;border-radius:10px}.platform-brand small{font-size:6px;letter-spacing:2.3px}.sidebar-label,.private-note{display:none}.sidebar-bottom{margin:0;order:1}.sidebar-exit{font-size:0;padding:9px;color:#8f9ab2}.sidebar-exit svg{width:18px;height:18px}.master-nav{flex-direction:row;width:100%;order:2;gap:6px;justify-content:space-between}.master-nav button{flex:1;justify-content:center;padding:13px 9px;border-radius:9px 9px 0 0;font-size:11px;gap:8px}.master-nav button.active{background:#8e7ab41a}.master-nav button.active::before{width:20px;height:2px;top:auto;bottom:0;left:calc(50% - 10px)}.master-nav svg{width:16px;height:16px}.nav-count{display:none}.workspace-topbar{height:64px;padding:0 23px}.master-identity{gap:12px}.session-indicator{font-size:9px}.breadcrumbs{font-size:10px;gap:8px}.workspace-content{padding:30px 23px 24px}.page-head{gap:15px;margin-bottom:26px}.page-head h1{font-size:29px}.page-head p{font-size:11px}.page-head>.primary{font-size:11px;padding:12px 14px;gap:6px}.page-head>.primary svg{width:16px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:32px}.metric-card{padding:18px 17px;min-height:137px}.metric-icon{position:absolute;right:15px;top:17px;width:26px;height:26px;border-radius:8px;margin:0}.metric-icon svg{width:14px;height:14px}.metric-label{font-size:10px;max-width:calc(100% - 24px);white-space:normal;min-height:30px;line-height:1.6}.metric-card strong{font-size:28px;margin:7px 0 2px}.metric-card small{font-size:9px}.tenant-card{padding:20px 18px 0}.directory-head h2{font-size:17px}.workspace-footer{font-size:8px;margin-top:35px;align-items:start;text-align:center;padding:0 8px;line-height:1.8}.workspace-footer svg{margin-top:2px}.auth-shell{margin:22px auto;width:calc(100% - 36px)}.auth-layout{grid-template-columns:1fr;min-height:0}.auth-art{display:none}.auth-content{padding:35px}.auth-card h1{font-size:29px}.security-banner{padding:20px;gap:14px}.security-banner b{font-size:12px}.security-banner p{font-size:10px}.security-banner .badge{display:none}.security-emblem{width:42px;height:45px}.key-row{align-items:flex-start;flex-direction:column;gap:12px}.inline-form{flex-direction:column;align-items:stretch;gap:0}.inline-form button{margin:0}.inline-form label{margin-bottom:12px}.audit-row{grid-template-columns:1fr 1fr;gap:7px}.audit-row small{grid-column:1/-1}.audit-panel{padding:20px}.audit-panel>.section-heading{align-items:flex-start;gap:8px;flex-direction:column}.panel{padding:21px}}
@media(max-width:480px){.page-head{align-items:flex-start;flex-direction:column;gap:19px}.page-head>.primary{width:100%;padding:13px}.page-head h1{font-size:30px}.page-head p{font-size:12px}.metric-label{font-size:9px}.directory-tools{gap:8px}.directory-tools select{width:116px;font-size:9px}.search-field input{font-size:10px;padding-left:31px}.search-field>svg{left:10px;width:14px}.tenant-grid{grid-template-columns:1fr;gap:14px}.tenant-card{padding:21px 22px 0}.tenant-card-name b{font-size:15px}.tenant-card-name{margin:16px 0 22px}.tenant-card-foot{font-size:10px}.badge{font-size:10px}.workspace-topbar{padding:0 23px}.session-indicator{font-size:0;gap:0}.session-indicator i{width:5px;height:5px}.master-identity{gap:11px}.dialog-head{padding:20px}.dialog-head h2{font-size:17px}.dialog-body{padding:5px 16px 20px}.dialog-body>.panel{padding:19px}.dialog-body .button-row{flex-direction:column}.dialog-body .button-row button{width:100%;font-size:11px}.dialog-body>.muted{line-height:1.9}.dialog-body>.muted>a{display:block;margin:4px 0}.switch-row{font-size:11px!important;line-height:1.6;padding:15px 0}.logo-field{padding:12px}.logo-field button{margin-left:auto}.auth-content{padding:29px 26px}.auth-shell{margin:16px auto}.auth-card .key-icon{margin-bottom:27px}.pagination{justify-content:center}.breadcrumbs{font-size:10px}.notice{padding:16px;font-size:11px}.page-head .button-row{width:100%}.page-head .button-row>*{flex:1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.tenant-mark img{width:100%;height:100%;object-fit:contain;border-radius:12px;background:white}.new-logo-picker{display:flex;align-items:center;gap:19px;padding:18px;border:1px dashed #ded9eb;border-radius:13px;background:#fbfaff;margin-bottom:25px}.new-logo-picker label{margin:0;flex:1;min-width:0}.new-logo-picker input{font-size:11px;padding:5px 0;border:0;background:none}.new-logo-picker small{display:block;font-size:10px;margin-top:6px;font-weight:400}.new-logo-preview{width:67px;height:67px;flex-shrink:0;border-radius:17px;display:grid;place-items:center;color:#b8a6d4;background:#f0eaf9;border:1px solid #e9e0f4}.new-logo-preview img{width:100%;height:100%;object-fit:contain;border-radius:16px;background:white}.tenant-login-logo{display:block;width:75px;height:75px;object-fit:contain;border-radius:19px;margin-bottom:27px;background:white}.metric-label{color:#727d96;font-size:11px}.metric-card small{color:#818ca3;font-size:10px}.tenant-card-name small{color:#7c879e;font-size:11px}.tenant-card-foot{color:#7d889e;font-size:10px}.tenant-card-name b{font-size:15px}.badge{color:#3d785f}.badge.blocked{color:#aa606a}.directory-head p,.directory-tools select,.breadcrumbs,.session-indicator,.workspace-footer{color:#778199}.sidebar-label{color:#9aa3bc}.private-note p{color:#95a0b9}.master-nav button{font-size:13px}.directory-tools select,.search-field input{font-size:11px}.muted{color:#7b859c}.dialog-body label{color:#66728a}.dialog-body .panel p{color:#758097}.auth-card>.muted{color:#7d869a}.auth-card summary,.back{color:#837395}.auth-art-copy p{color:#a7a0ba}.master-nav button{min-height:45px}.tenant-card:focus-visible{outline-offset:3px}
/* SGC account and lifecycle controls */
.password-input{display:flex;align-items:stretch;gap:6px;min-width:0}.password-input input{min-width:0;flex:1;margin:0}.password-input button{flex-shrink:0;padding:8px 10px;font-size:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check-row{display:flex;align-items:flex-start;gap:10px;line-height:1.6}.check-row input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:3px 0 0}.plan-fields{border:1px solid var(--line);padding:20px;border-radius:16px;margin:22px 0}.plan-fields legend{font-weight:700;padding:0 8px}.plan-summary{background:#f4f1fd;border-radius:12px;padding:16px;margin:16px 0;line-height:1.6}.plan-summary p{margin:6px 0}.admin-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:18px 0;border-top:1px solid var(--line)}.admin-tools label{margin:0;display:flex;align-items:center;gap:8px;font-size:12px}.admin-tools select{margin:0;min-width:95px;width:auto}.admin-tools .button{font-size:12px}.review-summary{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;overflow-wrap:anywhere}.review-summary dd{margin:0}.review-summary dt{font-weight:700}.settings-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.settings-nav a{padding:8px 12px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:inherit}.settings-section{margin-top:14px}.settings-section>summary{font-size:16px;font-weight:700;padding:2px 0}.settings-section[open]>summary{margin-bottom:22px}.faq details{border-top:1px solid var(--line);padding-top:16px}.tenant-card-name small{display:block;line-height:1.7}.tenant-card-name{padding-bottom:20px}.auth-card .key-icon{margin-inline:auto;animation:key-breathe 5s ease-in-out infinite}#automation-status{font-size:12px;line-height:1.7;margin-bottom:25px;overflow-wrap:anywhere}[hidden]{display:none!important}
@keyframes key-breathe{50%{transform:translateY(-3px)}}
html[data-theme=dark]{color-scheme:dark;--line:#3a4258;--text:#e5e9f5;--muted:#b1bdd3;background:#101625}html[data-theme=dark] body{background:#101625;color:#e5e9f5}html[data-theme=dark] main,html[data-theme=dark] .master-app,html[data-theme=dark] .master-workspace,html[data-theme=dark] .auth-content,html[data-theme=dark] dialog,html[data-theme=dark] .panel,html[data-theme=dark] .tenant-card,html[data-theme=dark] .metric-card{background:#1b2336;color:#e5e9f5;border-color:#3a4258}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] button:not(.primary):not(.danger):not(.sidebar-exit):not(.tenant-card){background:#252e43;color:#e5e9f5;border-color:#46516a}html[data-theme=dark] .muted,html[data-theme=dark] small,html[data-theme=dark] label,html[data-theme=dark] .metric-label,html[data-theme=dark] .page-head p,html[data-theme=dark] .workspace-footer,html[data-theme=dark] .auth-card>.muted{color:#bdc7da}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] b,html[data-theme=dark] .tenant-card-name,html[data-theme=dark] .metric-card strong{color:#eef1ff}html[data-theme=dark] .plan-summary,html[data-theme=dark] .information-note,html[data-theme=dark] .security-banner,html[data-theme=dark] .notice{background:#30324f;color:#e4ddff}html[data-theme=dark] .badge{background:#193e39;color:#96e0ca}html[data-theme=dark] .blocked,html[data-theme=dark] .error{color:#ffb1b8}html[data-theme=dark] a{color:#c6bbff}html[data-theme=dark] .dialog-head,html[data-theme=dark] .workspace-topbar{border-color:#3a4258;background:#1b2336}
@media(max-width:650px){.form-grid{grid-template-columns:1fr;gap:0}.admin-tools{gap:8px}.admin-tools>*{flex:1}.review-summary{grid-template-columns:1fr}.review-summary dd{margin-bottom:8px}.plan-fields{padding:14px}.password-input button{padding-inline:8px}.settings-nav a{font-size:12px}}
@media(prefers-reduced-motion:reduce){.auth-card .key-icon{animation:none}}
.check-row input[type=checkbox]{appearance:auto;accent-color:var(--accent);border-radius:4px}.check-row input[type=checkbox]::before{content:none}html[data-theme=dark] .new-logo-picker{background:#252e43;border-color:#46516a}html[data-theme=dark] .dialog-body .panel p{color:#bdc7da}
html[data-theme=dark] .logo-field,html[data-theme=dark] .button{background:#252e43;color:#e5e9f5;border-color:#46516a}html[data-theme=dark] .dialog-body .panel h3{color:#eef1ff}html[data-theme=dark] .dialog-body .danger-zone h3{color:#ffb1b8}
