/* HPanel Partner Portal — SaaS Dark Sidebar (license server style) */
:root {
  --sidebar-bg: #0f172a;
  --sidebar-hover: #1e293b;
  --sidebar-active: #0f766e;
  --sidebar-text: #94a3b8;
  --sidebar-width: 250px;
  --brand: #0f766e;
  --brand-light: #ecfdf5;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  --radius: 8px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--light); color: var(--dark); min-height: 100vh; }

/* ═══ SIDEBAR ═══ */
.sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-width); background: var(--sidebar-bg); display: flex; flex-direction: column; z-index: 200; overflow-y: auto; }
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 18px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.sidebar-logo { height: 28px; filter: brightness(0) invert(1); }
.sidebar-brand-text { display: flex; flex-direction: column; }
.sidebar-title { font-size: 16px; font-weight: 800; color: #fff; }
.sidebar-subtitle { font-size: 10px; color: var(--sidebar-text); text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-section { padding: 20px 16px 6px; font-size: 10px; font-weight: 700; color: var(--sidebar-text); text-transform: uppercase; letter-spacing: 0.8px; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 13px; color: var(--sidebar-text); text-decoration: none; border-radius: 6px; margin: 1px 8px; transition: all 0.15s; }
.sidebar-link:hover { background: var(--sidebar-hover); color: #e2e8f0; }
.sidebar-link.active { background: var(--sidebar-active); color: #fff; }
.sidebar-link svg { flex-shrink: 0; opacity: 0.7; }
.sidebar-link.active svg { opacity: 1; }
/* Order New tree */
.sidebar-tree-btn { width: calc(100% - 16px); border: 0; background: none; font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.sidebar-tree-btn .sidebar-caret { margin-left: auto; transition: transform .15s; }
.sidebar-tree-btn[aria-expanded="true"] .sidebar-caret { transform: rotate(90deg); }
.sidebar-tree-btn:focus-visible, .sidebar-tree-link:focus-visible { outline: 2px solid #5eead4; outline-offset: -2px; }
.sidebar-tree { margin: 2px 8px 6px 25px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.1); }
.sidebar-tree[hidden] { display: none; }
.sidebar-tree-group { padding: 8px 8px 3px; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #64748b; }
.sidebar-tree-link { display: block; padding: 6px 8px; font-size: 12.5px; color: var(--sidebar-text); text-decoration: none; border-radius: 5px; }
.sidebar-tree-link:hover { background: var(--sidebar-hover); color: #e2e8f0; }
.sidebar-tree-link.active { color: #5eead4; font-weight: 600; }
.sidebar-tree-all { margin-top: 6px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 8px; border-radius: 0 0 5px 5px; }
.sidebar-admin { color: #f59e0b; }
.sidebar-admin.active { background: #92400e; color: #fff; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid rgba(255,255,255,0.06); padding: 12px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; }
.sidebar-avatar { width: 34px; height: 34px; border-radius: 8px; background: var(--sidebar-active); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { display: block; font-size: 12px; font-weight: 600; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-company { display: block; font-size: 10px; color: var(--sidebar-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-logout { color: var(--sidebar-text); padding: 6px; border-radius: 4px; transition: all 0.15s; }
.sidebar-logout:hover { color: var(--error); background: rgba(239,68,68,0.1); }

/* ═══ MAIN CONTENT (with sidebar offset) ═══ */
.has-sidebar .main-content { margin-left: var(--sidebar-width); min-height: 100vh; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.topbar-title { font-size: 18px; font-weight: 700; color: var(--dark); }
/* Order pages with the website header (fixed, 70px) and footer: the portal sidebar starts below it. */
/* Column layout so the footer always sits at the bottom of the window, with no grey strip under it. */
body.has-site-header { padding-top: 70px; min-height: 100vh; display: flex; flex-direction: column; }
.has-site-header .sidebar { top: 70px; }
.has-site-header .sidebar-brand { display: none; }   /* the website header already shows the logo */
.has-site-header .main-content, .has-site-header main.container { flex: 1 0 auto; min-height: 0; width: 100%; }
.has-site-header .modern-footer { flex-shrink: 0; }
.has-site-header .modern-footer .footer-bottom { margin-top: 0; }
.has-site-header main.container { max-width: 1200px; margin: 0 auto; padding: 28px 20px; }
.has-sidebar .modern-footer { margin-left: var(--sidebar-width); }
/* Store / domain page: centred, never touching the window edges. */
.store-wrap { max-width: 1100px; margin: 0 auto; padding: 8px 20px 28px; }
.has-sidebar .store-wrap { padding: 0; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-tier { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.content-area { padding: 24px 28px; }

/* ═══ CARDS ═══ */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.card-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); background: #fafbfc; }
.card-header h3 { font-size: 14px; font-weight: 700; }

/* ═══ STATS ═══ */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stats-2 { grid-template-columns: repeat(2, 1fr); }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.stat-value { font-size: 26px; font-weight: 800; color: var(--dark); }
.stat-label { font-size: 12px; color: var(--gray); font-weight: 500; }

/* ═══ TABLES ═══ */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table thead { background: #f8fafc; }
.table th { padding: 10px 16px; text-align: left; font-weight: 600; color: var(--gray); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); }
.table td { padding: 11px 16px; border-bottom: 1px solid #f1f5f9; }
.table tr:hover { background: #f8fafc; }
.row-highlight { background: #fffbeb !important; }
code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.license-key { font-size: 10px; word-break: break-all; }

/* ═══ BADGES ═══ */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-success, .badge-active { background: #ecfdf5; color: var(--success); }
.badge-warning, .badge-pending, .badge-suspended { background: #fffbeb; color: var(--warning); }
.badge-error, .badge-rejected { background: #fef2f2; color: var(--error); }
.badge-info { background: #eff6ff; color: var(--info); }
.badge-muted { background: #f1f5f9; color: #64748b; }
.badge-tier { color: #fff; padding: 4px 14px; font-size: 12px; }

/* ═══ BUTTONS ═══ */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--dark); background: var(--white); transition: all 0.15s; }
.btn:hover { background: #f1f5f9; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: #0d6b63; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-warning { background: var(--warning); color: #fff; border-color: var(--warning); }
.btn-danger { background: var(--error); color: #fff; border-color: var(--error); }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ═══ FORMS ═══ */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-family: inherit; transition: border 0.15s; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,110,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-section { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.form-section h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--brand); }
.inline-form { margin-top: 8px; }
.inline-form form { display: flex; gap: 6px; align-items: center; }
.inline-form input { padding: 4px 8px; font-size: 12px; border: 1px solid var(--border); border-radius: 4px; }

/* ═══ AUTH PAGES (login) ═══ */
.auth-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
.auth-card { background: var(--white); border-radius: 12px; padding: 40px; width: 420px; max-width: 95vw; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-logo { height: 36px; margin-bottom: 16px; }
.auth-header h1 { font-size: 22px; font-weight: 800; color: var(--dark); }
.auth-header p { font-size: 14px; color: var(--gray); margin-top: 4px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--gray); }
.auth-footer a { color: var(--brand); text-decoration: none; font-weight: 600; }

/* ═══ ALERTS ═══ */
.alert { padding: 12px 20px; border-radius: 6px; font-size: 13px; margin: 0 0 16px; }
.alert-success { background: #ecfdf5; color: #065f46; border-left: 4px solid var(--success); }
.alert-error { background: #fef2f2; color: #991b1b; border-left: 4px solid var(--error); }
.alert-warning { background: #fffbeb; color: #92400e; border-left: 4px solid var(--warning); }
.alert-info { background: #eff6ff; color: #1e40af; border-left: 4px solid var(--info); }

/* ═══ PAGE HEADER ═══ */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.page-header h1 { font-size: 22px; font-weight: 800; color: var(--dark); }

/* ═══ TIERS ═══ */
.tier-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.tier-card { text-align: center; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.tier-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; color: #fff; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.tier-discount { font-size: 22px; font-weight: 800; color: var(--dark); }
.tier-req { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* ═══ BUY PAGE ═══ */
.buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.plan-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.2s; }
.plan-card:hover { border-color: var(--brand); box-shadow: 0 4px 20px rgba(15,118,110,0.1); }
.plan-name { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.plan-price { margin-bottom: 4px; }
.plan-original { text-decoration: line-through; color: var(--gray); font-size: 14px; }
.plan-discounted { font-size: 28px; font-weight: 800; color: var(--brand); margin-left: 6px; }
.plan-period { font-size: 14px; color: var(--gray); }
.plan-savings { font-size: 13px; color: var(--success); font-weight: 600; margin-bottom: 16px; }
.plan-form { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }

/* ═══ LAYOUTS ═══ */
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.profile-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.card-body { padding: 20px; }
.card-body .form-group:last-of-type { margin-bottom: 18px; }
.status-info { padding: 14px 20px; }
.status-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.status-row:last-child { border: none; }

/* ═══ FILTER TABS ═══ */
.filter-tabs { display: flex; gap: 4px; }
.filter-tabs a { padding: 4px 12px; font-size: 12px; border-radius: 20px; text-decoration: none; color: var(--gray); background: #f1f5f9; font-weight: 500; }
.filter-tabs a.active { background: var(--brand); color: #fff; }

/* ═══ PAGINATION ═══ */
.pagination { display: flex; gap: 4px; padding: 16px; justify-content: center; }
.pagination a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 4px; text-decoration: none; color: var(--dark); font-size: 13px; }
.pagination a.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ═══ EMPTY STATE ═══ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state h3 { margin: 16px 0 8px; font-size: 18px; }
.empty-state p { color: var(--gray); margin-bottom: 20px; }

/* ═══ HELPERS ═══ */
.text-center { text-align: center; }
.text-muted { color: var(--gray); }
.text-success { color: var(--success); }
.text-danger { color: var(--error); }
.action-btns { display: flex; gap: 4px; }

/* ═══ FOOTER ═══ */
.site-footer { text-align: center; padding: 20px; font-size: 11px; color: var(--gray); }
.has-sidebar .site-footer { margin-left: var(--sidebar-width); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .has-sidebar .main-content { margin-left: 0; }
  .has-sidebar .site-footer { margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .dashboard-grid, .profile-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .buy-grid { grid-template-columns: 1fr; }
}

/* ═══ DASHBOARD ═══ */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.kpi-accent { border-color: #99f6e4; background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%); }
.kpi-label { font-size: 11px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.kpi-value { font-size: 24px; font-weight: 800; color: var(--dark); margin: 6px 0 4px; }
.kpi-sub { font-size: 12px; color: var(--gray); }
.progress { height: 6px; background: #f1f5f9; border-radius: 999px; overflow: hidden; margin: 6px 0; }
.progress > div { height: 100%; background: var(--brand); border-radius: 999px; }
.bar-chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; height: 190px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar { width: 100%; max-width: 44px; background: var(--brand); border-radius: 6px 6px 0 0; opacity: 0.85; }
.bar-col:hover .bar { opacity: 1; }
.bar-val { font-size: 10px; color: var(--gray); margin-bottom: 4px; white-space: nowrap; }
.bar-label { font-size: 11px; color: var(--gray); margin-top: 6px; font-weight: 600; }
.hbar { margin-bottom: 12px; }
.hbar-head { display: flex; justify-content: space-between; font-size: 13px; }
.status-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.alert a { color: inherit; font-weight: 700; margin-left: 6px; }

/* ═══ ANNOUNCEMENTS ═══
   A separate component from .alert on purpose. An .alert is a consequence of the page you are
   looking at ("this licence has no IP"); an announcement is a message from us, and it reads better
   with an icon, a real title and a timestamp that is not crammed under the text. Dismissing is
   remembered per announcement so a partner is not nagged on every page load. */
.announce { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid var(--info); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 14px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04); }
.announce-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; background: #eff6ff; color: var(--info); }
.announce-body { flex: 1; min-width: 0; }
.announce-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 3px; }
.announce-title { font-size: 14px; font-weight: 700; color: var(--dark); line-height: 1.35; }
.announce-time { font-size: 11px; color: var(--gray); margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.announce-text { font-size: 13px; color: #475569; line-height: 1.6; word-wrap: break-word; }
.announce-text a { color: var(--brand); font-weight: 600; }
.announce-close { background: none; border: 0; padding: 2px; margin: -2px -4px 0 4px; cursor: pointer; color: #94a3b8;
  border-radius: 4px; flex-shrink: 0; line-height: 0; transition: all 0.15s; }
.announce-close:hover { background: var(--light); color: var(--dark); }

/* Severity: only the accent, icon tint and pill change — the card stays white so a page with
   three announcements does not turn into a wall of colour. */
.announce-warning { border-left-color: var(--warning); }
.announce-warning .announce-icon { background: #fffbeb; color: #b45309; }
.announce-error { border-left-color: var(--error); }
.announce-error .announce-icon { background: #fef2f2; color: #b91c1c; }
.announce-success { border-left-color: var(--success); }
.announce-success .announce-icon { background: #ecfdf5; color: #047857; }

.announce-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 2px 7px; border-radius: 4px; background: var(--light); color: var(--gray); }
.announce-warning .announce-tag { background: #fffbeb; color: #b45309; }
.announce-error .announce-tag { background: #fef2f2; color: #b91c1c; }
.announce-success .announce-tag { background: #ecfdf5; color: #047857; }

@media (max-width: 640px) {
  .announce { padding: 14px; gap: 11px; }
  .announce-icon { width: 28px; height: 28px; }
  .announce-time { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 768px) { .kpi-grid { grid-template-columns: 1fr 1fr; } }

/* ═══ ADMIN DASHBOARD ═══ */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-head h1 { font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: -0.2px; }
.dash-head p { font-size: 13px; color: var(--gray); margin-top: 3px; }
.dash-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-actions .btn svg { opacity: 0.8; }

.attn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 18px; }
.attn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--dark); transition: border-color 0.15s, box-shadow 0.15s; }
.attn:hover { border-color: #cbd5e1; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06); }
.attn-count { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; flex-shrink: 0; }
.attn-text { display: flex; flex-direction: column; min-width: 0; }
.attn-label { font-size: 12.5px; font-weight: 700; }
.attn-sub { font-size: 11px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tone-warn .attn-count { background: #fffbeb; color: #b45309; }
.tone-bad .attn-count { background: #fef2f2; color: #b91c1c; }
.tone-info .attn-count { background: #eff6ff; color: #1d4ed8; }
.tone-idle .attn-count { background: #f1f5f9; color: #94a3b8; }
.tone-bad { border-color: #fecaca; }
.tone-warn { border-color: #fde68a; }

.kpi { border-radius: 10px; }
.kpi-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kpi-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kpi .kpi-value { font-size: 26px; letter-spacing: -0.5px; margin: 8px 0 6px; }
.kpi .kpi-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.4; }
.delta { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.delta.up { background: #ecfdf5; color: #047857; }
.delta.down { background: #fef2f2; color: #b91c1c; }
.delta.flat { background: #f1f5f9; color: #64748b; }

.dash-grid-2-1 { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 20px; }
.card-link { font-size: 12px; font-weight: 600; color: var(--brand); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-empty { padding: 34px 20px; text-align: center; color: var(--gray); font-size: 13px; line-height: 1.6; }
.card-empty a { color: var(--brand); font-weight: 600; }
.text-warn { color: #b45309; }

.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--gray); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.rchart { display: flex; gap: 10px; height: 240px; }
.rchart-axis { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 22px; font-size: 10px; color: #94a3b8; text-align: right; min-width: 44px; }
.rchart-axis span { line-height: 1; transform: translateY(-50%); }
.rchart-axis span:last-child { transform: none; }
.rchart-plot { position: relative; flex: 1; display: flex; gap: 6px; padding-bottom: 22px;
  background-image: linear-gradient(to bottom, #eef2f6 1px, transparent 1px); background-size: 100% 25%; background-origin: content-box; background-clip: content-box; }
.rchart-col { flex: 1; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.rchart-bars { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3px; box-shadow: inset 0 -1px 0 #e2e8f0; }
.rbar { width: 38%; max-width: 16px; border-radius: 4px 4px 0 0; transition: opacity 0.15s; }
.rbar.s { background: #0f766e; }
.rbar.c { background: #5eead4; }
.rchart-col:hover .rbar { opacity: 0.75; }
.rchart-label { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: 10.5px; color: var(--gray); font-weight: 600; }
.rchart-empty { position: absolute; inset: 0 0 22px 0; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; color: var(--gray); padding: 20px; }

.ov-title { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.ov-title strong { font-size: 18px; color: var(--dark); letter-spacing: 0; }
.stackbar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: #f1f5f9; margin-bottom: 10px; }
.stackbar span { height: 100%; }
.ov-list { list-style: none; }
.ov-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #eef2f6; }
.ov-list li:last-child { border-bottom: none; }
.ov-list li i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.ov-list li small { color: #94a3b8; font-size: 11px; }
.ov-list .ov-muted { color: var(--gray); font-size: 12px; }

.feed-item { display: flex; align-items: center; gap: 12px; padding: 11px 20px; border-bottom: 1px solid #f1f5f9; color: var(--dark); text-decoration: none; }
.feed-item:last-child { border-bottom: none; }
.feed-link:hover { background: #f8fafc; }
.feed-dot { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.dot-teal { background: #f0fdfa; color: #0f766e; }
.dot-blue { background: #eff6ff; color: #1d4ed8; }
.dot-green { background: #ecfdf5; color: #047857; }
.dot-purple { background: #f5f3ff; color: #6d28d9; }
.dot-amber { background: #fffbeb; color: #b45309; }
.dot-gray { background: #f1f5f9; color: #475569; }
.feed-main { flex: 1; min-width: 0; }
.feed-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-meta { font-size: 11.5px; color: var(--gray); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-amt { font-size: 13px; font-weight: 700; white-space: nowrap; }

.rank-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 20px; border-bottom: 1px solid #f1f5f9; }
.rank-item:last-child { border-bottom: none; }
.rank-no { width: 24px; height: 24px; border-radius: 6px; background: #f1f5f9; color: var(--gray); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.rank-main { flex: 1; min-width: 0; }
.rank-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.rank-head a { color: var(--dark); font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-head a:hover { color: var(--brand); }
.rank-meta { font-size: 11px; color: var(--gray); }

@media (max-width: 1100px) { .dash-grid-2-1 { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .attn-grid { grid-template-columns: 1fr 1fr; } .dash-head { align-items: flex-start; } }

/* ═══ USER LOGS ═══ */
.log-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; width: 100%; }
.log-filters input, .log-filters select, .inline-clear select { padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-family: inherit; background: var(--white); }
.log-filters input[type="text"]:first-of-type { flex: 1; min-width: 200px; }
.inline-clear { display: inline-flex; gap: 6px; align-items: center; }
.log-table td { vertical-align: top; }
.log-details { font-size: 12.5px; color: #334155; max-width: 380px; word-break: break-word; }
.nowrap { white-space: nowrap; }
.log-filter-link { font-size: 11px; color: var(--gray); margin-left: 4px; }
.log-table a code { color: var(--brand); }

/* ═══ ADMIN LICENSES ═══ */
.stat-link { text-decoration: none; color: inherit; transition: border-color 0.15s, box-shadow 0.15s; }
.stat-link:hover { border-color: #cbd5e1; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06); }
.sus-form { gap: 6px; margin-top: 6px; align-items: center; flex-wrap: wrap; }
.sus-form input[type="text"] { padding: 4px 8px; font-size: 12px; border: 1px solid var(--border); border-radius: 4px; width: 240px; }
.sus-notify { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gray); white-space: nowrap; }

/* ═══ BANK TRANSFER ═══ */
.sidebar-count { margin-left: auto; background: #f59e0b; color: #111827; font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 999px; }
.bank-table th { width: 38%; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--gray); background: #f8fafc; }
.bank-table td { font-size: 13px; word-break: break-word; }
.bank-ref { font-size: 13px; font-weight: 700; color: var(--dark); background: #fef3c7; }
.bank-approve { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bank-approve input { padding: 5px 8px; font-size: 12px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; }
.bank-approve input[type="number"] { width: 100px; }
.bank-approve input[name="bank_ref"] { width: 130px; }
.sr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ═══ CLIENT TICKET VIEW (ticket.php) ═══
   Two columns: conversation + reply on the left, sticky ticket details on the right.
   Messages are a timeline (avatar on a line); staff messages get a light teal header. */
.tk-head { margin-bottom: 22px; }
.tk-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.tk-crumbs a { color: var(--brand); font-weight: 600; text-decoration: none; border-radius: 3px; }
.tk-crumbs a:hover { text-decoration: underline; }
.tk-title { font-size: 24px; font-weight: 800; line-height: 1.3; letter-spacing: -0.2px; color: var(--dark); text-transform: none; overflow-wrap: anywhere; }
.tk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--gray); }

.tk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.tk-main { min-width: 0; }
.tk-side { position: sticky; top: 84px; }
.tk-side .card { margin-bottom: 16px; }

/* Status pills and priority dots */
.tk-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid transparent;
  font-size: 11.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.tk-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tk-st-open           { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.tk-st-answered       { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.tk-st-customer-reply { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.tk-st-in-progress    { background: #eef2ff; color: #4338ca; border-color: #c7d2fe; }
.tk-st-on-hold        { background: #f1f5f9; color: #475569; border-color: #cbd5e1; }
.tk-st-closed, .tk-st-other { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }
.tk-st-closed::before { background: #94a3b8; }
.tk-priority { display: inline-flex; align-items: center; gap: 7px; }
.tk-priority i { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.tk-pr-medium i { background: #f59e0b; }
.tk-pr-high i { background: #ef4444; box-shadow: 0 0 0 3px #fee2e2; }
.tk-pr-high { color: #b91c1c; }

/* Conversation timeline */
.tk-thread { position: relative; margin-bottom: 8px; }
.tk-thread::before { content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--border); }
.tk-msg { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; margin-bottom: 16px; }
.tk-avatar { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; background: #e2e8f0; color: #334155; box-shadow: 0 0 0 4px var(--light); }
.tk-msg-staff .tk-avatar { background: var(--brand); color: #fff; }
.tk-bubble { min-width: 0; background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.tk-msg-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 11px 16px; background: #fafbfc; border-bottom: 1px solid #f1f5f9; }
.tk-msg-staff .tk-bubble { border-color: #99f6e4; background: #fcfefe; }
.tk-msg-staff .tk-msg-head { background: #f0fdfa; border-bottom-color: #ccfbf1; }
.tk-author { font-size: 13.5px; font-weight: 700; color: var(--dark); }
.tk-role { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; padding: 2px 7px; border-radius: 4px;
  background: #f1f5f9; color: #475569; }
.tk-msg-staff .tk-role { background: #ccfbf1; color: #115e59; }
.tk-time { margin-left: auto; font-size: 12px; color: var(--gray); white-space: nowrap; }
.tk-body { padding: 16px 18px; font-size: 14px; line-height: 1.75; color: #1e293b; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Attachments as file chips */
.tk-files { padding: 12px 18px 14px; border-top: 1px dashed var(--border); }
.tk-files-label { display: block; font-size: 11px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.tk-file-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tk-file { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--white); color: var(--dark); font-size: 12.5px; text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.tk-file svg { flex-shrink: 0; color: var(--brand); }
.tk-file:hover { border-color: var(--brand); background: #f0fdfa; }
.tk-file-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.tk-file-size { font-size: 11.5px; color: var(--gray); white-space: nowrap; }

/* Reply composer */
.tk-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 16px; border: 1px solid #bfdbfe; border-radius: 8px;
  background: #eff6ff; color: #1e40af; font-size: 13px; line-height: 1.5; }
.tk-note svg { flex-shrink: 0; margin-top: 1px; }
.form-group .tk-textarea { min-height: 160px; padding: 12px 14px; font-size: 14px; line-height: 1.6; resize: vertical; }
.tk-field-label { display: block; font-size: 12px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.tk-field-label small { font-weight: 400; color: var(--gray); }
.tk-reply .tk-drop { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; padding: 22px 16px;
  border: 2px dashed #cbd5e1; border-radius: 10px; background: #f8fafc; color: #475569; font-size: 13px; font-weight: 500; text-align: center;
  cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.tk-drop svg { flex-shrink: 0; color: var(--brand); }
.tk-drop strong { color: var(--brand); }
.tk-drop:hover, .tk-drop.is-drag { border-color: var(--brand); background: #f0fdfa; }
.tk-drop.has-files { border-style: solid; border-color: #99f6e4; background: #f0fdfa; }
.tk-drop:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18); }
/* The real file input covers the zone (invisible) so click, keyboard and native drag-and-drop all work. */
.tk-reply .tk-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.tk-picked { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.tk-picked:empty { display: none; }
.tk-picked li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid var(--border);
  border-radius: 6px; background: var(--white); font-size: 12.5px; }
.tk-help { display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--gray); }
.tk-reply-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tk-reply-foot .tk-help { margin-top: 0; }
.tk-send { padding: 10px 20px; font-size: 14px; }

/* Sidebar details and actions */
.tk-info { padding: 4px 20px 8px; }
.tk-info > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.tk-info > div:last-child { border-bottom: none; }
.tk-info dt { color: var(--gray); flex-shrink: 0; }
.tk-info dd { min-width: 0; font-weight: 600; color: var(--dark); text-align: right; overflow-wrap: anywhere; }
.tk-info > .tk-info-block { flex-direction: column; align-items: stretch; gap: 6px; }
.tk-info-block dd { text-align: left; }
.tk-chip { display: block; padding: 6px 9px; border: 1px solid var(--border); font-size: 12px; color: var(--dark); word-break: break-all; }
.tk-info-sub { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--gray); }
.tk-actions .card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.tk-actions form { margin: 0; }
.tk-actions .tk-help { margin: 0; }
.tk-btn-outline { padding: 9px 16px; border-color: #cbd5e1; color: var(--dark); }
.tk-btn-outline:hover { border-color: var(--brand); background: #f0fdfa; color: var(--brand); }
.tk-btn-ghost { padding: 9px 16px; border-color: transparent; background: transparent; color: #475569; }
.tk-btn-ghost:hover { background: #f1f5f9; color: var(--dark); }

.tk-crumbs a:focus-visible, .tk-file:focus-visible, .tk-send:focus-visible, .tk-btn-outline:focus-visible, .tk-btn-ghost:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px; }

@media (max-width: 900px) {
  .tk-layout { grid-template-columns: 1fr; }
  .tk-side { position: static; }
}
@media (max-width: 560px) {
  .tk-title { font-size: 20px; }
  .tk-thread::before { left: 15px; }
  .tk-msg { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .tk-avatar { width: 32px; height: 32px; font-size: 11px; }
  .tk-time { margin-left: 0; flex-basis: 100%; }
  .tk-body { padding: 14px; }
  .tk-reply-foot .tk-send { width: 100%; justify-content: center; }
}

/* Domain pages: table pager and the promo cards under the list (Register / Transfer Domain) */
.ds-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid var(--border,#e5e7eb);font-size:13px;color:var(--gray,#6b7280)}
.ds-foot select{margin:0 6px;padding:4px 8px;border:1px solid var(--border,#e5e7eb);border-radius:4px;font:inherit;font-size:13px;background:#fff}
.ds-pager{display:flex;gap:4px;flex-wrap:wrap}
.ds-pager button,.ds-pager span{min-width:30px;height:30px;padding:0 9px;border:1px solid var(--border,#e5e7eb);border-radius:4px;background:#fff;font:inherit;font-size:12.5px;color:var(--dark,#1f2937);cursor:pointer}
.ds-pager span{display:inline-flex;align-items:center;justify-content:center;background:#f1f5f9;cursor:default}
.ds-pager button:hover:not(:disabled){border-color:var(--brand,#0f766e);color:var(--brand,#0f766e)}
.ds-pager button[aria-current=page]{background:#e6f4f1;border-color:#e6f4f1;color:var(--brand,#0f766e);font-weight:700}
.ds-pager button:disabled{background:#f1f5f9;color:#94a3b8;cursor:default}
.ds-promos{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin-top:24px}
.ds-promo{background:#fff;border:1px solid var(--border,#e5e7eb);border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:20px}
.ds-promo-top{display:flex;gap:18px;align-items:center}
.ds-promo-top img{width:64px;height:64px;object-fit:contain;flex-shrink:0}
.ds-promo h3{font-size:19px;font-weight:400;margin:0 0 4px}
.ds-promo-top p{font-size:13px;color:var(--gray,#6b7280);margin:0}
.ds-promo-top p.hl{color:var(--brand,#0f766e)}
.ds-promo-bot{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:auto}
.ds-promo-bot small{font-size:12.5px;color:var(--gray,#6b7280);max-width:240px;line-height:1.5}
.ds-promo-bot .btn{white-space:nowrap}

/* ═══ PROFILE (profile.php) ═══ */
.pf-hero { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 22px 24px; margin-bottom: 18px; }
.pf-id { display: flex; align-items: center; gap: 16px; }
.pf-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: .5px; }
.pf-name { font-size: 19px; font-weight: 700; margin: 0; }
.pf-sub { font-size: 13px; color: var(--gray); margin-top: 3px; word-break: break-word; }
.pf-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--border); }
.pf-facts dt { font-size: 11px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.pf-facts dd { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pf-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; display: inline-block; }
.pf-dot.on { background: var(--success); box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.pf-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.pf-tabs a { padding: 11px 16px; font-size: 14px; font-weight: 600; color: var(--gray); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pf-tabs a:hover { color: var(--dark); }
.pf-tabs a[aria-current=page] { color: var(--brand); border-bottom-color: var(--brand); }
.pf-tabs a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pf-card { border-radius: 10px; }
.pf-section { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 24px; border-bottom: 1px solid var(--border); }
.pf-section-h h3 { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.pf-section-h p { font-size: 13px; color: var(--gray); line-height: 1.5; }
.pf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pf-fields .form-group { margin-bottom: 14px; }
.pf-wide { grid-column: 1 / -1; }
.pf-help { display: block; font-size: 12px; color: var(--gray); margin-top: 4px; }
.form-group input:disabled { background: #f8fafc; color: var(--gray); }
.pf-foot { display: flex; justify-content: flex-end; padding: 16px 24px; background: #fafbfc; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.pf-block { padding: 22px 24px; border-bottom: 1px solid var(--border); }
.pf-block:last-child { border-bottom: 0; }
.pf-block-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.pf-block-h h3 { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.pf-block-h p { font-size: 13px; color: var(--gray); line-height: 1.5; }
.pf-inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.pf-inline .form-group { flex: 1; min-width: 180px; margin-bottom: 0; }
.pf-steps { margin: 0 0 14px 18px; font-size: 13px; line-height: 1.8; color: #475569; }
.pf-qr { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: #fafbfc; }
.pf-qr p { font-size: 12px; color: var(--gray); flex: 1; min-width: 180px; }
.pf-qr code { display: inline-block; margin-top: 4px; background: #fff; border: 1px solid var(--border); padding: 3px 8px; border-radius: 4px; letter-spacing: 2px; font-size: 12px; word-break: break-all; }
.pf-code { text-align: center; font-size: 18px !important; letter-spacing: 6px; }
.pf-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.pf-dl > div:last-child { border-bottom: 0; }
.pf-dl dt { color: var(--gray); }
.pf-dl dd { margin: 0; text-align: right; }
.pf-dl small { color: var(--gray); }
@media (max-width: 1100px) { .pf-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .pf-section { grid-template-columns: 1fr; gap: 12px; } .pf-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pf-fields { grid-template-columns: 1fr; } .pf-facts { grid-template-columns: 1fr; } .pf-id { align-items: flex-start; } }
