/* DESIGN: Hernand Admin — black surfaces, quiet borders and burgundy actions. */
:root{--bg:#0c0d10;--surface:#131418;--ink:#e9e9ee;--muted:#999aa6;--line:#292a32;--sidebar:#090a0d;--accent:#923f56;--accent-hover:#ad506a;--accent-soft:#29171f;--green:#87bea7;--danger:#e0929e;--radius:13px;--font:"Segoe UI",Inter,-apple-system,BlinkMacSystemFont,Arial,sans-serif}

*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 var(--font);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.42;cursor:not-allowed}
button{transition:background .15s,border-color .15s,color .15s,box-shadow .15s}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #6f627066;outline-offset:3px}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
button{color:inherit}
input,select,textarea{color:var(--ink)}
[hidden]{display:none!important}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}
.rotate-180{transform:rotate(180deg)}
.muted{color:var(--muted)}
.eyebrow{display:block;font-size:12px;font-weight:650;letter-spacing:1.7px;color:var(--muted)}
.skip-link{position:fixed;left:16px;top:-60px;z-index:100;background:var(--accent);padding:10px 18px;color:#f4f3f6;border-radius:8px}
.skip-link:focus{top:16px}
.brand{display:flex;gap:12px;align-items:center;font-size:21px;font-weight:650;letter-spacing:-.6px;line-height:1.15}
.brand-mark{display:inline-grid;place-items:center;width:37px;height:39px;background:var(--accent);color:#f4f3f6;border:1px solid #6f627012;border-radius:11px;font:650 27px/1 var(--font);letter-spacing:-1.5px;flex-shrink:0}
.brand-light{color:#f4f3f6}
.brand-subtitle{display:block;font-size:10px;letter-spacing:2px;color:#bebfc9;font-weight:500;margin-top:6px}
.status-dot{display:inline-block;width:6px;height:6px;background:#28202a;border-radius:100%;flex-shrink:0}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:8px;padding:10px 16px;min-height:40px;font-size:13px;font-weight:600;white-space:nowrap}
.button .icon{width:16px;height:16px}
.button-primary{background:var(--accent);color:#f4f3f6;box-shadow:0 2px 3px #00000014}
.button-primary:hover:not(:disabled){background:var(--accent-hover);box-shadow:0 3px 8px #00000024}
.button-secondary{background:#131418;border-color:#2d2e37;color:#e2e2e9;box-shadow:0 1px 2px #00000004}
.button-secondary:hover:not(:disabled){background:#131418;border-color:#2d2e37}
.button-danger{background:var(--danger);color:#f4f3f6}
.button-danger:hover:not(:disabled){background:#28202a}
.button-danger-outline{background:#131418;color:var(--danger);border-color:#2d2e37}
.button-danger-outline:hover:not(:disabled){background:#131418}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:#a1a2ae;padding:0;flex-shrink:0}
.icon-button:hover:not(:disabled){background:#17181e;color:#e2e2e9}
.icon-button .icon{width:17px;height:17px}
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0;background:none;border:0;font-size:12px;font-weight:550;color:#bebfc9;white-space:nowrap}
.text-button:hover:not(:disabled){color:var(--accent)}
.text-button .icon{width:15px;height:15px}
code{font:11px/1.6 "Cascadia Code",Consolas,monospace}
.login-screen{min-height:100dvh;display:grid;grid-template-columns:45% 55%}
.login-brand{position:relative;background:#0b0c0f;color:#8f909d;padding:44px 52px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;min-height:100dvh}
.login-brand:before{content:"";position:absolute;right:-260px;top:3%;width:500px;height:500px;border:1px solid #6f627010;border-radius:50%;box-shadow:0 0 0 80px #00000005,0 0 0 160px #00000003;pointer-events:none}
.login-brand .brand{position:relative;z-index:1}
.login-brand-copy{position:relative;margin:70px 0;z-index:1}
.login-brand-copy .eyebrow{font-size:11px;letter-spacing:2px;color:#a1a2ae}
.login-brand h1{font-size:clamp(35px,3.5vw,52px);font-weight:500;letter-spacing:-2px;line-height:1.2;margin:25px 0 20px}
.login-brand h1 em{font-style:normal;color:#a1a2ae}
.login-brand-copy>p{color:#a1a2ae;font-size:14px;line-height:1.9}
.brand-illustration{display:flex;align-items:center;position:relative;margin-top:45px;padding:19px 20px;width:100%;max-width:350px;background:linear-gradient(110deg,#6f6270aa,#6f6270aa);border:1px solid #2d2e37;border-radius:12px;box-shadow:0 14px 35px #00000015;gap:13px}
.illustration-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;color:#a1a2ae;background:#6f627044}
.illustration-icon .icon{width:21px;height:21px}
.illustration-label{font-size:12px;letter-spacing:1.5px;font-weight:600;color:#8f909d}
.illustration-label>span{display:block;letter-spacing:0;font-size:12px;font-weight:400;color:#bebfc9;margin-top:4px}
.illustration-check{margin-left:auto;width:18px;height:18px;color:#a1a2ae}
.illustration-line{position:absolute;left:35px;right:-18px;top:15px;bottom:-12px;border:1px solid #6f627055;border-radius:12px;z-index:-1}
.login-brand-footer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#bebfc9;font-size:12px;letter-spacing:.15px}
.login-brand-footer>span:last-child{display:flex;gap:8px;align-items:center}
.login-area{position:relative;display:flex;align-items:center;justify-content:center;min-height:100dvh;padding:65px 50px 110px;background:#131418}
.login-card{width:100%;max-width:350px}
.login-lock{display:grid;place-items:center;width:43px;height:43px;border:1px solid #2d2e37;border-radius:12px;background:#17181e;color:var(--accent);margin-bottom:30px}
.login-lock .icon{width:22px;height:22px}
.login-card>.eyebrow{font-size:11px;letter-spacing:1.9px}
.login-card h2{font-size:32px;letter-spacing:-1.2px;font-weight:600;margin:10px 0 8px;line-height:1.3}
.login-intro{font-size:13px;margin-bottom:32px}
.field-label{display:block;font-size:13px;font-weight:550;margin-bottom:8px;color:#e2e2e9}
.password-field{display:flex;align-items:center;border:1px solid #2d2e37;border-radius:8px;min-height:46px;background:#131418;padding:0 7px 0 13px;gap:10px;box-shadow:0 1px 2px #00000002}
.password-field:focus-within{border-color:#2d2e37;box-shadow:0 0 0 3px #0000000a}
.password-field>.icon{color:#a1a2ae;width:16px;height:16px}
.password-field input{width:100%;min-width:0;border:0;outline:0!important;background:transparent;height:44px;font-size:13px}
.password-field input::placeholder{color:#a1a2ae}
.login-submit{width:100%;justify-content:space-between;margin-top:19px;min-height:44px;padding:10px 15px}
.login-submit .icon{width:17px;height:17px}
.login-help{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#a1a2ae;margin-top:21px}
.login-help .icon{width:13px;height:13px}
.login-area-footer{position:absolute;bottom:28px;left:45px;right:45px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#a1a2ae}
.login-area-footer .text-button{font-size:12px;color:#a1a2ae}
.login-error{font-size:12px;color:var(--danger);line-height:1.6;margin-top:12px}
.preview-note{padding:11px;background:#17181e;border-radius:7px;font-size:12px;color:#bebfc9;margin-top:20px;text-align:center}
.preview-note code{font-size:12px}
.mobile-brand{display:none}
.app-shell{min-height:100dvh}
.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:var(--sidebar);color:#a1a2ae;padding:30px 20px 0;display:flex;flex-direction:column;z-index:40}
.sidebar>.brand{margin:0 9px 34px}
.workspace-switch{display:flex;align-items:center;gap:9px;padding:12px 10px;border:1px solid #2d2e37;border-radius:8px;margin-bottom:30px;color:#8f909d;font-size:12px;font-weight:500;white-space:nowrap}
.workspace-switch small{display:block;font-size:11px;color:#bebfc9;font-weight:400;margin-top:3px}
.workspace-icon{display:grid;place-items:center;width:27px;height:28px;background:#1a1b21;border:1px solid #2d2e37;border-radius:6px;font-size:13px;color:#a1a2ae;flex-shrink:0}
.workspace-switch>.icon{width:13px;height:13px;color:#bebfc9;margin-left:auto}
.nav-label{font-size:10px;letter-spacing:1.7px;font-weight:600;padding:0 11px;margin-bottom:13px;color:#bebfc9}
.sidebar nav{display:flex;flex-direction:column;gap:6px}
.nav-item{display:flex;align-items:center;gap:11px;width:100%;text-align:left;font-size:13px;padding:11px 12px;border:1px solid transparent;background:none;color:#a1a2ae;border-radius:7px;min-height:41px;position:relative}
.nav-item>.icon{width:17px;height:17px;color:#bebfc9}
.nav-item:hover{background:#1a1b21;color:#8f909d}
.nav-item.active{background:#1a1b21;border-color:#6f627066;color:#8f909d}
.nav-item.active:before{content:"";position:absolute;left:-21px;top:11px;bottom:11px;width:2px;border-radius:0 3px 3px 0;background:#28202a}
.nav-item.active .icon{color:#a1a2ae}
.nav-count{margin-left:auto;font-size:11px;background:#ffffff07;padding:1px 6px;color:#bebfc9;min-width:18px;text-align:center;border-radius:4px}
.nav-item.active .nav-count{color:#8f909d;background:#6f62701a}
.sidebar-bottom{margin-top:auto;padding-top:35px}
.service-indicator{display:flex;align-items:center;gap:10px;margin:0 12px 25px;color:#a1a2ae;font-size:12px}
.service-indicator small{display:block;font-size:11px;color:#bebfc9;margin-top:2px}
.service-indicator .status-dot{width:5px;height:5px;background:#28202a}
.owner-profile{margin:0 -20px;padding:19px 20px;display:flex;align-items:center;gap:10px;border-top:1px solid #2d2e37;font-size:12px;color:#8f909d}
.owner-profile small{display:block;color:#bebfc9;font-size:11px;margin-top:2px}
.owner-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#1d1e25;color:#bebfc9;font-size:13px;font-weight:600;flex-shrink:0}
.owner-profile .owner-avatar{background:#1a1b21;color:#a1a2ae;border:1px solid #2d2e37}
.owner-profile .icon-button{margin-left:auto;color:#bebfc9}
.owner-profile .icon-button:hover{background:#1a1b21;color:#8f909d}
.workspace{margin-left:230px;min-height:100dvh}
.topbar{height:76px;padding:0 38px;background:#131418;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}
.breadcrumbs{display:flex;align-items:center;gap:13px;font-size:12px;color:#a1a2ae}
.breadcrumbs>.icon{width:12px;height:12px;color:#8f909d}
.breadcrumbs strong{font-weight:500;color:#bebfc9}
.topbar-actions{display:flex;align-items:center;gap:14px}
.sync-status{font-size:11px;color:#a1a2ae}
.topbar-separator{height:21px;width:1px;background:#1d1e25;margin:0 2px}
.owner-avatar-small{width:27px;height:27px;font-size:12px;background:#17181e;color:#bebfc9}
.topbar-owner{font-size:12px;color:#bebfc9;margin-left:-6px}
.preview-badge{background:#17181e;color:#bebfc9;font-size:11px;padding:3px 7px;border:1px solid #2d2e37;border-radius:4px}
.main-content{padding:35px 38px 0;max-width:1660px;margin:auto;outline:none}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}
.page-heading>.button{align-self:center}
.page-heading .eyebrow{font-size:10px;letter-spacing:1.6px;margin-bottom:8px;color:#a1a2ae}
.page-heading h1{font-size:27px;line-height:1.3;letter-spacing:-.85px;font-weight:600}
.page-heading p{font-size:12px;margin-top:7px;color:#a1a2ae}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.stat-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:19px 21px;box-shadow:0 2px 2px #00000001}
.stat-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#bebfc9}
.stat-head>.icon{width:16px;height:16px;color:#a1a2ae}
.stat-value{font-size:30px;line-height:1.2;font-weight:550;letter-spacing:-1px;margin-top:15px}
.stat-foot{font-size:11px;color:#a1a2ae;margin-top:8px}
.stat-card.warning .stat-head>.icon{color:#a1a2ae}
.stat-card.warning .stat-value{color:#bebfc9}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 13px}
.section-heading h2,.surface-heading h2{font-size:13px;font-weight:600;letter-spacing:-.05px}
.section-heading p,.surface-heading p{font-size:12px;color:#a1a2ae;margin-top:4px}
.application-card{display:flex;align-items:center;gap:17px;background:#131418;border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;box-shadow:0 2px 2px #00000001}
.application-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#17181e;color:#bebfc9;border:1px solid #2d2e37;flex-shrink:0}
.application-icon>.icon{width:23px;height:23px}
.application-name h3{font-size:13px;font-weight:600}
.application-name>p{font-size:12px;color:#a1a2ae;margin-top:4px}
.application-status{margin-left:17px}
.application-metrics{margin-left:auto;display:flex;align-items:center;gap:30px;padding-left:20px}
.application-metrics strong{display:block;font-size:14px;font-weight:550;text-align:right}
.application-metrics span{display:block;font-size:11px;color:#a1a2ae;margin-top:3px}
.application-card>.button{margin-left:18px;min-height:35px;font-size:12px;padding:8px 12px}
.status-tag{display:inline-flex;align-items:center;gap:5px;border:1px solid;padding:3px 7px;border-radius:5px;white-space:nowrap;font-size:11px;font-weight:500;line-height:1.3}
.status-tag:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}
.status-tag.active,.status-tag.valid{color:#bebfc9;background:#17181e;border-color:#2d2e37}
.status-tag.pending{color:#a1a2ae;background:#17181e;border-color:#2d2e37}
.status-tag.suspended{color:#a1a2ae;background:#17181e;border-color:#2d2e37}
.status-tag.expired{color:#a1a2ae;background:#17181e;border-color:#2d2e37}
.status-tag.locked{color:#bebfc9;background:#17181e;border-color:#2d2e37}
.overview-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;margin-top:25px}
.surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 2px 2px #00000001;min-width:0}
.surface-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid #2d2e37;min-height:62px}
.surface-heading>.text-button{font-size:11px}
.table-wrap{width:100%;overflow-x:auto}
table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}
th{background:#131418;color:#a1a2ae;font-size:10px;font-weight:500;padding:11px 20px;border-bottom:1px solid #2d2e37}
td{padding:15px 20px;border-bottom:1px solid #2d2e37;font-size:12px;color:#a1a2ae}
tbody tr:last-child td{border-bottom:0}
tbody tr[data-id]{cursor:pointer;transition:background .13s}
tbody tr[data-id]:hover{background:#131418}
tbody tr.selected{background:#131418}
td .customer-name{display:block;color:#bebfc9;font-size:12px;font-weight:550;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.key-text{font-family:"Cascadia Code",Consolas,monospace;font-size:11px;color:#a1a2ae;max-width:150px;overflow:hidden;text-overflow:ellipsis;display:block;margin-top:4px}
td.key-cell{max-width:220px;color:#bebfc9;font-family:"Cascadia Code",Consolas,monospace;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.compact-table th{font-size:10px;padding:11px 21px}
.compact-table td{padding:13px 21px;font-size:11px}
.compact-table td:last-child{padding-left:0;width:25px}
.compact-table .icon-button{width:23px;height:23px}
.compact-table .icon-button .icon{width:13px;height:13px}
.compact-table .status-tag{font-size:10px;padding:3px 6px}
.activity-feed{padding:4px 21px 8px}
.feed-item{position:relative;display:flex;align-items:flex-start;gap:11px;padding:15px 0}
.feed-item:not(:last-child):after{content:"";position:absolute;left:12px;top:39px;bottom:-5px;width:1px;background:#17181e}
.feed-icon{display:grid;place-items:center;width:26px;height:26px;border:1px solid #2d2e37;background:#131418;color:#a1a2ae;border-radius:50%;flex-shrink:0}
.feed-icon>.icon{width:12px;height:12px}
.feed-body{min-width:0;flex:1}
.feed-body strong{display:block;font-size:12px;font-weight:500;color:#bebfc9;line-height:1.6}
.feed-body>span{display:block;font-size:11px;color:#a1a2ae;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.feed-time{font-size:10px;color:#8f909d;white-space:nowrap;margin-top:3px}
.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:44px 20px;color:#a1a2ae;font-size:12px;gap:9px;min-height:180px}
.empty-state>.icon{width:27px;height:27px;color:#8f909d;margin-bottom:2px}
.empty-state strong{font-size:13px;font-weight:500;color:#a1a2ae}
.empty-state p{font-size:12px;color:#a1a2ae;max-width:270px}
.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 20px;border-bottom:1px solid var(--line)}
.search-field{display:flex;gap:9px;align-items:center;width:290px;max-width:100%;border:1px solid #2d2e37;border-radius:7px;padding:0 11px;min-height:36px;color:#a1a2ae;background:#131418}
.search-field>.icon{width:14px;height:14px}
.search-field:focus-within{border-color:#2d2e37;box-shadow:0 0 0 3px #00000008}
.search-field input{width:100%;height:34px;border:0;background:transparent;outline:none;font-size:12px;min-width:0}
.search-field input::placeholder{color:#a1a2ae}
.filter-controls{display:flex;gap:8px}
select{border:1px solid #2d2e37;background:#131418;border-radius:7px;padding:8px 28px 8px 11px;font-size:12px;color:#bebfc9;min-height:35px;max-width:100%}
.license-layout{display:grid;grid-template-columns:minmax(0,1fr)}
.license-layout.has-detail{grid-template-columns:minmax(0,1fr) 292px}
.license-table-area{min-width:0}
.license-table{min-width:680px;table-layout:fixed}
.license-table th:nth-child(1){width:24%}
.license-table th:nth-child(2){width:20%}
.license-table th:nth-child(3){width:15%}
.license-table th:nth-child(4){width:17%}
.license-table th:nth-child(5){width:12%}
.license-table th:nth-child(6){width:12%}
.license-table td{height:67px;padding:12px 20px;overflow:hidden;text-overflow:ellipsis}
.license-table th{padding:12px 20px}
.license-table .customer-name{font-size:12px}
.align-right{text-align:right}
.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:1px}
.row-actions .icon-button{height:25px;width:25px}
.row-actions .icon-button .icon{width:14px;height:14px}
.device-state{display:flex;gap:5px;align-items:center;font-size:11px;color:#a1a2ae}
.device-state .icon{width:12px;height:12px}
.table-footer{border-top:1px solid #2d2e37;padding:13px 19px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;color:#a1a2ae;min-height:63px}
.pagination{display:flex;align-items:center;gap:8px;white-space:nowrap}
.pagination select{min-height:29px;padding:5px 22px 5px 8px;font-size:11px}
.pagination .icon-button{height:25px;width:25px;border:1px solid #2d2e37;border-radius:5px;color:#a1a2ae}
.pagination .icon-button .icon{width:12px;height:12px}
.license-detail{padding:20px;border-left:1px solid #2d2e37;min-width:0;background:#131418}
.detail-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.detail-top>span{font-size:10px;letter-spacing:1.2px;color:#a1a2ae}
.detail-avatar{display:grid;place-items:center;background:#17181e;border:1px solid #2d2e37;color:#a1a2ae;width:40px;height:40px;border-radius:11px;font-size:16px;margin-bottom:11px}
.detail-heading{font-size:16px;font-weight:550;color:#bebfc9;overflow-wrap:anywhere;letter-spacing:-.3px}
.detail-badge{margin-top:7px}
.detail-key{margin:20px 0;padding:11px;border-radius:7px;border:1px solid #2d2e37;background:#131418;display:flex;align-items:center;gap:8px}
.detail-key>code{font-size:12px;line-height:1.8;color:#a1a2ae;overflow-wrap:anywhere;flex:1;user-select:all}
.detail-key .icon-button{width:25px;height:25px}
.details-list{margin:0;display:grid;gap:13px}
.detail-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px}
.detail-row dt{color:#a1a2ae}
.detail-row dd{margin:0;text-align:right;color:#a1a2ae;overflow-wrap:anywhere;min-width:0}
.device-details{margin-top:19px;border-top:1px solid #2d2e37;padding-top:13px;font-size:12px;color:#a1a2ae}
.device-details summary{cursor:pointer}
.device-details code{display:block;overflow-wrap:anywhere;white-space:normal;font-size:11px;margin-top:8px;color:#a1a2ae}
.detail-notes{padding:12px;background:#17181e;border:1px solid #2d2e37;border-radius:6px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;color:#a1a2ae;margin-top:18px}
.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:22px}
.detail-actions>.button{font-size:11px;min-height:34px;padding:7px 8px;gap:5px}
.detail-actions .icon{width:12px;height:12px}
.detail-delete{width:100%;margin-top:20px;font-size:11px;min-height:34px}
.activity-table td{height:58px}
.activity-table th:first-child,.activity-table td:first-child{padding-left:23px}
.event-action{display:inline-flex;align-items:center;gap:9px;color:#bebfc9}
.event-action>.icon{width:14px;height:14px;color:#a1a2ae}
.activity-table td code{font-size:11px;color:#a1a2ae}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1050px}
.settings-card .surface-heading{justify-content:flex-start;border-bottom:1px solid #2d2e37;gap:10px}
.settings-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#17181e;color:#a1a2ae}
.settings-icon .icon{width:15px;height:15px}
.setting-list{margin:0;padding:21px 23px;display:grid;gap:18px}
.setting-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;font-size:12px}
.setting-list dt{color:#a1a2ae}
.setting-list dd{margin:0;text-align:right;color:#a1a2ae;overflow-wrap:anywhere;min-width:0}
.setting-list code{font-size:12px;color:#a1a2ae}
.setting-help{font-size:12px;color:#a1a2ae;margin:0 23px 20px;max-width:350px;line-height:1.8}
.settings-card>.button{margin:0 23px 24px;font-size:12px;min-height:35px}
.preferences-card{grid-column:1/-1}
.preference-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 23px;cursor:pointer}
.preference-row strong{display:block;font-size:12px;font-weight:500;color:#a1a2ae}
.preference-row small{display:block;font-size:12px;color:#a1a2ae;margin-top:5px}
.switch{appearance:none;position:relative;width:31px;height:18px;border-radius:20px;border:0;background:#1d1e25;cursor:pointer;transition:background .15s;flex-shrink:0}
.switch:before{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#131418;transition:transform .15s;box-shadow:0 1px 2px #00000022}
.switch:checked{background:var(--accent)}
.switch:checked:before{transform:translateX(13px)}
.application-expanded{padding:27px}
.application-expanded .application-card{border:0;box-shadow:none;border-radius:0;padding:0 0 25px}
.app-description{border-top:1px solid #2d2e37;padding-top:25px;display:grid;grid-template-columns:1fr 1fr;gap:22px}
.app-description h3{font-size:12px;font-weight:500;margin-bottom:12px;color:#a1a2ae}
.app-description p{font-size:12px;line-height:1.9;color:#a1a2ae;max-width:390px}
.app-description .setting-list{padding:0;gap:12px}
.app-description .setting-list>div{font-size:12px}
.application-actions{border-top:1px solid #2d2e37;padding-top:22px;margin-top:25px;display:flex;gap:10px}
.workspace-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:10px;color:#a1a2ae;padding:26px 0 20px;margin-top:15px}
.footer-dot{margin:0 6px;color:#8f909d}
.menu-button{display:none}
.sidebar-backdrop{position:fixed;inset:0;border:0;background:#6f627088;z-index:39}
.toast{position:fixed;left:calc(50% + 115px);bottom:25px;transform:translateX(-50%);background:#1a1b21;color:#8f909d;box-shadow:0 5px 25px #00000022;border:1px solid #2d2e37;padding:12px 18px;border-radius:9px;z-index:100;font-size:12px;max-width:min(650px,calc(100vw - 32px));width:max-content}
.toast.error{background:#1a1b21;border-color:#2d2e37;color:#f4f3f6}
.toast.success{background:#1a1b21;border-color:#2d2e37;color:#8f909d}
dialog{padding:0;width:min(470px,calc(100vw - 32px));max-height:calc(100dvh - 40px);border:1px solid #2d2e37;border-radius:14px;color:#bebfc9;background:#131418;box-shadow:0 25px 100px #00000030}
dialog::backdrop{background:#6f627066;backdrop-filter:blur(3px)}
.modal-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 23px;border-bottom:1px solid #2d2e37;gap:15px}
.modal-heading h2{font-size:16px;font-weight:550;letter-spacing:-.2px;color:#bebfc9}
.modal-body{padding:22px 23px}
.modal-intro{font-size:12px;line-height:1.8;color:#a1a2ae;margin-bottom:20px}
.form-field{display:block;font-size:12px;margin-bottom:17px}
.form-field>span{display:block;font-weight:500;color:#a1a2ae;margin-bottom:7px}
.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #2d2e37;background:#131418;border-radius:7px;padding:10px 12px;font-size:13px;color:#a1a2ae;min-height:39px}
.form-field input:disabled{background:#131418;color:#8f909d}
.form-field textarea{resize:vertical;min-height:75px}
.form-field small{display:block;color:#a1a2ae;font-size:11px;line-height:1.7;margin-top:6px}
.form-field .key-input-row{display:flex;gap:7px}
.key-input-row input{min-width:0;font-family:Consolas,monospace;font-size:13px}
.generate-key{background:#131418;border:1px solid #2d2e37;color:#a1a2ae;border-radius:7px;padding:0 12px;font-size:12px;flex-shrink:0}
.generate-key:hover{background:#17181e}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.checkbox-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#a1a2ae;cursor:pointer}
.checkbox-label input{accent-color:var(--accent)}
.form-note{border:1px solid #2d2e37;background:#131418;border-radius:7px;padding:11px 12px;font-size:12px;color:#a1a2ae;line-height:1.7;margin-top:17px}
.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:25px}
.modal-actions button{font-size:12px;min-width:82px}
.field-error{font-size:12px;line-height:1.7;color:var(--danger);padding:11px 12px;background:#131418;border:1px solid #2d2e37;border-radius:7px;margin-top:15px}
.confirm-target{padding:13px;border:1px solid #2d2e37;background:#131418;border-radius:8px;font-size:13px;color:#a1a2ae;overflow-wrap:anywhere}
.confirm-target code{display:block;font-size:12px;color:#8f909d;margin-top:3px}
.service-results{margin:0;display:grid;gap:16px}
.service-results>div{display:flex;justify-content:space-between;gap:20px;font-size:12px}
.service-results dt{color:#a1a2ae}
.service-results dd{margin:0;color:#a1a2ae;text-align:right;overflow-wrap:anywhere}


.stat-head,.section-heading p,.surface-heading p{color:#a1a2ae}
.stat-foot{color:#a1a2ae}
th{color:#a1a2ae}
td{color:#bebfc9}
.feed-body strong,.detail-heading,.surface-heading h2{color:#bebfc9}
.feed-body>span,.feed-time{color:#a1a2ae}
.setting-list dt,.detail-row dt{color:#a1a2ae}
.setting-list dd,.detail-row dd,.app-description p{color:#bebfc9}
.setting-help,.preference-row small{color:#a1a2ae}
.preference-row strong,.app-description h3{color:#bebfc9}
.form-field>span{color:#bebfc9}
.form-field input,.form-field select,.form-field textarea{color:#bebfc9}
.modal-heading h2{color:#bebfc9}
.modal-intro{color:#a1a2ae}
.form-field small,.form-note{color:#a1a2ae}
.service-results dt{color:#a1a2ae}
.service-results dd{color:#bebfc9}
.modal-actions .button-secondary{color:#bebfc9}

@media(min-width:1500px){.main-content{padding:42px 48px 0}
.topbar{padding:0 48px}
.stats-grid{gap:20px}
.stat-card{padding:22px 25px}
.overview-grid{gap:24px}
.page-heading{margin-bottom:32px}
.stat-value{font-size:34px}
.surface-heading h2,.section-heading h2{font-size:13px}
td{font-size:12px}
.compact-table td{font-size:12px}
.activity-feed{padding:7px 24px 10px}
.feed-item{padding:17px 0}
.feed-body strong{font-size:12px}
.feed-body>span{font-size:12px}
}

@media(max-width:1200px){.sidebar{width:206px;padding-left:16px;padding-right:16px}
.sidebar>.brand{margin-left:6px}
.workspace{margin-left:206px}
.owner-profile{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
.nav-item.active:before{left:-17px}
.workspace-switch{font-size:11px;padding:11px 8px;gap:7px}
.topbar{padding:0 26px}
.main-content{padding:30px 26px 0}
.application-metrics{gap:18px}
.application-status{margin-left:2px}
.application-card{padding:20px}
.application-card>.button{margin-left:5px}
.overview-grid{grid-template-columns:1.5fr 1fr;gap:15px}
.compact-table th,.compact-table td{padding-left:16px;padding-right:16px}
.activity-feed{padding-left:17px;padding-right:17px}
.feed-time{font-size:9px}
.stat-card{padding:18px 16px}
.stat-head{font-size:11px}
.license-layout.has-detail{grid-template-columns:minmax(0,1fr) 270px}
.toast{left:calc(50% + 103px)}
.login-brand{padding:36px}
.login-brand-footer{flex-direction:column;align-items:flex-start;gap:8px}
.login-brand h1{letter-spacing:-1.7px;font-size:38px}
}

@media(max-width:1020px){.application-metrics>div:nth-child(2){display:none}
.overview-grid{grid-template-columns:1fr}
.overview-grid>.surface:last-child .activity-feed{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}
.feed-item:after{display:none}
.stats-grid{gap:10px}
.stat-head{font-size:11px}
.stat-card{padding:16px 13px}
.stat-head>.icon{width:14px;height:14px}
.stat-value{font-size:28px}
.license-layout.has-detail{grid-template-columns:minmax(0,1fr)}
.license-detail{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0 30px;padding:22px}
.detail-top{grid-column:1/-1;margin-bottom:12px}
.detail-avatar{display:none}
.detail-heading,.detail-badge,.detail-key{grid-column:1}
.details-list{grid-column:2;grid-row:2/5}
.detail-key{margin-top:15px}
.device-details,.detail-notes{grid-column:1/-1}
.detail-actions{grid-column:1/-1;grid-template-columns:repeat(4,1fr);margin-top:15px}
.detail-delete{grid-column:1/-1;max-width:180px;margin-top:15px}
.settings-grid{grid-template-columns:1fr}
.preferences-card{grid-column:auto}
.login-brand{padding:34px 28px}
.login-brand h1{font-size:35px}
.login-area{padding-left:38px;padding-right:38px}
.app-description{grid-template-columns:1fr}
}

@media(max-width:760px){.login-screen{grid-template-columns:1fr}
.login-brand{display:none}
.login-area{padding:40px 28px 100px;min-height:100dvh;align-items:center}
.mobile-brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:600;color:#e2e2e9;margin-bottom:45px}
.mobile-brand .brand-mark{width:32px;height:34px;font-size:23px}
.login-lock{display:none}
.login-card h2{font-size:30px}
.login-area-footer{left:28px;right:28px}
.sidebar{transform:translateX(-100%);width:230px;transition:transform .2s}
.sidebar.open{transform:translateX(0)}
.workspace{margin-left:0}
.topbar{height:62px;padding:0 21px}
.breadcrumbs{gap:9px}
.menu-button{display:inline-flex;margin-left:-7px;margin-right:4px}
.sync-status,.topbar-owner{display:none}
.topbar-actions{gap:8px}
.topbar-separator{margin:0 5px}
.main-content{padding:26px 21px 0}
.page-heading{margin-bottom:23px;gap:12px}
.page-heading .eyebrow{font-size:9px}
.page-heading h1{font-size:24px}
.page-heading p{font-size:12px;max-width:245px;line-height:1.8}
.page-heading>.button{font-size:12px;padding:9px 12px;min-height:36px}
.stats-grid{grid-template-columns:repeat(2,1fr);gap:12px}
.stat-card{padding:17px}
.stat-head{font-size:12px}
.stat-value{font-size:28px}
.stat-foot{font-size:10px}
.application-card{flex-wrap:wrap;gap:12px;padding:20px}
.application-icon{width:40px;height:40px}
.application-status{margin-left:auto}
.application-metrics{margin-left:52px;padding-left:0;gap:25px}
.application-metrics strong{text-align:left;font-size:13px}
.application-metrics span{font-size:10px}
.application-card>.button{margin-left:auto;font-size:11px}
.section-heading{margin-top:25px}
.overview-grid{margin-top:20px}
.overview-grid>.surface:last-child .activity-feed{display:block}
.filter-bar{align-items:stretch;flex-direction:column;gap:12px;padding:16px}
.search-field{width:100%}
.filter-controls>select{flex:1;min-width:0}
.license-table{min-width:650px}
.table-footer{padding:12px 13px;gap:8px;font-size:10px}
.pagination{gap:5px}
.pagination select{font-size:10px}
.license-detail{padding:18px;gap:0 18px}
.detail-actions{grid-template-columns:1fr 1fr}
.workspace-footer{font-size:9px;flex-wrap:wrap;gap:7px;margin-top:13px}
.surface-heading{padding:18px}
.application-expanded{padding:20px}
.application-expanded .application-card{padding-bottom:20px}
.app-description .setting-list{padding:0}
.application-actions{flex-wrap:wrap}
.toast{left:50%;bottom:18px;font-size:12px}
.activity-table{min-width:540px}
.topbar-actions .preview-badge{font-size:10px}
.settings-card .setting-list{padding:20px}
.setting-list>div{font-size:12px}
.setting-help{margin-left:20px;margin-right:20px}
.settings-card>.button{margin-left:20px}
.preference-row{padding:20px}
.preference-row small{font-size:11px;max-width:220px}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}



.workspace-switch{font-size:11px}
.workspace-switch small{font-size:10px}
.brand-subtitle{font-size:9px}
.eyebrow{font-size:10px}

th{color:#a1a2ae}
td{color:#bebfc9}
td .customer-name{color:#e2e2e9}
.key-text{color:#a1a2ae}
td.key-cell{color:#bebfc9}

.surface-heading h2,.section-heading h2{color:#e2e2e9}
.application-name>p{color:#a1a2ae}
.feed-body strong{color:#bebfc9}
.feed-body>span{color:#a1a2ae}
.feed-time{color:#a1a2ae}

.detail-heading{color:#bebfc9}
.detail-row dt,.setting-list dt{color:#a1a2ae}
.detail-row dd,.setting-list dd{color:#bebfc9}

.form-field input,.form-field select,.form-field textarea{color:#bebfc9;border-color:#2d2e37}
.form-field>span{color:#bebfc9}
.form-field small{color:#a1a2ae}

.preview-open{display:inline-block;font-size:12px;font-weight:600;color:var(--accent);margin-top:7px}
.preview-open:hover{text-decoration:underline}



.workspace .muted,.workspace .stat-head,.workspace .stat-foot,.workspace .section-heading p,.workspace .surface-heading p,.workspace .application-name>p{color:#bebfc9}

.workspace th,.workspace .feed-body>span,.workspace .feed-time,.workspace .key-text{color:#bebfc9}

.workspace .setting-help,.workspace .preference-row small,.workspace .device-state,.workspace .table-footer,.workspace .workspace-footer{color:#bebfc9}

.workspace .text-button{color:#bebfc9}
.workspace .stat-head>.icon{color:#a1a2ae}


.brand-logo{display:block;width:44px;height:44px;object-fit:contain;flex-shrink:0;filter:grayscale(1)}

.login-artwork{display:block;width:150px;height:150px;object-fit:contain;margin:0 0 24px;filter:grayscale(1)}

.login-brand-copy{margin:35px 0}
.login-brand h1{font-size:clamp(33px,3vw,45px)}

.username-field{display:flex;align-items:center;border:1px solid #2d2e37;border-radius:8px;background:#131418;padding:0 13px;gap:10px;min-height:46px}

.username-field:focus-within{border-color:#2d2e37;box-shadow:0 0 0 3px #0000000a}
.username-field>.icon{width:16px;height:16px;color:#a1a2ae}

.username-field input{min-width:0;width:100%;height:44px;border:0;outline:0!important;background:transparent;font-size:13px}
.username-field input::placeholder{color:#a1a2ae}
.password-label{margin-top:20px}

.sidebar{overflow-y:auto}
.workspace-switch{white-space:normal}
.overview-grid:has(>section[hidden]){grid-template-columns:1fr}

.users-total{font-size:11px;color:#bebfc9}
.users-table{min-width:650px}
.users-table td{padding:18px 22px}
.user-cell{display:flex;align-items:center;gap:11px}
.user-cell .owner-avatar{width:31px;height:31px;font-size:12px}
.user-cell strong{display:block;color:#bebfc9;font-size:12px;font-weight:550}
.user-cell small{display:block;color:#a1a2ae;font-size:11px;margin-top:3px}

.role-badge{display:inline-block;font-size:10px;padding:4px 8px;border-radius:5px;background:#17181e;color:#bebfc9}
.role-badge.owner{background:#17181e;color:#bebfc9}
.user-status{font-size:11px;color:#bebfc9}
.user-status.disabled{color:#a1a2ae}
.users-help{font-size:11px;color:#a1a2ae;margin-top:16px}
.user-actions{display:flex;gap:3px;justify-content:flex-end}
.user-actions .icon-button{width:30px;height:30px}
.user-actions .icon{width:15px;height:15px}

.permissions-heading{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#bebfc9;margin:24px 0 12px;font-weight:550}
.permissions-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.permission-option{display:flex;gap:9px;align-items:flex-start;padding:10px;border:1px solid #2d2e37;border-radius:7px;font-size:11px;line-height:1.5;color:#bebfc9;cursor:pointer}
.permission-option input{accent-color:var(--accent);margin:2px 0 0;flex-shrink:0}
.permission-option small{display:block;color:#a1a2ae;font-size:9px;margin-top:2px}
.permission-option:has(input:checked){background:#131418;border-color:#2d2e37}
.permission-option:has(input:disabled){cursor:default}
.manager-role-line{display:flex;justify-content:space-between;align-items:center;background:#131418;border:1px solid #2d2e37;border-radius:7px;padding:11px 12px;font-size:11px;color:#a1a2ae;margin-bottom:17px}
.account-password-row{display:flex;gap:8px}
.account-password-row input{min-width:0}
.account-form-note{font-size:10px;line-height:1.7;color:#a1a2ae;margin-top:12px}

@media(max-width:760px){
 .login-area{padding:28px 23px calc(90px + env(safe-area-inset-bottom))}
.mobile-brand{flex-direction:column;justify-content:center;text-align:center;gap:12px;margin-bottom:30px}
.mobile-brand .brand-logo{width:76px;height:76px}
.login-card{max-width:390px}
.login-card>.eyebrow,.login-card h2,.login-intro{text-align:center}
.login-intro{margin-bottom:26px}
.login-help{font-size:11px}
.login-area-footer{left:23px;right:23px;bottom:calc(20px + env(safe-area-inset-bottom))}

 input:not([type=checkbox]),select,textarea{font-size:16px!important}
.username-field input,.password-field input{height:46px}
.username-field,.password-field{min-height:48px}
.field-label{font-size:13px}
.button{min-height:44px}
.icon-button{min-width:38px;min-height:38px}
.login-submit{min-height:46px}
.form-field input,.form-field select,.form-field textarea{min-height:44px}

 .main-content{padding-left:16px;padding-right:16px}
.topbar{padding:0 16px}
.topbar-actions{gap:6px}
.page-heading{align-items:flex-start}
.page-heading>.button{margin-top:9px;font-size:11px;min-height:40px}
.topbar-owner{display:none}
.sidebar{padding-top:22px;padding-bottom:env(safe-area-inset-bottom)}

 .permissions-grid{gap:8px}
.permission-option{font-size:11px;padding:9px}
.permission-option small{font-size:9px}
.user-actions .icon-button{width:36px;height:36px}
.user-actions .icon{width:16px;height:16px}

}

@media(max-width:600px){
 .license-table,.users-table,.activity-table{display:block;min-width:0;width:100%;table-layout:auto}
.license-table thead,.users-table thead,.activity-table thead{display:none}
.license-table tbody,.users-table tbody,.activity-table tbody{display:block;width:100%}

 .license-table tr,.users-table tr,.activity-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 16px;padding:18px;border-bottom:1px solid #2d2e37}
.license-table tr:last-child,.users-table tr:last-child,.activity-table tr:last-child{border-bottom:0}

 .license-table td,.users-table td,.activity-table td{display:block;border:0;height:auto;min-width:0;width:auto!important;padding:0;overflow:visible;white-space:normal;font-size:12px}
.license-table td:before,.users-table td:before,.activity-table td:before{content:attr(data-label);display:block;font:10px/1.5 var(--font);color:#a1a2ae;margin-bottom:5px}
.license-table td.key-cell{grid-column:1/-1;max-width:none;overflow-wrap:anywhere}
.license-table td:last-child{grid-column:2;grid-row:3;align-self:end}
.row-actions{justify-content:flex-start;gap:7px}
.row-actions .icon-button{border:1px solid #2d2e37;width:36px;height:36px}
.license-table .customer-name{font-size:13px}
.license-table .status-tag{font-size:11px}
.device-state{font-size:12px}

 .license-detail{display:block}
.detail-avatar{display:grid;margin-top:15px}
.detail-badge{margin-bottom:14px}
.details-list{gap:15px;margin:20px 0}
.detail-row{font-size:12px}
.detail-actions{display:grid;grid-template-columns:1fr 1fr}
.detail-actions>.button{font-size:11px;min-height:42px}
.detail-delete{max-width:none;font-size:11px;min-height:42px}

 .compact-table th:nth-child(3),.compact-table td:nth-child(3){display:none}
.compact-table th,.compact-table td{padding:13px 15px}
.compact-table .customer-name{max-width:130px}
.compact-table .status-tag{font-size:10px}
.compact-table td:last-child{padding-right:13px}

 .users-table td:first-child{grid-column:1/-1}
.users-table td:last-child{grid-column:1/-1}
.user-actions{justify-content:flex-start;gap:9px}
.users-table .owner-avatar{width:35px;height:35px}
.users-help{font-size:11px;line-height:1.7}
.users-table .user-actions .icon-button{min-width:42px;min-height:42px;border:1px solid #2d2e37}

 .activity-table td:first-child{grid-column:1/-1}
.activity-table td:first-child{padding-left:0}
.activity-table td code{overflow-wrap:anywhere;white-space:normal}
.activity-table .event-action{font-size:12px}
.table-footer{flex-wrap:wrap}
.table-footer .pagination{margin-left:auto}
.settings-card .setting-list>div{font-size:12px}
.setting-list{gap:20px}
.setting-help{font-size:11px}
.permission-option{min-height:52px}
.modal-body{padding:20px}
.modal-heading{padding:18px 20px}
.modal-actions .button{font-size:12px}

}


@media(max-width:760px){.page-heading>div{min-width:0;flex:1}
.page-heading>.button{flex-shrink:0}
.page-heading p{max-width:100%}
}


/* Login: one centered sign-in form, with the real logo and brand directly above it. */
:root{color-scheme:dark}
body{background:var(--bg);color:var(--ink)}
::selection{background:#74374b;color:#fff}
.login-screen{display:block;background:#090a0c;min-height:100dvh}
.login-area{background:#090a0c;min-height:100dvh;padding:54px 24px 100px;display:flex;align-items:center;justify-content:center}
.login-card{width:100%;max-width:360px}
.login-identity{display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center;margin-bottom:9px}
.login-identity .brand-logo{width:96px;height:96px;object-fit:contain}
.login-identity h1{font-size:28px;line-height:1.2;font-weight:600;letter-spacing:-.9px;color:#ededf2}
.login-identity h1 span{color:#b9bac4;font-weight:400}
.login-intro{text-align:center;color:#8f909e!important;font-size:13px;line-height:1.6;margin:0 0 34px}
.field-label{font-size:12px;font-weight:500;color:#c0c0cb}
.username-field,.password-field{background:#131419;border:1px solid #2c2d36;min-height:48px;box-shadow:none}
.username-field:focus-within,.password-field:focus-within{border-color:#a65e75;box-shadow:0 0 0 3px #8c3c5418}
.username-field input,.password-field input{height:46px;font-size:14px;color:#e9e9ef;caret-color:#d394a7}
.username-field input::placeholder,.password-field input::placeholder{color:#777985}
.username-field>.icon,.password-field>.icon{color:#777985}
.password-label{margin-top:22px}
.login-submit{margin-top:24px;min-height:46px;justify-content:center;gap:13px;background:#913f55;border-color:#ab566e;color:#f8edf0;box-shadow:none;font-size:13px}
.login-submit:hover:not(:disabled){background:#a64b64}
.login-help{color:#777985;font-size:11px;margin-top:21px}
.login-area-footer{position:absolute;bottom:25px;left:32px;right:32px;color:#777985;font-size:11px}
.login-area-footer .text-button{color:#8d8e9b;font-size:11px}
.login-error{color:#ed9dab}
.login-screen .preview-note{background:#17171d;border:1px solid #30313a;color:#aaaab6}
.brand{font-size:20px;letter-spacing:-.65px}
.brand-admin{color:#a0a1ae;font-weight:400}
.sidebar{border-right:1px solid #23242c}
.sidebar>.brand{gap:10px;margin-left:4px;margin-right:0;font-size:19px}
.workspace-switch{border-color:#272831;background:#111216;margin-bottom:26px;color:#c0c0cc}
.workspace-switch small{color:#898a97}
.workspace-icon{color:#c5a3af;background:#261b22;border-color:#44303a}
.workspace-switch>.icon{color:#7e7b88}
.nav-label{color:#777985;font-size:9px}
.nav-item{color:#a1a1af}
.nav-item>.icon{color:#838491}
.nav-item:hover{background:#19191f;color:#e1e0e8}
.nav-item.active{background:#2d1c25;border-color:#5a3142;color:#edc5d3}
.nav-item.active .icon{color:#d798ae}
.nav-item.active:before{background:#bb718b}
.nav-item.active .nav-count{background:#7f3e5529;color:#e4b8ca}
.service-indicator{color:#bbb8c5}
.service-indicator small,.owner-profile small{color:#85828f}
.owner-profile{color:#d1cbd7;border-color:#272630}
.owner-profile .owner-avatar{background:#33222d;border-color:#513441;color:#dfb5c9}
.owner-profile .icon-button{color:#a899b0}
.topbar{background:#101115;border-color:#272831}
.breadcrumbs{color:#8b8c99}.breadcrumbs strong{color:#d0d0db}
.breadcrumbs>.icon{color:#676975}
.topbar-owner,.sync-status{color:#a2a2af}
.topbar-separator{background:#2a2b34}
.owner-avatar-small{background:#2b202a;color:#dbb5c9}
.page-heading h1,.stat-value{color:#ededf2}
.page-heading .eyebrow{color:#b37d90;font-size:9px;letter-spacing:1.8px}
.page-heading p,.stat-head,.stat-foot,.section-heading p,.surface-heading p{color:#9899a6!important}
.surface-heading h2,.section-heading h2{color:#dedee7!important}
.surface,.stat-card,.application-card{background:#131418;border-color:#2a2b33;box-shadow:none}
.surface-heading{border-color:#282932}
.stat-head>.icon{color:#838491!important}
.stat-card.warning .stat-value{color:#d4b582}
.stat-card.warning .stat-head>.icon{color:#c5a16c!important}
.application-name h3,.application-metrics strong{color:#e1dfe8}
.application-name>p,.application-metrics span{color:#9694a3!important}
.application-icon,.settings-icon{background:#291b24;border-color:#4d2c3c;color:#d7a2b9}
.application-expanded .app-description,.application-actions{border-color:#2a2b33}
.button-secondary{background:#1a1b21;border-color:#353640;color:#d4d4df;box-shadow:none}
.button-secondary:hover:not(:disabled){background:#24252d;border-color:#4e4c59}
.button-primary{box-shadow:none}
.button-danger-outline{background:#23161b;border-color:#633440;color:#e9a3b4}
.button-danger-outline:hover:not(:disabled){background:#331b24}
.icon-button{color:#9999a7}.icon-button:hover:not(:disabled){background:#27242e;color:#e6dce9}
.text-button,.workspace .text-button{color:#bab2c4}
.text-button:hover:not(:disabled),.workspace .text-button:hover:not(:disabled){color:#e0acc0}
.workspace .muted,.workspace .feed-time,.workspace .feed-body>span,.workspace .key-text{color:#a2a1af}
.workspace .table-footer,.workspace .workspace-footer,.workspace .device-state,.workspace .setting-help,.workspace .preference-row small{color:#92919f}
th,.workspace th{background:#101115;color:#9696a5;border-color:#2b2c35}
td,.workspace td{color:#c2c0ce;border-color:#272831}
td .customer-name,.workspace td .customer-name{color:#e0dce8}
td.key-cell,.workspace td.key-cell{color:#d4bacb}
tbody tr[data-id]:hover{background:#1b1820}
tbody tr.selected{background:#251923}
.status-tag.active,.status-tag.valid{background:#15231e;border-color:#294638;color:#95c7ac}
.status-tag.pending{background:#1e1c26;border-color:#3a3547;color:#b9b1c9}
.status-tag.suspended{background:#2a1920;border-color:#55303e;color:#d49aa9}
.status-tag.expired{background:#202026;border-color:#35353e;color:#a7a5b4}
.status-tag.locked{background:#2a2317;border-color:#54452c;color:#d7b77b}
.feed-icon{background:#281c27;border-color:#493243;color:#c397b0}
.feed-body strong{color:#d5c9dc!important}
.feed-item:after{background:#312632!important}
.empty-state{color:#aaa0b5}.empty-state strong{color:#d5cddd}.empty-state p{color:#9d94a8}.empty-state>.icon{color:#8c789c}
select,.search-field,.form-field input,.form-field select,.form-field textarea{background:#121318;border-color:#33343e;color:#d8d5e2}
.search-field input{color:#dedbe8}.search-field input::placeholder{color:#888390}
.form-field>span,.permissions-heading{color:#c3b8d0}
.form-field small,.form-note,.account-form-note,.manager-role-line{color:#a295b2}
.form-field input:disabled{background:#1b1b24;color:#9690a2}
.form-note,.manager-role-line,.confirm-target{background:#19151f;border-color:#38303f}
.generate-key{background:#261c2b;border-color:#4b3454;color:#d4b6e1}.generate-key:hover{background:#36243e}
.settings-card .setting-list dt,.detail-row dt{color:#9d93ab}
.settings-card .setting-list dd,.detail-row dd,.app-description p{color:#c5b7d2}
.app-description h3,.preference-row strong{color:#ddd0e8}
.switch{background:#3c3845}.switch:checked{background:#9a4a65}
.role-badge{background:#24212d;color:#b9aacd}.role-badge.owner{background:#35212e;color:#e2b1cc}
.user-status{color:#8aba9e}.user-status.disabled{color:#d48d9c}
.user-cell strong{color:#ddd1e8}.user-cell small,.users-total,.users-help{color:#a194ae}
.permission-option{background:#15131c;border-color:#39303f;color:#c6b6d4}
.permission-option small{color:#a092ae}.permission-option:has(input:checked){background:#2a1d2b;border-color:#79465e}
.user-actions .icon-button{color:#b7a2c8}
dialog{background:#131218;border-color:#39313f;color:#c8b9d5;box-shadow:0 24px 90px #0009}
dialog::backdrop{background:#0009}
.modal-heading{border-color:#332837}.modal-heading h2{color:#e1d5eb}
.modal-intro,.service-results dt{color:#ac9eb9}.service-results dd{color:#d4c1e2}
.modal-actions .button-secondary{color:#c5b8d2}
.field-error{background:#2b1720;border-color:#643142;color:#ecadbd}
.confirm-target{color:#d8c7e6}.confirm-target code{color:#bc9fd0}
.toast{background:#211a28;border-color:#53425f;color:#e0d2ed}
.toast.success{background:#1b2b23;border-color:#3a6249;color:#b5dec6}.toast.error{background:#351d29;border-color:#7c435a;color:#f0b4c9}
.preview-badge{background:#251d2c;border-color:#46344f;color:#c5b1d3}

/* Device and IP: real server values are visible in the table and full details. */
.license-table{min-width:1040px;table-layout:fixed}
.license-table th:nth-child(1){width:18%}.license-table th:nth-child(2){width:13%}
.license-table th:nth-child(3){width:11%}.license-table th:nth-child(4){width:12%}
.license-table th:nth-child(5){width:23%}.license-table th:nth-child(6){width:15%}.license-table th:nth-child(7){width:8%}
.license-table th,.license-table td{padding-left:15px;padding-right:15px}
.license-table td{height:86px;vertical-align:middle}
.identity-value{display:flex;align-items:flex-start;gap:7px;min-width:0}
.identity-value code{flex:1;min-width:0;font:11px/1.6 "Cascadia Code",Consolas,monospace;white-space:normal;overflow-wrap:anywhere;word-break:break-all;user-select:all;color:#c6bdd1}
.identity-value .icon-button{width:25px;height:27px;flex-shrink:0;margin-top:-3px}
.identity-value .icon{width:13px;height:13px}
.identity-empty{font-size:11px;color:#888390;white-space:normal}
.license-detail{background:#111015;border-color:#332a39}
.detail-avatar{background:#2c1e2b;border-color:#4c3246;color:#d3a8c3}
.detail-heading{color:#dfcee9!important}.detail-key{background:#19131e;border-color:#3e2b48}
.detail-key>code{color:#d4b7e6}
.device-details{margin-top:22px;border-top:1px solid #36283e;padding-top:18px}
.identity-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
.identity-heading h3{font-size:11px;letter-spacing:.3px;font-weight:600;color:#c4afcf}
.identity-heading>.icon{width:16px;height:16px;color:#a289b2}
.identity-field+.identity-field{margin-top:15px}
.identity-field>span{display:block;font-size:10px;color:#a393b2;margin-bottom:7px}
.identity-field .identity-value{padding:10px;border:1px solid #3a2a45;border-radius:7px;background:#18111f}
.identity-field code{font-size:11px;color:#d3b6e6}
.identity-help{font-size:10px;line-height:1.7;color:#a491b3;margin-top:12px}
.detail-notes{color:#b3a2c1}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-text-fill-color:#e9e9ef;-webkit-box-shadow:0 0 0 1000px #131419 inset;caret-color:#d394a7}
@media(max-width:1020px){
 .license-detail .device-details{grid-column:1/-1}
}
@media(max-width:760px){
 .login-area{padding:36px 24px calc(95px + env(safe-area-inset-bottom))}
 .login-identity{gap:17px}.login-identity .brand-logo{width:88px;height:88px}
 .login-identity h1{font-size:27px}.login-intro{margin-bottom:31px;font-size:13px}
 .login-area-footer{left:24px;right:24px;bottom:calc(22px + env(safe-area-inset-bottom))}
 .sidebar>.brand{font-size:19px}.workspace-switch{font-size:11px}
 .login-submit{font-size:14px}
}
@media(max-width:600px){
 .license-table{min-width:0;table-layout:auto}
 .license-table tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px 18px;border-color:#302637}
 .license-table td{height:auto}
 .license-table td:last-child{grid-column:1/-1;grid-row:auto;padding-top:3px}
 .license-table td.device-cell{grid-column:1/-1}
 .license-table td.ip-cell{grid-column:1/-1}
 .license-table .identity-value code{font-size:11px;line-height:1.7}
 .license-table .identity-value{align-items:center}
 .license-table .identity-value .icon-button{width:36px;height:36px;border:1px solid #403048;margin:0}
 .license-table .identity-empty{font-size:12px}
 .row-actions .icon-button,.user-actions .icon-button{border-color:#43324e!important}
 .users-table tr,.activity-table tr{border-color:#302637}
 .compact-table th,.compact-table td{border-color:#2b2534}
 .permission-option{background:#17131d}
 .license-detail{display:block}
}

/* Applications: one home screen and one set of tools inside each application. */
.application-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,285px),1fr));gap:20px}
.project-card{padding:24px;border:1px solid #2c2d35;border-radius:13px;background:#131418;min-width:0;transition:border-color .15s,background .15s}
.project-card:hover{border-color:#51404b;background:#17151a}
.project-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}
.project-heading .application-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px}
.project-label{font-size:9px;letter-spacing:1.7px;color:#85808e}
.project-card h2{font-size:20px;line-height:1.3;letter-spacing:-.6px;color:#e5e3ed;font-weight:550;overflow-wrap:anywhere}
.project-id{display:block;margin-top:7px;color:#928797;overflow-wrap:anywhere;white-space:normal}
.project-counts{display:flex;gap:22px;flex-wrap:wrap;padding:23px 0;color:#afa6b9;font-size:12px}
.project-counts>span{display:flex;align-items:center;gap:7px}
.project-counts .icon{width:14px;height:14px;color:#9e869e}
.project-open{width:100%;justify-content:space-between;font-size:12px;min-height:40px}
.application-context{margin-bottom:22px}
.back-to-apps{font-size:11px;color:#a69bad;margin-bottom:20px}
.back-to-apps .icon{width:13px;height:13px}
.application-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid #302932;min-height:43px}
.application-tab{background:none;border:0;border-bottom:2px solid transparent;padding:10px 0 12px;font-size:12px;color:#9c91a6;min-height:44px}
.application-tab:hover{color:#e3cadb}.application-tab.active{border-color:#b9748e;color:#e3bbd0}
.connection-button{margin-left:auto;font-size:11px;color:#a99ab7;min-height:40px}
.connection-button>.icon{width:14px;height:14px}
.connection-field+.connection-field{margin-top:18px}
.connection-field>span{display:block;color:#aea0bb;font-size:11px;margin-bottom:8px}
.connection-field .identity-value{border:1px solid #39303e;background:#151319;border-radius:7px;padding:12px}
.page-heading h1{overflow-wrap:anywhere}.page-heading>div{min-width:0}
.device-details{color:#b4a3c2}.identity-field .identity-value{background:#17151b}
.message-list{padding:0 22px}.message-card{padding:22px 0;border-bottom:1px solid #2d2634}
.message-card:last-child{border:0}.message-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:10px;color:#96879f}
.message-meta time{font-size:10px}.message-status{margin-left:auto;color:#c4aecf}
.message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#ded0e9;line-height:1.85;margin-top:15px}
.message-delivery{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;font-size:11px;color:#a18caf}
.message-delivery>.text-button{font-size:10px;color:#c19db7;min-height:32px}
.message-app-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#d2bddb;padding:0 0 20px}
.message-app-label .icon{width:16px;height:16px}
.message-app-label+label{margin-bottom:19px}
.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1020px){.settings-grid{grid-template-columns:1fr}}
@media(max-width:760px){
 .application-grid{gap:15px}.project-card{padding:22px}.project-card h2{font-size:20px}
 .application-tabs{gap:20px;flex-wrap:wrap}.application-tab{font-size:12px}
 .connection-button{font-size:0;gap:0;width:36px;min-width:36px;margin-left:auto}
 .connection-button>.icon{width:17px;height:17px}
 .application-context{margin-bottom:19px}.back-to-apps{margin-bottom:13px;min-height:30px}
 .message-list{padding:0 17px}.message-card{padding:20px 0}
 .message-delivery{align-items:flex-start}.message-delivery>.text-button{white-space:normal;flex-shrink:0}
 .message-text{font-size:13px}.application-grid{grid-template-columns:1fr}
 .project-open{min-height:44px}
 .page-heading>.button{max-width:150px;padding-left:12px;padding-right:12px}
}


/* CONTROL: Application deletion remains next to Open, including on phones. */
.project-actions{display:flex;align-items:center;gap:10px}.project-actions .project-open{flex:1}.application-delete{color:#cb9198;flex:none}.application-delete:hover{background:#302026;color:#f3bcc5}
