@import url('/static/fonts/fonts.css');

body.admin-body {
  --ink: #ececf0;
  --muted: #93959f;
  --line: #292a30;
  --surface: #101114;
  --shadow: none;
  --texcheat-accent: #ededee;
  color-scheme: dark;
  min-width: 320px;
  background: #08090b;
  color: var(--ink);
  font-family: 'Chakra Petch', 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
}

.admin-body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 0, #9b9ba30c, transparent 55%);
}

.admin-body #app { position: relative; }
.admin-body h1, .admin-body h2, .admin-body h3,
.admin-body .brand, .admin-body .stat-card > strong {
  font-family: 'Tektur', 'Chakra Petch', 'Arial Black', sans-serif;
}
.admin-body h1 { font-weight: 800; letter-spacing: -.5px; }
.admin-body h2, .admin-body h3 { font-weight: 750; letter-spacing: 0; }
.admin-body .muted, .admin-body .micro { color: var(--muted); }
.admin-body .eyebrow, .admin-body .console-caption {
  color: #a2a3ad;
  font-family: 'JetBrains Mono', Consolas, monospace;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.admin-body .eyebrow::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 1px 0;
  background: var(--texcheat-accent);
}
.admin-body .brand { color: #f2f2f5; letter-spacing: .5px; font-weight: 850; }
.admin-body .brand b { color: #858792; font-family: 'JetBrains Mono', Consolas, monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.admin-body .brand img { border-radius: 0; }
.admin-body .texcheat-brand-lockup { display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
.admin-body .texcheat-brand-lockup img { display:block; width:94px; height:20px; object-fit:contain; object-position:left center; }
.admin-body .texcheat-brand-lockup b { font-size:8px; line-height:1; letter-spacing:2px; color:#858b98; }

.admin-body input, .admin-body select, .admin-body textarea {
  border-color: #363840;
  border-radius: 0;
  background: #0d0e11;
  color: #eeeef2;
  font-size: 12px;
  accent-color: var(--texcheat-accent);
}
.admin-body input::placeholder, .admin-body textarea::placeholder { color: #737580; }
.admin-body input:focus, .admin-body select:focus, .admin-body textarea:focus {
  border-color: #a3a5b0;
  box-shadow: 0 0 0 2px #a3a5b01f;
}
.admin-body label { color: #bcbec8; font-weight: 550; }
.admin-body .field-hint { color: #9699a5; }
.admin-body button:focus-visible, .admin-body a:focus-visible {
  outline: 2px solid #c5c8d2;
  outline-offset: 3px;
}
.admin-body .button, .admin-body .lang-button {
  border-radius: 0;
  font-family: 'Tektur', 'Chakra Petch', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: .2px;
}
.admin-body .button.primary, .admin-body .button.danger {
  background: var(--texcheat-accent);
  color: #0c0d0f;
  box-shadow: none;
  clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
}
.admin-body .button.primary:hover:not(:disabled) { background: #fff; }
.admin-body .button.danger { background: #632d37; color: #ffe7eb; }
.admin-body .button.danger:hover:not(:disabled) { background: #7f3b48; }
.admin-body .button.secondary { background: #191a20; border-color: #363841; color: #d4d5de; }
.admin-body .button.secondary:hover:not(:disabled) { background: #25262e; border-color: #555762; }
.admin-body .button:hover:not(:disabled) { transform: none; }
.admin-body .icon-button { border-radius: 0; color: #999ca9; }
.admin-body .icon-button:hover { background: #292b33; color: #f3f3f7; }
.admin-body .danger-text { color: #ed858c !important; }
.admin-body .lang-button { background: #17181d; border-color: #303139; color: #e5e5eb; }
.admin-body .lang-button span { color: #818490; }

.admin-body .card, .admin-body .stat-card {
  background: linear-gradient(135deg, #141518, #0e0f12);
  border-color: var(--line);
  border-radius: 0;
  box-shadow: none;
}
.admin-body .admin-auth { background: radial-gradient(ellipse at 50% 38%, #bcbcc00b, transparent 48%); }
.admin-body .admin-auth > header { border-bottom: 1px solid #202126; }
.admin-body .admin-login-card {
  position: relative;
  max-width: 440px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 38px;
  clip-path: polygon(22px 0,100% 0,100% calc(100% - 22px),calc(100% - 22px) 100%,0 100%,0 22px);
}
.admin-body .admin-login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 38px;
  width: 54px;
  height: 2px;
  background: var(--texcheat-accent);
}
.admin-body .icon-tile { color: #d4d5de; background: #202126; border: 1px solid #3a3c45; border-radius: 0; }
.admin-body .admin-login-card h1 { font-size: 26px; }
.admin-body .admin-login-card .button { min-height: 50px; text-transform: uppercase; }
.admin-body .key-hint { color: #9699a5; line-height: 1.6; }
.admin-body .admin-auth footer { color: #777a86; font-family: 'JetBrains Mono', Consolas, monospace; font-size: 9px; letter-spacing: 1px; }

.admin-body .sidebar { background: #0b0c0f; border-right-color: #28292f; }
.admin-body .console-caption { margin-top: 43px; font-size: 9px; }
.admin-body .nav-item { border-radius: 0; color: #9b9da8; min-height: 46px; }
.admin-body .nav-item:hover { background: #191a20; color: #e6e7ec; }
.admin-body .nav-item.selected { background: linear-gradient(90deg, #2c2d344d, #1b1c2238); color: #f0f0f3; box-shadow: inset 2px 0 var(--texcheat-accent); }
.admin-body .nav-marker { border-radius: 0; background: var(--texcheat-accent); box-shadow: 0 0 9px #ffffff35; }
.admin-body .sidebar-bottom { border-top-color: #292a31; }
.admin-body .avatar { background: #202128; border-color: #373943; border-radius: 0; color: #c2c5d1; font-family: 'JetBrains Mono', Consolas, monospace; }
.admin-body .operator strong { color: #d6d7df; }
.admin-body .operator span:not(.avatar) { color: #8a8e9b; }
.admin-body .sidebar-bottom .button { background: #15161b; }
.admin-body .admin-main { min-width: 0; }
.admin-body .admin-topbar { background: #0c0d10f5; border-bottom-color: #27282e; }
.admin-body .breadcrumb { color: #898c98; }
.admin-body .breadcrumb > span { color: #555964; }
.admin-body .breadcrumb strong { color: #c6c8d3; }
.admin-body .admin-content { max-width: 1600px; }
.admin-body .page-heading h1 { text-transform: uppercase; font-size: 29px; }
.admin-body .page-heading .muted { color: #9498a6; }
.admin-body .stat-card { border-top: 2px solid #3c3e47; padding-top: 20px; }
.admin-body .stat-card > div { color: #a3a5af; }
.admin-body .stat-card .icon { color: #89838d; }
.admin-body .stat-card > strong { color: #f1f1f4; font-size: 36px; font-weight: 800; margin-top: 15px; }
.admin-body .stat-card p { color: #737784; font-family: 'JetBrains Mono', Consolas, monospace; font-size: 9px; }

.admin-body .table-toolbar { background: #111216; border-bottom-color: #303139; }
.admin-body .table-toolbar select, .admin-body .search-field input { background: #0c0d10; border-color: #333640; color: #c5c7d2; }
.admin-body .search-field > .icon { color: #7d8290; }
.admin-body .table-scroll { scrollbar-width: thin; scrollbar-color: #454751 #111216; }
.admin-body table { font-size: 12px; }
.admin-body thead { background: #18191e; }
.admin-body th { border-color: #30323a; color: #a1a4b0; font-family: 'JetBrains Mono', Consolas, monospace; font-size: 10px; font-weight: 500; letter-spacing: .4px; text-transform: uppercase; }
.admin-body td { border-color: #25272e; color: #b0b3c0; }
.admin-body tbody tr:hover { background: #1c1d23; }
.admin-body .tiny-icon { background: #22232b; color: #a0a4b2; border-radius: 0; }
.admin-body .key-cell strong { color: #e3e4ec; font-size: 11px; }
.admin-body .key-cell small { color: #7f8492; font-size: 10px; }
.admin-body .key-cell .icon-button { opacity: 1; }
.admin-body .cell-note { color: #adafbc; font-size: 11px; }
.admin-body .creator-pill { border-color: #343640; background: #1b1d24; color: #b4b7c6; border-radius: 0; }
.admin-body .nowrap { font-size: 11px; }
.admin-body .table-foot { border-top-color: #2d3039; background: #101115; color: #8e93a3; }
.admin-body .empty-cell, .admin-body .empty-state { color: #9095a5; }
.admin-body .empty-icon { background: #1c1e25; border-color: #343744; color: #949bad; border-radius: 0; }
.admin-body .empty-state h3 { color: #c4c7d2; }
.admin-body .log-action > .icon { color: #9298a9; }
.admin-body .log-action small { color: #858b9e; }
.admin-body .admin-footer { border-top-color: #272930; color: #7c8290; font-family: 'JetBrains Mono', Consolas, monospace; }

.admin-body .badge { border-color: #3a3d48; border-radius: 0; color: #aeb4c4; background: #232631; font-family: 'JetBrains Mono', Consolas, monospace; font-size: 10px; }
.admin-body .badge.active, .admin-body .badge.enabled, .admin-body .badge.running { color: #b1c7ad; background: #1b2921; border-color: #3d5242; }
.admin-body .badge.unused, .admin-body .badge.idle { color: #b7bfd3; background: #222633; border-color: #3b445a; }
.admin-body .badge.paused, .admin-body .badge.blocked { color: #d5bb89; background: #2b2419; border-color: #56482e; }
.admin-body .badge.expired { color: #f59e0b; background: #281e13; border-color: #553e1f; }
.admin-body .badge.revoked, .admin-body .badge.disabled, .admin-body .badge.error { color: #ef4444; background: #32161a; border-color: #63232c; }
.admin-body .stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
@media (max-width: 1200px) { .admin-body .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .admin-body .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.admin-body .bound-pill { color: #10b981; font-weight: 600; background: #0d2218; border: 1px solid #1d4b35; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 0; font-size: 11px; }
.admin-body .tiny-dev { width: 13px; height: 13px; color: #10b981; }
.admin-body .header-actions { display: flex; align-items: center; gap: 10px; }
.admin-body .notice { background: #211d15; border-color: #53472e; border-radius: 0; color: #d1bc92; }
.admin-body .notice strong { font-weight: 500; }
.admin-body .notice-ok { background: #17231c; border-color: #344b3c; color: #b2c6ad; }
.admin-body .details > div { border-bottom-color: #292c34; }
.admin-body .details dt { color: #9297a7; }
.admin-body .details dd { color: #d0d4df; }
.admin-body .provider-account { border-top-color: #333640; }

.admin-body dialog { background: #111216; border-color: #494b58; color: #e6e6ed; border-radius: 0; box-shadow: 0 28px 100px #0009; }
.admin-body dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
.admin-body .modal-head { background: #15161b; border-bottom-color: #32343d; }
.admin-body .modal-head h2 { font-weight: 800; text-transform: uppercase; font-size: 16px; }
.admin-body .modal-foot { background: #17181e; border-top-color: #32343d; }
.admin-body .plan-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 10px 0 22px; }
.admin-body .plan-option span { background: #17191f; border-color: #3d414c; color: #aeb4c3; border-radius: 0; }
.admin-body .plan-option input:checked + span { color: #f0f0f4; background: #31333e; border-color: #a4a7b3; }
.admin-body .plan-option input:focus-visible + span { outline: 2px solid #c5c8d2; }
.admin-body .mini-notice { color: #a7b1a1; background: #1b211a; border-color: #3b4735; border-radius: 0; }
.admin-body .success-emblem { background: #223024; color: #bdd0b3; border: 1px solid #4d6145; border-radius: 0; }
.admin-body .created-key-list { color: #e1e3eb; background: #0d0e12; border-color: #424652; }
.admin-body .form-error, .admin-body .toast-error { color: #efb1b8; background: #311c24; border-color: #723c4a; border-radius: 0; }
.admin-body .toast { color: #e1e3eb; background: #24262f; border-color: #515664; border-radius: 0; }
.admin-body .toast.toast-error { color: #efb1b8; background: #311c24; border-color: #723c4a; }
.admin-body .loading-state { color: #989dac; font-family: 'JetBrains Mono', Consolas, monospace; }
.admin-body .spinner { border-color: #3c3f4a; border-top-color: #ededee; }

.admin-body .phantom-summary { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:22px 0 0; color:#a8acb9; font:11px 'JetBrains Mono', Consolas, monospace; }
.admin-body .phantom-feedback { min-height:32px; padding:8px 0; color:#b1c7ad; font-size:12px; }
.admin-body .phantom-feedback.is-error { color:#e3ba84; }
.admin-body .phantom-feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.admin-body .phantom-feature { min-width:0; padding:24px; }
.admin-body .phantom-feature fieldset { border:0; margin:0; padding:0; min-width:0; }
.admin-body .phantom-feature-head { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.admin-body .phantom-index { display:block; color:#858a99; font:10px 'JetBrains Mono', Consolas, monospace; letter-spacing:1.4px; margin-bottom:9px; }
.admin-body .phantom-feature h2 { font-size:18px; line-height:1.5; margin:0; }
.admin-body .phantom-feature-description { margin:12px 0; min-height:20px; }
.admin-body .phantom-feature-params { margin-top:20px; }
.admin-body .phantom-label { margin:0 0 10px; color:#b9bdc9; }
.admin-body .phantom-choices { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.admin-body .phantom-choice { padding:9px 12px; border:1px solid #393c48; background:#181a21; color:#afb5c5; cursor:pointer; font-size:12px; min-height:39px; }
.admin-body .phantom-choice.selected { color:#f1f2f6; background:#303440; border-color:#a4a9b9; }
.admin-body .phantom-choice:hover:not(:disabled) { border-color:#a4a9b9; }
.admin-body .phantom-feature fieldset:disabled .phantom-choice { cursor:wait; opacity:.55; }
.admin-body .phantom-switch { position:relative; display:block; width:48px; height:28px; flex-shrink:0; margin:0; }
.admin-body .phantom-switch input { position:absolute; inset:0; width:100%; height:100%; opacity:0; padding:0; margin:0; cursor:pointer; z-index:1; }
.admin-body .phantom-switch>span { display:block; width:48px; height:28px; background:#30333e; border:1px solid #515665; }
.admin-body .phantom-switch>span:after { content:''; position:absolute; top:5px; left:5px; width:18px; height:18px; background:#a1a7b6; transition:transform .15s; }
.admin-body .phantom-switch input:checked+span { background:#ececf0; border-color:#ececf0; }
.admin-body .phantom-switch input:checked+span:after { background:#111216; transform:translateX(20px); }
.admin-body .phantom-switch input:focus-visible+span { outline:2px solid #c5c8d2; outline-offset:4px; }
.admin-body .phantom-switch input:disabled+span { opacity:.45; }
.admin-body .phantom-range-row { display:flex; align-items:center; gap:16px; }
.admin-body .phantom-range-row input[type=range] { flex:1; min-width:0; width:100%; height:28px; border:0; box-shadow:none; padding:0; background:transparent; }
.admin-body .phantom-range-row input[type=number] { width:88px; flex-shrink:0; padding:10px; }
.admin-body .phantom-range-ends { display:flex; justify-content:space-between; margin-right:104px; color:#7f8799; font:10px 'JetBrains Mono', Consolas, monospace; }
.admin-body .phantom-sub-options { display:grid; gap:12px; }
.admin-body .phantom-sub-options label { display:flex; align-items:center; gap:10px; margin:0; cursor:pointer; }
.admin-body .phantom-sub-options input { width:18px; height:18px; min-height:0; margin:0; }
.admin-body .phantom-rejected { display:flex; align-items:flex-start; gap:8px; margin:16px 0 0; padding-top:14px; border-top:1px solid #51432d; color:#d5bb89; font-size:12px; }
.admin-body .phantom-rejected .icon { flex-shrink:0; width:16px; }
.admin-body .phantom-feature .badge.disabled { color:#9aa3b3; background:#1b1e26; border-color:#3a3f4c; }
@media(max-width:900px) { .admin-body .phantom-feature-grid { grid-template-columns:minmax(0,1fr); } }
@media(max-width:390px) { .admin-body .phantom-feature { padding:19px 16px; } }

@media (max-width: 1200px) {
  .admin-body .admin-content { padding: 28px 23px; }
  .admin-body .system-grid { gap: 18px; }
}

@media (max-width: 700px) {
  .admin-body .sidebar { width: 252px; }
  .admin-body .sidebar.open { box-shadow: 0 0 0 100vmax #0009; }
  .admin-body .admin-content { padding: 25px 16px; }
  .admin-body .admin-content h1 { font-size: 25px; }
  .admin-body .admin-topbar { background: #0c0d10; }
  .admin-body .admin-auth > header { padding: 23px 21px; }
  .admin-body .admin-login-card { padding: 29px; max-width: 400px; margin-top: 45px; }
  .admin-body .admin-login-card::before { left: 29px; }
  .admin-body .table-toolbar select { flex: 1 1 100px; max-width: none; }
  .admin-body .table-foot { align-items: flex-start; }
  .admin-body .details dt { white-space: normal; }
  .admin-body .system-grid .details dd { min-width: 0; }
}

@media (max-width: 390px) {
  .admin-body .admin-content { padding-left: 12px; padding-right: 12px; }
  .admin-body .stat-card { padding: 16px 13px; }
  .admin-body .stat-card > strong { font-size: 32px; }
  .admin-body .stat-card > div { font-size: 9px; }
  .admin-body .stat-card > div .icon { width: 14px; }
  .admin-body .admin-footer span { max-width: 150px; text-align: right; }
}

/* Mobile console: convert dense desktop tables into touch-friendly cards. */
@media (max-width: 700px) {
  .admin-body .admin-topbar { position: sticky; top: 0; z-index: 8; }
  .admin-body #open-sidebar { width: 42px; height: 42px; }
  .admin-body .nav-item { min-height: 50px; }
  .admin-body .page-heading { flex-direction: column; align-items: stretch; }
  .admin-body .page-heading > .button { width: 100%; min-height: 48px; }
  .admin-body .table-card { overflow: visible; background: transparent; border: 0; box-shadow: none; }
  .admin-body .table-toolbar { border: 1px solid #303139; background: #111216; margin-bottom: 12px; }
  .admin-body .table-toolbar .search-field,
  .admin-body .table-toolbar select,
  .admin-body .table-toolbar .button { flex: 1 1 100%; width: 100%; min-height: 46px; }
  .admin-body .table-scroll { overflow: visible; }
  .admin-body .mobile-card-table,
  .admin-body .mobile-card-table tbody { display: block; width: 100%; max-width: 100%; min-width: 0; }
  .admin-body .mobile-card-table { table-layout: fixed; overflow: hidden; }
  .admin-body .mobile-card-table thead { display: none; }
  .admin-body .mobile-card-table tbody { display: grid; gap: 11px; }
  .admin-body .mobile-card-table tbody tr { display: block; width: 100%; max-width: 100%; min-width: 0; border: 1px solid #30323a; background: #111216; }
  .admin-body .mobile-card-table tbody tr:hover { background: #111216; }
  .admin-body .mobile-card-table td { display: flex; width: 100%; max-width: 100%; min-width: 0; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; padding: 11px 13px; border-bottom: 1px solid #292b32; text-align: right; }
  .admin-body .mobile-card-table td:last-child { border-bottom: 0; }
  .admin-body .mobile-card-table td::before { content: attr(data-label); flex: 0 0 78px; color: #7f8492; font: 9px 'JetBrains Mono', Consolas, monospace; letter-spacing: .5px; text-align: left; text-transform: uppercase; }
  .admin-body .mobile-card-table td[colspan] { display: block; text-align: center; }
  .admin-body .mobile-card-table td[colspan]::before { display: none; }
  .admin-body .mobile-card-table .key-cell { width: 100%; min-width: 0; text-align: left; }
  .admin-body .mobile-card-table .key-cell > div { min-width: 0; overflow: hidden; }
  .admin-body .mobile-card-table .key-cell strong { display: block; overflow: hidden; text-overflow: ellipsis; }
  .admin-body .mobile-card-table .key-cell .icon-button,
  .admin-body .mobile-card-table .row-actions .icon-button { width: 42px; height: 42px; }
  .admin-body .mobile-card-table .row-actions { justify-content: flex-end; gap: 5px; }
  .admin-body .mobile-card-table .cell-note { max-width: 68%; }
  .admin-body .mobile-card-table .log-action { justify-content: flex-end; text-align: right; }
  .admin-body .table-foot { margin-top: 12px; border: 1px solid #303139; background: #111216; flex-wrap: wrap; }
  .admin-body .table-foot > div { width: 100%; }
  .admin-body .table-foot .button { flex: 1; min-height: 42px; }
  .admin-body dialog { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-width: 1px 0 0; }
  .admin-body .modal-body { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .admin-body .plan-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-body .plan-option span { min-height: 46px; display: grid; place-items: center; }
  .admin-body .form-columns { grid-template-columns: 1fr; gap: 0; }
  .admin-body form .button[type=submit] { min-height: 50px; }
}

/* Master Phantom Profile Tab Bar & Dedicated Board */
.profile-tabs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e222d;
}

.profile-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #101218;
  border: 1px solid #282c38;
  color: #94a3b8;
  font-family: 'Tektur', 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.profile-tab-btn:hover {
  background: #181b24;
  color: #f1f5f9;
  border-color: #3b4255;
}
.profile-tab-btn.active {
  background: #0f2338;
  color: #38bdf8;
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}
.profile-tab-btn.btn-add-tab {
  background: #131b18;
  border-color: #1b3d2b;
  color: #4ade80;
}
.profile-tab-btn.btn-add-tab:hover {
  background: #1a2822;
  border-color: #22c55e;
  color: #86efac;
}

/* Dedicated Active Profile Board Header */
.nx-profile-board-header {
  background: #0d0f14;
  border: 1px solid #202430;
  padding: 20px 24px;
  margin-bottom: 24px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  position: relative;
}
.nx-profile-board-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}
.nx-profile-board-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
.nx-profile-board-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nx-profile-board-title h2 {
  font-family: 'Tektur', 'Chakra Petch', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f8fafc;
  margin: 0;
  text-transform: uppercase;
}
.nx-profile-board-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nx-profile-board-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 0;
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: all 0.15s;
}
.btn-board-rename {
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
}
.btn-board-rename:hover {
  background: #334155;
  color: #f1f5f9;
}
.btn-board-delete {
  background: #2a1215;
  border: 1px solid #4c1d24;
  color: #f87171;
}
.btn-board-delete:hover {
  background: #451a20;
  border-color: #ef4444;
  color: #fca5a5;
}

.nx-profile-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #64748b;
  font-family: 'JetBrains Mono', Consolas, monospace;
  margin-bottom: 14px;
}
.nx-profile-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nx-profile-meta-bar strong {
  color: #cbd5e1;
}

.nx-profile-isolation-notice {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 10px 14px;
  color: #38bdf8;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.nx-profile-isolation-notice svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
