.organization-card__actions {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 18px;
}

.delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  border: 1px solid rgba(255, 116, 121, .3);
  border-radius: 9px;
  background: rgba(237, 68, 75, .075);
  color: #ff9da1;
  font-size: 11px;
  font-weight: 750;
  transition: background .2s, border-color .2s, transform .2s;
}

.delete-button:hover:not(:disabled) {
  border-color: rgba(255, 116, 121, .55);
  background: rgba(237, 68, 75, .16);
  transform: translateY(-1px);
}

.delete-button--solid {
  border-color: #cc3d44;
  background: #cc3d44;
  color: #fff;
  box-shadow: 0 8px 18px rgba(204, 61, 68, .2);
}

.delete-button--solid:hover:not(:disabled) {
  border-color: #df4b52;
  background: #df4b52;
}

.edit-license-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, .1);
  color: #aeb7c6;
  font-size: 11px;
}

.readonly-field {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 68px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(0, 0, 0, .1);
}

.readonly-field span {
  color: #aeb6c4;
  font-size: 11px;
  font-weight: 650;
}

.readonly-field b {
  color: #edf1f8;
  font-size: 12px;
}

.modal--danger {
  width: min(460px, calc(100vw - 32px));
  border-color: rgba(255, 116, 121, .28);
}

.modal--danger h2 {
  padding-right: 28px;
}

.danger-copy {
  margin: 0 !important;
  color: #b3bac7 !important;
  font-family: Manrope, Arial, sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  line-height: 1.65;
}

.danger-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 25px;
}

.status--suspended {
  color: #e7b966;
}

.status--suspended i {
  background: #e7b966;
}

@media (max-width: 760px) {
  .danger-actions {
    flex-direction: column-reverse;
  }

  .danger-actions button {
    width: 100%;
  }
}

/* A compact, non-blocking sync state replaces the old static red line. */
.sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(144, 158, 183, .18);
  border-radius: 999px;
  color: #9ba5b5;
  font: 10px "DM Mono", monospace;
  letter-spacing: .05em;
}

.sync-indicator i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66dcb5;
  box-shadow: 0 0 0 4px rgba(102, 220, 181, .09);
}

.sync-indicator--loading i {
  background: #9c8bff;
  box-shadow: 0 0 0 4px rgba(156, 139, 255, .14);
  animation: panel-sync-pulse 1s ease-in-out infinite;
}

.sync-indicator--updated i {
  background: #9c8bff;
  box-shadow: 0 0 0 4px rgba(156, 139, 255, .12);
}

.icon-button.is-loading svg {
  animation: panel-refresh-spin .8s linear infinite;
}

.loading-veil {
  position: fixed;
  z-index: 48;
  right: clamp(18px, 4vw, 54px);
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: rgba(30, 35, 49, .96);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .28);
  color: #c8d0dc;
  font-size: 11px;
  animation: panel-loading-enter .2s both;
}

