:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#e9eef9;background:#080d19;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-height:100vh}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
.brand{display:inline-flex;align-items:center;gap:12px;font-weight:850;letter-spacing:.17em;font-size:17px;color:#f6f8ff}
.brand-name{letter-spacing:.01em;line-height:1.2;font-size:15px}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,#50a9ff,#4070f5);box-shadow:0 0 28px #3077ff55;font-size:19px;letter-spacing:0;color:#fff}
.brand-mark{flex:0 0 34px;font-size:12px}
.eyebrow,.step-label,.nav-heading,.sidebar-caption{font-size:11px;font-weight:800;letter-spacing:.17em;color:#7e9cf6}
.muted{color:#9aa7c1}
.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 0%,#162442 0,transparent 55%),#0a1020}
.auth-form-side{width:100%;display:grid;place-items:center}
.auth-card{width:min(100%,440px);background:#111a2b;border:1px solid #26344d;border-radius:18px;padding:34px;box-shadow:0 24px 80px #0005}
.auth-card h2{font-size:34px;letter-spacing:-.04em;margin:14px 0 8px}
.auth-card .muted{font-size:15px;line-height:1.55;margin:0 0 34px}
.auth-card .muted strong{color:#e8eeff;font-weight:650;overflow-wrap:anywhere}
.auth-card label{display:block;font-size:14px;font-weight:650;color:#d3dbee;margin:22px 0 9px}
.auth-card input{width:100%;height:52px;border:1px solid #2b3853;border-radius:11px;background:#101a2e;color:#f7f9ff;padding:0 16px;outline:none;transition:border-color .15s,box-shadow .15s}
.auth-card input:focus{border-color:#5e91ff;box-shadow:0 0 0 3px #4679ec30}
.auth-card input.code-input{font-size:23px;letter-spacing:.32em;text-align:center}
.primary-button{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:11px;background:#4c83f6;color:#fff;padding:0 24px;min-height:52px;font-size:15px;font-weight:750;box-shadow:0 8px 30px #2868eb35;transition:background .15s,transform .15s}
.primary-button:hover{background:#6294fb;transform:translateY(-1px)}
.primary-button:focus-visible,.text-link:focus-visible,.nav-link:focus-visible{outline:2px solid #9ebaff;outline-offset:3px}
.auth-card .primary-button{width:100%;margin-top:30px}
.primary-button.small{min-height:42px;font-size:14px}
.security-note{border-top:1px solid #25314b;margin-top:36px;padding-top:26px;color:#8191ae;font-size:13px;display:flex;gap:9px;align-items:center}
.security-note span{font-size:21px;color:#7098ed}
.text-link{display:inline-block;margin-top:25px;color:#94b5ff;font-size:14px}
.text-link:hover{text-decoration:underline}
.alert{background:#452334;border:1px solid #a24e67;color:#ffd2dc;border-radius:10px;padding:13px 16px;font-size:14px;line-height:1.45;margin:20px 0}
.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}
.sidebar{background:#0b1324;border-right:1px solid #25314b;padding:30px 17px 20px;display:flex;flex-direction:column;min-height:100vh}
.sidebar .brand{margin:2px 14px}
.sidebar-caption{margin:20px 14px 37px;color:#697c9f;font-size:10px}
.sidebar nav{display:flex;flex-direction:column;gap:4px}
.nav-heading{margin:27px 13px 12px;color:#6e809f;font-size:10px}
.nav-link{display:flex;align-items:center;gap:13px;min-height:43px;padding:0 13px;border-radius:9px;color:#9daac4;font-size:14px;font-weight:570}
.nav-link:hover{background:#142039;color:#e8eefb}
.nav-link.active{color:#e8f0ff;background:#203966}
.nav-icon{width:20px;text-align:center;color:#7ea5fd;font-size:19px;line-height:1}
.sidebar-bottom{margin-top:auto;padding:18px 8px 0;border-top:1px solid #25314b;display:flex;align-items:center;gap:10px}
.user-circle{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#263f70;color:#bfd3ff;font-weight:800}
.user-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.user-info strong{font-size:13px;overflow:hidden;text-overflow:ellipsis}
.user-info span{font-size:12px;color:#7788a9}
.logout-button{border:0;background:none;color:#a3b1d1;font-size:20px}
.main-area{min-width:0;background:#0c1424}
.topbar{height:67px;border-bottom:1px solid #25314b;display:flex;align-items:center;justify-content:space-between;padding:0 42px;color:#b6c2d9;font-size:13px}
.topbar-right{font-size:11px;letter-spacing:.16em;color:#62779e;font-weight:700}
.content{max-width:1460px;margin:0 auto;padding:42px}
.page-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:32px}
.page-heading h1{font-size:34px;letter-spacing:-.045em;margin:9px 0 5px}
.page-heading p{color:#92a1bd;margin:0;font-size:15px}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}
.stat-card{background:#111d32;border:1px solid #263650;border-radius:14px;padding:22px 23px;display:flex;flex-direction:column;min-height:153px;transition:border-color .15s,transform .15s}
.stat-card:hover{border-color:#4a6ca2;transform:translateY(-2px)}
.stat-card.accent{border-color:#3461b2;background:linear-gradient(145deg,#183460,#102340)}
.stat-card>span{color:#a9b6cf;font-size:14px}
.stat-card strong{font-size:40px;line-height:1.1;letter-spacing:-.05em;margin:18px 0 8px}
.stat-card small{color:#7285a8;font-size:12px}
.panel-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(310px,1fr);gap:18px}
.panel{border:1px solid #263650;background:#111d32;border-radius:14px;overflow:hidden;min-height:310px}
.panel-head{padding:24px 25px 21px;display:flex;align-items:end;justify-content:space-between;gap:12px;border-bottom:1px solid #263650}
.panel-head h2{font-size:19px;letter-spacing:-.02em;margin:7px 0 0}
.panel-head a{font-size:13px;color:#8ab0ff;white-space:nowrap}
.panel-head a:hover{text-decoration:underline}
table{width:100%;border-collapse:collapse}
th{text-align:left;color:#7789a8;font-size:11px;text-transform:uppercase;letter-spacing:.11em;font-weight:750;padding:16px 25px 12px}
td{padding:14px 25px;font-size:14px;color:#bdcae1;border-top:1px solid #24334d}
td strong{color:#e5ebf8;font-weight:650}
.subline{display:block;color:#778aa9;font-size:11px;margin-top:3px}
.badge{display:inline-flex;align-items:center;border-radius:20px;border:1px solid #355477;background:#1a3554;color:#a6cbf5;padding:5px 9px;font-size:11px;font-weight:700;white-space:nowrap}
.badge.good{border-color:#235b57;background:#173b3a;color:#83d6b7}
.badge.bad{border-color:#734152;background:#492b3a;color:#f6aabe}
.badge.warn{border-color:#765932;background:#423624;color:#f4c67f}
.release-list{padding:7px 25px}
.release-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 0;border-bottom:1px solid #24334d}
.release-row:last-child{border-bottom:0}
.release-row div{display:flex;flex-direction:column;gap:5px}
.release-row strong{font-size:14px}
.release-row span:not(.badge){font-size:12px;color:#8293b1}
.panel-foot{border-top:1px solid #263650;padding:15px 25px;color:#7588aa;font-size:12px}
.empty-state{padding:32px 25px;color:#8d9cb8;line-height:1.5;font-size:14px}
@media(max-width:1050px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-grid{grid-template-columns:1fr}}
@media(max-width:780px){.app-shell{grid-template-columns:1fr}.sidebar{min-height:auto;padding:14px;display:block}.sidebar .brand{margin:0 4px}.sidebar-caption,.sidebar-bottom,.nav-heading{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;margin-top:15px}.nav-link{white-space:nowrap;font-size:13px}.main-area{min-height:calc(100vh - 115px)}.topbar{padding:0 20px;height:50px}.content{padding:25px 20px}.page-heading{align-items:start;flex-direction:column}.stat-grid{gap:10px}}
@media(max-width:520px){.auth-card{padding:24px}.auth-card h2{font-size:28px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:16px;min-height:132px}.stat-card strong{font-size:32px}.stat-card small{font-size:11px}.panel-head{padding:18px}.panel-head h2{font-size:17px}th,td{padding:11px;font-size:12px}.table-wrap{overflow-x:auto}.topbar-right{display:none}}
.messages{display:grid;gap:10px;margin-bottom:22px}
.flash{border:1px solid #245f53;background:#143a33;color:#9be3c5;border-radius:10px;padding:14px 17px;font-size:14px}
.flash.error{border-color:#83465a;background:#442536;color:#ffd0da}
.list-panel{min-height:180px}
.list-panel td{vertical-align:middle}
.list-panel code,.key-output{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.list-panel code{color:#b7cdfc;font-size:12px}
.right{text-align:right}
.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px;white-space:nowrap}
.row-link,.plain-button,.back-link{color:#8eb3ff;font-size:13px;font-weight:650}
.row-link:hover,.plain-button:hover,.back-link:hover{text-decoration:underline}
.plain-button{background:none;border:0;padding:0}
.back-link{display:inline-block;margin-bottom:20px}
.form-panel{max-width:720px;border:1px solid #263650;background:#111d32;border-radius:14px;padding:32px}
.form-field{margin-bottom:23px}
.form-field label,.key-panel label{display:block;color:#d8e2f4;font-size:14px;font-weight:670;margin-bottom:9px}
.form-field input:not([type=checkbox]),.form-field select,.form-field textarea,.key-panel input{display:block;width:100%;border:1px solid #354662;background:#0c172b;color:#eaf0fb;border-radius:10px;min-height:46px;padding:10px 13px;outline:none;font-size:15px}
.form-field input[type=file]{padding:12px;background:#0d1b33}
.form-field textarea{min-height:100px;resize:vertical}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#6b9cf7;box-shadow:0 0 0 3px #4679ec30}
.checkbox-field label{display:flex;align-items:center;gap:11px;cursor:pointer}
.checkbox-field input{width:18px;height:18px;accent-color:#5890fb}
.checkbox-field label span{line-height:1.3}
.field-help{color:#8495b4;font-size:13px;line-height:1.55;margin:8px 0}
.field-error{color:#ffb8c7;font-size:13px;margin-top:7px}
.field-error ul{margin:0;padding-left:18px}
.form-actions{border-top:1px solid #293a54;padding-top:24px;margin-top:32px;display:flex;justify-content:flex-end;align-items:center;gap:20px}
.secondary-button{color:#aebddd;font-size:14px;font-weight:650}
.key-panel{max-width:780px}
.key-panel .key-output{font-size:18px;color:#fff;margin:10px 0 15px}
.key-panel .primary-button{margin-top:16px}
@media(max-width:780px){.form-panel{padding:24px}.row-actions{gap:10px}}

/* Neutral, low-distraction theme for the administration panel. */
:root{color:#ededed;background:#080809}
.brand{color:#f2f2f2;letter-spacing:0}
.brand-mark{background:#e7e7e7;color:#101010;box-shadow:none;border-radius:7px}
.brand-name{font-size:13px;letter-spacing:0;font-weight:700}
.eyebrow,.step-label{color:#a1a1a4}
.muted{color:#a1a1a4}
.auth-shell{background:radial-gradient(circle at 50% 0%,#1b1b1d 0,transparent 54%),#09090a}
.auth-card{background:#151516;border-color:#2c2c2e;box-shadow:0 24px 80px #0006}
.auth-card label{color:#d7d7d9}
.auth-card input{background:#101011;border-color:#38383b;color:#f4f4f4}
.auth-card input:focus{border-color:#bcbcbf;box-shadow:0 0 0 3px #ffffff1c}
.primary-button{background:#e7e7e8;color:#111112;box-shadow:none}
.primary-button:hover{background:#fff;transform:none}
.primary-button:focus-visible,.text-link:focus-visible,.nav-link:focus-visible{outline-color:#d0d0d2}
.text-link,.row-link,.plain-button,.back-link,.panel-head a{color:#ceced1}
.text-link:hover,.row-link:hover,.plain-button:hover,.back-link:hover,.panel-head a:hover{color:#fff}
.app-shell{grid-template-columns:232px minmax(0,1fr)}
.sidebar{background:#0b0b0c;border-right-color:#242426;padding:27px 14px 18px}
.sidebar .brand{margin:0 10px;gap:10px}
.sidebar nav{gap:3px;margin-top:43px}
.nav-divider{height:1px;background:#272729;margin:13px 11px}
.nav-link{min-height:40px;padding:0 12px;border-radius:7px;color:#a4a4a7;font-size:13px;font-weight:550}
.nav-link:hover{background:#19191b;color:#f5f5f5}
.nav-link.active{background:#202022;color:#fff;border-left:2px solid #d3d3d5;padding-left:10px}
.sidebar-bottom{border-top-color:#272729;padding:16px 10px 0;gap:8px}
.user-info strong{color:#d1d1d3}
.logout-button{font-size:12px;font-weight:650;color:#b9b9bc;padding:7px 0 7px 10px}
.logout-button:hover{color:#fff}
.main-area{background:#0a0a0b}
.topbar{height:61px;background:#0d0d0e;border-bottom-color:#242426;color:#97979a;padding:0 38px}
.content{padding:39px}
.page-heading h1{color:#f2f2f2}
.page-heading p{color:#a0a0a3}
.stat-card,.panel,.form-panel{background:#151516;border-color:#2d2d2f}
.stat-card:hover{border-color:#555558}
.stat-card.accent{background:#1b1b1d;border-color:#555558}
.stat-card>span,.panel-head h2{color:#dedee0}
.stat-card small,.release-row span:not(.badge),.panel-foot{color:#98989b}
.panel-head,.panel-foot{border-color:#2d2d2f}
th{color:#99999c}
td{color:#c5c5c8;border-top-color:#2b2b2d}
td strong{color:#f0f0f0}
.subline,.empty-state{color:#a0a0a3}
.release-row{border-bottom-color:#2b2b2d}
.badge{background:#242426;border-color:#414144;color:#d0d0d2}
.badge.good{background:#18251d;border-color:#365342;color:#a7d0b3}
.badge.bad{background:#2b1c1f;border-color:#614149;color:#e4aab4}
.badge.warn{background:#29251b;border-color:#62563a;color:#d9c599}
.list-panel code,.key-panel .key-output{color:#e4e4e6}
.form-field label,.key-panel label{color:#dedee0}
.form-field input:not([type=checkbox]),.form-field select,.form-field textarea,.key-panel input,.form-field input[type=file]{background:#101011;border-color:#3a3a3d;color:#ededed}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#bcbcbf;box-shadow:0 0 0 3px #ffffff1c}
.checkbox-field input{accent-color:#d0d0d2}
.field-help,.secondary-button{color:#a8a8ab}
.form-actions{border-top-color:#303032}
.flash{background:#18251d;border-color:#365342;color:#afd8bc}
.flash.error,.alert{background:#2b1c1f;border-color:#614149;color:#edb8c0}
@media(max-width:780px){.app-shell{grid-template-columns:1fr}.sidebar{min-height:auto;padding:16px}.sidebar .brand{margin:0 4px}.sidebar nav{margin-top:14px;flex-direction:row;overflow-x:auto}.nav-divider{display:none}.nav-link{white-space:nowrap}.sidebar-bottom{display:flex;margin-top:12px;padding:0 4px;border:0}.user-info{display:none}.main-area{min-height:calc(100vh - 150px)}.topbar{padding:0 20px}.content{padding:25px 20px}}
.company-section{margin-bottom:18px;min-height:0}
.company-link{font-size:15px;font-weight:700;color:#f1f1f2}
.app-list-item{margin-top:5px}
.app-with-icon{display:flex;align-items:center;gap:11px;min-width:0}
.app-with-icon>div{min-width:0}
.app-icon{display:block;flex:0 0 34px;width:34px;height:34px;object-fit:contain;border-radius:8px;background:#242426}
.app-icon-placeholder{display:grid;place-items:center;color:#d4d4d6;font-size:15px;font-weight:700}
.current-icon{display:flex;align-items:center;gap:11px;margin-top:12px;color:#a8a8ab;font-size:12px}
.current-icon img{width:48px;height:48px;object-fit:contain;border-radius:9px;background:#242426}

@media(max-width:780px){
  .app-shell{display:block;width:100%;min-width:0}
  .sidebar{width:100%;min-height:0;padding:16px;display:block}
  .sidebar .brand{margin:0;max-width:100%;letter-spacing:0}
  .sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:17px;overflow:visible}
  .nav-link{min-width:0;min-height:42px;padding:9px 11px;white-space:normal;line-height:1.25}
  .nav-link.active{padding-left:9px}
  .sidebar-bottom{display:flex;margin-top:14px;padding:9px 0 0;border-top:1px solid #272729}
  .main-area,.content,.stat-grid,.panel-grid,.panel,.table-wrap{min-width:0;max-width:100%}
  .main-area{width:100%;min-height:0}
  .topbar{display:none}
  .content{width:100%;padding:25px 18px}
  .page-heading{align-items:stretch;flex-direction:column;gap:18px;margin-bottom:25px}
  .page-heading>div{min-width:0}
  .page-heading h1{font-size:clamp(27px,7vw,34px);overflow-wrap:anywhere}
  .page-heading p{line-height:1.5}
  .page-heading>.primary-button,.page-heading>.secondary-button{align-self:flex-start}
  .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .stat-card{min-width:0}
  .panel-grid{grid-template-columns:minmax(0,1fr)}
  .panel-head{align-items:flex-start;flex-wrap:wrap}
  .panel-head a{white-space:normal}
  .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .form-panel{width:100%;max-width:100%;padding:22px}
  .form-field input:not([type=checkbox]),.form-field select,.form-field textarea{min-width:0}
}
@media(max-width:700px){
  .responsive-table,.responsive-table tbody,.responsive-table tr{display:block;width:100%}
  .responsive-table thead{display:none}
  .responsive-table tr{padding:10px 17px 13px;border-top:1px solid #2b2b2d}
  .responsive-table tr:first-child{border-top:0}
  .responsive-table td{display:block;position:relative;min-height:35px;border:0;padding:8px 0 8px 42%;text-align:right;white-space:normal;overflow-wrap:anywhere}
  .responsive-table td::before{content:attr(data-label);position:absolute;left:0;top:8px;width:38%;color:#99999c;font-size:11px;font-weight:750;text-align:left;text-transform:uppercase;letter-spacing:.06em}
  .responsive-table td[data-label=""]::before{display:none}
  .responsive-table td[data-label=""]{padding-left:0}
  .responsive-table td.row-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:13px}
  .responsive-table .app-with-icon{justify-content:flex-end;text-align:left}
  .responsive-table .app-icon{flex-basis:30px;width:30px;height:30px}
  .responsive-table .subline{overflow-wrap:anywhere}
  .list-panel{min-height:0}
}
@media(max-width:420px){
  .content{padding:20px 14px}
  .sidebar{padding:14px}
  .brand-name{font-size:13px}
  .nav-link{font-size:12px}
  .stat-card{padding:15px 13px;min-height:125px}
  .stat-card>span{font-size:12px}
  .stat-card strong{font-size:30px;margin:14px 0 6px}
  .stat-card small{font-size:10px}
  .panel-head{padding:18px}
  .form-panel{padding:18px}
  .form-actions{flex-wrap:wrap;gap:15px}
}
.inline-action { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin-top:18px; }
.inline-action label { display:flex; flex-direction:column; gap:6px; color:var(--muted,#aaa); }
.inline-action input { max-width:160px; padding:10px; border:1px solid #444; border-radius:8px; background:#111; color:#fff; }
.license-type-info{margin-top:12px;padding:13px 15px;border:1px solid #343438;border-radius:10px;background:#18181a;color:#d0d0d2;font-size:13px;line-height:1.55}
.license-type-info p{margin:0}
.license-type-info [hidden]{display:none}

/* Urządzenia, strefa ryzyka, paginacja */
.filter-bar{display:flex;flex-wrap:wrap;gap:14px;align-items:end;padding:20px 25px;border-bottom:1px solid #2d2d2f}
.filter-bar label{display:flex;flex-direction:column;gap:6px;color:#a8a8ab;font-size:12px;min-width:150px;flex:1 1 150px}
.filter-bar select,.filter-bar input{min-height:40px;padding:8px 10px;border:1px solid #3a3a3d;border-radius:8px;background:#101011;color:#ededed;font-size:14px;width:100%}
.filter-actions{display:flex;align-items:center;gap:16px}
.filter-count{padding:0 25px}
.copy-fp{cursor:pointer}
.copy-fp:hover{text-decoration:underline}
.pager{display:flex;align-items:center;justify-content:center;gap:22px;padding:18px 25px;border-top:1px solid #2d2d2f;color:#a0a0a3;font-size:13px}
.pager a{color:#ceced1;font-weight:650}
.pager a:hover{color:#fff;text-decoration:underline}
.routine-row td{opacity:.7}
.danger-zone{border-color:#614149}
.danger-zone>p,.danger-zone>.row-actions{padding:0 25px}
.danger-zone .panel-head{border-color:#614149}
.danger-zone .panel-head h2{color:#edb8c0}
.danger-zone>.panel-head+p{margin-top:18px}
.form-panel.danger-zone>p{padding:0}
.row-actions.left{justify-content:flex-start;margin-bottom:22px}
.danger-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 20px;border:1px solid #8a4a58;border-radius:10px;background:#3a2126;color:#ffd2d9;font-size:14px;font-weight:700;cursor:pointer}
.danger-button:hover{background:#54303a;color:#fff}
.plain-button.danger-link{color:#e4aab4}
.plain-button.danger-link:hover{color:#ffd2d9}
.form-panel .plain-list{margin:12px 0 18px;padding-left:20px;line-height:1.6;color:#c5c5c8}

/* Ostrzeżenie o automatycznym wylogowaniu */
.idle-warning{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:50;display:flex;align-items:center;gap:18px;max-width:calc(100vw - 28px);padding:13px 18px;border:1px solid #62563a;border-radius:12px;background:#29251b;color:#ecd9a8;font-size:14px;box-shadow:0 12px 40px #000a}
.idle-warning[hidden]{display:none}
.idle-stay{min-height:36px;padding:0 16px;border:0;border-radius:8px;background:#e7e7e8;color:#111112;font-weight:700;cursor:pointer;white-space:nowrap}
.idle-stay:hover{background:#fff}
.device-details{margin-top:8px;font-size:12px;text-align:left}
.device-details summary{cursor:pointer;color:#ceced1;font-weight:650}
.device-details p{margin:8px 0 4px;white-space:normal;overflow-wrap:anywhere}
.device-details .plain-list{margin:4px 0 8px;padding-left:18px;line-height:1.55;white-space:normal}

/* Lista licencji: sortowanie, grupy, licencje wygasające */
.sort-link{color:inherit;white-space:nowrap}
.sort-link:hover,.sort-link.active{color:#fff;text-decoration:underline}
.group-row td{padding:14px 25px;background:#18181a;border-top:1px solid #2d2d2f}
.group-row .app-with-icon{gap:12px}
.group-row .subline.inline{display:inline;margin-left:6px}
.responsive-table tr.lic-expiring{box-shadow:inset 3px 0 0 #62563a}
.responsive-table tr.lic-expired{box-shadow:inset 3px 0 0 #614149}
.lic-note{color:#d9c599}
@media(max-width:700px){
  .responsive-table tr.group-row{padding:12px 17px;background:#18181a}
  .responsive-table .group-row td{display:block;padding:0;min-height:0;text-align:left}
}

/* Zabezpieczenia konta (TOTP) */
.security-panel h2{margin:0 0 12px}
.security-panel h3{margin:28px 0 6px;font-size:16px}
.security-panel .steps{line-height:1.7;padding-left:22px}
.status-on{color:#6fd39a}.status-off{color:#e0b06a}
.qr-wrap{display:flex;flex-direction:column;align-items:center;text-align:center;margin:18px 0}
.qr-box{width:min(100%,360px);aspect-ratio:1/1;background:#fff;border-radius:12px;padding:10px;margin:8px auto;box-sizing:border-box}
.qr-box svg{display:block;width:100%;height:100%;shape-rendering:crispEdges}
.setup-key{font-family:ui-monospace,Consolas,monospace;font-size:16px;letter-spacing:.06em;user-select:all;word-break:break-word}
.inline-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:10px 0}
.inline-form input{height:44px;border:1px solid #38383b;border-radius:10px;background:#101011;color:#f4f4f4;padding:0 14px;min-width:200px}
.recovery-codes{columns:2;list-style:decimal inside;font-family:ui-monospace,Consolas,monospace;font-size:18px;letter-spacing:.08em;line-height:2;background:#101011;border:1px solid #38383b;border-radius:10px;padding:14px 18px;margin:16px 0}
.check-row{display:flex;gap:10px;align-items:center;margin:18px 0}
.form-actions.left{justify-content:flex-start}
.disabled-link{opacity:.4;pointer-events:none}
@media print{.sidebar,.topbar,.form-actions,.check-row,.disabled-link,.idle-warning{display:none!important}.recovery-codes{color:#000;background:#fff;border-color:#000}}
