/* SALIN.ICU Enterprise v120.5 — Visual Consistency Enterprise
   Single global visual source. Edit this file only for UI: spacing, sizing, alignment, colors.
*/
:root{
  --tl-bg:#f5f7fb;--tl-surface:#fff;--tl-surface-2:#f8fafc;--tl-surface-3:#f1f5f9;
  --tl-sidebar:#0f172a;--tl-sidebar-2:#111c34;--tl-text:#334155;--tl-heading:#0f172a;--tl-muted:#64748b;--tl-soft:#94a3b8;--tl-border:#e5e7ef;
  --tl-primary:#635bff;--tl-primary-2:#7c3aed;--tl-blue:#2563eb;--tl-green:#16a34a;--tl-orange:#f97316;--tl-red:#ef4444;--tl-amber:#f59e0b;
  --tl-sidebar-w:260px;--tl-topbar-h:72px;--tl-content-x:32px;--tl-content-y:32px;--tl-content-max:1440px;
  --tl-radius:18px;--tl-radius-sm:12px;--tl-control-h:42px;--tl-row-h:64px;--tl-card-pad:24px;--tl-gap:18px;
  --tl-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --tl-shadow:0 22px 50px rgba(15,23,42,.08);--tl-shadow-sm:0 12px 30px rgba(15,23,42,.06);--tl-shadow-soft:0 16px 36px rgba(15,23,42,.07);
}
[data-theme="dark"]{--tl-bg:#0b1120;--tl-surface:#101827;--tl-surface-2:#0f172a;--tl-surface-3:#111827;--tl-text:#cbd5e1;--tl-heading:#f8fafc;--tl-muted:#94a3b8;--tl-border:#1e293b;--tl-sidebar:#060b16;--tl-sidebar-2:#0b1120;--tl-shadow:0 22px 50px rgba(0,0,0,.3);--tl-shadow-sm:0 12px 30px rgba(0,0,0,.2);--tl-shadow-soft:0 16px 36px rgba(0,0,0,.24)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--tl-font);background:linear-gradient(180deg,#f8fbff 0%,var(--tl-bg) 38%);color:var(--tl-text);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}img,svg{max-width:100%}i{line-height:1}.tl-app-body{min-height:100vh}.hidden,.d-none,[hidden]{display:none!important}.tl-mt-sm{margin-top:10px!important}.tl-mt-md{margin-top:18px!important}.tl-m-0{margin:0!important}.tl-pb-0{padding-bottom:0!important}
/* Shell */
.tl-shell{display:grid;grid-template-columns:var(--tl-sidebar-w) minmax(0,1fr);min-height:100vh}.tl-main{min-width:0;display:flex;flex-direction:column}.tl-sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,var(--tl-sidebar),var(--tl-sidebar-2));color:#e5e7eb;display:flex;flex-direction:column;padding:18px 14px;z-index:40;overflow:hidden}.tl-nav{flex:1;overflow:auto;padding:2px 3px}.tl-nav::-webkit-scrollbar{width:0}.tl-brand{display:flex;align-items:center;gap:12px;padding:10px 8px 18px}.tl-brand-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2));color:#fff;font-weight:900;box-shadow:0 16px 34px rgba(99,91,255,.32)}.tl-brand-name{font-size:18px;font-weight:900;letter-spacing:-.04em;color:#fff}.tl-brand-plan{font-size:10px;font-weight:900;letter-spacing:.08em;color:#a5b4fc;text-transform:uppercase}.tl-nav-label{margin:18px 10px 8px;color:#94a3b8;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.tl-nav-divider{height:1px;background:rgba(255,255,255,.08);margin:12px 8px}.tl-nav-item,.tl-nav-group-btn{width:100%;min-height:42px;border:0;border-radius:12px;display:flex;align-items:center;gap:10px;padding:10px 12px;background:transparent;color:#cbd5e1;cursor:pointer;text-align:left;font-weight:750;font-size:13px;transition:.18s}.tl-nav-item i,.tl-nav-group-btn i{width:18px;font-size:18px;color:#94a3b8;flex:0 0 18px}.tl-nav-item span,.tl-nav-group-btn span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-nav-item:hover,.tl-nav-group-btn:hover{background:rgba(255,255,255,.08);color:#fff}.tl-nav-item.tl-active{background:linear-gradient(135deg,rgba(99,91,255,.98),rgba(124,58,237,.98));color:#fff;box-shadow:0 14px 28px rgba(99,91,255,.25)}.tl-nav-item.tl-active i{color:#fff}.tl-nav-group-arrow{margin-left:auto;transition:.18s}.tl-nav-group.tl-open .tl-nav-group-arrow{transform:rotate(180deg)}.tl-nav-children{display:none;padding:4px 0 6px 14px}.tl-nav-group.tl-open .tl-nav-children{display:block}.tl-nav-badge{margin-left:auto;padding:2px 7px;border-radius:999px;background:rgba(99,91,255,.18);color:#c4b5fd;font-size:10px;font-weight:900}.tl-logout-nav{color:#fecaca!important}.tl-sidebar-footer{padding:12px 2px 0}.tl-user-pill{display:flex;align-items:center;gap:10px;padding:10px;border-radius:14px;background:rgba(255,255,255,.07);cursor:pointer}.tl-avatar,.tl-avatar-btn,.tl-profile-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#22c55e,#14b8a6);color:#fff;font-weight:900;border:0}.tl-user-name{font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-user-plan{font-size:11px;color:#94a3b8}
/* Topbar */
.tl-topbar{position:sticky;top:0;z-index:30;height:var(--tl-topbar-h);display:flex;align-items:center;gap:14px;padding:0 24px;background:rgba(255,255,255,.86);backdrop-filter:blur(18px);border-bottom:1px solid var(--tl-border)}[data-theme="dark"] .tl-topbar{background:rgba(15,23,42,.86)}.tl-menu-btn,.tl-icon-btn,.tl-avatar-btn{border:1px solid var(--tl-border);background:var(--tl-surface);color:var(--tl-text);width:40px;height:40px;min-width:40px;border-radius:13px;display:grid;place-items:center;cursor:pointer;flex:0 0 auto}.tl-menu-btn i,.tl-icon-btn i{font-size:19px}.tl-search{position:relative;flex:1;max-width:640px}.tl-search>i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--tl-muted)}.tl-search input{width:100%;height:42px;border:1px solid var(--tl-border);background:var(--tl-surface);border-radius:14px;padding:0 58px 0 42px;color:var(--tl-heading);outline:0}.tl-search kbd{position:absolute;right:12px;top:50%;transform:translateY(-50%);padding:3px 7px;border-radius:7px;background:var(--tl-surface-2);border:1px solid var(--tl-border);color:var(--tl-muted);font-size:11px}.tl-search-results{display:none;position:absolute;left:0;right:0;top:50px;background:var(--tl-surface);border:1px solid var(--tl-border);border-radius:16px;box-shadow:var(--tl-shadow);overflow:hidden;z-index:100}.tl-search-results.tl-open{display:block}.tl-search-item{display:block;padding:12px 14px;border-bottom:1px solid var(--tl-border)}.tl-search-empty{padding:14px;color:var(--tl-muted)}.tl-topbar-right{margin-left:auto;display:flex;align-items:center;gap:10px}.tl-btn-create{height:40px;padding:0 15px;border-radius:13px;background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2));color:#fff;display:inline-flex;align-items:center;gap:8px;font-weight:850;box-shadow:0 14px 28px rgba(99,91,255,.24);white-space:nowrap}.tl-dot{position:absolute;width:9px;height:9px;background:#ef4444;border:2px solid #fff;border-radius:99px;right:8px;top:8px}
/* Content */
.tl-content{width:100%;max-width:var(--tl-content-max);margin:0 auto;padding:var(--tl-content-y) var(--tl-content-x) 48px;display:block}.tl-standard-page{display:grid;gap:22px}.tl-flash,.alert{padding:12px 14px;margin-bottom:16px;border-radius:14px;border:1px solid var(--tl-border);background:var(--tl-surface);color:var(--tl-text)}.tl-flash.success,.alert.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.tl-flash.error,.alert.error{border-color:#fecaca;background:#fef2f2;color:#991b1b}.alert.info{border-color:#bfdbfe;background:#eff6ff;color:#1e40af}
/* Master page header */
.tl-page-header{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:16px;margin:0 0 22px;padding:22px;border:1px solid var(--tl-border);border-radius:22px;background:linear-gradient(135deg,var(--tl-surface),#f7f8ff);box-shadow:var(--tl-shadow-sm);min-height:106px}.tl-page-header.compact{min-height:96px}.tl-page-header-icon{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2));color:#fff;box-shadow:0 16px 34px rgba(99,91,255,.24);flex:0 0 58px}.tl-page-header-icon i{font-size:26px}.tl-page-header-text{min-width:0;max-width:860px}.tl-page-kicker,.tl-eyebrow{display:inline-flex;align-items:center;gap:7px;margin:0 0 7px;padding:5px 10px;border-radius:99px;background:#eef2ff;color:var(--tl-primary);font-size:11px;font-weight:950;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}.tl-page-header h1{margin:0;color:var(--tl-heading);font-size:30px;line-height:1.08;font-weight:950;letter-spacing:-.045em;max-width:900px}.tl-page-header p{margin:7px 0 0;color:var(--tl-muted);font-size:14px;line-height:1.55;max-width:760px}.tl-page-header-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;max-width:540px}.tl-section-title{display:flex;align-items:center;gap:9px;margin:20px 0 12px;color:var(--tl-heading);font-weight:900}.tl-section-title span{width:28px;height:28px;border-radius:10px;background:#eef2ff;color:var(--tl-primary);display:grid;place-items:center;font-size:12px;font-weight:950}.tl-muted{color:var(--tl-muted)!important}.tl-help,.tl-field-help{color:var(--tl-muted);font-size:13px;margin-top:6px}
/* Grids */
.tl-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 22px}.tl-stat-grid.six,.tl-stat-grid-6{grid-template-columns:repeat(6,minmax(0,1fr))}.tl-stat-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.tl-content-grid,.tl-page-grid,.tl-card-grid,.tl-form-grid,.tl-form-row,.tl-toolbar{display:grid;gap:18px}.tl-content-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.tl-content-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-page-grid-preview{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,360px);gap:18px;align-items:start}.tl-card-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));align-items:start}.tl-form-grid,.tl-form-row{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.tl-card-wide,.tl-content-grid>.wide{grid-column:1/-1}.tl-field-wide,.tl-field.wide{grid-column:1/-1}
/* Cards & stats */
.tl-card,.tl-table-card,.tl-form-card{border:1px solid var(--tl-border);border-radius:18px;background:var(--tl-surface);box-shadow:var(--tl-shadow-soft);overflow:hidden}.tl-card{padding:0}.tl-card>h3:first-child,.tl-card>p:first-child{padding-left:20px;padding-right:20px}.tl-card>h3:first-child{margin:18px 0 8px;color:var(--tl-heading);font-size:18px;line-height:1.25}.tl-card>p:first-child{margin:0 0 16px}.tl-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 20px;border-bottom:1px solid var(--tl-border);background:var(--tl-surface)}.tl-card-head h3{margin:0;color:var(--tl-heading);font-size:18px;line-height:1.25;font-weight:900}.tl-card-head p{margin:4px 0 0;color:var(--tl-muted);font-size:13px}.tl-card-body,.tl-card>form,.tl-card>.tl-form,.tl-card>.tl-empty-state,.tl-card>ul,.tl-card>ol{padding:20px}.tl-card>div:not(.tl-card-head):not(.tl-table-wrap):not(.tl-filter-bar):not(.tl-table-footer):not(.tl-card-body):not(.tl-action-bar):not(.tl-resource-tabs){padding:20px}.tl-card>.tl-table-wrap,.tl-card>.tl-filter-bar{padding:0}.tl-stat-card{min-height:116px;padding:20px;border:1px solid var(--tl-border);border-radius:18px;background:var(--tl-surface);box-shadow:var(--tl-shadow-sm);display:flex;align-items:center;gap:14px;position:relative;overflow:hidden}.tl-stat-card>div{min-width:0}.tl-stat-icon,.tl-stat-card .icon,.stats-icon,.k-icon{width:48px;height:48px;min-width:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2));color:#fff;font-size:21px}.tl-stat-icon.purple{background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2))}.tl-stat-icon.green,.tl-stat-card.tl-success .tl-stat-icon{background:linear-gradient(135deg,#22c55e,#16a34a)}.tl-stat-icon.blue,.tl-stat-card.info .tl-stat-icon{background:linear-gradient(135deg,#38bdf8,#2563eb)}.tl-stat-icon.orange,.tl-stat-card.warn .tl-stat-icon{background:linear-gradient(135deg,#fb923c,#f97316)}.tl-stat-card b{display:block;color:var(--tl-heading);font-size:27px;line-height:1.05;font-weight:950;letter-spacing:-.045em}.tl-stat-card small,.tl-stat-card span{display:block;color:var(--tl-muted);font-size:12px;font-weight:800;letter-spacing:.025em}.tl-stat-card small{text-transform:uppercase}.tl-stat-card p,.tl-stat-card em{margin:6px 0 0;color:var(--tl-muted);font-size:12px;font-style:normal;text-transform:none}.tl-stat-card a{color:var(--tl-primary);font-weight:850}
/* Actions, filters, buttons */
.tl-filter-bar,.tl-toolbar,.tl-action-bar:not(.tl-page-header-actions):not(.tl-table-actions){display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 20px;border-bottom:1px solid var(--tl-border);background:var(--tl-surface)}.tl-filter-search,.tl-toolbar-search{position:relative;min-width:280px;flex:1 1 360px}.tl-filter-search i,.tl-toolbar-search i{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--tl-muted)}.tl-filter-search input,.tl-toolbar-search input{padding-right:42px!important}.tl-filter-bar select,.tl-filter-bar input:not([type=checkbox]):not([type=radio]),.tl-action-bar select,.tl-action-bar input:not([type=checkbox]):not([type=radio]){min-width:170px;max-width:260px}.tl-btn,.btn,button.tl-btn,a.tl-btn{height:var(--tl-control-h);min-height:var(--tl-control-h);display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--tl-border);background:var(--tl-surface);color:var(--tl-heading);border-radius:12px;padding:0 15px;font-size:13px;font-weight:850;white-space:nowrap;line-height:1;cursor:pointer}.tl-btn:hover,.btn:hover{border-color:#cbd5e1;box-shadow:var(--tl-shadow-sm)}.tl-btn-primary,.btn.primary{background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2));color:#fff;border-color:transparent;box-shadow:0 14px 28px rgba(99,91,255,.23)}.tl-btn-secondary{background:#eef2ff;color:var(--tl-primary);border-color:#dbe4ff}.tl-btn-danger,.btn.danger{background:#fff1f2;color:#be123c;border-color:#fecdd3}.tl-btn-sm,.btn.small,.tl-btn.small{height:34px;min-height:34px;padding:0 11px;font-size:12px;border-radius:10px}.tl-btn.wide,.wide{width:100%}.tl-icon-action,.tl-table-actions a,.tl-icon-btn,.tl-mini-btn{width:36px;height:36px;min-width:36px;border-radius:10px;display:inline-grid;place-items:center;border:1px solid var(--tl-border);background:var(--tl-surface);color:var(--tl-heading)}
/* Forms */
.tl-form{display:grid;gap:16px}.tl-field,.tl-form label,.tl-login-field{display:grid;gap:7px;min-width:0;color:var(--tl-heading);font-size:13px;font-weight:800}.tl-field label,.tl-admin-label{font-weight:850;color:var(--tl-heading);font-size:13px}.tl-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.tl-content select,.tl-content textarea,.tl-control{width:100%;border:1px solid var(--tl-border);border-radius:12px;background:var(--tl-surface);color:var(--tl-heading);outline:0;transition:.15s}.tl-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.tl-content select,.tl-control{height:var(--tl-control-h);min-height:var(--tl-control-h);padding:0 13px}.tl-content textarea{min-height:112px;padding:12px 13px;resize:vertical}.tl-content input:focus,.tl-content select:focus,.tl-content textarea:focus{border-color:#a5b4fc;box-shadow:0 0 0 4px rgba(99,91,255,.1)}.tl-form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:8px}.admin-inline-tl-cards,.limits-form,.plan-assign-form,.tl-inline-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;align-items:end}.tl-inline-edit-grid .tl-field-wide{grid-column:1/-1}
/* Tables */
.tl-table-wrap{width:100%;overflow:auto;background:var(--tl-surface)}.tl-table{width:100%;min-width:900px;border-collapse:collapse;table-layout:auto;font-size:13px}.tl-table th{height:52px;padding:0 18px;background:#fbfcff;color:var(--tl-heading);font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;border-bottom:1px solid var(--tl-border);white-space:nowrap;text-align:left}.tl-table td{height:var(--tl-row-h);padding:12px 18px;border-bottom:1px solid var(--tl-border);vertical-align:middle;white-space:nowrap;color:var(--tl-text)}.tl-table tr:last-child td{border-bottom:0}.tl-table td strong,.tl-table td b{color:var(--tl-heading)}.tl-table td small{display:block;color:var(--tl-muted);margin-top:2px}.tl-table td .tl-dest-url,.tl-table td code{white-space:normal;word-break:break-word}.tl-table-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}.tl-table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:var(--tl-surface);border-top:1px solid var(--tl-border)}.tl-pagination{display:flex;align-items:center;gap:8px}.tl-pagination button,.tl-pagination a{width:36px;height:36px;border-radius:10px;border:1px solid var(--tl-border);background:var(--tl-surface);color:var(--tl-heading);font-weight:800}.tl-pagination .active,.tl-pagination button.active{background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2));color:#fff;border-color:transparent}
/* Badges, tabs, misc */
.tl-badge,.tl-mini-badge,.tl-pill,.tl-status,.tl-chip,.tl-plan-badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:28px;padding:4px 10px;border-radius:999px;background:#eef2ff;color:var(--tl-primary);font-size:12px;font-weight:850;white-space:nowrap}.tl-badge-success,.tl-mini-badge.ok,.tl-plan-badge.admin{background:#dcfce7;color:#166534}.tl-badge-warning,.tl-mini-badge.wait{background:#fef3c7;color:#92400e}.tl-danger,.tl-badge-danger{background:#fee2e2;color:#991b1b}.tl-meta-pills{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tl-preview-badges{display:flex;gap:8px;flex-wrap:wrap}.tl-resource-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(158px,1fr));gap:10px;align-items:stretch;margin:0 0 18px}.tl-resource-tabs a{height:42px;display:flex;align-items:center;gap:8px;justify-content:flex-start;border:1px solid var(--tl-border);border-radius:12px;background:var(--tl-surface);padding:0 12px;font-size:13px;font-weight:800;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-resource-tabs a.active{background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2));color:#fff;border-color:transparent;box-shadow:0 12px 24px rgba(99,91,255,.22)}.tl-crud-icon{width:18px;height:18px;object-fit:contain}.tl-crud-field-grid,.tl-crud-field-grid-pro{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.tl-crud-hero-stats{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:10px}.tl-empty-state{text-align:center;color:var(--tl-muted);padding:32px}.tl-toast{position:fixed;right:22px;bottom:22px;z-index:9999;transform:translateY(12px);opacity:0;transition:.2s;padding:12px 14px;border-radius:14px;background:#0f172a;color:#fff;box-shadow:var(--tl-shadow)}.tl-toast.show{transform:translateY(0);opacity:1}.tl-login-card{width:min(420px,calc(100vw - 32px));margin:8vh auto;padding:24px;border:1px solid var(--tl-border);border-radius:22px;background:var(--tl-surface);box-shadow:var(--tl-shadow)}
/* Charts/preview */
.chart-bars,.tl-mini-bars{display:flex;align-items:flex-end;gap:10px;min-height:220px;padding:18px;border-radius:16px;background:var(--tl-surface-2);overflow:auto}.chart-bars .bar,.tl-mini-bar{min-width:48px;display:grid;gap:8px;justify-items:center;align-items:end}.chart-bars .bar span,.tl-mini-bar span{display:block;width:18px;min-height:8px;border-radius:999px;background:linear-gradient(180deg,var(--tl-primary),var(--tl-primary-2))}.tl-preview-card{position:sticky;top:calc(var(--tl-topbar-h) + 18px)}.tl-preview-phone{border:1px solid var(--tl-border);border-radius:26px;background:linear-gradient(180deg,#fff,#f8fafc);padding:18px;box-shadow:var(--tl-shadow-sm);min-height:360px}.tl-qr-box{width:116px;height:116px;margin:14px auto;border-radius:18px;background:repeating-linear-gradient(45deg,#0f172a 0 7px,#fff 7px 14px);border:10px solid #fff;box-shadow:0 0 0 1px var(--tl-border)}
/* Dropdowns */
.tl-notif-dropdown,.tl-profile-dropdown,.tl-dropdown{display:none;position:fixed;right:24px;top:calc(var(--tl-topbar-h) + 10px);width:min(360px,calc(100vw - 28px));background:var(--tl-surface);border:1px solid var(--tl-border);border-radius:18px;box-shadow:var(--tl-shadow);z-index:90;overflow:hidden}.tl-notif-dropdown.tl-open,.tl-profile-dropdown.tl-open,.tl-dropdown.tl-open{display:block}.tl-notif-head,.tl-notif-foot,.tl-profile-head{padding:14px 16px;border-bottom:1px solid var(--tl-border);display:flex;align-items:center;justify-content:space-between;gap:10px}.tl-notif-scroll{max-height:360px;overflow:auto}.tl-notif-card{display:flex;gap:10px;padding:12px 16px;border-bottom:1px solid var(--tl-border)}.tl-notif-title,.tl-profile-name{font-weight:900;color:var(--tl-heading)}.tl-notif-desc,.tl-notif-time{font-size:12px;color:var(--tl-muted)}.tl-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px}.tl-profile-stat{border:1px solid var(--tl-border);border-radius:14px;padding:10px;text-align:center}.tl-profile-links a,.tl-pref-row{display:flex;align-items:center;gap:10px;padding:11px 16px;border-top:1px solid var(--tl-border)}.tl-vip-card{margin:14px;border-radius:14px;padding:12px;background:#eef2ff;color:var(--tl-primary);font-weight:800}
/* Safety: no one-word columns / overflow */
.tl-content h1,.tl-content h2,.tl-content h3,.tl-content p,.tl-content span,.tl-content a,.tl-content label{word-break:normal;overflow-wrap:normal}.tl-content [class*="text"],.tl-content [class*="title"],.tl-content [class*="desc"]{min-width:0}.tl-content *{max-width:100%}.tl-table-wrap,.tl-card{min-width:0}
@media(max-width:1180px){:root{--tl-sidebar-w:250px;--tl-content-x:24px}.tl-shell{grid-template-columns:var(--tl-sidebar-w) minmax(0,1fr)}.tl-page-header{grid-template-columns:58px minmax(0,1fr);align-items:flex-start}.tl-page-header-actions{grid-column:2;justify-content:flex-start;margin-left:0;max-width:100%}.tl-stat-grid,.tl-stat-grid.six,.tl-stat-grid-6{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-content-grid,.tl-page-grid,.tl-page-grid-preview{grid-template-columns:1fr}.tl-card-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}
@media(max-width:780px){:root{--tl-topbar-h:66px;--tl-content-x:14px;--tl-content-y:18px}.tl-shell{display:block}.tl-sidebar{position:fixed;left:0;top:0;bottom:0;width:282px;transform:translateX(-105%);transition:.22s;z-index:80}.tl-sidebar.mobile-open,.tl-shell.sidebar-open .tl-sidebar{transform:translateX(0)}.tl-topbar{padding:0 12px;gap:10px}.tl-topbar-right .tl-icon-btn:not(#tlThemeBtn),.tl-btn-create,.tl-search kbd{display:none}.tl-content{overflow-x:hidden}.tl-page-header{display:grid;grid-template-columns:1fr;gap:12px;padding:18px;min-height:auto}.tl-page-header-icon{width:48px;height:48px}.tl-page-header h1{font-size:25px}.tl-page-header-actions{grid-column:auto;width:100%;justify-content:flex-start}.tl-stat-grid,.tl-stat-grid.six,.tl-stat-grid-6,.tl-form-grid,.tl-form-row{grid-template-columns:1fr}.tl-content-grid,.tl-page-grid,.tl-page-grid-preview{grid-template-columns:1fr}.tl-filter-bar,.tl-action-bar:not(.tl-page-header-actions):not(.tl-table-actions){display:grid;grid-template-columns:1fr}.tl-filter-search,.tl-toolbar-search,.tl-filter-bar select,.tl-filter-bar input,.tl-action-bar select,.tl-action-bar input{min-width:0;max-width:100%;width:100%}.tl-card-head{align-items:flex-start;flex-direction:column}.tl-table-footer{align-items:flex-start;flex-direction:column}.tl-table{min-width:760px}.tl-resource-tabs{grid-template-columns:1fr}.tl-topbar-right{gap:6px}.tl-menu-btn,.tl-icon-btn,.tl-avatar-btn{width:38px;height:38px;min-width:38px}}

/* ======================================================================
   SALIN.ICU Enterprise v120.6 — Creative UI System
   One global design language, multiple enterprise page compositions.
   ====================================================================== */
:root{
  --tl-creative-purple:#6d5dfc;
  --tl-creative-blue:#2563eb;
  --tl-creative-cyan:#06b6d4;
  --tl-creative-pink:#db2777;
  --tl-creative-mint:#10b981;
  --tl-creative-ink:#0b1220;
  --tl-card-glow:0 1px 0 rgba(255,255,255,.85) inset,0 24px 70px rgba(15,23,42,.08);
}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 18% 0%,rgba(99,91,255,.10),transparent 28%),radial-gradient(circle at 88% 12%,rgba(14,165,233,.09),transparent 30%),linear-gradient(180deg,#fbfdff 0%,#f5f7fb 55%,#f7f8fc 100%)}
[data-theme="dark"] body::before{background:radial-gradient(circle at 18% 0%,rgba(99,91,255,.22),transparent 28%),radial-gradient(circle at 88% 12%,rgba(14,165,233,.18),transparent 30%),linear-gradient(180deg,#080d18 0%,#0b1120 60%,#0b1020 100%)}
.tl-content{max-width:1480px}.tl-card,.tl-stat-card,.tl-page-header{position:relative;overflow:hidden}.tl-card::before,.tl-page-header::before{content:"";position:absolute;inset:0 0 auto 0;height:1px;background:linear-gradient(90deg,transparent,rgba(99,91,255,.42),transparent)}
.tl-card{border-radius:22px;box-shadow:var(--tl-card-glow);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.tl-card:hover{transform:translateY(-1px);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 28px 80px rgba(15,23,42,.11)}
.tl-page-header{border-radius:26px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(246,248,255,.94));box-shadow:0 28px 80px rgba(15,23,42,.09);isolation:isolate}.tl-page-header::after{content:"";position:absolute;right:-100px;top:-120px;width:340px;height:260px;background:radial-gradient(circle,rgba(99,91,255,.22),transparent 60%);z-index:-1}.tl-page-header-icon{border-radius:18px;background:linear-gradient(135deg,var(--tl-creative-purple),var(--tl-creative-blue));box-shadow:0 20px 42px rgba(99,91,255,.30)}
.tl-page-kicker{box-shadow:0 1px 0 rgba(99,91,255,.12) inset}.tl-page-header h1{font-size:clamp(27px,2.2vw,36px)}
.tl-stat-card{min-height:124px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border-radius:22px;background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid rgba(226,232,240,.92);box-shadow:0 18px 48px rgba(15,23,42,.065)}.tl-stat-card>b:first-child{font-size:30px;color:var(--tl-heading);letter-spacing:-.05em}.tl-stat-card>span:not(.tl-stat-icon){color:var(--tl-muted);font-size:13px;font-weight:800}.tl-stat-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;color:#fff;box-shadow:0 16px 34px rgba(15,23,42,.13)}.tl-stat-icon i{font-size:22px}.tl-stat-icon.blue{background:linear-gradient(135deg,#3b82f6,#06b6d4)}.tl-stat-icon.green{background:linear-gradient(135deg,#22c55e,#14b8a6)}.tl-stat-icon.purple{background:linear-gradient(135deg,#8b5cf6,#6366f1)}.tl-stat-icon.orange{background:linear-gradient(135deg,#f59e0b,#f97316)}.tl-stat-card em{font-style:normal;color:#16a34a;font-weight:900;font-size:12px;background:#dcfce7;border-radius:999px;padding:5px 8px}.tl-stat-card small{font-size:12px;text-transform:uppercase;letter-spacing:.055em;color:var(--tl-muted);font-weight:900}.tl-stat-card p{margin:2px 0 0;color:var(--tl-muted);font-size:12px}.tl-stat-card div b{display:block;font-size:28px;line-height:1.05;color:var(--tl-heading);letter-spacing:-.04em}
.tl-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.tl-card-head h3{margin:0;color:var(--tl-heading);font-size:18px;letter-spacing:-.025em}.tl-card-head p{margin:4px 0 0;color:var(--tl-muted)}
.tl-filter-bar,.tl-action-bar:not(.tl-page-header-actions):not(.tl-table-actions){display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tl-filter-bar{padding:14px;background:rgba(248,250,252,.75);border:1px solid var(--tl-border);border-radius:18px;margin-bottom:18px}.tl-filter-search,.tl-toolbar-search{position:relative;flex:1;min-width:260px}.tl-filter-search i,.tl-toolbar-search i{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--tl-muted)}
.tl-btn{letter-spacing:-.01em}.tl-btn:hover,.tl-icon-action:hover,.tl-table-actions a:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(15,23,42,.10)}.tl-btn-primary{background:linear-gradient(135deg,#6d5dfc,#2563eb 55%,#06b6d4)}
.tl-table-wrap{border-radius:18px;border:1px solid var(--tl-border);box-shadow:0 14px 40px rgba(15,23,42,.045)}.tl-table th{background:linear-gradient(180deg,#fbfcff,#f6f8fc)}.tl-table tr:hover td{background:#fbfdff}.tl-table-actions a,.tl-table-actions button,.icon{transition:.16s ease}.tl-badge,.tl-chip,.tl-pill{border:1px solid rgba(99,91,255,.13)}
/* Page composition variants — still powered by the same global file */
.tl-route-dashboard .tl-page-header{background:linear-gradient(135deg,#fff,#f7f8ff 52%,#eef6ff)}
.tl-route-dashboard .tl-content-grid{grid-template-columns:minmax(0,1.45fr) minmax(360px,.75fr)}
.tl-route-analytics .tl-page-header,.tl-analytics-hero{background:linear-gradient(135deg,#fff,#f4f7ff 48%,#f0fdfa)}
.tl-route-analytics .tl-content-grid{grid-template-columns:minmax(0,1.35fr) minmax(340px,.8fr)}
.tl-route-create-shortlink .tl-page-header,.tl-route-recent-links .tl-page-header{background:linear-gradient(135deg,#fff,#f6f4ff 50%,#eef9ff)}
.tl-route-biolinks .tl-page-header,.tl-route-biolink-blocks .tl-studio-head{background:linear-gradient(135deg,#fff,#fff7ed 42%,#f5f3ff)}
.tl-route-custom-domains .tl-page-header,.tl-route-add-domain .tl-page-header,.tl-route-check-domain .tl-page-header,.tl-route-check-domain-full .tl-page-header{background:linear-gradient(135deg,#fff,#eff6ff 48%,#f0fdf4)}
.tl-route-admin .tl-page-header,.tl-route-admin-content .tl-page-header,.tl-admin-hero{background:linear-gradient(135deg,#fff,#f8fafc 48%,#eef2ff)}
.tl-route-profile .tl-content-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.75fr)}
.tl-route-api-settings .tl-page-header,.tl-route-api .tl-page-header{background:linear-gradient(135deg,#fff,#f5f3ff 48%,#ecfeff)}
/* Creative cards */
.tl-insight-card{min-height:210px}.tl-info-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.tl-info-list li{display:grid;grid-template-columns:minmax(150px,.35fr) 1fr;gap:10px;padding:12px;border-radius:14px;background:var(--tl-surface-2);border:1px solid var(--tl-border)}.tl-info-list li b{color:var(--tl-heading)}.tl-info-list li span{color:var(--tl-muted)}
.tl-list-stack{display:grid;gap:10px}.tl-list-card{display:grid;grid-template-columns:44px minmax(0,1fr) 24px;align-items:center;gap:12px;padding:14px;border-radius:16px;border:1px solid var(--tl-border);background:linear-gradient(180deg,#fff,#fbfcff);transition:.16s}.tl-list-card:hover{transform:translateY(-1px);box-shadow:var(--tl-shadow-sm)}.tl-list-icon{width:44px;height:44px;border-radius:14px;background:#eef2ff;color:var(--tl-primary);display:grid;place-items:center;font-weight:900}.tl-list-card b{color:var(--tl-heading)}.tl-list-card p{margin:2px 0;color:var(--tl-muted)}.tl-list-card small{color:var(--tl-soft)}
.tl-workflow-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.tl-workflow-step{padding:18px;border-radius:18px;border:1px solid var(--tl-border);background:linear-gradient(180deg,#fff,#fbfcff)}.tl-workflow-step span{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2));color:#fff;display:grid;place-items:center;font-weight:900;margin-bottom:12px}.tl-workflow-step b{display:block;color:var(--tl-heading);font-size:15px}.tl-workflow-step p{margin:6px 0 0;color:var(--tl-muted);font-size:13px}
/* Biolink studio creative polish */
.tl-studio-shell{display:grid;gap:18px}.tl-studio-head{border:1px solid var(--tl-border);border-radius:26px;padding:24px;background:linear-gradient(135deg,#fff,#fff7ed 50%,#f5f3ff);box-shadow:var(--tl-shadow-sm);display:flex;align-items:center;justify-content:space-between;gap:18px}.tl-studio-head h1{margin:4px 0 0;color:var(--tl-heading);font-size:32px;letter-spacing:-.045em}.tl-studio-breadcrumb{display:flex;align-items:center;gap:8px;color:var(--tl-muted);font-size:12px;font-weight:800}.tl-studio-tabs{display:flex;gap:10px;flex-wrap:wrap}.tl-studio-tabs button{height:40px;border:1px solid var(--tl-border);border-radius:12px;background:var(--tl-surface);padding:0 13px;font-weight:850;color:var(--tl-heading);cursor:pointer}.tl-studio-tabs button.active{background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2));color:#fff;border-color:transparent}.tl-studio-grid{display:grid;grid-template-columns:260px minmax(0,1fr) 360px;gap:18px;align-items:start}.tl-block-library,.tl-blocks-card,.tl-preview-card{min-width:0}.tl-block-tile,.tl-studio-block{border:1px solid var(--tl-border);border-radius:16px;background:linear-gradient(180deg,#fff,#fbfcff);padding:12px}.tl-studio-block{margin-bottom:10px}.tl-studio-block-main{display:grid;grid-template-columns:24px 44px minmax(0,1fr) auto;align-items:center;gap:10px;cursor:pointer}.tl-block-avatar{width:44px;height:44px;border-radius:14px;background:#eef2ff;color:var(--tl-primary);display:grid;place-items:center;font-size:19px}.tl-block-info b{display:block;color:var(--tl-heading)}.tl-block-info small{display:block;color:var(--tl-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-block-editor{display:none;margin-top:12px;padding-top:12px;border-top:1px solid var(--tl-border)}.tl-studio-block.open .tl-block-editor{display:grid;gap:14px}.tl-phone-pro{border-radius:32px;padding:14px;background:#111827;box-shadow:0 24px 70px rgba(15,23,42,.22)}.tl-phone-page{border-radius:24px;background:#fff;min-height:540px;padding:18px;overflow:hidden}.tl-phone-cover{height:96px;margin:-18px -18px 0;border-radius:24px 24px 0 0;background:linear-gradient(135deg,#a78bfa,#38bdf8);background-size:cover;background-position:center}.tl-phone-profile{text-align:center}.tl-phone-avatar{width:78px;height:78px;border:5px solid #fff;border-radius:24px;background:#f1f5f9;margin:-36px auto 10px;background-size:cover;background-position:center}.tl-phone-links{display:grid;gap:10px;margin-top:14px}.tl-phone-links a{min-height:44px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:850}.tl-phone-socials{display:flex;justify-content:center;gap:8px;margin-top:14px}.tl-phone-socials span{width:30px;height:30px;border-radius:999px;background:#eef2ff;display:grid;place-items:center;color:var(--tl-primary)}
/* Rank studio */
.tl-rank-studio{display:grid;gap:18px}.tl-rank-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px;border:1px solid var(--tl-border);border-radius:26px;background:linear-gradient(135deg,#fff,#eff6ff 50%,#f5f3ff);box-shadow:var(--tl-shadow-sm)}.tl-rank-topbar h1{margin:6px 0 4px;font-size:32px;color:var(--tl-heading);letter-spacing:-.045em}.tl-rank-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.tl-rank-stat{padding:20px;border-radius:22px;border:1px solid var(--tl-border);background:#fff;box-shadow:var(--tl-shadow-sm)}.tl-rank-stat b{display:block;font-size:30px;color:var(--tl-heading)}.tl-rank-stat span{color:var(--tl-muted);font-weight:850}.tl-rank-board{border:1px solid var(--tl-border);border-radius:22px;background:#fff;box-shadow:var(--tl-shadow-sm);padding:20px}.tl-rank-empty{text-align:center;padding:42px;color:var(--tl-muted)}
/* Modal polish */
.tl-modal{position:fixed;inset:0;display:none;z-index:120;align-items:center;justify-content:center;padding:22px}.tl-modal.is-open,.tl-modal.tl-open{display:flex}.tl-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(8px)}.tl-modal-card{position:relative;width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 44px);overflow:auto;background:var(--tl-surface);border:1px solid var(--tl-border);border-radius:24px;box-shadow:0 40px 100px rgba(0,0,0,.28)}.tl-modal-header,.tl-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--tl-border)}.tl-modal-footer{border-top:1px solid var(--tl-border);border-bottom:0;justify-content:flex-end}.tl-modal-body{padding:18px}.tl-modal-header h3{margin:0;color:var(--tl-heading)}.tl-modal-header button{width:36px;height:36px;border-radius:12px;border:1px solid var(--tl-border);background:var(--tl-surface);cursor:pointer}
@media(max-width:1280px){.tl-studio-grid{grid-template-columns:1fr}.tl-rank-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-route-dashboard .tl-content-grid,.tl-route-analytics .tl-content-grid{grid-template-columns:1fr}.tl-preview-card{position:relative;top:auto}}
@media(max-width:780px){.tl-page-header,.tl-rank-topbar,.tl-studio-head{border-radius:20px;padding:18px}.tl-rank-topbar,.tl-studio-head{display:grid}.tl-rank-stats{grid-template-columns:1fr}.tl-info-list li{grid-template-columns:1fr}.tl-list-card{grid-template-columns:40px minmax(0,1fr)}.tl-list-card>i{display:none}.tl-studio-block-main{grid-template-columns:34px minmax(0,1fr) auto}.tl-studio-block-main>.handle{display:none}.tl-block-avatar{width:34px;height:34px;border-radius:12px}.tl-stat-card{min-height:112px}}

/* SALIN.ICU Enterprise v120.7 — Full Project Enterprise Modernization */
:root{--tl-enterprise-gradient:linear-gradient(135deg,#635bff 0%,#7c3aed 52%,#2563eb 100%);--tl-glass:rgba(255,255,255,.76)}
.tl-marketing-page,.tl-auth-page{min-height:100vh;background:radial-gradient(circle at 15% 8%,#eef2ff 0,transparent 30%),radial-gradient(circle at 85% 18%,#e0f2fe 0,transparent 28%),linear-gradient(180deg,#fff 0%,#f6f8fc 100%);color:var(--tl-heading)}
.tl-marketing-nav{height:78px;max-width:1180px;margin:0 auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.tl-marketing-brand,.tl-auth-brand{display:inline-flex;align-items:center;gap:12px;font-weight:950;letter-spacing:-.04em;color:var(--tl-heading)}.tl-marketing-brand span,.tl-auth-brand span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--tl-enterprise-gradient);color:#fff;box-shadow:0 18px 40px rgba(99,91,255,.28)}.tl-marketing-nav-actions{display:flex;gap:10px;align-items:center}
.tl-marketing-hero{max-width:1180px;margin:0 auto;padding:72px 28px 58px;display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,.88fr);align-items:center;gap:52px}.tl-marketing-copy h1{margin:0;color:var(--tl-heading);font-size:clamp(42px,6vw,72px);line-height:.96;letter-spacing:-.075em;font-weight:950}.tl-marketing-copy p{margin:22px 0;color:var(--tl-muted);font-size:18px;line-height:1.72;max-width:700px}.tl-marketing-visual{border-radius:34px;background:rgba(255,255,255,.7);border:1px solid var(--tl-border);box-shadow:0 34px 90px rgba(15,23,42,.13);padding:10px;overflow:hidden}.tl-marketing-visual img{display:block;width:100%;border-radius:28px}.tl-trust-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.tl-trust-row span,.tl-chip{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;background:#fff;border:1px solid var(--tl-border);color:var(--tl-muted);font-size:12px;font-weight:850;box-shadow:0 10px 26px rgba(15,23,42,.04)}
.tl-marketing-section{max-width:1180px;margin:0 auto;padding:54px 28px}.tl-section-heading{display:grid;gap:10px;max-width:760px;margin-bottom:24px}.tl-section-heading h2,.tl-marketing-cta h2{margin:0;color:var(--tl-heading);font-size:38px;line-height:1.05;letter-spacing:-.055em;font-weight:950}.tl-section-heading p,.tl-marketing-cta p{margin:0;color:var(--tl-muted);font-size:15px;line-height:1.65}.tl-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tl-feature-card{padding:24px;border-radius:24px;background:#fff;border:1px solid var(--tl-border);box-shadow:0 18px 48px rgba(15,23,42,.06)}.tl-feature-card i{width:44px;height:44px;border-radius:14px;background:#eef2ff;color:var(--tl-primary);display:grid;place-items:center;font-size:22px;margin-bottom:18px}.tl-feature-card h3{margin:0 0 8px;color:var(--tl-heading);font-size:18px;letter-spacing:-.025em}.tl-feature-card p{margin:0;color:var(--tl-muted);line-height:1.65}.tl-marketing-cta{max-width:1180px;margin:34px auto 0;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:30px;background:var(--tl-enterprise-gradient);color:#fff;box-shadow:0 34px 80px rgba(99,91,255,.25)}.tl-marketing-cta .tl-page-kicker{background:rgba(255,255,255,.16);color:#fff}.tl-marketing-cta h2,.tl-marketing-cta p{color:#fff}.tl-marketing-cta .tl-btn{background:#fff;color:var(--tl-primary);border-color:transparent}.tl-marketing-footer{max-width:1180px;margin:0 auto;padding:34px 28px;display:flex;align-items:center;justify-content:space-between;color:var(--tl-muted);font-size:13px}
.tl-auth-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,520px);align-items:center;gap:48px;padding:44px 7vw}.tl-auth-page.compact{grid-template-columns:minmax(0,1fr) minmax(390px,480px)}.tl-auth-hero{display:grid;gap:34px;max-width:720px}.tl-auth-copy h1{margin:0;color:var(--tl-heading);font-size:clamp(38px,5vw,62px);line-height:.98;letter-spacing:-.07em;font-weight:950}.tl-auth-copy p{margin:18px 0 0;color:var(--tl-muted);font-size:17px;line-height:1.7}.tl-auth-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tl-auth-feature-grid div{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid var(--tl-border);box-shadow:0 14px 36px rgba(15,23,42,.05);font-weight:850;color:var(--tl-heading)}.tl-auth-feature-grid i{color:var(--tl-primary);font-size:20px}.tl-auth-panel{display:flex;justify-content:center}.tl-auth-card{width:100%;max-width:460px;padding:30px;border-radius:30px;background:rgba(255,255,255,.92);border:1px solid var(--tl-border);box-shadow:0 34px 90px rgba(15,23,42,.13);backdrop-filter:blur(18px)}.tl-auth-card-head{display:flex;align-items:center;gap:14px;margin-bottom:22px}.tl-auth-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:var(--tl-enterprise-gradient);color:#fff;box-shadow:0 18px 40px rgba(99,91,255,.24)}.tl-auth-card h2{margin:0;color:var(--tl-heading);font-size:26px;letter-spacing:-.04em}.tl-auth-card p{margin:4px 0 0;color:var(--tl-muted)}.tl-control-wrap{position:relative;display:flex;align-items:center}.tl-control-wrap>i{position:absolute;left:13px;color:var(--tl-muted);font-size:18px}.tl-control-wrap .tl-control{padding-left:42px}.tl-input-icon-btn{position:absolute;right:6px;width:32px;height:32px;border:0;border-radius:10px;background:transparent;color:var(--tl-muted);display:grid;place-items:center;cursor:pointer}.tl-form-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.tl-check{display:flex;align-items:center;gap:8px;color:var(--tl-muted);font-weight:750}.tl-link{color:var(--tl-primary);font-weight:900}.tl-auth-foot{text-align:center;margin:18px 0 0!important}.tl-alert{display:flex;align-items:center;gap:9px;margin-bottom:16px;padding:12px 14px;border-radius:14px;border:1px solid var(--tl-border);font-weight:750}.tl-alert.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.tl-alert.error{border-color:#fecaca;background:#fef2f2;color:#991b1b}
.tl-empty-state{display:grid;place-items:center;gap:10px;min-height:160px;padding:28px;text-align:center;border:1px dashed var(--tl-border);border-radius:22px;background:var(--tl-surface-2);color:var(--tl-muted)}.tl-empty-state:before{content:"";width:110px;height:76px;background:url('../img/salin-icu-empty-state.svg') center/contain no-repeat;opacity:.9}.tl-page-header.tl-creative-hero{background:linear-gradient(135deg,#fff,#f7f8ff 55%,#eef2ff);box-shadow:0 26px 60px rgba(99,91,255,.10)}.tl-card,.tl-stat-card,.tl-table-card{transition:transform .18s ease,box-shadow .18s ease}.tl-card:hover,.tl-stat-card:hover{transform:translateY(-1px);box-shadow:0 22px 54px rgba(15,23,42,.09)}
@media(max-width:1100px){.tl-marketing-hero,.tl-auth-page,.tl-auth-page.compact{grid-template-columns:1fr}.tl-marketing-visual{max-width:720px}.tl-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-auth-panel{justify-content:flex-start}}@media(max-width:720px){.tl-marketing-nav{padding:0 18px}.tl-marketing-hero,.tl-marketing-section,.tl-auth-page{padding-left:18px;padding-right:18px}.tl-marketing-hero{padding-top:42px}.tl-feature-grid,.tl-auth-feature-grid{grid-template-columns:1fr}.tl-marketing-cta{margin-left:18px;margin-right:18px;flex-direction:column;align-items:flex-start}.tl-marketing-footer{flex-direction:column;align-items:flex-start;gap:8px}.tl-marketing-copy h1,.tl-auth-copy h1{font-size:38px}.tl-auth-card{padding:22px;border-radius:24px}}


/* ==========================================================
   SALIN.ICU Enterprise v121.0 — Full Dashboard & Layout System Reconstruction
   Purpose: SaaS enterprise layout shell, page hierarchy, grid discipline, responsive IA.
   ========================================================== */
:root{
  --tl-sidebar-w:260px;
  --tl-topbar-h:72px;
  --tl-page-pad:24px;
  --tl-card-pad:24px;
  --tl-radius-card:16px;
  --tl-control-h:42px;
  --tl-body-size:14px;
  --tl-section-title:18px;
  --tl-page-title:30px;
  --tl-content-x:24px;
  --tl-content-y:24px;
  --tl-content-max:1480px;
}
html,body{font-size:var(--tl-body-size);background:var(--tl-bg);}
.tl-shell{grid-template-columns:260px minmax(0,1fr);background:linear-gradient(180deg,#f8fafc 0%,#f3f6fb 100%)}
[data-theme="dark"] .tl-shell{background:#0b1120}
.tl-sidebar{width:260px;padding:16px 12px;border-right:1px solid rgba(255,255,255,.08);box-shadow:14px 0 40px rgba(2,6,23,.12)}
.tl-brand{height:64px;padding:8px 10px 16px;margin-bottom:4px;border-bottom:1px solid rgba(255,255,255,.08)}
.tl-brand-icon{width:42px;height:42px;border-radius:13px}.tl-brand-name{font-size:17px}.tl-brand-plan{font-size:10px;letter-spacing:.13em}
.tl-nav-label{margin:18px 10px 8px;font-size:10px;line-height:1;text-transform:uppercase;color:#94a3b8;letter-spacing:.14em}
.tl-nav-item,.tl-nav-group-btn{height:42px;min-height:42px;border-radius:12px;padding:0 12px;gap:11px;font-size:13px;font-weight:760;line-height:1.1}
.tl-nav-item i,.tl-nav-group-btn i{width:20px;flex-basis:20px;font-size:19px;display:grid;place-items:center}.tl-nav-children{padding:5px 0 7px 18px}.tl-nav-children .tl-nav-item{height:38px;min-height:38px;font-size:12.5px}.tl-sidebar-footer{padding:12px 2px 0;border-top:1px solid rgba(255,255,255,.08)}
.tl-topbar{height:72px;padding:0 24px;background:rgba(255,255,255,.88);border-bottom:1px solid var(--tl-border);box-shadow:0 1px 0 rgba(15,23,42,.03);gap:14px}.tl-topbar-context{display:flex;align-items:center;gap:12px;min-width:230px;max-width:340px}.tl-topbar-context-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#eef2ff;color:var(--tl-primary);border:1px solid #e0e7ff}.tl-topbar-context-copy{display:grid;gap:2px;min-width:0}.tl-topbar-context-copy strong{font-size:14px;line-height:1.1;color:var(--tl-heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-topbar-context-copy small{font-size:11.5px;color:var(--tl-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-search{max-width:560px}.tl-search input{height:42px;border-radius:13px}.tl-topbar-right{gap:9px}.tl-btn-create,.tl-icon-btn,.tl-menu-btn,.tl-avatar-btn{height:42px;min-height:42px}.tl-icon-btn,.tl-menu-btn,.tl-avatar-btn{width:42px;min-width:42px;border-radius:13px}.tl-btn-create{border-radius:13px;padding:0 16px}
.tl-content{padding:24px 24px 48px;max-width:1480px}.tl-standard-page{gap:24px}.tl-page-header{min-height:128px;padding:24px;border-radius:20px;background:linear-gradient(135deg,#fff 0%,#f8faff 58%,#f3f5ff 100%);border:1px solid var(--tl-border);box-shadow:0 18px 50px rgba(15,23,42,.06);display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:0}.tl-page-header.compact{min-height:104px}.tl-page-header-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:#eef2ff;color:var(--tl-primary);border:1px solid #e0e7ff;flex:0 0 auto}.tl-page-header-text{display:grid;gap:7px;min-width:0;flex:1}.tl-page-header-text h1{font-size:30px;line-height:1.08;letter-spacing:-.045em;margin:0;color:var(--tl-heading);font-weight:900}.tl-page-header-text p{margin:0;color:var(--tl-muted);line-height:1.55;max-width:780px}.tl-page-kicker{display:inline-flex;width:max-content;align-items:center;gap:8px;height:28px;padding:0 10px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.tl-page-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.tl-filter-pills{height:42px;display:flex;align-items:center;padding:4px;background:var(--tl-surface-2);border:1px solid var(--tl-border);border-radius:14px}.tl-filter-pills a{height:32px;display:inline-flex;align-items:center;padding:0 12px;border-radius:10px;color:var(--tl-muted);font-weight:850}.tl-filter-pills a.active{background:var(--tl-surface);color:var(--tl-heading);box-shadow:0 8px 22px rgba(15,23,42,.08)}
.tl-card,.tl-table-card,.tl-stat-card{border-radius:16px;border:1px solid var(--tl-border);background:var(--tl-surface);box-shadow:0 16px 42px rgba(15,23,42,.055)}.tl-card{padding:24px}.tl-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.tl-card-head h3,.tl-card h3{font-size:18px;line-height:1.2;letter-spacing:-.025em;color:var(--tl-heading);margin:0}.tl-card-head p{margin:5px 0 0;color:var(--tl-muted);line-height:1.55}.tl-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}.tl-stat-grid.six,.tl-stat-grid-6{grid-template-columns:repeat(6,minmax(0,1fr))}.tl-stat-card{min-height:142px;padding:22px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.tl-stat-card b{font-size:30px;line-height:1.05;letter-spacing:-.045em;color:var(--tl-heading)}.tl-stat-card small{font-size:12px;color:var(--tl-muted);font-weight:850;text-transform:uppercase;letter-spacing:.05em}.tl-stat-card p{margin:7px 0 0;color:var(--tl-muted)}.tl-stat-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;flex:0 0 auto}.tl-content-grid,.tl-page-grid,.tl-card-grid,.tl-form-grid,.tl-form-row,.tl-toolbar{gap:16px}.tl-content-grid{grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr);align-items:start}.tl-content-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-card-wide,.tl-content-grid>.wide{grid-column:1/-1}.tl-table-shell,.tl-table-wrap{border:1px solid var(--tl-border);border-radius:16px;overflow:auto;background:var(--tl-surface)}.tl-table{width:100%;border-collapse:separate;border-spacing:0}.tl-table th{height:44px;background:var(--tl-surface-2);font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--tl-muted);font-weight:900}.tl-table td{height:52px;border-top:1px solid var(--tl-border);vertical-align:middle}.tl-table th,.tl-table td{padding:0 14px;text-align:left}.tl-action-bar,.tl-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tl-btn{min-height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;font-weight:850}.tl-btn-sm{min-height:34px;padding:0 11px;border-radius:10px;font-size:12px}.tl-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.tl-content select,.tl-control{height:42px;min-height:42px;border-radius:12px}.tl-content textarea{border-radius:12px}.tl-mini-bars{min-height:280px;border-radius:16px;padding:22px;gap:13px}.tl-mini-bar span{width:22px}.tl-list-stack{display:grid;gap:10px}.tl-list-card{min-height:64px;border:1px solid var(--tl-border);border-radius:14px;background:var(--tl-surface);padding:14px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px}.tl-list-card b{color:var(--tl-heading)}.tl-list-card p{margin:3px 0 0;color:var(--tl-muted)}
/* Page information architecture */
.tl-route-dashboard .tl-content>.tl-page-header+section.tl-stat-grid{margin-top:0}.tl-route-dashboard .tl-content-grid{grid-template-columns:minmax(0,1.55fr) minmax(330px,.85fr)}.tl-route-dashboard .tl-content-grid>.tl-card-wide:first-child{grid-column:1/2}.tl-route-dashboard .tl-content-grid>section:nth-child(2){grid-column:2/3;grid-row:1}.tl-route-dashboard .tl-content-grid>section:nth-child(3){grid-column:1/2}.tl-route-dashboard .tl-content-grid>section:nth-child(4){grid-column:2/3}.tl-route-analytics .tl-content-grid{grid-template-columns:minmax(0,1.65fr) minmax(330px,.85fr)}.tl-route-analytics .tl-table,.tl-route-biolink-analytics .tl-table{font-size:13px}.tl-route-shortlinks .tl-stat-grid,.tl-route-biolinks .tl-stat-grid,.tl-route-custom-domains .tl-stat-grid,.tl-route-admin .tl-stat-grid{margin-bottom:0}.tl-route-shortlinks .tl-card:has(.tl-table),.tl-route-admin-content .tl-crud-table-card{padding:0;overflow:hidden}.tl-route-shortlinks .tl-card:has(.tl-table) .tl-card-head,.tl-route-admin-content .tl-crud-card-head-pro{padding:24px 24px 0}.tl-route-shortlinks .tl-card:has(.tl-table) .tl-table-wrap,.tl-route-admin-content .tl-table-shell{border-left:0;border-right:0;border-bottom:0;border-radius:0}.tl-route-biolinks .tl-page-grid-preview,.tl-route-biolink-edit .tl-page-grid-preview,.tl-studio-grid{grid-template-columns:minmax(0,1fr) minmax(360px,420px);gap:18px}.tl-route-biolinks .tl-preview-card,.tl-route-biolink-edit .tl-preview-card{top:calc(72px + 24px)}.tl-route-custom-domains .tl-content-grid,.tl-route-domains .tl-content-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tl-route-custom-domains .tl-content-grid>.tl-card:last-child,.tl-route-domains .tl-content-grid>.tl-card:last-child{grid-column:1/-1}.tl-route-admin-content .tl-global-crud-template{display:grid;gap:24px}.tl-route-admin-content .tl-resource-tabs{padding:8px;background:var(--tl-surface);border:1px solid var(--tl-border);border-radius:16px;box-shadow:0 16px 42px rgba(15,23,42,.045);overflow:auto;flex-wrap:nowrap}.tl-route-admin-content .tl-resource-tabs a{height:38px;white-space:nowrap;border-radius:12px;padding:0 12px}.tl-route-admin-content .tl-content-grid{grid-template-columns:minmax(360px,.55fr) minmax(0,1fr)}.tl-route-admin-content .tl-content-grid+.tl-crud-table-card{margin-top:0}.tl-route-admin-content .tl-crud-safe-delete{margin:16px 24px}.tl-route-api-settings .tl-api-layout{display:grid;grid-template-columns:minmax(340px,.75fr) minmax(0,1.25fr);gap:18px;align-items:start}.tl-route-notification .tl-notification-card{padding:24px}.tl-route-profile .tl-card,.tl-route-user-profile .tl-card{max-width:980px}.tl-route-qrcodes .tl-content-grid,.tl-route-seo .tl-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Responsive */
@media(max-width:1280px){.tl-topbar-context{display:none}.tl-stat-grid.six,.tl-stat-grid-6{grid-template-columns:repeat(3,minmax(0,1fr))}.tl-route-dashboard .tl-content-grid,.tl-route-analytics .tl-content-grid,.tl-route-admin-content .tl-content-grid,.tl-route-api-settings .tl-api-layout{grid-template-columns:1fr}.tl-route-dashboard .tl-content-grid>section,.tl-route-dashboard .tl-content-grid>.tl-card-wide:first-child{grid-column:auto!important;grid-row:auto!important}.tl-route-custom-domains .tl-content-grid,.tl-route-domains .tl-content-grid{grid-template-columns:1fr 1fr}.tl-route-biolinks .tl-page-grid-preview,.tl-route-biolink-edit .tl-page-grid-preview,.tl-studio-grid{grid-template-columns:1fr}.tl-preview-card{position:relative;top:auto}}
@media(max-width:980px){.tl-shell{display:block}.tl-sidebar{position:fixed;left:0;top:0;transform:translateX(-105%);transition:.22s ease;z-index:80}.tl-shell.tl-sidebar-open .tl-sidebar,.tl-sidebar.tl-open{transform:translateX(0)}.tl-main{min-height:100vh}.tl-topbar{padding:0 16px}.tl-search{max-width:none}.tl-btn-create{display:none}.tl-content{padding:18px 16px 38px}.tl-page-header{align-items:flex-start;display:grid}.tl-page-header-actions{justify-content:flex-start}.tl-stat-grid,.tl-stat-grid.six,.tl-stat-grid-6{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-content-grid,.tl-content-grid.two,.tl-route-qrcodes .tl-content-grid,.tl-route-seo .tl-content-grid,.tl-route-custom-domains .tl-content-grid,.tl-route-domains .tl-content-grid{grid-template-columns:1fr}.tl-page-header-text h1{font-size:26px}}
@media(max-width:640px){.tl-topbar{gap:8px}.tl-topbar-right .tl-icon-btn:first-child,.tl-topbar-right #tlThemeBtn{display:none}.tl-search kbd{display:none}.tl-page-header{padding:18px;border-radius:18px}.tl-card{padding:18px}.tl-stat-grid,.tl-stat-grid.six,.tl-stat-grid-6{grid-template-columns:1fr}.tl-stat-card{min-height:120px}.tl-table th,.tl-table td{padding:0 10px}.tl-page-header-text h1{font-size:24px}.tl-filter-pills{width:100%;overflow:auto;justify-content:flex-start}.tl-page-header-actions .tl-btn{width:100%}}


/* ========================================================================
   SALIN.ICU Enterprise v122.0 — Senior Product Design Rebuild
   Opinionated SaaS OS layer: hierarchy, information architecture, rhythm.
   ======================================================================== */
:root{
  --tl-bg:#f6f7fb;
  --tl-bg-soft:#fbfcff;
  --tl-surface:#ffffff;
  --tl-surface-2:#f8fafc;
  --tl-surface-3:#f1f5f9;
  --tl-border:#e6e9f0;
  --tl-border-strong:#d7dce7;
  --tl-heading:#0b1220;
  --tl-text:#334155;
  --tl-muted:#64748b;
  --tl-soft:#94a3b8;
  --tl-primary:#111827;
  --tl-primary-2:#4f46e5;
  --tl-accent:#635bff;
  --tl-sidebar-w:260px;
  --tl-topbar-h:72px;
  --tl-content-x:24px;
  --tl-content-y:24px;
  --tl-content-max:1520px;
  --tl-radius:18px;
  --tl-card-pad:24px;
  --tl-control-h:42px;
  --tl-shadow:0 20px 50px rgba(15,23,42,.065);
  --tl-shadow-sm:0 10px 28px rgba(15,23,42,.045);
  --tl-ring:0 0 0 4px rgba(99,91,255,.12);
}
html[data-theme="dark"], [data-theme="dark"]{
  --tl-bg:#080d18;--tl-bg-soft:#0b1120;--tl-surface:#0f172a;--tl-surface-2:#111827;--tl-surface-3:#182235;
  --tl-border:#1f2a3d;--tl-border-strong:#334155;--tl-heading:#f8fafc;--tl-text:#cbd5e1;--tl-muted:#94a3b8;
  --tl-shadow:0 24px 60px rgba(0,0,0,.36);--tl-shadow-sm:0 14px 36px rgba(0,0,0,.24);
}
body.tl-app-body{background:
  radial-gradient(circle at 18% -10%,rgba(99,91,255,.10),transparent 34%),
  radial-gradient(circle at 88% 8%,rgba(14,165,233,.08),transparent 26%),
  linear-gradient(180deg,var(--tl-bg-soft),var(--tl-bg));
  letter-spacing:-.006em;
}
.tl-shell{grid-template-columns:260px minmax(0,1fr);background:transparent}.tl-main{background:transparent}.tl-sidebar{width:260px;padding:16px 12px;background:linear-gradient(180deg,#070b14 0%,#0c1220 52%,#090d16 100%);border-right:1px solid rgba(255,255,255,.08);box-shadow:18px 0 50px rgba(15,23,42,.12)}
.tl-brand{height:64px;padding:8px 8px 14px;margin-bottom:4px}.tl-brand-icon{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#fff,#c7d2fe);color:#111827;box-shadow:0 18px 38px rgba(99,91,255,.25)}.tl-brand-name{font-size:17px;letter-spacing:-.035em}.tl-brand-plan{margin-top:1px;color:#aab6d3;font-size:9.5px;letter-spacing:.11em;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-nav{padding:0 2px 8px}.tl-nav-label{margin:18px 10px 8px;color:#64748b;font-size:10px;letter-spacing:.16em}.tl-nav-divider{margin:14px 8px;background:linear-gradient(90deg,transparent,rgba(148,163,184,.28),transparent)}
.tl-nav-group{margin:2px 0}.tl-nav-item,.tl-nav-group-btn{height:40px;min-height:40px;padding:0 11px;border-radius:12px;font-weight:760;color:#b8c2d8;gap:10px}.tl-nav-item i,.tl-nav-group-btn i{width:19px;height:19px;display:grid;place-items:center;color:#7f8ca7}.tl-nav-item:hover,.tl-nav-group-btn:hover{background:rgba(255,255,255,.065);color:#fff}.tl-nav-item.tl-active{background:rgba(255,255,255,.10);box-shadow:inset 0 0 0 1px rgba(255,255,255,.10),0 14px 28px rgba(0,0,0,.18);color:#fff}.tl-nav-item.tl-active:before{content:"";width:3px;height:18px;border-radius:999px;background:#818cf8;margin-left:-4px}.tl-nav-item.tl-active i{color:#fff}.tl-nav-children{padding:4px 0 6px 11px;border-left:1px solid rgba(148,163,184,.18);margin-left:17px}.tl-nav-children .tl-nav-item{height:36px;min-height:36px;font-size:12.5px;border-radius:10px}.tl-nav-badge{background:rgba(129,140,248,.16);color:#c7d2fe;border:1px solid rgba(129,140,248,.24)}
.tl-sidebar-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 2px 10px;padding:8px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.045)}.tl-sidebar-metrics div{min-width:0;text-align:center}.tl-sidebar-metrics b{display:block;color:#fff;font-size:13px;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-sidebar-metrics span{display:block;color:#7f8ca7;font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.tl-user-pill{min-height:56px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.055);border-radius:16px}.tl-avatar{border-radius:13px;background:linear-gradient(135deg,#818cf8,#06b6d4)}
.tl-topbar{height:72px;padding:0 24px;background:rgba(255,255,255,.78);backdrop-filter:blur(22px) saturate(1.5);border-bottom:1px solid rgba(226,232,240,.84)}[data-theme="dark"] .tl-topbar{background:rgba(8,13,24,.78);border-bottom-color:rgba(51,65,85,.7)}.tl-topbar-context{min-width:260px;max-width:440px}.tl-topbar-context-icon{background:var(--tl-surface);border-color:var(--tl-border);box-shadow:var(--tl-shadow-sm);color:var(--tl-primary-2)}.tl-workspace-eyebrow{display:block;margin-bottom:1px;color:var(--tl-soft);font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.tl-topbar-context-copy strong{font-size:13.5px}.tl-topbar-context-copy small{font-size:11.5px}.tl-search{max-width:620px}.tl-search input{height:42px;border-radius:14px;background:rgba(255,255,255,.86);box-shadow:0 1px 0 rgba(15,23,42,.03)}[data-theme="dark"] .tl-search input{background:rgba(15,23,42,.78)}.tl-search input:focus,.tl-content input:focus,.tl-content select:focus,.tl-content textarea:focus{outline:none;border-color:#a5b4fc;box-shadow:var(--tl-ring)}.tl-btn-create-v122{height:42px;border-radius:14px;background:#111827;color:#fff;box-shadow:0 14px 30px rgba(17,24,39,.20)}.tl-icon-btn,.tl-menu-btn,.tl-avatar-btn{border-radius:14px;background:rgba(255,255,255,.84);box-shadow:0 1px 0 rgba(15,23,42,.03)}[data-theme="dark"] .tl-icon-btn,[data-theme="dark"] .tl-menu-btn,[data-theme="dark"] .tl-avatar-btn{background:rgba(15,23,42,.82)}
.tl-content{padding:24px 24px 52px;display:grid;gap:24px}.tl-content>.tl-page-header{margin:0}.tl-standard-page{gap:24px}.tl-page-header{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:118px;padding:24px;border-radius:22px;border:1px solid rgba(226,232,240,.95);background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(248,250,252,.92));box-shadow:var(--tl-shadow-sm)}[data-theme="dark"] .tl-page-header{background:linear-gradient(135deg,rgba(15,23,42,.98),rgba(17,24,39,.92));border-color:var(--tl-border)}.tl-page-header-icon{width:52px;height:52px;border-radius:16px;background:#111827;color:#fff;border:0;box-shadow:0 18px 36px rgba(17,24,39,.16)}[data-theme="dark"] .tl-page-header-icon{background:#f8fafc;color:#0f172a}.tl-page-header-text{display:block}.tl-page-kicker{height:26px;margin:0 0 8px;background:#f1f5ff;color:#4f46e5;border:1px solid #e0e7ff;font-size:10.5px}.tl-page-header h1{font-size:30px;font-weight:920;letter-spacing:-.055em}.tl-page-header p{font-size:14px;color:var(--tl-muted)}.tl-page-header-actions{align-self:center}.tl-filter-pills{height:42px;border-radius:14px;background:var(--tl-surface);box-shadow:inset 0 0 0 1px var(--tl-border)}.tl-filter-pills a.active{background:#111827;color:#fff;box-shadow:none}.tl-card,.tl-table-card,.tl-stat-card{border-radius:18px;border:1px solid rgba(226,232,240,.95);background:rgba(255,255,255,.96);box-shadow:var(--tl-shadow-sm)}[data-theme="dark"] .tl-card,[data-theme="dark"] .tl-table-card,[data-theme="dark"] .tl-stat-card{background:rgba(15,23,42,.92);border-color:var(--tl-border)}.tl-card{padding:24px}.tl-card-head{margin-bottom:18px}.tl-card-head h3,.tl-card h3{font-size:18px;font-weight:880;letter-spacing:-.035em}.tl-card-head p{font-size:13.5px}.tl-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}.tl-stat-card{min-height:132px;padding:22px;position:relative;overflow:hidden}.tl-stat-card:after{content:"";position:absolute;right:-42px;top:-54px;width:120px;height:120px;border-radius:999px;background:linear-gradient(135deg,rgba(99,91,255,.10),transparent)}.tl-stat-card .tl-stat-icon,.tl-stat-icon{width:42px;height:42px;border-radius:14px;background:#f1f5ff;color:#4f46e5;border:1px solid #e0e7ff}.tl-stat-card b{font-size:30px;font-weight:920}.tl-stat-card small,.tl-stat-card span:first-child{font-size:11px;color:var(--tl-muted);text-transform:uppercase;letter-spacing:.08em;font-weight:900}.tl-stat-card em{font-style:normal;color:#16a34a;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900}.tl-content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.85fr);gap:18px;align-items:start}.tl-content-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-stack{display:grid;gap:18px}.tl-card-wide{grid-column:1/-1}.tl-mini-bars{min-height:320px;border:1px solid var(--tl-border);background:linear-gradient(180deg,var(--tl-surface-2),var(--tl-surface));border-radius:18px;padding:24px}.tl-mini-bar span{border-radius:999px 999px 6px 6px;background:linear-gradient(180deg,#818cf8,#4f46e5)!important;width:20px;box-shadow:0 10px 20px rgba(79,70,229,.18)}.tl-list-card{border-radius:16px;border-color:var(--tl-border);min-height:68px;background:var(--tl-surface-2)}.tl-list-card:hover{background:var(--tl-surface);box-shadow:var(--tl-shadow-sm)}
.tl-table-wrap,.tl-table-shell{border-radius:18px;border:1px solid var(--tl-border);background:var(--tl-surface);overflow:auto}.tl-table{font-size:13.5px}.tl-table th{height:46px;background:var(--tl-surface-2);font-size:10.5px;font-weight:920;color:var(--tl-muted);letter-spacing:.09em}.tl-table td{height:58px;border-top:1px solid var(--tl-border)}.tl-table tr:hover td{background:rgba(248,250,252,.68)}[data-theme="dark"] .tl-table tr:hover td{background:rgba(30,41,59,.35)}.tl-table td b{display:block;color:var(--tl-heading);font-weight:850}.tl-table td small{display:block;color:var(--tl-muted);margin-top:2px}.tl-action-bar,.tl-toolbar,.tl-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tl-btn,button.tl-btn,a.tl-btn{height:42px;min-height:42px;border-radius:13px;padding:0 15px;border:1px solid var(--tl-border);background:var(--tl-surface);color:var(--tl-heading);font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.tl-btn:hover{box-shadow:var(--tl-shadow-sm);transform:translateY(-1px)}.tl-btn-primary{background:#111827!important;border-color:#111827!important;color:#fff!important}.tl-btn-danger{background:#fff1f2!important;border-color:#fecdd3!important;color:#be123c!important}.tl-badge{height:26px;display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:0 9px;background:#f8fafc;border:1px solid var(--tl-border);color:var(--tl-muted);font-size:11px;font-weight:900}.tl-badge-success{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#047857!important}.tl-badge-warning{background:#fffbeb!important;border-color:#fde68a!important;color:#b45309!important}.tl-danger{color:#be123c!important}.tl-form,.tl-api-form{display:grid;gap:14px}.tl-form label,.tl-api-form label{display:grid;gap:7px;color:var(--tl-heading);font-weight:800;font-size:13px}.tl-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.tl-content select,.tl-content textarea,.tl-control{width:100%;min-height:42px;border:1px solid var(--tl-border);background:var(--tl-surface);border-radius:13px;padding:0 13px;color:var(--tl-heading)}.tl-content textarea{padding:12px 13px}.tl-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tl-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.tl-empty-state,.tl-empty-state-pro{min-height:150px;border:1px dashed var(--tl-border-strong);border-radius:18px;background:var(--tl-surface-2);display:grid;place-items:center;text-align:center;padding:28px;color:var(--tl-muted)}.tl-empty-state b,.tl-empty-state-pro b{display:block;color:var(--tl-heading);font-size:15px;margin-bottom:4px}.tl-table-actions{display:flex;justify-content:flex-end;gap:8px}.tl-table-actions a,.tl-mini-btn,.tl-action-trigger{width:34px;min-width:34px;height:34px;border-radius:11px;border:1px solid var(--tl-border);background:var(--tl-surface);display:grid;place-items:center;color:var(--tl-text)}.tl-table-actions a:hover,.tl-mini-btn:hover,.tl-action-trigger:hover{box-shadow:var(--tl-shadow-sm);color:var(--tl-heading)}
/* Opinionated page IA */
.tl-route-dashboard .tl-content-grid{grid-template-columns:minmax(0,1.62fr) minmax(340px,.78fr)}.tl-route-dashboard .tl-content-grid>.tl-card-wide:first-child{grid-column:1/2}.tl-route-dashboard .tl-content-grid>section:nth-child(2){grid-column:2/3;grid-row:1}.tl-route-dashboard .tl-content-grid>section:nth-child(3){grid-column:1/2}.tl-route-dashboard .tl-content-grid>section:nth-child(4){grid-column:2/3}.tl-route-analytics .tl-content-grid,.tl-route-biolink-analytics .tl-content-grid,.tl-route-shortlink-analytics .tl-content-grid{grid-template-columns:minmax(0,1.68fr) minmax(340px,.82fr)}.tl-route-analytics .tl-table-card,.tl-route-biolink-analytics .tl-table-card,.tl-route-shortlink-analytics .tl-table-card{grid-column:1/-1}.tl-route-shortlinks .tl-card:has(.tl-table),.tl-route-admin-content .tl-crud-table-card,.tl-route-admin-users .tl-card:has(.tl-table),.tl-route-admin-plans .tl-card:has(.tl-table){padding:0;overflow:hidden}.tl-route-shortlinks .tl-card:has(.tl-table) .tl-card-head,.tl-route-admin-content .tl-crud-card-head-pro{padding:24px 24px 0}.tl-route-shortlinks .tl-card:has(.tl-table) .tl-table-wrap,.tl-route-admin-content .tl-table-shell{border-left:0;border-right:0;border-bottom:0;border-radius:0}.tl-route-biolinks .tl-page-grid-preview,.tl-route-biolink-edit .tl-page-grid-preview,.tl-studio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,440px);gap:18px;align-items:start}.tl-preview-card,.tl-route-biolinks .tl-preview-card,.tl-route-biolink-edit .tl-preview-card{position:sticky;top:96px;border-radius:24px}.tl-route-custom-domains .tl-content-grid,.tl-route-domains .tl-content-grid{grid-template-columns:minmax(0,1fr) minmax(320px,380px)}.tl-route-custom-domains .tl-domain-page>.tl-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tl-route-api-settings .tl-api-layout{grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr)}.tl-route-profile .tl-card,.tl-route-user-profile .tl-card,.tl-route-bot-settings .tl-card,.tl-route-set-timer .tl-card{max-width:1040px}.tl-route-qrcodes .qr-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}.qrtl-card{box-shadow:none;background:var(--tl-surface-2)}.qr-art{display:grid;place-items:center;min-height:270px;border-radius:18px;background:var(--tl-surface);border:1px solid var(--tl-border)}
@media(max-width:1280px){.tl-topbar-context{display:none}.tl-route-dashboard .tl-content-grid,.tl-route-analytics .tl-content-grid,.tl-route-biolink-analytics .tl-content-grid,.tl-route-shortlink-analytics .tl-content-grid,.tl-route-api-settings .tl-api-layout,.tl-route-custom-domains .tl-content-grid,.tl-route-domains .tl-content-grid{grid-template-columns:1fr}.tl-route-dashboard .tl-content-grid>section,.tl-route-dashboard .tl-content-grid>.tl-card-wide:first-child{grid-column:auto!important;grid-row:auto!important}.tl-stat-grid,.tl-route-custom-domains .tl-domain-page>.tl-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-page-grid-preview,.tl-studio-grid,.tl-route-biolinks .tl-page-grid-preview,.tl-route-biolink-edit .tl-page-grid-preview{grid-template-columns:1fr}.tl-preview-card{position:relative!important;top:auto!important}}
@media(max-width:980px){.tl-shell{display:block}.tl-sidebar{position:fixed;left:0;top:0;transform:translateX(-105%);transition:.22s ease;z-index:80}.tl-shell.tl-sidebar-open .tl-sidebar,.tl-sidebar.tl-open{transform:translateX(0)}.tl-content{padding:18px 16px 42px}.tl-topbar{padding:0 14px}.tl-search{max-width:none}.tl-btn-create{display:none}.tl-page-header{grid-template-columns:48px minmax(0,1fr)!important;align-items:start}.tl-page-header-actions{grid-column:1/-1;justify-content:flex-start}.tl-page-header h1{font-size:26px}.tl-form-grid,.tl-form-grid.three,.tl-content-grid,.tl-content-grid.two{grid-template-columns:1fr}.tl-stat-grid,.tl-route-custom-domains .tl-domain-page>.tl-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.tl-content{padding:16px 12px 36px;gap:16px}.tl-topbar-right .tl-icon-btn:first-child,#tlThemeBtn{display:none}.tl-search kbd{display:none}.tl-page-header{padding:18px;border-radius:20px;min-height:auto}.tl-page-header-icon{width:44px;height:44px}.tl-page-header h1{font-size:24px}.tl-card{padding:18px;border-radius:16px}.tl-stat-grid,.tl-route-custom-domains .tl-domain-page>.tl-stat-grid{grid-template-columns:1fr}.tl-stat-card{min-height:118px}.tl-page-header-actions .tl-btn,.tl-action-bar .tl-btn{width:100%}.tl-filter-pills{width:100%;overflow:auto}.tl-table th,.tl-table td{padding:0 10px;white-space:nowrap}.tl-sidebar-metrics{display:none}}

/* ===================================================================
   SALIN.ICU v123.0 — Full Enterprise Product Rebuild Overrides
   Product-level UI reconstruction: component architecture, not color patch.
=================================================================== */
:root{
  --tl-bg:#f6f8fb;--tl-bg-soft:#f8fafc;--tl-surface:#fff;--tl-surface-2:#f8fafc;
  --tl-heading:#0f172a;--tl-text:#334155;--tl-muted:#64748b;--tl-faint:#94a3b8;
  --tl-border:#e2e8f0;--tl-border-strong:#cbd5e1;--tl-primary:#635bff;--tl-primary-2:#8b5cf6;
  --tl-success:#10b981;--tl-warning:#f59e0b;--tl-danger:#ef4444;--tl-sidebar:#090d18;
  --tl-radius-card:18px;--tl-radius-control:13px;--tl-page-pad:24px;
  --tl-shadow-xs:0 1px 2px rgba(15,23,42,.04);--tl-shadow-sm:0 10px 24px rgba(15,23,42,.06);--tl-shadow-md:0 20px 50px rgba(15,23,42,.09);
  --tl-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --tl-display:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}body{font-family:var(--tl-font);font-size:14px;line-height:1.55;color:var(--tl-text);background:radial-gradient(circle at 20% 0%,rgba(99,91,255,.06),transparent 26%),linear-gradient(180deg,#f8fbff 0%,#f6f8fb 52%,#f8fafc 100%);-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}body,button,input,select,textarea{font-family:var(--tl-font)}a{text-decoration:none;color:inherit}.tl-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.tl-sidebar{width:260px;background:linear-gradient(180deg,#090d18 0%,#0d1322 100%);color:#cbd5e1;border-right:1px solid rgba(255,255,255,.08);padding:20px 14px;position:sticky;top:0;height:100vh;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.24) transparent}.tl-sidebar:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% -10%,rgba(99,91,255,.16),transparent 26%);pointer-events:none}.tl-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px;padding:0 4px 18px;margin-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}.tl-brand-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#eef2ff,#fff);color:#111827;font-weight:900;box-shadow:0 12px 30px rgba(99,91,255,.16);overflow:hidden}.tl-brand-icon img{width:100%;height:100%;display:block}.tl-brand-name{font-weight:900;font-size:17px;letter-spacing:-.04em;color:#fff}.tl-brand-plan{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:900;color:#94a3b8}.tl-nav{position:relative;z-index:1;display:grid;gap:5px}.tl-nav-section{margin:18px 8px 7px;color:#738199;font-size:10px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}.tl-nav-item,.tl-nav-parent{height:38px;border-radius:12px;display:flex;align-items:center;gap:10px;padding:0 10px;color:#cbd5e1;font-weight:740;font-size:13.5px;border:1px solid transparent}.tl-nav-item i,.tl-nav-parent i{font-size:19px;color:#98a6bd}.tl-nav-item:hover,.tl-nav-parent:hover{background:rgba(255,255,255,.065);color:#fff}.tl-nav-item.tl-active{background:linear-gradient(135deg,rgba(99,91,255,.95),rgba(139,92,246,.88));color:#fff;box-shadow:0 10px 24px rgba(99,91,255,.28)}.tl-nav-item.tl-active i{color:#fff}.tl-nav-group .tl-nav-sub{display:grid;gap:4px;margin:5px 0 8px 18px;padding-left:12px;border-left:1px solid rgba(255,255,255,.09)}.tl-sidebar-metrics,.tl-sidebar-user{position:relative;z-index:1;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);border-radius:16px}.tl-sidebar-metrics{margin-top:20px;padding:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}.tl-sidebar-metrics b{display:block;color:#fff;font-size:15px}.tl-sidebar-metrics span{display:block;color:#94a3b8;text-transform:uppercase;font-size:9px;letter-spacing:.1em;font-weight:900}.tl-sidebar-user{margin-top:10px;padding:10px;display:flex;align-items:center;gap:10px}.tl-user-avatar{width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,#38bdf8,#6366f1);display:grid;place-items:center;color:#fff;font-weight:900}.tl-app-main{min-width:0}.tl-topbar{height:72px;position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:16px;padding:0 24px;background:rgba(248,250,252,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(226,232,240,.92)}.tl-icon-btn{width:42px;height:42px;border-radius:14px;border:1px solid var(--tl-border);background:rgba(255,255,255,.9);display:grid;place-items:center;color:#0f172a;box-shadow:var(--tl-shadow-xs)}.tl-search{height:42px;max-width:640px;flex:1;border:1px solid var(--tl-border);background:rgba(255,255,255,.94);border-radius:16px;display:flex;align-items:center;gap:10px;padding:0 12px;color:var(--tl-muted);box-shadow:var(--tl-shadow-xs)}.tl-search input{border:0!important;outline:0!important;background:transparent!important;width:100%;height:100%;font-size:14px}.tl-search kbd{height:24px;min-width:32px;padding:0 7px;border-radius:8px;border:1px solid var(--tl-border);display:grid;place-items:center;color:#94a3b8;background:#f8fafc;font-size:11px}.tl-topbar-right{display:flex;align-items:center;gap:10px;margin-left:auto}.tl-btn-create{height:42px;border-radius:14px;background:#0f172a;color:#fff;padding:0 18px;font-weight:850;display:inline-flex;align-items:center;gap:8px;box-shadow:0 14px 30px rgba(15,23,42,.18)}.tl-content{padding:24px;display:grid;gap:24px;max-width:1680px;margin:0 auto;width:100%}.tl-page-header{border:1px solid var(--tl-border)!important;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(248,250,252,.95))!important;border-radius:24px!important;padding:24px!important;display:grid!important;grid-template-columns:56px minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important;box-shadow:var(--tl-shadow-sm)!important;min-height:120px!important}.tl-page-header-icon{width:56px!important;height:56px!important;border-radius:18px!important;display:grid!important;place-items:center!important;color:#fff!important;background:linear-gradient(135deg,#0f172a,#1e293b)!important;box-shadow:0 18px 40px rgba(15,23,42,.16)!important}.tl-page-header-icon i{font-size:25px}.tl-page-kicker{display:inline-flex!important;width:max-content;height:26px;padding:0 10px;border-radius:999px;align-items:center;background:#eef2ff;border:1px solid #dbeafe;color:#4f46e5;text-transform:uppercase;letter-spacing:.1em;font-size:10.5px;font-weight:950}.tl-page-header h1{font-family:var(--tl-display);font-size:30px!important;line-height:1.12!important;margin:8px 0 5px!important;color:var(--tl-heading)!important;letter-spacing:-.055em!important;font-weight:920!important}.tl-page-header p{max-width:820px;color:var(--tl-muted);margin:0;font-size:14px!important}.tl-page-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.tl-card,.tl-table-card,.tl-stat-card,.tl-data-panel{border:1px solid var(--tl-border)!important;background:rgba(255,255,255,.96)!important;border-radius:18px!important;padding:24px!important;box-shadow:var(--tl-shadow-sm)!important}.tl-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--tl-border)}.tl-card-head h3,.tl-card h3{font-size:18px!important;line-height:1.25!important;letter-spacing:-.035em!important;margin:0;color:var(--tl-heading);font-weight:880}.tl-card-head p{margin:4px 0 0;color:var(--tl-muted);font-size:13px}.tl-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.tl-stat-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))!important}.tl-stat-card{min-height:118px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:10px}.tl-stat-card:before{content:"";position:absolute;right:-38px;top:-46px;width:112px;height:112px;border-radius:999px;background:linear-gradient(135deg,rgba(99,91,255,.11),rgba(6,182,212,.035));pointer-events:none}.tl-stat-card b{font-size:28px!important;line-height:1;font-weight:920!important;color:var(--tl-heading)!important;letter-spacing:-.04em}.tl-stat-card span{font-size:11px!important;letter-spacing:.09em;text-transform:uppercase;color:var(--tl-muted);font-weight:920}.tl-content-grid,.tl-content-grid.three,.tl-content-grid.two{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,.85fr);gap:24px;align-items:start}.tl-content-grid.three{grid-template-columns:1.1fr .8fr .8fr}.tl-card-wide{grid-column:auto!important}.tl-mini-bars,.chart-bars{min-height:280px!important;max-height:360px!important;border:1px solid var(--tl-border)!important;background:linear-gradient(180deg,#f8fafc,#fff)!important;border-radius:18px!important;padding:24px!important;display:flex!important;align-items:end!important;gap:18px!important;overflow:hidden!important}.tl-mini-bar,.chart-bars .bar{height:230px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:9px}.tl-mini-bar span,.chart-bars .bar span{display:block;width:22px!important;border-radius:999px 999px 7px 7px;background:linear-gradient(180deg,#8b5cf6,#4f46e5)!important;box-shadow:0 16px 28px rgba(79,70,229,.18)}.tl-mini-bar small,.chart-bars .bar small{font-size:12px;color:#64748b}.tl-list-metric{display:grid;gap:12px}.tl-list-metric>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px 14px;border:1px solid var(--tl-border);border-radius:14px;background:#f8fafc}.tl-list-metric span{color:var(--tl-text);font-weight:700}.tl-list-metric b{font-weight:900;color:var(--tl-heading)}.tl-rank-list{display:grid;gap:12px}.tl-rank-item{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid var(--tl-border);border-radius:16px;background:#fff}.tl-rank-item>span{width:28px;height:28px;border-radius:10px;background:#eef2ff;color:#4f46e5;display:grid;place-items:center;font-weight:900}.tl-rank-body{min-width:0}.tl-rank-body b{display:block;color:var(--tl-heading);font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-rank-body small{display:block;color:var(--tl-muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-rank-item em{font-style:normal;font-weight:900;color:var(--tl-heading);background:#f8fafc;border:1px solid var(--tl-border);border-radius:999px;padding:5px 9px}.tl-table-wrap,.tl-table-shell{border:1px solid var(--tl-border)!important;border-radius:16px!important;overflow:auto;background:#fff}.tl-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px}.tl-table th{height:46px;background:#f8fafc;color:#64748b;text-transform:uppercase;letter-spacing:.08em;font-size:10.5px;font-weight:920;text-align:left;padding:0 16px;white-space:nowrap}.tl-table td{height:58px;border-top:1px solid var(--tl-border);padding:0 16px;vertical-align:middle}.tl-table tr:hover td{background:#fbfdff}.tl-btn,a.tl-btn,button.tl-btn{height:42px;min-height:42px;border-radius:13px;border:1px solid var(--tl-border);background:#fff;color:#0f172a;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;font-weight:850;font-size:13px;cursor:pointer;white-space:nowrap}.tl-btn:hover{transform:translateY(-1px);box-shadow:var(--tl-shadow-sm)}.tl-btn-primary{background:#0f172a!important;border-color:#0f172a!important;color:#fff!important}.tl-btn-sm{height:34px!important;min-height:34px!important;border-radius:11px!important;padding:0 11px!important}.tl-btn.wide,.wide.tl-btn{width:100%}.tl-badge{height:26px;border-radius:999px;border:1px solid var(--tl-border);background:#f8fafc;display:inline-flex;align-items:center;gap:6px;padding:0 9px;color:#64748b;font-size:11px;font-weight:900}.tl-form{display:grid;gap:15px}.tl-field,label{font-weight:800;color:var(--tl-heading)}.tl-field label,.tl-form label{font-size:13px}.tl-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.tl-content select,.tl-content textarea,.tl-control{width:100%;min-height:42px;border:1px solid var(--tl-border)!important;background:#fff!important;border-radius:13px!important;padding:0 13px;color:#0f172a;outline:0;box-shadow:none}.tl-content textarea{padding:12px 13px;min-height:96px}.tl-content input:focus,.tl-content select:focus,.tl-content textarea:focus{border-color:#a5b4fc!important;box-shadow:0 0 0 4px rgba(99,91,255,.12)!important}.tl-form-grid,.tl-form-grid.two,.tl-form-grid.three,.tl-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tl-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.tl-empty-state,.tl-empty-state-pro{min-height:180px!important;border:1px dashed var(--tl-border-strong)!important;border-radius:18px!important;background:#f8fafc!important;display:grid!important;place-items:center!important;text-align:center!important;padding:28px!important;color:var(--tl-muted)!important}.tl-empty-state:before,.tl-empty-state-pro:before{content:"";width:120px;height:74px;background:url('../img/salin-icu-empty-analytics.svg') center/contain no-repeat;display:block;margin-bottom:8px}.tl-empty-state b,.tl-empty-state-pro b{display:block;color:var(--tl-heading);font-size:16px}.tl-world-card{border:1px solid var(--tl-border);border-radius:18px;background:linear-gradient(180deg,#f8fafc,#fff);padding:18px;min-height:160px;display:grid;place-items:center;overflow:hidden}.tl-world-card img{max-width:100%;height:auto;opacity:.9}
/* Auth product reconstruction */
.tl-auth-body{min-height:100vh;background:radial-gradient(circle at 18% 10%,rgba(99,91,255,.16),transparent 30%),linear-gradient(135deg,#f8fafc 0%,#eef6ff 48%,#fff 100%);overflow:auto}.tl-auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(440px,.95fr);align-items:center;gap:52px;padding:48px clamp(24px,6vw,96px);max-width:1500px;margin:0 auto}.tl-auth-hero{min-width:0;display:grid;gap:28px}.tl-auth-brand{display:inline-flex;align-items:center;gap:12px;color:#0f172a;font-weight:900}.tl-auth-brand span,.tl-auth-icon{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,#7c3aed,#2563eb);display:grid;place-items:center;color:#fff;font-weight:900;box-shadow:0 18px 40px rgba(99,91,255,.2)}.tl-auth-copy h1{font-size:clamp(42px,6vw,76px);line-height:.95;letter-spacing:-.075em;color:#0f172a;margin:14px 0 18px;font-weight:950;max-width:760px}.tl-auth-copy p{font-size:17px;line-height:1.8;color:#64748b;max-width:620px}.tl-auth-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,210px));gap:14px}.tl-auth-feature-grid>div{height:74px;border-radius:18px;border:1px solid var(--tl-border);background:rgba(255,255,255,.78);display:flex;align-items:center;gap:12px;padding:0 16px;box-shadow:var(--tl-shadow-sm);font-weight:850;color:#0f172a}.tl-auth-feature-grid i{font-size:22px;color:#4f46e5}.tl-auth-panel{display:grid;place-items:center}.tl-auth-panel .tl-auth-card{width:100%;max-width:460px;border:1px solid rgba(226,232,240,.95);background:rgba(255,255,255,.9);backdrop-filter:blur(18px);border-radius:28px;padding:30px;box-shadow:0 32px 80px rgba(15,23,42,.14)}.tl-auth-card-head{display:flex;align-items:center;gap:14px;margin-bottom:24px}.tl-auth-card-head h2{font-size:25px;margin:0;color:#0f172a;letter-spacing:-.04em}.tl-auth-card-head p{margin:3px 0 0;color:#64748b}.tl-control-wrap{position:relative;display:flex;align-items:center}.tl-control-wrap>i{position:absolute;left:14px;color:#64748b;z-index:1}.tl-control-wrap .tl-control{padding-left:42px!important}.tl-input-icon-btn{position:absolute;right:8px;width:30px;height:30px;border:0;background:transparent;color:#64748b}.tl-form-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.tl-check{display:flex!important;align-items:center;gap:8px;font-size:13px}.tl-auth-foot{text-align:center;color:#64748b}.tl-link{color:#4f46e5;font-weight:850}.tl-alert{border-radius:14px;padding:12px 14px;display:flex;gap:8px;align-items:center;font-weight:750}.tl-alert.success{background:#ecfdf5;color:#047857}.tl-alert.error{background:#fff1f2;color:#be123c}
/* Analytics product workspace */
.tl-analytics-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,.85fr);gap:24px;align-items:start}.tl-analytics-workspace .tl-chart-card{grid-row:span 2}.tl-analytics-workspace .tl-compact-panel .tl-table-wrap{max-height:340px}.tl-analytics-workspace .tl-table td,.tl-analytics-workspace .tl-table th{height:46px}.tl-analytics-workspace .tl-data-panel{min-height:0}.tl-stat-grid-pro .tl-stat-card{min-height:106px}.tl-stat-grid-pro{grid-template-columns:repeat(6,minmax(0,1fr))!important}
/* Biolink builder reconstruction */
.tl-biolink-create,.tl-page-grid-preview{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(380px,460px)!important;gap:24px!important;align-items:start!important}.tl-preview-card{position:sticky;top:96px;border:1px solid var(--tl-border)!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;border-radius:24px!important;padding:24px!important;box-shadow:var(--tl-shadow-md)!important;min-height:620px}.tl-preview-phone,.tl-preview-phone-pro{width:min(100%,340px);min-height:580px;margin:0 auto;border-radius:36px;border:10px solid #111827;background:linear-gradient(180deg,#eef2ff,#fff);box-shadow:0 25px 60px rgba(15,23,42,.18);overflow:hidden}.tl-bio-form-card{padding:0!important;overflow:hidden}.tl-bio-form-card>.tl-card-head{padding:24px 24px 0;margin:0 0 18px;border:0}.tl-bio-create-form{padding:0 24px 24px}.tl-form-section{border:1px solid var(--tl-border);border-radius:18px;padding:18px;margin-bottom:16px;background:#fff}.tl-section-title{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:#0f172a}.tl-section-title span,.tl-section-title>i,.tl-section-icon{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5;font-weight:900}.tl-template-grid,.block-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tl-template-card,.tl-block-preset-btn{min-height:96px;border:1px solid var(--tl-border);border-radius:16px;background:#f8fafc;padding:14px;text-align:left;display:grid;gap:4px;cursor:pointer;transition:.18s}.tl-template-card:hover,.tl-block-preset-btn:hover{border-color:#a5b4fc;background:#fff;box-shadow:var(--tl-shadow-sm);transform:translateY(-1px)}.tl-template-card input{accent-color:#4f46e5}.tl-template-card b,.tl-block-preset-btn b{color:#0f172a}.tl-template-card small,.tl-block-preset-btn small{color:#64748b}.tl-card-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;gap:18px!important}.bio-page-top{height:98px;border-radius:18px;background:linear-gradient(135deg,#eef2ff,#f0fdfa)}.bio-page-body{padding:0 4px 4px}.bio-page-avatar{width:56px;height:56px;border-radius:18px;background:#fff;border:1px solid var(--tl-border);margin-top:-28px;box-shadow:var(--tl-shadow-sm);overflow:hidden}.bio-page-avatar img{width:100%;height:100%;object-fit:cover}.tl-meta-pills,.tl-copy-row,.tl-action-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tl-meta-pills span{font-size:11px;font-weight:850;border:1px solid var(--tl-border);background:#f8fafc;border-radius:999px;padding:4px 8px}.tl-copy-row{margin:14px 0}.tl-copy-row input{flex:1;min-width:0}.tl-action-dropdown{position:relative}.tl-action-menu{display:none;position:absolute;right:0;top:calc(100% + 8px);width:190px;background:#fff;border:1px solid var(--tl-border);border-radius:14px;box-shadow:var(--tl-shadow-md);padding:8px;z-index:20}.tl-action-dropdown.tl-open .tl-action-menu,.tl-action-dropdown:hover .tl-action-menu{display:grid}.tl-action-menu a{display:flex;align-items:center;gap:9px;height:36px;border-radius:10px;padding:0 10px;font-weight:750;color:#334155}.tl-action-menu a:hover{background:#f8fafc;color:#0f172a}
/* CRUD/Admin workspace */
.tl-crud-workspace,.tl-admin-workspace{display:grid;gap:24px}.tl-crud-card-head-pro,.tl-filter-bar,.tl-action-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.tl-filter-bar{border:1px solid var(--tl-border);border-radius:18px;padding:14px;background:#fff;box-shadow:var(--tl-shadow-xs)}.tl-action-trigger,.tl-mini-btn{width:34px;min-width:34px;height:34px;border-radius:11px;border:1px solid var(--tl-border);background:#fff;display:grid;place-items:center}.tl-table-actions{display:flex;justify-content:flex-end;gap:8px}.tl-settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);gap:24px;align-items:start}.tl-card-grid .tl-chip,.tl-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--tl-border);background:#f8fafc;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;color:#334155;margin:4px}.tl-route-profile .tl-card,.tl-route-user-profile .tl-card{min-height:260px}
@media(max-width:1360px){.tl-stat-grid.six,.tl-stat-grid-pro{grid-template-columns:repeat(3,minmax(0,1fr))!important}.tl-content-grid.three{grid-template-columns:1fr 1fr}.tl-content-grid.three>section:first-child{grid-column:1/-1}.tl-analytics-workspace{grid-template-columns:1fr}.tl-analytics-workspace .tl-chart-card{grid-row:auto}.tl-biolink-create,.tl-page-grid-preview{grid-template-columns:1fr!important}.tl-preview-card{position:relative;top:auto;min-height:auto}.tl-settings-grid{grid-template-columns:1fr}}
@media(max-width:980px){.tl-shell{display:block}.tl-sidebar{position:fixed;left:0;top:0;z-index:90;transform:translateX(-105%);transition:.22s ease}.tl-shell.tl-sidebar-open .tl-sidebar,.tl-sidebar.tl-open{transform:translateX(0)}.tl-content{padding:18px 16px}.tl-topbar{padding:0 14px}.tl-topbar-context{display:none}.tl-page-header{grid-template-columns:48px minmax(0,1fr)!important;align-items:start!important}.tl-page-header-actions{grid-column:1/-1;justify-content:flex-start}.tl-stat-grid,.tl-stat-grid.six,.tl-stat-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tl-content-grid,.tl-content-grid.three,.tl-content-grid.two{grid-template-columns:1fr}.tl-form-grid,.tl-form-grid.two,.tl-form-grid.three,.tl-form-row,.tl-template-grid,.block-library-grid{grid-template-columns:1fr}.tl-auth-page{grid-template-columns:1fr;padding:28px 16px}.tl-auth-copy h1{font-size:42px}.tl-auth-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-auth-panel .tl-auth-card{max-width:100%}}
@media(max-width:640px){.tl-content{padding:14px 12px;gap:16px}.tl-page-header{padding:18px!important;border-radius:20px!important;min-height:0!important}.tl-page-header h1{font-size:24px!important}.tl-card,.tl-table-card,.tl-stat-card,.tl-data-panel{padding:18px!important}.tl-card-head{flex-direction:column}.tl-stat-grid,.tl-stat-grid.six,.tl-stat-grid-pro{grid-template-columns:1fr!important}.tl-auth-feature-grid{grid-template-columns:1fr}.tl-auth-panel .tl-auth-card{padding:22px;border-radius:22px}.tl-auth-copy h1{font-size:36px}.tl-search kbd,.tl-btn-create,#tlThemeBtn{display:none}.tl-table th,.tl-table td{padding:0 10px;white-space:nowrap}.tl-preview-phone,.tl-preview-phone-pro{width:100%;min-height:520px}.tl-page-header-actions .tl-btn,.tl-action-bar .tl-btn{width:100%}}

/* =========================================================
   V124 - Enterprise Workspace Density / Target Screenshot
   Product architecture pass: remove dead-space, 3-panel studio,
   data-dense command center, compact CRUD workspace.
   ========================================================= */
:root{--tl-content-max:none!important;--tl-preview-w:420px;--tl-block-w:280px;--tl-gap:24px}
.tl-main,.tl-content{min-width:0}.tl-content{max-width:none!important;width:100%;gap:24px}.tl-content>*{min-width:0}.tl-card{min-width:0}.tl-page-header{min-height:104px!important}.tl-page-header .tl-stat-grid{margin:0;min-width:420px}.tl-page-header .tl-stat-card{min-height:84px!important;padding:18px!important}.tl-page-header .tl-stat-card b{font-size:26px}.tl-page-header .tl-stat-card span{font-size:11px;font-weight:900;text-transform:uppercase;color:var(--tl-muted)}

/* Command Center */
.tl-command-kpis{grid-template-columns:repeat(8,minmax(132px,1fr))!important;gap:12px!important}.tl-command-kpis .tl-stat-card{min-height:112px!important;padding:16px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:10px}.tl-command-kpis .tl-stat-icon{width:34px!important;height:34px!important;border-radius:11px!important}.tl-command-kpis .tl-stat-card b{font-size:22px!important;letter-spacing:-.045em}.tl-command-kpis .tl-stat-card p{font-size:11px;margin-top:4px}.tl-command-kpis .tl-stat-card em{position:absolute;right:12px;bottom:12px;font-size:10px;padding:3px 7px}.tl-command-grid-main{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.tl-command-grid-three{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.75fr) minmax(320px,.9fr);gap:24px;align-items:start}.tl-command-grid-bottom{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.85fr) minmax(320px,.85fr);gap:24px;align-items:start}.tl-traffic-card .tl-mini-bars{min-height:300px}.tl-rank-list{display:grid;gap:12px}.tl-rank-item{min-height:64px!important;padding:12px 14px!important}.tl-list-metric{display:grid;gap:10px}.tl-list-metric>div{height:48px;border:1px solid var(--tl-border);border-radius:13px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;background:var(--tl-surface-2)}.tl-quick-action-list{display:grid;gap:10px}.tl-quick-action-list a{height:52px;border:1px solid var(--tl-border);border-radius:14px;background:var(--tl-surface-2);display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:0 12px;color:var(--tl-heading)}.tl-quick-action-list i{width:34px;height:34px;border-radius:10px;background:#eef2ff;color:#4f46e5;display:grid;place-items:center}.tl-quick-action-list small{display:block;color:var(--tl-muted);font-size:11px;margin-top:1px}

/* Biolink Studio 3-panel */
.tl-studio-toolbar{height:54px;border:1px solid var(--tl-border);border-radius:18px;background:var(--tl-surface);box-shadow:var(--tl-shadow-sm);padding:8px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:84px;z-index:20}.tl-device-switch,.tl-studio-actions{display:flex;align-items:center;gap:8px}.tl-device-switch button{height:36px;border:1px solid var(--tl-border);background:var(--tl-surface-2);border-radius:11px;padding:0 12px;font-weight:850;color:var(--tl-text);display:inline-flex;align-items:center;gap:7px}.tl-device-switch button.active{background:#111827;color:#fff;border-color:#111827}.tl-biolink-studio-v125{display:grid!important;grid-template-columns:280px minmax(460px,1fr) 420px!important;gap:24px!important;align-items:start!important}.tl-block-library-panel,.tl-live-preview-panel{position:sticky!important;top:152px!important;align-self:start}.tl-block-library-panel{border:1px solid var(--tl-border);background:var(--tl-surface);border-radius:22px;padding:18px;box-shadow:var(--tl-shadow-sm);display:grid;gap:16px}.tl-panel-head{display:grid;gap:6px}.tl-panel-head.inline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.tl-panel-head h3{margin:0;color:var(--tl-heading);font-size:18px;letter-spacing:-.035em}.tl-panel-head p{margin:0;color:var(--tl-muted);font-size:13px;line-height:1.5}.tl-block-stack{display:grid;gap:8px}.tl-block-row{height:48px;border:1px solid var(--tl-border);border-radius:14px;background:var(--tl-surface-2);display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;text-align:left;padding:0 10px;cursor:pointer;color:var(--tl-heading)}.tl-block-row:hover,.tl-block-row.active{background:linear-gradient(135deg,rgba(99,91,255,.12),rgba(14,165,233,.06));border-color:#c7d2fe}.tl-block-row i{width:34px;height:34px;border-radius:10px;background:#eef2ff;color:#4f46e5;display:grid;place-items:center}.tl-block-row b{display:block;font-size:13px}.tl-block-row small{display:block;color:var(--tl-muted);font-size:11px;margin-top:1px}.tl-biolink-canvas-panel{padding:0!important;overflow:hidden}.tl-biolink-canvas-panel>.tl-card-head{padding:20px 22px;margin:0;border-bottom:1px solid var(--tl-border);background:linear-gradient(180deg,var(--tl-surface),var(--tl-surface-2))}.tl-bio-create-form{padding:18px!important;display:grid;gap:14px}.tl-canvas-section{border:1px solid var(--tl-border);border-radius:18px;background:var(--tl-surface);padding:16px;box-shadow:0 8px 22px rgba(15,23,42,.03)}.tl-canvas-section-head{width:100%;border:0;background:transparent;padding:0;margin:0 0 14px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left}.tl-canvas-section-head span{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5;font-weight:950}.tl-canvas-section-head b{color:var(--tl-heading)}.tl-canvas-section-head small{color:var(--tl-muted);font-weight:850}.tl-bio-create-form .tl-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.tl-bio-create-form label{font-size:12px;font-weight:850;color:var(--tl-heading);display:grid;gap:7px}.tl-bio-create-form .wide{grid-column:1/-1}.tl-bio-create-form input,.tl-bio-create-form select,.tl-bio-create-form textarea{width:100%}.tl-template-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px}.tl-template-grid.compact .tl-template-card{min-height:76px;padding:10px;border-radius:14px}.tl-template-card.active,.template-card.active{border-color:#818cf8!important;background:#eef2ff!important;box-shadow:0 12px 28px rgba(99,91,255,.12)}.tl-sticky-savebar{position:sticky;bottom:0;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border:1px solid var(--tl-border);border-radius:16px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:10;box-shadow:0 -8px 26px rgba(15,23,42,.05)}[data-theme="dark"] .tl-sticky-savebar{background:rgba(15,23,42,.88)}.tl-live-preview-panel{min-height:auto!important;padding:18px!important}.tl-live-preview-panel .tl-preview-phone{width:340px!important;max-width:100%;min-height:590px!important}.bio-preview-pro{padding:22px!important;display:grid;align-content:start;gap:12px}.bio-preview-pro h3{font-size:20px!important}.bio-preview-pro p{line-height:1.55}.bio-preview-pro a{display:block;min-height:42px;border-radius:13px;background:#111827;color:#fff!important;text-align:center;padding:11px 12px;font-weight:850;text-decoration:none}.bio-preview-socials{display:flex;justify-content:center;gap:8px}.bio-preview-socials span{width:28px;height:28px;border-radius:999px;background:#eef2ff;color:#4f46e5;display:grid;place-items:center;font-size:10px;font-weight:900}

/* Analytics Hub density */
.tl-route-analytics .tl-page-header{min-height:96px!important}.tl-route-analytics .tl-stat-grid-pro{grid-template-columns:repeat(6,minmax(130px,1fr))!important}.tl-route-analytics .tl-stat-card{min-height:96px!important;padding:16px!important}.tl-route-analytics .tl-stat-card b{font-size:24px!important}.tl-analytics-workspace{grid-template-columns:minmax(0,1.55fr) minmax(360px,.75fr)!important;gap:24px!important}.tl-analytics-workspace .tl-chart-card{grid-column:1/2;grid-row:span 2}.tl-analytics-workspace .tl-chart-card .chart-bars{min-height:330px}.tl-analytics-workspace .tl-data-panel{padding:18px!important}.tl-analytics-workspace .tl-data-panel .tl-card-head{margin-bottom:12px}.tl-analytics-workspace .tl-compact-panel .tl-table-wrap{max-height:260px!important}.tl-analytics-workspace .tl-table td,.tl-analytics-workspace .tl-table th{height:40px!important}.tl-analytics-workspace .tl-table{font-size:12.5px}

/* Global CRUD workspace compact: no left-only blank space */
.tl-route-admin-content .tl-content-grid{display:block!important}.tl-route-admin-content .tl-content-grid>.tl-card{width:100%;max-width:none}.tl-route-admin-content .tl-crud-add-title{margin-bottom:14px!important}.tl-route-admin-content .tl-form-pro{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.tl-route-admin-content .tl-crud-form-section{margin:0!important;padding:16px!important;border:1px solid var(--tl-border);border-radius:18px;background:var(--tl-surface);min-width:0}.tl-route-admin-content .tl-crud-form-section .tl-section-title{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:14px}.tl-route-admin-content .tl-crud-form-section .tl-section-title span{display:block!important;color:var(--tl-muted);font-size:12px;line-height:1.35}.tl-route-admin-content .tl-crud-field-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.tl-route-admin-content .tl-field.wide{grid-column:span 1!important}.tl-route-admin-content .tl-field textarea{min-height:94px!important}.tl-route-admin-content .tl-crud-submit{grid-column:1/-1;justify-self:end}.tl-route-admin-content .tl-crud-table-card{margin-top:24px}.tl-route-admin-content .tl-table-shell{max-height:calc(100vh - 220px)}.tl-route-admin-content .tl-table thead th{position:sticky;top:0;z-index:4}.tl-inline-edit-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tl-inline-edit-grid .tl-field.wide{grid-column:span 1!important}

@media(max-width:1600px){.tl-command-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}.tl-biolink-studio-v125{grid-template-columns:260px minmax(420px,1fr) 380px!important}.tl-template-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1280px){.tl-command-grid-main,.tl-command-grid-three,.tl-command-grid-bottom,.tl-analytics-workspace{grid-template-columns:1fr!important}.tl-biolink-studio-v125{grid-template-columns:1fr!important}.tl-block-library-panel,.tl-live-preview-panel,.tl-studio-toolbar{position:relative!important;top:auto!important}.tl-route-admin-content .tl-form-pro{grid-template-columns:1fr!important}.tl-route-admin-content .tl-crud-field-grid-pro{grid-template-columns:1fr!important}.tl-route-admin-content .tl-field.wide{grid-column:1/-1!important}}
@media(max-width:760px){.tl-command-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tl-studio-toolbar{height:auto;display:grid}.tl-device-switch,.tl-studio-actions{overflow:auto}.tl-bio-create-form .tl-form-grid.two,.tl-template-grid.compact{grid-template-columns:1fr!important}.tl-page-header .tl-stat-grid{min-width:0;width:100%}}
@media(max-width:520px){.tl-command-kpis{grid-template-columns:1fr!important}}

/* ======================================================================
   SALIN.ICU v125.1 Compact Production Density System
   References: Dub.co, Bitly, Supabase, Linear.
   ====================================================================== */
:root{
  --tl-sidebar-w:240px!important;
  --tl-topbar-h:60px!important;
  --tl-content-x:18px!important;
  --tl-content-y:18px!important;
  --tl-gap:16px!important;
  --tl-radius:14px!important;
}
body{font-size:13px!important;line-height:1.45!important}.tl-content{padding:18px!important;gap:16px!important}.tl-sidebar{padding:14px 10px!important}.tl-brand{padding:6px 6px 12px!important;gap:10px!important}.tl-brand-icon{width:36px!important;height:36px!important;border-radius:12px!important}.tl-brand-name{font-size:15px!important}.tl-brand-plan{font-size:9px!important}.tl-nav-label{margin:14px 9px 7px!important;font-size:9.5px!important}.tl-nav-divider{margin:10px 6px!important}.tl-nav-item,.tl-nav-group-btn{min-height:36px!important;border-radius:10px!important;padding:8px 10px!important;font-size:12px!important;gap:9px!important}.tl-nav-item i,.tl-nav-group-btn i{font-size:16px!important;width:16px!important;flex-basis:16px!important}.tl-sidebar-footer{padding-top:8px!important}.tl-user-pill{padding:8px!important;border-radius:12px!important}.tl-avatar,.tl-avatar-btn,.tl-profile-avatar{width:32px!important;height:32px!important;border-radius:10px!important}.tl-user-name{font-size:12px!important}.tl-user-plan{font-size:10px!important}.tl-topbar{height:60px!important;padding:0 18px!important;gap:10px!important}.tl-menu-btn,.tl-icon-btn,.tl-avatar-btn{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important}.tl-menu-btn i,.tl-icon-btn i{font-size:16px!important}.tl-topbar-context small{font-size:9.5px!important}.tl-topbar-context b{font-size:13px!important}.tl-topbar-context span{font-size:11px!important}.tl-search{max-width:560px!important}.tl-search input{height:36px!important;border-radius:11px!important;font-size:12.5px!important}.tl-btn-create{height:36px!important;border-radius:11px!important;padding:0 13px!important;font-size:12px!important}.tl-page-header{min-height:76px!important;margin-bottom:16px!important;padding:16px!important;border-radius:16px!important;grid-template-columns:42px minmax(0,1fr) auto!important;gap:12px!important}.tl-page-header-icon{width:42px!important;height:42px!important;border-radius:12px!important;flex-basis:42px!important}.tl-page-header-icon i{font-size:20px!important}.tl-page-kicker,.tl-eyebrow{padding:3px 8px!important;font-size:9.5px!important;margin-bottom:4px!important}.tl-page-header h1{font-size:24px!important;letter-spacing:-.035em!important}.tl-page-header p{font-size:12.5px!important;margin-top:4px!important;line-height:1.45!important}.tl-section-title{margin:16px 0 10px!important;font-size:14px!important}.tl-section-title span{width:24px!important;height:24px!important;border-radius:8px!important;font-size:11px!important}.tl-stat-grid,.tl-command-kpis,.tl-stat-grid-pro{gap:12px!important;margin-bottom:16px!important}.tl-stat-card{min-height:76px!important;padding:14px!important;border-radius:14px!important;gap:10px!important}.tl-stat-icon,.tl-stat-card .icon,.stats-icon,.k-icon{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important;font-size:16px!important}.tl-stat-card small{font-size:10.5px!important}.tl-stat-card b{font-size:20px!important}.tl-stat-card p,.tl-stat-card em{font-size:11px!important}.tl-card,.tl-table-card,.tl-form-card,.tl-data-panel{border-radius:14px!important}.tl-card-head{padding:14px 16px!important;gap:10px!important}.tl-card-head h3{font-size:16px!important}.tl-card-head p{font-size:12px!important}.tl-card-body,.tl-card>form,.tl-card>.tl-form,.tl-card>.tl-empty-state,.tl-card>ul,.tl-card>ol{padding:16px!important}.tl-card>div:not(.tl-card-head):not(.tl-table-wrap):not(.tl-filter-bar):not(.tl-table-footer):not(.tl-card-body):not(.tl-action-bar):not(.tl-resource-tabs){padding:16px!important}.tl-content-grid,.tl-page-grid,.tl-card-grid,.tl-form-grid,.tl-form-row,.tl-toolbar{gap:16px!important}.tl-page-grid-preview{grid-template-columns:minmax(0,1fr) minmax(300px,340px)!important;gap:16px!important}.tl-filter-bar{padding:10px!important;border-radius:14px!important;gap:8px!important}.tl-filter-search input{height:36px!important}.tl-btn,a.tl-btn,button.tl-btn{height:36px!important;min-height:36px!important;border-radius:10px!important;padding:0 12px!important;font-size:12px!important;gap:6px!important}.tl-btn-sm{height:30px!important;min-height:30px!important;border-radius:9px!important;padding:0 9px!important}.tl-badge{height:22px!important;font-size:10px!important;padding:0 7px!important}.tl-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.tl-content select,.tl-content textarea,.tl-control{min-height:36px!important;border-radius:10px!important;padding:0 11px!important;font-size:12.5px!important}.tl-content textarea{padding:10px 11px!important;min-height:84px!important;max-height:140px}.tl-field,.tl-field label,.tl-form label,label{font-size:12px!important}.tl-field small,.tl-help,.tl-field-help{font-size:11px!important}.tl-form,.tl-form-grid,.tl-form-row{gap:12px!important}.tl-table{font-size:12.5px!important}.tl-table th{height:36px!important;padding:0 12px!important;font-size:10px!important}.tl-table td{height:44px!important;padding:0 12px!important}.tl-table-actions{gap:6px!important}.tl-table-actions a,.tl-table-actions button,.tl-link-action-btn{width:30px!important;height:30px!important;min-width:30px!important;border-radius:9px!important;border:1px solid var(--tl-border)!important;background:#fff;display:inline-grid!important;place-items:center!important;color:var(--tl-text);padding:0!important;cursor:pointer}.tl-table-actions .tl-danger,.tl-table-actions .danger,.tl-link-action-btn.tl-danger{color:#dc2626!important;background:#fff5f5!important;border-color:#fecaca!important}.tl-table-footer{padding:10px 14px!important;font-size:12px!important}.tl-pagination button{height:28px!important;min-width:28px!important;border-radius:8px!important}.tl-preview-phone,.tl-preview-phone-pro{width:320px!important;min-height:520px!important;border-radius:30px!important}.tl-preview-card{position:sticky!important;top:76px!important}.tl-biolink-studio{grid-template-columns:240px minmax(0,1fr) 360px!important;gap:14px!important}.tl-studio-panel,.tl-studio-builder,.tl-studio-preview{border-radius:14px!important}.tl-studio-toolbar{min-height:48px!important;padding:8px 12px!important}.tl-empty-state,.tl-empty-state-pro{min-height:120px!important;border-radius:14px!important;padding:18px!important}.tl-empty-state:before,.tl-empty-state-pro:before{width:86px!important;height:52px!important}.tl-empty-state b,.tl-empty-state-pro b{font-size:14px!important}.chart-bars{min-height:220px!important}.tl-route-analytics .tl-analytics-workspace .tl-chart-card .chart-bars{min-height:260px!important}.tl-route-dashboard .tl-content-grid{gap:16px!important}.tl-route-admin-content .tl-form-pro{gap:12px!important}.tl-route-admin-content .tl-crud-form-section{padding:14px!important;border-radius:14px!important}.tl-inline-edit-grid{gap:10px!important}.tl-toast{position:fixed;right:18px;bottom:18px;z-index:9999;background:#0f172a;color:#fff;padding:10px 13px;border-radius:12px;box-shadow:0 16px 40px rgba(15,23,42,.25);opacity:0;transform:translateY(8px);transition:.18s}.tl-toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1360px){.tl-biolink-studio{grid-template-columns:220px minmax(0,1fr) 340px!important}.tl-preview-phone,.tl-preview-phone-pro{width:300px!important}}
@media(max-width:980px){.tl-content{padding:14px!important}.tl-page-header{grid-template-columns:38px minmax(0,1fr)!important}.tl-page-header-actions{grid-column:1/-1!important}.tl-stat-grid,.tl-stat-grid.six,.tl-stat-grid-pro,.tl-command-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tl-biolink-studio,.tl-page-grid-preview,.tl-analytics-workspace{grid-template-columns:1fr!important}.tl-preview-card{position:relative!important;top:auto!important}.tl-preview-phone,.tl-preview-phone-pro{width:100%!important;max-width:340px!important;margin:auto}}
@media(max-width:640px){.tl-content{padding:12px!important}.tl-stat-grid,.tl-stat-grid.six,.tl-stat-grid-pro,.tl-command-kpis{grid-template-columns:1fr!important}.tl-form-grid,.tl-form-grid.two,.tl-form-grid.three,.tl-form-row{grid-template-columns:1fr!important}.tl-page-header h1{font-size:22px!important}.tl-table th,.tl-table td{padding:0 9px!important}}

/* ======================================================================
   SALIN.ICU v126 — Menu-by-menu compact polish + action system hardening
   Scope: Biolink + Shortlink + global action dropdown/table density
   ====================================================================== */
:root{--tl-sidebar-w:240px!important;--tl-topbar-h:60px!important;--tl-control-h:36px!important;--tl-card-pad:16px!important;--tl-row-h:44px!important;--tl-radius:14px!important;--tl-gap:16px!important}
.tl-content{font-size:13px!important}.tl-card,.tl-table-card,.tl-form-card{overflow:visible!important}.tl-table-wrap{overflow:auto!important}.tl-card-head{min-height:auto!important}.tl-page-header{overflow:visible!important}.tl-action-bar,.tl-record-actions,.tl-table-actions{position:relative!important;overflow:visible!important}.tl-hidden-form{display:none!important}
.tl-action-dropdown{position:relative!important;display:inline-flex!important;overflow:visible!important}.tl-action-trigger{white-space:nowrap!important}.tl-action-menu{display:none;grid-template-columns:1fr;gap:4px;padding:6px;border:1px solid var(--tl-border);border-radius:12px;background:var(--tl-surface);box-shadow:0 18px 60px rgba(15,23,42,.18);min-width:176px;z-index:99999}.tl-action-dropdown.tl-open .tl-action-menu,.tl-action-menu.tl-open,.tl-action-menu.open{display:grid!important}.tl-action-menu a,.tl-action-menu button{width:100%;height:34px;border:0;background:transparent;border-radius:9px;padding:0 10px;display:flex;align-items:center;gap:9px;color:var(--tl-heading);font-size:12.5px;font-weight:750;text-align:left;cursor:pointer;text-decoration:none}.tl-action-menu a:hover,.tl-action-menu button:hover{background:var(--tl-surface-2)}.tl-action-menu .tl-danger,.tl-action-menu button.tl-danger{color:#dc2626!important}.tl-action-menu .tl-danger:hover,.tl-action-menu button.tl-danger:hover{background:#fff1f2!important}
.tl-biolink-studio-v125{display:grid!important;grid-template-columns:240px minmax(0,1fr) 360px!important;gap:16px!important;align-items:start;margin-bottom:16px}.tl-block-library-panel,.tl-live-preview-panel{position:sticky!important;top:76px!important}.tl-block-library-panel{border-radius:14px!important;padding:14px!important;background:var(--tl-surface)!important;border:1px solid var(--tl-border)!important;box-shadow:var(--tl-shadow-soft)!important}.tl-panel-head h3,.tl-live-preview-panel h3{font-size:16px!important;margin:0!important}.tl-panel-head p{font-size:12px!important;line-height:1.45!important}.tl-block-stack{display:grid!important;gap:8px!important;margin:12px 0!important}.tl-block-row{height:38px!important;border-radius:10px!important;padding:0 10px!important;display:flex!important;align-items:center!important;gap:10px!important;border:1px solid var(--tl-border)!important;background:#fff!important;color:var(--tl-heading)!important;text-align:left!important}.tl-block-row i{width:24px;height:24px;border-radius:8px;background:#eef2ff;display:grid;place-items:center;color:var(--tl-primary);font-size:14px}.tl-block-row b{font-size:12.5px!important;line-height:1!important}.tl-block-row small{font-size:10.5px!important;line-height:1!important;color:var(--tl-muted)}.tl-biolink-canvas-panel .tl-card-head{padding:14px 16px!important}.tl-canvas-section{border:1px solid var(--tl-border)!important;border-radius:12px!important;margin-bottom:12px!important;padding:12px!important;background:#fff!important}.tl-canvas-section-head{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;border:0!important;background:transparent!important;padding:0 0 10px!important;color:var(--tl-heading)!important}.tl-canvas-section-head span{width:22px!important;height:22px!important;border-radius:7px!important;background:#eef2ff!important;color:var(--tl-primary)!important;display:grid!important;place-items:center!important;font-size:11px!important;font-weight:900}.tl-canvas-section-head b{font-size:13px!important}.tl-canvas-section-head small{margin-left:auto!important;color:var(--tl-muted)!important;font-size:11px!important}.tl-template-grid.compact{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.tl-template-card{min-height:64px!important;padding:10px!important;border-radius:11px!important}.tl-template-card span{font-size:16px!important}.tl-template-card b{font-size:12px!important}.tl-template-card small{font-size:10.5px!important}.tl-sticky-savebar{position:sticky!important;bottom:10px!important;z-index:6!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(12px)!important;border:1px solid var(--tl-border)!important;border-radius:12px!important;padding:10px!important;box-shadow:var(--tl-shadow-soft)!important}.tl-preview-phone.bio-preview-pro{width:300px!important;min-height:480px!important;border-radius:28px!important;margin:auto!important}.bio-preview-pro a{min-height:34px!important;font-size:12px!important}.phone-cover{height:88px!important}.phone-avatar{width:54px!important;height:54px!important}.bio-preview-pro h3{font-size:18px!important}.bio-preview-pro p{font-size:12px!important}
.tl-bio-operations-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px;align-items:start;margin-top:16px}.tl-bio-quick-library{position:sticky;top:76px}.tl-card-tools{display:flex;align-items:center;gap:8px}.tl-card-tools .tl-control{max-width:260px}.quick-block-form{display:grid;gap:12px!important}.tl-compact-block-list{display:grid;gap:7px}.tl-block-preset-btn{height:38px;border:1px solid var(--tl-border);background:#fff;border-radius:10px;padding:0 10px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;color:var(--tl-heading)}.tl-block-preset-btn:hover{border-color:#a5b4fc;background:#f8faff}.tl-block-preset-btn i{width:22px;height:22px;border-radius:7px;background:#eef2ff;color:var(--tl-primary);display:grid;place-items:center;font-size:14px}.tl-block-preset-btn b{font-size:12.5px;line-height:1}.tl-block-preset-btn small{display:block;font-size:10.5px;color:var(--tl-muted);line-height:1.2}.wide{width:100%;justify-content:center}.tl-bio-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px;padding:16px}.tl-bio-record{border:1px solid var(--tl-border);border-radius:14px;background:#fff;padding:12px;display:grid;gap:10px;position:relative;overflow:visible}.tl-bio-cover{height:54px;border-radius:12px;background:linear-gradient(135deg,#eef2ff,#ecfeff);background-size:cover;background-position:center}.tl-bio-main{display:flex;gap:10px;align-items:flex-start}.tl-bio-avatar{width:38px;height:38px;border-radius:12px;background:#f8fafc;border:1px solid var(--tl-border);display:grid;place-items:center;margin-top:-28px;overflow:hidden;flex:0 0 auto}.tl-bio-avatar img{width:100%;height:100%;object-fit:cover}.tl-bio-info{min-width:0;flex:1}.tl-bio-info h4{margin:0;color:var(--tl-heading);font-size:15px;line-height:1.25}.tl-bio-info p{margin:3px 0 0;color:var(--tl-muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-meta-pills{display:flex;gap:6px;flex-wrap:wrap}.tl-meta-pills span{height:22px;padding:0 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:10.5px;font-weight:850;display:inline-flex;align-items:center}.tl-copy-row.compact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.tl-copy-row.compact input{height:34px!important}.tl-record-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--tl-border);padding-top:10px}
.tl-route-biolinks .block-library-functional{display:none!important}.block-library-functional{display:none!important}.tl-route-biolinks .tl-card-grid>.tl-card{padding:0!important}.tl-route-biolinks .tl-card-grid{display:none!important}.tl-route-biolinks section.tl-card:has(.tl-card-grid){display:none!important}
.tl-filter-bar{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}.tl-filter-bar .tl-filter-search{flex:1 1 260px!important}.tl-filter-bar select{max-width:190px!important}.tl-table{min-width:840px!important}.tl-link-cell{display:flex;align-items:center;gap:8px}.tl-link-cell .tl-short-url{font-weight:850}.tl-dest-url{display:inline-block;max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.tl-pill,.tl-status{font-size:10.5px!important;height:22px!important;padding:0 8px!important;border-radius:999px!important;display:inline-flex;align-items:center;font-weight:850}.tl-icon-action{width:28px!important;height:28px!important;border-radius:8px!important;border:1px solid var(--tl-border)!important;background:#fff!important;color:var(--tl-muted)!important;display:grid!important;place-items:center!important;padding:0!important;cursor:pointer!important}.tl-icon-action:hover{color:var(--tl-primary)!important;border-color:#a5b4fc!important}.tl-table-footer{min-height:42px!important}.tl-pagination{gap:5px!important}.tl-pagination button{font-size:12px!important}
@media(max-width:1500px){.tl-biolink-studio-v125{grid-template-columns:220px minmax(0,1fr) 340px!important}.tl-preview-phone.bio-preview-pro{width:280px!important}.tl-bio-operations-grid{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:1100px){.tl-biolink-studio-v125,.tl-bio-operations-grid{grid-template-columns:1fr!important}.tl-block-library-panel,.tl-live-preview-panel,.tl-bio-quick-library{position:relative!important;top:auto!important}.tl-preview-phone.bio-preview-pro{width:100%!important;max-width:320px!important}.tl-template-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tl-card-tools{width:100%;justify-content:stretch}.tl-card-tools .tl-control{max-width:none;flex:1}.tl-bio-card-grid{grid-template-columns:1fr}}

/* ======================================================================
   SALIN.ICU v126.1 — Biolink focused root-cause polish
   Scope: Biolink only. Goal: remove duplicate library, compact builder,
   prevent dropdown clipping, and fix public biolink raw/no-css route.
   ====================================================================== */
.tl-route-biolinks .tl-page-header{padding:16px!important;border-radius:14px!important;margin-bottom:12px!important;min-height:auto!important}.tl-route-biolinks .tl-page-header h1{font-size:22px!important;line-height:1.12!important}.tl-route-biolinks .tl-page-header p{font-size:12.5px!important;line-height:1.45!important;max-width:760px!important}.tl-route-biolinks .tl-stat-grid{gap:10px!important}.tl-route-biolinks .tl-stat-card{min-height:64px!important;padding:12px!important;border-radius:13px!important}.tl-route-biolinks .tl-stat-card b{font-size:22px!important}.tl-route-biolinks .tl-stat-card span{font-size:10.5px!important;letter-spacing:.08em}.tl-route-biolinks .tl-studio-toolbar{height:auto!important;padding:8px!important;margin-bottom:12px!important;border-radius:14px!important}.tl-route-biolinks .tl-device-switch button,.tl-route-biolinks .tl-studio-actions .tl-btn{height:34px!important;font-size:12px!important}.tl-route-biolinks .tl-biolink-studio-v125{grid-template-columns:220px minmax(0,1fr) 340px!important;gap:12px!important;align-items:start!important}.tl-route-biolinks .tl-block-library-panel,.tl-route-biolinks .tl-live-preview-panel{top:70px!important}.tl-route-biolinks .tl-block-library-panel{padding:14px!important;border-radius:14px!important}.tl-route-biolinks .tl-panel-head{margin-bottom:10px!important}.tl-route-biolinks .tl-panel-head h3{font-size:15px!important}.tl-route-biolinks .tl-panel-head p{font-size:12px!important;margin-top:4px!important}.tl-route-biolinks .tl-block-stack{gap:7px!important;margin:10px 0 12px!important}.tl-route-biolinks .tl-block-row{height:36px!important;padding:0 9px!important;border-radius:10px!important;gap:9px!important;cursor:pointer!important}.tl-route-biolinks .tl-block-row:hover{border-color:#a5b4fc!important;background:#f8faff!important}.tl-route-biolinks .tl-block-row i{width:22px!important;height:22px!important;border-radius:8px!important;font-size:13px!important;flex:0 0 22px!important}.tl-route-biolinks .tl-block-row span{display:grid!important;gap:1px!important;min-width:0!important}.tl-route-biolinks .tl-block-row b{font-size:12px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.tl-route-biolinks .tl-block-row small{font-size:10px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.tl-route-biolinks .tl-biolink-canvas-panel{border-radius:14px!important;overflow:visible!important}.tl-route-biolinks .tl-biolink-canvas-panel>.tl-card-head{padding:14px!important}.tl-route-biolinks .tl-biolink-canvas-panel>.tl-card-head h3{font-size:15px!important}.tl-route-biolinks .tl-canvas-section{padding:12px!important;margin:0 14px 10px!important;border-radius:12px!important}.tl-route-biolinks .tl-canvas-section-head{padding:0 0 8px!important}.tl-route-biolinks .tl-bio-create-form .tl-form-grid.two{gap:10px!important}.tl-route-biolinks .tl-bio-create-form label{font-size:11.5px!important;gap:6px!important}.tl-route-biolinks .tl-bio-create-form input,.tl-route-biolinks .tl-bio-create-form select{height:34px!important;border-radius:10px!important;font-size:12.5px!important}.tl-route-biolinks .tl-bio-create-form textarea{min-height:66px!important;max-height:92px!important;border-radius:10px!important;font-size:12.5px!important}.tl-route-biolinks .tl-template-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.tl-route-biolinks .tl-template-card{min-height:58px!important;padding:8px!important}.tl-route-biolinks .tl-sticky-savebar{padding:8px 10px!important;margin:0 14px 14px!important;border-radius:12px!important}.tl-route-biolinks .tl-live-preview-panel{padding:14px!important;border-radius:14px!important}.tl-route-biolinks .tl-preview-phone.bio-preview-pro{width:284px!important;min-height:440px!important;border-radius:28px!important;padding:18px!important}.tl-route-biolinks .phone-cover{height:72px!important}.tl-route-biolinks .phone-avatar{width:48px!important;height:48px!important}.tl-route-biolinks .bio-preview-pro h3{font-size:16px!important}.tl-route-biolinks .bio-preview-pro p{font-size:11.5px!important}.tl-route-biolinks .bio-preview-pro a{min-height:32px!important;padding:8px 10px!important;border-radius:11px!important;font-size:11.5px!important}.tl-bio-list-workspace{display:grid!important;gap:10px!important;margin-top:14px!important}.tl-bio-workspace-note{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:12px 14px!important;border:1px solid var(--tl-border)!important;background:rgba(255,255,255,.72)!important;border-radius:14px!important}.tl-bio-workspace-note h3{margin:2px 0!important;font-size:15px!important}.tl-bio-workspace-note p{margin:0!important;font-size:12px!important;color:var(--tl-muted)!important}.tl-bio-list-full{padding:0!important;border-radius:14px!important;overflow:visible!important}.tl-bio-list-full>.tl-card-head{padding:14px!important;border-bottom:1px solid var(--tl-border)!important}.tl-bio-list-full>.tl-card-head h3{font-size:15px!important}.tl-bio-list-full .tl-bio-card-grid{padding:14px!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;gap:10px!important}.tl-bio-record{border-radius:13px!important;padding:10px!important;overflow:visible!important}.tl-bio-cover{height:46px!important;border-radius:10px!important}.tl-bio-avatar{width:34px!important;height:34px!important;border-radius:10px!important;margin-top:-24px!important}.tl-bio-info h4{font-size:14px!important}.tl-copy-row.compact input{height:32px!important;font-size:12px!important}.tl-record-actions{padding-top:8px!important}.tl-record-actions .tl-btn{height:32px!important;font-size:12px!important}.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid[data-studio-pane="builder"]{grid-template-columns:220px minmax(0,1fr) 340px!important;gap:12px!important}.tl-route-biolink-blocks .tl-library-card,.tl-route-biolink-blocks .tl-preview-card{position:sticky!important;top:70px!important}.tl-route-biolink-blocks .tl-card-grid{gap:7px!important}.tl-route-biolink-blocks .tl-library-item{min-height:54px!important;padding:8px!important;border-radius:11px!important}.tl-route-biolink-blocks .tl-library-item b{font-size:12px!important}.tl-route-biolink-blocks .tl-library-item small{font-size:10.5px!important}.tl-route-biolink-blocks .tl-quick-add{display:none}.tl-route-biolink-blocks .tl-quick-add.is-open,.tl-route-biolink-blocks .tl-quick-add.tl-open{display:grid!important}.tl-route-biolink-blocks .tl-studio-block{border-radius:12px!important}.tl-route-biolink-blocks .tl-studio-block-main{min-height:46px!important}.tl-route-biolink-blocks .tl-phone-pro{max-width:280px!important;margin:auto!important}.tl-route-biolink-blocks .tl-phone-page{min-height:500px!important}.tl-action-dropdown,.tl-record-actions,.tl-bio-record,.tl-bio-list-card,.tl-bio-list-full{overflow:visible!important}.tl-action-menu{position:absolute;right:0;top:calc(100% + 6px)}@media(max-width:1320px){.tl-route-biolinks .tl-biolink-studio-v125,.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid[data-studio-pane="builder"]{grid-template-columns:1fr!important}.tl-route-biolinks .tl-block-library-panel,.tl-route-biolinks .tl-live-preview-panel,.tl-route-biolink-blocks .tl-library-card,.tl-route-biolink-blocks .tl-preview-card{position:relative!important;top:auto!important}.tl-route-biolinks .tl-preview-phone.bio-preview-pro{width:100%!important;max-width:320px!important}.tl-route-biolinks .tl-template-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:760px){.tl-bio-list-full .tl-bio-card-grid{grid-template-columns:1fr!important}.tl-route-biolinks .tl-bio-create-form .tl-form-grid.two{grid-template-columns:1fr!important}.tl-bio-workspace-note{display:block!important}.tl-card-tools{width:100%!important;flex-wrap:wrap!important}.tl-card-tools .tl-control{max-width:none!important;width:100%!important}}

/* SALIN.ICU v126.2 — Biolink interaction polish */
.tl-route-biolinks .tl-block-row,
.tl-route-biolink-blocks .tl-library-item{pointer-events:auto!important;cursor:pointer!important;user-select:none!important;position:relative!important;z-index:2!important}
.tl-route-biolinks .tl-block-row.active,
.tl-route-biolink-blocks .tl-library-item.active{border-color:#8b5cf6!important;background:linear-gradient(135deg,#eef2ff,#ffffff)!important;box-shadow:0 8px 20px rgba(99,102,241,.12)!important}
.tl-section-focus{outline:2px solid rgba(99,102,241,.34)!important;outline-offset:3px!important;box-shadow:0 0 0 6px rgba(99,102,241,.07)!important;transition:.18s!important}
.tl-route-biolink-blocks .tl-quick-add{display:none!important;grid-template-columns:1fr!important;gap:10px!important;border:1px solid var(--tl-border)!important;background:#fff!important;border-radius:14px!important;padding:12px!important;margin:0 0 12px!important}
.tl-route-biolink-blocks .tl-quick-add.is-open,
.tl-route-biolink-blocks .tl-quick-add.tl-open,
.tl-route-biolink-blocks .tl-quick-add.open{display:grid!important}
.tl-route-biolink-blocks .tl-quick-add .tl-quick-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.tl-route-biolink-blocks .tl-quick-add label{font-size:12px!important;font-weight:850!important;color:var(--tl-heading)!important;display:grid!important;gap:5px!important}
.tl-route-biolink-blocks .tl-quick-add input,
.tl-route-biolink-blocks .tl-quick-add textarea{height:36px!important;border-radius:10px!important;font-size:12.5px!important}
.tl-route-biolink-blocks .tl-quick-add textarea{height:70px!important;padding-top:8px!important}
.tl-route-biolink-blocks .tl-studio-hidden{display:none!important}
.tl-route-biolink-blocks .tl-studio-block-main{cursor:pointer!important}
.tl-route-biolink-blocks .tl-studio-block-main .tl-action-bar,
.tl-route-biolink-blocks .tl-studio-block-main .tl-action-bar *{cursor:auto!important}
.tl-route-biolink-blocks .tl-library-card,.tl-route-biolink-blocks .tl-blocks-card,.tl-route-biolink-blocks .tl-preview-card{overflow:visible!important}
@media(max-width:760px){.tl-route-biolink-blocks .tl-quick-add .tl-quick-row{grid-template-columns:1fr!important}}

/* SALIN.ICU v126.3 — Targeted Biolink button class root fix
   Fixes accidental global tl-btn styling on block rows, broken action trigger layout,
   and public bio icon alignment. */
.tl-route-biolinks .tl-block-row,
.tl-route-biolinks button.tl-block-row,
.tl-route-biolinks .tl-block-row.active,
.tl-route-biolinks .tl-block-row.tl-btn,
.tl-route-biolinks .tl-block-row.active.tl-btn{
  all:unset!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:36px!important;
  height:36px!important;
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 10px!important;
  border:1px solid var(--tl-border)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.92)!important;
  color:var(--tl-heading)!important;
  cursor:pointer!important;
  user-select:none!important;
  font:inherit!important;
  position:relative!important;
  z-index:3!important;
}
.tl-route-biolinks .tl-block-row:hover{border-color:#a5b4fc!important;background:#f8faff!important;transform:none!important;box-shadow:none!important}
.tl-route-biolinks .tl-block-row.active{border-color:#7c3aed!important;background:linear-gradient(135deg,#eef2ff 0%,#fff 100%)!important;box-shadow:0 6px 16px rgba(99,102,241,.14)!important}
.tl-route-biolinks .tl-block-row i{width:22px!important;height:22px!important;border-radius:8px!important;background:#eef2ff!important;color:#4f46e5!important;display:grid!important;place-items:center!important;font-size:13px!important;line-height:1!important}
.tl-route-biolinks .tl-block-row span{display:grid!important;gap:1px!important;min-width:0!important;line-height:1!important}
.tl-route-biolinks .tl-block-row b{font-size:12px!important;font-weight:900!important;line-height:1.05!important;letter-spacing:-.01em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tl-route-biolinks .tl-block-row small{font-size:10px!important;font-weight:700!important;line-height:1.05!important;color:var(--tl-muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

.tl-action-dropdown{position:relative!important;display:inline-flex!important;overflow:visible!important;z-index:20!important}
.tl-btn.tl-btn-sm.tl-action-trigger,
button.tl-btn.tl-btn-sm.tl-action-trigger{
  height:32px!important;
  min-height:32px!important;
  padding:0 9px!important;
  border-radius:10px!important;
  font-size:12px!important;
  gap:5px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  overflow:visible!important;
  position:relative!important;
  z-index:22!important;
}
.tl-btn.tl-btn-sm.tl-action-trigger i{font-size:15px!important;line-height:1!important;display:inline-grid!important;place-items:center!important}
.tl-action-dropdown.tl-open .tl-action-trigger{border-color:#a5b4fc!important;background:#f8faff!important;color:#4338ca!important}
.tl-action-menu{min-width:168px!important;border-radius:12px!important;padding:6px!important;background:#fff!important;border:1px solid var(--tl-border)!important;box-shadow:0 18px 45px rgba(15,23,42,.18)!important;z-index:99999!important}
.tl-action-menu a,.tl-action-menu button{height:34px!important;display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;border:0!important;background:transparent!important;border-radius:9px!important;padding:0 9px!important;font-size:12px!important;font-weight:800!important;color:var(--tl-heading)!important;text-decoration:none!important;cursor:pointer!important;text-align:left!important}
.tl-action-menu a:hover,.tl-action-menu button:hover{background:#f8fafc!important}
.tl-action-menu .tl-danger,.tl-action-menu button.tl-danger{color:#dc2626!important}

.bio-ico{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  flex:0 0 26px!important;
  border-radius:10px!important;
  display:inline-grid!important;
  place-items:center!important;
  line-height:1!important;
  font-size:14px!important;
  background:#eef2ff!important;
  color:#4f46e5!important;
  overflow:hidden!important;
  vertical-align:middle!important;
}
.bio-btn-pro .bio-ico{margin-right:0!important}

/* ======================================================================
   SALIN.ICU v126.4 — Global Functional Layout Safety Polish
   Keeps global layout compact while ensuring dropdown/buttons are clickable.
   ====================================================================== */
.tl-content,.tl-card,.tl-table-wrap,.tl-table-shell,.tl-bio-record,.tl-record-actions,.tl-studio-block,.tl-blocks-card,.tl-library-card{overflow:visible!important}
.tl-action-dropdown{position:relative!important;display:inline-flex!important;align-items:center!important;overflow:visible!important;z-index:80!important}
.tl-action-dropdown .tl-action-trigger{pointer-events:auto!important;cursor:pointer!important;white-space:nowrap!important}
.tl-action-menu{gap:2px!important;max-height:min(340px,calc(100vh - 24px))!important;overflow:auto!important;overscroll-behavior:contain!important}
.tl-action-menu:not(.tl-open):not(.open){display:none!important}
.tl-action-menu.tl-open,.tl-action-menu.open{display:grid!important}
.tl-hidden-form{display:none!important}
.tl-toast{position:fixed!important;right:18px!important;bottom:18px!important;z-index:2147483001!important;background:#0f172a!important;color:#fff!important;border-radius:12px!important;padding:10px 14px!important;font-size:13px!important;font-weight:800!important;box-shadow:0 18px 48px rgba(15,23,42,.24)!important;opacity:0!important;transform:translateY(10px)!important;pointer-events:none!important;transition:.18s ease!important}.tl-toast.show{opacity:1!important;transform:translateY(0)!important}.tl-toast[data-type="error"]{background:#dc2626!important}
.tl-route-biolinks .tl-block-row,.tl-route-biolink-blocks .tl-library-item{pointer-events:auto!important;cursor:pointer!important;touch-action:manipulation!important;position:relative!important;z-index:5!important}
.tl-route-biolink-blocks .tl-quick-add{display:none!important}.tl-route-biolink-blocks .tl-quick-add.tl-open,.tl-route-biolink-blocks .tl-quick-add.is-open,.tl-route-biolink-blocks .tl-quick-add.open{display:grid!important}
.tl-studio-hidden{display:none!important}
.tl-section-focus{outline:2px solid rgba(99,102,241,.35)!important;outline-offset:3px!important;box-shadow:0 0 0 6px rgba(99,102,241,.08)!important}
.tl-btn,.tl-control,button,input,select,textarea,a{max-width:100%}.tl-btn{touch-action:manipulation}.tl-btn:disabled{opacity:.55!important;cursor:not-allowed!important}
.tl-table td,.tl-table th{vertical-align:middle!important}.tl-table-actions,.tl-action-bar{overflow:visible!important}
@media(max-width:760px){.tl-action-menu{left:8px!important;right:8px!important;min-width:auto!important;width:calc(100vw - 16px)!important}.tl-record-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}}

/* ======================================================================
   SALIN.ICU v126.5 — Biolink Focused Interaction Polish
   Scope: only selectors requested by user.
   ====================================================================== */
.tl-route-biolinks .tl-record-actions{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;overflow:visible!important;
}
.tl-inline-actions{
  display:inline-flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;position:relative!important;z-index:30!important;
}
.tl-inline-actions .tl-icon-action,
.tl-icon-action{
  width:32px!important;height:32px!important;min-width:32px!important;border-radius:10px!important;border:1px solid var(--tl-border)!important;background:#fff!important;color:#334155!important;display:inline-grid!important;place-items:center!important;padding:0!important;line-height:1!important;text-decoration:none!important;cursor:pointer!important;font-size:15px!important;box-shadow:0 5px 14px rgba(15,23,42,.04)!important;transition:.14s ease!important;
}
.tl-inline-actions .tl-icon-action:hover,.tl-icon-action:hover{border-color:#a5b4fc!important;background:#f8faff!important;color:#4f46e5!important;transform:translateY(-1px)!important}
.tl-inline-actions .tl-icon-action.tl-danger,.tl-icon-action.tl-danger{color:#dc2626!important;background:#fff7f7!important;border-color:#fecaca!important}
.tl-inline-actions .tl-icon-action.tl-danger:hover,.tl-icon-action.tl-danger:hover{background:#fee2e2!important;border-color:#fca5a5!important;color:#b91c1c!important}
.tl-route-biolinks .tl-action-dropdown{display:none!important}

.tl-studio-toolbar,
.tl-studio-tabs,
.tl-theme-gallery{
  position:relative!important;z-index:40!important;pointer-events:auto!important;isolation:isolate!important;
}
.tl-studio-toolbar button,
.tl-studio-toolbar a,
.tl-studio-tabs button,
.tl-theme-gallery button,
.tl-theme-big,
.tl-theme-dot{
  pointer-events:auto!important;cursor:pointer!important;touch-action:manipulation!important;user-select:none!important;position:relative!important;z-index:42!important;
}
.tl-studio-tabs button.active,
.tl-studio-device button.active,
.tl-device-switch button.active,
.tl-theme-big.active,
.tl-theme-dot.active{
  border-color:#8b5cf6!important;background:linear-gradient(135deg,#eef2ff,#fff)!important;color:#4f46e5!important;box-shadow:0 8px 22px rgba(99,102,241,.14)!important;
}
.tl-btn.tl-btn-sm,
button.tl-btn.tl-btn-sm,
a.tl-btn.tl-btn-sm{
  min-height:32px!important;height:32px!important;padding:0 10px!important;border-radius:10px!important;font-size:12px!important;font-weight:850!important;line-height:1!important;gap:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;pointer-events:auto!important;cursor:pointer!important;
}
.tl-btn.tl-btn-sm i{font-size:15px!important;line-height:1!important}
.bio-ico{font-family:inherit!important;text-align:center!important;contain:paint!important}
.bio-btn-pro{gap:8px!important}
.tl-theme-gallery{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:10px!important}
.tl-theme-big{min-height:86px!important;border-radius:14px!important;border:1px solid var(--tl-border)!important;background:#fff!important;display:grid!important;gap:5px!important;place-items:center!important;padding:12px!important;color:var(--tl-heading)!important}
.tl-theme-big small{font-size:11px!important;color:var(--tl-muted)!important;font-weight:700!important}
.tl-theme-big span[class^="sw-"]{width:34px!important;height:22px!important;border-radius:999px!important;border:1px solid rgba(148,163,184,.35)!important;display:block!important}
.tl-theme-big .sw-light,.tl-theme-dot .sw-light{background:#fff!important}
.tl-theme-big .sw-dark,.tl-theme-dot .sw-dark{background:#0f172a!important}
.tl-theme-big .sw-gradient,.tl-theme-dot .sw-gradient{background:linear-gradient(135deg,#6366f1,#8b5cf6)!important}
.tl-theme-big .sw-glass,.tl-theme-dot .sw-glass{background:linear-gradient(135deg,#e0f2fe,#f8fafc)!important}
.tl-theme-big .sw-minimal,.tl-theme-dot .sw-minimal{background:#f8fafc!important}
.tl-theme-big .sw-neon,.tl-theme-dot .sw-neon{background:linear-gradient(135deg,#111827,#7c3aed,#06b6d4)!important}
.tl-theme-big .sw-business,.tl-theme-dot .sw-business{background:linear-gradient(135deg,#0f172a,#334155)!important}
.tl-preview-desktop .tl-phone-pro{max-width:100%!important;width:min(520px,100%)!important}
.tl-preview-desktop .tl-phone-page{min-height:360px!important;border-radius:20px!important}

/* ======================================================================
   SALIN.ICU v126.6 — Professional Biolink 2026 Theme + Toolbar Polish
   ====================================================================== */
.tl-studio-tabs{align-items:center!important;background:rgba(255,255,255,.76)!important;border:1px solid var(--tl-border)!important;border-radius:14px!important;padding:6px!important;box-shadow:0 10px 28px rgba(15,23,42,.04)!important;gap:6px!important}
.tl-studio-tabs button{height:34px!important;border-radius:10px!important;padding:0 12px!important;font-size:12px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important}
.tl-studio-device{display:inline-flex!important;gap:6px!important;margin-left:auto!important;padding-left:8px!important;border-left:1px solid var(--tl-border)!important}.tl-studio-device button{width:34px!important;padding:0!important;justify-content:center!important}.tl-autosave{height:34px!important;display:inline-flex!important;align-items:center!important;gap:5px!important;font-size:12px!important;font-weight:800!important;color:#475569!important;padding:0 10px!important;border-radius:10px!important;background:#f8fafc!important;border:1px solid var(--tl-border)!important}.tl-autosave.is-saved i{color:#16a34a!important}
.tl-studio-toolbar{pointer-events:auto!important}.tl-studio-toolbar .tl-btn,.tl-studio-toolbar button{pointer-events:auto!important}.tl-studio-actions .tl-btn{height:34px!important;border-radius:10px!important}.tl-device-switch button{cursor:pointer!important}
.tl-strip-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:8px!important}.tl-strip-head b{font-size:13px!important;color:var(--tl-heading)!important}.tl-strip-head a{font-size:12px!important;font-weight:850!important;text-decoration:none!important;color:#4f46e5!important}.tl-theme-strip{display:grid!important;gap:8px!important;margin-top:12px!important}.tl-theme-dot{height:34px!important;border:1px solid var(--tl-border)!important;background:#fff!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:0 9px!important;margin:0 4px 6px 0!important;font-size:11px!important;font-weight:850!important;color:var(--tl-heading)!important}.tl-theme-dot span[class^="sw-"]{width:18px!important;height:18px!important;border-radius:999px!important;border:1px solid rgba(148,163,184,.35)!important;display:block!important}.tl-theme-dot.active{outline:2px solid rgba(99,102,241,.16)!important}
.tl-theme-gallery{grid-template-columns:repeat(auto-fit,minmax(132px,1fr))!important}.tl-theme-big{min-height:78px!important;align-content:center!important}.tl-theme-big b{font-size:13px!important}.tl-theme-big:hover{border-color:#a5b4fc!important;transform:translateY(-1px)!important;box-shadow:0 12px 28px rgba(99,102,241,.12)!important}
.tl-preview-desktop .tl-phone-pro{max-width:620px!important;width:100%!important}.tl-preview-desktop#tlStudioPreviewScreen,.tl-preview-desktop .tl-phone-page{min-height:420px!important;border-radius:18px!important}.tl-live-preview-panel.tl-preview-desktop .tl-preview-phone,.tl-preview-card.tl-preview-desktop .tl-preview-phone{width:100%!important;max-width:640px!important}
.sw-aurora{background:linear-gradient(135deg,#6366f1,#8b5cf6,#06b6d4)!important}.sw-dark-pro{background:linear-gradient(135deg,#020617,#111827,#334155)!important}.sw-glass{background:linear-gradient(135deg,#e0f2fe,#fff,#f5f3ff)!important}.sw-business{background:linear-gradient(135deg,#0f172a,#1e3a8a)!important}.sw-creator{background:linear-gradient(135deg,#ec4899,#8b5cf6,#f59e0b)!important}.sw-royal{background:linear-gradient(135deg,#312e81,#4f46e5,#a78bfa)!important}.sw-emerald{background:linear-gradient(135deg,#064e3b,#10b981,#a7f3d0)!important}.sw-graphite{background:linear-gradient(135deg,#111827,#64748b,#e2e8f0)!important}.sw-candy{background:linear-gradient(135deg,#f9a8d4,#c4b5fd,#bae6fd)!important}.sw-nord{background:linear-gradient(135deg,#0f172a,#38bdf8,#dbeafe)!important}.sw-monochrome{background:linear-gradient(135deg,#000,#fff)!important}.sw-ocean{background:linear-gradient(135deg,#075985,#06b6d4,#ccfbf1)!important}.sw-sunset{background:linear-gradient(135deg,#7c2d12,#fb7185,#fed7aa)!important}
#tlStudioPreviewScreen.theme-aurora,#bioPreviewPhone.theme-aurora,.theme-aurora{background:radial-gradient(circle at 10% 0%,#e0e7ff 0,transparent 36%),radial-gradient(circle at 90% 8%,#ccfbf1 0,transparent 34%),#f8fafc!important}
#tlStudioPreviewScreen.theme-glass,#bioPreviewPhone.theme-glass,.theme-glass{background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(224,242,254,.84))!important;backdrop-filter:blur(18px)!important}
#tlStudioPreviewScreen.theme-business,#bioPreviewPhone.theme-business,.theme-business{background:linear-gradient(160deg,#f8fafc,#eef2ff)!important} .theme-business .bio-preview-pro a,.theme-business .tl-phone-links a{background:#0f172a!important;color:#fff!important}
#tlStudioPreviewScreen.theme-creator,#bioPreviewPhone.theme-creator,.theme-creator{background:radial-gradient(circle at top,#fce7f3 0,transparent 32%),radial-gradient(circle at right,#ede9fe 0,transparent 42%),#fff7ed!important}
#tlStudioPreviewScreen.theme-royal,#bioPreviewPhone.theme-royal,.theme-royal{background:linear-gradient(135deg,#312e81,#4f46e5)!important;color:#fff!important} .theme-royal h2,.theme-royal h3,.theme-royal p{color:#fff!important}.theme-royal .tl-phone-links a{background:rgba(255,255,255,.14)!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important}
#tlStudioPreviewScreen.theme-emerald,#bioPreviewPhone.theme-emerald,.theme-emerald{background:linear-gradient(135deg,#ecfdf5,#d1fae5)!important}.theme-emerald .tl-phone-links a,.theme-emerald .bio-preview-pro a{background:#047857!important;color:#fff!important}
#tlStudioPreviewScreen.theme-graphite,#bioPreviewPhone.theme-graphite,.theme-graphite{background:linear-gradient(135deg,#111827,#1f2937)!important;color:#f8fafc!important}.theme-graphite h2,.theme-graphite h3,.theme-graphite p{color:#f8fafc!important}.theme-graphite .tl-phone-links a{background:#374151!important;color:#fff!important;border-color:#4b5563!important}
#tlStudioPreviewScreen.theme-candy,#bioPreviewPhone.theme-candy,.theme-candy{background:linear-gradient(135deg,#fdf2f8,#ede9fe,#ecfeff)!important}.theme-candy .tl-phone-links a,.theme-candy .bio-preview-pro a{background:linear-gradient(135deg,#ec4899,#8b5cf6)!important;color:#fff!important;border:0!important}
#tlStudioPreviewScreen.theme-nord,#bioPreviewPhone.theme-nord,.theme-nord{background:linear-gradient(135deg,#e0f2fe,#dbeafe,#f8fafc)!important}.theme-nord .tl-phone-links a,.theme-nord .bio-preview-pro a{background:#0369a1!important;color:#fff!important}
#tlStudioPreviewScreen.theme-monochrome,#bioPreviewPhone.theme-monochrome,.theme-monochrome{background:#fff!important}.theme-monochrome .tl-phone-links a,.theme-monochrome .bio-preview-pro a{background:#000!important;color:#fff!important;border-color:#000!important}
#tlStudioPreviewScreen.theme-dark-pro,#bioPreviewPhone.theme-dark-pro,#tlStudioPreviewScreen.theme-dark,.theme-dark-pro{background:#0f172a!important;color:#fff!important}#tlStudioPreviewScreen.theme-dark-pro h2,#tlStudioPreviewScreen.theme-dark-pro p,#bioPreviewPhone.theme-dark-pro h3,#bioPreviewPhone.theme-dark-pro p{color:#fff!important}.theme-dark-pro .tl-phone-links a{background:#111827!important;color:#fff!important;border-color:#334155!important}
#tlStudioPreviewScreen.theme-neon,#bioPreviewPhone.theme-neon,.theme-neon{background:radial-gradient(circle at top,#7c3aed 0,transparent 38%),#020617!important;color:#fff!important}.theme-neon h2,.theme-neon h3,.theme-neon p{color:#fff!important}.theme-neon .tl-phone-links a,.theme-neon .bio-preview-pro a{background:linear-gradient(135deg,#7c3aed,#06b6d4)!important;color:#fff!important;border:0!important}

/* ======================================================================
   SALIN.ICU v127.3 Professional Biolink Studio Polish
   Scope-only rules. Prevent global .active / [data-theme] conflicts.
   ====================================================================== */
.tl-biolink-studio{--bio-sidebar:240px;--bio-preview:360px;--bio-gap:16px}
.tl-biolink-studio .tl-studio-tabs button{height:36px;border-radius:12px;padding:0 14px;border:1px solid var(--tl-border);background:var(--tl-surface);color:var(--tl-heading);font-size:12.5px;font-weight:850;display:inline-flex;align-items:center;gap:7px;cursor:pointer;box-shadow:none;transition:.16s ease}
.tl-biolink-studio .tl-studio-tabs button:hover{border-color:#c7d2fe;background:#f8faff;transform:translateY(-1px)}
.tl-biolink-studio .tl-studio-tabs button.is-tab-active{background:linear-gradient(135deg,#6d5dfc,#8b5cf6);border-color:#6d5dfc;color:#fff;box-shadow:0 10px 22px rgba(109,93,252,.22)}
.tl-biolink-studio .tl-studio-tabs button:not(.is-tab-active){box-shadow:none!important}
.tl-biolink-studio .tl-studio-device button,.tl-biolink-studio [data-device]{height:36px;min-width:42px;border-radius:12px;border:1px solid var(--tl-border);background:var(--tl-surface);color:var(--tl-heading);cursor:pointer}
.tl-biolink-studio .tl-studio-device button.is-device-active,.tl-biolink-studio [data-device].is-device-active{background:#0f172a;color:#fff;border-color:#0f172a;box-shadow:0 10px 22px rgba(15,23,42,.18)}
.tl-biolink-studio .tl-content-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.tl-biolink-studio [data-studio-pane="builder"].tl-content-grid{display:grid;grid-template-columns:var(--bio-sidebar) minmax(0,1fr) var(--bio-preview);gap:var(--bio-gap);align-items:start}
.tl-biolink-studio [data-studio-pane="builder"].tl-studio-hidden{display:none!important}
.tl-library-card,.tl-preview-card{position:sticky;top:76px;align-self:start}
.tl-library-card{padding:16px!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important}
.tl-library-card .tl-card-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
.tl-library-item{min-height:44px!important;border:1px solid #dbe5f2!important;border-radius:13px!important;background:#fff!important;padding:7px 9px!important;display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:9px!important;align-items:center!important;text-align:left!important;cursor:pointer!important;transition:.16s ease!important;color:#0f172a!important}
.tl-library-item span{grid-row:1/3;width:30px!important;height:30px!important;border-radius:10px!important;background:#eef2ff!important;color:#5b5cf6!important;display:grid!important;place-items:center!important}
.tl-library-item b{font-size:12.5px!important;line-height:1.05!important;font-weight:900!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-library-item small{font-size:10.5px!important;color:#64748b!important;font-weight:750!important;line-height:1.05!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-library-item:hover,.tl-library-item.is-block-active{border-color:#a5b4fc!important;background:linear-gradient(135deg,#f4f3ff,#f0f9ff)!important;box-shadow:0 8px 18px rgba(99,91,255,.12)!important;transform:translateY(-1px)!important}
.tl-blocks-card{padding:0!important;overflow:hidden;border-radius:18px!important}
.tl-blocks-card>.tl-card-head{padding:16px 18px!important;margin:0!important;border-bottom:1px solid var(--tl-border);background:linear-gradient(180deg,#fff,#f8fafc)}
.tl-quick-add{padding:16px 18px!important;border-bottom:1px solid var(--tl-border);background:#fbfdff;display:grid;gap:12px}
.tl-quick-add:not(.tl-open):not(.is-open){display:none!important}
.tl-quick-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tl-quick-add label{font-size:12px;font-weight:850;color:#0f172a;display:grid;gap:6px}.tl-quick-add input,.tl-quick-add textarea{min-height:36px!important;border-radius:12px!important;font-size:13px!important}.tl-quick-add textarea{min-height:76px!important}
.tl-studio-block-list{display:grid;gap:10px;padding:16px 18px}.tl-studio-block{border:1px solid #dbe5f2;border-radius:15px;background:#fff;overflow:hidden}.tl-studio-block .tl-canvas-section-head{padding:12px 14px!important;margin:0!important}.tl-studio-block form{padding:14px!important;display:grid;gap:12px;background:#fbfdff;border-top:1px solid #e2e8f0}.tl-studio-block:not(.open) form{display:none!important}
.tl-empty-blocks{margin:16px 18px!important;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc;padding:18px;text-align:center;color:#64748b}.tl-empty-blocks i{font-size:22px;color:#6366f1}.tl-empty-blocks b{display:block;margin:6px 0 4px;color:#0f172a}
.tl-add-drop{margin:0 18px 18px;height:38px;border-radius:12px;background:#0f172a;color:#fff;border:0;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;cursor:pointer}
.tl-preview-card{padding:14px!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important}.tl-preview-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#475569;margin-bottom:10px}.tl-preview-head a{font-size:12px;font-weight:850;color:#4f46e5}
.tl-phone-pro{width:100%;border-radius:28px;background:#0f172a;padding:12px;box-shadow:0 22px 45px rgba(15,23,42,.18)}.tl-phone-status{height:20px;color:#94a3b8;font-size:10px;display:flex;align-items:center;justify-content:space-between;padding:0 4px}.tl-phone-page{min-height:560px;border-radius:22px;background:#fff;overflow:hidden;position:relative;color:#334155}.tl-phone-cover{height:100px;background:linear-gradient(135deg,#9b7cff,#38bdf8);background-size:cover;background-position:center}.tl-phone-profile{display:grid;justify-items:center;text-align:center;padding:0 16px 8px}.tl-phone-avatar{width:66px;height:66px;border-radius:20px;background:#eef2f7;border:4px solid #fff;margin-top:-34px;display:grid;place-items:center;overflow:hidden;box-shadow:0 8px 18px rgba(15,23,42,.1)}.tl-phone-avatar img{width:100%;height:100%;object-fit:cover}.tl-phone-profile h2{font-size:17px!important;margin:8px 0 4px!important;letter-spacing:-.02em}.tl-phone-profile p{font-size:12px!important;color:#475569!important;margin:0!important}.tl-phone-links{display:grid;gap:8px;padding:10px 14px}.tl-phone-links a{min-height:38px;border-radius:13px;border:1px solid #dbe5f2;background:#f8fafc;color:#0f172a;text-decoration:none;font-weight:850;font-size:12px;display:flex;align-items:center;justify-content:center;gap:8px}.tl-phone-socials{display:flex;justify-content:center;gap:7px;padding:8px 14px 18px}.tl-phone-socials span{width:28px;height:28px;border-radius:99px;background:#eef2ff;color:#5b5cf6;display:grid;place-items:center;font-size:11px;font-weight:900}
.tl-preview-desktop .tl-phone-pro{max-width:none}.tl-preview-desktop .tl-phone-page{min-height:420px}.tl-preview-desktop .tl-phone-cover{height:86px}
.tl-theme-strip{margin-top:12px}.tl-strip-head{display:flex;align-items:center;gap:3px;margin-bottom:8px;font-size:12px;color:#475569}.tl-theme-strip button{height:34px;border-radius:11px;border:1px solid #dbe5f2;background:#fff;padding:0 10px;margin:0 5px 6px 0;font-size:11px;font-weight:850;cursor:pointer}.tl-theme-strip button.is-theme-active,.tl-theme-gallery [data-theme-option].is-theme-active{border-color:#6366f1!important;background:#eef2ff!important;color:#4338ca!important;box-shadow:0 0 0 3px rgba(99,102,241,.12)!important}.tl-theme-big{min-height:96px;border-radius:16px;border:1px solid #dbe5f2;background:#fff;padding:14px;text-align:left;display:grid;gap:5px;cursor:pointer}.tl-theme-big:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(15,23,42,.08)}.tl-theme-big span,.tl-theme-dot span{display:block;height:28px;border-radius:10px;background:linear-gradient(135deg,#8b5cf6,#38bdf8)}
.theme-dark-pro{background:#0f172a!important;color:#e5e7eb!important}.theme-dark-pro .tl-phone-cover{background:linear-gradient(135deg,#111827,#6d28d9)!important}.theme-dark-pro .tl-phone-links a{background:#111827!important;border-color:#334155!important;color:#fff!important}.theme-glass{background:linear-gradient(135deg,#eff6ff,#fff)!important}.theme-glass .tl-phone-links a{background:rgba(255,255,255,.62)!important;backdrop-filter:blur(10px)}.theme-minimal .tl-phone-cover{background:#f8fafc!important}.theme-minimal .tl-phone-links a{background:#fff!important}.theme-neon{background:#080b16!important;color:#e0e7ff!important}.theme-neon .tl-phone-cover{background:linear-gradient(135deg,#7c3aed,#06b6d4)!important}.theme-neon .tl-phone-links a{background:#111827!important;color:#e0e7ff!important;border-color:#4338ca!important}.theme-royal .tl-phone-cover{background:linear-gradient(135deg,#312e81,#8b5cf6)!important}.theme-emerald .tl-phone-cover{background:linear-gradient(135deg,#059669,#34d399)!important}.theme-graphite .tl-phone-cover{background:linear-gradient(135deg,#111827,#64748b)!important}.theme-candy .tl-phone-cover{background:linear-gradient(135deg,#fb7185,#f0abfc,#38bdf8)!important}.theme-ocean .tl-phone-cover{background:linear-gradient(135deg,#0284c7,#22d3ee)!important}.theme-sunset .tl-phone-cover{background:linear-gradient(135deg,#f97316,#ec4899)!important}
@media(max-width:1320px){.tl-biolink-studio [data-studio-pane="builder"].tl-content-grid{grid-template-columns:220px minmax(0,1fr) 330px}.tl-library-card,.tl-preview-card{position:relative;top:auto}.tl-phone-page{min-height:500px}}
@media(max-width:1024px){.tl-biolink-studio [data-studio-pane="builder"].tl-content-grid{grid-template-columns:1fr}.tl-library-card .tl-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tl-preview-card{max-width:420px;margin:auto}}

/* ======================================================================
   SALIN.ICU v127.4 — Biolink Studio Unified State + Theme System
   Scope: one global CSS file, no separate theme CSS. Theme/tab/device states
   must never share generic .active class.
   ====================================================================== */
.tl-biolink-studio .tl-studio-toolbar,
.tl-biolink-studio .tl-studio-tabs{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;pointer-events:auto!important;isolation:isolate!important;z-index:60!important}
.tl-biolink-studio .tl-studio-toolbar button,
.tl-biolink-studio .tl-studio-toolbar a,
.tl-biolink-studio .tl-studio-tabs button{pointer-events:auto!important;cursor:pointer!important;user-select:none!important}
.tl-biolink-studio [data-studio-tab].active,
.tl-biolink-studio [data-studio-tab].is-active,
.tl-biolink-studio [data-device].active,
.tl-biolink-studio [data-device].is-active,
.tl-biolink-studio .tl-theme-gallery [data-theme-option].active,
.tl-biolink-studio .tl-theme-strip [data-theme-option].active{box-shadow:none!important}
.tl-biolink-studio [data-studio-tab].is-tab-active{background:linear-gradient(135deg,#6d5dfc,#8b5cf6)!important;color:#fff!important;border-color:#6d5dfc!important;box-shadow:0 10px 24px rgba(109,93,252,.24)!important}
.tl-biolink-studio [data-studio-tab]:not(.is-tab-active){background:#fff!important;color:#0f172a!important;border-color:#dbe5f2!important}
.tl-biolink-studio [data-device].is-device-active,.tl-biolink-studio .tl-studio-device button.is-device-active{background:#0f172a!important;color:#fff!important;border-color:#0f172a!important;box-shadow:0 10px 22px rgba(15,23,42,.18)!important}
.tl-biolink-studio [data-device]:not(.is-device-active),.tl-biolink-studio .tl-studio-device button:not(.is-device-active){background:#fff!important;color:#334155!important;border-color:#dbe5f2!important}
.tl-biolink-studio .tl-theme-gallery [data-theme-option],
.tl-biolink-studio .tl-theme-strip [data-theme-option]{position:relative!important;overflow:hidden!important;cursor:pointer!important;transition:.16s ease!important}
.tl-biolink-studio .tl-theme-gallery [data-theme-option].is-theme-active,
.tl-biolink-studio .tl-theme-strip [data-theme-option].is-theme-active{border-color:#6366f1!important;background:#eef2ff!important;color:#4338ca!important;box-shadow:0 0 0 3px rgba(99,102,241,.13)!important}
.tl-biolink-studio .tl-theme-gallery [data-theme-option].is-theme-active:after,
.tl-biolink-studio .tl-theme-strip [data-theme-option].is-theme-active:after{content:'✓';position:absolute;right:8px;top:7px;width:18px;height:18px;border-radius:999px;background:#6366f1;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900}
.tl-biolink-studio .tl-theme-gallery{grid-template-columns:repeat(auto-fit,minmax(142px,1fr))!important;gap:10px!important}
.tl-biolink-studio .tl-theme-big{min-height:88px!important;align-content:center!important}
.sw-matrix{background:linear-gradient(135deg,#020617,#16a34a,#22c55e)!important}.sw-cyber{background:linear-gradient(135deg,#111827,#7c3aed,#22d3ee)!important}.sw-luxury{background:linear-gradient(135deg,#171717,#b45309,#facc15)!important}.sw-corporate{background:linear-gradient(135deg,#f8fafc,#2563eb,#0f172a)!important}.sw-soft-blue{background:linear-gradient(135deg,#dbeafe,#eff6ff,#60a5fa)!important}.sw-violet{background:linear-gradient(135deg,#4c1d95,#8b5cf6,#ddd6fe)!important}.sw-peach{background:linear-gradient(135deg,#fed7aa,#fb7185,#fff7ed)!important}
#tlStudioPreviewScreen.theme-matrix,.theme-matrix{background:radial-gradient(circle at top,#064e3b 0,transparent 28%),#020617!important;color:#d1fae5!important}.theme-matrix .tl-phone-cover{background:linear-gradient(135deg,#020617,#16a34a)!important}.theme-matrix .tl-phone-profile h2,.theme-matrix .tl-phone-profile p{color:#d1fae5!important}.theme-matrix .tl-phone-links a{background:#052e16!important;color:#dcfce7!important;border-color:#15803d!important}
#tlStudioPreviewScreen.theme-cyber,.theme-cyber{background:radial-gradient(circle at top left,#581c87,transparent 38%),radial-gradient(circle at bottom right,#0891b2,transparent 38%),#0f172a!important;color:#e0e7ff!important}.theme-cyber .tl-phone-cover{background:linear-gradient(135deg,#7c3aed,#06b6d4)!important}.theme-cyber .tl-phone-links a{background:rgba(15,23,42,.72)!important;color:#fff!important;border-color:rgba(125,211,252,.35)!important}
#tlStudioPreviewScreen.theme-luxury,.theme-luxury{background:linear-gradient(145deg,#111,#262626)!important;color:#fef3c7!important}.theme-luxury .tl-phone-cover{background:linear-gradient(135deg,#171717,#b45309,#facc15)!important}.theme-luxury .tl-phone-profile h2,.theme-luxury .tl-phone-profile p{color:#fef3c7!important}.theme-luxury .tl-phone-links a{background:#1f2937!important;color:#fde68a!important;border-color:#92400e!important}
#tlStudioPreviewScreen.theme-corporate,.theme-corporate{background:linear-gradient(180deg,#ffffff,#f1f5f9)!important;color:#0f172a!important}.theme-corporate .tl-phone-cover{background:linear-gradient(135deg,#1d4ed8,#0f172a)!important}.theme-corporate .tl-phone-links a{background:#fff!important;border-color:#cbd5e1!important;color:#0f172a!important}
#tlStudioPreviewScreen.theme-soft-blue,.theme-soft-blue{background:linear-gradient(180deg,#eff6ff,#ffffff)!important;color:#1e3a8a!important}.theme-soft-blue .tl-phone-cover{background:linear-gradient(135deg,#93c5fd,#38bdf8)!important}.theme-soft-blue .tl-phone-links a{background:#dbeafe!important;color:#1e3a8a!important;border-color:#bfdbfe!important}
#tlStudioPreviewScreen.theme-violet,.theme-violet{background:linear-gradient(145deg,#f5f3ff,#fff)!important;color:#312e81!important}.theme-violet .tl-phone-cover{background:linear-gradient(135deg,#6d28d9,#a78bfa)!important}.theme-violet .tl-phone-links a{background:#ede9fe!important;color:#4c1d95!important;border-color:#c4b5fd!important}
#tlStudioPreviewScreen.theme-peach,.theme-peach{background:linear-gradient(180deg,#fff7ed,#fff)!important;color:#7c2d12!important}.theme-peach .tl-phone-cover{background:linear-gradient(135deg,#fb923c,#fb7185)!important}.theme-peach .tl-phone-links a{background:#ffedd5!important;color:#9a3412!important;border-color:#fed7aa!important}


/* ======================================================================
   SALIN.ICU v127.5 — Biolink Studio toolbar/tabs/preview professional fix
   One global CSS file only: assets/css/app.css
   ====================================================================== */
.tl-route-biolink-blocks .tl-content{overflow-x:hidden!important;max-width:100%!important}
.tl-biolink-studio{--bio-sidebar:240px;--bio-preview:360px;--bio-gap:14px;max-width:100%!important;overflow:visible!important}
.tl-biolink-studio .tl-studio-head{margin-bottom:14px!important;min-height:auto!important;padding:18px 20px!important;border-radius:20px!important}
.tl-biolink-studio .tl-studio-head h1{font-size:25px!important;line-height:1.1!important}
.tl-biolink-studio .tl-studio-toolbar.tl-studio-tabs{position:sticky!important;top:60px!important;z-index:45!important;width:100%!important;display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;padding:10px!important;margin:0 0 12px!important;border:1px solid #dbe5f2!important;border-radius:16px!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(18px)!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important;isolation:isolate!important;transform:none!important;left:auto!important;right:auto!important}
.tl-biolink-studio .tl-studio-toolbar button,.tl-biolink-studio .tl-studio-toolbar a{height:34px!important;min-height:34px!important;border-radius:11px!important;padding:0 12px!important;font-size:12px!important;font-weight:850!important;line-height:1!important;position:relative!important;pointer-events:auto!important;cursor:pointer!important;white-space:nowrap!important}
.tl-biolink-studio .tl-studio-toolbar [data-studio-tab].is-tab-active,.tl-biolink-studio [data-studio-tab].is-tab-active{background:linear-gradient(135deg,#6d5dfc,#8b5cf6)!important;color:#fff!important;border-color:#6d5dfc!important;box-shadow:0 8px 18px rgba(109,93,252,.22)!important}
.tl-biolink-studio .tl-studio-device{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:3px!important;border:1px solid #dbe5f2!important;border-radius:13px!important;background:#f8fafc!important}
.tl-biolink-studio .tl-studio-device button{width:34px!important;padding:0!important;justify-content:center!important}
.tl-biolink-studio [data-device].is-device-active,.tl-biolink-studio .tl-studio-device button.is-device-active{background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.tl-biolink-studio .tl-autosave{margin-left:auto!important;height:34px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:0 10px!important;border:1px solid #dbe5f2!important;border-radius:11px!important;background:#fff!important;font-size:12px!important;color:#334155!important}
.tl-biolink-studio [data-studio-pane]{max-width:100%!important}.tl-biolink-studio [data-studio-pane].tl-studio-hidden{display:none!important}
.tl-biolink-studio [data-studio-pane="builder"].tl-content-grid{display:grid!important;grid-template-columns:var(--bio-sidebar) minmax(0,1fr) var(--bio-preview)!important;gap:var(--bio-gap)!important;align-items:start!important;max-width:100%!important;overflow:visible!important}
.tl-biolink-studio .tl-library-card,.tl-biolink-studio .tl-preview-card{position:sticky!important;top:124px!important;align-self:start!important;z-index:10!important}
.tl-biolink-studio .tl-library-card{padding:14px!important;border-radius:16px!important}.tl-biolink-studio .tl-card-head{margin-bottom:12px!important}.tl-biolink-studio .tl-card-head h3{font-size:15px!important}.tl-biolink-studio .tl-card-head p{font-size:12px!important;line-height:1.45!important}
.tl-biolink-studio .tl-library-card .tl-card-grid{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}.tl-biolink-studio .tl-library-item{min-height:48px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-areas:"ico title" "ico hint"!important;align-items:center!important;gap:0 8px!important;padding:7px 9px!important;border:1px solid #dbe5f2!important;border-radius:12px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important}.tl-biolink-studio .tl-library-item:hover,.tl-biolink-studio .tl-library-item.is-block-active{border-color:#8b5cf6!important;background:#f5f3ff!important;transform:translateY(-1px)!important}.tl-biolink-studio .tl-library-item span{grid-area:ico;width:30px!important;height:30px!important;border-radius:10px!important;background:#eef2ff!important;color:#6d5dfc!important;display:grid!important;place-items:center!important}.tl-biolink-studio .tl-library-item b{grid-area:title;font-size:12.5px!important;line-height:1.05!important}.tl-biolink-studio .tl-library-item small{grid-area:hint;font-size:10.5px!important;line-height:1.1!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tl-biolink-studio .tl-blocks-card{min-width:0!important;padding:16px!important}.tl-biolink-studio .tl-studio-block{border-radius:13px!important;overflow:visible!important}.tl-biolink-studio .tl-studio-block-main{min-height:44px!important;grid-template-columns:20px 34px minmax(0,1fr) auto!important}.tl-biolink-studio .ti-grip-vertical.handle,.tl-biolink-studio .handle{cursor:grab!important;color:#94a3b8!important;touch-action:none!important}.tl-biolink-studio .tl-studio-block.is-dragging{opacity:.6!important;box-shadow:0 18px 40px rgba(99,102,241,.2)!important}.tl-biolink-studio .tl-block-avatar{width:34px!important;height:34px!important;border-radius:11px!important}.tl-biolink-studio .tl-block-info small{font-size:11px!important}.tl-biolink-studio .tl-block-editor{gap:10px!important}.tl-biolink-studio .tl-block-editor input,.tl-biolink-studio .tl-block-editor select{height:36px!important}.tl-biolink-studio .tl-block-editor textarea{min-height:74px!important;max-height:110px!important}
.tl-biolink-studio .tl-preview-card{padding:14px!important;border-radius:16px!important;max-width:var(--bio-preview)!important}.tl-biolink-studio .tl-preview-card .tl-card-head{margin-bottom:8px!important}.tl-biolink-studio .tl-phone-pro{width:100%!important;max-width:330px!important;margin:auto!important;border-radius:30px!important;padding:12px!important;background:#0f172a!important;box-shadow:0 22px 48px rgba(15,23,42,.22)!important}.tl-biolink-studio .tl-phone-page{min-height:520px!important;border-radius:22px!important}.tl-biolink-studio .tl-phone-cover{height:94px!important}.tl-biolink-studio .tl-phone-avatar{width:62px!important;height:62px!important;border-radius:18px!important}.tl-biolink-studio .tl-phone-links a{min-height:36px!important;font-size:12px!important;border-radius:12px!important}.tl-biolink-studio .tl-preview-desktop .tl-phone-pro{max-width:100%!important}.tl-biolink-studio .tl-preview-desktop .tl-phone-page{min-height:390px!important}
.tl-biolink-studio .tl-theme-gallery{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:10px!important}.tl-biolink-studio .tl-theme-gallery [data-theme-option],.tl-biolink-studio .tl-theme-strip [data-theme-option]{cursor:pointer!important;pointer-events:auto!important}.tl-biolink-studio .tl-theme-gallery [data-theme-option].is-theme-active,.tl-biolink-studio .tl-theme-strip [data-theme-option].is-theme-active{border-color:#6d5dfc!important;background:#eef2ff!important;color:#4338ca!important;box-shadow:0 0 0 3px rgba(99,102,241,.13)!important}.tl-biolink-studio .tl-theme-gallery [data-theme-option].active,.tl-biolink-studio .tl-theme-gallery [data-theme-option].is-active,.tl-biolink-studio .tl-theme-strip [data-theme-option].active,.tl-biolink-studio .tl-theme-strip [data-theme-option].is-active{box-shadow:none!important}
@media(max-width:1420px){.tl-biolink-studio{--bio-sidebar:220px;--bio-preview:330px;--bio-gap:12px}.tl-biolink-studio .tl-library-card,.tl-biolink-studio .tl-preview-card{position:relative!important;top:auto!important}}
@media(max-width:1100px){.tl-biolink-studio [data-studio-pane="builder"].tl-content-grid{grid-template-columns:1fr!important}.tl-biolink-studio .tl-preview-card{max-width:430px!important;margin:auto!important}.tl-biolink-studio .tl-library-card .tl-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.tl-biolink-studio .tl-studio-toolbar.tl-studio-tabs{top:58px!important;overflow-x:auto!important;flex-wrap:nowrap!important}.tl-biolink-studio .tl-library-card .tl-card-grid{grid-template-columns:1fr!important}.tl-biolink-studio .tl-studio-head{display:grid!important}.tl-biolink-studio .tl-autosave{margin-left:0!important}}


/* SALIN.ICU v127.6 — Biolink Theme/Preview Sync Hardening */
.tl-route-biolink-blocks .tl-content{overflow-x:hidden!important;}
.tl-route-biolink-blocks .tl-biolink-studio{max-width:100%!important;overflow:visible!important;}
.tl-route-biolink-blocks .tl-biolink-studio [data-studio-pane="builder"].tl-content-grid{grid-template-columns:minmax(190px,220px) minmax(0,1fr) minmax(300px,340px)!important;gap:12px!important;align-items:start!important;max-width:100%!important;overflow:visible!important;}
.tl-route-biolink-blocks .tl-blocks-card,.tl-route-biolink-blocks .tl-preview-card,.tl-route-biolink-blocks .tl-library-card{min-width:0!important;}
.tl-route-biolink-blocks .tl-studio-toolbar.tl-studio-tabs{width:100%!important;max-width:100%!important;margin:0 0 12px!important;position:sticky!important;top:60px!important;z-index:35!important;}
.tl-route-biolink-blocks .tl-preview-card{max-width:340px!important;overflow:visible!important;}
.tl-route-biolink-blocks .tl-phone-pro{max-width:300px!important;width:100%!important;}
.tl-route-biolink-blocks .tl-phone-page{background:linear-gradient(145deg,var(--bio-theme-a,#8b5cf6) -24%,#f8fafc 34%,var(--bio-theme-b,#38bdf8) 130%)!important;color:var(--bio-theme-text,#111827)!important;transition:background .18s ease,color .18s ease!important;}
.tl-route-biolink-blocks .tl-phone-cover{background:linear-gradient(135deg,var(--bio-theme-a,#8b5cf6),var(--bio-theme-b,#38bdf8))!important;}
.tl-route-biolink-blocks .tl-phone-links a{background:linear-gradient(135deg,var(--bio-theme-a,#111827),var(--bio-theme-b,#4f46e5))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 10px 22px rgba(15,23,42,.10)!important;}
.tl-route-biolink-blocks .theme-minimal .tl-phone-links a,.tl-route-biolink-blocks .theme-glass .tl-phone-links a,.tl-route-biolink-blocks .theme-soft-blue .tl-phone-links a{background:#fff!important;color:#0f172a!important;border:1px solid #dbe5f2!important;}
.tl-route-biolink-blocks .theme-graphite .tl-phone-profile h2,.tl-route-biolink-blocks .theme-graphite .tl-phone-profile p,.tl-route-biolink-blocks .theme-dark-pro .tl-phone-profile h2,.tl-route-biolink-blocks .theme-dark-pro .tl-phone-profile p,.tl-route-biolink-blocks .theme-neon .tl-phone-profile h2,.tl-route-biolink-blocks .theme-neon .tl-phone-profile p,.tl-route-biolink-blocks .theme-matrix .tl-phone-profile h2,.tl-route-biolink-blocks .theme-matrix .tl-phone-profile p{color:#fff!important;}
.tl-theme-gallery [data-theme-option].is-theme-active,.tl-theme-strip [data-theme-option].is-theme-active{border-color:#6d5dfc!important;background:#eef2ff!important;box-shadow:0 8px 18px rgba(109,93,252,.18)!important;}
.tl-theme-gallery [data-theme-option]:not(.is-theme-active),.tl-theme-strip [data-theme-option]:not(.is-theme-active){box-shadow:none;}
@media(max-width:1320px){.tl-route-biolink-blocks .tl-biolink-studio [data-studio-pane="builder"].tl-content-grid{grid-template-columns:1fr!important}.tl-route-biolink-blocks .tl-preview-card{max-width:none!important}.tl-route-biolink-blocks .tl-phone-pro{max-width:320px!important}}

/* ======================================================================
   SALIN.ICU v127.7 — Biolink Studio alignment + preview sync polish
   Scope: biolink-blocks route only. Keeps one global CSS file.
   ====================================================================== */
.tl-route-biolink-blocks .tl-main,
.tl-route-biolink-blocks .tl-content,
.tl-route-biolink-blocks .tl-page-content{min-width:0!important;overflow-x:hidden!important;}
.tl-route-biolink-blocks .tl-page-wrap,
.tl-route-biolink-blocks .tl-page-container,
.tl-route-biolink-blocks .tl-biolink-studio{max-width:100%!important;width:100%!important;min-width:0!important;overflow:visible!important;}
.tl-route-biolink-blocks .tl-studio-head{padding:18px!important;border-radius:18px!important;margin-bottom:14px!important;min-height:auto!important;}
.tl-route-biolink-blocks .tl-studio-head h1{font-size:24px!important;line-height:1.15!important;}
.tl-route-biolink-blocks .tl-studio-head .tl-action-bar .tl-btn{height:34px!important;font-size:12px!important;border-radius:10px!important;}
.tl-route-biolink-blocks .tl-studio-toolbar.tl-studio-tabs{position:relative!important;top:auto!important;left:auto!important;right:auto!important;z-index:12!important;width:100%!important;margin:0 0 10px!important;padding:6px!important;height:auto!important;min-height:46px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;flex-wrap:wrap!important;border-radius:14px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 22px rgba(15,23,42,.06)!important;overflow:visible!important;}
.tl-route-biolink-blocks .tl-studio-toolbar [data-studio-tab],
.tl-route-biolink-blocks .tl-studio-toolbar [data-device],
.tl-route-biolink-blocks .tl-studio-toolbar button{height:32px!important;min-height:32px!important;padding:0 10px!important;border-radius:10px!important;font-size:12px!important;line-height:1!important;}
.tl-route-biolink-blocks .tl-studio-toolbar .tl-studio-device{margin-left:auto!important;}
.tl-route-biolink-blocks .tl-studio-toolbar .tl-autosave{height:32px!important;margin-left:0!important;font-size:12px!important;border-radius:10px!important;}
.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{display:grid!important;grid-template-columns:minmax(188px,210px) minmax(0,1fr) minmax(286px,318px)!important;gap:10px!important;align-items:start!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;}
.tl-route-biolink-blocks .tl-library-card,
.tl-route-biolink-blocks .tl-blocks-card,
.tl-route-biolink-blocks .tl-preview-card{min-width:0!important;border-radius:14px!important;}
.tl-route-biolink-blocks .tl-library-card{padding:12px!important;position:sticky!important;top:72px!important;}
.tl-route-biolink-blocks .tl-preview-card{padding:12px!important;position:sticky!important;top:72px!important;max-width:318px!important;width:100%!important;justify-self:end!important;overflow:visible!important;}
.tl-route-biolink-blocks .tl-blocks-card{padding:14px!important;overflow:visible!important;}
.tl-route-biolink-blocks .tl-card-head{gap:8px!important;}
.tl-route-biolink-blocks .tl-card-head h3{font-size:15px!important;line-height:1.2!important;}
.tl-route-biolink-blocks .tl-card-head p{font-size:12px!important;line-height:1.35!important;}
.tl-route-biolink-blocks .tl-library-item{min-height:44px!important;padding:7px 8px!important;border-radius:11px!important;grid-template-columns:30px minmax(0,1fr)!important;}
.tl-route-biolink-blocks .tl-library-item span{width:28px!important;height:28px!important;border-radius:9px!important;}
.tl-route-biolink-blocks .tl-library-item b{font-size:12px!important;}
.tl-route-biolink-blocks .tl-library-item small{font-size:10px!important;}
.tl-route-biolink-blocks .tl-phone-pro{width:100%!important;max-width:286px!important;margin:0 auto!important;border-radius:28px!important;padding:11px!important;overflow:hidden!important;}
.tl-route-biolink-blocks .tl-phone-page{min-height:500px!important;border-radius:22px!important;padding:16px!important;overflow:hidden!important;}
.tl-route-biolink-blocks .tl-phone-cover{height:88px!important;margin:-16px -16px 0!important;border-radius:22px 22px 0 0!important;}
.tl-route-biolink-blocks .tl-phone-avatar{width:60px!important;height:60px!important;border-width:4px!important;border-radius:18px!important;margin-top:-32px!important;}
.tl-route-biolink-blocks .tl-phone-profile h2{font-size:16px!important;margin:6px 0!important;}
.tl-route-biolink-blocks .tl-phone-profile p{font-size:11px!important;line-height:1.35!important;}
.tl-route-biolink-blocks .tl-phone-links{gap:8px!important;margin-top:12px!important;}
.tl-route-biolink-blocks .tl-phone-links a{min-height:34px!important;border-radius:11px!important;font-size:11.5px!important;padding:7px 10px!important;}
.tl-route-biolink-blocks .tl-phone-socials span{width:26px!important;height:26px!important;font-size:10.5px!important;}
.tl-route-biolink-blocks .tl-theme-strip{max-height:180px!important;overflow:auto!important;padding-top:10px!important;}
.tl-route-biolink-blocks .tl-theme-strip .tl-theme-dot{height:32px!important;border-radius:10px!important;font-size:11px!important;}
.tl-route-biolink-blocks .tl-theme-gallery{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important;gap:8px!important;}
.tl-route-biolink-blocks .tl-theme-gallery [data-theme-option]{min-height:58px!important;padding:9px!important;border-radius:12px!important;}
.tl-route-biolink-blocks .tl-theme-gallery [data-theme-option].is-theme-active,
.tl-route-biolink-blocks .tl-theme-strip [data-theme-option].is-theme-active{outline:2px solid rgba(109,93,252,.28)!important;outline-offset:1px!important;}
@media(max-width:1500px){.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{grid-template-columns:minmax(175px,200px) minmax(0,1fr) minmax(260px,292px)!important;gap:8px!important}.tl-route-biolink-blocks .tl-preview-card{max-width:292px!important}.tl-route-biolink-blocks .tl-phone-pro{max-width:262px!important}.tl-route-biolink-blocks .tl-studio-toolbar .tl-studio-device{margin-left:0!important}}
@media(max-width:1220px){.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{grid-template-columns:1fr!important}.tl-route-biolink-blocks .tl-library-card,.tl-route-biolink-blocks .tl-preview-card{position:relative!important;top:auto!important;max-width:none!important;justify-self:stretch!important}.tl-route-biolink-blocks .tl-phone-pro{max-width:320px!important}.tl-route-biolink-blocks .tl-library-card .tl-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* SALIN.ICU v128.2 — Global CRUD + Biolink stabilization */
.tl-inline-form{display:inline-flex;align-items:center;margin:0;padding:0}
.tl-inline-form button{font:inherit}
.tl-inline-form .tl-toggle{border:0;background:transparent;cursor:pointer;padding:0}
.tl-inline-form .icon{border:0;background:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.tl-biolink-studio .tl-studio-tabs button.is-tab-active,
.tl-biolink-studio .tl-studio-toolbar [data-studio-tab].is-tab-active{background:#111827;color:#fff;border-color:#111827;box-shadow:0 8px 18px rgba(15,23,42,.12)}
.tl-biolink-studio [data-device].is-device-active{background:#111827;color:#fff;border-color:#111827}
.tl-biolink-studio .tl-theme-gallery [data-theme-option].is-theme-active,
.tl-biolink-studio .tl-theme-strip [data-theme-option].is-theme-active{outline:2px solid #111827;outline-offset:2px;border-color:#111827;transform:translateY(-1px)}
.tl-biolink-studio .tl-theme-gallery [data-theme-option].active,
.tl-biolink-studio .tl-theme-gallery [data-theme-option].is-active,
.tl-biolink-studio .tl-theme-strip [data-theme-option].active,
.tl-biolink-studio .tl-theme-strip [data-theme-option].is-active{outline:none}
.tl-crud-edit-row.hidden{display:none!important}
.tl-crud-edit-row.tl-open{display:table-row!important}

/* =======================================================================
   SALIN.ICU V128.3 — Biolink 2026 UI Stabilization + Global CRUD polish
   Scope: Biolink create/list/builder/public preview and Global CRUD actions.
   ======================================================================= */
.tl-biolink-studio-v125{
  --bio-lib:240px;--bio-preview:380px;--bio-gap:20px;
  display:grid!important;grid-template-columns:var(--bio-lib) minmax(0,1fr) var(--bio-preview)!important;
  gap:var(--bio-gap)!important;align-items:start!important;width:100%!important;max-width:100%!important;
}
.tl-block-library-panel,.tl-biolink-canvas-panel,.tl-live-preview-panel,.tl-preview-card{
  min-width:0!important;border:1px solid rgba(148,163,184,.22)!important;border-radius:24px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.92))!important;
  box-shadow:0 20px 60px rgba(15,23,42,.08)!important;overflow:hidden!important;
}
.tl-block-library-panel{position:sticky!important;top:92px!important;padding:16px!important;max-height:calc(100vh - 112px)!important;overflow:auto!important;}
.tl-block-library-panel .tl-panel-head{padding:4px 4px 14px!important}.tl-block-library-panel .tl-panel-head h3{font-size:16px!important;margin:4px 0!important}.tl-block-library-panel .tl-panel-head p{font-size:12px!important;line-height:1.45!important;color:#64748b!important;margin:0!important}
.tl-block-stack{display:grid!important;gap:10px!important}.tl-block-row{width:100%!important;min-height:58px!important;display:flex!important;align-items:center!important;gap:12px!important;padding:12px!important;border:1px solid rgba(226,232,240,.9)!important;border-radius:16px!important;background:#fff!important;color:#0f172a!important;text-align:left!important;cursor:pointer!important;transition:.18s ease!important;box-shadow:0 6px 16px rgba(15,23,42,.035)!important}.tl-block-row:hover,.tl-block-row.active{border-color:#6366f1!important;background:linear-gradient(135deg,#eef2ff,#fff)!important;transform:translateY(-1px)!important}.tl-block-row i{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#eef2ff!important;color:#4f46e5!important;font-size:18px!important;flex:0 0 auto!important}.tl-block-row span{display:grid!important;gap:2px!important;min-width:0!important}.tl-block-row b{font-size:13px!important;line-height:1.1!important}.tl-block-row small{font-size:11px!important;color:#64748b!important;white-space:normal!important}
.tl-biolink-canvas-panel{padding:0!important}.tl-biolink-canvas-panel>.tl-card-head{position:sticky!important;top:72px!important;z-index:7!important;padding:20px 22px!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(14px)!important;border-bottom:1px solid rgba(226,232,240,.8)!important}.tl-biolink-canvas-panel .tl-card-head h3{font-size:20px!important;margin:0!important}.tl-bio-create-form{padding:20px!important;display:grid!important;gap:16px!important}.tl-canvas-section{border:1px solid rgba(226,232,240,.9)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 14px 38px rgba(15,23,42,.05)!important;overflow:hidden!important}.tl-canvas-section-head{width:100%!important;display:flex!important;align-items:center!important;gap:12px!important;padding:16px 18px!important;border:0!important;background:linear-gradient(135deg,#f8fafc,#fff)!important;color:#0f172a!important;text-align:left!important;cursor:pointer!important}.tl-canvas-section-head span{width:34px!important;height:34px!important;border-radius:13px!important;display:grid!important;place-items:center!important;background:#111827!important;color:#fff!important;font-size:13px!important;font-weight:900!important}.tl-canvas-section-head b{font-size:15px!important}.tl-canvas-section-head small{margin-left:auto!important;font-size:11px!important;font-weight:800!important;color:#64748b!important;text-transform:uppercase!important;letter-spacing:.08em!important}.tl-canvas-section .tl-form-grid{padding:18px!important;margin:0!important}.tl-form-grid.two{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}.tl-form-grid .wide,.tl-field.wide{grid-column:1/-1!important}.tl-form label,.tl-field{display:flex!important;flex-direction:column!important;gap:7px!important;font-size:12px!important;font-weight:800!important;color:#334155!important}.tl-form input,.tl-form textarea,.tl-form select,.tl-field input,.tl-field textarea,.tl-field select,.tl-control,.tl-crud-search{width:100%!important;min-height:44px!important;border:1px solid #dbe4ef!important;border-radius:14px!important;background:#fff!important;color:#0f172a!important;padding:10px 13px!important;outline:none!important;box-shadow:0 1px 0 rgba(15,23,42,.02)!important;transition:border-color .16s ease,box-shadow .16s ease!important}.tl-form textarea,.tl-field textarea{min-height:104px!important;resize:vertical!important}.tl-form input:focus,.tl-form textarea:focus,.tl-form select:focus,.tl-field input:focus,.tl-field textarea:focus,.tl-field select:focus,.tl-crud-search:focus{border-color:#6366f1!important;box-shadow:0 0 0 4px rgba(99,102,241,.12)!important}.tl-template-grid.compact{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;padding:18px!important}.tl-template-card{min-height:118px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:#fff!important;display:grid!important;place-items:center!important;text-align:center!important;padding:14px 10px!important;cursor:pointer!important;transition:.18s ease!important}.tl-template-card input{display:none!important}.tl-template-card span{font-size:28px!important}.tl-template-card b{font-size:13px!important}.tl-template-card small{font-size:11px!important;color:#64748b!important}.tl-template-card:hover,.tl-template-card:has(input:checked),.tl-template-card.active{border-color:#6366f1!important;background:linear-gradient(135deg,#eef2ff,#fff)!important;box-shadow:0 14px 34px rgba(79,70,229,.12)!important}.tl-sticky-savebar{position:sticky!important;bottom:16px!important;z-index:10!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;padding:12px!important;border:1px solid rgba(99,102,241,.18)!important;border-radius:18px!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(16px)!important;box-shadow:0 18px 50px rgba(15,23,42,.12)!important}.tl-sticky-savebar span{font-size:13px!important;color:#475569!important;font-weight:800!important}.tl-btn,.tl-btn-primary,.tl-btn-danger,.tl-btn-sm{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:14px!important;font-weight:900!important;text-decoration:none!important;white-space:nowrap!important;transition:.16s ease!important}.tl-btn{min-height:42px!important;padding:0 14px!important;border:1px solid #dbe4ef!important;background:#fff!important;color:#0f172a!important}.tl-btn-sm{min-height:34px!important;padding:0 11px!important;font-size:12px!important}.tl-btn-primary{border-color:transparent!important;background:linear-gradient(135deg,#111827,#4f46e5)!important;color:#fff!important}.tl-btn-danger{border-color:rgba(239,68,68,.2)!important;background:#fef2f2!important;color:#dc2626!important}.tl-btn:hover{transform:translateY(-1px)!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important}
.tl-live-preview-panel{position:sticky!important;top:92px!important;padding:16px!important;max-height:calc(100vh - 112px)!important;overflow:auto!important}.tl-live-preview-panel .tl-panel-head.inline{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;padding:0 0 14px!important}.tl-preview-phone.bio-preview-pro{position:relative!important;width:100%!important;max-width:330px!important;min-height:650px!important;margin:0 auto!important;border-radius:36px!important;background:linear-gradient(180deg,#ffffff,#f8fafc)!important;border:10px solid #0f172a!important;box-shadow:0 26px 80px rgba(15,23,42,.22)!important;padding:18px!important;overflow:hidden!important}.tl-preview-phone.bio-preview-pro:before{content:"";position:absolute;top:8px;left:50%;transform:translateX(-50%);width:92px;height:8px;border-radius:99px;background:#0f172a;z-index:5}.phone-cover{height:110px!important;margin:-18px -18px 0!important;background:linear-gradient(135deg,#6366f1,#06b6d4)!important;background-size:cover!important;background-position:center!important}.phone-avatar{width:88px!important;height:88px!important;border-radius:28px!important;margin:-44px auto 10px!important;border:5px solid #fff!important;background:linear-gradient(135deg,#111827,#4f46e5)!important;background-size:cover!important;background-position:center!important;box-shadow:0 16px 40px rgba(15,23,42,.18)!important}.bio-preview-tl-badge{width:max-content!important;margin:0 auto 8px!important;padding:5px 10px!important;border-radius:999px!important;background:#dcfce7!important;color:#15803d!important;font-size:10px!important;font-weight:900!important;letter-spacing:.08em!important}.tl-preview-phone h3{font-size:23px!important;line-height:1.15!important;text-align:center!important;margin:0!important;color:#0f172a!important}.tl-preview-phone p{font-size:13px!important;line-height:1.55!important;text-align:center!important;color:#64748b!important;margin:8px 0 16px!important}.tl-preview-phone a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;width:100%!important;border-radius:18px!important;margin:10px 0!important;background:#fff!important;border:1px solid #e2e8f0!important;color:#0f172a!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important}.tl-preview-phone #bioPreviewPrimary{background:linear-gradient(135deg,#111827,#4f46e5)!important;color:#fff!important;border-color:transparent!important}.bio-preview-socials{display:flex!important;justify-content:center!important;gap:8px!important;margin-top:14px!important}.bio-preview-socials span{width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:99px!important;background:#eef2ff!important;color:#4f46e5!important;font-size:11px!important;font-weight:900!important}.tl-preview-phone small{display:block!important;margin-top:14px!important;text-align:center!important;color:#94a3b8!important;font-size:11px!important;word-break:break-all!important}.tl-bio-list-workspace{margin-top:24px!important}.tl-bio-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}.tl-bio-record{border:1px solid rgba(226,232,240,.9)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 16px 45px rgba(15,23,42,.06)!important;overflow:hidden!important}.tl-bio-cover{height:86px!important;background:linear-gradient(135deg,#e0e7ff,#cffafe)!important;background-size:cover!important;background-position:center!important}.tl-bio-main{padding:0 16px 12px!important;display:flex!important;gap:12px!important}.tl-bio-avatar{width:58px!important;height:58px!important;margin-top:-29px!important;border-radius:20px!important;border:4px solid #fff!important;background:#eef2ff!important;display:grid!important;place-items:center!important;overflow:hidden!important;box-shadow:0 12px 28px rgba(15,23,42,.12)!important;flex:0 0 auto!important}.tl-bio-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}.tl-bio-info h4{font-size:15px!important;margin:8px 0 4px!important;color:#0f172a!important}.tl-bio-info p{font-size:12px!important;line-height:1.45!important;color:#64748b!important;margin:0!important}.tl-meta-pills{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:10px!important}.tl-meta-pills span{padding:5px 8px!important;border-radius:999px!important;background:#f1f5f9!important;color:#475569!important;font-size:10px!important;font-weight:800!important}.tl-copy-row.compact{padding:0 16px 14px!important;display:flex!important;gap:8px!important}.tl-copy-row.compact input{height:38px!important;border-radius:12px!important;font-size:11px!important}.tl-record-actions{padding:14px 16px!important;border-top:1px solid #eef2f7!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}.tl-inline-actions{display:flex!important;gap:6px!important}.tl-icon-action{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#334155!important;text-decoration:none!important}.tl-icon-action.tl-danger{background:#fef2f2!important;color:#dc2626!important;border-color:#fecaca!important}
.tl-biolink-studio .tl-content-grid{display:grid!important;grid-template-columns:240px minmax(0,1fr) 380px!important;gap:20px!important;align-items:start!important}.tl-library-card{position:sticky!important;top:92px!important;max-height:calc(100vh - 112px)!important;overflow:auto!important}.tl-preview-card{position:sticky!important;top:92px!important}.tl-blocks-card,.tl-library-card,.tl-preview-card{border-radius:24px!important}.tl-phone-pro{width:100%!important;max-width:330px!important;margin:0 auto!important}.tl-phone-page{min-height:600px!important;overflow:hidden!important}.tl-block-card,.tl-block-editor{border-radius:18px!important}.tl-block-editor{padding:16px!important;background:#f8fafc!important}
.bio-public-pro{padding:32px 16px!important}.bio-card-pro{width:min(100%,440px)!important;border-radius:30px!important}.bio-blocks-pro{gap:12px!important}.bio-btn-pro,.bio-product-pro,.bio-text-pro,.bio-faq-pro,.bio-lead-pro,.bio-custom-pro{border-radius:18px!important}.bio-profile-pro h1{font-size:25px!important}.bio-desc{font-size:13px!important}
.tl-crud-row-actions{display:flex!important;gap:8px!important;align-items:center!important}.tl-crud-delete-form,.tl-hidden-form{display:none!important}.tl-crud-table td{vertical-align:middle!important}.tl-crud-table-card{border-radius:24px!important;overflow:hidden!important}.tl-crud-safe-delete{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:16px!important;margin:16px!important;border:1px solid rgba(239,68,68,.18)!important;border-radius:18px!important;background:linear-gradient(135deg,#fff7ed,#fff)!important}.tl-delete-all-inline{display:flex!important;gap:10px!important;align-items:center!important}.tl-delete-all-inline input{min-height:40px!important;border-radius:12px!important;border:1px solid #fed7aa!important;padding:0 12px!important}.tl-table-actions .tl-btn{margin:0!important}
@media(max-width:1280px){.tl-biolink-studio-v125{grid-template-columns:220px minmax(0,1fr) 340px!important}.tl-biolink-studio .tl-content-grid{grid-template-columns:220px minmax(0,1fr) 340px!important}.tl-template-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tl-bio-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:980px){.tl-biolink-studio-v125,.tl-biolink-studio .tl-content-grid{grid-template-columns:1fr!important}.tl-block-library-panel,.tl-live-preview-panel,.tl-library-card,.tl-preview-card{position:relative!important;top:auto!important;max-height:none!important}.tl-form-grid.two{grid-template-columns:1fr!important}.tl-bio-card-grid{grid-template-columns:1fr!important}.tl-sticky-savebar{position:relative!important;bottom:auto!important}.tl-crud-safe-delete,.tl-delete-all-inline{flex-direction:column!important;align-items:stretch!important}}

/* v128.7 Biolink block drag handle fix */
.tl-studio-block .handle,
.tl-studio-block .ti-grip-vertical.handle{
  cursor:grab;
  touch-action:none;
  user-select:none;
  opacity:.75;
}
.tl-studio-block .handle:active,
.tl-studio-block.is-dragging .handle{cursor:grabbing;opacity:1;}
.tl-studio-block.is-dragging{opacity:.62;transform:scale(.995);box-shadow:0 20px 48px rgba(15,23,42,.18);}

/* v128.8 functional states */
.tl-sortable-blocks [data-block-id] .handle,
.tl-sortable-blocks [data-block-id] .ti-grip-vertical{cursor:grab;touch-action:none;user-select:none;}
.tl-sortable-blocks [data-block-id].is-dragging{opacity:.55;transform:scale(.995);box-shadow:0 20px 50px rgba(15,23,42,.18);}
.tl-crud-delete-form.tl-hidden-form{display:none!important;}

/* SALIN.ICU v128.12 - Pro Biolink Theme Expansion */
.sw-obsidian{background:linear-gradient(135deg,#020617,#111827,#64748b)!important}.sw-midnight{background:linear-gradient(135deg,#020617,#1e1b4b,#2563eb)!important}.sw-saas-blue{background:linear-gradient(135deg,#eff6ff,#3b82f6,#0f172a)!important}.sw-fintech{background:linear-gradient(135deg,#052e16,#10b981,#ecfdf5)!important}.sw-agency{background:linear-gradient(135deg,#111827,#ec4899,#f97316)!important}.sw-influencer{background:linear-gradient(135deg,#fdf2f8,#db2777,#7c3aed)!important}.sw-startup{background:linear-gradient(135deg,#ecfeff,#06b6d4,#4f46e5)!important}.sw-portfolio{background:linear-gradient(135deg,#fafaf9,#78716c,#1c1917)!important}.sw-coffee{background:linear-gradient(135deg,#451a03,#b45309,#fef3c7)!important}.sw-forest{background:linear-gradient(135deg,#052e16,#15803d,#bbf7d0)!important}.sw-arctic{background:linear-gradient(135deg,#f8fafc,#bae6fd,#38bdf8)!important}.sw-rose-gold{background:linear-gradient(135deg,#fff1f2,#fb7185,#b45309)!important}.sw-carbon{background:linear-gradient(135deg,#030712,#374151,#9ca3af)!important}

#tlStudioPreviewScreen.theme-obsidian,.theme-obsidian{background:radial-gradient(circle at top,#334155 0,transparent 35%),#020617!important;color:#e5e7eb!important}.theme-obsidian .tl-phone-cover{background:linear-gradient(135deg,#020617,#334155)!important}.theme-obsidian .tl-phone-profile h2,.theme-obsidian .tl-phone-profile p{color:#e5e7eb!important}.theme-obsidian .tl-phone-links a{background:rgba(15,23,42,.9)!important;color:#f8fafc!important;border-color:#475569!important}
#tlStudioPreviewScreen.theme-midnight,.theme-midnight{background:radial-gradient(circle at top,#312e81 0,transparent 40%),#020617!important;color:#dbeafe!important}.theme-midnight .tl-phone-cover{background:linear-gradient(135deg,#020617,#1d4ed8)!important}.theme-midnight .tl-phone-profile h2,.theme-midnight .tl-phone-profile p{color:#dbeafe!important}.theme-midnight .tl-phone-links a{background:rgba(30,41,59,.86)!important;color:#eff6ff!important;border-color:#3b82f6!important}
#tlStudioPreviewScreen.theme-saas-blue,.theme-saas-blue{background:linear-gradient(145deg,#eff6ff,#dbeafe,#fff)!important;color:#0f172a!important}.theme-saas-blue .tl-phone-cover{background:linear-gradient(135deg,#2563eb,#38bdf8)!important}.theme-saas-blue .tl-phone-links a{background:#fff!important;color:#0f172a!important;border-color:#bfdbfe!important}
#tlStudioPreviewScreen.theme-fintech,.theme-fintech{background:linear-gradient(145deg,#ecfdf5,#d1fae5)!important;color:#052e16!important}.theme-fintech .tl-phone-cover{background:linear-gradient(135deg,#047857,#10b981)!important}.theme-fintech .tl-phone-links a{background:#fff!important;color:#064e3b!important;border-color:#86efac!important}
#tlStudioPreviewScreen.theme-agency,.theme-agency{background:radial-gradient(circle at top left,#f97316 0,transparent 35%),radial-gradient(circle at bottom right,#db2777 0,transparent 35%),#111827!important;color:#fff!important}.theme-agency .tl-phone-cover{background:linear-gradient(135deg,#ec4899,#f97316)!important}.theme-agency .tl-phone-profile h2,.theme-agency .tl-phone-profile p{color:#fff!important}.theme-agency .tl-phone-links a{background:rgba(255,255,255,.12)!important;color:#fff!important;border-color:rgba(255,255,255,.25)!important}
#tlStudioPreviewScreen.theme-influencer,.theme-influencer{background:linear-gradient(145deg,#fdf2f8,#ede9fe,#fff)!important;color:#4c1d95!important}.theme-influencer .tl-phone-cover{background:linear-gradient(135deg,#db2777,#7c3aed)!important}.theme-influencer .tl-phone-links a{background:#fff!important;color:#4c1d95!important;border-color:#f0abfc!important}
#tlStudioPreviewScreen.theme-startup,.theme-startup{background:linear-gradient(145deg,#ecfeff,#eef2ff,#fff)!important;color:#0f172a!important}.theme-startup .tl-phone-cover{background:linear-gradient(135deg,#06b6d4,#4f46e5)!important}.theme-startup .tl-phone-links a{background:#fff!important;color:#0f172a!important;border-color:#c7d2fe!important}
#tlStudioPreviewScreen.theme-portfolio,.theme-portfolio{background:linear-gradient(145deg,#fafaf9,#f5f5f4)!important;color:#1c1917!important}.theme-portfolio .tl-phone-cover{background:linear-gradient(135deg,#78716c,#1c1917)!important}.theme-portfolio .tl-phone-links a{background:#fff!important;color:#1c1917!important;border-color:#d6d3d1!important}
#tlStudioPreviewScreen.theme-coffee,.theme-coffee{background:linear-gradient(145deg,#fffbeb,#fef3c7,#fff)!important;color:#451a03!important}.theme-coffee .tl-phone-cover{background:linear-gradient(135deg,#92400e,#d97706)!important}.theme-coffee .tl-phone-links a{background:#fffaf0!important;color:#451a03!important;border-color:#fcd34d!important}
#tlStudioPreviewScreen.theme-forest,.theme-forest{background:linear-gradient(145deg,#ecfdf5,#bbf7d0)!important;color:#052e16!important}.theme-forest .tl-phone-cover{background:linear-gradient(135deg,#14532d,#15803d)!important}.theme-forest .tl-phone-links a{background:#f0fdf4!important;color:#052e16!important;border-color:#86efac!important}
#tlStudioPreviewScreen.theme-arctic,.theme-arctic{background:linear-gradient(145deg,#f8fafc,#e0f2fe,#fff)!important;color:#0f172a!important}.theme-arctic .tl-phone-cover{background:linear-gradient(135deg,#38bdf8,#e0f2fe)!important}.theme-arctic .tl-phone-links a{background:#fff!important;color:#0f172a!important;border-color:#bae6fd!important}
#tlStudioPreviewScreen.theme-rose-gold,.theme-rose-gold{background:linear-gradient(145deg,#fff1f2,#ffe4e6,#fff7ed)!important;color:#7f1d1d!important}.theme-rose-gold .tl-phone-cover{background:linear-gradient(135deg,#fb7185,#b45309)!important}.theme-rose-gold .tl-phone-links a{background:#fff!important;color:#7f1d1d!important;border-color:#fecdd3!important}
#tlStudioPreviewScreen.theme-carbon,.theme-carbon{background:linear-gradient(145deg,#030712,#111827)!important;color:#f9fafb!important}.theme-carbon .tl-phone-cover{background:linear-gradient(135deg,#111827,#6b7280)!important}.theme-carbon .tl-phone-profile h2,.theme-carbon .tl-phone-profile p{color:#f9fafb!important}.theme-carbon .tl-phone-links a{background:#111827!important;color:#f9fafb!important;border-color:#374151!important}


/* =========================================================
   v129.3 Preview Card Polish — Shortlink + Biolink
   Compact SaaS 2026 mockups, no oversized blank phone area.
   ========================================================= */
.tl-preview-card{
  border:1px solid rgba(226,232,240,.95)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff,#f8fafc)!important;
  box-shadow:0 22px 70px rgba(15,23,42,.10)!important;
  overflow:hidden!important;
}
.tl-preview-card-head{
  padding:18px 20px!important;
  margin:0!important;
  border-bottom:1px solid rgba(226,232,240,.9)!important;
}
.tl-preview-card-head h3{font-size:18px!important;letter-spacing:-.035em!important;margin:0!important}
.tl-preview-card-head p{font-size:12.5px!important;line-height:1.45!important;margin:4px 0 0!important;color:var(--tl-muted)!important}

.tl-preview-phone{
  width:100%!important;
  max-width:320px!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin:18px auto 20px!important;
  padding:10px!important;
  border:10px solid #0f172a!important;
  border-radius:32px!important;
  background:#0f172a!important;
  box-shadow:0 18px 45px rgba(15,23,42,.18)!important;
}
.tl-preview-screen{
  min-height:390px!important;
  max-height:520px!important;
  overflow:hidden!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#f8fafc,#eef2ff)!important;
  padding:18px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:13px!important;
  color:#334155!important;
}
.tl-preview-badge{
  min-height:26px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  border:1px solid rgba(226,232,240,.95)!important;
  background:#fff!important;
  color:#475569!important;
}
.tl-preview-badge.success{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#047857!important}
.tl-preview-badge.warning{background:#fffbeb!important;border-color:#fde68a!important;color:#b45309!important}
.tl-preview-badge.info{background:#eef2ff!important;border-color:#c7d2fe!important;color:#4f46e5!important}
.tl-preview-badge.is-live{background:#0f172a!important;border-color:#0f172a!important;color:#fff!important}

.tl-short-preview-card{position:sticky;top:146px;align-self:start}
.tl-short-preview{max-height:520px!important}
.tl-short-preview .tl-preview-screen{justify-content:flex-start!important}
.tl-short-preview-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tl-short-preview-icon{
  width:38px;height:38px;border-radius:14px;
  display:grid;place-items:center;
  color:#4f46e5;background:#eef2ff;
  box-shadow:inset 0 0 0 1px #dbeafe;
}
.tl-short-preview-url{
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:900!important;
  color:#0f172a!important;
  letter-spacing:-.02em!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important;
}
.tl-short-preview-title{font-size:13px!important;font-weight:900!important;color:#334155!important;margin-top:2px}
.tl-short-preview-label{font-size:11px!important;font-weight:800!important;color:#64748b!important;text-transform:uppercase;letter-spacing:.06em;margin-top:4px}
.tl-short-preview-dest{
  min-height:42px!important;
  padding:10px 12px!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.78)!important;
  color:#475569!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important;
}
.tl-short-preview .tl-preview-badges{display:flex!important;gap:7px!important;flex-wrap:wrap!important}
.tl-preview-meta-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:2px!important;
}
.tl-preview-meta-grid>div{
  padding:10px!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.78)!important;
}
.tl-preview-meta-grid span{
  display:block!important;
  color:#64748b!important;
  font-size:10px!important;
  font-weight:850!important;
  text-transform:uppercase!important;
  letter-spacing:.055em!important;
  margin-bottom:4px!important;
}
.tl-preview-meta-grid b{
  display:block!important;
  color:#0f172a!important;
  font-size:12px!important;
  font-weight:950!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Create Biolink preview */
.tl-bio-preview-card{position:sticky!important;top:146px!important;align-self:start!important}
.tl-bio-preview{
  max-width:300px!important;
  max-height:560px!important;
  margin-top:16px!important;
}
.tl-bio-preview .tl-preview-screen{
  min-height:460px!important;
  max-height:540px!important;
  padding:14px!important;
  gap:11px!important;
  justify-content:flex-start!important;
  background:linear-gradient(180deg,#f8fafc 0%,#eef2ff 100%)!important;
}
.tl-bio-preview-hero{
  position:relative!important;
  min-height:108px!important;
  border-radius:20px!important;
  overflow:visible!important;
  background:linear-gradient(135deg,#6366f1,#06b6d4)!important;
  margin-bottom:20px!important;
}
.tl-bio-preview-hero .phone-cover{
  position:absolute!important;inset:0!important;
  height:auto!important;
  margin:0!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#6366f1,#06b6d4)!important;
  background-size:cover!important;
  background-position:center!important;
}
.tl-bio-preview-hero .phone-avatar{
  position:absolute!important;
  left:16px!important;
  bottom:-22px!important;
  width:58px!important;height:58px!important;
  border:5px solid #fff!important;
  border-radius:20px!important;
  margin:0!important;
  background:#fff linear-gradient(135deg,#eef2ff,#dbeafe)!important;
  background-size:cover!important;
  background-position:center!important;
  box-shadow:0 12px 28px rgba(15,23,42,.16)!important;
}
.tl-bio-preview-hero .bio-preview-tl-badge{
  position:absolute!important;
  right:12px!important;
  bottom:12px!important;
  min-height:26px!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.92)!important;
  color:#4f46e5!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
}
.tl-bio-preview-copy{padding:0 4px!important}
.tl-bio-preview-copy h3{
  margin:0 0 5px!important;
  color:#0f172a!important;
  font-size:18px!important;
  line-height:1.15!important;
  letter-spacing:-.035em!important;
  font-weight:950!important;
}
.tl-bio-preview-copy p{
  margin:0!important;
  color:#475569!important;
  font-size:12px!important;
  line-height:1.48!important;
}
.tl-bio-preview-links{
  display:grid!important;
  gap:8px!important;
  margin-top:2px!important;
}
.tl-bio-preview-links a,
.bio-preview-pro .tl-bio-preview-links a{
  min-height:38px!important;
  border-radius:14px!important;
  background:#0f172a!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:9px 12px!important;
  font-size:12px!important;
  font-weight:900!important;
  text-decoration:none!important;
  box-shadow:0 8px 20px rgba(15,23,42,.12)!important;
}
.tl-bio-preview-links a:nth-child(2){background:#111827!important}
.tl-bio-preview-links a:nth-child(3){background:#1e293b!important}
.bio-preview-socials{display:flex!important;justify-content:center!important;gap:8px!important;margin-top:2px!important}
.bio-preview-socials span{
  width:30px!important;height:30px!important;
  border-radius:999px!important;
  background:#eef2ff!important;
  color:#4f46e5!important;
  display:grid!important;place-items:center!important;
  font-size:10px!important;font-weight:950!important;
  box-shadow:inset 0 0 0 1px #dbeafe!important;
}
.tl-bio-preview-slug{
  display:block!important;
  text-align:center!important;
  color:#475569!important;
  font-size:11px!important;
  font-weight:700!important;
  margin-top:auto!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Studio/block preview compact balance */
.tl-phone-pro{
  max-width:320px!important;
  margin:0 auto!important;
  padding:10px!important;
  border-radius:32px!important;
}
.tl-phone-page{
  min-height:480px!important;
  max-height:560px!important;
  padding:14px!important;
  border-radius:24px!important;
  overflow:hidden!important;
}
.tl-phone-cover{
  height:84px!important;
  margin:-14px -14px 0!important;
}
.tl-phone-avatar{width:64px!important;height:64px!important;border-radius:20px!important;margin:-30px auto 8px!important}
.tl-phone-profile h2{font-size:18px!important;line-height:1.2!important;margin:0 0 5px!important}
.tl-phone-profile p{font-size:12px!important;line-height:1.45!important;margin:0!important}
.tl-phone-links{gap:8px!important;margin-top:12px!important}
.tl-phone-links a{min-height:38px!important;border-radius:13px!important;font-size:12px!important;padding:8px 10px!important}
.tl-phone-socials{gap:7px!important;margin-top:10px!important}
.tl-phone-socials span{width:28px!important;height:28px!important;font-size:11px!important}

@media(max-width:1180px){
  .tl-short-preview-card,.tl-bio-preview-card,.tl-live-preview-panel{position:relative!important;top:auto!important}
  .tl-preview-phone{max-width:340px!important}
}
@media(max-width:640px){
  .tl-preview-phone{max-width:100%!important;border-width:8px!important;border-radius:28px!important}
  .tl-preview-screen{min-height:360px!important;max-height:none!important}
  .tl-preview-meta-grid{grid-template-columns:1fr 1fr!important}
}


/* =========================================================
   v129.4 Render-source verified final override
   Root cause fix: real rendered routes use body classes
   .tl-route-create-shortlink and .tl-route-biolinks, while older
   duplicate preview CSS appears earlier. These scoped selectors
   intentionally sit last and beat duplicate rules.
   ========================================================= */
body.tl-route-create-shortlink .tl-short-preview-card{
  width:100%!important;
  max-width:360px!important;
  position:sticky!important;
  top:92px!important;
  align-self:start!important;
  padding:0!important;
}
body.tl-route-create-shortlink .tl-short-preview-card>.tl-card-head{
  padding:16px 18px!important;
  min-height:auto!important;
  margin:0!important;
}
body.tl-route-create-shortlink .tl-short-preview-card .tl-preview-phone{
  width:100%!important;
  max-width:306px!important;
  min-height:0!important;
  height:auto!important;
  margin:16px auto 18px!important;
  padding:9px!important;
  border:9px solid #0f172a!important;
  border-radius:31px!important;
  background:#0f172a!important;
}
body.tl-route-create-shortlink .tl-short-preview-card .tl-preview-screen{
  min-height:384px!important;
  max-height:500px!important;
  height:auto!important;
  padding:16px!important;
  gap:12px!important;
  justify-content:flex-start!important;
  border-radius:21px!important;
}
body.tl-route-create-shortlink .tl-short-preview-url{
  font-size:15px!important;
  line-height:1.32!important;
  font-weight:950!important;
  color:#0f172a!important;
}
body.tl-route-create-shortlink .tl-short-preview-dest{
  font-size:12px!important;
  min-height:40px!important;
  max-height:72px!important;
  overflow:hidden!important;
}
body.tl-route-create-shortlink .tl-preview-meta-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
}
body.tl-route-create-shortlink .tl-preview-meta-grid>div{padding:9px!important}

body.tl-route-biolinks .tl-bio-preview-card{
  width:100%!important;
  max-width:360px!important;
  position:sticky!important;
  top:92px!important;
  align-self:start!important;
  padding:0!important;
}
body.tl-route-biolinks .tl-bio-preview-card>.tl-panel-head,
body.tl-route-biolinks .tl-bio-preview-card>.tl-preview-card-head{
  padding:16px 18px!important;
  min-height:auto!important;
  margin:0!important;
}
body.tl-route-biolinks .tl-bio-preview-card .tl-preview-phone,
body.tl-route-biolinks #bioPreviewPhone{
  width:100%!important;
  max-width:292px!important;
  min-height:0!important;
  height:auto!important;
  max-height:560px!important;
  margin:14px auto 18px!important;
  padding:9px!important;
  border:9px solid #0f172a!important;
  border-radius:31px!important;
  background:#0f172a!important;
  display:block!important;
  align-content:initial!important;
}
body.tl-route-biolinks #bioPreviewPhone>.tl-preview-screen{
  min-height:442px!important;
  max-height:538px!important;
  height:auto!important;
  padding:13px!important;
  gap:10px!important;
  justify-content:flex-start!important;
  align-content:start!important;
  border-radius:21px!important;
}
body.tl-route-biolinks .tl-bio-preview-hero{
  min-height:96px!important;
  margin-bottom:18px!important;
}
body.tl-route-biolinks .tl-bio-preview-copy h3{
  font-size:17px!important;
  margin:0 0 5px!important;
}
body.tl-route-biolinks .tl-bio-preview-copy p{
  font-size:11.5px!important;
  line-height:1.42!important;
}
body.tl-route-biolinks .tl-bio-preview-links{
  gap:7px!important;
}
body.tl-route-biolinks .tl-bio-preview-links a{
  min-height:36px!important;
  font-size:11.5px!important;
  border-radius:13px!important;
  padding:8px 10px!important;
}
body.tl-route-biolinks .bio-preview-socials span{
  width:28px!important;
  height:28px!important;
}
body.tl-route-biolinks .tl-bio-preview-slug{
  font-size:10.5px!important;
  margin-top:auto!important;
}

/* Also scope the block builder route because it has a separate phone markup. */
body.tl-route-biolink-blocks .tl-preview-card .tl-phone-pro{
  max-width:292px!important;
  width:100%!important;
  padding:9px!important;
  border-radius:30px!important;
}
body.tl-route-biolink-blocks .tl-preview-card .tl-phone-page{
  min-height:460px!important;
  max-height:540px!important;
  padding:13px!important;
}
body.tl-route-biolink-blocks .tl-preview-card .tl-phone-cover{
  height:78px!important;
  margin:-13px -13px 0!important;
}
body.tl-route-biolink-blocks .tl-preview-card .tl-phone-avatar{
  width:58px!important;
  height:58px!important;
  margin:-28px auto 8px!important;
}
body.tl-route-biolink-blocks .tl-preview-card .tl-phone-links a{
  min-height:36px!important;
  font-size:11.5px!important;
}

@media(max-width:1180px){
  body.tl-route-create-shortlink .tl-short-preview-card,
  body.tl-route-biolinks .tl-bio-preview-card{
    position:relative!important;
    top:auto!important;
    max-width:none!important;
  }
}


/* =========================================================
   v129.5 FULL DASHBOARD LAYOUT COMPACT LAYER
   Root cause: app.css contains multiple historical layout generations.
   This final layer removes excessive whitespace by route-scoped, content-driven sizing.
   ========================================================= */
:root{
  --tl-compact-gap:16px;
  --tl-compact-gap-sm:12px;
  --tl-compact-pad:16px;
  --tl-compact-radius:18px;
}

/* Global app shell density */
body.tl-app-body .tl-content{
  padding:16px 18px 28px!important;
  gap:16px!important;
  display:grid!important;
  align-content:start!important;
}
body.tl-app-body .tl-standard-page{
  gap:16px!important;
}
body.tl-app-body .tl-content-grid,
body.tl-app-body .tl-command-grid-main,
body.tl-app-body .tl-command-grid-three,
body.tl-app-body .tl-command-grid-bottom,
body.tl-app-body .tl-analytics-workspace,
body.tl-app-body .tl-content-grid[data-studio-pane="builder"]{
  gap:16px!important;
  align-items:start!important;
}

/* Headers should be content driven, not tall hero blocks */
body.tl-app-body .tl-page-header{
  min-height:0!important;
  padding:16px!important;
  border-radius:18px!important;
  gap:12px!important;
  margin:0!important;
  align-items:center!important;
}
body.tl-app-body .tl-page-header.compact{
  min-height:0!important;
}
body.tl-app-body .tl-page-header-icon{
  width:44px!important;
  height:44px!important;
  border-radius:14px!important;
}
body.tl-app-body .tl-page-header h1{
  font-size:clamp(22px,2vw,28px)!important;
  line-height:1.1!important;
  margin:0!important;
}
body.tl-app-body .tl-page-header p{
  margin:4px 0 0!important;
  font-size:13px!important;
  line-height:1.45!important;
  max-width:920px!important;
}
body.tl-app-body .tl-page-header-actions{
  gap:8px!important;
}

/* Cards and panels */
body.tl-app-body .tl-card,
body.tl-app-body .tl-table-card,
body.tl-app-body .tl-data-panel,
body.tl-app-body .tl-form-card,
body.tl-app-body .tl-chart-card{
  padding:16px!important;
  border-radius:18px!important;
  min-height:0!important;
  height:auto!important;
}
body.tl-app-body .tl-card-head{
  min-height:0!important;
  margin-bottom:12px!important;
  padding:0!important;
  gap:10px!important;
}
body.tl-app-body .tl-card-head h1,
body.tl-app-body .tl-card-head h2,
body.tl-app-body .tl-card-head h3{
  margin:0!important;
  line-height:1.15!important;
}

/* KPI/stat cards */
body.tl-app-body .tl-stat-grid,
body.tl-app-body .tl-stat-grid.six,
body.tl-app-body .tl-stat-grid-pro,
body.tl-app-body .tl-stat-grid-6,
body.tl-app-body .tl-command-kpis{
  gap:12px!important;
  align-items:stretch!important;
}
body.tl-app-body .tl-stat-card,
body.tl-app-body .tl-command-kpis .tl-stat-card{
  min-height:78px!important;
  height:auto!important;
  padding:14px!important;
  border-radius:16px!important;
  gap:10px!important;
}
body.tl-app-body .tl-stat-card b{
  font-size:clamp(21px,2vw,28px)!important;
  line-height:1.05!important;
}
body.tl-app-body .tl-stat-card p{
  margin:2px 0 0!important;
}

/* Forms, filters, lists */
body.tl-app-body .tl-form,
body.tl-app-body .tl-form-grid,
body.tl-app-body .tl-form-grid.two,
body.tl-app-body .tl-form-grid.three,
body.tl-app-body .tl-form-row{
  gap:12px!important;
}
body.tl-app-body .tl-filter-bar,
body.tl-app-body .tl-toolbar,
body.tl-app-body .tl-action-bar:not(.tl-page-header-actions):not(.tl-table-actions){
  padding:12px!important;
  gap:10px!important;
  margin-bottom:12px!important;
  border-radius:16px!important;
}
body.tl-app-body textarea{
  min-height:96px!important;
}
body.tl-app-body .tl-table th,
body.tl-app-body .tl-table td{
  height:38px!important;
  padding:0 10px!important;
}

/* Empty states should not create huge blank cards */
body.tl-app-body .tl-empty-state,
body.tl-app-body .tl-empty-state-pro,
body.tl-app-body .tl-empty-domain{
  min-height:110px!important;
  padding:22px 16px!important;
  border-radius:16px!important;
}
body.tl-app-body .tl-empty-state:before{
  width:72px!important;
  height:48px!important;
}

/* Dashboard route */
body.tl-route-dashboard .tl-content-grid{
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr)!important;
}
body.tl-route-dashboard .tl-card-wide,
body.tl-route-dashboard .tl-data-panel{
  min-height:0!important;
}
body.tl-route-dashboard .chart-bars,
body.tl-route-dashboard .tl-mini-bars{
  min-height:180px!important;
  max-height:260px!important;
}

/* Analytics route */
body.tl-route-analytics .tl-page-header{
  min-height:0!important;
}
body.tl-route-analytics .tl-analytics-workspace{
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.8fr)!important;
  gap:16px!important;
}
body.tl-route-analytics .tl-analytics-workspace .tl-chart-card{
  grid-row:auto!important;
}
body.tl-route-analytics .tl-analytics-workspace .tl-chart-card .chart-bars{
  min-height:220px!important;
  max-height:300px!important;
}
body.tl-route-analytics .tl-analytics-workspace .tl-compact-panel .tl-table-wrap{
  max-height:220px!important;
}

/* Shortlinks and preview routes */
body.tl-route-create-shortlink .tl-page-grid-preview,
body.tl-route-shortlinks .tl-page-grid-preview{
  grid-template-columns:minmax(0,1fr) minmax(300px,340px)!important;
  gap:16px!important;
}
body.tl-route-create-shortlink .tl-short-preview-card{
  top:86px!important;
}

/* Biolinks create */
body.tl-route-biolinks .tl-biolink-create,
body.tl-route-biolinks .tl-page-grid-preview{
  grid-template-columns:minmax(0,1fr) minmax(300px,340px)!important;
  gap:16px!important;
}
body.tl-route-biolinks .tl-canvas-section{
  padding:14px!important;
  border-radius:16px!important;
}
body.tl-route-biolinks .tl-sticky-savebar{
  padding:12px!important;
  border-radius:16px!important;
}
body.tl-route-biolinks .tl-bio-preview-card{
  top:86px!important;
}

/* Biolink Builder / Studio */
body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
  grid-template-columns:220px minmax(0,1fr) 320px!important;
  gap:14px!important;
}
body.tl-route-biolink-blocks .tl-block-library-panel,
body.tl-route-biolink-blocks .tl-library-card,
body.tl-route-biolink-blocks .tl-live-preview-panel,
body.tl-route-biolink-blocks .tl-preview-card{
  top:86px!important;
  max-height:calc(100vh - 104px)!important;
  padding:14px!important;
}
body.tl-route-biolink-blocks .tl-studio-toolbar{
  height:auto!important;
  min-height:44px!important;
  padding:6px!important;
  top:74px!important;
}
body.tl-route-biolink-blocks .tl-studio-block{
  padding:12px!important;
  border-radius:16px!important;
}

/* Domain, QR, Admin, CRUD pages */
body.tl-route-domains .tl-content-grid,
body.tl-route-qrcodes .tl-content-grid,
body.tl-route-admin .tl-content-grid,
body.tl-route-admin-content .tl-content-grid,
body.tl-route-check-domain-tool .tl-content-grid,
body.tl-route-check-domain-full .tl-content-grid,
body.tl-route-isp-redirect-intelligence .tl-content-grid{
  gap:16px!important;
}
body.tl-route-admin-content .tl-form-pro{
  gap:12px!important;
}
body.tl-route-admin-content .tl-crud-form-section{
  padding:14px!important;
  border-radius:16px!important;
}

/* Preview heights */
body.tl-app-body .tl-preview-phone{
  min-height:0!important;
}
body.tl-app-body .tl-phone-page{
  min-height:440px!important;
  max-height:540px!important;
}
body.tl-route-biolink-blocks .tl-phone-page{
  min-height:430px!important;
  max-height:520px!important;
}

/* Responsive */
@media(max-width:1180px){
  body.tl-app-body .tl-content-grid,
  body.tl-app-body .tl-page-grid-preview,
  body.tl-app-body .tl-biolink-create,
  body.tl-route-dashboard .tl-content-grid,
  body.tl-route-analytics .tl-analytics-workspace,
  body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
  body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
    grid-template-columns:1fr!important;
  }
  body.tl-app-body .tl-preview-card,
  body.tl-app-body .tl-live-preview-panel,
  body.tl-app-body .tl-library-card,
  body.tl-app-body .tl-block-library-panel{
    position:relative!important;
    top:auto!important;
    max-height:none!important;
  }
}
@media(max-width:640px){
  body.tl-app-body .tl-content{
    padding:12px!important;
    gap:12px!important;
  }
  body.tl-app-body .tl-page-header{
    grid-template-columns:40px minmax(0,1fr)!important;
    padding:14px!important;
  }
  body.tl-app-body .tl-card,
  body.tl-app-body .tl-table-card,
  body.tl-app-body .tl-data-panel,
  body.tl-app-body .tl-form-card{
    padding:14px!important;
  }
  body.tl-app-body .tl-stat-grid,
  body.tl-app-body .tl-stat-grid.six,
  body.tl-app-body .tl-stat-grid-pro,
  body.tl-app-body .tl-command-kpis{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   v129.6 ULTRA COMPACT DASHBOARD LAYER
   Use after v129.5. Purpose: reduce remaining large whitespace
   while preserving readability and responsive SaaS layout.
   ========================================================= */
:root{
  --tl-ultra-gap:10px;
  --tl-ultra-gap-lg:12px;
  --tl-ultra-pad:12px;
  --tl-ultra-radius:14px;
}

/* Shell density */
body.tl-app-body .tl-content{
  padding:12px 14px 22px!important;
  gap:12px!important;
}
body.tl-app-body .tl-standard-page,
body.tl-app-body .tl-studio-shell,
body.tl-app-body .tl-crud-workspace,
body.tl-app-body .tl-admin-workspace{
  gap:12px!important;
}

/* Topbar and global wrapper */
body.tl-app-body .tl-topbar{
  height:64px!important;
  min-height:64px!important;
  padding:0 14px!important;
}
body.tl-app-body .tl-topbar-context-copy small{
  display:none!important;
}
body.tl-app-body .tl-search{
  height:38px!important;
}

/* Header: compact page title only */
body.tl-app-body .tl-page-header{
  min-height:0!important;
  padding:12px 14px!important;
  border-radius:15px!important;
  gap:10px!important;
}
body.tl-app-body .tl-page-header-icon{
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
}
body.tl-app-body .tl-page-header h1{
  font-size:22px!important;
}
body.tl-app-body .tl-page-header p{
  font-size:12px!important;
  line-height:1.35!important;
  margin-top:2px!important;
}
body.tl-app-body .tl-page-kicker{
  font-size:10px!important;
  margin-bottom:2px!important;
}

/* Grid gap normalization */
body.tl-app-body .tl-content-grid,
body.tl-app-body .tl-stat-grid,
body.tl-app-body .tl-stat-grid.six,
body.tl-app-body .tl-stat-grid-pro,
body.tl-app-body .tl-stat-grid-6,
body.tl-app-body .tl-command-kpis,
body.tl-app-body .tl-page-grid-preview,
body.tl-app-body .tl-biolink-create,
body.tl-app-body .tl-analytics-workspace,
body.tl-app-body .tl-form-grid,
body.tl-app-body .tl-form-grid.two,
body.tl-app-body .tl-form-grid.three,
body.tl-app-body .tl-form-row{
  gap:10px!important;
}

/* Cards */
body.tl-app-body .tl-card,
body.tl-app-body .tl-table-card,
body.tl-app-body .tl-data-panel,
body.tl-app-body .tl-form-card,
body.tl-app-body .tl-chart-card,
body.tl-app-body .tl-stat-card{
  padding:12px!important;
  border-radius:14px!important;
  min-height:0!important;
}
body.tl-app-body .tl-card-head{
  margin-bottom:8px!important;
  gap:8px!important;
}
body.tl-app-body .tl-card-head h1,
body.tl-app-body .tl-card-head h2,
body.tl-app-body .tl-card-head h3{
  font-size:16px!important;
}
body.tl-app-body .tl-card-head p,
body.tl-app-body .tl-card-head small,
body.tl-app-body .tl-muted{
  font-size:11.5px!important;
  line-height:1.35!important;
}

/* KPI cards smaller */
body.tl-app-body .tl-stat-card,
body.tl-app-body .tl-command-kpis .tl-stat-card{
  min-height:64px!important;
  padding:10px 12px!important;
  gap:8px!important;
}
body.tl-app-body .tl-stat-card b{
  font-size:22px!important;
}
body.tl-app-body .tl-stat-card span,
body.tl-app-body .tl-stat-card small{
  font-size:10.5px!important;
}
body.tl-app-body .tl-stat-icon{
  width:32px!important;
  height:32px!important;
  border-radius:10px!important;
}

/* Buttons and badges */
body.tl-app-body .tl-btn{
  min-height:34px!important;
  padding:7px 10px!important;
  border-radius:10px!important;
  font-size:12px!important;
}
body.tl-app-body .tl-btn-sm{
  min-height:30px!important;
  padding:6px 9px!important;
}
body.tl-app-body .tl-badge,
body.tl-app-body .tl-mini-badge,
body.tl-app-body .tl-pill,
body.tl-app-body .tl-status,
body.tl-app-body .tl-chip{
  min-height:22px!important;
  padding:3px 8px!important;
  font-size:10.5px!important;
}

/* Forms */
body.tl-app-body input,
body.tl-app-body select{
  min-height:36px!important;
}
body.tl-app-body textarea{
  min-height:78px!important;
}
body.tl-app-body label{
  gap:5px!important;
  font-size:12px!important;
}
body.tl-app-body .tl-field{
  gap:6px!important;
}
body.tl-app-body .tl-filter-bar,
body.tl-app-body .tl-toolbar,
body.tl-app-body .tl-action-bar:not(.tl-page-header-actions):not(.tl-table-actions){
  padding:9px 10px!important;
  margin-bottom:8px!important;
  border-radius:12px!important;
  gap:8px!important;
}

/* Tables */
body.tl-app-body .tl-table th,
body.tl-app-body .tl-table td{
  height:34px!important;
  padding:0 8px!important;
  font-size:12px!important;
}
body.tl-app-body .tl-table-wrap,
body.tl-app-body .tl-table-shell{
  border-radius:14px!important;
}

/* Empty states */
body.tl-app-body .tl-empty-state,
body.tl-app-body .tl-empty-state-pro,
body.tl-app-body .tl-empty-domain{
  min-height:82px!important;
  padding:16px 12px!important;
}
body.tl-app-body .tl-empty-state:before{
  display:none!important;
}

/* Dashboard-specific ultra density */
body.tl-route-dashboard .tl-content-grid{
  grid-template-columns:minmax(0,1.48fr) minmax(280px,.78fr)!important;
}
body.tl-route-dashboard .chart-bars,
body.tl-route-dashboard .tl-mini-bars{
  min-height:150px!important;
  max-height:220px!important;
}

/* Analytics */
body.tl-route-analytics .tl-analytics-workspace{
  grid-template-columns:minmax(0,1.48fr) minmax(300px,.78fr)!important;
}
body.tl-route-analytics .chart-bars{
  min-height:180px!important;
  max-height:260px!important;
}
body.tl-route-analytics .tl-compact-panel .tl-table-wrap{
  max-height:190px!important;
}

/* Shortlinks / Biolinks create */
body.tl-route-create-shortlink .tl-page-grid-preview,
body.tl-route-shortlinks .tl-page-grid-preview,
body.tl-route-biolinks .tl-biolink-create,
body.tl-route-biolinks .tl-page-grid-preview{
  grid-template-columns:minmax(0,1fr) minmax(280px,320px)!important;
}
body.tl-route-create-shortlink .tl-preview-phone,
body.tl-route-biolinks .tl-preview-phone{
  max-width:270px!important;
  border-width:8px!important;
  padding:8px!important;
  margin:10px auto 12px!important;
}
body.tl-route-create-shortlink .tl-preview-screen{
  min-height:330px!important;
  max-height:440px!important;
  padding:12px!important;
  gap:8px!important;
}
body.tl-route-biolinks #bioPreviewPhone>.tl-preview-screen{
  min-height:390px!important;
  max-height:500px!important;
  padding:11px!important;
  gap:8px!important;
}
body.tl-route-biolinks .tl-bio-preview-hero{
  min-height:82px!important;
  margin-bottom:16px!important;
}
body.tl-route-biolinks .tl-bio-preview-links a{
  min-height:32px!important;
  font-size:11px!important;
}

/* Biolink builder */
body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
  grid-template-columns:200px minmax(0,1fr) 300px!important;
  gap:10px!important;
}
body.tl-route-biolink-blocks .tl-block-library-panel,
body.tl-route-biolink-blocks .tl-library-card,
body.tl-route-biolink-blocks .tl-live-preview-panel,
body.tl-route-biolink-blocks .tl-preview-card{
  padding:10px!important;
  top:74px!important;
  max-height:calc(100vh - 88px)!important;
}
body.tl-route-biolink-blocks .tl-phone-pro{
  max-width:268px!important;
}
body.tl-route-biolink-blocks .tl-phone-page{
  min-height:380px!important;
  max-height:480px!important;
  padding:10px!important;
}
body.tl-route-biolink-blocks .tl-phone-cover{
  height:66px!important;
  margin:-10px -10px 0!important;
}
body.tl-route-biolink-blocks .tl-phone-avatar{
  width:50px!important;
  height:50px!important;
  margin:-24px auto 6px!important;
}
body.tl-route-biolink-blocks .tl-phone-links{
  gap:6px!important;
  margin-top:8px!important;
}
body.tl-route-biolink-blocks .tl-phone-links a{
  min-height:30px!important;
  font-size:10.5px!important;
}

/* Admin CRUD */
body.tl-route-admin-content .tl-crud-form-section,
body.tl-route-admin-content .tl-filter-card,
body.tl-route-admin-content .tl-crud-card{
  padding:10px!important;
  border-radius:14px!important;
}
body.tl-route-admin-content .tl-crud-field-grid,
body.tl-route-admin-content .tl-crud-field-grid-pro{
  gap:10px!important;
}

/* Sidebar a little denser */
body.tl-app-body .tl-sidebar{
  padding:12px 8px!important;
}
body.tl-app-body .tl-nav-item{
  min-height:34px!important;
  padding:8px 10px!important;
}
body.tl-app-body .tl-nav-label{
  margin:10px 8px 5px!important;
}

/* Responsive fallback */
@media(max-width:1180px){
  body.tl-route-dashboard .tl-content-grid,
  body.tl-route-analytics .tl-analytics-workspace,
  body.tl-route-create-shortlink .tl-page-grid-preview,
  body.tl-route-shortlinks .tl-page-grid-preview,
  body.tl-route-biolinks .tl-biolink-create,
  body.tl-route-biolinks .tl-page-grid-preview,
  body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
  body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:640px){
  body.tl-app-body .tl-content{
    padding:10px!important;
    gap:10px!important;
  }
  body.tl-app-body .tl-page-header{
    padding:12px!important;
  }
  body.tl-app-body .tl-card,
  body.tl-app-body .tl-table-card,
  body.tl-app-body .tl-data-panel,
  body.tl-app-body .tl-form-card{
    padding:12px!important;
  }
}


/* =========================================================
   v129.7 LAYOUT ORDER + DENSITY REFINEMENT
   Goal: cleaner visual order, denser route sections, less vertical scanning.
   ========================================================= */

/* Standard route order: Header -> Stats -> Main workspace */
body.tl-app-body .tl-page-header + .tl-stat-grid,
body.tl-app-body .tl-page-header + .tl-stat-grid-pro,
body.tl-app-body .tl-page-header + .tl-stat-grid.six{
  margin-top:0!important;
}
body.tl-app-body .tl-stat-grid + .tl-content-grid,
body.tl-app-body .tl-stat-grid + .tl-card,
body.tl-app-body .tl-stat-grid + .tl-table-card,
body.tl-app-body .tl-stat-grid + .tl-page-grid-preview{
  margin-top:0!important;
}

/* Compact horizontal page header layout */
body.tl-app-body .tl-page-header{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto!important;
}
body.tl-app-body .tl-page-header .tl-stat-grid{
  grid-column:1/-1!important;
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:8px!important;
}
body.tl-app-body .tl-page-header .tl-stat-card{
  min-height:54px!important;
  padding:8px 10px!important;
  border-radius:12px!important;
}
body.tl-app-body .tl-page-header .tl-stat-card b{
  font-size:20px!important;
}

/* Dashboard: better order and no oversized right column */
body.tl-route-dashboard .tl-content{
  grid-template-columns:1fr!important;
}
body.tl-route-dashboard .tl-command-kpis,
body.tl-route-dashboard .tl-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.tl-route-dashboard .tl-content-grid{
  grid-template-columns:minmax(0,1.4fr) minmax(280px,.75fr)!important;
  gap:10px!important;
}
body.tl-route-dashboard .tl-content-grid > *{
  min-height:0!important;
}
body.tl-route-dashboard .tl-card-wide{
  grid-column:auto!important;
}

/* Shortlink create: form first, preview fixed narrow right, stats not too tall */
body.tl-route-create-shortlink .tl-stat-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
body.tl-route-create-shortlink .tl-page-grid-preview{
  grid-template-columns:minmax(0,1fr) 286px!important;
  align-items:start!important;
}
body.tl-route-create-shortlink .tl-page-grid-preview > .tl-card:not(.tl-preview-card){
  order:1!important;
}
body.tl-route-create-shortlink .tl-short-preview-card{
  order:2!important;
  max-width:286px!important;
}
body.tl-route-create-shortlink .tl-short-preview-card .tl-card-head p{
  display:none!important;
}

/* Shortlink list: compact table after stats */
body.tl-route-shortlinks .tl-stat-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
body.tl-route-shortlinks .tl-table-card,
body.tl-route-shortlinks .tl-card{
  margin-top:0!important;
}

/* Biolinks: move stats inside header compact, builder grid balanced */
body.tl-route-biolinks .tl-page-header{
  grid-template-columns:38px minmax(0,1fr)!important;
}
body.tl-route-biolinks .tl-page-header .tl-page-header-actions{
  margin-top:6px!important;
}
body.tl-route-biolinks .tl-biolink-studio-v125,
body.tl-route-biolinks .tl-biolink-create{
  display:grid!important;
  grid-template-columns:200px minmax(0,1fr) 286px!important;
  gap:10px!important;
  align-items:start!important;
}
body.tl-route-biolinks .tl-block-library-panel{
  order:1!important;
}
body.tl-route-biolinks .tl-biolink-canvas-panel{
  order:2!important;
}
body.tl-route-biolinks .tl-bio-preview-card,
body.tl-route-biolinks .tl-live-preview-panel{
  order:3!important;
  max-width:286px!important;
}
body.tl-route-biolinks .tl-panel-head p{
  display:none!important;
}
body.tl-route-biolinks .tl-canvas-section-head small{
  display:none!important;
}

/* Biolink builder: tighter 3 column studio, compact block rows */
body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
  grid-template-columns:190px minmax(0,1fr) 286px!important;
  gap:10px!important;
}
body.tl-route-biolink-blocks .tl-library-item,
body.tl-route-biolink-blocks .tl-block-row{
  min-height:38px!important;
  height:38px!important;
  padding:6px 8px!important;
  border-radius:11px!important;
}
body.tl-route-biolink-blocks .tl-library-item small,
body.tl-route-biolink-blocks .tl-block-row small{
  display:none!important;
}
body.tl-route-biolink-blocks .tl-studio-block-main{
  grid-template-columns:26px 34px minmax(0,1fr) auto!important;
  gap:8px!important;
}
body.tl-route-biolink-blocks .tl-studio-block-main .handle{
  width:24px!important;
}
body.tl-route-biolink-blocks .tl-studio-block{
  margin-bottom:8px!important;
}

/* Analytics: stats one row, chart/list order */
body.tl-route-analytics .tl-stat-grid,
body.tl-route-analytics .tl-stat-grid.six{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
body.tl-route-analytics .tl-analytics-workspace{
  grid-template-columns:minmax(0,1.38fr) minmax(280px,.72fr)!important;
}
body.tl-route-analytics .tl-analytics-workspace .tl-chart-card{
  order:1!important;
}
body.tl-route-analytics .tl-analytics-workspace .tl-data-panel,
body.tl-route-analytics .tl-analytics-workspace .tl-compact-panel{
  order:2!important;
}

/* Domains & QR: stats compact, form/list order */
body.tl-route-domains .tl-stat-grid,
body.tl-route-qrcodes .tl-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.tl-route-qrcodes #create-qr{
  order:1!important;
}
body.tl-route-qrcodes .tl-table-card{
  order:2!important;
}

/* Admin */
body.tl-route-admin .tl-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.tl-route-admin-content .tl-resource-tabs{
  gap:6px!important;
  margin-bottom:8px!important;
}
body.tl-route-admin-content .tl-resource-tabs a{
  height:34px!important;
  padding:0 9px!important;
  border-radius:10px!important;
  font-size:11.5px!important;
}
body.tl-route-admin-content .tl-crud-field-grid,
body.tl-route-admin-content .tl-crud-field-grid-pro{
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;
}

/* Generic reduce long descriptions where they create vertical noise */
body.tl-app-body .tl-page-header-text p{
  max-width:760px!important;
}
body.tl-app-body .tl-card-head p:empty,
body.tl-app-body small:empty{
  display:none!important;
}

/* At laptop width, keep order but collapse columns earlier */
@media(max-width:1280px){
  body.tl-route-biolinks .tl-biolink-studio-v125,
  body.tl-route-biolinks .tl-biolink-create,
  body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
  body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
    grid-template-columns:180px minmax(0,1fr) 270px!important;
  }
}
@media(max-width:1080px){
  body.tl-route-create-shortlink .tl-page-grid-preview,
  body.tl-route-biolinks .tl-biolink-studio-v125,
  body.tl-route-biolinks .tl-biolink-create,
  body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
  body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"],
  body.tl-route-dashboard .tl-content-grid,
  body.tl-route-analytics .tl-analytics-workspace{
    grid-template-columns:1fr!important;
  }
  body.tl-route-create-shortlink .tl-short-preview-card,
  body.tl-route-biolinks .tl-bio-preview-card,
  body.tl-route-biolinks .tl-live-preview-panel{
    max-width:none!important;
  }
}
@media(max-width:760px){
  body.tl-app-body .tl-page-header{
    grid-template-columns:34px minmax(0,1fr)!important;
  }
  body.tl-app-body .tl-page-header-actions{
    grid-column:1/-1!important;
  }
  body.tl-route-dashboard .tl-command-kpis,
  body.tl-route-dashboard .tl-stat-grid,
  body.tl-route-shortlinks .tl-stat-grid,
  body.tl-route-create-shortlink .tl-stat-grid,
  body.tl-route-analytics .tl-stat-grid,
  body.tl-route-analytics .tl-stat-grid.six,
  body.tl-route-domains .tl-stat-grid,
  body.tl-route-qrcodes .tl-stat-grid,
  body.tl-route-admin .tl-stat-grid,
  body.tl-app-body .tl-page-header .tl-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* =========================================================
   v129.8 SAAS PERFECT LAYOUT FINAL LAYER
   Final visual normalization after full audit.
   Keeps old CSS intact, but forces all dashboard routes into a clean,
   compact, balanced Enterprise SaaS order.
   ========================================================= */

/* 1) Perfect rhythm: everything is content-driven */
body.tl-app-body{
  --tl-perfect-gap:10px;
  --tl-perfect-pad:12px;
  --tl-perfect-radius:14px;
}
body.tl-app-body .tl-main{
  min-width:0!important;
}
body.tl-app-body .tl-content{
  max-width:none!important;
  width:100%!important;
  min-height:0!important;
  padding:12px 14px 20px!important;
  gap:10px!important;
  align-content:start!important;
}
body.tl-app-body .tl-content > *{
  min-width:0!important;
}

/* 2) Standardized page header: compact but premium */
body.tl-app-body .tl-page-header{
  min-height:0!important;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:11px 12px!important;
  border-radius:14px!important;
  margin:0!important;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(248,250,252,.94))!important;
  box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
}
body.tl-app-body .tl-page-header-icon{
  width:36px!important;
  height:36px!important;
  border-radius:11px!important;
}
body.tl-app-body .tl-page-header-text{
  min-width:0!important;
}
body.tl-app-body .tl-page-header-text h1{
  font-size:21px!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
  margin:0!important;
}
body.tl-app-body .tl-page-header-text p{
  margin:2px 0 0!important;
  max-width:780px!important;
  font-size:11.7px!important;
  line-height:1.32!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
body.tl-app-body .tl-page-kicker{
  font-size:9.5px!important;
  line-height:1!important;
  margin:0 0 2px!important;
  letter-spacing:.1em!important;
}
body.tl-app-body .tl-page-header-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}

/* 3) Header stats embedded inside header should not create a second hero */
body.tl-app-body .tl-page-header > .tl-stat-grid{
  grid-column:1/-1!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  margin:6px 0 0!important;
}
body.tl-app-body .tl-page-header > .tl-stat-grid .tl-stat-card{
  min-height:48px!important;
  padding:7px 9px!important;
  border-radius:11px!important;
}
body.tl-app-body .tl-page-header > .tl-stat-grid .tl-stat-card b{
  font-size:18px!important;
}

/* 4) Universal card polish */
body.tl-app-body .tl-card,
body.tl-app-body .tl-table-card,
body.tl-app-body .tl-data-panel,
body.tl-app-body .tl-form-card,
body.tl-app-body .tl-chart-card,
body.tl-app-body .tl-stat-card{
  height:auto!important;
  min-height:0!important;
  padding:11px!important;
  border-radius:14px!important;
  box-shadow:0 8px 24px rgba(15,23,42,.04)!important;
}
body.tl-app-body .tl-card-head{
  min-height:0!important;
  margin:0 0 7px!important;
  padding:0!important;
  gap:8px!important;
  align-items:center!important;
}
body.tl-app-body .tl-card-head h1,
body.tl-app-body .tl-card-head h2,
body.tl-app-body .tl-card-head h3{
  margin:0!important;
  font-size:15.5px!important;
  line-height:1.15!important;
}
body.tl-app-body .tl-card-head p,
body.tl-app-body .tl-card-head small{
  margin:2px 0 0!important;
  font-size:11px!important;
  line-height:1.3!important;
}

/* 5) Grids: consistent and never stretched vertically */
body.tl-app-body .tl-standard-page,
body.tl-app-body .tl-content-grid,
body.tl-app-body .tl-stat-grid,
body.tl-app-body .tl-stat-grid.six,
body.tl-app-body .tl-stat-grid-pro,
body.tl-app-body .tl-command-kpis,
body.tl-app-body .tl-page-grid-preview,
body.tl-app-body .tl-biolink-create,
body.tl-app-body .tl-biolink-studio-v125,
body.tl-app-body .tl-analytics-workspace,
body.tl-app-body .tl-crud-workspace,
body.tl-app-body .tl-admin-workspace{
  gap:10px!important;
  align-items:start!important;
  align-content:start!important;
}

/* 6) Stat cards */
body.tl-app-body .tl-stat-grid:not(.tl-page-header .tl-stat-grid){
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
}
body.tl-app-body .tl-stat-card{
  min-height:58px!important;
  padding:9px 10px!important;
}
body.tl-app-body .tl-stat-card b{
  font-size:20px!important;
  line-height:1.05!important;
}
body.tl-app-body .tl-stat-card small,
body.tl-app-body .tl-stat-card span,
body.tl-app-body .tl-stat-card p{
  font-size:10.5px!important;
  line-height:1.25!important;
  margin:0!important;
}

/* 7) Main route layouts */
body.tl-route-dashboard .tl-content-grid{
  grid-template-columns:minmax(0,1.42fr) minmax(260px,.72fr)!important;
  gap:10px!important;
}
body.tl-route-dashboard .tl-command-kpis,
body.tl-route-dashboard .tl-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.tl-route-dashboard .chart-bars,
body.tl-route-dashboard .tl-mini-bars{
  min-height:140px!important;
  max-height:210px!important;
}

body.tl-route-analytics .tl-stat-grid,
body.tl-route-analytics .tl-stat-grid.six{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
body.tl-route-analytics .tl-analytics-workspace{
  grid-template-columns:minmax(0,1.45fr) minmax(260px,.72fr)!important;
}
body.tl-route-analytics .chart-bars{
  min-height:170px!important;
  max-height:240px!important;
}

/* 8) Create/edit workspaces */
body.tl-route-create-shortlink .tl-page-grid-preview,
body.tl-route-shortlinks .tl-page-grid-preview{
  grid-template-columns:minmax(0,1fr) 278px!important;
  gap:10px!important;
}
body.tl-route-create-shortlink .tl-short-preview-card{
  max-width:278px!important;
}
body.tl-route-create-shortlink .tl-preview-screen{
  min-height:310px!important;
  max-height:420px!important;
  padding:10px!important;
  gap:7px!important;
}

body.tl-route-biolinks .tl-biolink-studio-v125,
body.tl-route-biolinks .tl-biolink-create{
  grid-template-columns:190px minmax(0,1fr) 278px!important;
  gap:10px!important;
}
body.tl-route-biolinks .tl-block-library-panel,
body.tl-route-biolinks .tl-bio-preview-card,
body.tl-route-biolinks .tl-live-preview-panel{
  max-width:none!important;
}
body.tl-route-biolinks #bioPreviewPhone{
  max-width:258px!important;
}
body.tl-route-biolinks #bioPreviewPhone > .tl-preview-screen{
  min-height:370px!important;
  max-height:470px!important;
  padding:10px!important;
}
body.tl-route-biolinks .tl-bio-preview-hero{
  min-height:76px!important;
  margin-bottom:14px!important;
}
body.tl-route-biolinks .tl-canvas-section{
  padding:10px!important;
  border-radius:13px!important;
}
body.tl-route-biolinks .tl-canvas-section-head{
  margin-bottom:8px!important;
}
body.tl-route-biolinks .tl-canvas-section-head small,
body.tl-route-biolinks .tl-panel-head p{
  display:none!important;
}

/* 9) Biolink builder, the most space-sensitive route */
body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
  grid-template-columns:184px minmax(0,1fr) 278px!important;
  gap:9px!important;
}
body.tl-route-biolink-blocks .tl-block-library-panel,
body.tl-route-biolink-blocks .tl-library-card,
body.tl-route-biolink-blocks .tl-live-preview-panel,
body.tl-route-biolink-blocks .tl-preview-card{
  padding:9px!important;
  top:72px!important;
  max-height:calc(100vh - 84px)!important;
}
body.tl-route-biolink-blocks .tl-library-item,
body.tl-route-biolink-blocks .tl-block-row{
  height:34px!important;
  min-height:34px!important;
  padding:5px 7px!important;
}
body.tl-route-biolink-blocks .tl-library-item small,
body.tl-route-biolink-blocks .tl-block-row small{
  display:none!important;
}
body.tl-route-biolink-blocks .tl-phone-pro{
  max-width:256px!important;
  padding:8px!important;
}
body.tl-route-biolink-blocks .tl-phone-page{
  min-height:350px!important;
  max-height:450px!important;
  padding:9px!important;
}
body.tl-route-biolink-blocks .tl-phone-cover{
  height:58px!important;
  margin:-9px -9px 0!important;
}
body.tl-route-biolink-blocks .tl-phone-avatar{
  width:46px!important;
  height:46px!important;
  margin:-22px auto 5px!important;
}
body.tl-route-biolink-blocks .tl-phone-links a{
  min-height:28px!important;
  font-size:10.2px!important;
  border-radius:10px!important;
}

/* 10) Admin / CRUD / utility pages */
body.tl-route-admin .tl-stat-grid,
body.tl-route-domains .tl-stat-grid,
body.tl-route-qrcodes .tl-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.tl-route-admin-content .tl-resource-tabs{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(138px,1fr))!important;
  gap:6px!important;
  margin-bottom:8px!important;
}
body.tl-route-admin-content .tl-resource-tabs a{
  height:32px!important;
  border-radius:10px!important;
  padding:0 8px!important;
  font-size:11px!important;
}
body.tl-route-admin-content .tl-form-pro{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
}
body.tl-route-admin-content .tl-crud-form-section{
  padding:9px!important;
}

/* 11) Tables/forms compact */
body.tl-app-body .tl-table th,
body.tl-app-body .tl-table td{
  height:32px!important;
  padding:0 8px!important;
  font-size:11.7px!important;
}
body.tl-app-body input,
body.tl-app-body select{
  min-height:34px!important;
  height:34px!important;
}
body.tl-app-body textarea{
  min-height:72px!important;
}
body.tl-app-body .tl-btn{
  min-height:32px!important;
  padding:6px 9px!important;
}
body.tl-app-body .tl-badge,
body.tl-app-body .tl-mini-badge{
  min-height:21px!important;
  padding:3px 7px!important;
  font-size:10px!important;
}

/* 12) Empty states and blank placeholders */
body.tl-app-body .tl-empty-state,
body.tl-app-body .tl-empty-state-pro,
body.tl-app-body .tl-empty-domain{
  min-height:70px!important;
  padding:14px 10px!important;
}
body.tl-app-body .tl-empty-state:before{
  display:none!important;
}

/* 13) Responsive perfection */
@media(max-width:1180px){
  body.tl-route-dashboard .tl-content-grid,
  body.tl-route-analytics .tl-analytics-workspace,
  body.tl-route-create-shortlink .tl-page-grid-preview,
  body.tl-route-shortlinks .tl-page-grid-preview,
  body.tl-route-biolinks .tl-biolink-studio-v125,
  body.tl-route-biolinks .tl-biolink-create,
  body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
  body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
    grid-template-columns:1fr!important;
  }
  body.tl-app-body .tl-preview-card,
  body.tl-app-body .tl-live-preview-panel,
  body.tl-app-body .tl-library-card,
  body.tl-app-body .tl-block-library-panel{
    position:relative!important;
    top:auto!important;
    max-height:none!important;
  }
}
@media(max-width:760px){
  body.tl-app-body .tl-content{
    padding:9px!important;
    gap:9px!important;
  }
  body.tl-app-body .tl-page-header{
    grid-template-columns:34px minmax(0,1fr)!important;
    padding:10px!important;
  }
  body.tl-app-body .tl-page-header-actions{
    grid-column:1/-1!important;
    justify-content:flex-start!important;
  }
  body.tl-route-dashboard .tl-command-kpis,
  body.tl-route-dashboard .tl-stat-grid,
  body.tl-route-analytics .tl-stat-grid,
  body.tl-route-admin .tl-stat-grid,
  body.tl-route-domains .tl-stat-grid,
  body.tl-route-qrcodes .tl-stat-grid,
  body.tl-app-body .tl-page-header > .tl-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* =========================================================
   v129.9 BALANCED UI FINAL LAYER
   Purpose: keep compact SaaS layout but restore readable font/card sizing.
   Also normalize all checklist/checkbox/radio controls to browser-standard.
   ========================================================= */

/* Base readability */
body.tl-app-body{
  font-size:14px!important;
  line-height:1.5!important;
}
body.tl-app-body .tl-content{
  padding:16px 18px 26px!important;
  gap:14px!important;
}

/* Header balanced */
body.tl-app-body .tl-page-header{
  grid-template-columns:42px minmax(0,1fr) auto!important;
  padding:14px 16px!important;
  border-radius:17px!important;
  gap:12px!important;
}
body.tl-app-body .tl-page-header-icon{
  width:42px!important;
  height:42px!important;
  border-radius:13px!important;
}
body.tl-app-body .tl-page-header-text h1{
  font-size:25px!important;
  line-height:1.1!important;
}
body.tl-app-body .tl-page-header-text p{
  font-size:13px!important;
  line-height:1.45!important;
  margin-top:4px!important;
  -webkit-line-clamp:2!important;
}
body.tl-app-body .tl-page-kicker{
  font-size:10.5px!important;
}

/* Cards balanced */
body.tl-app-body .tl-card,
body.tl-app-body .tl-table-card,
body.tl-app-body .tl-data-panel,
body.tl-app-body .tl-form-card,
body.tl-app-body .tl-chart-card{
  padding:16px!important;
  border-radius:18px!important;
}
body.tl-app-body .tl-card-head{
  margin-bottom:12px!important;
  gap:10px!important;
}
body.tl-app-body .tl-card-head h1,
body.tl-app-body .tl-card-head h2,
body.tl-app-body .tl-card-head h3,
body.tl-app-body .tl-card h3{
  font-size:18px!important;
  line-height:1.2!important;
}
body.tl-app-body .tl-card-head p,
body.tl-app-body .tl-card-head small,
body.tl-app-body .tl-muted{
  font-size:12.5px!important;
  line-height:1.45!important;
}

/* Grid rhythm: compact but not squeezed */
body.tl-app-body .tl-standard-page,
body.tl-app-body .tl-content-grid,
body.tl-app-body .tl-stat-grid,
body.tl-app-body .tl-stat-grid.six,
body.tl-app-body .tl-stat-grid-pro,
body.tl-app-body .tl-command-kpis,
body.tl-app-body .tl-page-grid-preview,
body.tl-app-body .tl-biolink-create,
body.tl-app-body .tl-biolink-studio-v125,
body.tl-app-body .tl-analytics-workspace,
body.tl-app-body .tl-form-grid,
body.tl-app-body .tl-form-grid.two,
body.tl-app-body .tl-form-grid.three,
body.tl-app-body .tl-form-row{
  gap:14px!important;
}

/* Stat cards balanced */
body.tl-app-body .tl-stat-card,
body.tl-app-body .tl-command-kpis .tl-stat-card{
  min-height:76px!important;
  padding:14px!important;
  border-radius:16px!important;
}
body.tl-app-body .tl-stat-card b{
  font-size:26px!important;
  line-height:1.08!important;
}
body.tl-app-body .tl-stat-card small,
body.tl-app-body .tl-stat-card span{
  font-size:12px!important;
  line-height:1.3!important;
}
body.tl-app-body .tl-stat-card p{
  font-size:11.5px!important;
  line-height:1.35!important;
  margin-top:2px!important;
}
body.tl-app-body .tl-stat-icon{
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
}

/* Header embedded stats */
body.tl-app-body .tl-page-header > .tl-stat-grid{
  gap:10px!important;
  margin-top:10px!important;
}
body.tl-app-body .tl-page-header > .tl-stat-grid .tl-stat-card{
  min-height:66px!important;
  padding:12px!important;
}
body.tl-app-body .tl-page-header > .tl-stat-grid .tl-stat-card b{
  font-size:23px!important;
}

/* Buttons normal readable */
body.tl-app-body .tl-btn{
  min-height:38px!important;
  padding:8px 12px!important;
  border-radius:12px!important;
  font-size:13px!important;
  line-height:1.2!important;
}
body.tl-app-body .tl-btn-sm{
  min-height:34px!important;
  padding:7px 10px!important;
  font-size:12.5px!important;
}
body.tl-app-body .tl-badge,
body.tl-app-body .tl-mini-badge,
body.tl-app-body .tl-pill,
body.tl-app-body .tl-status,
body.tl-app-body .tl-chip{
  min-height:25px!important;
  padding:4px 9px!important;
  font-size:11.5px!important;
  line-height:1.1!important;
}

/* Form controls balanced */
body.tl-app-body label,
body.tl-app-body .tl-field label,
body.tl-app-body .tl-admin-label{
  font-size:13px!important;
  line-height:1.35!important;
}
body.tl-app-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.tl-app-body select{
  min-height:40px!important;
  height:40px!important;
  font-size:13.5px!important;
  border-radius:12px!important;
}
body.tl-app-body textarea{
  min-height:96px!important;
  font-size:13.5px!important;
  line-height:1.45!important;
  border-radius:12px!important;
}
body.tl-app-body .tl-filter-bar,
body.tl-app-body .tl-toolbar,
body.tl-app-body .tl-action-bar:not(.tl-page-header-actions):not(.tl-table-actions){
  padding:12px!important;
  gap:10px!important;
  border-radius:14px!important;
}

/* Tables normal readable */
body.tl-app-body .tl-table{
  font-size:13px!important;
}
body.tl-app-body .tl-table th{
  height:40px!important;
  padding:0 10px!important;
  font-size:11px!important;
}
body.tl-app-body .tl-table td{
  height:44px!important;
  padding:0 10px!important;
  font-size:13px!important;
}

/* Checklist / checkbox / radio: restore normal browser controls */
body.tl-app-body input[type="checkbox"],
body.tl-app-body input[type="radio"],
body.tl-app-body .tl-content input[type="checkbox"],
body.tl-app-body .tl-content input[type="radio"]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  accent-color:var(--tl-primary)!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  padding:0!important;
  margin:0 7px 0 0!important;
  border-radius:initial!important;
  box-shadow:none!important;
  display:inline-block!important;
  vertical-align:middle!important;
  flex:0 0 auto!important;
}
body.tl-app-body label:has(input[type="checkbox"]),
body.tl-app-body label:has(input[type="radio"]),
body.tl-app-body .tl-check-row,
body.tl-app-body .tl-checkbox-row{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:28px!important;
  font-size:13px!important;
  font-weight:700!important;
}
body.tl-app-body label:has(input[type="checkbox"]) input,
body.tl-app-body label:has(input[type="radio"]) input{
  margin-right:0!important;
}

/* Empty states readable but not huge */
body.tl-app-body .tl-empty-state,
body.tl-app-body .tl-empty-state-pro,
body.tl-app-body .tl-empty-domain{
  min-height:100px!important;
  padding:20px 14px!important;
  font-size:13px!important;
}

/* Route balance */
body.tl-route-dashboard .tl-command-kpis,
body.tl-route-dashboard .tl-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.tl-route-dashboard .chart-bars,
body.tl-route-dashboard .tl-mini-bars{
  min-height:180px!important;
  max-height:260px!important;
}
body.tl-route-analytics .chart-bars{
  min-height:220px!important;
  max-height:300px!important;
}
body.tl-route-create-shortlink .tl-page-grid-preview,
body.tl-route-shortlinks .tl-page-grid-preview{
  grid-template-columns:minmax(0,1fr) 320px!important;
}
body.tl-route-create-shortlink .tl-short-preview-card{
  max-width:320px!important;
}
body.tl-route-create-shortlink .tl-preview-screen{
  min-height:380px!important;
  max-height:500px!important;
  padding:14px!important;
  gap:11px!important;
}
body.tl-route-biolinks .tl-biolink-studio-v125,
body.tl-route-biolinks .tl-biolink-create{
  grid-template-columns:220px minmax(0,1fr) 320px!important;
  gap:14px!important;
}
body.tl-route-biolinks #bioPreviewPhone{
  max-width:292px!important;
}
body.tl-route-biolinks #bioPreviewPhone > .tl-preview-screen{
  min-height:430px!important;
  max-height:540px!important;
  padding:13px!important;
}
body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
  grid-template-columns:210px minmax(0,1fr) 310px!important;
  gap:12px!important;
}
body.tl-route-biolink-blocks .tl-library-item,
body.tl-route-biolink-blocks .tl-block-row{
  height:40px!important;
  min-height:40px!important;
  font-size:12.5px!important;
}
body.tl-route-biolink-blocks .tl-phone-pro{
  max-width:292px!important;
}
body.tl-route-biolink-blocks .tl-phone-page{
  min-height:430px!important;
  max-height:520px!important;
}

/* Sidebar readable */
body.tl-app-body .tl-nav-item{
  min-height:38px!important;
  font-size:13px!important;
}
body.tl-app-body .tl-brand-name{
  font-size:15px!important;
}

/* Responsive */
@media(max-width:1180px){
  body.tl-route-create-shortlink .tl-page-grid-preview,
  body.tl-route-shortlinks .tl-page-grid-preview,
  body.tl-route-biolinks .tl-biolink-studio-v125,
  body.tl-route-biolinks .tl-biolink-create,
  body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
  body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"],
  body.tl-route-dashboard .tl-content-grid,
  body.tl-route-analytics .tl-analytics-workspace{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:760px){
  body.tl-app-body .tl-content{
    padding:12px!important;
  }
  body.tl-app-body .tl-page-header{
    grid-template-columns:40px minmax(0,1fr)!important;
  }
  body.tl-app-body .tl-page-header-actions{
    grid-column:1/-1!important;
    justify-content:flex-start!important;
  }
  body.tl-route-dashboard .tl-command-kpis,
  body.tl-route-dashboard .tl-stat-grid,
  body.tl-route-analytics .tl-stat-grid,
  body.tl-route-admin .tl-stat-grid,
  body.tl-route-domains .tl-stat-grid,
  body.tl-route-qrcodes .tl-stat-grid,
  body.tl-app-body .tl-page-header > .tl-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* =========================================================
   v129.10 EQUAL CARD ALIGNMENT FINAL
   Fix analytics/dashboard card height alignment and remove
   excessive blank grid area from uneven cards.
   ========================================================= */

/* Equal-height rows for analytics/dashboard content grids */
body.tl-route-analytics .tl-analytics-workspace,
body.tl-route-analytics .tl-content-grid,
body.tl-route-dashboard .tl-content-grid,
body.tl-route-dashboard .tl-command-grid-main,
body.tl-route-dashboard .tl-command-grid-three,
body.tl-route-dashboard .tl-command-grid-bottom{
  align-items:stretch!important;
  grid-auto-rows:auto!important;
}

/* Cards in same grid row should align visually */
body.tl-route-analytics .tl-analytics-workspace > .tl-card,
body.tl-route-analytics .tl-analytics-workspace > .tl-data-panel,
body.tl-route-analytics .tl-analytics-workspace > .tl-chart-card,
body.tl-route-analytics .tl-content-grid > .tl-card,
body.tl-route-dashboard .tl-content-grid > .tl-card,
body.tl-route-dashboard .tl-content-grid > section,
body.tl-route-dashboard .tl-command-grid-main > .tl-card,
body.tl-route-dashboard .tl-command-grid-three > .tl-card,
body.tl-route-dashboard .tl-command-grid-bottom > .tl-card{
  height:100%!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
}

/* Let card content fill naturally without forcing giant blank areas */
body.tl-route-analytics .tl-card-body,
body.tl-route-analytics .tl-data-panel-body,
body.tl-route-dashboard .tl-card-body,
body.tl-route-dashboard .tl-data-panel-body{
  flex:1 1 auto!important;
  min-height:0!important;
}

/* Analytics top row: performance | device | country */
body.tl-route-analytics .tl-analytics-workspace{
  grid-template-columns:minmax(420px,1.65fr) minmax(260px,.82fr) minmax(340px,1.05fr)!important;
  gap:16px!important;
}

/* Prevent one short middle card from looking detached */
body.tl-route-analytics .tl-analytics-workspace > *{
  align-self:stretch!important;
}

/* Country/map card sizing */
body.tl-route-analytics .tl-map-card,
body.tl-route-analytics .tl-country-card,
body.tl-route-analytics .tl-data-panel:has(.tl-country),
body.tl-route-analytics .tl-data-panel:has(svg),
body.tl-route-dashboard .tl-map-card,
body.tl-route-dashboard .tl-country-card{
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
}

/* SVG/map should be compact, not huge */
body.tl-route-analytics svg,
body.tl-route-dashboard svg{
  max-height:220px!important;
}

/* Lists inside equal cards should not create giant bottom gaps */
body.tl-route-analytics .tl-rank-list,
body.tl-route-analytics .tl-list-stack,
body.tl-route-dashboard .tl-rank-list,
body.tl-route-dashboard .tl-list-stack{
  display:grid!important;
  gap:10px!important;
  align-content:start!important;
}
body.tl-route-analytics .tl-rank-item,
body.tl-route-analytics .tl-list-card,
body.tl-route-dashboard .tl-rank-item,
body.tl-route-dashboard .tl-list-card{
  min-height:52px!important;
}

/* Device/country rows aligned */
body.tl-route-analytics .tl-device-list,
body.tl-route-analytics .tl-country-list,
body.tl-route-dashboard .tl-device-list,
body.tl-route-dashboard .tl-country-list{
  display:grid!important;
  gap:10px!important;
  align-content:start!important;
}
body.tl-route-analytics .tl-device-list > *,
body.tl-route-analytics .tl-country-list > *,
body.tl-route-dashboard .tl-device-list > *,
body.tl-route-dashboard .tl-country-list > *{
  min-height:44px!important;
}

/* Generic card list rows from screenshot */
body.tl-route-analytics .tl-data-panel .tl-info-row,
body.tl-route-analytics .tl-data-panel li,
body.tl-route-dashboard .tl-data-panel .tl-info-row,
body.tl-route-dashboard .tl-data-panel li{
  min-height:44px!important;
  border-radius:14px!important;
}

/* Remove accidental vertical holes between row groups */
body.tl-route-analytics .tl-content,
body.tl-route-dashboard .tl-content{
  align-content:start!important;
}
body.tl-route-analytics .tl-stat-grid + .tl-analytics-workspace,
body.tl-route-dashboard .tl-stat-grid + .tl-content-grid,
body.tl-route-dashboard .tl-command-kpis + .tl-content-grid{
  margin-top:0!important;
}

/* Keep lower row directly below upper row */
body.tl-route-analytics .tl-analytics-workspace + .tl-content-grid,
body.tl-route-dashboard .tl-content-grid + .tl-content-grid,
body.tl-route-dashboard .tl-content-grid + .tl-command-grid-bottom{
  margin-top:0!important;
}

/* Dashboard specific: equalize cards but don't force whole viewport height */
body.tl-route-dashboard .tl-content-grid{
  grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr)!important;
  grid-auto-flow:row dense!important;
}
body.tl-route-dashboard .tl-content-grid > .tl-card-wide{
  min-height:0!important;
}

/* Chart cards should have controlled body size */
body.tl-route-dashboard .chart-bars,
body.tl-route-dashboard .tl-mini-bars,
body.tl-route-analytics .chart-bars,
body.tl-route-analytics .tl-mini-bars{
  min-height:190px!important;
  max-height:260px!important;
}

/* If a card only has a small list, keep it compact and top aligned */
body.tl-route-analytics .tl-data-panel:not(:has(svg)):not(:has(.chart-bars)),
body.tl-route-dashboard .tl-data-panel:not(:has(svg)):not(:has(.chart-bars)){
  justify-content:flex-start!important;
}

/* Better card header consistency */
body.tl-route-analytics .tl-card-head,
body.tl-route-dashboard .tl-card-head{
  min-height:42px!important;
  padding-bottom:8px!important;
  border-bottom:1px solid rgba(226,232,240,.9)!important;
  margin-bottom:12px!important;
}

/* Top rank rows from screenshot */
body.tl-route-analytics .tl-rank-item,
body.tl-route-dashboard .tl-rank-item{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:10px 12px!important;
  border:1px solid var(--tl-border)!important;
  border-radius:16px!important;
  background:#fff!important;
}

/* Right-side country rows */
body.tl-route-analytics .tl-country-row,
body.tl-route-dashboard .tl-country-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:44px!important;
  padding:0 14px!important;
  border:1px solid var(--tl-border)!important;
  border-radius:14px!important;
  background:#f8fafc!important;
}

/* Responsive: collapse equal height naturally */
@media(max-width:1180px){
  body.tl-route-analytics .tl-analytics-workspace,
  body.tl-route-dashboard .tl-content-grid{
    grid-template-columns:1fr!important;
  }
  body.tl-route-analytics .tl-analytics-workspace > *,
  body.tl-route-dashboard .tl-content-grid > *{
    height:auto!important;
  }
}


/* =========================================================
   v129.11 ALL MENU DASHBOARD STYLE FINAL
   Global UI unification based on clean SaaS dashboard reference:
   equal KPI cards, aligned card rows, readable font, balanced spacing.
   ========================================================= */

/* ---------- Global dashboard rhythm ---------- */
body.tl-app-body{
  font-size:14px!important;
  line-height:1.5!important;
  color:#0f172a!important;
}
body.tl-app-body .tl-content{
  padding:18px 22px 34px!important;
  gap:18px!important;
  background:
    radial-gradient(circle at top left,rgba(99,102,241,.055),transparent 34%),
    linear-gradient(180deg,#f8fbff 0%,#f6f8fb 100%)!important;
}
body.tl-app-body .tl-standard-page,
body.tl-app-body .tl-content-grid,
body.tl-app-body .tl-analytics-workspace,
body.tl-app-body .tl-page-grid-preview,
body.tl-app-body .tl-biolink-create,
body.tl-app-body .tl-biolink-studio-v125,
body.tl-app-body .tl-crud-workspace,
body.tl-app-body .tl-admin-workspace{
  gap:18px!important;
  align-items:stretch!important;
  align-content:start!important;
}

/* ---------- Universal header like reference ---------- */
body.tl-app-body .tl-page-header{
  min-height:86px!important;
  padding:18px 22px!important;
  border-radius:18px!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  box-shadow:0 12px 36px rgba(15,23,42,.055)!important;
}
body.tl-app-body .tl-page-header-icon{
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
  background:#eef2ff!important;
  color:#4f46e5!important;
  box-shadow:inset 0 0 0 1px #dbeafe!important;
}
body.tl-app-body .tl-page-header-text h1{
  font-size:26px!important;
  line-height:1.08!important;
  letter-spacing:-.045em!important;
  color:#020617!important;
}
body.tl-app-body .tl-page-header-text p{
  font-size:13.5px!important;
  line-height:1.45!important;
  color:#475569!important;
  margin-top:4px!important;
  max-width:900px!important;
}
body.tl-app-body .tl-page-kicker{
  font-size:10.5px!important;
  letter-spacing:.12em!important;
  color:#4f46e5!important;
  font-weight:950!important;
}
body.tl-app-body .tl-page-header-actions{
  gap:8px!important;
}

/* ---------- KPI cards: uniform across all menus ---------- */
body.tl-app-body .tl-stat-grid,
body.tl-app-body .tl-stat-grid.six,
body.tl-app-body .tl-stat-grid-pro,
body.tl-app-body .tl-stat-grid-6,
body.tl-app-body .tl-command-kpis{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
body.tl-route-dashboard .tl-command-kpis,
body.tl-route-dashboard .tl-stat-grid{
  grid-template-columns:repeat(8,minmax(150px,1fr))!important;
}
body.tl-route-analytics .tl-stat-grid.six,
body.tl-route-analytics .tl-stat-grid{
  grid-template-columns:repeat(6,minmax(155px,1fr))!important;
}
body.tl-route-admin .tl-stat-grid,
body.tl-route-domains .tl-stat-grid,
body.tl-route-qrcodes .tl-stat-grid,
body.tl-route-biolinks .tl-page-header > .tl-stat-grid{
  grid-template-columns:repeat(4,minmax(150px,1fr))!important;
}
body.tl-app-body .tl-stat-card,
body.tl-app-body .tl-command-kpis .tl-stat-card,
body.tl-app-body .tl-stat-grid > a{
  position:relative!important;
  min-height:112px!important;
  height:100%!important;
  padding:18px 18px 16px!important;
  border-radius:18px!important;
  border:1px solid #e2e8f0!important;
  background:
    radial-gradient(circle at top right,rgba(99,102,241,.12),transparent 34%),
    #fff!important;
  box-shadow:0 14px 40px rgba(15,23,42,.06)!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:start!important;
  gap:12px!important;
  overflow:hidden!important;
}
body.tl-app-body .tl-stat-card > div,
body.tl-app-body .tl-stat-grid > a > div{
  min-width:0!important;
}
body.tl-app-body .tl-stat-icon,
body.tl-app-body .tl-stat-card > i,
body.tl-app-body .tl-stat-grid > a > i{
  width:42px!important;
  height:42px!important;
  border-radius:14px!important;
  background:#eef2ff!important;
  color:#4f46e5!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:inset 0 0 0 1px #dbeafe!important;
}
body.tl-app-body .tl-stat-card small,
body.tl-app-body .tl-stat-grid > a small{
  display:block!important;
  color:#475569!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  line-height:1.2!important;
  white-space:normal!important;
}
body.tl-app-body .tl-stat-card b,
body.tl-app-body .tl-stat-grid > a b{
  display:block!important;
  color:#020617!important;
  font-size:28px!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
  margin:5px 0 0!important;
}
body.tl-app-body .tl-stat-card p,
body.tl-app-body .tl-stat-card span:not(.tl-stat-icon):not(.tl-badge):not(.tl-mini-badge),
body.tl-app-body .tl-stat-grid > a span{
  color:#475569!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  margin-top:4px!important;
}
body.tl-app-body .tl-stat-card em,
body.tl-app-body .tl-stat-card .tl-badge,
body.tl-app-body .tl-stat-card .tl-mini-badge{
  position:absolute!important;
  right:14px!important;
  bottom:14px!important;
  min-height:26px!important;
  padding:4px 9px!important;
  font-size:11.5px!important;
  border-radius:999px!important;
  background:#dcfce7!important;
  color:#059669!important;
  border:1px solid #bbf7d0!important;
  font-style:normal!important;
  font-weight:900!important;
}

/* ---------- General cards: same visual weight everywhere ---------- */
body.tl-app-body .tl-card,
body.tl-app-body .tl-table-card,
body.tl-app-body .tl-data-panel,
body.tl-app-body .tl-form-card,
body.tl-app-body .tl-chart-card,
body.tl-app-body .tl-preview-card{
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:18px!important;
  box-shadow:0 14px 42px rgba(15,23,42,.055)!important;
  padding:18px!important;
  min-height:0!important;
  height:100%!important;
}
body.tl-app-body .tl-card-head{
  min-height:48px!important;
  padding:0 0 12px!important;
  margin:0 0 14px!important;
  border-bottom:1px solid #e2e8f0!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.tl-app-body .tl-card-head h1,
body.tl-app-body .tl-card-head h2,
body.tl-app-body .tl-card-head h3,
body.tl-app-body .tl-card h3{
  color:#020617!important;
  font-size:19px!important;
  line-height:1.2!important;
  letter-spacing:-.035em!important;
}
body.tl-app-body .tl-card-head p,
body.tl-app-body .tl-card-head small,
body.tl-app-body .tl-muted{
  color:#64748b!important;
  font-size:13px!important;
  line-height:1.45!important;
}

/* ---------- Dashboard/Analytics aligned sections ---------- */
body.tl-route-dashboard .tl-content-grid{
  grid-template-columns:minmax(0,1.55fr) minmax(360px,.9fr)!important;
  gap:18px!important;
  align-items:stretch!important;
}
body.tl-route-analytics .tl-analytics-workspace{
  grid-template-columns:minmax(480px,1.55fr) minmax(320px,.9fr) minmax(380px,1fr)!important;
  gap:18px!important;
  align-items:stretch!important;
}
body.tl-route-dashboard .tl-content-grid > *,
body.tl-route-analytics .tl-analytics-workspace > *,
body.tl-route-analytics .tl-content-grid > *{
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
}
body.tl-route-dashboard .chart-bars,
body.tl-route-analytics .chart-bars{
  min-height:300px!important;
  max-height:360px!important;
}
body.tl-route-dashboard .tl-mini-bars,
body.tl-route-analytics .tl-mini-bars{
  min-height:220px!important;
  max-height:280px!important;
}

/* ---------- Lists and rows like reference ---------- */
body.tl-app-body .tl-rank-list,
body.tl-app-body .tl-list-stack,
body.tl-app-body .tl-device-list,
body.tl-app-body .tl-country-list{
  display:grid!important;
  gap:12px!important;
  align-content:start!important;
}
body.tl-app-body .tl-rank-item,
body.tl-app-body .tl-list-card,
body.tl-app-body .tl-info-row,
body.tl-app-body .tl-country-row,
body.tl-app-body .tl-device-list > *,
body.tl-app-body .tl-country-list > *{
  min-height:54px!important;
  padding:12px 14px!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  color:#0f172a!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}

/* ---------- Tables/forms/buttons ---------- */
body.tl-app-body .tl-table{
  font-size:13.5px!important;
}
body.tl-app-body .tl-table th{
  height:44px!important;
  color:#475569!important;
  background:#f8fafc!important;
  font-size:11.5px!important;
}
body.tl-app-body .tl-table td{
  height:50px!important;
  font-size:13.5px!important;
}
body.tl-app-body .tl-btn{
  min-height:40px!important;
  padding:9px 13px!important;
  border-radius:12px!important;
  font-size:13.5px!important;
  font-weight:850!important;
}
body.tl-app-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.tl-app-body select{
  min-height:42px!important;
  height:42px!important;
  font-size:13.5px!important;
}
body.tl-app-body textarea{
  min-height:104px!important;
  font-size:13.5px!important;
}

/* ---------- Normal checklist controls ---------- */
body.tl-app-body input[type="checkbox"],
body.tl-app-body input[type="radio"]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  accent-color:#4f46e5!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  margin:0!important;
  padding:0!important;
  box-shadow:none!important;
  display:inline-block!important;
}
body.tl-app-body label:has(input[type="checkbox"]),
body.tl-app-body label:has(input[type="radio"]){
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:32px!important;
  font-size:13.5px!important;
  font-weight:700!important;
}

/* ---------- Menu-specific layout balance ---------- */
body.tl-route-create-shortlink .tl-page-grid-preview,
body.tl-route-shortlinks .tl-page-grid-preview{
  grid-template-columns:minmax(0,1fr) 360px!important;
  gap:18px!important;
}
body.tl-route-biolinks .tl-biolink-studio-v125,
body.tl-route-biolinks .tl-biolink-create{
  grid-template-columns:240px minmax(0,1fr) 360px!important;
  gap:18px!important;
}
body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
  grid-template-columns:240px minmax(0,1fr) 360px!important;
  gap:18px!important;
}
body.tl-route-biolink-blocks .tl-phone-pro,
body.tl-route-biolinks #bioPreviewPhone{
  max-width:320px!important;
}
body.tl-route-biolink-blocks .tl-phone-page{
  min-height:500px!important;
  max-height:580px!important;
}

/* ---------- Empty states ---------- */
body.tl-app-body .tl-empty-state,
body.tl-app-body .tl-empty-state-pro,
body.tl-app-body .tl-empty-domain{
  min-height:120px!important;
  padding:24px 16px!important;
  border-radius:16px!important;
}

/* ---------- Responsive ---------- */
@media(max-width:1400px){
  body.tl-route-dashboard .tl-command-kpis,
  body.tl-route-dashboard .tl-stat-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  body.tl-route-analytics .tl-analytics-workspace{
    grid-template-columns:minmax(0,1.4fr) minmax(340px,1fr)!important;
  }
}
@media(max-width:1180px){
  body.tl-route-dashboard .tl-content-grid,
  body.tl-route-analytics .tl-analytics-workspace,
  body.tl-route-create-shortlink .tl-page-grid-preview,
  body.tl-route-shortlinks .tl-page-grid-preview,
  body.tl-route-biolinks .tl-biolink-studio-v125,
  body.tl-route-biolinks .tl-biolink-create,
  body.tl-route-biolink-blocks .tl-biolink-studio .tl-content-grid,
  body.tl-route-biolink-blocks .tl-content-grid[data-studio-pane="builder"]{
    grid-template-columns:1fr!important;
  }
  body.tl-app-body .tl-preview-card,
  body.tl-app-body .tl-live-preview-panel,
  body.tl-app-body .tl-library-card,
  body.tl-app-body .tl-block-library-panel{
    position:relative!important;
    top:auto!important;
    max-height:none!important;
  }
}
@media(max-width:760px){
  body.tl-app-body .tl-content{
    padding:12px!important;
  }
  body.tl-app-body .tl-page-header{
    grid-template-columns:42px minmax(0,1fr)!important;
  }
  body.tl-app-body .tl-page-header-actions{
    grid-column:1/-1!important;
    justify-content:flex-start!important;
  }
  body.tl-app-body .tl-stat-grid,
  body.tl-app-body .tl-stat-grid.six,
  body.tl-app-body .tl-stat-grid-pro,
  body.tl-app-body .tl-command-kpis{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   v129.12 READABLE COMPACT KPI FINAL
   Goal: small readable font, neat positions, no overlap.
   This final layer fixes KPI/stat cards across all menus.
   ========================================================= */

/* KPI grid must give every card enough width */
body.tl-app-body .tl-stat-grid,
body.tl-app-body .tl-stat-grid.six,
body.tl-app-body .tl-stat-grid-pro,
body.tl-app-body .tl-stat-grid-6,
body.tl-app-body .tl-command-kpis{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}

/* Dashboard can use many columns only when screen is wide enough */
body.tl-route-dashboard .tl-command-kpis,
body.tl-route-dashboard .tl-stat-grid{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
}

/* Final KPI card structure: icon left, content right */
body.tl-app-body .tl-stat-card,
body.tl-app-body .tl-command-kpis .tl-stat-card,
body.tl-app-body .tl-stat-grid > a{
  position:relative!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  gap:12px!important;
  min-height:96px!important;
  height:100%!important;
  padding:16px!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  box-shadow:0 10px 30px rgba(15,23,42,.055)!important;
}

/* If card has no explicit icon, keep content readable */
body.tl-app-body .tl-stat-card:not(:has(.tl-stat-icon)):not(:has(>i)),
body.tl-app-body .tl-stat-grid > a:not(:has(.tl-stat-icon)):not(:has(>i)){
  grid-template-columns:minmax(0,1fr)!important;
}

/* Icon */
body.tl-app-body .tl-stat-icon,
body.tl-app-body .tl-stat-card > i,
body.tl-app-body .tl-stat-grid > a > i{
  grid-column:1!important;
  grid-row:1 / span 3!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:13px!important;
  display:grid!important;
  place-items:center!important;
  background:#eef2ff!important;
  color:#4f46e5!important;
  box-shadow:inset 0 0 0 1px #dbeafe!important;
  font-size:20px!important;
}

/* Content area */
body.tl-app-body .tl-stat-card > div,
body.tl-app-body .tl-stat-grid > a > div{
  grid-column:2!important;
  min-width:0!important;
  display:grid!important;
  gap:2px!important;
  align-content:center!important;
}

/* Texts: smaller, readable, no overlap */
body.tl-app-body .tl-stat-card small,
body.tl-app-body .tl-stat-grid > a small{
  display:block!important;
  color:#475569!important;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  line-height:1.25!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  white-space:normal!important;
  max-width:100%!important;
  margin:0!important;
}

body.tl-app-body .tl-stat-card b,
body.tl-app-body .tl-stat-grid > a b{
  display:block!important;
  color:#020617!important;
  font-size:25px!important;
  font-weight:950!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
  margin:2px 0!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  white-space:nowrap!important;
}

body.tl-app-body .tl-stat-card p,
body.tl-app-body .tl-stat-card span:not(.tl-stat-icon):not(.tl-badge):not(.tl-mini-badge),
body.tl-app-body .tl-stat-grid > a span:not(.tl-stat-icon):not(.tl-badge):not(.tl-mini-badge){
  display:block!important;
  color:#64748b!important;
  font-size:11.5px!important;
  font-weight:650!important;
  line-height:1.25!important;
  margin:0!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

/* Badge/status should not cover title/value */
body.tl-app-body .tl-stat-card .tl-badge,
body.tl-app-body .tl-stat-card .tl-mini-badge,
body.tl-app-body .tl-stat-card em{
  position:absolute!important;
  right:12px!important;
  bottom:10px!important;
  top:auto!important;
  left:auto!important;
  min-height:22px!important;
  max-width:45%!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  background:#dcfce7!important;
  color:#059669!important;
  border:1px solid #bbf7d0!important;
  font-style:normal!important;
}

/* Ensure text column leaves room for bottom badge when needed */
body.tl-app-body .tl-stat-card:has(.tl-badge) > div,
body.tl-app-body .tl-stat-card:has(.tl-mini-badge) > div,
body.tl-app-body .tl-stat-card:has(em) > div{
  padding-bottom:14px!important;
}

/* Header stat cards are allowed to be compact but must stay readable */
body.tl-app-body .tl-page-header > .tl-stat-grid{
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
  gap:10px!important;
}
body.tl-app-body .tl-page-header > .tl-stat-grid .tl-stat-card{
  min-height:82px!important;
  padding:14px!important;
}
body.tl-app-body .tl-page-header > .tl-stat-grid .tl-stat-card b{
  font-size:23px!important;
}

/* Normal card typography across menus */
body.tl-app-body .tl-card-head h1,
body.tl-app-body .tl-card-head h2,
body.tl-app-body .tl-card-head h3,
body.tl-app-body .tl-card h3{
  font-size:17px!important;
  line-height:1.2!important;
}
body.tl-app-body .tl-card-head p,
body.tl-app-body .tl-card-head small,
body.tl-app-body .tl-muted{
  font-size:12.5px!important;
  line-height:1.4!important;
}

/* Buttons/forms remain normal, not oversized */
body.tl-app-body .tl-btn{
  min-height:36px!important;
  padding:7px 11px!important;
  font-size:12.5px!important;
  border-radius:11px!important;
}
body.tl-app-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.tl-app-body select{
  height:38px!important;
  min-height:38px!important;
  font-size:13px!important;
}
body.tl-app-body textarea{
  min-height:92px!important;
  font-size:13px!important;
}

/* Checklist/checkbox/radio: browser-normal */
body.tl-app-body input[type="checkbox"],
body.tl-app-body input[type="radio"]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  accent-color:#4f46e5!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  padding:0!important;
  margin:0!important;
  display:inline-block!important;
  box-shadow:none!important;
}
body.tl-app-body label:has(input[type="checkbox"]),
body.tl-app-body label:has(input[type="radio"]){
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:30px!important;
  font-size:13px!important;
  line-height:1.35!important;
}

/* Prevent single-word wrapping in KPI titles */
body.tl-app-body .tl-stat-card small,
body.tl-app-body .tl-stat-card p,
body.tl-app-body .tl-stat-card span,
body.tl-app-body .tl-stat-grid > a small,
body.tl-app-body .tl-stat-grid > a span{
  hyphens:none!important;
}

/* Responsive */
@media(max-width:1200px){
  body.tl-app-body .tl-stat-grid,
  body.tl-app-body .tl-stat-grid.six,
  body.tl-app-body .tl-stat-grid-pro,
  body.tl-app-body .tl-command-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:640px){
  body.tl-app-body .tl-stat-grid,
  body.tl-app-body .tl-stat-grid.six,
  body.tl-app-body .tl-stat-grid-pro,
  body.tl-app-body .tl-command-kpis,
  body.tl-app-body .tl-page-header > .tl-stat-grid{
    grid-template-columns:1fr!important;
  }
  body.tl-app-body .tl-stat-card,
  body.tl-app-body .tl-stat-grid > a{
    min-height:90px!important;
  }
}

/* ========================================================================
   V129.13 - KPI / Card / Table Anti-Leak Stabilizer
   Purpose: single final safety layer so KPI, dashboard cards, insight rows,
   metric lists, and tables never overflow or collide across all menus.
   ======================================================================== */
body.tl-app-body,
body.tl-app-body *{
  box-sizing:border-box!important;
}

body.tl-app-body .tl-card,
body.tl-app-body .tl-stat-card,
body.tl-app-body .tl-command-kpis .tl-stat-card,
body.tl-app-body .tl-page-header > .tl-stat-grid .tl-stat-card,
body.tl-app-body .tl-stat-grid > a{
  min-width:0!important;
  overflow:hidden!important;
}

body.tl-app-body .tl-stat-card,
body.tl-app-body .tl-command-kpis .tl-stat-card{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  min-height:86px!important;
  padding:14px!important;
}

body.tl-app-body .tl-stat-card > div,
body.tl-app-body .tl-stat-card > span:not(.tl-stat-icon):not(.tl-badge):not(.tl-mini-badge),
body.tl-app-body .tl-stat-card .tl-rank-body{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}

body.tl-app-body .tl-stat-card small,
body.tl-app-body .tl-stat-card p,
body.tl-app-body .tl-stat-card span:not(.tl-stat-icon):not(.tl-badge):not(.tl-mini-badge),
body.tl-app-body .tl-stat-grid > a small,
body.tl-app-body .tl-stat-grid > a span{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

body.tl-app-body .tl-stat-card b,
body.tl-app-body .tl-stat-grid > a b{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  line-height:1.12!important;
}

body.tl-app-body .tl-stat-card em,
body.tl-app-body .tl-stat-card .tl-badge,
body.tl-app-body .tl-stat-card .tl-mini-badge{
  flex-shrink:0!important;
  justify-self:end!important;
  max-width:86px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

body.tl-app-body .tl-stat-icon,
body.tl-app-body .tl-stat-card > i,
body.tl-app-body .stats-icon{
  flex:0 0 auto!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:12px!important;
}

body.tl-app-body .tl-list-metric > div,
body.tl-app-body .tl-system-list > div,
body.tl-app-body .tl-rank-item,
body.tl-app-body .tl-quick-action-list > a{
  min-width:0!important;
  overflow:hidden!important;
}

body.tl-app-body .tl-list-metric > div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
}

body.tl-app-body .tl-list-metric span,
body.tl-app-body .tl-list-metric b,
body.tl-app-body .tl-rank-body b,
body.tl-app-body .tl-rank-body small{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

body.tl-app-body .tl-growth-insights-list,
body.tl-app-body .tl-system-list{
  display:grid!important;
  gap:10px!important;
}

body.tl-app-body .tl-growth-insights-list .tl-insight-row,
body.tl-app-body .tl-system-list > div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
}

body.tl-app-body .tl-insight-label,
body.tl-app-body .tl-system-list > div > span{
  display:grid!important;
  grid-template-columns:minmax(88px,auto) minmax(0,1fr)!important;
  align-items:baseline!important;
  gap:6px!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}

body.tl-app-body .tl-insight-label b,
body.tl-app-body .tl-system-list > div > span b,
body.tl-app-body .tl-insight-label small,
body.tl-app-body .tl-system-list > div > span small{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

body.tl-app-body .tl-insight-status,
body.tl-app-body .tl-system-list > div > em{
  flex-shrink:0!important;
  justify-self:end!important;
  max-width:72px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

body.tl-app-body .tl-quick-action-list > a{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  min-height:62px!important;
}

body.tl-app-body .tl-quick-action-list > a span,
body.tl-app-body .tl-quick-action-list > a b,
body.tl-app-body .tl-quick-action-list > a small{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

body.tl-app-body .tl-table-wrap{
  overflow:auto!important;
  max-width:100%!important;
}

body.tl-app-body .tl-table{
  width:100%!important;
  table-layout:fixed!important;
}

body.tl-app-body .tl-table th,
body.tl-app-body .tl-table td{
  min-width:0!important;
  max-width:260px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

body.tl-app-body .tl-table-ellipsis{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

@media(max-width:760px){
  body.tl-app-body .tl-stat-card,
  body.tl-app-body .tl-command-kpis .tl-stat-card{
    grid-template-columns:auto minmax(0,1fr)!important;
  }
  body.tl-app-body .tl-stat-card em,
  body.tl-app-body .tl-stat-card .tl-badge,
  body.tl-app-body .tl-stat-card .tl-mini-badge{
    grid-column:2!important;
    justify-self:start!important;
    max-width:100%!important;
  }
  body.tl-app-body .tl-insight-label,
  body.tl-app-body .tl-system-list > div > span{
    grid-template-columns:1fr!important;
    gap:2px!important;
  }
}


/* =========================================================
   V129.14 ENTERPRISE TABLE + KPI + TOOLBAR NORMALIZATION
   Purpose: final anti-leak layer for Shortlink, Dashboard, Analytics,
   Biolink, Domains and Admin list pages without changing backend logic.
   ========================================================= */
body.tl-app-body{
  --tl-list-row-h:50px;
  --tl-list-pad-x:12px;
  --tl-action-size:30px;
}

body.tl-app-body .tl-card,
body.tl-app-body .tl-table-card,
body.tl-app-body .tl-form-card{
  min-width:0!important;
  max-width:100%!important;
}

body.tl-app-body .tl-filter-bar,
body.tl-app-body .tl-toolbar,
body.tl-app-body .tl-action-bar:not(.tl-page-header-actions):not(.tl-table-actions){
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding:14px!important;
  border:1px solid var(--tl-border)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff,#fbfcff)!important;
  margin:0 0 8px!important;
}

body.tl-app-body .tl-filter-search,
body.tl-app-body .tl-toolbar-search{
  flex:1 1 420px!important;
  min-width:260px!important;
  max-width:none!important;
}

body.tl-app-body .tl-filter-bar select,
body.tl-app-body .tl-filter-bar input:not([type=checkbox]):not([type=radio]),
body.tl-app-body .tl-action-bar select,
body.tl-app-body .tl-action-bar input:not([type=checkbox]):not([type=radio]){
  height:38px!important;
  min-height:38px!important;
  max-width:190px!important;
  border-radius:12px!important;
  font-size:12px!important;
}

body.tl-app-body .tl-filter-search input,
body.tl-app-body .tl-toolbar-search input{
  max-width:none!important;
  width:100%!important;
}

body.tl-app-body .tl-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  border:1px solid var(--tl-border)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 16px 42px rgba(15,23,42,.045)!important;
}

body.tl-app-body .tl-table{
  width:100%!important;
  min-width:1040px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  font-size:12.5px!important;
}

body.tl-app-body .tl-table th,
body.tl-app-body .tl-table td{
  height:var(--tl-list-row-h)!important;
  padding:0 var(--tl-list-pad-x)!important;
  vertical-align:middle!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  border-bottom:1px solid var(--tl-border)!important;
}

body.tl-app-body .tl-table th{
  background:linear-gradient(180deg,#fbfcff,#f6f8fc)!important;
  color:#475569!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.07em!important;
  font-weight:950!important;
  text-transform:uppercase!important;
}

body.tl-app-body .tl-table td{
  color:#334155!important;
  line-height:1.25!important;
}

body.tl-app-body .tl-table tbody tr:hover td{
  background:#fbfdff!important;
}

body.tl-app-body .tl-table .tl-check-col,
body.tl-app-body .tl-table th:first-child,
body.tl-app-body .tl-table td:first-child{
  width:42px!important;
  max-width:42px!important;
  text-align:center!important;
  overflow:visible!important;
}

body.tl-app-body .tl-table th:nth-child(2),
body.tl-app-body .tl-table td:nth-child(2){width:190px!important;max-width:190px!important;}
body.tl-app-body .tl-table th:nth-child(3),
body.tl-app-body .tl-table td:nth-child(3){width:210px!important;max-width:210px!important;}
body.tl-app-body .tl-table th:nth-child(4),
body.tl-app-body .tl-table td:nth-child(4){width:120px!important;max-width:120px!important;}
body.tl-app-body .tl-table th:nth-child(5),
body.tl-app-body .tl-table td:nth-child(5){width:95px!important;max-width:95px!important;}
body.tl-app-body .tl-table th:nth-child(6),
body.tl-app-body .tl-table td:nth-child(6){width:130px!important;max-width:130px!important;}
body.tl-app-body .tl-table th:nth-child(7),
body.tl-app-body .tl-table td:nth-child(7){width:116px!important;max-width:116px!important;}
body.tl-app-body .tl-table th:last-child,
body.tl-app-body .tl-table td:last-child{width:190px!important;max-width:190px!important;overflow:visible!important;}

body.tl-app-body .tl-link-cell,
body.tl-app-body .tl-shortlink-cell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  max-width:100%!important;
}

body.tl-app-body .tl-link-cell .tl-short-url,
body.tl-app-body .tl-short-url,
body.tl-app-body .tl-dest-url,
body.tl-app-body .tl-target-url,
body.tl-app-body .tl-table-ellipsis{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  word-break:normal!important;
}

body.tl-app-body .tl-dest-url + a,
body.tl-app-body .tl-table td a[target="_blank"]{
  display:inline-grid!important;
  place-items:center!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  margin-left:6px!important;
  border-radius:8px!important;
  border:1px solid var(--tl-border)!important;
  background:#fff!important;
  color:var(--tl-muted)!important;
  vertical-align:middle!important;
}

body.tl-app-body .tl-pill,
body.tl-app-body .tl-status,
body.tl-app-body .tl-badge,
body.tl-app-body .tl-chip{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:64px!important;
  max-width:100%!important;
  height:24px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

body.tl-app-body .tl-status.active,
body.tl-app-body .tl-status-active{
  min-width:74px!important;
  color:#4f46e5!important;
  background:#eef2ff!important;
  border:1px solid #e0e7ff!important;
}

body.tl-app-body .tl-table-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  white-space:nowrap!important;
  overflow:visible!important;
}

body.tl-app-body .tl-table-actions a,
body.tl-app-body .tl-table-actions button,
body.tl-app-body .tl-icon-action,
body.tl-app-body .tl-link-action-btn{
  width:var(--tl-action-size)!important;
  height:var(--tl-action-size)!important;
  min-width:var(--tl-action-size)!important;
  max-width:var(--tl-action-size)!important;
  border-radius:9px!important;
  display:inline-grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid var(--tl-border)!important;
  background:#fff!important;
  color:#475569!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:none!important;
}

body.tl-app-body .tl-table-actions a i,
body.tl-app-body .tl-table-actions button i,
body.tl-app-body .tl-icon-action i{
  font-size:15px!important;
  line-height:1!important;
}

body.tl-app-body .tl-table-actions .tl-danger,
body.tl-app-body .tl-table-actions .danger,
body.tl-app-body .tl-link-action-btn.tl-danger{
  color:#ef4444!important;
  background:#fff5f5!important;
  border-color:#fecaca!important;
}

body.tl-app-body input[type="checkbox"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  border:1px solid #94a3b8!important;
  border-radius:5px!important;
  background:#fff!important;
  display:inline-grid!important;
  place-items:center!important;
  cursor:pointer!important;
  vertical-align:middle!important;
}
body.tl-app-body input[type="checkbox"]:checked{
  background:var(--tl-primary)!important;
  border-color:var(--tl-primary)!important;
}
body.tl-app-body input[type="checkbox"]:checked::after{
  content:"";
  width:8px;
  height:5px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(-45deg) translateY(-1px);
}

body.tl-app-body .tl-table-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:12px 14px!important;
  min-height:56px!important;
  background:#fff!important;
  border-top:0!important;
  font-size:12px!important;
  color:#334155!important;
}

body.tl-app-body .tl-pagination{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}

body.tl-app-body .tl-pagination button,
body.tl-app-body .tl-pagination a{
  height:34px!important;
  min-width:34px!important;
  width:auto!important;
  padding:0 10px!important;
  border-radius:10px!important;
  border:1px solid var(--tl-border)!important;
  background:#fff!important;
  color:#0f172a!important;
  font-size:12px!important;
  font-weight:900!important;
}

body.tl-app-body .tl-pagination .active,
body.tl-app-body .tl-pagination button.active{
  background:#eef2ff!important;
  color:#4f46e5!important;
  border-color:#c7d2fe!important;
}

body.tl-app-body .tl-stat-card,
body.tl-app-body .tl-command-kpis .tl-stat-card{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  overflow:hidden!important;
}
body.tl-app-body .tl-stat-card > div,
body.tl-app-body .tl-stat-card b,
body.tl-app-body .tl-stat-card small,
body.tl-app-body .tl-stat-card p,
body.tl-app-body .tl-stat-card em{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

@media(max-width:980px){
  body.tl-app-body .tl-filter-search,
  body.tl-app-body .tl-toolbar-search{flex-basis:100%!important;}
  body.tl-app-body .tl-filter-bar select,
  body.tl-app-body .tl-action-bar select{flex:1 1 160px!important;max-width:none!important;}
  body.tl-app-body .tl-table{min-width:980px!important;}
}

@media(max-width:640px){
  body.tl-app-body .tl-filter-bar,
  body.tl-app-body .tl-toolbar{display:grid!important;grid-template-columns:1fr!important;}
  body.tl-app-body .tl-filter-search,
  body.tl-app-body .tl-toolbar-search,
  body.tl-app-body .tl-filter-bar select,
  body.tl-app-body .tl-filter-bar .tl-btn{width:100%!important;max-width:none!important;}
  body.tl-app-body .tl-table-footer{align-items:flex-start!important;flex-direction:column!important;}
}

/* V129.14 shortlink URL cell hardening */
body.tl-app-body .tl-url-cell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  max-width:100%!important;
}
body.tl-app-body .tl-url-cell .tl-dest-url{
  min-width:0!important;
  max-width:100%!important;
}

/* =========================================================
   V129.15 — SHORTLINK TABLE ROLLBACK + ENTERPRISE ALIGNMENT
   Root fix: previous global a[target="_blank"] rule converted the
   shortlink text into a 26px icon button. This section restores text links
   and keeps ellipsis only where it is safe.
   ========================================================= */
body.tl-app-body .tl-filter-bar{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding:14px!important;
  border-radius:18px!important;
}
body.tl-app-body .tl-filter-bar .tl-filter-search{
  flex:1 1 440px!important;
  min-width:360px!important;
  max-width:none!important;
}
body.tl-app-body .tl-filter-bar .tl-filter-search input{
  width:100%!important;
  max-width:none!important;
}
body.tl-app-body .tl-filter-bar select{
  flex:0 0 190px!important;
  max-width:190px!important;
}
body.tl-app-body .tl-filter-bar .tl-btn{
  flex:0 0 auto!important;
}

body.tl-app-body .tl-table-wrap{
  overflow-x:auto!important;
}
body.tl-app-body .tl-shortlinks-table{
  min-width:1180px!important;
  table-layout:fixed!important;
}
body.tl-app-body .tl-shortlinks-table th,
body.tl-app-body .tl-shortlinks-table td{
  height:50px!important;
  padding-left:14px!important;
  padding-right:14px!important;
}
body.tl-app-body .tl-shortlinks-table th:nth-child(1),
body.tl-app-body .tl-shortlinks-table td:nth-child(1){width:44px!important;max-width:44px!important;}
body.tl-app-body .tl-shortlinks-table th:nth-child(2),
body.tl-app-body .tl-shortlinks-table td:nth-child(2){width:250px!important;max-width:250px!important;}
body.tl-app-body .tl-shortlinks-table th:nth-child(3),
body.tl-app-body .tl-shortlinks-table td:nth-child(3){width:320px!important;max-width:320px!important;}
body.tl-app-body .tl-shortlinks-table th:nth-child(4),
body.tl-app-body .tl-shortlinks-table td:nth-child(4){width:130px!important;max-width:130px!important;}
body.tl-app-body .tl-shortlinks-table th:nth-child(5),
body.tl-app-body .tl-shortlinks-table td:nth-child(5){width:105px!important;max-width:105px!important;}
body.tl-app-body .tl-shortlinks-table th:nth-child(6),
body.tl-app-body .tl-shortlinks-table td:nth-child(6){width:140px!important;max-width:140px!important;}
body.tl-app-body .tl-shortlinks-table th:nth-child(7),
body.tl-app-body .tl-shortlinks-table td:nth-child(7){width:120px!important;max-width:120px!important;}
body.tl-app-body .tl-shortlinks-table th:nth-child(8),
body.tl-app-body .tl-shortlinks-table td:nth-child(8){width:210px!important;max-width:210px!important;overflow:visible!important;}

body.tl-app-body .tl-shortlinks-table .tl-link-cell{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
}
body.tl-app-body .tl-shortlinks-table .tl-short-url,
body.tl-app-body .tl-shortlinks-table td a.tl-short-url[target="_blank"]{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#263a56!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.25!important;
  text-align:left!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-app-body .tl-shortlinks-table .tl-link-cell .tl-icon-action{
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  margin:0!important;
}

body.tl-app-body .tl-shortlinks-table .tl-url-cell{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  width:100%!important;
  overflow:visible!important;
}
body.tl-app-body .tl-shortlinks-table .tl-url-cell .tl-dest-url{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#334155!important;
  font-size:13px!important;
}
body.tl-app-body .tl-shortlinks-table .tl-url-cell a[target="_blank"]{
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  margin:0!important;
  border-radius:9px!important;
  border:1px solid var(--tl-border)!important;
  background:#fff!important;
  color:#64748b!important;
}

body.tl-app-body .tl-shortlinks-table td:nth-child(5) b{
  display:inline-block!important;
  min-width:48px!important;
  color:#0f172a!important;
  font-size:13.5px!important;
  font-weight:950!important;
}
body.tl-app-body .tl-shortlinks-table td:nth-child(6) span,
body.tl-app-body .tl-shortlinks-table td:nth-child(6) small{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-app-body .tl-shortlinks-table .tl-status.active{
  min-width:76px!important;
  height:24px!important;
}
body.tl-app-body .tl-shortlinks-table .tl-table-actions{
  justify-content:flex-end!important;
  gap:6px!important;
  overflow:visible!important;
}
body.tl-app-body .tl-shortlinks-table .tl-table-actions a,
body.tl-app-body .tl-shortlinks-table .tl-table-actions button{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  border-radius:9px!important;
}

@media(max-width:760px){
  body.tl-app-body .tl-filter-bar .tl-filter-search,
  body.tl-app-body .tl-filter-bar select,
  body.tl-app-body .tl-filter-bar .tl-btn{
    flex:1 1 100%!important;
    min-width:0!important;
    max-width:none!important;
    width:100%!important;
  }
  body.tl-app-body .tl-shortlinks-table{min-width:1120px!important;}
}

/* ========================================================================
   SALIN.ICU Enterprise v129.16 — Global Theme + Analytics Segment Fix
   Root fix: remove nested overflow in cards, align dark mode, safe URL rows.
   ======================================================================== */
:root{
  --tl-table-row-h:56px;
  --tl-control-h:42px;
  --tl-radius-card:18px;
  --tl-radius-control:12px;
}
html[data-theme="dark"],
[data-theme="dark"]{
  color-scheme:dark;
  --tl-bg:#080d18!important;
  --tl-bg-soft:#0b1120!important;
  --tl-surface:#0f172a!important;
  --tl-surface-2:#111827!important;
  --tl-surface-3:#1e293b!important;
  --tl-border:#253247!important;
  --tl-border-strong:#334155!important;
  --tl-heading:#f8fafc!important;
  --tl-text:#cbd5e1!important;
  --tl-muted:#94a3b8!important;
  --tl-soft:#64748b!important;
  --tl-shadow:0 22px 60px rgba(0,0,0,.38)!important;
  --tl-shadow-sm:0 14px 36px rgba(0,0,0,.28)!important;
}
[data-theme="dark"] body,
[data-theme="dark"] .tl-main,
[data-theme="dark"] .tl-content{
  background:var(--tl-bg)!important;
  color:var(--tl-text)!important;
}
[data-theme="dark"] .tl-card,
[data-theme="dark"] .tl-table-card,
[data-theme="dark"] .tl-stat-card,
[data-theme="dark"] .tl-data-panel,
[data-theme="dark"] .tl-compact-panel{
  background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(15,23,42,.92))!important;
  border-color:var(--tl-border)!important;
  color:var(--tl-text)!important;
  box-shadow:var(--tl-shadow-sm)!important;
}
[data-theme="dark"] .tl-card h1,
[data-theme="dark"] .tl-card h2,
[data-theme="dark"] .tl-card h3,
[data-theme="dark"] .tl-table td b,
[data-theme="dark"] .tl-heading,
[data-theme="dark"] strong{
  color:var(--tl-heading)!important;
}
[data-theme="dark"] .tl-card p,
[data-theme="dark"] .tl-muted,
[data-theme="dark"] small{
  color:var(--tl-muted)!important;
}
[data-theme="dark"] .tl-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
[data-theme="dark"] .tl-content select,
[data-theme="dark"] .tl-content textarea,
[data-theme="dark"] .tl-control,
[data-theme="dark"] .tl-filter-search{
  background:#0b1220!important;
  border-color:var(--tl-border)!important;
  color:var(--tl-heading)!important;
}
[data-theme="dark"] .tl-content input::placeholder,
[data-theme="dark"] .tl-filter-search::placeholder{
  color:#64748b!important;
}
[data-theme="dark"] .tl-btn,
[data-theme="dark"] button.tl-btn,
[data-theme="dark"] a.tl-btn,
[data-theme="dark"] .tl-icon-action,
[data-theme="dark"] .tl-icon-btn{
  background:#0b1220!important;
  border-color:var(--tl-border)!important;
  color:var(--tl-heading)!important;
}
[data-theme="dark"] .tl-btn-primary{
  background:#4f46e5!important;
  border-color:#6366f1!important;
  color:#fff!important;
}

/* Cards with compact tables must never show ugly nested scrollbars on desktop. */
.tl-card,
.tl-data-panel,
.tl-compact-panel{
  min-width:0!important;
  overflow:hidden!important;
}
.tl-card-head{
  min-width:0!important;
  border-bottom:1px solid var(--tl-border)!important;
  padding-bottom:14px!important;
  margin-bottom:14px!important;
}
.tl-card-head h3,
.tl-card h3{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Segment / Referrers table: label and number are real columns, no text collision. */
.tl-referrers-card .tl-segment-wrap,
.tl-route-analytics .tl-segment-wrap,
.tl-route-biolink-analytics .tl-segment-wrap{
  border:1px solid var(--tl-border)!important;
  border-radius:14px!important;
  background:var(--tl-surface)!important;
  overflow:hidden!important;
  max-height:none!important;
}
.tl-referrers-card .tl-segment-table,
.tl-route-analytics .tl-segment-table,
.tl-route-biolink-analytics .tl-segment-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.tl-referrers-card .tl-segment-table th,
.tl-referrers-card .tl-segment-table td,
.tl-route-analytics .tl-segment-table th,
.tl-route-analytics .tl-segment-table td,
.tl-route-biolink-analytics .tl-segment-table th,
.tl-route-biolink-analytics .tl-segment-table td{
  height:var(--tl-table-row-h)!important;
  padding:0 12px!important;
  vertical-align:middle!important;
  border-top:1px solid var(--tl-border)!important;
  white-space:nowrap!important;
}
.tl-referrers-card .tl-segment-table th:first-child,
.tl-referrers-card .tl-segment-table td:first-child,
.tl-route-analytics .tl-segment-table th:first-child,
.tl-route-analytics .tl-segment-table td:first-child,
.tl-route-biolink-analytics .tl-segment-table th:first-child,
.tl-route-biolink-analytics .tl-segment-table td:first-child{
  width:auto!important;
  min-width:0!important;
  overflow:hidden!important;
}
.tl-referrers-card .tl-segment-table th:last-child,
.tl-referrers-card .tl-segment-table td:last-child,
.tl-route-analytics .tl-segment-table th:last-child,
.tl-route-analytics .tl-segment-table td:last-child,
.tl-route-biolink-analytics .tl-segment-table th:last-child,
.tl-route-biolink-analytics .tl-segment-table td:last-child{
  width:84px!important;
  min-width:84px!important;
  text-align:right!important;
}
.tl-segment-url{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--tl-heading)!important;
  font-size:13px!important;
  line-height:1.2!important;
}
.tl-segment-count{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:34px!important;
  height:26px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  background:var(--tl-surface-2)!important;
  border:1px solid var(--tl-border)!important;
  color:var(--tl-heading)!important;
  font-size:12px!important;
  font-weight:900!important;
}
[data-theme="dark"] .tl-referrers-card .tl-segment-wrap,
[data-theme="dark"] .tl-route-analytics .tl-segment-wrap,
[data-theme="dark"] .tl-route-biolink-analytics .tl-segment-wrap{
  background:#0b1220!important;
  border-color:var(--tl-border)!important;
}
[data-theme="dark"] .tl-segment-count{
  background:#111827!important;
  border-color:#334155!important;
  color:#e2e8f0!important;
}

/* Generic small metric/list rows: prevent label-value collision globally. */
.tl-metric-row,
.tl-insight-item,
.tl-country-row,
.tl-list-card{
  min-width:0!important;
}
.tl-metric-row > *,
.tl-insight-item > *,
.tl-country-row > *,
.tl-list-card > *{
  min-width:0!important;
}
.tl-insight-label,
.tl-country-name,
.tl-metric-label{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.tl-insight-value,
.tl-insight-status,
.tl-country-count,
.tl-metric-value{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}

/* Keep v129.15 shortlink fix, but make it dark-theme aware. */
[data-theme="dark"] body.tl-app-body .tl-shortlinks-table .tl-short-url,
[data-theme="dark"] body.tl-app-body .tl-shortlinks-table td a.tl-short-url[target="_blank"]{
  color:#e2e8f0!important;
}
[data-theme="dark"] body.tl-app-body .tl-shortlinks-table .tl-url-cell .tl-dest-url{
  color:#cbd5e1!important;
}
[data-theme="dark"] body.tl-app-body .tl-shortlinks-table .tl-url-cell a[target="_blank"],
[data-theme="dark"] body.tl-app-body .tl-shortlinks-table .tl-link-cell .tl-icon-action,
[data-theme="dark"] body.tl-app-body .tl-shortlinks-table .tl-table-actions a,
[data-theme="dark"] body.tl-app-body .tl-shortlinks-table .tl-table-actions button{
  background:#0b1220!important;
  border-color:var(--tl-border)!important;
  color:#cbd5e1!important;
}
[data-theme="dark"] .tl-table-wrap,
[data-theme="dark"] .tl-table-shell,
[data-theme="dark"] .tl-table{
  background:#0f172a!important;
  border-color:var(--tl-border)!important;
  color:var(--tl-text)!important;
}
[data-theme="dark"] .tl-table th{
  background:#111827!important;
  color:#94a3b8!important;
}
[data-theme="dark"] .tl-table td{
  border-color:var(--tl-border)!important;
  color:#cbd5e1!important;
}
[data-theme="dark"] .tl-table tr:hover td{
  background:#162033!important;
}

@media(max-width:760px){
  .tl-referrers-card .tl-segment-table th:last-child,
  .tl-referrers-card .tl-segment-table td:last-child,
  .tl-route-analytics .tl-segment-table th:last-child,
  .tl-route-analytics .tl-segment-table td:last-child,
  .tl-route-biolink-analytics .tl-segment-table th:last-child,
  .tl-route-biolink-analytics .tl-segment-table td:last-child{
    width:64px!important;
    min-width:64px!important;
  }
  .tl-segment-url{font-size:12.5px!important;}
}

/* ========================================================================
   v129.17 BIOLINK CANVAS + GLOBAL THEME COLLISION FIX
   Purpose: remove overlapping headers/sections, normalize form spacing,
   and make dark mode match the Enterprise UI system.
   ======================================================================== */
body.tl-app-body,
body.tl-app-body *{box-sizing:border-box!important;}

/* Biolink create page must not create empty white gaps or sticky overlap. */
body.tl-route-biolinks .tl-biolink-create,
body.tl-route-biolinks .tl-biolink-studio-v125{
  width:100%!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(190px,220px) minmax(0,1fr) minmax(300px,360px)!important;
  gap:18px!important;
  align-items:start!important;
  overflow:visible!important;
}
body.tl-route-biolinks .tl-block-library-panel,
body.tl-route-biolinks .tl-biolink-canvas-panel,
body.tl-route-biolinks .tl-bio-preview-card,
body.tl-route-biolinks .tl-live-preview-panel{
  min-width:0!important;
  max-width:none!important;
  border-radius:22px!important;
  overflow:hidden!important;
}
body.tl-route-biolinks .tl-biolink-canvas-panel{
  padding:0!important;
  background:var(--tl-surface)!important;
}
body.tl-route-biolinks .tl-biolink-canvas-panel > .tl-card-head{
  position:relative!important;
  top:auto!important;
  z-index:2!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  min-height:auto!important;
  margin:0!important;
  padding:22px 24px 16px!important;
  background:var(--tl-surface)!important;
  border-bottom:1px solid var(--tl-border)!important;
  backdrop-filter:none!important;
}
body.tl-route-biolinks .tl-biolink-canvas-panel > .tl-card-head > div{
  min-width:0!important;
  display:block!important;
}
body.tl-route-biolinks .tl-biolink-canvas-panel .tl-card-head h3{
  margin:0 0 4px!important;
  font-size:18px!important;
  line-height:1.2!important;
  letter-spacing:-.02em!important;
  color:var(--tl-heading)!important;
  white-space:normal!important;
  overflow:visible!important;
}
body.tl-route-biolinks .tl-biolink-canvas-panel .tl-card-head p{
  display:block!important;
  margin:0!important;
  max-width:680px!important;
  font-size:13px!important;
  line-height:1.45!important;
  color:var(--tl-muted)!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.tl-route-biolinks .tl-biolink-canvas-panel .tl-card-head .tl-badge{
  flex:0 0 auto!important;
  margin-top:4px!important;
  white-space:nowrap!important;
}

/* Canvas sections: no negative/colliding header, clean separation. */
body.tl-route-biolinks .tl-bio-create-form{
  padding:22px 24px 24px!important;
  display:grid!important;
  gap:22px!important;
  overflow:visible!important;
}
body.tl-route-biolinks .tl-canvas-section{
  position:relative!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--tl-border)!important;
  border-radius:20px!important;
  background:var(--tl-surface)!important;
  box-shadow:0 12px 34px rgba(15,23,42,.045)!important;
  overflow:hidden!important;
}
body.tl-route-biolinks .tl-canvas-section + .tl-canvas-section{
  margin-top:0!important;
}
body.tl-route-biolinks .tl-canvas-section-head{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  min-height:56px!important;
  margin:0!important;
  padding:12px 16px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  border:0!important;
  border-bottom:1px solid var(--tl-border)!important;
  border-radius:0!important;
  background:linear-gradient(180deg,var(--tl-surface),var(--tl-surface-2))!important;
  color:var(--tl-heading)!important;
  text-align:left!important;
  transform:none!important;
}
body.tl-route-biolinks .tl-canvas-section-head span{
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  margin:0!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  background:#111827!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:950!important;
  line-height:1!important;
}
body.tl-route-biolinks .tl-canvas-section-head b{
  min-width:0!important;
  flex:1 1 auto!important;
  display:block!important;
  color:var(--tl-heading)!important;
  font-size:15px!important;
  line-height:1.2!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-route-biolinks .tl-canvas-section-head small{
  display:inline-flex!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
  max-width:120px!important;
  color:var(--tl-muted)!important;
  font-size:10.5px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-route-biolinks .tl-canvas-section .tl-form-grid,
body.tl-route-biolinks .tl-canvas-section .tl-form-grid.two{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  padding:18px!important;
  margin:0!important;
  background:transparent!important;
}
body.tl-route-biolinks .tl-canvas-section .tl-form-grid .wide,
body.tl-route-biolinks .tl-canvas-section .tl-field.wide,
body.tl-route-biolinks .tl-canvas-section label.wide{
  grid-column:1 / -1!important;
}
body.tl-route-biolinks .tl-canvas-section label,
body.tl-route-biolinks .tl-canvas-section .tl-field{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  margin:0!important;
  color:var(--tl-heading)!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.25!important;
}
body.tl-route-biolinks .tl-canvas-section input,
body.tl-route-biolinks .tl-canvas-section textarea,
body.tl-route-biolinks .tl-canvas-section select{
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  margin:0!important;
  border:1px solid var(--tl-border)!important;
  border-radius:14px!important;
  background:var(--tl-surface)!important;
  color:var(--tl-heading)!important;
  padding:10px 13px!important;
  font-size:13px!important;
  line-height:1.35!important;
  box-shadow:none!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.tl-route-biolinks .tl-canvas-section textarea{
  min-height:92px!important;
  overflow:auto!important;
  white-space:normal!important;
  resize:vertical!important;
}
body.tl-route-biolinks .tl-template-grid.compact{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  padding:18px!important;
}
body.tl-route-biolinks .tl-template-card{
  min-width:0!important;
  min-height:104px!important;
  padding:14px 10px!important;
  border-radius:16px!important;
  overflow:hidden!important;
}
body.tl-route-biolinks .tl-template-card b,
body.tl-route-biolinks .tl-template-card small{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Sticky savebar should not cover fields or collide with section cards. */
body.tl-route-biolinks .tl-sticky-savebar{
  position:sticky!important;
  bottom:18px!important;
  z-index:5!important;
  margin-top:2px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  border-radius:18px!important;
  overflow:hidden!important;
}

/* Dark theme parity for builder, cards, inputs, sections and preview wrappers. */
[data-theme="dark"] body.tl-route-biolinks .tl-biolink-canvas-panel,
[data-theme="dark"] body.tl-route-biolinks .tl-block-library-panel,
[data-theme="dark"] body.tl-route-biolinks .tl-bio-preview-card,
[data-theme="dark"] body.tl-route-biolinks .tl-live-preview-panel,
[data-theme="dark"] body.tl-route-biolinks .tl-canvas-section,
body[data-theme="dark"].tl-route-biolinks .tl-biolink-canvas-panel,
body[data-theme="dark"].tl-route-biolinks .tl-block-library-panel,
body[data-theme="dark"].tl-route-biolinks .tl-bio-preview-card,
body[data-theme="dark"].tl-route-biolinks .tl-live-preview-panel,
body[data-theme="dark"].tl-route-biolinks .tl-canvas-section{
  background:#0f172a!important;
  border-color:#263449!important;
  color:#dbeafe!important;
  box-shadow:0 18px 50px rgba(0,0,0,.28)!important;
}
[data-theme="dark"] body.tl-route-biolinks .tl-biolink-canvas-panel > .tl-card-head,
[data-theme="dark"] body.tl-route-biolinks .tl-canvas-section-head,
body[data-theme="dark"].tl-route-biolinks .tl-biolink-canvas-panel > .tl-card-head,
body[data-theme="dark"].tl-route-biolinks .tl-canvas-section-head{
  background:linear-gradient(180deg,#111827,#0f172a)!important;
  border-color:#263449!important;
}
[data-theme="dark"] body.tl-route-biolinks .tl-canvas-section input,
[data-theme="dark"] body.tl-route-biolinks .tl-canvas-section textarea,
[data-theme="dark"] body.tl-route-biolinks .tl-canvas-section select,
body[data-theme="dark"].tl-route-biolinks .tl-canvas-section input,
body[data-theme="dark"].tl-route-biolinks .tl-canvas-section textarea,
body[data-theme="dark"].tl-route-biolinks .tl-canvas-section select{
  background:#0b1220!important;
  border-color:#334155!important;
  color:#e5e7eb!important;
}
[data-theme="dark"] body.tl-route-biolinks .tl-canvas-section input::placeholder,
[data-theme="dark"] body.tl-route-biolinks .tl-canvas-section textarea::placeholder,
body[data-theme="dark"].tl-route-biolinks .tl-canvas-section input::placeholder,
body[data-theme="dark"].tl-route-biolinks .tl-canvas-section textarea::placeholder{
  color:#64748b!important;
}
[data-theme="dark"] body.tl-route-biolinks .tl-canvas-section-head b,
[data-theme="dark"] body.tl-route-biolinks .tl-biolink-canvas-panel .tl-card-head h3,
body[data-theme="dark"].tl-route-biolinks .tl-canvas-section-head b,
body[data-theme="dark"].tl-route-biolinks .tl-biolink-canvas-panel .tl-card-head h3{
  color:#f8fafc!important;
}
[data-theme="dark"] body.tl-route-biolinks .tl-canvas-section label,
[data-theme="dark"] body.tl-route-biolinks .tl-canvas-section .tl-field,
body[data-theme="dark"].tl-route-biolinks .tl-canvas-section label,
body[data-theme="dark"].tl-route-biolinks .tl-canvas-section .tl-field{
  color:#cbd5e1!important;
}
[data-theme="dark"] body.tl-route-biolinks .tl-template-card,
body[data-theme="dark"].tl-route-biolinks .tl-template-card{
  background:#0b1220!important;
  border-color:#334155!important;
  color:#e5e7eb!important;
}
[data-theme="dark"] body.tl-route-biolinks .tl-template-card:hover,
[data-theme="dark"] body.tl-route-biolinks .tl-template-card:has(input:checked),
[data-theme="dark"] body.tl-route-biolinks .tl-template-card.active,
body[data-theme="dark"].tl-route-biolinks .tl-template-card:hover,
body[data-theme="dark"].tl-route-biolinks .tl-template-card:has(input:checked),
body[data-theme="dark"].tl-route-biolinks .tl-template-card.active{
  background:linear-gradient(135deg,#1e1b4b,#111827)!important;
  border-color:#6366f1!important;
}
[data-theme="dark"] body.tl-route-biolinks .tl-sticky-savebar,
body[data-theme="dark"].tl-route-biolinks .tl-sticky-savebar{
  background:rgba(15,23,42,.92)!important;
  border-color:#334155!important;
  color:#e5e7eb!important;
}

@media(max-width:1320px){
  body.tl-route-biolinks .tl-biolink-create,
  body.tl-route-biolinks .tl-biolink-studio-v125{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.tl-route-biolinks .tl-block-library-panel,
  body.tl-route-biolinks .tl-bio-preview-card,
  body.tl-route-biolinks .tl-live-preview-panel{
    position:relative!important;
    top:auto!important;
  }
}
@media(max-width:820px){
  body.tl-route-biolinks .tl-biolink-canvas-panel > .tl-card-head{
    flex-direction:column!important;
    align-items:stretch!important;
    padding:18px!important;
  }
  body.tl-route-biolinks .tl-canvas-section .tl-form-grid,
  body.tl-route-biolinks .tl-canvas-section .tl-form-grid.two,
  body.tl-route-biolinks .tl-template-grid.compact{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.tl-route-biolinks .tl-canvas-section-head small{
    display:none!important;
  }
  body.tl-route-biolinks .tl-sticky-savebar{
    position:relative!important;
    bottom:auto!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
}

/* ========================================================================
   v129.18 TARGETED UI COLLISION FIX
   Scope: analytics referrers, APK saved payload, domain guide cards only.
   No functional/PHP data flow changes.
   ======================================================================== */

/* 1) Analytics compact segment/referrers cards: no nested horizontal/vertical scrollbars, count stays visible. */
body.tl-app-body .tl-referrers-card,
body.tl-app-body .tl-route-analytics .tl-referrers-card,
body.tl-app-body .tl-route-biolink-analytics .tl-referrers-card{
  overflow:hidden!important;
}
body.tl-app-body .tl-referrers-card .tl-table-wrap.tl-segment-wrap,
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table-wrap.tl-segment-wrap,
body.tl-app-body.tl-route-biolink-analytics .tl-referrers-card .tl-table-wrap.tl-segment-wrap{
  overflow:hidden!important;
  overflow-x:hidden!important;
  overflow-y:hidden!important;
  max-height:none!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
body.tl-app-body .tl-referrers-card .tl-segment-table,
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-segment-table,
body.tl-app-body.tl-route-biolink-analytics .tl-referrers-card .tl-segment-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
}
body.tl-app-body .tl-referrers-card .tl-segment-table th,
body.tl-app-body .tl-referrers-card .tl-segment-table td{
  height:50px!important;
  padding:0 14px!important;
  overflow:hidden!important;
}
body.tl-app-body .tl-referrers-card .tl-segment-table th:first-child,
body.tl-app-body .tl-referrers-card .tl-segment-table td:first-child{
  width:auto!important;
  max-width:none!important;
}
body.tl-app-body .tl-referrers-card .tl-segment-table th:last-child,
body.tl-app-body .tl-referrers-card .tl-segment-table td:last-child{
  width:76px!important;
  min-width:76px!important;
  max-width:76px!important;
  text-align:right!important;
}
body.tl-app-body .tl-referrers-card .tl-segment-url{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.tl-app-body .tl-referrers-card .tl-segment-count{
  display:inline-flex!important;
  flex:0 0 auto!important;
  min-width:30px!important;
  max-width:64px!important;
  height:24px!important;
  padding:0 8px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* 2) APK Saved Payload: content should not be clipped by nested card/stat overrides. */
body.tl-route-convert-apk .tl-card.pad,
body.tl-app-body .tl-standard-page .tl-card.pad{
  overflow:hidden!important;
}
body.tl-route-convert-apk .tl-card.pad > .tl-card,
body.tl-app-body .tl-standard-page .tl-card.pad > .tl-card{
  position:relative!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  min-height:150px!important;
  padding:24px!important;
  overflow:hidden!important;
  border-radius:18px!important;
}
body.tl-route-convert-apk .tl-card.pad > .tl-card .tl-stat-card,
body.tl-app-body .tl-standard-page .tl-card.pad > .tl-card .tl-stat-card{
  flex:1 1 auto!important;
  min-width:0!important;
  min-height:auto!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  display:block!important;
  overflow:visible!important;
}
body.tl-route-convert-apk .tl-card.pad > .tl-card .tl-stat-card b,
body.tl-app-body .tl-standard-page .tl-card.pad > .tl-card .tl-stat-card b{
  display:block!important;
  margin:0 0 12px!important;
  font-size:24px!important;
  line-height:1.2!important;
  letter-spacing:-.03em!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
body.tl-route-convert-apk .tl-card.pad > .tl-card .tl-stat-card p,
body.tl-app-body .tl-standard-page .tl-card.pad > .tl-card .tl-stat-card p{
  margin:0!important;
  max-width:820px!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  overflow:visible!important;
}
body.tl-route-convert-apk .tl-card.pad > .tl-card .tl-badge,
body.tl-app-body .tl-standard-page .tl-card.pad > .tl-card .tl-badge{
  flex:0 0 auto!important;
  position:relative!important;
  z-index:2!important;
}

/* 3) Domain sidebar guide: step number, title, and description must be separated. */
body.tl-route-domains #domain-guide .tl-step-list,
body.tl-app-body #domain-guide .tl-step-list{
  display:grid!important;
  gap:12px!important;
  padding:18px!important;
}
body.tl-route-domains #domain-guide .tl-step-list > div,
body.tl-app-body #domain-guide .tl-step-list > div{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  grid-template-areas:"num title" "num desc"!important;
  column-gap:12px!important;
  row-gap:3px!important;
  align-items:start!important;
  min-width:0!important;
  padding:0!important;
}
body.tl-route-domains #domain-guide .tl-step-list span,
body.tl-app-body #domain-guide .tl-step-list span{
  grid-area:num!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border-radius:9px!important;
  display:grid!important;
  place-items:center!important;
  background:#eef2ff!important;
  color:#4f46e5!important;
  font-size:12px!important;
  font-weight:900!important;
}
body.tl-route-domains #domain-guide .tl-step-list b,
body.tl-app-body #domain-guide .tl-step-list b{
  grid-area:title!important;
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:var(--tl-heading)!important;
  font-size:13px!important;
  line-height:1.25!important;
  white-space:normal!important;
}
body.tl-route-domains #domain-guide .tl-step-list small,
body.tl-app-body #domain-guide .tl-step-list small{
  grid-area:desc!important;
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:var(--tl-muted)!important;
  font-size:12px!important;
  line-height:1.45!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.tl-route-domains #domain-guide code,
body.tl-app-body #domain-guide code{
  display:inline!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.tl-route-domains .tl-check-list,
body.tl-app-body .tl-check-list{
  display:grid!important;
  gap:10px!important;
  margin:0!important;
  padding:18px 20px 20px 34px!important;
  line-height:1.55!important;
}
body.tl-route-domains .tl-check-list li,
body.tl-app-body .tl-check-list li{
  padding-left:4px!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}

/* 4) Dark theme parity for the fixed cards only. */
[data-theme="dark"] body.tl-app-body .tl-referrers-card .tl-table-wrap.tl-segment-wrap,
body[data-theme="dark"].tl-app-body .tl-referrers-card .tl-table-wrap.tl-segment-wrap,
[data-theme="dark"] body.tl-app-body .tl-standard-page .tl-card.pad > .tl-card,
body[data-theme="dark"].tl-app-body .tl-standard-page .tl-card.pad > .tl-card{
  background:#0b1220!important;
  border-color:#334155!important;
}
[data-theme="dark"] body.tl-app-body #domain-guide .tl-step-list span,
body[data-theme="dark"].tl-app-body #domain-guide .tl-step-list span{
  background:#1e1b4b!important;
  border:1px solid #3730a3!important;
  color:#c7d2fe!important;
}

@media(max-width:760px){
  body.tl-app-body .tl-referrers-card .tl-segment-table th:last-child,
  body.tl-app-body .tl-referrers-card .tl-segment-table td:last-child{
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
  }
  body.tl-route-convert-apk .tl-card.pad > .tl-card,
  body.tl-app-body .tl-standard-page .tl-card.pad > .tl-card{
    display:grid!important;
    min-height:auto!important;
    padding:18px!important;
  }
}

/* =========================================================
   v129.19 TARGETED ANALYTICS / KPI COLLISION FIX
   Scope: visual-only CSS. No PHP, DB, query, routing, or JS logic changed.
   Fixes the remaining horizontal scrollbars, empty stretched cards,
   table overflow, and KPI label collision shown in QA screenshots.
   ========================================================= */

/* Analytics grid: do not stretch small data cards to chart height. */
body.tl-app-body.tl-route-analytics .tl-analytics-workspace{
  align-items:start!important;
  grid-auto-rows:min-content!important;
}
body.tl-app-body.tl-route-analytics .tl-analytics-workspace > .tl-card,
body.tl-app-body.tl-route-analytics .tl-analytics-workspace > .tl-data-panel,
body.tl-app-body.tl-route-analytics .tl-analytics-workspace > .tl-chart-card,
body.tl-app-body.tl-route-analytics .tl-analytics-workspace > .tl-compact-panel{
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-analytics .tl-analytics-workspace > .tl-card-wide,
body.tl-app-body.tl-route-analytics .tl-analytics-workspace > .tl-chart-card{
  align-self:stretch!important;
}

/* Analytics segment tables are compact cards, not wide CRUD tables. */
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  overflow-y:visible!important;
  border-radius:14px!important;
  background:var(--tl-surface)!important;
  box-shadow:none!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table th,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table td{
  height:48px!important;
  padding:0 14px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  vertical-align:middle!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table th{
  height:44px!important;
  font-size:10px!important;
  letter-spacing:.055em!important;
}

/* Two/three column analytics tables: keep numbers readable, text ellipsized. */
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:last-child,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table th:last-child,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table td:last-child{
  width:86px!important;
  min-width:86px!important;
  max-width:86px!important;
  text-align:right!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:nth-child(2):not(:last-child),
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:nth-child(2):not(:last-child),
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table th:nth-child(2):not(:last-child),
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table td:nth-child(2):not(:last-child){
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
  text-align:left!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:first-child,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table td:first-child{
  min-width:0!important;
  max-width:none!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td a,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td code,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td b,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table td a,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table td code,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table td b{
  display:inline-block!important;
  max-width:100%!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  vertical-align:middle!important;
}

/* Referrer/event count badges stay separated. */
body.tl-app-body .tl-referrers-card .tl-segment-count{
  justify-content:center!important;
  text-align:center!important;
  border:1px solid var(--tl-border)!important;
  background:#f8fafc!important;
  color:var(--tl-heading)!important;
  border-radius:999px!important;
  font-weight:900!important;
}
body[data-theme="dark"].tl-app-body .tl-referrers-card .tl-segment-count,
[data-theme="dark"] body.tl-app-body .tl-referrers-card .tl-segment-count{
  background:#111827!important;
  border-color:#334155!important;
  color:#e5e7eb!important;
}

/* Empty/small tables should not show fake browser scrollbars. */
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap::-webkit-scrollbar,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table-wrap::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table-wrap{
  scrollbar-width:none!important;
}

/* Uptime/SEO KPI cards: value, label, and icon must not overlap. */
body.tl-app-body.tl-route-uptime-monitor .tl-stat-grid .tl-stat-card,
body.tl-app-body.tl-route-seo .tl-stat-grid .tl-stat-card,
body.tl-app-body.tl-route-google-rank-checker .tl-stat-grid .tl-stat-card,
body.tl-app-body.tl-route-set-timer .tl-stat-grid .tl-stat-card{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:12px!important;
  min-height:90px!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-uptime-monitor .tl-stat-grid .tl-stat-card > i,
body.tl-app-body.tl-route-seo .tl-stat-grid .tl-stat-card > i,
body.tl-app-body.tl-route-google-rank-checker .tl-stat-grid .tl-stat-card > i,
body.tl-app-body.tl-route-set-timer .tl-stat-grid .tl-stat-card > i{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:12px!important;
  display:grid!important;
  place-items:center!important;
  grid-column:1!important;
  grid-row:1 / span 2!important;
  margin:0!important;
}
body.tl-app-body.tl-route-uptime-monitor .tl-stat-grid .tl-stat-card > b,
body.tl-app-body.tl-route-seo .tl-stat-grid .tl-stat-card > b,
body.tl-app-body.tl-route-google-rank-checker .tl-stat-grid .tl-stat-card > b,
body.tl-app-body.tl-route-set-timer .tl-stat-grid .tl-stat-card > b{
  grid-column:2!important;
  grid-row:1 / span 2!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:24px!important;
  line-height:1!important;
}
body.tl-app-body.tl-route-uptime-monitor .tl-stat-grid .tl-stat-card > span,
body.tl-app-body.tl-route-seo .tl-stat-grid .tl-stat-card > span,
body.tl-app-body.tl-route-google-rank-checker .tl-stat-grid .tl-stat-card > span,
body.tl-app-body.tl-route-set-timer .tl-stat-grid .tl-stat-card > span{
  grid-column:3!important;
  grid-row:1 / span 2!important;
  max-width:150px!important;
  min-width:0!important;
  text-align:right!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:11px!important;
  letter-spacing:.065em!important;
}

@media(max-width:980px){
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace{
    grid-template-columns:1fr!important;
  }
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace > .tl-card,
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace > .tl-data-panel,
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace > .tl-chart-card,
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace > .tl-compact-panel{
    align-self:stretch!important;
  }
}
@media(max-width:640px){
  body.tl-app-body.tl-route-uptime-monitor .tl-stat-grid .tl-stat-card,
  body.tl-app-body.tl-route-seo .tl-stat-grid .tl-stat-card,
  body.tl-app-body.tl-route-google-rank-checker .tl-stat-grid .tl-stat-card,
  body.tl-app-body.tl-route-set-timer .tl-stat-grid .tl-stat-card{
    grid-template-columns:38px minmax(0,1fr)!important;
  }
  body.tl-app-body.tl-route-uptime-monitor .tl-stat-grid .tl-stat-card > span,
  body.tl-app-body.tl-route-seo .tl-stat-grid .tl-stat-card > span,
  body.tl-app-body.tl-route-google-rank-checker .tl-stat-grid .tl-stat-card > span,
  body.tl-app-body.tl-route-set-timer .tl-stat-grid .tl-stat-card > span{
    grid-column:2!important;
    grid-row:2!important;
    text-align:left!important;
  }
}

/* =========================================================
   v129.20 TARGETED ANALYTICS / DOMAIN / LOG CLEAN RELEASE
   Visual-only collision fixes. Existing PHP, DB, routing, JS logic untouched.
   ========================================================= */

/* 1) Shortlink analytics KPI cards: stable 3-zone layout, no label/value overlap. */
body.tl-app-body.tl-route-shortlink-analytics .tl-stat-grid{
  align-items:stretch!important;
}
body.tl-app-body.tl-route-shortlink-analytics .tl-stat-grid .tl-stat-card{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 44px!important;
  grid-template-areas:"content icon"!important;
  align-items:end!important;
  gap:14px!important;
  min-height:118px!important;
  padding:22px 22px 18px!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-shortlink-analytics .tl-stat-grid .tl-stat-card > div:first-child{
  grid-area:content!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:8px!important;
}
body.tl-app-body.tl-route-shortlink-analytics .tl-stat-grid .tl-stat-card small{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  color:var(--tl-muted)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  line-height:1.1!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.tl-app-body.tl-route-shortlink-analytics .tl-stat-grid .tl-stat-card b{
  display:block!important;
  max-width:100%!important;
  min-width:0!important;
  font-size:25px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.tl-app-body.tl-route-shortlink-analytics .tl-stat-grid .tl-stat-card .icon{
  grid-area:icon!important;
  align-self:end!important;
  justify-self:end!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  border-radius:12px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  font-size:17px!important;
}

/* 2) Recent Clicks: date column gets enough width; other long fields ellipsize safely. */
body.tl-app-body.tl-route-shortlink-analytics .tl-card:has(> h3:first-child) .tl-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  border-radius:16px!important;
}
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table{
  width:100%!important;
  min-width:980px!important;
  table-layout:fixed!important;
}
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table th,
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table td{
  height:52px!important;
  padding:0 14px!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table th:nth-child(1),
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table td:nth-child(1){
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
}
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table th:nth-child(2),
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table td:nth-child(2){width:86px!important;}
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table th:nth-child(3),
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table td:nth-child(3){width:220px!important;}
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table th:nth-child(4),
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table td:nth-child(4){width:180px!important;}
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table th:nth-child(5),
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table td:nth-child(5){width:190px!important;}
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table th:nth-child(6),
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table td:nth-child(6){width:110px!important;}
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table th:nth-child(7),
body.tl-app-body.tl-route-shortlink-analytics .tl-card h3 + .tl-table-wrap .tl-table td:nth-child(7){width:100px!important;}

/* 3) Analytics center: auto-height cards, no fake horizontal scrollbars, readable aliases. */
body.tl-app-body.tl-route-analytics .tl-analytics-workspace.pro-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.7fr) minmax(340px,1fr) minmax(340px,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  grid-auto-flow:row dense!important;
  grid-auto-rows:auto!important;
}
body.tl-app-body.tl-route-analytics .tl-analytics-workspace.pro-grid > .tl-card{
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-analytics .tl-analytics-workspace.pro-grid > .tl-card-wide,
body.tl-app-body.tl-route-analytics .tl-analytics-workspace.pro-grid > .tl-chart-card{
  min-height:330px!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap{
  overflow:hidden!important;
  max-height:none!important;
  border-radius:16px!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table,
body.tl-app-body.tl-route-biolink-analytics .tl-data-panel .tl-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td{
  padding:0 14px!important;
  height:48px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:first-child,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:first-child{
  width:auto!important;
  min-width:0!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:last-child{
  width:88px!important;
  min-width:88px!important;
  max-width:88px!important;
  text-align:right!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:nth-child(2):not(:last-child),
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:nth-child(2):not(:last-child){
  width:90px!important;
  min-width:90px!important;
  max-width:90px!important;
  text-align:left!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td b,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td code,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td a:not(.tl-btn),
body.tl-app-body.tl-route-analytics .tl-segment-url{
  display:inline-block!important;
  max-width:100%!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  vertical-align:middle!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table .tl-btn-sm{
  width:auto!important;
  max-width:100%!important;
  height:34px!important;
  padding:0 12px!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap::-webkit-scrollbar,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap{scrollbar-width:none!important;}

/* Empty analytics tables become clean empty rows instead of stretched broken blocks. */
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table tr:only-child{
  height:52px!important;
}

/* 4) Add Domain form: keep action buttons aligned with inputs and prevent oversized white space. */
body.tl-app-body.tl-route-domains .tl-add-card .tl-form,
body.tl-app-body.tl-route-add-domain .tl-add-card .tl-form{
  display:grid!important;
  gap:14px!important;
}
body.tl-app-body.tl-route-domains .tl-add-card .tl-form-grid,
body.tl-app-body.tl-route-add-domain .tl-add-card .tl-form-grid{
  align-items:end!important;
  gap:14px!important;
}
body.tl-app-body.tl-route-domains .tl-add-card .tl-form-actions,
body.tl-app-body.tl-route-add-domain .tl-add-card .tl-form-actions,
body.tl-app-body.tl-route-domains .tl-add-card .tl-btn-row,
body.tl-app-body.tl-route-add-domain .tl-add-card .tl-btn-row{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:4px!important;
  flex-wrap:wrap!important;
}
body.tl-app-body.tl-route-domains .tl-add-card input,
body.tl-app-body.tl-route-add-domain .tl-add-card input{
  min-width:0!important;
}

/* 5) Dark theme parity for touched components only. */
body[data-theme="dark"].tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap,
[data-theme="dark"] body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap,
body[data-theme="dark"].tl-app-body.tl-route-shortlink-analytics .tl-table-wrap,
[data-theme="dark"] body.tl-app-body.tl-route-shortlink-analytics .tl-table-wrap{
  background:#0b1220!important;
  border-color:#334155!important;
}
body[data-theme="dark"].tl-app-body.tl-route-analytics .tl-data-panel .tl-table th,
body[data-theme="dark"].tl-app-body.tl-route-analytics .tl-data-panel .tl-table td,
body[data-theme="dark"].tl-app-body.tl-route-shortlink-analytics .tl-table th,
body[data-theme="dark"].tl-app-body.tl-route-shortlink-analytics .tl-table td,
[data-theme="dark"] body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th,
[data-theme="dark"] body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td,
[data-theme="dark"] body.tl-app-body.tl-route-shortlink-analytics .tl-table th,
[data-theme="dark"] body.tl-app-body.tl-route-shortlink-analytics .tl-table td{
  border-color:#334155!important;
  color:#dbeafe!important;
}

@media(max-width:1180px){
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace.pro-grid{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:780px){
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace.pro-grid{
    grid-template-columns:1fr!important;
  }
  body.tl-app-body.tl-route-shortlink-analytics .tl-stat-grid .tl-stat-card{
    min-height:96px!important;
  }
}

/* =========================================================
   v129.21 ANALYTICS MASONRY ALIGNMENT FIX
   Targeted visual-only fix for Analytics whitespace/gap problem.
   PHP queries, DB logic, buttons, links, export and forms untouched.
   ========================================================= */
body.tl-app-body.tl-route-analytics .tl-analytics-workspace.tl-analytics-columns{
  display:grid!important;
  grid-template-columns:minmax(0,1.7fr) minmax(340px,1fr) minmax(340px,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  grid-auto-flow:initial!important;
}
body.tl-app-body.tl-route-analytics .tl-analytics-col{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
}
body.tl-app-body.tl-route-analytics .tl-analytics-col > .tl-card{
  width:100%!important;
  margin:0!important;
  min-height:0!important;
  height:auto!important;
  align-self:stretch!important;
}
body.tl-app-body.tl-route-analytics .tl-chart-card{
  min-height:330px!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel,
body.tl-app-body.tl-route-analytics .tl-compact-panel{
  padding:20px!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-card-head{
  margin-bottom:14px!important;
  padding-bottom:14px!important;
}
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table-wrap,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap{
  overflow:hidden!important;
  max-height:none!important;
}
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table{
  table-layout:fixed!important;
  width:100%!important;
  min-width:0!important;
}
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table th,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table td,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td{
  height:48px!important;
  padding:0 14px!important;
  vertical-align:middle!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:first-child,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:first-child{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:last-child{
  width:92px!important;
  max-width:92px!important;
  text-align:right!important;
}
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table th:first-child,
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table td:first-child{
  width:auto!important;
  text-align:left!important;
}
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-segment-url{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table td:last-child{
  width:72px!important;
  max-width:72px!important;
}
body.tl-app-body.tl-route-analytics .tl-segment-count{
  min-width:32px!important;
  height:26px!important;
  padding:0 9px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#f8fafc!important;
  border:1px solid var(--tl-border)!important;
  color:var(--tl-heading)!important;
  font-weight:900!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table tr:only-child td,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table tr:only-child th{
  height:52px!important;
}
@media(max-width:1180px){
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace.tl-analytics-columns{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:780px){
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace.tl-analytics-columns{
    grid-template-columns:1fr!important;
  }
}
body[data-theme="dark"].tl-app-body.tl-route-analytics .tl-segment-count,
[data-theme="dark"] body.tl-app-body.tl-route-analytics .tl-segment-count{
  background:#0f172a!important;
  border-color:#334155!important;
  color:#e2e8f0!important;
}

/* FINAL UI ALIGNMENT PATCH: compact CRUD, analytics tables, dashboard gaps */
body.tl-app-body.tl-route-admin-content .tl-page-header,
body.tl-app-body.tl-route-admin-content .tl-resource-tabs,
body.tl-app-body.tl-route-admin-content .tl-content-grid{
  display:none!important;
}
body.tl-app-body.tl-route-admin-content .tl-global-crud-template{
  display:block!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-table-card{
  margin-top:0!important;
  padding:16px!important;
  border-radius:20px!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-card-head-pro,
body.tl-app-body.tl-route-admin-content .tl-crud-card-head-plus{
  min-height:0!important;
  padding:0 0 14px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  flex-wrap:wrap!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-card-head-pro h3,
body.tl-app-body.tl-route-admin-content .tl-crud-card-head-plus h3{
  margin:0!important;
  font-size:18px!important;
  line-height:1.2!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-card-head-plus .tl-action-bar{
  margin:0!important;
  padding:10px!important;
  border:1px solid var(--tl-border)!important;
  border-radius:14px!important;
  background:var(--tl-surface)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  max-width:560px!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-search{
  width:220px!important;
  min-width:180px!important;
  max-width:260px!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-safe-delete{
  margin:10px 0 16px!important;
  padding:14px!important;
  min-height:0!important;
  border-radius:16px!important;
}
body.tl-app-body.tl-route-admin-content .tl-delete-all-inline{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
body.tl-app-body.tl-route-admin-content .tl-table-shell{
  max-height:none!important;
  overflow:auto!important;
  border-radius:16px!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-table{
  min-width:1040px!important;
  table-layout:auto!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-table th,
body.tl-app-body.tl-route-admin-content .tl-crud-table td{
  height:50px!important;
  padding:0 14px!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-table td:nth-child(5),
body.tl-app-body.tl-route-admin-content .tl-crud-table td:nth-child(6){
  max-width:190px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-row-actions{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
  white-space:nowrap!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-row-actions .tl-btn{
  width:auto!important;
  min-width:58px!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  border-radius:9px!important;
  font-size:12px!important;
}

/* Analytics: remove fake left gutters and keep tables content-aligned */
body.tl-app-body.tl-route-analytics .tl-table,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table{
  table-layout:auto!important;
  min-width:0!important;
  width:100%!important;
}
body.tl-app-body.tl-route-analytics .tl-table th,
body.tl-app-body.tl-route-analytics .tl-table td,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table th,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table td,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td{
  text-align:left!important;
  padding-left:14px!important;
  padding-right:14px!important;
  white-space:nowrap!important;
}
body.tl-app-body.tl-route-analytics .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-table td:last-child{
  text-align:right!important;
}
body.tl-app-body.tl-route-analytics .tl-table th:first-child,
body.tl-app-body.tl-route-analytics .tl-table td:first-child{
  width:auto!important;
  max-width:none!important;
}
body.tl-app-body.tl-route-analytics .tl-table-wrap,
body.tl-app-body.tl-route-analytics .tl-table-shell{
  overflow:hidden!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel,
body.tl-app-body.tl-route-analytics .tl-compact-panel{
  min-height:0!important;
  height:auto!important;
}
body.tl-app-body.tl-route-analytics .tl-card:has(table){
  min-height:0!important;
  height:auto!important;
}
body.tl-app-body.tl-route-analytics .tl-btn-sm{
  max-width:none!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* Dashboard: remove unused gutters inside ranking/list cards */
body.tl-app-body.tl-route-dashboard .tl-command-grid-three,
body.tl-app-body.tl-route-dashboard .tl-command-grid-bottom{
  align-items:start!important;
}
body.tl-app-body.tl-route-dashboard .tl-card{
  min-height:0!important;
  height:auto!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-list,
body.tl-app-body.tl-route-dashboard .tl-list-metric{
  width:100%!important;
  display:grid!important;
  gap:10px!important;
  align-content:start!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-item{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  min-height:56px!important;
  padding:10px 12px!important;
  width:100%!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-item > span{
  width:30px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-body{
  min-width:0!important;
  overflow:hidden!important;
  text-align:left!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-body b,
body.tl-app-body.tl-route-dashboard .tl-rank-body small{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-app-body.tl-route-dashboard .tl-list-metric > div{
  min-height:44px!important;
  padding:10px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
}
body.tl-app-body.tl-route-dashboard .tl-list-metric span{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-app-body.tl-route-dashboard .tl-list-metric b{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}

/* Dark mode parity for the newly compacted areas */
[data-theme="dark"] body.tl-app-body.tl-route-admin-content .tl-crud-card-head-plus .tl-action-bar,
body[data-theme="dark"].tl-app-body.tl-route-admin-content .tl-crud-card-head-plus .tl-action-bar{
  background:#0f172a!important;
  border-color:#334155!important;
}
[data-theme="dark"] body.tl-app-body.tl-route-admin-content .tl-crud-safe-delete,
body[data-theme="dark"].tl-app-body.tl-route-admin-content .tl-crud-safe-delete{
  background:rgba(127,29,29,.16)!important;
  border-color:rgba(248,113,113,.25)!important;
}

/* Preserve Admin CRUD navigation and add/edit forms; only compact spacing. */
body.tl-app-body.tl-route-admin-content .tl-page-header{
  display:grid!important;
  min-height:72px!important;
  padding:14px!important;
  margin-bottom:12px!important;
}
body.tl-app-body.tl-route-admin-content .tl-resource-tabs{
  display:grid!important;
  margin-bottom:12px!important;
}
body.tl-app-body.tl-route-admin-content .tl-content-grid{
  display:block!important;
  margin-bottom:14px!important;
}
body.tl-app-body.tl-route-admin-content .tl-content-grid > .tl-card{
  margin-bottom:0!important;
}

/* =========================================================
   v129.23 TARGETED VISUAL FIX
   Scope: spacing/alignment only. No PHP/DB/JS behavior changed.
   ========================================================= */

/* 1) Remove fake gutters in Analytics tables. Keep labels close to left edge. */
body.tl-app-body.tl-route-analytics .tl-analytics-workspace,
body.tl-app-body.tl-route-analytics .tl-analytics-columns{
  align-items:start!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel,
body.tl-app-body.tl-route-analytics .tl-compact-panel,
body.tl-app-body.tl-route-analytics .tl-card:has(.tl-table){
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  border-radius:16px!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table th,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table td{
  height:48px!important;
  padding:0 16px!important;
  text-align:left!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:first-child,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:first-child,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table th:first-child,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table td:first-child{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  text-align:left!important;
  padding-left:18px!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:last-child,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table td:last-child{
  width:96px!important;
  min-width:96px!important;
  max-width:96px!important;
  text-align:right!important;
  padding-right:18px!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:nth-child(2):not(:last-child),
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:nth-child(2):not(:last-child){
  width:120px!important;
  max-width:120px!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:nth-child(3),
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:nth-child(3){
  width:108px!important;
  max-width:108px!important;
  text-align:right!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td b,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td code,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td a:not(.tl-btn),
body.tl-app-body.tl-route-analytics .tl-segment-url{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  text-align:inherit!important;
}
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table th:first-child,
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table td:first-child{
  width:auto!important;
  max-width:none!important;
}
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table td:last-child{
  width:74px!important;
  min-width:74px!important;
  max-width:74px!important;
}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table .tl-btn-sm,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table .tl-btn-sm{
  width:auto!important;
  min-width:86px!important;
  max-width:none!important;
  padding:0 12px!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* 2) Empty/low-data analytics panels: no forced blank blocks. */
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table tr:only-child th,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table tr:only-child td,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table tr:only-child th,
body.tl-app-body.tl-route-analytics .tl-compact-panel .tl-table tr:only-child td{
  height:48px!important;
}
body.tl-app-body.tl-route-analytics .tl-chart-card{
  min-height:0!important;
  height:auto!important;
}
body.tl-app-body.tl-route-analytics .tl-chart-card .chart-bars{
  min-height:250px!important;
}

/* 3) Dashboard ranking/list cards: remove decorative blank column and large unused area. */
body.tl-app-body.tl-route-dashboard .tl-rank-list,
body.tl-app-body.tl-route-dashboard .tl-list-metric{
  width:100%!important;
  display:grid!important;
  gap:10px!important;
  align-content:start!important;
  min-height:0!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-item{
  width:100%!important;
  min-height:56px!important;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  padding:10px 12px!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-item::before,
body.tl-app-body.tl-route-dashboard .tl-list-metric::before,
body.tl-app-body.tl-route-dashboard .tl-card::after{
  pointer-events:none!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-body{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-body b,
body.tl-app-body.tl-route-dashboard .tl-rank-body small{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-app-body.tl-route-dashboard .tl-command-grid-three > .tl-card,
body.tl-app-body.tl-route-dashboard .tl-command-grid-bottom > .tl-card{
  min-height:0!important;
  height:auto!important;
  align-self:start!important;
}

/* 4) Billing: normalize KPI, gateway cards and pricing cards without changing forms/actions. */
body.tl-app-body.tl-route-daftar-harga .tl-stat-grid,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-stat-grid,
body.tl-app-body.tl-route-billing .tl-stat-grid{
  align-items:stretch!important;
  margin-bottom:22px!important;
}
body.tl-app-body.tl-route-daftar-harga .tl-stat-grid > .tl-stat-card,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-stat-grid > .tl-stat-card,
body.tl-app-body.tl-route-billing .tl-stat-grid > .tl-stat-card{
  min-height:104px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  padding:16px!important;
}
body.tl-app-body.tl-route-daftar-harga .tl-stat-grid > .tl-stat-card .tl-stat-card,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-stat-grid > .tl-stat-card .tl-stat-card,
body.tl-app-body.tl-route-billing .tl-stat-grid > .tl-stat-card .tl-stat-card{
  min-height:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  border-radius:0!important;
  display:block!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-daftar-harga .tl-payment-methods .tl-card-grid,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-payment-methods .tl-card-grid,
body.tl-app-body.tl-route-billing .tl-payment-methods .tl-card-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;
  gap:14px!important;
  padding:20px!important;
  align-items:stretch!important;
}
body.tl-app-body.tl-route-daftar-harga .tl-payment-methods .tl-card-grid > .tl-card,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-payment-methods .tl-card-grid > .tl-card,
body.tl-app-body.tl-route-billing .tl-payment-methods .tl-card-grid > .tl-card{
  min-height:178px!important;
  height:auto!important;
  padding:18px!important;
  display:grid!important;
  grid-template-rows:auto auto auto 1fr!important;
  gap:10px!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-daftar-harga .tl-gateway-icon,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-gateway-icon,
body.tl-app-body.tl-route-billing .tl-gateway-icon{
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
  display:grid!important;
  place-items:center!important;
  background:#eef2ff!important;
  color:var(--tl-primary)!important;
  font-weight:950!important;
}
body.tl-app-body.tl-route-daftar-harga .tl-payment-methods .tl-stat-card,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-payment-methods .tl-stat-card,
body.tl-app-body.tl-route-billing .tl-payment-methods .tl-stat-card{
  min-height:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  display:block!important;
}
body.tl-app-body.tl-route-daftar-harga .plan-card,
body.tl-app-body.tl-route-riwayat-pembayaran .plan-card,
body.tl-app-body.tl-route-billing .plan-card{
  min-height:0!important;
  height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  padding:22px!important;
}
body.tl-app-body.tl-route-daftar-harga .plan-card .tl-info-list,
body.tl-app-body.tl-route-riwayat-pembayaran .plan-card .tl-info-list,
body.tl-app-body.tl-route-billing .plan-card .tl-info-list{
  margin:0!important;
  padding:0!important;
  display:grid!important;
  gap:10px!important;
}

/* 5) General white-space safety: page cards should not create viewport-sized blank areas. */
body.tl-app-body .tl-card,
body.tl-app-body .tl-table-card{
  min-height:0;
}
body.tl-app-body .tl-card > .tl-card-body:empty,
body.tl-app-body .tl-card > .tl-table-wrap:empty{
  display:none!important;
}

[data-theme="dark"] body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap,
body[data-theme="dark"].tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap,
[data-theme="dark"] body.tl-app-body.tl-route-daftar-harga .tl-gateway-icon,
body[data-theme="dark"].tl-app-body.tl-route-daftar-harga .tl-gateway-icon{
  background:#0f172a!important;
  border-color:#334155!important;
}

/* =========================================================
   v129.24 REAL VISUAL OVERRIDE FINAL
   Fix visible unchanged areas: table left gutters, empty-state height,
   dashboard stretched cards, admin blank page area. Visual-only.
   ========================================================= */

/* Global: compact empty states; never reserve large fake space */
body.tl-app-body .tl-empty-state,
body.tl-app-body .tl-empty-state-pro,
body.tl-app-body .tl-empty-domain{
  min-height:0!important;
  height:auto!important;
  padding:14px 16px!important;
  border-radius:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
}
body.tl-app-body .tl-empty-state:before,
body.tl-app-body .tl-empty-state-pro:before,
body.tl-app-body .tl-empty-domain:before{
  display:none!important;
  content:none!important;
}

/* Analytics masonry: actual 3 compact columns, no equal-height stretching */
body.tl-app-body.tl-route-analytics .tl-analytics-workspace.tl-analytics-columns,
body.tl-app-body.tl-route-analytics .tl-analytics-workspace.pro-grid.tl-analytics-columns{
  display:grid!important;
  grid-template-columns:minmax(0,1.62fr) minmax(330px,.95fr) minmax(340px,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  grid-auto-rows:auto!important;
  grid-auto-flow:initial!important;
}
body.tl-app-body.tl-route-analytics .tl-analytics-col{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:18px!important;
  min-width:0!important;
  height:auto!important;
}
body.tl-app-body.tl-route-analytics .tl-analytics-col > .tl-card,
body.tl-app-body.tl-route-analytics .tl-analytics-col > .tl-data-panel,
body.tl-app-body.tl-route-analytics .tl-analytics-col > .tl-compact-panel,
body.tl-app-body.tl-route-analytics .tl-analytics-col > .tl-chart-card{
  height:auto!important;
  min-height:0!important;
  align-self:stretch!important;
  margin:0!important;
  padding:18px!important;
  display:block!important;
}
body.tl-app-body.tl-route-analytics .tl-chart-card .chart-bars{
  height:260px!important;
  min-height:260px!important;
  max-height:260px!important;
}

/* Analytics tables: remove large blank first column by using predictable column widths */
body.tl-app-body.tl-route-analytics .tl-card .tl-table-wrap,
body.tl-app-body.tl-route-analytics .tl-card .tl-table-shell{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  border-radius:16px!important;
}
body.tl-app-body.tl-route-analytics .tl-card .tl-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
body.tl-app-body.tl-route-analytics .tl-card .tl-table th,
body.tl-app-body.tl-route-analytics .tl-card .tl-table td{
  height:46px!important;
  padding:0 14px!important;
  text-align:left!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.tl-app-body.tl-route-analytics .tl-card .tl-table th:first-child,
body.tl-app-body.tl-route-analytics .tl-card .tl-table td:first-child{
  width:auto!important;
  text-align:left!important;
  padding-left:14px!important;
}
body.tl-app-body.tl-route-analytics .tl-card .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-card .tl-table td:last-child{
  width:82px!important;
  min-width:82px!important;
  max-width:82px!important;
  text-align:right!important;
  padding-right:14px!important;
}
body.tl-app-body.tl-route-analytics .tl-card .tl-table th:nth-child(2):not(:last-child),
body.tl-app-body.tl-route-analytics .tl-card .tl-table td:nth-child(2):not(:last-child){
  width:110px!important;
  max-width:110px!important;
  text-align:left!important;
}
body.tl-app-body.tl-route-analytics .tl-card .tl-table th:nth-child(3),
body.tl-app-body.tl-route-analytics .tl-card .tl-table td:nth-child(3){
  width:90px!important;
  max-width:90px!important;
  text-align:right!important;
}
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table th:first-child,
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table td:first-child{
  width:auto!important;
}
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table td:last-child{
  width:62px!important;
  min-width:62px!important;
  max-width:62px!important;
}
body.tl-app-body.tl-route-analytics .tl-segment-url,
body.tl-app-body.tl-route-analytics .tl-table td b,
body.tl-app-body.tl-route-analytics .tl-table td code{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  text-align:inherit!important;
}
body.tl-app-body.tl-route-analytics .tl-table .tl-btn-sm{
  min-width:0!important;
  width:74px!important;
  max-width:74px!important;
  padding:0 8px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Dashboard: no stretched cards and no giant blank areas below lists */
body.tl-app-body.tl-route-dashboard .tl-command-grid-main,
body.tl-app-body.tl-route-dashboard .tl-command-grid-three,
body.tl-app-body.tl-route-dashboard .tl-command-grid-bottom{
  align-items:start!important;
  grid-auto-rows:auto!important;
}
body.tl-app-body.tl-route-dashboard .tl-command-grid-main > .tl-card,
body.tl-app-body.tl-route-dashboard .tl-command-grid-three > .tl-card,
body.tl-app-body.tl-route-dashboard .tl-command-grid-bottom > .tl-card,
body.tl-app-body.tl-route-dashboard .tl-content-grid > .tl-card,
body.tl-app-body.tl-route-dashboard .tl-content-grid > section{
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
  display:block!important;
  padding:18px!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-list,
body.tl-app-body.tl-route-dashboard .tl-list-metric,
body.tl-app-body.tl-route-dashboard .tl-quick-action-list,
body.tl-app-body.tl-route-dashboard .tl-system-list{
  min-height:0!important;
  height:auto!important;
  align-content:start!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-item{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  justify-items:stretch!important;
  min-height:54px!important;
  height:auto!important;
  padding:9px 12px!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-item > span{
  grid-column:1!important;
  justify-self:start!important;
  width:28px!important;
  height:28px!important;
  margin:0!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-body{
  grid-column:2!important;
  justify-self:stretch!important;
  text-align:left!important;
  min-width:0!important;
  margin:0!important;
}
body.tl-app-body.tl-route-dashboard .tl-rank-item > em{
  grid-column:3!important;
  justify-self:end!important;
  margin:0!important;
}
body.tl-app-body.tl-route-dashboard .tl-list-metric > div{
  min-height:44px!important;
  height:auto!important;
}

/* Admin/content global CRUD: prevent huge top blank block and keep table reachable */
body.tl-app-body.tl-route-admin-content .tl-page-header{
  min-height:0!important;
  height:auto!important;
  padding:16px 18px!important;
  margin-bottom:14px!important;
}
body.tl-app-body.tl-route-admin-content .tl-content-grid,
body.tl-app-body.tl-route-admin-content .tl-card,
body.tl-app-body.tl-route-admin-content .tl-crud-table-card{
  min-height:0!important;
  height:auto!important;
}
body.tl-app-body.tl-route-admin-content .tl-crud-card-head-plus,
body.tl-app-body.tl-route-admin-content .tl-crud-card-head-pro{
  min-height:0!important;
  height:auto!important;
  padding:0 0 12px!important;
  margin:0!important;
}

/* Payment cards: remove single-letter overflow above cards and normalize inner card */
body.tl-app-body .tl-payment-methods .tl-card-grid > .tl-card > small:first-child,
body.tl-app-body .tl-payment-methods .tl-card-grid > .tl-card > span:first-child{
  display:none!important;
}
body.tl-app-body .tl-payment-methods .tl-card-grid > .tl-card{
  min-height:170px!important;
  height:auto!important;
  padding:18px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.tl-app-body .tl-payment-methods .tl-card-grid > .tl-card h3,
body.tl-app-body .tl-payment-methods .tl-card-grid > .tl-card h4{
  margin:0!important;
  line-height:1.1!important;
}

@media(max-width:1180px){
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace.tl-analytics-columns,
  body.tl-app-body.tl-route-analytics .tl-analytics-workspace.pro-grid.tl-analytics-columns{
    grid-template-columns:1fr!important;
  }
}

/* =========================================================
   v130.02 DASHBOARD TRUE MASONRY SAFE FIX
   Targeted layout-only fix: remove row-height blank gaps without touching PHP data/actions.
   ========================================================= */
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry{
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.82fr) minmax(340px,.95fr)!important;
  gap:18px!important;
  align-items:start!important;
  width:100%!important;
  min-width:0!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-column{
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
  align-items:stretch!important;
  min-width:0!important;
  height:auto!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-card{
  height:auto!important;
  min-height:0!important;
  align-self:stretch!important;
  display:block!important;
  padding:18px!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-card-head{
  padding:0 0 14px!important;
  margin:0 0 14px!important;
  border-bottom:1px solid var(--tl-border)!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-rank-list,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-list-metric,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-quick-action-list,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-system-list{
  min-height:0!important;
  height:auto!important;
  display:grid!important;
  gap:10px!important;
  align-content:start!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table-wrap{
  width:100%!important;
  overflow:hidden!important;
  border-radius:16px!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table th,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table td{
  height:46px!important;
  padding:0 12px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  vertical-align:middle!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table th:first-child,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table td:first-child{
  width:34%!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table th:nth-child(2),
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table td:nth-child(2),
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table th:nth-child(3),
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table td:nth-child(3){
  width:18%!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table th:last-child,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table td:last-child{
  width:30%!important;
}
body.tl-app-body.tl-route-dashboard .tl-world-card{
  min-height:0!important;
  height:auto!important;
  max-height:230px!important;
  padding:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-dashboard .tl-world-card img{
  width:100%!important;
  height:auto!important;
  max-height:200px!important;
  object-fit:contain!important;
}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-list-metric.compact > div,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-list-metric > div{
  height:auto!important;
  min-height:44px!important;
  padding:10px 14px!important;
}
body.tl-app-body.tl-route-dashboard .tl-insight-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
}
body.tl-app-body.tl-route-dashboard .tl-insight-label{
  min-width:0!important;
}
body.tl-app-body.tl-route-dashboard .tl-insight-label b,
body.tl-app-body.tl-route-dashboard .tl-insight-label small{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
@media(max-width:1200px){
  body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry{
    grid-template-columns:1fr!important;
  }
}


/* === TL V130.03 GLOBAL UI HARDENING PASS === */
:root{
  --tl-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --tl-radius-sm:10px;
  --tl-radius-md:14px;
  --tl-radius-lg:18px;
  --tl-radius-xl:22px;
  --tl-space-1:4px;
  --tl-space-2:8px;
  --tl-space-3:12px;
  --tl-space-4:16px;
  --tl-space-5:20px;
  --tl-space-6:24px;
  --tl-title:18px;
  --tl-body:13px;
  --tl-small:12px;
  --tl-row-h:48px;
  --tl-control-h:38px;
}
html,body,.tl-app-body,.tl-content{font-family:var(--tl-font)!important;font-size:var(--tl-body)!important;line-height:1.5!important;color:var(--tl-text)!important;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;}
.tl-content{padding:20px!important;overflow-x:hidden!important;}
.tl-page,.tl-content,.tl-main{min-width:0!important;}
.tl-content *{box-sizing:border-box;}
.tl-content h1,.tl-content h2,.tl-content h3,.tl-content h4{color:var(--tl-heading)!important;letter-spacing:-.03em!important;line-height:1.2!important;overflow-wrap:normal!important;word-break:normal!important;}
.tl-content h1{font-size:clamp(24px,2.2vw,30px)!important;}
.tl-content h2{font-size:22px!important;}
.tl-content h3,.tl-card-head h3,.tl-card>h3:first-child{font-size:var(--tl-title)!important;font-weight:900!important;margin:0!important;}
.tl-content p,.tl-card-head p,.tl-page-header p,.tl-help,.tl-field-help{font-size:var(--tl-small)!important;line-height:1.45!important;color:var(--tl-muted)!important;}
.tl-content small{font-size:11px!important;line-height:1.35!important;}

/* layout source-of-truth */
.tl-card,.tl-table-card,.tl-form-card,.tl-data-panel,.tl-segment-card{height:auto!important;min-height:0!important;max-height:none!important;align-self:start!important;border-radius:var(--tl-radius-lg)!important;background:var(--tl-surface)!important;border:1px solid var(--tl-border)!important;box-shadow:var(--tl-shadow-soft)!important;overflow:hidden!important;}
.tl-card-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:var(--tl-space-4)!important;min-height:0!important;margin:0!important;padding:var(--tl-space-5)!important;border-bottom:1px solid var(--tl-border)!important;background:var(--tl-surface)!important;}
.tl-card-head>div{min-width:0!important;}
.tl-card-head h3,.tl-card-head p{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
.tl-card-body,.tl-card>form,.tl-card>.tl-form,.tl-card>ul,.tl-card>ol{padding:var(--tl-space-5)!important;}
.tl-card>.tl-table-wrap{padding:0!important;margin:var(--tl-space-5)!important;margin-top:0!important;width:auto!important;}
.tl-card>.tl-empty-state{margin:var(--tl-space-5)!important;}
.tl-page-header{height:auto!important;min-height:0!important;border-radius:var(--tl-radius-xl)!important;padding:var(--tl-space-6)!important;overflow:visible!important;}
.tl-content-grid,.tl-page-grid,.tl-card-grid,.tl-form-grid,.tl-form-row,.pro-grid,.tl-dashboard-masonry,.tl-analytics-columns{align-items:start!important;align-content:start!important;gap:var(--tl-space-5)!important;}

/* cards must not stretch each other vertically */
.tl-dashboard-masonry,.tl-analytics-columns{display:grid!important;grid-auto-flow:row!important;}
.tl-dashboard-column,.tl-analytics-col{display:grid!important;gap:var(--tl-space-5)!important;align-content:start!important;align-items:start!important;min-width:0!important;}
.tl-dashboard-column>.tl-card,.tl-analytics-col>.tl-card{height:auto!important;min-height:0!important;align-self:start!important;}
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry{grid-template-columns:minmax(0,1.15fr) minmax(300px,.72fr) minmax(340px,.8fr)!important;}
body.tl-app-body.tl-route-analytics .tl-analytics-columns{grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr) minmax(340px,.9fr)!important;}

/* typography-safe stat cards */
.tl-stat-grid,.tl-stat-grid-pro,.tl-command-kpis{align-items:start!important;gap:var(--tl-space-4)!important;}
.tl-stat-card{height:auto!important;min-height:84px!important;padding:var(--tl-space-4)!important;border-radius:var(--tl-radius-lg)!important;display:flex!important;align-items:center!important;gap:var(--tl-space-3)!important;overflow:hidden!important;}
.tl-stat-card>*{min-width:0!important;}
.tl-stat-card b{font-size:clamp(20px,1.8vw,26px)!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.tl-stat-card small,.tl-stat-card span{font-size:11px!important;line-height:1.25!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.tl-stat-icon,.tl-stat-card .icon,.stats-icon,.k-icon{width:38px!important;height:38px!important;min-width:38px!important;border-radius:12px!important;font-size:17px!important;}

/* table system: avoid fake blank columns and keep ellipsis only for long content */
.tl-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;border-radius:var(--tl-radius-lg)!important;border:1px solid var(--tl-border)!important;box-shadow:none!important;background:var(--tl-surface)!important;}
.tl-table{width:100%!important;min-width:0!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;font-size:12.5px!important;}
.tl-table th,.tl-table td{height:var(--tl-row-h)!important;padding:0 14px!important;vertical-align:middle!important;border-bottom:1px solid var(--tl-border)!important;color:var(--tl-text)!important;}
.tl-table th{background:var(--tl-surface-2)!important;color:var(--tl-heading)!important;font-size:10.5px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.055em!important;white-space:nowrap!important;}
.tl-table td{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important;overflow-wrap:anywhere!important;}
.tl-table tr:last-child td{border-bottom:0!important;}
.tl-table td:first-child,.tl-table th:first-child,.tl-table td:nth-child(2),.tl-table th:nth-child(2),.tl-table td:nth-child(3),.tl-table th:nth-child(3),.tl-table td:last-child,.tl-table th:last-child{width:auto!important;max-width:none!important;}
.tl-table td:has(.tl-table-actions),.tl-table th:last-child,.tl-table td:last-child{white-space:nowrap!important;}
.tl-table td code,.tl-table .tl-dest-url,.tl-table .tl-table-ellipsis,.tl-table .tl-segment-url,.tl-table a[href^="http"],.tl-table td[data-type="url"]{display:block!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;word-break:normal!important;overflow-wrap:normal!important;}
.tl-table-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;white-space:nowrap!important;min-width:max-content!important;}
.tl-table-actions a,.tl-table-actions button,.tl-link-action-btn{width:32px!important;height:32px!important;min-width:32px!important;border-radius:10px!important;display:inline-grid!important;place-items:center!important;padding:0!important;line-height:1!important;}

/* compact analytics tables */
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table-wrap,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table-wrap{margin:14px 16px 16px!important;width:auto!important;overflow:hidden!important;}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table{table-layout:fixed!important;min-width:0!important;width:100%!important;}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table th,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table td{height:44px!important;padding:0 12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;word-break:normal!important;overflow-wrap:normal!important;}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:first-child,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:first-child,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table th:first-child,
body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry .tl-table td:first-child{width:auto!important;min-width:0!important;max-width:none!important;}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:last-child{width:88px!important;text-align:right!important;}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:nth-child(2),
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:nth-child(2){width:110px!important;}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table th:nth-child(3),
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table td:nth-child(3){width:96px!important;}
body.tl-app-body.tl-route-analytics .tl-data-panel .tl-table .tl-btn-sm{width:auto!important;max-width:none!important;min-width:82px!important;padding:0 10px!important;overflow:visible!important;text-overflow:clip!important;}
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table th:first-child,
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table td:first-child{width:auto!important;}
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table th:last-child,
body.tl-app-body.tl-route-analytics .tl-referrers-card .tl-table td:last-child{width:72px!important;text-align:right!important;}
.tl-segment-url{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;}
.tl-segment-count{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:28px!important;height:24px!important;border-radius:999px!important;background:var(--tl-surface-2)!important;border:1px solid var(--tl-border)!important;font-weight:900!important;color:var(--tl-heading)!important;}

/* lists, dashboard panels, empty state */
.tl-rank-list,.tl-list-metric,.tl-quick-action-list{display:grid!important;gap:10px!important;}
.tl-rank-item,.tl-list-metric>div,.tl-quick-action-list>a{min-height:48px!important;height:auto!important;border-radius:14px!important;padding:10px 12px!important;align-items:center!important;}
.tl-rank-body,.tl-rank-item b,.tl-rank-item small,.tl-list-metric span,.tl-quick-action-list span{min-width:0!important;}
.tl-rank-item b,.tl-rank-item small,.tl-list-metric span,.tl-quick-action-list b,.tl-quick-action-list small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.tl-empty-state,.tl-empty-state-pro{height:auto!important;min-height:64px!important;padding:14px!important;border-radius:var(--tl-radius-md)!important;margin:0!important;}
.tl-empty-state:before,.tl-empty-state-pro:before{display:none!important;}
.tl-world-card{height:auto!important;min-height:0!important;max-height:240px!important;overflow:hidden!important;}
.chart-bars{height:auto!important;min-height:240px!important;max-height:320px!important;}

/* forms/buttons/badges */
.tl-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.tl-content select,.tl-content textarea,.tl-control,.tl-input{min-height:var(--tl-control-h)!important;height:auto!important;border-radius:var(--tl-radius-md)!important;border:1px solid var(--tl-border)!important;background:var(--tl-surface)!important;color:var(--tl-heading)!important;font-size:12.5px!important;line-height:1.35!important;}
.tl-content textarea{min-height:88px!important;max-height:none!important;padding:11px 12px!important;resize:vertical!important;}
.tl-btn,a.tl-btn,button.tl-btn,.btn{min-height:var(--tl-control-h)!important;height:var(--tl-control-h)!important;border-radius:12px!important;font-size:12.5px!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important;}
.tl-badge,.tl-chip,.tl-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:22px!important;border-radius:999px!important;padding:3px 9px!important;font-size:11px!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important;}

/* dark mode all components */
[data-theme="dark"] body,[data-theme="dark"] .tl-content{background:#0b1020!important;color:#dbe4f0!important;}
[data-theme="dark"] .tl-card,[data-theme="dark"] .tl-table-card,[data-theme="dark"] .tl-form-card,[data-theme="dark"] .tl-data-panel,[data-theme="dark"] .tl-table-wrap,[data-theme="dark"] .tl-card-head{background:#111827!important;border-color:#253044!important;color:#dbe4f0!important;}
[data-theme="dark"] .tl-table th{background:#162033!important;color:#e5edf8!important;border-color:#253044!important;}
[data-theme="dark"] .tl-table td{background:#111827!important;color:#dbe4f0!important;border-color:#253044!important;}
[data-theme="dark"] .tl-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),[data-theme="dark"] .tl-content select,[data-theme="dark"] .tl-content textarea,[data-theme="dark"] .tl-control,[data-theme="dark"] .tl-input{background:#0f172a!important;border-color:#253044!important;color:#e5edf8!important;}
[data-theme="dark"] .tl-list-metric>div,[data-theme="dark"] .tl-rank-item,[data-theme="dark"] .tl-quick-action-list>a,[data-theme="dark"] .tl-empty-state{background:#0f172a!important;border-color:#253044!important;color:#dbe4f0!important;}

@media(max-width:1200px){
  body.tl-app-body.tl-route-dashboard .tl-dashboard-masonry,body.tl-app-body.tl-route-analytics .tl-analytics-columns{grid-template-columns:1fr!important;}
}
@media(max-width:780px){
  .tl-content{padding:14px!important;}
  .tl-card-head{padding:16px!important;}
  .tl-card>.tl-table-wrap{margin:12px!important;}
  .tl-table{min-width:680px!important;}
  .tl-stat-grid,.tl-stat-grid.six,.tl-stat-grid-pro,.tl-command-kpis{grid-template-columns:1fr!important;}
}


/* v130.04 Auth layout guard: keep auth views visible and independent from app-shell hardening */
body.tl-auth-body{min-height:100vh!important;display:block!important;overflow:auto!important;background:radial-gradient(circle at 18% 10%,rgba(99,91,255,.16),transparent 30%),linear-gradient(135deg,#f8fafc 0%,#eef6ff 48%,#fff 100%)!important;color:#0f172a!important}
body.tl-auth-body .tl-auth-page{min-height:100vh!important;display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(390px,480px)!important;align-items:center!important;gap:48px!important;padding:48px clamp(20px,6vw,92px)!important;max-width:1480px!important;margin:0 auto!important;background:transparent!important;visibility:visible!important;opacity:1!important;transform:none!important}
body.tl-auth-body .tl-auth-hero,body.tl-auth-body .tl-auth-panel,body.tl-auth-body .tl-auth-card{display:grid!important;visibility:visible!important;opacity:1!important;transform:none!important}
body.tl-auth-body .tl-auth-panel{place-items:center!important}
body.tl-auth-body .tl-auth-card{width:100%!important;max-width:460px!important;border:1px solid rgba(226,232,240,.96)!important;background:rgba(255,255,255,.92)!important;border-radius:28px!important;padding:30px!important;box-shadow:0 32px 80px rgba(15,23,42,.14)!important;backdrop-filter:blur(16px)!important;gap:0!important}
body.tl-auth-body .tl-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),body.tl-auth-body .tl-control{height:44px!important;min-height:44px!important;width:100%!important;border:1px solid #dbe4ef!important;border-radius:14px!important;background:#fff!important;color:#0f172a!important;padding:0 13px!important;outline:0!important}
body.tl-auth-body .tl-control-wrap .tl-control{padding-left:42px!important}
body.tl-auth-body .tl-form input:focus,body.tl-auth-body .tl-control:focus{border-color:#6366f1!important;box-shadow:0 0 0 4px rgba(99,102,241,.12)!important}
body.tl-auth-body .tl-btn-primary{background:linear-gradient(135deg,#111827,#4f46e5)!important;color:#fff!important;border-color:transparent!important}
@media(max-width:980px){body.tl-auth-body .tl-auth-page{grid-template-columns:1fr!important;padding:28px 16px!important}body.tl-auth-body .tl-auth-copy h1{font-size:40px!important}}

/* v130.05 Auth UI polish: fix oversized checkbox and keep login compact/stable */
body.tl-auth-body .tl-auth-page{
  grid-template-columns:minmax(520px,720px) minmax(360px,430px)!important;
  gap:clamp(36px,5vw,76px)!important;
  padding:44px clamp(24px,8vw,120px)!important;
}
body.tl-auth-body .tl-auth-copy h1{
  max-width:700px!important;
  font-size:clamp(46px,5.4vw,68px)!important;
  line-height:.98!important;
  letter-spacing:-.065em!important;
}
body.tl-auth-body .tl-auth-copy p{
  max-width:620px!important;
  font-size:16px!important;
  line-height:1.75!important;
}
body.tl-auth-body .tl-auth-feature-grid{
  grid-template-columns:repeat(2,minmax(180px,220px))!important;
  gap:14px!important;
}
body.tl-auth-body .tl-auth-feature-grid>div{
  height:64px!important;
  padding:0 16px!important;
  border-radius:16px!important;
  font-size:13px!important;
}
body.tl-auth-body .tl-auth-panel .tl-auth-card,
body.tl-auth-body .tl-auth-card{
  max-width:390px!important;
  padding:26px!important;
  border-radius:26px!important;
  display:block!important;
}
body.tl-auth-body .tl-auth-card-head{
  margin-bottom:20px!important;
  gap:12px!important;
}
body.tl-auth-body .tl-auth-icon{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  border-radius:15px!important;
}
body.tl-auth-body .tl-auth-card-head h2{
  font-size:24px!important;
  line-height:1.1!important;
}
body.tl-auth-body .tl-auth-card-head p{
  font-size:12.5px!important;
  line-height:1.45!important;
}
body.tl-auth-body .tl-form{
  display:grid!important;
  gap:14px!important;
}
body.tl-auth-body .tl-field{
  display:grid!important;
  gap:7px!important;
  font-size:12px!important;
  font-weight:850!important;
  color:#334155!important;
}
body.tl-auth-body .tl-control-wrap{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
}
body.tl-auth-body .tl-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.tl-auth-body .tl-control{
  height:43px!important;
  min-height:43px!important;
  border-radius:13px!important;
  font-size:13px!important;
  font-weight:750!important;
}
body.tl-auth-body .tl-control-wrap>i{
  left:13px!important;
  font-size:17px!important;
  pointer-events:none!important;
}
body.tl-auth-body .tl-control-wrap .tl-control{
  padding-left:40px!important;
}
body.tl-auth-body .tl-form-between{
  min-height:24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0!important;
}
body.tl-auth-body .tl-check,
body.tl-auth-body label.tl-check{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-height:22px!important;
  line-height:1.2!important;
  font-size:12.5px!important;
  font-weight:800!important;
  color:#475569!important;
  margin:0!important;
  width:auto!important;
}
body.tl-auth-body input[type="checkbox"],
body.tl-auth-body .tl-form input[type="checkbox"],
body.tl-auth-body label.tl-check input[type="checkbox"]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  accent-color:#4f46e5!important;
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  min-height:15px!important;
  max-width:15px!important;
  max-height:15px!important;
  padding:0!important;
  margin:0!important;
  border-radius:4px!important;
  border:1px solid #cbd5e1!important;
  box-shadow:none!important;
  display:inline-block!important;
  flex:0 0 15px!important;
  vertical-align:middle!important;
  position:static!important;
  transform:none!important;
}
body.tl-auth-body .tl-btn.wide,
body.tl-auth-body .tl-btn-primary.wide{
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  border-radius:13px!important;
  font-size:13px!important;
  font-weight:900!important;
  margin-top:2px!important;
}
body.tl-auth-body .tl-link{
  font-size:12.5px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.tl-auth-body .tl-auth-foot{
  margin-top:16px!important;
  font-size:12.5px!important;
}
body.tl-auth-body input:-webkit-autofill,
body.tl-auth-body input:-webkit-autofill:hover,
body.tl-auth-body input:-webkit-autofill:focus{
  -webkit-text-fill-color:#0f172a!important;
  box-shadow:0 0 0 1000px #fff inset!important;
  transition:background-color 9999s ease-in-out 0s!important;
}
@media(max-width:980px){
  body.tl-auth-body .tl-auth-page{grid-template-columns:1fr!important;gap:26px!important;padding:28px 18px!important}
  body.tl-auth-body .tl-auth-copy h1{font-size:40px!important}
  body.tl-auth-body .tl-auth-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.tl-auth-body .tl-auth-panel{place-items:start!important}
}
@media(max-width:640px){
  body.tl-auth-body .tl-auth-feature-grid{grid-template-columns:1fr!important}
  body.tl-auth-body .tl-auth-card{max-width:100%!important;padding:22px!important;border-radius:22px!important}
}

/* v130.06 Auth precision polish: compact, centered, no collisions */
body.tl-auth-body{
  background:
    radial-gradient(circle at 20% 12%, rgba(99,102,241,.14), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(14,165,233,.08), transparent 28%),
    linear-gradient(135deg,#f8fbff 0%,#eef6ff 52%,#ffffff 100%) !important;
}
body.tl-auth-body .tl-auth-page{
  min-height:100vh!important;
  align-items:center!important;
  justify-content:center!important;
}
body.tl-auth-body .tl-auth-panel{
  width:100%!important;
  justify-items:center!important;
  align-items:center!important;
}
body.tl-auth-body .tl-auth-card{
  width:100%!important;
  max-width:380px!important;
  padding:28px!important;
  border-radius:26px!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(203,213,225,.82)!important;
  box-shadow:0 28px 70px rgba(15,23,42,.12)!important;
}
body.tl-auth-body .tl-auth-card-head{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin:0 0 22px!important;
}
body.tl-auth-body .tl-auth-icon{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  border-radius:15px!important;
}
body.tl-auth-body .tl-auth-card-head h2{
  margin:0!important;
  font-size:24px!important;
  line-height:1.1!important;
  letter-spacing:-.035em!important;
}
body.tl-auth-body .tl-auth-card-head p{
  margin:4px 0 0!important;
  font-size:12.5px!important;
  line-height:1.45!important;
  color:#64748b!important;
}
body.tl-auth-body .tl-form{
  display:grid!important;
  gap:15px!important;
}
body.tl-auth-body .tl-field{
  display:grid!important;
  gap:8px!important;
  margin:0!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:-.01em!important;
  color:#334155!important;
}
body.tl-auth-body .tl-control-wrap{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  height:44px!important;
}
body.tl-auth-body .tl-control-wrap>i{
  position:absolute!important;
  left:15px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:18px!important;
  height:18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#64748b!important;
  font-size:17px!important;
  line-height:1!important;
  z-index:2!important;
  pointer-events:none!important;
}
body.tl-auth-body .tl-control-wrap .tl-control,
body.tl-auth-body .tl-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]){
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  border-radius:14px!important;
  border:1px solid #d5dfec!important;
  background:#fff!important;
  color:#0f172a!important;
  font-size:13.5px!important;
  font-weight:700!important;
  line-height:44px!important;
  padding:0 14px 0 46px!important;
  box-shadow:none!important;
}
body.tl-auth-body .tl-control::placeholder{color:#7c8798!important;font-weight:700!important;opacity:1!important;}
body.tl-auth-body .tl-form-between{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  min-height:24px!important;
  margin:0!important;
}
body.tl-auth-body .tl-check{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  width:auto!important;
  margin:0!important;
  color:#475569!important;
  font-size:12.75px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.tl-auth-body input[type="checkbox"],
body.tl-auth-body .tl-check input[type="checkbox"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
  max-width:14px!important;
  max-height:14px!important;
  flex:0 0 14px!important;
  margin:0!important;
  padding:0!important;
  border:1.5px solid #94a3b8!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
  position:relative!important;
  transform:none!important;
}
body.tl-auth-body input[type="checkbox"]:checked,
body.tl-auth-body .tl-check input[type="checkbox"]:checked{
  background:#4f46e5!important;
  border-color:#4f46e5!important;
}
body.tl-auth-body input[type="checkbox"]:checked::after,
body.tl-auth-body .tl-check input[type="checkbox"]:checked::after{
  content:""!important;
  position:absolute!important;
  left:3px!important;
  top:1px!important;
  width:5px!important;
  height:8px!important;
  border:solid #fff!important;
  border-width:0 2px 2px 0!important;
  transform:rotate(45deg)!important;
}
body.tl-auth-body .tl-link{font-size:12.75px!important;font-weight:900!important;text-decoration:none!important;}
body.tl-auth-body .tl-btn-primary.wide{
  height:44px!important;
  min-height:44px!important;
  border-radius:14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  font-size:13.25px!important;
  font-weight:950!important;
  box-shadow:0 18px 40px rgba(79,70,229,.24)!important;
}
body.tl-auth-body .tl-auth-foot{
  margin:18px 0 0!important;
  text-align:center!important;
  font-size:12.75px!important;
  color:#64748b!important;
}
@media(max-width:980px){
  body.tl-auth-body .tl-auth-page{
    display:flex!important;
    min-height:100vh!important;
    padding:24px 16px!important;
  }
  body.tl-auth-body .tl-auth-hero{display:none!important;}
  body.tl-auth-body .tl-auth-panel{place-items:center!important;}
  body.tl-auth-body .tl-auth-card{max-width:380px!important;}
}
@media(max-width:420px){
  body.tl-auth-body .tl-auth-card{max-width:100%!important;padding:24px 20px!important;border-radius:24px!important;}
}

/* =========================================================
   v130.07 BILLING/PAYMENT GATEWAY POLISH
   Visual-only: normalize payment gateway typography, card sizing, KPI layout.
   No PHP/DB/JS logic changes.
   ========================================================= */
body.tl-app-body.tl-route-billing .tl-billing-stat-grid,
body.tl-app-body.tl-route-daftar-harga .tl-billing-stat-grid,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-billing-stat-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
  margin-bottom:24px!important;
}
body.tl-app-body.tl-route-billing .tl-billing-stat-grid > .tl-stat-card,
body.tl-app-body.tl-route-daftar-harga .tl-billing-stat-grid > .tl-stat-card,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-billing-stat-grid > .tl-stat-card{
  min-height:132px!important;
  padding:24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
  overflow:hidden!important;
}
body.tl-app-body.tl-route-billing .tl-billing-stat-grid .stats-icon,
body.tl-app-body.tl-route-daftar-harga .tl-billing-stat-grid .stats-icon,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-billing-stat-grid .stats-icon{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  border-radius:16px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,#eef2ff,#ede9fe)!important;
  font-size:22px!important;
  line-height:1!important;
}
body.tl-app-body.tl-route-billing .tl-billing-stat-grid .tl-stat-main,
body.tl-app-body.tl-route-daftar-harga .tl-billing-stat-grid .tl-stat-main,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-billing-stat-grid .tl-stat-main{
  min-width:0!important;
  display:grid!important;
  gap:6px!important;
}
body.tl-app-body.tl-route-billing .tl-billing-stat-grid .tl-stat-main b,
body.tl-app-body.tl-route-daftar-harga .tl-billing-stat-grid .tl-stat-main b,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-billing-stat-grid .tl-stat-main b{
  font-size:28px!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:-.045em!important;
  color:var(--tl-heading)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-app-body.tl-route-billing .tl-billing-stat-grid .tl-stat-main span,
body.tl-app-body.tl-route-daftar-harga .tl-billing-stat-grid .tl-stat-main span,
body.tl-app-body.tl-route-riwayat-pembayaran .tl-billing-stat-grid .tl-stat-main span{
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:var(--tl-muted)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-app-body .tl-payment-methods{
  padding:26px!important;
  overflow:hidden!important;
}
body.tl-app-body .tl-payment-methods > .tl-card-head{
  margin:0 0 22px!important;
  padding-bottom:18px!important;
  border-bottom:1px solid var(--tl-border)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
}
body.tl-app-body .tl-payment-methods > .tl-card-head h3{
  font-size:20px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
}
body.tl-app-body .tl-payment-methods > .tl-card-head p{
  margin-top:5px!important;
  font-size:13px!important;
  line-height:1.45!important;
  color:var(--tl-muted)!important;
}
body.tl-app-body .tl-payment-methods .tl-card-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;
  gap:18px!important;
  padding:0!important;
  align-items:stretch!important;
}
body.tl-app-body .tl-payment-methods .tl-card-grid > .tl-card.tl-gateway-card,
body.tl-app-body .tl-payment-methods .tl-gateway-card{
  min-height:224px!important;
  height:auto!important;
  padding:22px!important;
  border-radius:18px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  gap:16px!important;
  overflow:hidden!important;
  background:var(--tl-surface)!important;
  border:1px solid var(--tl-border)!important;
  box-shadow:0 18px 42px rgba(15,23,42,.055)!important;
}
body.tl-app-body .tl-payment-methods .tl-gateway-card.active{
  border-left:3px solid #22c55e!important;
}
body.tl-app-body .tl-payment-methods .tl-gateway-card.prepared{
  border-left:3px solid #f59e0b!important;
}
body.tl-app-body .tl-payment-methods .tl-gateway-top{
  display:flex!important;
  align-items:flex-start!important;
  gap:13px!important;
  min-width:0!important;
}
body.tl-app-body .tl-payment-methods .tl-gateway-icon{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,#eef2ff,#ede9fe)!important;
  color:var(--tl-primary)!important;
  font-size:17px!important;
  font-weight:900!important;
  line-height:1!important;
}
body.tl-app-body .tl-payment-methods .tl-gateway-main{
  min-width:0!important;
  display:grid!important;
  gap:5px!important;
}
body.tl-app-body .tl-payment-methods .tl-gateway-title{
  display:block!important;
  margin:0!important;
  font-size:18px!important;
  line-height:1.18!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
  color:var(--tl-heading)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-app-body .tl-payment-methods .tl-gateway-code{
  display:block!important;
  margin:0!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:700!important;
  color:var(--tl-muted)!important;
  text-transform:lowercase!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.tl-app-body .tl-payment-methods .tl-gateway-status{
  width:100%!important;
  min-height:32px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 14px!important;
  font-size:12.5px!important;
  font-weight:850!important;
  line-height:1!important;
}
body.tl-app-body .tl-payment-methods .tl-gateway-description{
  margin:0!important;
  color:var(--tl-muted)!important;
  font-size:13px!important;
  line-height:1.55!important;
  min-height:42px!important;
}
body.tl-app-body .tl-payment-methods .tl-card-grid > .tl-card > small:first-child,
body.tl-app-body .tl-payment-methods .tl-card-grid > .tl-card > span:first-child:not(.tl-gateway-icon){
  display:none!important;
}
body[data-theme="dark"].tl-app-body .tl-payment-methods .tl-gateway-card,
[data-theme="dark"] body.tl-app-body .tl-payment-methods .tl-gateway-card{
  background:#0f172a!important;
  border-color:#233044!important;
  box-shadow:none!important;
}
body[data-theme="dark"].tl-app-body .tl-payment-methods .tl-gateway-icon,
[data-theme="dark"] body.tl-app-body .tl-payment-methods .tl-gateway-icon{
  background:#111c31!important;
  color:#a5b4fc!important;
}
body[data-theme="dark"].tl-app-body .tl-payment-methods .tl-gateway-title,
[data-theme="dark"] body.tl-app-body .tl-payment-methods .tl-gateway-title{
  color:#f8fafc!important;
}
@media(max-width:1180px){
  body.tl-app-body.tl-route-billing .tl-billing-stat-grid,
  body.tl-app-body.tl-route-daftar-harga .tl-billing-stat-grid,
  body.tl-app-body.tl-route-riwayat-pembayaran .tl-billing-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:720px){
  body.tl-app-body.tl-route-billing .tl-billing-stat-grid,
  body.tl-app-body.tl-route-daftar-harga .tl-billing-stat-grid,
  body.tl-app-body.tl-route-riwayat-pembayaran .tl-billing-stat-grid,
  body.tl-app-body .tl-payment-methods .tl-card-grid{
    grid-template-columns:1fr!important;
  }
  body.tl-app-body .tl-payment-methods > .tl-card-head{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
}


/* =========================================================
   SALIN.ICU v131.00 GLOBAL DESIGN SYSTEM HARDENING
   Single visual source of truth. Visual-only CSS layer.
   ========================================================= */
:root{
  --tl-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --tl-font-xs:12px;
  --tl-font-sm:14px;
  --tl-font-md:15px;
  --tl-font-lg:18px;
  --tl-font-xl:32px;
  --tl-line-tight:1.15;
  --tl-line-normal:1.5;
  --tl-space-1:4px;
  --tl-space-2:8px;
  --tl-space-3:12px;
  --tl-space-4:16px;
  --tl-space-5:24px;
  --tl-space-6:32px;
  --tl-radius-sm:12px;
  --tl-radius-md:16px;
  --tl-radius-lg:20px;
  --tl-radius-xl:24px;
  --tl-card-padding:24px;
  --tl-control-h:42px;
  --tl-row-h:60px;
}
body.tl-app-body{font-family:var(--tl-font)!important;font-size:var(--tl-font-sm)!important;line-height:var(--tl-line-normal)!important;color:var(--tl-text)!important;background:var(--tl-bg)!important;}
body.tl-app-body h1,body.tl-app-body h2,body.tl-app-body h3,body.tl-app-body h4,body.tl-app-body h5,body.tl-app-body h6{color:var(--tl-heading)!important;letter-spacing:-.025em!important;line-height:var(--tl-line-tight)!important;}
body.tl-app-body h1{font-size:clamp(26px,2.1vw,var(--tl-font-xl))!important;font-weight:900!important;}
body.tl-app-body h2{font-size:22px!important;font-weight:900!important;}
body.tl-app-body h3{font-size:var(--tl-font-lg)!important;font-weight:900!important;}
body.tl-app-body h4{font-size:16px!important;font-weight:850!important;}
body.tl-app-body p,body.tl-app-body small,body.tl-app-body label{line-height:1.5!important;}
body.tl-app-body .tl-page{display:grid!important;gap:22px!important;align-content:start!important;min-width:0!important;width:100%!important;}
body.tl-app-body .tl-standard-page,body.tl-app-body .tl-content-grid,body.tl-app-body .tl-page-grid{min-width:0!important;align-items:start!important;}
body.tl-app-body .tl-card,body.tl-app-body .tl-table-card,body.tl-app-body .tl-form-card,body.tl-app-body .plan-card,body.tl-app-body .tl-gateway-card,body.tl-app-body .tl-insight-card,body.tl-app-body .tl-dashboard-card,body.tl-app-body .tl-analytics-card,body.tl-app-body .tl-segment-card{background:var(--tl-surface)!important;border:1px solid var(--tl-border)!important;border-radius:var(--tl-radius-lg)!important;box-shadow:var(--tl-shadow-soft)!important;color:var(--tl-text)!important;min-width:0!important;}
body.tl-app-body .tl-card:not(.tl-stat-card):not(.tl-phone-pro):not(.tl-phone-page),body.tl-app-body .tl-table-card,body.tl-app-body .tl-form-card,body.tl-app-body .plan-card,body.tl-app-body .tl-gateway-card,body.tl-app-body .tl-insight-card,body.tl-app-body .tl-dashboard-card,body.tl-app-body .tl-analytics-card,body.tl-app-body .tl-segment-card{height:auto!important;min-height:unset!important;overflow:hidden!important;}
body.tl-app-body .tl-card-head{padding:18px 20px!important;margin:0!important;border-bottom:1px solid var(--tl-border)!important;background:var(--tl-surface)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;}
body.tl-app-body .tl-card-head h3,body.tl-app-body .tl-card-head h2{margin:0!important;font-size:var(--tl-font-lg)!important;font-weight:900!important;line-height:1.2!important;}
body.tl-app-body .tl-card-head p{margin:5px 0 0!important;font-size:13px!important;color:var(--tl-muted)!important;line-height:1.45!important;max-width:760px!important;}
body.tl-app-body .tl-card-body,body.tl-app-body .tl-card>form,body.tl-app-body .tl-card>.tl-form,body.tl-app-body .tl-card>.tl-empty-state,body.tl-app-body .tl-card>ul,body.tl-app-body .tl-card>ol{padding:20px!important;}
body.tl-app-body .tl-stat-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:18px!important;align-items:stretch!important;margin-bottom:22px!important;}
body.tl-app-body .tl-stat-card{min-height:124px!important;height:auto!important;padding:20px!important;border-radius:var(--tl-radius-lg)!important;display:flex!important;align-items:center!important;gap:14px!important;overflow:hidden!important;}
body.tl-app-body .tl-stat-card>*,body.tl-app-body .tl-stat-main{min-width:0!important;}
body.tl-app-body .tl-stat-card b,body.tl-app-body .tl-stat-main b,body.tl-app-body .tl-stat-value{display:block!important;font-size:clamp(24px,2.2vw,32px)!important;line-height:1.05!important;font-weight:900!important;letter-spacing:-.045em!important;color:var(--tl-heading)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
body.tl-app-body .tl-stat-card small,body.tl-app-body .tl-stat-card span:not(.tl-stat-icon):not(.stats-icon):not(.k-icon),body.tl-app-body .tl-stat-label{display:block!important;font-size:12px!important;font-weight:850!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:var(--tl-muted)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
body.tl-app-body .tl-stat-icon,body.tl-app-body .stats-icon,body.tl-app-body .k-icon{width:48px!important;height:48px!important;min-width:48px!important;border-radius:16px!important;display:grid!important;place-items:center!important;line-height:1!important;font-size:21px!important;}
body.tl-app-body .tl-table-wrap{width:100%!important;overflow:auto!important;border:1px solid var(--tl-border)!important;border-radius:var(--tl-radius-lg)!important;background:var(--tl-surface)!important;box-shadow:none!important;}
body.tl-app-body .tl-table{width:100%!important;min-width:760px!important;border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important;font-size:13px!important;}
body.tl-app-body .tl-table th{height:44px!important;padding:12px 14px!important;background:var(--tl-surface-2)!important;color:var(--tl-muted)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;white-space:nowrap!important;border-bottom:1px solid var(--tl-border)!important;}
body.tl-app-body .tl-table td{min-height:var(--tl-row-h)!important;padding:14px!important;color:var(--tl-text)!important;vertical-align:middle!important;border-bottom:1px solid var(--tl-border)!important;line-height:1.45!important;}
body.tl-app-body .tl-table tr:last-child td{border-bottom:0!important;}
body.tl-app-body .tl-table td b{color:var(--tl-heading)!important;font-weight:850!important;}
body.tl-app-body .tl-table .tl-table-actions,body.tl-app-body .tl-table-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;white-space:nowrap!important;min-width:max-content!important;}
body.tl-app-body .tl-table td a[href^="http"],body.tl-app-body .tl-table td .tl-url,body.tl-app-body .tl-table td .tl-domain,body.tl-app-body .tl-table td .tl-referrer,body.tl-app-body .tl-table td .tl-shortlink-name,body.tl-app-body .tl-table td code{display:inline-block!important;max-width:min(360px,42vw)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;vertical-align:bottom!important;}
body.tl-app-body .tl-btn,body.tl-app-body button.tl-btn,body.tl-app-body a.tl-btn{min-height:var(--tl-control-h)!important;border-radius:var(--tl-radius-sm)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 16px!important;font-size:13px!important;font-weight:850!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;cursor:pointer!important;}
body.tl-app-body .tl-btn-sm{min-height:34px!important;padding:0 12px!important;font-size:12px!important;border-radius:10px!important;}
body.tl-app-body .tl-btn-primary{background:linear-gradient(135deg,var(--tl-primary),var(--tl-primary-2))!important;color:#fff!important;border-color:transparent!important;}
body.tl-app-body .tl-badge{min-height:26px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:4px 10px!important;border-radius:999px!important;font-size:12px!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important;}
body.tl-app-body input:not([type="checkbox"]):not([type="radio"]),body.tl-app-body select,body.tl-app-body textarea,body.tl-app-body .tl-input,body.tl-app-body .tl-select,body.tl-app-body .tl-textarea{width:100%;min-height:var(--tl-control-h)!important;border:1px solid var(--tl-border)!important;border-radius:var(--tl-radius-sm)!important;background:var(--tl-surface)!important;color:var(--tl-heading)!important;padding:0 13px!important;outline:0!important;box-shadow:none!important;}
body.tl-app-body textarea,body.tl-app-body .tl-textarea{padding-top:10px!important;min-height:96px!important;resize:vertical!important;}
body.tl-app-body input[type="checkbox"]{width:16px!important;height:16px!important;min-width:16px!important;accent-color:var(--tl-primary)!important;}
body.tl-app-body .tl-filter-bar,body.tl-app-body .tl-toolbar,body.tl-app-body .tl-action-bar:not(.tl-page-header-actions):not(.tl-table-actions){display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;padding:16px!important;border:1px solid var(--tl-border)!important;border-radius:var(--tl-radius-lg)!important;background:var(--tl-surface)!important;}
body.tl-app-body .tl-filter-search,body.tl-app-body .tl-toolbar-search{flex:1 1 420px!important;min-width:280px!important;max-width:100%!important;}
body.tl-app-body .tl-empty-state{min-height:unset!important;padding:22px!important;border:1px dashed var(--tl-border)!important;border-radius:var(--tl-radius-md)!important;background:var(--tl-surface-2)!important;color:var(--tl-muted)!important;text-align:center!important;font-size:13px!important;}
body.tl-app-body .tl-card-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;gap:18px!important;align-items:stretch!important;}
body.tl-app-body .plan-card{padding:24px!important;display:flex!important;flex-direction:column!important;gap:14px!important;}
body.tl-app-body .price{font-size:34px!important;line-height:1!important;font-weight:900!important;letter-spacing:-.05em!important;color:var(--tl-heading)!important;}
body.tl-app-body .tl-payment-methods .tl-card-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;align-items:stretch!important;}
body.tl-app-body .tl-payment-methods .tl-gateway-card{min-height:220px!important;padding:24px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:16px!important;}
body.tl-app-body .tl-gateway-top{display:flex!important;align-items:flex-start!important;gap:14px!important;min-width:0!important;}
body.tl-app-body .tl-gateway-main{display:grid!important;gap:6px!important;min-width:0!important;}
body.tl-app-body .tl-gateway-title{display:block!important;font-size:18px!important;line-height:1.2!important;font-weight:900!important;color:var(--tl-heading)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
body.tl-app-body .tl-gateway-code{display:block!important;font-size:12px!important;line-height:1.25!important;font-weight:750!important;color:var(--tl-muted)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
body.tl-app-body .tl-gateway-status{width:100%!important;min-height:32px!important;}
body.tl-app-body .tl-gateway-description{margin:0!important;font-size:13px!important;line-height:1.5!important;color:var(--tl-muted)!important;}
body.tl-app-body .tl-analytics-card,body.tl-app-body .tl-segment-card,body.tl-app-body .tl-route-analytics .tl-card:not(.tl-stat-card){height:auto!important;min-height:unset!important;}
body.tl-app-body .tl-route-analytics .tl-content-grid,body.tl-app-body.tl-route-analytics .tl-content-grid{align-items:start!important;}
body.tl-app-body .tl-insight-card{min-height:unset!important;}
body.tl-app-body .tl-ellipsis{display:inline-block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;vertical-align:bottom!important;}
[data-theme="dark"] body.tl-app-body,body.tl-app-body[data-theme="dark"]{background:var(--tl-bg)!important;color:var(--tl-text)!important;}
[data-theme="dark"] body.tl-app-body .tl-card,[data-theme="dark"] body.tl-app-body .tl-table-card,[data-theme="dark"] body.tl-app-body .tl-form-card,[data-theme="dark"] body.tl-app-body .plan-card,[data-theme="dark"] body.tl-app-body .tl-gateway-card,[data-theme="dark"] body.tl-app-body .tl-stat-card{background:var(--tl-surface)!important;border-color:var(--tl-border)!important;color:var(--tl-text)!important;box-shadow:none!important;}
[data-theme="dark"] body.tl-app-body .tl-card-head,[data-theme="dark"] body.tl-app-body .tl-table th,[data-theme="dark"] body.tl-app-body .tl-filter-bar,[data-theme="dark"] body.tl-app-body .tl-toolbar,[data-theme="dark"] body.tl-app-body .tl-action-bar:not(.tl-page-header-actions):not(.tl-table-actions),[data-theme="dark"] body.tl-app-body .tl-empty-state{background:var(--tl-surface-2)!important;border-color:var(--tl-border)!important;}
[data-theme="dark"] body.tl-app-body input:not([type="checkbox"]):not([type="radio"]),[data-theme="dark"] body.tl-app-body select,[data-theme="dark"] body.tl-app-body textarea{background:var(--tl-surface-2)!important;border-color:var(--tl-border)!important;color:var(--tl-heading)!important;}
@media(max-width:1180px){body.tl-app-body .tl-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body.tl-app-body .tl-content-grid,body.tl-app-body .tl-page-grid-preview{grid-template-columns:1fr!important;}}
@media(max-width:720px){body.tl-app-body .tl-content{padding:20px 14px 34px!important;}body.tl-app-body .tl-page-header{grid-template-columns:1fr!important;padding:18px!important;}body.tl-app-body .tl-page-header-icon{width:48px!important;height:48px!important;}body.tl-app-body .tl-stat-grid,body.tl-app-body .tl-card-grid,body.tl-app-body .tl-form-grid,body.tl-app-body .tl-form-row{grid-template-columns:1fr!important;}body.tl-app-body .tl-filter-search,body.tl-app-body .tl-toolbar-search{flex-basis:100%!important;min-width:0!important;}body.tl-app-body .tl-card-head{align-items:flex-start!important;flex-direction:column!important;}body.tl-app-body .tl-table{min-width:680px!important;}}