.loading-veil span {
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(from 35deg, #8e7dff, #57cde5, #e59ac9, #8e7dff);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: panel-refresh-spin .68s linear infinite;
}

.loading-veil em {
  font-style: normal;
}

@keyframes panel-refresh-spin {
  to { transform: rotate(360deg); }
}

@keyframes panel-sync-pulse {
  50% { opacity: .35; transform: scale(.72); }
}

@keyframes panel-loading-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Role separation is intentional: operators can observe the estate, while
   only super-admins receive global approval, deletion and edit controls. */
body:not([data-admin-role="super_admin"]) [data-modal="license"],
body:not([data-admin-role="super_admin"]) [data-modal="organization"],
body:not([data-admin-role="super_admin"]) [data-edit-license],
body:not([data-admin-role="super_admin"]) [data-delete-organization],
body:not([data-admin-role="super_admin"]) [data-delete-individual-account],
body:not([data-admin-role="super_admin"]) [data-device],
body:not([data-admin-role="super_admin"]) [data-request-decline],
body:not([data-admin-role="super_admin"]) [data-request-approve],
body:not([data-admin-role="super_admin"]) [data-organization-request-approve] { display: none !important; }

body:not([data-admin-role="super_admin"]) .workspace-label { color: #78cfe1; }
body[data-admin-role="super_admin"] .workspace-label { color: #ff9197; }

/* License request review */
.request-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  overflow: hidden;
  min-height: 208px;
  margin-bottom: 20px;
  padding: 31px 33px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: linear-gradient(123deg, #272d3d 0%, #202534 58%, #1b2030 100%);
}

.request-hero::before,
.request-hero::after {
  position: absolute;
  border-radius: 43%;
  content: "";
  pointer-events: none;
}

.request-hero::before {
  right: -94px;
  bottom: -185px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255,124,131,.34);
  border-left-color: transparent;
  animation: request-orbit 23s linear infinite;
}

.request-hero::after {
  right: 112px;
  top: -154px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(119,217,231,.2);
  border-bottom-color: transparent;
  animation: request-orbit 17s linear infinite reverse;
}

.request-hero > div { position: relative; z-index: 1; }
.request-hero p,
.request-queue__section-head p,
.organization-showcase p,
.organization-portfolio__detail p {
  margin: 0 0 9px;
  color: #fe9da2;
  font: 10px "DM Mono", monospace;
  letter-spacing: .15em;
}

.request-hero h2,
.organization-showcase h2 {
  margin: 0;
  color: #f4f6fb;
  font-size: clamp(27px, 3vw, 37px);
  line-height: 1.04;
  letter-spacing: -.065em;
}

.request-hero h2 span,
.organization-showcase h2 span { color: #e1a5ad; }
.request-hero > div > small,
.organization-showcase > div > small {
  display: block;
  max-width: 505px;
  margin-top: 13px;
  color: #a8b1c0;
  font-size: 12px;
  line-height: 1.65;
}

.request-hero__summary { display: grid; grid-template-columns: repeat(3, minmax(112px, 1fr)); gap: 9px; }
.request-hero__summary article {
  display: grid;
  grid-template-columns: 30px auto;
  gap: 1px 9px;
  min-width: 116px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 13px;
  background: #202534;
  box-shadow: 0 15px 28px rgba(5,8,15,.13);
  transition: transform .25s ease, border-color .25s ease;
}

.request-hero__summary article:hover { transform: translateY(-3px); border-color: rgba(255,170,175,.35); }
.request-hero__summary span { display: grid; grid-row: span 2; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: rgba(241,102,111,.12); color: #ff9299; }
.request-hero__summary article:nth-child(2) span { background: rgba(97,208,225,.12); color: #7bdeea; }
.request-hero__summary article:nth-child(3) span { background: rgba(154,135,247,.13); color: #c5b6ff; }
.request-hero__summary b { color: #f4f6fa; font-size: 20px; line-height: 1; letter-spacing: -.055em; }
.request-hero__summary small { color: #9aa4b4; font-size: 10px; white-space: nowrap; }

.request-queue { margin-top: 24px; }
.request-queue--personal { padding-top: 21px; border-top: 1px solid rgba(255,255,255,.075); }
.request-queue__section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 3px 13px; }
.request-queue__section-head p { margin-bottom: 5px; color: #7cdbeb; }
.request-queue__section-head h3 { margin: 0; color: #f0f3f8; font-size: 18px; letter-spacing: -.045em; }
.request-queue__section-head > span { color: #8d98aa; font: 10px "DM Mono", monospace; letter-spacing: .07em; }
.request-queue__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(355px, 1fr)); gap: 14px; }
.request-queue__grid--personal { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.request-queue-card {
  position: relative;
  overflow: hidden;
  min-height: 233px;
  padding: 19px;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 15px;
  background: #222837;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  transition: transform .27s ease, border-color .27s ease, box-shadow .27s ease;
}

.request-queue-card::after {
  position: absolute;
  right: -43px;
  top: -56px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(128,220,235,.15);
  border-radius: 40%;
  content: "";
  animation: request-orbit 29s linear infinite;
}

.request-queue-card--corporate::after { border-color: rgba(255,132,139,.19); }
.request-queue-card:hover { z-index: 1; transform: translateY(-4px); border-color: rgba(255,255,255,.2); box-shadow: 0 21px 39px rgba(0,0,0,.21); }
.request-queue-card__rail { position: absolute; inset: 0 auto 0 0; width: 3px; background: #72d8e6; opacity: .8; }
.request-queue-card--corporate .request-queue-card__rail { background: linear-gradient(#ff8c94, #a28fff); }
.request-queue-card__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; }
.request-queue-card__icon { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 11px; background: rgba(89,203,220,.13); color: #77dfe9; }
.request-queue-card--corporate .request-queue-card__icon { background: rgba(244,110,120,.13); color: #ff9aa1; }
.request-queue-card__head > div { display: grid; min-width: 0; gap: 4px; }
.request-queue-card__head .status { margin-left: auto; }
.request-kind { color: #97a9bd; font: 9px "DM Mono", monospace; letter-spacing: .1em; }
.request-kind--corporate { color: #ffabb0; }
.request-queue-card__head small { color: #7f8a9c; font-size: 10px; }
.request-queue-card__identity { position: relative; z-index: 1; margin-top: 17px; }
.request-queue-card__identity h3 { margin: 0; color: #f1f3f8; font-size: 17px; letter-spacing: -.045em; }
.request-queue-card__identity p,
.request-queue-card__identity > span { display: flex; align-items: center; gap: 5px; margin: 7px 0 0; color: #b0bac9; font-size: 11px; }
.request-queue-card__identity svg { color: #8b9bad; }
.request-queue-card__scope { position: relative; z-index: 1; display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: 16px; margin-top: 16px; padding: 13px 0 0; border-top: 1px solid rgba(255,255,255,.075); }
.request-seat-meter { display: grid; gap: 2px; align-content: start; }
.request-seat-meter small,
.request-module-stack > small { color: #8d98aa; font: 9px "DM Mono", monospace; letter-spacing: .07em; }
.request-seat-meter b { color: #f6f7fb; font-size: 26px; line-height: 1; letter-spacing: -.065em; }
.request-seat-meter span { color: #8995a6; font-size: 10px; }
.request-module-stack { display: grid; gap: 7px; }
.request-module-stack > div { display: flex; flex-wrap: wrap; gap: 6px; }
.request-module-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid rgba(116,217,233,.19); border-radius: 7px; color: #a9dce3; background: rgba(81,188,204,.07); font-size: 10px; }
.request-module-pill--performsec { border-color: rgba(171,145,250,.22); color: #c2b2fa; background: rgba(148,123,236,.08); }
.request-module-pill--kiris-design { border-color: rgba(248,171,104,.22); color: #f6bd83; background: rgba(235,144,61,.08); }
.request-module-pill b { font-weight: 650; }.request-module-pill em { padding-left: 2px; color: #f3f5f8; font-style: normal; font-weight: 800; }
.request-queue-card__personal-note { position: relative; z-index: 1; margin-top: 26px; color: #95a0b0; font-size: 11px; line-height: 1.55; }
.request-queue-card__actions { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: 17px; }.request-queue-card__actions button { flex: 1; }
.request-empty { display: grid; min-height: 151px; place-items: center; border: 1px dashed rgba(255,255,255,.14); border-radius: 14px; color: #8994a5; font-size: 12px; }

/* Corporate portfolio cards */
.organization-showcase { position: relative; display: flex; align-items: end; justify-content: space-between; min-height: 184px; overflow: hidden; margin-bottom: 18px; padding: 28px 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: linear-gradient(118deg, #24293a, #1b2030); }
.organization-showcase::after { position: absolute; right: -80px; bottom: -95px; width: 300px; height: 300px; border: 1px solid rgba(116,218,233,.26); border-radius: 42%; border-left-color: transparent; content: ""; animation: request-orbit 25s linear infinite; }
.organization-showcase > * { position: relative; z-index: 1; }.organization-showcase p { color: #7adce9; }.organization-showcase h2 span { color: #9be2e9; }
.organization-showcase__badge { display: grid; grid-template-columns: 34px auto; gap: 0 10px; min-width: 141px; padding: 13px 15px; border: 1px solid rgba(115,217,232,.18); border-radius: 13px; background: #202635; }.organization-showcase__badge span { display:grid; grid-row:span 2; width:34px; height:34px; place-items:center; border-radius:10px; background:rgba(86,207,224,.12); color:#83e2ec; }.organization-showcase__badge b { color:#f4f6fa; font-size:22px; line-height:1; letter-spacing:-.06em; }.organization-showcase__badge small { color:#97a4b4; font-size:10px; }
.organization-portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.organization-portfolio { overflow: hidden; border: 1px solid rgba(255,255,255,.105); border-radius: 15px; background: #222837; box-shadow: 0 14px 30px rgba(0,0,0,.11); transition: border-color .25s ease, box-shadow .25s ease; }.organization-portfolio:hover,.organization-portfolio.is-open { border-color: rgba(117,218,232,.27); box-shadow: 0 20px 37px rgba(0,0,0,.17); }
.organization-portfolio__top { display: grid; grid-template-columns: 39px minmax(0, 1fr) 18px; align-items: center; width: 100%; gap: 10px; padding: 19px 18px 15px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; appearance: none; transition: background .24s ease; }.organization-portfolio__top:hover { background: rgba(255,255,255,.025); }.organization-portfolio__emblem { display:grid; width:39px; height:39px; place-items:center; border-radius:12px; background:rgba(89,208,225,.13); color:#84e0eb; }.organization-portfolio__title { display:grid; gap:4px; min-width:0; }.organization-portfolio__title small { color:#8292a5; font:9px "DM Mono",monospace; letter-spacing:.1em; }.organization-portfolio__state--active { color:#8ecaaa !important; }.organization-portfolio__state--suspended,.organization-portfolio__state--cancelled { color:#c69b87 !important; }.organization-portfolio__title b { overflow:hidden; color:#f1f4f9; font-size:15px; letter-spacing:-.04em; text-overflow:ellipsis; white-space:nowrap; }.organization-portfolio__arrow { color:#8c99ab; transition:transform .32s cubic-bezier(.2,.8,.2,1); }.organization-portfolio.is-open .organization-portfolio__arrow { transform:rotate(90deg); color:#8de0e9; }
.organization-portfolio__metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin:0 18px; border:1px solid rgba(255,255,255,.075); border-radius:11px; overflow:hidden; background:rgba(0,0,0,.12); }.organization-portfolio__metrics div { padding:11px 10px; background:#202635; }.organization-portfolio__metrics small,.organization-portfolio__metrics b,.organization-portfolio__metrics em { display:block; }.organization-portfolio__metrics small { color:#8793a5; font-size:9px; }.organization-portfolio__metrics b { margin-top:5px; color:#f1f4f8; font-size:18px; letter-spacing:-.055em; }.organization-portfolio__metrics em { display:inline; color:#7e8b9d; font-size:11px; font-style:normal; }
.organization-portfolio__modules { display:flex; flex-wrap:wrap; gap:6px; padding:15px 18px 12px; }.organization-module-usage { display:inline-flex; align-items:center; gap:5px; padding:6px 7px; border:1px solid rgba(104,215,230,.17); border-radius:8px; color:#a4d8df; background:rgba(68,183,200,.07); font-size:10px; transition:transform .2s ease,background .2s ease; }.organization-module-usage:hover { transform:translateY(-2px); background:rgba(68,183,200,.12); }.organization-module-usage--performsec { border-color:rgba(165,142,246,.19); color:#c3b1f8; background:rgba(143,116,236,.08); }.organization-module-usage--kiris-design { border-color:rgba(245,174,112,.19); color:#f5c187; background:rgba(231,145,66,.08); }.organization-module-usage--empty { color:#8490a0; border-color:rgba(255,255,255,.09); background:transparent; }.organization-module-usage b { font-weight:650; }.organization-module-usage em { padding-left:2px; color:#f0f3f8; font-style:normal; font-weight:800; }
.organization-portfolio__people { display:flex; flex-wrap:wrap; gap:6px; min-height:51px; padding:0 18px 16px; }.organization-person-chip { display:inline-flex; align-items:center; gap:6px; max-width:100%; padding:5px 8px 5px 5px; border:1px solid rgba(255,255,255,.09); border-radius:999px; color:#b8c1cd; background:rgba(0,0,0,.1); font-size:10px; }.organization-person-chip i { display:grid; width:19px; height:19px; flex:0 0 19px; place-items:center; border-radius:50%; background:#3f495f; color:#eff3f7; font-style:normal; font-size:9px; font-weight:800; }.organization-person-chip small { overflow:hidden; margin-left:2px; color:#8f9bab; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.organization-person-chip--empty { border-style:dashed; color:#8692a3; background:transparent; }
.organization-portfolio__detail { display:grid; gap:16px; padding:17px 18px 18px; border-top:1px solid rgba(255,255,255,.07); background:#1d2230; animation: organization-detail-in .3s ease both; }.organization-portfolio__detail p { margin-bottom:8px; color:#84dce8; }.organization-license-line { display:flex; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.055); color:#8ddef0; }.organization-license-line:last-child { border-bottom:0; }.organization-license-line > div { min-width:0; }.organization-license-line b,.organization-license-line small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.organization-license-line b { color:#edf1f6; font-size:11px; }.organization-license-line small { margin-top:3px; color:#8390a1; font:9px "DM Mono",monospace; }.organization-license-line .status { margin-left:auto; }.organization-license-line--empty { color:#8793a4; font-size:11px; }.organization-portfolio__people--detail { min-height:0; padding:0; }.organization-portfolio__detail .delete-button { width:max-content; }

/* Corporate account summaries: quiet at rest, structured only on demand. */
.organization-portfolio__live { display:flex; align-items:center; justify-content:space-between; margin:0 18px 17px; padding:9px 11px; border:1px solid rgba(111, 218, 232, .12); border-radius:10px; background:linear-gradient(90deg, rgba(86, 191, 207, .07), rgba(116, 99, 225, .055)); color:#9bb5c2; font-size:10px; }.organization-portfolio__live span { display:inline-flex; align-items:center; gap:6px; }.organization-portfolio__live span svg { color:#75dbe9; }.organization-portfolio__live b { color:#f2f5f8; font:700 13px "DM Mono", monospace; letter-spacing:-.04em; }
.organization-assignment-groups { display:grid; gap:12px; }.organization-assignment-group { padding:11px; border:1px solid rgba(255,255,255,.065); border-radius:11px; background:rgba(10, 14, 23, .17); }.organization-assignment-group > span { display:inline-flex; align-items:center; gap:6px; margin-bottom:9px; color:#8ca8b6; font:9px "DM Mono", monospace; letter-spacing:.08em; text-transform:uppercase; }.organization-assignment-group > span svg { color:#80d9e7; }.organization-assignment-group + .organization-assignment-group > span svg { color:#b8a0f8; }
.organization-person-chip { align-items:flex-start; min-width:0; }.organization-person-chip > span { display:grid; min-width:0; gap:2px; }.organization-person-chip b,.organization-person-chip small { display:block; overflow:hidden; max-width:176px; text-overflow:ellipsis; white-space:nowrap; }.organization-person-chip b { color:#dfe6ed; font-size:10px; font-weight:650; }.organization-person-chip--manager { border-color:rgba(109, 220, 232, .22); background:linear-gradient(110deg, rgba(74, 191, 208, .11), rgba(117, 100, 224, .08)); }.organization-person-chip--manager i { background:linear-gradient(140deg, #3d93a4, #6c5aba); }.organization-person-chip--manager small { color:#8ce3ec; }

@keyframes request-orbit { to { transform: rotate(360deg); } }
@keyframes organization-detail-in { from { opacity:0; transform:translateY(-7px); } to { opacity:1; transform:none; } }

@media (max-width: 860px) {
  .request-hero { grid-template-columns:1fr; gap:20px; }.request-hero__summary { width:100%; }.request-hero__summary article { min-width:0; }.organization-showcase { align-items:flex-start; gap:18px; flex-direction:column; }.organization-showcase__badge { min-width:0; }
}

@media (max-width: 560px) {
  .request-hero,.organization-showcase { margin-left:-1px; margin-right:-1px; padding:24px 20px; }.request-hero__summary { grid-template-columns:1fr; }.request-hero__summary article { grid-template-columns:30px auto; }.request-queue__grid,.organization-portfolio-grid { grid-template-columns:1fr; }.request-queue-card__scope { grid-template-columns:1fr; gap:10px; }.organization-portfolio__metrics { grid-template-columns:repeat(3,1fr); }.organization-portfolio__metrics div { padding:10px 7px; }
}

/* Password managers may fill values without changing :placeholder-shown. */
.field input:-webkit-autofill + span,
.field input:autofill + span {
  transform: translateY(-12px);
  color: #ff9397;
  font-size: 10px;
}

.field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px #232939 inset;
  transition: background-color 99999s ease-out 0s;
}

.login-card__notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 17px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
}

.login-card__notice--success {
  border: 1px solid rgba(91, 215, 173, .26);
  background: rgba(91, 215, 173, .09);
  color: #97e4c5;
}

.login-card__notice--error {
  border: 1px solid rgba(245, 105, 110, .28);
  background: rgba(245, 105, 110, .1);
  color: #ff9fa3;
}

.login-card__notice svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.login-card__links {
  display: flex;
  justify-content: flex-end;
  min-height: 20px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.login-card__links button {
  padding: 3px 0;
  background: transparent;
  color: #c2a7ff;
  font-size: 11px;
  font-weight: 750;
}

.login-card__links button:hover {
  color: #d4c4ff;
  text-decoration: underline;
}

.usage-stat-grid--compact > article {
  min-height: 83px;
  padding: 15px 20px;
}

.usage-stat-grid--compact b {
  margin-bottom: 0;
}

/* Device registration and a live license lease are intentionally distinct.
   These rules support the usage-focused device view without making "active"
   look like a current license consumption state. */
.device-intro {
  margin-bottom: 14px;
}

.usage-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.usage-stat-grid > article {
  min-height: 114px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(130deg, rgba(37, 43, 59, .96), rgba(29, 33, 48, .96));
}

.usage-stat-grid small,
.usage-stat-grid b,
.usage-stat-grid span {
  display: block;
}

.usage-stat-grid small {
  color: #8d97aa;
  font: 10px "DM Mono", monospace;
  letter-spacing: .13em;
}

.usage-stat-grid b {
  margin: 7px 0 3px;
  color: #f5f7fb;
  font-size: 30px;
  letter-spacing: -.06em;
}

.usage-stat-grid span {
  color: #8c96a7;
  font-size: 11px;
}

.panel-head__note {
  max-width: 240px;
  color: #8590a3;
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.device-table table {
  min-width: 1410px;
}

.device-user b,
.device-user small,
.device-license b,
.device-license small {
  display: block;
}

.device-user b,
.device-license b {
  color: #eef1f7;
  font-size: 12px;
}

.device-user small,
.device-license small {
  margin-top: 4px;
  color: #8791a3;
  font-size: 10px;
}

.device-license .type-tag {
  margin-bottom: 6px;
}

.device-empty {
  color: #788397;
  font-size: 11px;
}

.usage-status {
  display: grid;
  gap: 5px;
  min-width: 132px;
}

.usage-status small {
  max-width: 156px;
  color: #7f899b;
  font-size: 10px;
  line-height: 1.4;
}

.status--neutral,
.status--retired {
  color: #a8b1c0;
}

.status--neutral i,
.status--retired i {
  background: #7f899a;
}

.corporate-usage-section {
  margin-top: 28px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  margin: 0 2px 14px;
}

.section-heading p {
  margin: 0 0 7px;
  color: #7b8499;
  font: 10px "DM Mono", monospace;
  letter-spacing: .15em;
}

.section-heading h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.05em;
}

.section-heading span {
  display: block;
  margin-top: 6px;
  color: #96a0b0;
  font-size: 12px;
}

.corporate-usage-grid {
  display: grid;
  gap: 13px;
}

.corporate-usage-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
  transition: border-color .2s, transform .2s;
}

.corporate-usage-card:hover,
.corporate-usage-card.is-expanded {
  border-color: rgba(154, 173, 255, .23);
}

.corporate-usage-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 23px 16px;
}

.corporate-usage-card__head h3 {
  margin: 9px 0 4px;
  color: #f0f3f8;
  font-size: 18px;
  letter-spacing: -.04em;
}

.corporate-usage-card__head p {
  margin: 0;
  color: #8893a5;
  font-size: 11px;
}

.corporate-usage-metrics {
  display: flex;
  gap: 22px;
  padding-top: 4px;
}

.corporate-usage-metrics b,
.corporate-usage-metrics small {
  display: block;
}

.corporate-usage-metrics b {
  color: #f2f5fa;
  font-size: 23px;
  letter-spacing: -.05em;
}

.corporate-usage-metrics small {
  margin-top: 3px;
  color: #8791a3;
  font-size: 10px;
  white-space: nowrap;
}

.corporate-usage-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 13px 23px;
  border-top: 1px solid rgba(255, 255, 255, .065);
  color: #aeb7c6;
  font-size: 11px;
}

.corporate-usage-card__meta > span:not(.module-chip) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.corporate-usage-card__meta .status {
  margin-left: auto;
}

.corporate-usage-card__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 23px;
  border-top: 1px solid rgba(255, 255, 255, .065);
  background: rgba(255, 255, 255, .018);
  color: #b9c2d0;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  transition: background .2s, color .2s;
}

.corporate-usage-card__toggle:hover {
  background: rgba(117, 103, 237, .09);
  color: #f0f2fb;
}

.corporate-usage-detail {
  border-top: 1px solid rgba(255, 255, 255, .065);
  background: rgba(8, 11, 19, .12);
}

.corporate-usage-detail__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 23px 3px;
}

.corporate-usage-detail__title b {
  font-size: 13px;
}

.corporate-usage-detail__title span {
  color: #818c9f;
  font-size: 10px;
}

.corporate-usage-detail table {
  min-width: 690px;
}

.corporate-usage-detail td b,
.corporate-usage-detail td small {
  display: block;
}

.corporate-usage-detail td b {
  color: #e9edf4;
  font-size: 12px;
}

.corporate-usage-detail td small {
  margin-top: 4px;
  color: #818c9e;
  font-size: 10px;
}

@media (max-width: 760px) {
  .usage-stat-grid {
    grid-template-columns: 1fr;
  }

  .corporate-usage-card__head {
    flex-direction: column;
  }

  .panel-head__note {
    max-width: none;
    text-align: left;
  }
}

/* Expanded device rows contain short-lived, server-verified activity reports.
   They deliberately use the console's neutral palette rather than a second
   bright dashboard colour. */
.device-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 92px;
}

.device-usage-row {
  cursor: pointer;
}

.device-usage-row > td {
  transition: background .2s ease;
}

.device-usage-row:hover > td,
.device-usage-row.is-expanded > td {
  background: rgba(122, 110, 236, .045);
}

.device-usage-row:focus { outline: 0; }

.device-usage-row:focus > td {
  box-shadow: inset 0 1px 0 rgba(156, 145, 255, .45), inset 0 -1px 0 rgba(156, 145, 255, .45);
}

.device-disclosure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  margin-right: -5px;
  color: #8c97aa;
}

.device-disclosure svg {
  transform: rotate(0deg);
  transform-origin: center;
}

.device-usage-row:hover .device-disclosure,
.device-usage-row.is-expanded .device-disclosure {
  color: #b9afff;
}

.device-usage-row.is-expanded .device-disclosure svg {
  transform: rotate(90deg);
  animation: device-disclosure-open .32s cubic-bezier(.2, .9, .25, 1) both;
}

.device-usage-row.is-collapsing .device-disclosure svg {
  transform: rotate(0deg);
  animation: device-disclosure-close .26s cubic-bezier(.4, 0, .2, 1) both;
}

.device-activity-row > td {
  padding: 0 !important;
  border-top: 0 !important;
  background: rgba(5, 7, 13, .16);
}

.device-activity-detail {
  margin: 0 15px 14px;
  overflow: hidden;
  border: 1px solid rgba(141, 151, 178, .15);
  border-radius: 11px;
  background: linear-gradient(105deg, rgba(22, 26, 39, .9), rgba(17, 21, 33, .74));
  animation: device-activity-reveal .28s ease both;
}

.device-activity-row.is-collapsing .device-activity-detail {
  animation: device-activity-collapse .24s ease both;
}

.device-activity-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.device-activity-detail__head p {
  margin: 0 0 4px;
  color: #8f82e6;
  font: 9px "DM Mono", monospace;
  letter-spacing: .11em;
}

.device-activity-detail__head h4 {
  margin: 0;
  color: #f1f4f8;
  font-size: 13px;
}

.device-activity-detail__head > span {
  max-width: 295px;
  color: #8f99aa;
  font-size: 10px;
  line-height: 1.45;
  text-align: right;
}

.device-activity-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 9px;
  padding: 12px;
}

.device-activity-card {
  position: relative;
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr);
  gap: 0 10px;
  align-items: center;
  min-height: 71px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 9px;
  background: rgba(7, 10, 17, .33);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.device-activity-card:hover {
  border-color: rgba(133, 119, 245, .34);
  background: rgba(35, 31, 64, .26);
  transform: translateY(-1px);
}

.device-activity-card.is-current::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  content: "";
  background: linear-gradient(#5dd9bb, #6d91ff);
  box-shadow: 0 0 11px rgba(93, 217, 187, .42);
}

.device-activity-card__icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(137, 122, 245, .27);
  border-radius: 8px;
  background: rgba(125, 110, 242, .1);
  color: #b8aeff;
}

.device-activity-card--performsec .device-activity-card__icon {
  border-color: rgba(91, 215, 173, .3);
  background: rgba(91, 215, 173, .1);
  color: #7de0bd;
}

.device-activity-card--kiris-design .device-activity-card__icon {
  border-color: rgba(236, 181, 103, .32);
  background: rgba(236, 181, 103, .1);
  color: #f0c47e;
}

.device-activity-card--hub .device-activity-card__icon {
  border-color: rgba(125, 111, 242, .32);
  background: rgba(125, 111, 242, .11);
  color: #beb2ff;
}

.device-activity-card b,
.device-activity-card small,
.device-activity-card__model span,
.device-activity-card__seen small {
  display: block;
}

.device-activity-card > div:nth-child(2) b { color: #e8ecf4; font-size: 12px; }
.device-activity-card > div:nth-child(2) small { margin-top: 3px; color: #8f99aa; font-size: 10px; }

.device-activity-card__model,
.device-activity-card__seen {
  grid-column: 2;
  margin-top: 8px;
}

.device-activity-card__model span,
.device-activity-card__seen small { color: #8490a4; font-size: 9px; }
.device-activity-card__model b { margin-top: 2px; color: #c7d0df; font-size: 10px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device-activity-card__seen { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.device-activity-card__seen .status { font-size: 9px; }
.device-activity-card__seen small { white-space: nowrap; }

.device-activity-empty {
  padding: 16px 6px;
  color: #8994a6;
  font-size: 11px;
}

@keyframes device-activity-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes device-activity-collapse {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-5px); }
}

@keyframes device-disclosure-open {
  from { transform: rotate(0deg); }
  to { transform: rotate(90deg); }
}

@keyframes device-disclosure-close {
  from { transform: rotate(90deg); }
  to { transform: rotate(0deg); }
}

.page-stage {
  min-width: 0;
}

.page-stage.is-entering {
  animation: page-stage-enter .38s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes page-stage-enter {
  from { opacity: 0; transform: translate3d(18px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.license-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 160px;
  flex-wrap: wrap;
}

.license-row-actions .delete-button {
  padding: 8px 10px;
  font-size: 10px;
}

/* Lisans tablosunda modül kapsamı karar verilmesi gereken bir bilgidir;
   tek satıra sıkıştırmak yerine eksiksiz okunur tutulur. */
.table-panel .module-chip {
  max-width: none;
  min-width: 208px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.52;
  align-items: flex-start;
}

.table-panel td:nth-child(4) {
  min-width: 228px;
}

.license-readonly {
  color: #8da2b8;
  font-size: 11px;
  letter-spacing: .02em;
}

@media (max-width: 760px) {
  .device-row-actions { justify-content: flex-start; }
  .device-activity-detail { margin: 0 8px 10px; }
  .device-activity-detail__head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .device-activity-detail__head > span { max-width: none; text-align: left; }
}

/* Modal operations stay where the decision was made. The form remains visible
   behind the state-specific indicator, including the user's latest draft. */
.modal--processing {
  overflow: hidden;
}

.modal-progress {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 15px;
  padding: 38px;
  border-radius: inherit;
  background:
    radial-gradient(230px 190px at 50% 38%, rgba(125, 105, 240, .17), transparent 72%),
    rgba(29, 34, 49, .94);
  text-align: center;
  animation: modal-progress-enter .24s ease both;
}

.modal-progress::before,
.modal-progress::after {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(169, 158, 255, .16);
  border-radius: 44%;
  content: "";
  pointer-events: none;
}

.modal-progress::before {
  top: -69px;
  right: -53px;
  border-top-color: rgba(255, 116, 124, .65);
  animation: modal-progress-orbit 9s linear infinite;
}

.modal-progress::after {
  bottom: -72px;
  left: -48px;
  border-right-color: rgba(77, 209, 222, .64);
  animation: modal-progress-orbit 12s linear infinite reverse;
}

.modal-progress__orbit {
  position: relative;
  display: block;
  width: 66px;
  height: 66px;
  margin: 0 auto;
}

.modal-progress__orbit::before,
.modal-progress__orbit::after,
.modal-progress__orbit i {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid rgba(228, 232, 249, .16);
  border-radius: 43%;
  content: "";
}

.modal-progress__orbit::before {
  border-top-color: #ff737a;
  border-right-color: rgba(255, 115, 122, .38);
  animation: modal-progress-orbit 1.8s linear infinite;
}

.modal-progress__orbit::after {
  inset: 9px;
  border-right-color: #63d6df;
  border-bottom-color: rgba(99, 214, 223, .36);
  animation: modal-progress-orbit 1.2s linear infinite reverse;
}

.modal-progress__orbit i:nth-child(1) { inset: -12px; border-left-color: rgba(166, 145, 255, .7); animation: modal-progress-orbit 3.2s linear infinite; }
.modal-progress__orbit i:nth-child(2) { inset: 19px; border-bottom-color: #d2b372; animation: modal-progress-orbit .95s linear infinite; }
.modal-progress__orbit i:nth-child(3) { display: none; }

.modal-progress b,
.modal-progress small {
  position: relative;
  z-index: 1;
  display: block;
}

.modal-progress b {
  color: #f1f3fa;
  font-size: 14px;
  letter-spacing: -.02em;
}

.modal-progress small {
  max-width: 270px;
  margin: 6px auto 0;
  color: #a7b0c0;
  font-size: 11px;
  line-height: 1.55;
}

@keyframes modal-progress-enter {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes modal-progress-orbit {
  to { transform: rotate(360deg); }
}

/* Repeating line motifs borrow the product mark's visual language without
   adding decorative copy or another competing colour palette. */
.brand-name,
.topbar h1,
.panel-head h3,
.section-heading h2 {
  position: relative;
}

.brand-name {
  padding-bottom: 8px;
}

.brand-name::after,
.topbar h1::after,
.panel-head h3::after,
.section-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #ef5960, #9a84ff 58%, transparent);
  box-shadow: 0 0 12px rgba(239, 89, 96, .36);
  transform-origin: left;
  animation: panel-heading-line 4.8s ease-in-out infinite;
}

.brand-name::after { width: 100%; }
.topbar h1 { padding-bottom: 11px; }
.topbar h1::after { width: 74px; }
.panel-head h3 { padding-bottom: 9px; }
.panel-head h3::after { width: 43px; opacity: .78; }
.section-heading h2 { padding-bottom: 9px; }
.section-heading h2::after { width: 47px; opacity: .72; }

.panel-card {
  position: relative;
}

.panel-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 22px;
  width: 48px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #ef5960, #8e7cff, transparent);
  opacity: .54;
  transition: width .28s ease, opacity .28s ease;
}

.panel-card:hover::before {
  width: 110px;
  opacity: .9;
}

.side-link.is-active {
  position: relative;
}

.side-link.is-active::after {
  position: absolute;
  right: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: #ff737a;
  box-shadow: 0 0 0 4px rgba(255, 115, 122, .09), 0 0 12px rgba(255, 115, 122, .58);
  animation: panel-active-pulse 2.5s ease-in-out infinite;
}

@keyframes panel-heading-line {
  0%, 100% { opacity: .48; transform: scaleX(.58); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes panel-active-pulse {
  50% { transform: scale(1.35); opacity: .48; }
}

@media (prefers-reduced-motion: reduce) {
  .modal-progress *,
  .modal-progress::before,
  .modal-progress::after,
  .brand-name::after,
  .topbar h1::after,
  .panel-head h3::after,
  .section-heading h2::after,
  .side-link.is-active::after { animation: none !important; }
}

/* Corporate quota inputs keep the approval/edit modals compact while making
   each module's concurrent-use capacity explicit. */
.module-limit-set { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.modal .module-limit-input { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px; padding: 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; background: rgba(8, 11, 18, .15); }
.modal .module-limit-input > span { min-width: 0; color: #c7ceda; font-size: 11px; }
.modal .module-limit-input input[type="number"] { grid-column: 1 / -1; width: 100%; height: 30px; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; outline: 0; background: #171b27; color: #f2f5fb; font-size: 11px; }
.modal .module-limit-input input[type="number"]:focus { border-color: rgba(255, 116, 121, .72); }
.request-card__quota { display: grid; gap: 4px; margin-top: 14px; padding: 9px 10px; border-left: 2px solid rgba(77, 201, 216, .8); border-radius: 0 8px 8px 0; background: rgba(40, 191, 211, .07); }
.request-card__quota span { color: #8ae4ef; font-size: 11px; font-weight: 800; }
.request-card__quota small { color: #a6b2c1; font-size: 10px; line-height: 1.45; }
.module-chip--quota { max-width: 260px; color: #bed0e0; }

@media (max-width: 620px) {
  .module-limit-set { grid-template-columns: 1fr !important; }
}

/* License request cards expose corporate requests as a distinct workflow,
   including the requested device capacity and per-module demand. */
.request-card--corporate {
  border-color: rgba(67, 202, 216, .22);
  background: linear-gradient(145deg, rgba(40, 191, 211, .075), rgba(29, 33, 48, .97) 52%);
}
.request-card--corporate::before { border-color: rgba(40, 191, 211, .28); }
.request-card__top { gap: 9px; }
.request-card__top > div { min-width: 0; margin-right: auto; }
.request-kind { display: inline-flex; align-items: center; gap: 5px; color: #aab4c4; font: 700 9px "DM Mono", monospace; letter-spacing: .08em; }
.request-kind--corporate { color: #84e5ed; }
.request-kind svg { width: 12px; height: 12px; }
.request-card__contact { margin-top: 10px !important; color: #949fb1 !important; }
.request-card__contact b { color: #d6dce6; font-weight: 650; }
.request-card__license-need { display: grid; gap: 10px; margin-top: 14px; padding: 12px; border: 1px solid rgba(105, 219, 229, .15); border-radius: 10px; background: rgba(5, 13, 21, .18); }
.request-card__license-need > div:first-child { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; }
.request-card__license-need small { display: block; color: #7f91a4; font: 9px "DM Mono", monospace; letter-spacing: .11em; }
.request-card__license-need strong { color: #eaf5f6; font-size: 24px; line-height: 1; letter-spacing: -.055em; }
.request-card__license-need > div:first-child span { grid-column: 2; color: #9aabb9; font-size: 10px; }
.request-module-list { display: grid; gap: 5px; margin-top: 7px; }
.request-module-list span { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 7px; color: #c6d1db; font-size: 11px; }
.request-module-list i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; color: #7ce4ec; background: rgba(40, 191, 211, .12); }
.request-module-list b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 620; }
.request-module-list em { min-width: 22px; padding: 3px 6px; border-radius: 99px; background: rgba(255,255,255,.07); color: #e5edf2; font: 700 10px "DM Mono", monospace; text-align: center; }
.reference-note { display: flex; align-items: center; gap: 8px; padding: 10px 11px; border-left: 2px solid rgba(255, 135, 142, .8); border-radius: 0 8px 8px 0; background: rgba(237, 68, 75, .065); color: #abb5c4; font-size: 11px; line-height: 1.4; }
.reference-note svg { flex: 0 0 auto; color: #ff989e; }
.modal form[data-create-license] .field:has(input[name="reference"]) { display: none; }
/* Corporate layout override starts here. */
.corporate-usage-section { margin-top: 31px; }
.corporate-usage-section .section-heading { align-items: end; }
.corporate-usage-section .section-heading h2 { position: relative; padding-bottom: 7px; }
.corporate-usage-section .section-heading h2::after {
  position: absolute; bottom: 0; left: 0; width: 74px; height: 2px;
  border-radius: 99px; content: ""; background: linear-gradient(90deg, #77dbe8, #aa9cff 68%, transparent);
  box-shadow: 0 0 13px rgba(118, 212, 231, .42); animation: corporate-heading-line 3.6s ease-in-out infinite;
}
.corporate-usage-grid { gap: 16px; }
.corporate-usage-card {
  position: relative; overflow: hidden; border-color: rgba(135, 151, 190, .18); border-radius: 17px;
  background: linear-gradient(128deg, #242b3a 0%, #202635 47%, #1e2432 100%);
  box-shadow: 0 19px 42px rgba(4, 7, 14, .18);
}
.corporate-usage-card::before {
  position: absolute; top: -138px; right: 23%; width: 240px; height: 240px; content: "";
  border: 1px solid rgba(126, 217, 233, .12); border-right-color: transparent; border-radius: 46%;
  animation: corporate-orbit 24s linear infinite; pointer-events: none;
}
.corporate-usage-card::after {
  position: absolute; top: 0; bottom: 0; left: 0; width: 3px; content: "";
  background: linear-gradient(#6ed9e8, #a692f4 55%, #e39a78); opacity: .76;
}
.corporate-usage-card:hover,
.corporate-usage-card.is-expanded {
  border-color: rgba(121, 213, 230, .32); box-shadow: 0 23px 48px rgba(4, 7, 14, .27); transform: translateY(-1px);
}
.corporate-usage-card__head {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(190px, .85fr) minmax(340px, 1.45fr) auto;
  align-items: center; gap: 23px; padding: 20px 23px 18px 26px;
}
.corporate-usage-card__identity { display: flex; align-items: center; min-width: 0; gap: 11px; }
.corporate-usage-card__identity > div { min-width: 0; }
.corporate-usage-card__emblem {
  display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border: 1px solid rgba(111, 216, 230, .26);
  border-radius: 13px; background: linear-gradient(145deg, rgba(93, 208, 224, .16), rgba(127, 109, 238, .1)); color: #8ce2ed;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 7px 17px rgba(12, 22, 32, .22);
}
.corporate-usage-card__identity .type-tag { margin: 0; color: #8edee9; border-color: rgba(106, 217, 232, .19); background: rgba(76, 191, 207, .08); }
.corporate-usage-card__identity h3 { overflow: hidden; margin: 6px 0 3px; color: #f2f5f9; font-size: 18px; line-height: 1.1; letter-spacing: -.05em; text-overflow: ellipsis; white-space: nowrap; }
.corporate-usage-card__identity p { overflow: hidden; margin: 0; color: #909bad; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.corporate-module-meter-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.corporate-module-meter {
  display: grid; grid-template-columns: 29px minmax(0, 1fr); align-items: center; min-width: 0; gap: 7px; padding: 9px;
  border: 1px solid rgba(100, 212, 228, .15); border-radius: 11px; background: rgba(9, 14, 23, .24);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.corporate-module-meter:hover { border-color: rgba(112, 220, 233, .34); background: rgba(45, 133, 151, .1); transform: translateY(-2px); }
.corporate-module-meter > span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: rgba(77, 192, 209, .13); color: #88e0ea; }
.corporate-module-meter > div { display: grid; min-width: 0; gap: 2px; }
.corporate-module-meter small { overflow: hidden; color: #aab8c4; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.corporate-module-meter b { color: #eff4f7; font: 800 14px "DM Mono", monospace; letter-spacing: -.06em; }
.corporate-module-meter b em { color: #7ee2eb; font-style: normal; }
.corporate-module-meter i { display: block; width: 100%; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.corporate-module-meter i u { display: block; width: var(--meter); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #59d0df, #90edcf); box-shadow: 0 0 8px rgba(104, 222, 231, .65); text-decoration: none; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.corporate-module-meter--performsec { border-color: rgba(172, 143, 246, .19); }
.corporate-module-meter--performsec > span { background: rgba(151, 123, 238, .13); color: #c1aff7; }
.corporate-module-meter--performsec b em { color: #c7b8fa; }
.corporate-module-meter--performsec i u { background: linear-gradient(90deg, #9279e6, #c5b1fa); box-shadow: 0 0 8px rgba(167, 142, 247, .58); }
.corporate-module-meter--kiris-design { border-color: rgba(243, 171, 102, .18); }
.corporate-module-meter--kiris-design > span { background: rgba(231, 148, 65, .13); color: #f2bd80; }
.corporate-module-meter--kiris-design b em { color: #f4bd7d; }
.corporate-module-meter--kiris-design i u { background: linear-gradient(90deg, #e69a53, #f3c783); box-shadow: 0 0 8px rgba(240, 178, 102, .58); }
.corporate-module-meter--empty { display: flex; align-items: center; justify-content: center; min-height: 40px; color: #8e9aaa; font-size: 10px; }
.corporate-usage-metrics {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(80px, 1fr)); gap: 1px; min-width: 196px;
  overflow: hidden; padding: 1px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 11px; background: rgba(3, 6, 11, .24);
}
.corporate-usage-metrics > span { min-width: 0; padding: 10px 11px; background: rgba(255, 255, 255, .026); }
.corporate-usage-metrics > span:first-child { background: linear-gradient(145deg, rgba(86, 215, 190, .11), rgba(255, 255, 255, .015)); }
.corporate-usage-metrics b { overflow: hidden; color: #f4f7fa; font-size: 20px; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.corporate-usage-metrics small { margin-top: 5px; color: #96a2b1; font-size: 9px; letter-spacing: .02em; white-space: nowrap; }
.corporate-usage-card__meta {
  position: relative; z-index: 1; justify-content: space-between; min-height: 42px; padding: 10px 26px;
  border-color: rgba(255, 255, 255, .06); background: rgba(7, 10, 17, .12);
}
.corporate-usage-card__meta > span { display: inline-flex; align-items: center; gap: 7px; color: #9aa9b8; font: 9px "DM Mono", monospace; letter-spacing: .08em; }
.corporate-usage-card__meta > span svg { color: #81dce8; }
.corporate-usage-card__meta .status { margin-left: 0; }
.corporate-usage-card__toggle { position: relative; z-index: 1; padding: 13px 26px; border-color: rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .025); color: #c6cfda; letter-spacing: .01em; }
.corporate-usage-card__toggle:hover { background: rgba(109, 99, 228, .1); color: #f3f5fa; }
.corporate-usage-detail {
  position: relative; z-index: 1; display: grid; gap: 14px; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(11, 15, 24, .38), rgba(10, 14, 22, .58));
}
.corporate-detail-section { overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); border-radius: 13px; background: rgba(29, 35, 49, .76); }
.corporate-detail-section--access { border-left-color: rgba(112, 222, 232, .62); }
.corporate-detail-section--people { border-left-color: rgba(169, 144, 247, .66); }
.corporate-detail-section__head {
  display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 11px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(4, 8, 15, .16);
}
.corporate-detail-section__head > span { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 9px; background: rgba(84, 204, 220, .12); color: #83e1eb; }
.corporate-detail-section--people .corporate-detail-section__head > span { background: rgba(146, 123, 233, .13); color: #c2b2fa; }
.corporate-detail-section__head > div { display: grid; gap: 3px; min-width: 0; }
.corporate-detail-section__head p { margin: 0; color: #8de1eb; font: 9px "DM Mono", monospace; letter-spacing: .12em; }
.corporate-detail-section--people .corporate-detail-section__head p { color: #c1b1f9; }
.corporate-detail-section__head h4 { margin: 0; color: #edf1f6; font-size: 13px; letter-spacing: -.025em; }
.corporate-detail-section__head > b { display: grid; width: 27px; height: 27px; margin-left: auto; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .06); color: #e8eef4; font: 800 11px "DM Mono", monospace; }
.corporate-access-license-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 9px; padding: 11px; }
.corporate-access-license {
  display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 70px; padding: 10px;
  border: 1px solid rgba(255, 255, 255, .065); border-radius: 10px; background: rgba(5, 9, 16, .18); transition: transform .23s ease, border-color .23s ease;
}
.corporate-access-license:hover { border-color: rgba(104, 218, 231, .27); transform: translateY(-2px); }
.corporate-access-license__icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: rgba(85, 205, 220, .12); color: #83e0eb; }
.corporate-access-license > div { min-width: 0; }
.corporate-access-license small { display: block; color: #8b98a9; font: 8px "DM Mono", monospace; letter-spacing: .1em; }
.corporate-access-license > div b { display: block; overflow: hidden; margin-top: 4px; color: #edf2f7; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.corporate-access-license p { overflow: hidden; margin: 4px 0 0; color: #8f9baa; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.corporate-access-license__usage { display: grid; justify-items: end; gap: 3px; }
.corporate-access-license__usage b { color: #92e0e7; font: 800 13px "DM Mono", monospace; }
.corporate-access-license__date { grid-column: 2 / -1; display: flex; align-items: center; gap: 5px; color: #9ca8b7; font-size: 9px; }
.corporate-access-license__date svg { color: #8f9bad; }
.corporate-member-table { max-height: 445px; }
.corporate-member-table table { min-width: 1370px; }
.corporate-member-row > td { background: rgba(7, 11, 18, .13); }
.corporate-member-row:hover > td,
.corporate-member-row.is-expanded > td { background: rgba(146, 124, 232, .075); }
.corporate-member-detail { border-color: rgba(157, 139, 240, .21); background: linear-gradient(105deg, rgba(28, 24, 51, .84), rgba(17, 21, 34, .82)); }
.corporate-member-detail .device-activity-detail__head p { color: #beaff7; }
@keyframes corporate-orbit { to { transform: rotate(360deg); } }
@keyframes corporate-heading-line { 0%,100% { opacity:.45; transform:scaleX(.72); transform-origin:left; } 50% { opacity:1; transform:scaleX(1); transform-origin:left; } }
@media (max-width: 1120px) {
  .corporate-usage-card__head { grid-template-columns: minmax(205px, 1fr) minmax(330px, 1.4fr); }
  .corporate-usage-metrics { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(360px, 100%); }
}
@media (max-width: 760px) {
  .corporate-usage-card__head { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .corporate-module-meter-grid { grid-template-columns: 1fr; }
  .corporate-usage-metrics { grid-column:auto; width:100%; }
  .corporate-usage-card__meta,.corporate-usage-card__toggle { padding-right:18px; padding-left:18px; }
  .corporate-usage-card__meta { align-items:flex-start; flex-direction:column; gap:8px; }
  .corporate-access-license-grid { grid-template-columns: 1fr; }
  .corporate-usage-detail { padding:10px; }
  .corporate-detail-section__head { padding:11px 12px; }
}
.modal form[data-create-license] .modal-grid::after { display: flex; align-items: center; grid-column: 1 / -1; min-height: 30px; padding: 0 2px; content: "Lisans referansı sistem tarafından otomatik oluşturulur."; color: #8f9aab; font-size: 10px; }
