:root {
  --navy: #0b1739;
  --navy-2: #102555;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #64748b;
  --line: #dfe6ef;
  --green: #079455;
  --green-bg: #ecfdf3;
  --amber: #d97706;
  --amber-bg: #fff7e6;
  --red: #d92d20;
  --red-bg: #fff1f0;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(15, 34, 75, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; width: 272px; display: flex; flex-direction: column; padding: 27px 20px 20px; color: #dbe7ff; background: linear-gradient(180deg, var(--navy), #071127); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-size: 22px; font-weight: 750; letter-spacing: -.4px; }
.sidebar .brand { color: white; padding: 0 12px 29px; }
.brand-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 11px; box-shadow: 0 7px 18px rgba(37, 99, 235, .28); font-size: 22px; font-weight: 800; }
.sidebar nav { display: grid; gap: 7px; }
.sidebar nav a { display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 8px 13px; border-radius: 11px; color: #b9c8e8; font-size: 15.5px; font-weight: 600; }
.sidebar nav a span { display: grid; width: 26px; height: 26px; place-items: center; color: #93a9d5; font-size: 18px; }
.sidebar nav a:hover, .sidebar nav a.active { color: white; background: rgba(75, 128, 255, .17); }
.sidebar nav a.active span { color: #62d9f4; }
.sidebar-footer { display: grid; gap: 2px; margin-top: auto; padding: 18px 13px 4px; border-top: 1px solid rgba(255,255,255,.12); }
.sidebar-footer small { color: #93a9d5; font-size: 14px; }
.sidebar-footer strong { overflow: hidden; margin-bottom: 6px; color: white; font-size: 16px; text-overflow: ellipsis; }
.sidebar-footer form { margin: 0; }
.sidebar-footer button { padding: 0; border: 0; color: #b9c8e8; background: none; cursor: pointer; font-size: 15px; }
.sidebar-footer button:hover { color: white; }

.main-shell { display: flex; width: calc(100% - 272px); min-height: 100vh; margin-left: 272px; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; min-height: 72px; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid rgba(216, 225, 237, .9); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.topbar-title { font-size: 17px; font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.avatar { display: grid; width: 42px; height: 42px; place-items: center; border: 3px solid #dbeafe; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--blue), #7c3aed); font-weight: 750; }
.menu-toggle { display: none; border: 0; background: none; color: var(--navy); font-size: 27px; cursor: pointer; }
.content { width: 100%; max-width: 1540px; margin: 0 auto; padding: 32px 38px; flex: 1 0 auto; }
.app-footer { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 38px; border-top: 1px solid var(--line); color: var(--muted); background: white; font-size: 14px; }
.legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px 18px; color: var(--muted); font-size: 14px; }
.legal-links a:hover { color: var(--blue); }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.page-heading h1, .installer-panel h1, .auth-promo h1, .legal-shell h1 { margin: 5px 0 5px; color: var(--navy); line-height: 1.12; letter-spacing: -.8px; }
.page-heading h1 { font-size: clamp(28px, 2.2vw, 34px); }
.installer-panel h1, .legal-shell h1 { font-size: clamp(30px, 2.6vw, 38px); }
.auth-promo h1 { font-size: clamp(38px, 4vw, 54px); }
.page-heading p, .lead { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.eyebrow { color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow-light { color: #67e8f9; }
.panel { border: 1px solid rgba(218, 226, 238, .92); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 19px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 16px; font-weight: 700; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 6px 16px rgba(37,99,235,.2); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--blue); border-color: #bfd1fa; background: #eff5ff; }
.button-ghost { color: var(--text); border-color: var(--line); background: white; }
.button-wide { width: 100%; margin-top: 8px; }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.stat-card { display: flex; min-height: 112px; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); transition: .18s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(15,34,75,.1); }
.stat-card .stat-icon { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border-radius: 14px; font-size: 24px; font-weight: 800; }
.stat-card strong { display: block; color: var(--navy); font-size: 30px; line-height: 1; }
.stat-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; font-weight: 650; }
.stat-ok .stat-icon { color: var(--green); background: var(--green-bg); }
.stat-soon .stat-icon { color: var(--amber); background: var(--amber-bg); }
.stat-expired .stat-icon { color: var(--red); background: var(--red-bg); }
.stat-none .stat-icon { color: #64748b; background: #f1f5f9; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr); gap: 24px; }
.dashboard-panel { min-height: 0; padding: 24px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-heading h2, .form-panel h2, .month-card h2, .legal-operator h2 { margin: 0; color: var(--navy); font-size: 18px; }
.panel-heading a { color: var(--blue); font-size: 15px; font-weight: 700; }
.urgent-list > a { display: flex; min-height: 67px; align-items: center; gap: 14px; padding: 12px 4px; border-top: 1px solid #eef2f7; }
.status-dot { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: #94a3b8; }
.status-dot-ok { background: var(--green); }.status-dot-soon { background: var(--amber); }.status-dot-expired { background: var(--red); }
.urgent-main { min-width: 0; flex: 1; }.urgent-main strong, .urgent-main small, .urgent-date strong, .urgent-date small { display: block; }
.urgent-main strong { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.urgent-main small, .urgent-date small { color: var(--muted); font-size: 14px; }
.urgent-date { flex: 0 0 auto; text-align: right; }.urgent-date strong { font-size: 15px; }
.activity-list > div { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid #eef2f7; }
.activity-mark { width: 9px; height: 9px; margin-top: 8px; flex: 0 0 9px; border: 2px solid #93c5fd; border-radius: 50%; background: white; }
.activity-list p { margin: 0; }.activity-list strong, .activity-list span, .activity-list small { display: block; }
.activity-list strong { font-size: 15px; }.activity-list span, .activity-list small { color: var(--muted); font-size: 14px; }

.filters { display: grid; grid-template-columns: minmax(220px, 1fr) 210px 220px auto; gap: 12px; margin-bottom: 18px; padding: 16px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #cfd9e7; border-radius: 9px; outline: none; color: var(--text); background: white; font-size: 16px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #7aa2f7; box-shadow: 0 0 0 4px rgba(37,99,235,.1); }
label { display: grid; gap: 7px; color: #344054; font-size: 15.5px; font-weight: 650; }
label small, .form-note { color: var(--muted); font-size: 14px; font-weight: 450; }
.required { color: var(--red); }
.form-panel { padding: 27px; }
.form-panel h2 { margin-bottom: 18px; }
.form-panel > label { margin-bottom: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.span-2 { grid-column: span 2; }
.field-pair { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.form-actions { display: flex; justify-content: flex-end; gap: 11px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.compact-form { max-width: 690px; }.compact-form > label { margin-bottom: 18px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.settings-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.toggle-row { display: flex; min-height: 48px; align-items: center; gap: 12px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafc; }
.toggle-row input { width: 20px; min-height: 20px; accent-color: var(--blue); }

.table-panel { overflow: hidden; }.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 15px 18px; color: #536176; background: #f8fafc; font-size: 14px; font-weight: 750; text-align: left; white-space: nowrap; }
td { padding: 17px 18px; border-top: 1px solid #edf1f6; color: #344054; font-size: 15.5px; vertical-align: middle; }
td strong, td small { display: block; } td strong { color: var(--text); font-size: 16px; } td small { margin-top: 3px; color: var(--muted); font-size: 14px; }
.align-right { text-align: right; }.category-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--dot); }
.status { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 750; white-space: nowrap; }
.status-ok { color: var(--green); background: var(--green-bg); }.status-soon { color: var(--amber); background: var(--amber-bg); }.status-expired { color: var(--red); background: var(--red-bg); }.status-none { color: #64748b; background: #f1f5f9; }
.row-actions { white-space: nowrap; }.row-actions > a, .row-actions form { display: inline-block; margin-left: 12px; }
.row-actions > a, .row-actions button, .table-link { padding: 0; border: 0; color: var(--blue); background: none; cursor: pointer; font-size: 14px; font-weight: 700; }
.row-actions button { color: #9b1c1c; }
.empty-state { display: grid; min-height: 220px; place-items: center; align-content: center; gap: 10px; padding: 30px; color: var(--muted); text-align: center; }
.empty-state span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-bg); font-size: 22px; font-weight: 800; }
.empty-state p { max-width: 460px; margin: 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.month-card { padding: 22px; }.month-card h2 { margin-bottom: 12px; }
.calendar-item { display: flex; min-height: 64px; align-items: center; gap: 12px; border-top: 1px solid #edf1f6; }
.calendar-date { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; color: var(--blue); background: #eff6ff; font-weight: 800; }
.calendar-item > span:nth-child(2) { min-width: 0; flex: 1; }.calendar-item strong, .calendar-item small { display: block; }.calendar-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }.calendar-item small { color: var(--muted); font-size: 13.5px; }

.alert { margin-bottom: 18px; padding: 13px 16px; border: 1px solid; border-radius: 10px; font-size: 15px; }
.alert-error { color: #9b1c1c; border-color: #fecaca; background: #fff1f0; }.alert-success { color: #067647; border-color: #a6f4c5; background: #ecfdf3; }
.language-switch { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.language-switch a { padding: 4px 8px; border-radius: 5px; color: var(--muted); font-size: 13px; font-weight: 750; }.language-switch a.active { color: white; background: var(--navy); }

.auth-body { min-height: 100vh; background: #eaf0f9; }
.auth-shell { display: grid; width: min(1120px, calc(100% - 36px)); min-height: 690px; margin: 5vh auto; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 24px; background: white; box-shadow: 0 30px 80px rgba(11,23,57,.16); }
.auth-promo { display: flex; padding: 44px; flex-direction: column; justify-content: space-between; color: #dbeafe; background: radial-gradient(circle at 80% 15%, rgba(6,182,212,.3), transparent 31%), linear-gradient(145deg, var(--navy), var(--navy-2)); }
.auth-promo .brand { color: white; }.auth-promo h1 { max-width: 500px; color: white; font-size: clamp(36px, 4vw, 50px); }.auth-promo p { max-width: 520px; color: #b9c8e8; font-size: 18px; }.auth-version { margin: 0; font-size: 14px !important; }
.auth-card { position: relative; display: flex; padding: 54px; flex-direction: column; justify-content: center; }.auth-card > .language-switch { position: absolute; top: 30px; right: 30px; }.auth-card h2 { margin: 5px 0 25px; color: var(--navy); font-size: 34px; }.auth-card form { display: grid; gap: 17px; }.auth-alt { margin: 5px 0 0; color: var(--muted); text-align: center; font-size: 15px; }.auth-alt a { color: var(--blue); font-weight: 700; }.auth-card > .legal-links { margin-top: 25px; }

.installer-body { min-height: 100vh; padding: 34px 18px; background: radial-gradient(circle at top, #e2eeff, var(--bg) 45%); }
.installer-shell { width: min(880px, 100%); margin: 0 auto; }.installer-brand { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }.installer-brand strong, .installer-brand span { display: block; }.installer-brand strong { color: var(--navy); font-size: 21px; }.installer-brand div span { color: var(--muted); font-size: 14px; }.installer-panel { padding: clamp(26px, 5vw, 48px); }.installer-panel form h2 { margin: 28px 0 14px; color: var(--navy); font-size: 19px; }.requirements { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin: 25px 0; }.requirement { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 8px; background: #f8fafc; font-size: 14px; }.requirement span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: white; font-size: 12px; font-weight: 800; }.requirement.is-ok span { background: var(--green); }.requirement.is-error span { background: var(--red); }.installer-footer { color: var(--muted); text-align: center; font-size: 14px; }

.legal-body { display: flex; min-height: 100vh; flex-direction: column; background: white; }.legal-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px max(24px, calc((100% - 1040px)/2)); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }.legal-header-nav { display: flex; align-items: center; gap: 16px; color: #475467; font-size: 14px; font-weight: 650; }.legal-header-nav > a:first-child:hover { color: var(--blue); }.legal-shell { width: min(820px, calc(100% - 40px)); margin: 42px auto; flex: 1; }.legal-intro { color: #475467; font-size: 16px; line-height: 1.7; }.legal-updated { margin: 8px 0 20px; color: var(--muted); font-size: 12px; }.legal-content { display: grid; gap: 10px; margin-top: 26px; }.legal-section { padding: 20px 0; border-top: 1px solid #e6ebf2; }.legal-section h2 { margin: 0 0 9px; color: var(--navy); font-size: 18px; }.legal-section p { margin: 7px 0 0; color: #475467; font-size: 14px; line-height: 1.72; }.legal-operator { margin-top: 24px; padding: 20px; border-radius: 14px; background: #f6f8fc; }.legal-operator p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }.legal-warning { color: #b54708 !important; font-weight: 700; }.public-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px max(24px, calc((100% - 1120px)/2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-signature { display: flex; align-items: center; justify-content: flex-end; gap: 14px; white-space: nowrap; }
.terms-accept { align-items: flex-start; line-height: 1.45; }.terms-accept input { margin-top: 2px; }.terms-accept a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.public-home { min-height: 100vh; background: white; }
.public-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.public-header { position: sticky; top: 0; z-index: 80; min-height: 64px; border-bottom: 1px solid rgba(223,230,239,.92); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.public-nav { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 24px; }
.public-nav nav { display: flex; align-items: center; gap: 18px; color: #475467; font-size: 14px; font-weight: 650; }
.public-nav nav > a:not(.button):hover { color: var(--blue); }
.public-nav nav > a.nav-current { padding: 7px 12px; border: 1px solid #b9cdf8; border-radius: 999px; color: var(--blue-dark); background: #f3f7ff; }
.public-nav .button { min-height: 42px; padding: 8px 16px; }
.public-menu-toggle { display: none; border: 0; color: var(--navy); background: transparent; font-size: 25px; cursor: pointer; }
.hero-section { overflow: hidden; padding: 78px 0 84px; background: radial-gradient(circle at 90% 12%, rgba(37,99,235,.11), transparent 31%), linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.hero-copy h1 { max-width: 650px; margin: 12px 0 18px; color: var(--navy); font-size: clamp(38px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -1.7px; }
.hero-copy > p { max-width: 650px; margin: 0; color: #52627a; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 11px 22px; margin-top: 25px; color: #52627a; font-size: 14px; font-weight: 650; }
.hero-trust span::first-letter { color: var(--green); }
.hero-dashboard { padding: 26px; border: 1px solid #d9e4f2; border-radius: 20px; background: white; box-shadow: 0 28px 70px rgba(15,34,75,.13); transform: rotate(1deg); }
.hero-dashboard-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #edf1f6; color: var(--navy); font-weight: 750; }.hero-dashboard-head small { color: var(--muted); font-weight: 500; }
.hero-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }.hero-mini-stats div { padding: 15px; border-radius: 12px; }.hero-mini-stats strong, .hero-mini-stats span { display: block; }.hero-mini-stats strong { font-size: 24px; }.hero-mini-stats span { margin-top: 4px; font-size: 13px; font-weight: 650; }.mini-ok { color: var(--green); background: var(--green-bg); }.mini-soon { color: var(--amber); background: var(--amber-bg); }.mini-expired { color: var(--red); background: var(--red-bg); }
.hero-deadline { display: flex; min-height: 64px; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid #edf1f6; color: #475467; font-size: 14px; }.hero-deadline > span:nth-child(2) { min-width: 0; flex: 1; }.hero-deadline strong, .hero-deadline small { display: block; }.hero-deadline strong { color: var(--text); font-size: 15px; }.hero-deadline small { color: var(--muted); }
.public-section { padding: 80px 0; }.section-heading { max-width: 690px; margin: 0 auto 38px; text-align: center; }.section-heading h2, .public-cta h2 { margin: 8px 0 10px; color: var(--navy); font-size: clamp(28px, 3vw, 36px); line-height: 1.18; letter-spacing: -.8px; }.section-heading p, .public-cta p { margin: 0; color: var(--muted); font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.feature-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 10px 28px rgba(15,34,75,.05); }.feature-grid article > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; color: var(--blue); background: #eff6ff; font-size: 19px; font-weight: 800; }.feature-grid h3, .steps-grid h3 { margin: 17px 0 7px; color: var(--navy); font-size: 18px; }.feature-grid p, .steps-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.steps-section { background: #f5f8fc; }.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.steps-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 15px; background: white; }.steps-grid article > strong { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: white; background: var(--navy); }
.public-cta { padding: 52px 0; color: white; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }.public-cta .public-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }.public-cta h2 { margin-top: 0; color: white; }.public-cta p { color: #b9c8e8; }.public-cta .button { flex: 0 0 auto; }

/* TermenHub public identity: compact operational control center */
.control-hero { padding: 58px 0 64px; border-bottom: 1px solid #dce5f1; background-color: #f5f8fc; background-image: linear-gradient(rgba(19, 43, 84, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 43, 84, .035) 1px, transparent 1px); background-size: 32px 32px; }
.control-hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 68px; }
.control-kicker { display: inline-flex; align-items: center; gap: 9px; color: #355075; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.control-kicker i { width: 23px; height: 2px; background: var(--cyan); }
.control-intro h1 { margin: 14px 0 17px; color: var(--navy); font-size: clamp(30px, 3vw, 36px); line-height: 1.16; letter-spacing: -.8px; }
.control-intro > p { max-width: 560px; margin: 0; color: #536176; font-size: 16px; line-height: 1.65; }
.control-intro .hero-actions { align-items: center; margin-top: 25px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding: 9px 4px; color: var(--navy); font-size: 14px; font-weight: 750; }
.text-link span { color: var(--blue); font-size: 18px; transition: transform .18s ease; }.text-link:hover span { transform: translateX(3px); }
.control-console { overflow: hidden; border: 1px solid #20345f; border-radius: 13px; color: #dfe9fb; background: #091630; box-shadow: 0 22px 55px rgba(8,23,52,.18); }
.console-bar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #26385e; color: #9fb2d5; font-size: 11px; letter-spacing: .1em; }
.console-bar span { display: flex; align-items: center; gap: 7px; color: #8da1c6; letter-spacing: 0; }.console-bar i { width: 7px; height: 7px; border-radius: 50%; background: #1fd78a; box-shadow: 0 0 0 4px rgba(31,215,138,.1); }
.console-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #26385e; }
.console-metrics div { padding: 20px; border-right: 1px solid #26385e; }.console-metrics div:last-child { border-right: 0; }.console-metrics small { display: block; min-height: 30px; color: #7f96bf; font-size: 10px; font-weight: 750; letter-spacing: .08em; }.console-metrics strong { display: block; color: white; font-size: 26px; font-weight: 650; }
.console-table { padding: 0 20px 10px; }.console-head, .console-row { display: grid; grid-template-columns: minmax(190px, 1fr) 105px 72px; align-items: center; gap: 14px; }.console-head { min-height: 40px; color: #7088b2; font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }.console-row { min-height: 63px; border-top: 1px solid #1d2e50; font-size: 13px; }.console-row strong, .console-row small { display: block; }.console-row strong { color: #f7f9fd; font-size: 13px; }.console-row small { color: #8296bb; font-size: 11px; }.flag { justify-self: end; padding: 4px 7px; border-radius: 5px; font-size: 10px; font-weight: 750; }.flag-ok { color: #69e5ae; background: rgba(31,215,138,.12); }.flag-soon { color: #ffc45c; background: rgba(245,158,11,.13); }.flag-expired { color: #ff8d84; background: rgba(239,68,68,.13); }

.scope-section { padding: 66px 0; background: white; }
.scope-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 82px; }
.control-index { color: #68809f; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.scope-intro h2, .workflow-heading h2 { margin: 10px 0 11px; color: var(--navy); font-size: 25px; line-height: 1.25; letter-spacing: -.35px; }.scope-intro p, .workflow-heading p { max-width: 390px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.scope-list { border-bottom: 1px solid #dce4ee; }
.scope-list article { display: grid; grid-template-columns: 48px minmax(180px, .8fr) 1.2fr; min-height: 78px; align-items: center; gap: 18px; border-top: 1px solid #dce4ee; }
.scope-list article > span { color: #8495ad; font-size: 11px; font-weight: 750; }.scope-list strong { color: var(--navy); font-size: 15px; }.scope-list p { margin: 0; color: var(--muted); font-size: 14px; }

.workflow-section { padding: 66px 0; color: #dbe7fb; background: #0a1732; }
.workflow-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 82px; }.workflow-heading .control-index { color: #6ee7f9; }.workflow-heading h2 { color: white; }.workflow-heading p { color: #93a7c8; }
.workflow-rail { border-bottom: 1px solid #2a3b5c; }.workflow-rail article { display: grid; grid-template-columns: 64px 1fr; min-height: 92px; align-items: center; border-top: 1px solid #2a3b5c; }.workflow-rail article > b { color: #65dcef; font-size: 12px; letter-spacing: .08em; }.workflow-rail strong { color: white; font-size: 15px; }.workflow-rail p { margin: 5px 0 0; color: #91a5c6; font-size: 14px; }
.access-strip { padding: 31px 0; border-bottom: 1px solid var(--line); background: #f4f7fb; }.access-strip .public-container { display: flex; align-items: center; justify-content: space-between; gap: 25px; }.access-strip span strong, .access-strip span small { display: block; }.access-strip span strong { color: var(--navy); font-size: 17px; }.access-strip span small { margin-top: 2px; color: var(--muted); font-size: 14px; }.access-strip .button { flex: 0 0 auto; }

/* TermenHub.ro v0.1.4 — B2B deadline control */
.business-hero { position: relative; overflow: hidden; padding: 68px 0 72px; background: #f3f6fb; }
.business-hero::before { position: absolute; inset: 0 0 auto; height: 4px; content: ""; background: linear-gradient(90deg, var(--cyan) 0 18%, var(--blue) 18% 64%, var(--navy) 64%); }
.business-hero::after { position: absolute; right: -160px; bottom: -250px; width: 620px; height: 620px; border: 1px solid rgba(37,99,235,.09); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(37,99,235,.025), 0 0 0 140px rgba(37,99,235,.018); }
.business-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 74px; }
.business-kicker { display: inline-flex; align-items: center; gap: 9px; color: #395170; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.business-kicker i { width: 24px; height: 2px; background: var(--cyan); }
.business-intro h1 { margin: 15px 0 18px; color: var(--navy); font-size: clamp(32px, 3.35vw, 42px); font-weight: 760; line-height: 1.12; letter-spacing: -1.25px; }
.business-intro h1 em { color: var(--blue); font-style: normal; }
.business-intro > p { max-width: 525px; margin: 0; color: #536176; font-size: 16px; line-height: 1.68; }
.business-intro .hero-actions { margin-top: 26px; }
.button-quiet { color: var(--navy); border-color: #ccd7e7; background: transparent; box-shadow: none; }
.button-quiet:hover { border-color: #9eb3d0; background: white; }
.business-proof { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 25px; color: #596a82; font-size: 13px; font-weight: 650; }
.business-proof b { margin-right: 4px; color: var(--green); }

.operations-board { overflow: hidden; border: 1px solid #d5dfec; border-radius: 15px; background: white; box-shadow: 0 25px 70px rgba(15,34,75,.14); }
.board-top { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 20px; color: white; background: #0a1732; }
.board-top > div { display: grid; gap: 2px; }
.board-label { color: #7e94ba; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.board-top strong { font-size: 15px; }
.board-top strong em { color: #91a5c7; font-size: 11px; font-style: normal; font-weight: 500; }
.live-status { display: flex; align-items: center; gap: 8px; color: #a9bad7; font-size: 11px; }
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: #32d399; box-shadow: 0 0 0 4px rgba(50,211,153,.12); }
.board-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #e5ebf3; }
.board-summary > div { display: flex; min-height: 90px; align-items: center; gap: 11px; padding: 16px 18px; border-right: 1px solid #e5ebf3; }
.board-summary > div:last-child { border-right: 0; }
.summary-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 8px; font-size: 16px; font-weight: 850; }
.summary-ok { color: #087b4b; background: #e9f9f0; }.summary-soon { color: #b45d00; background: #fff3dc; }.summary-expired { color: #c4322a; background: #fff0ef; }
.board-summary p { margin: 0; }.board-summary strong, .board-summary small { display: block; }.board-summary strong { color: var(--navy); font-size: 23px; line-height: 1; }.board-summary small { margin-top: 5px; color: #697990; font-size: 11px; font-weight: 650; }
.board-list { padding: 0 20px; }
.board-row { position: relative; display: grid; grid-template-columns: 4px minmax(170px, 1fr) 88px 65px; min-height: 67px; align-items: center; gap: 12px; border-bottom: 1px solid #edf1f6; }
.row-line { width: 3px; height: 33px; border-radius: 4px; background: var(--green); }
.board-row-alert .row-line { background: var(--amber); }.board-row-danger .row-line { background: var(--red); }
.board-row > div strong, .board-row > div small, .row-date strong, .row-date small { display: block; }
.board-row > div strong { color: var(--text); font-size: 13px; }.board-row > div small { margin-top: 2px; color: #7a899f; font-size: 11px; }
.row-date { text-align: right; }.row-date strong { color: #364760; font-size: 11px; }.row-date small { color: #8a98ab; font-size: 10px; }
.board-row > b { justify-self: end; color: #07814c; font-size: 9px; letter-spacing: .06em; }.board-row-alert > b { color: #bf6700; }.board-row-danger > b { color: #d23b31; }
.board-foot { display: flex; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 20px; color: #8190a5; background: #f8fafc; font-size: 10px; }.board-foot strong { color: var(--blue); font-size: 11px; }

.business-audience { padding: 58px 0; background: white; }
.section-compact-heading { display: grid; max-width: 650px; gap: 6px; margin-bottom: 32px; }
.section-compact-heading > span, .risk-copy > span, .business-cta > .public-container > div > span { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.section-compact-heading h2, .risk-copy h2, .business-cta h2 { margin: 0; color: var(--navy); font-size: clamp(23px, 2.5vw, 29px); line-height: 1.25; letter-spacing: -.45px; }
.section-compact-heading p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.audience-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.audience-grid article { position: relative; display: flex; gap: 20px; border: 1px solid #dce4ee; background: white; }
.audience-primary { min-height: 336px; align-items: flex-start; padding: 34px; background-color: #0a1732 !important; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) !important; background-size: 26px 26px !important; }
.audience-number { color: #92a3bb; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.audience-grid article small { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.audience-primary small { color: #62def2 !important; }
.audience-grid h3 { margin: 7px 0 8px; color: var(--navy); font-size: 20px; }.audience-primary h3 { color: white; font-size: 24px; }
.audience-grid p { margin: 0; color: #6a798e; font-size: 14px; line-height: 1.6; }.audience-primary p { max-width: 420px; color: #aab9d2; font-size: 15px; }
.audience-primary ul { display: grid; gap: 10px; margin: 25px 0 0; padding: 18px 0 0; border-top: 1px solid #2b3c5e; color: #dbe6f7; list-style: none; font-size: 13px; }
.audience-primary li::before { margin-right: 9px; color: #5be0b0; content: "✓"; font-weight: 800; }
.audience-stack { display: grid; gap: 12px; }
.audience-stack article { min-height: 104px; align-items: center; padding: 20px 24px; transition: border-color .18s ease, transform .18s ease; }
.audience-stack article:hover { border-color: #aabbd2; transform: translateX(3px); }
.audience-stack h3 { margin: 3px 0; font-size: 16px; }.audience-stack p { font-size: 13px; }

.risk-section { padding: 56px 0; color: white; background: #0b1739; }
.risk-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.risk-copy > span { color: #61def1; }
.risk-copy h2 { max-width: 480px; margin-top: 7px; color: white; }
.risk-copy p { max-width: 490px; margin: 14px 0 0; color: #9eb0ce; font-size: 14px; line-height: 1.7; }
.risk-points { border-bottom: 1px solid #2a3b5d; }
.risk-points article { display: grid; grid-template-columns: 48px 1fr; min-height: 88px; align-items: center; border-top: 1px solid #2a3b5d; }
.risk-points article > strong { color: #61def1; font-size: 11px; letter-spacing: .08em; }
.risk-points p { display: grid; gap: 4px; margin: 0; }.risk-points b { color: white; font-size: 15px; }.risk-points span { color: #93a7c7; font-size: 13px; }

.process-section { padding: 58px 0; background: #f4f7fb; }
.process-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 75px; }
.process-steps { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #d7e0eb; border-left: 1px solid #d7e0eb; }
.process-steps article { display: grid; grid-template-columns: 38px 1fr; min-height: 132px; gap: 12px; padding: 25px; border-right: 1px solid #d7e0eb; border-bottom: 1px solid #d7e0eb; background: rgba(255,255,255,.55); }
.process-steps article > b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 7px; color: white; background: var(--navy); font-size: 12px; }
.process-steps strong { color: var(--navy); font-size: 14px; }.process-steps p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.business-cta { padding: 43px 0; color: white; background: linear-gradient(110deg, #1557d2, #2563eb 62%, #0a8aa7); }
.business-cta .public-container { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.business-cta > .public-container > div > span { color: #caefff; }
.business-cta h2 { margin-top: 4px; color: white; font-size: 25px; }.business-cta p { margin: 4px 0 0; color: #d8e8ff; font-size: 14px; }
.cta-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.button-white { color: var(--blue-dark); background: white; }.button-white:hover { background: #f4f7ff; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.55); background: transparent; }.button-outline-light:hover { border-color: white; background: rgba(255,255,255,.1); }

.public-pricing { padding: 62px 0; background: white; }
.pricing-heading { max-width: 720px; }
.public-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.public-price-card { position: relative; padding: 25px; border: 1px solid #dce4ee; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(15,34,75,.05); }
.public-price-card.featured { border-color: #7da3f6; box-shadow: 0 16px 38px rgba(37,99,235,.12); }
.price-recommended { position: absolute; top: 18px; right: 18px; padding: 5px 8px; border-radius: 999px; color: #fff; background: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.price-plan-label { color: #7890af; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.public-price-card h3 { margin: 7px 0 5px; color: var(--navy); font-size: 21px; }
.public-price-card > p { min-height: 44px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.public-price { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.public-price strong { color: var(--navy); font-size: 32px; line-height: 1; }
.public-price span { color: var(--muted); font-size: 11px; line-height: 1.25; }
.six-month-price { display: flex; align-items: baseline; gap: 7px; margin-top: 8px; padding-bottom: 16px; border-bottom: 1px solid #e8edf4; }
.six-month-price strong { color: var(--blue-dark); font-size: 14px; }
.six-month-price span { color: var(--muted); font-size: 11px; }
.public-price-card ul { display: grid; min-height: 142px; gap: 8px; margin: 16px 0 18px; padding: 0; color: #45546a; list-style: none; font-size: 13px; }
.public-price-card li::before { margin-right: 8px; color: var(--green); content: "✓"; font-weight: 800; }
.pricing-note { margin: 17px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.cookie-banner { position: fixed; right: 22px; bottom: 22px; z-index: 100; display: flex; width: min(660px, calc(100% - 44px)); align-items: center; justify-content: space-between; gap: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 18px 50px rgba(11,23,57,.2); }.cookie-banner strong { color: var(--navy); }.cookie-banner p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }.cookie-banner > div:last-child { display: flex; flex: 0 0 auto; gap: 8px; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: grid; width: 45px; height: 45px; place-items: center; border: 0; border-radius: 12px; opacity: 0; color: white; background: var(--navy); box-shadow: 0 10px 28px rgba(11,23,57,.24); cursor: pointer; pointer-events: none; transform: translateY(8px); transition: .2s ease; font-size: 21px; }.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }.to-top.cookie-open { bottom: 140px; }

/* v0.1.6 — commercial controls and compact application typography */
.subscription-current { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; padding: 20px 22px; }
.subscription-current h2, .subscription-current p { margin: 0; }
.subscription-current h2 { margin-top: 8px; color: var(--navy); font-size: 18px; }
.subscription-current p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.subscription-current > strong { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; color: var(--blue-dark); background: #eef4ff; font-size: 12px; }
.billing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.billing-plan { position: relative; padding: 23px; }
.billing-plan.is-current { border-color: #8db0fb; box-shadow: 0 14px 34px rgba(37,99,235,.12); }
.billing-plan > span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.billing-plan h2 { margin: 7px 0 5px; color: var(--navy); font-size: 20px; }
.billing-plan > p { min-height: 42px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 19px; }
.plan-price strong { color: var(--navy); font-size: 30px; line-height: 1; }
.plan-price small, .plan-yearly { color: var(--muted); font-size: 12px; }
.plan-yearly { margin-top: 7px; }
.plan-actions { display: grid; gap: 5px; margin-top: 16px; }
.plan-actions form { margin: 0; }
.plan-disabled { display: block; margin-top: 18px; padding: 9px 11px; border-radius: 8px; color: #667085; background: #f3f5f8; font-size: 12px; text-align: center; }
.compact-fields { margin-bottom: 17px; }
.pricing-admin { display: grid; grid-template-columns: minmax(90px,.7fr) repeat(2,minmax(110px,1fr)); align-items: center; gap: 9px 11px; margin: 6px 0 14px; }
.pricing-admin > strong { color: #526176; font-size: 12px; }
.pricing-admin > span { color: var(--navy); font-size: 13px; font-weight: 700; }
.subscription-admin .table-scroll { overflow: visible; }
.subscription-admin td select, .subscription-admin td input { min-width: 125px; }
.subscription-admin .terminhub-calendar { right: 0; left: auto; }

.terminhub-date { position: relative; width: 100%; }
.terminhub-date-display { padding-right: 40px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.terminhub-calendar { position: absolute; top: calc(100% + 7px); left: 0; z-index: 120; width: 286px; padding: 12px; border: 1px solid #ccd8e8; border-radius: 12px; background: white; box-shadow: 0 18px 45px rgba(11,23,57,.18); }
.terminhub-calendar[hidden] { display: none; }
.calendar-picker-head { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; gap: 6px; margin-bottom: 8px; }
.calendar-picker-head strong { color: var(--navy); font-size: 13px; text-align: center; text-transform: capitalize; }
.calendar-picker-head button, .calendar-picker-actions button { border: 0; border-radius: 7px; color: var(--blue-dark); background: #eef4ff; cursor: pointer; font-size: 14px; font-weight: 750; }
.calendar-picker-head button { width: 32px; height: 30px; }
.calendar-picker-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.calendar-weekday { display: grid; height: 25px; place-items: center; color: #7b8799; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.calendar-empty, .calendar-day { width: 100%; height: 31px; }
.calendar-day { border: 0; border-radius: 7px; color: #344054; background: transparent; cursor: pointer; font-size: 12px; }
.calendar-day:hover { color: var(--blue-dark); background: #eef4ff; }
.calendar-day.is-today { box-shadow: inset 0 0 0 1px #9db9f7; }
.calendar-day.is-selected { color: white; background: var(--blue); box-shadow: none; font-weight: 750; }
.calendar-picker-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 9px; padding-top: 9px; border-top: 1px solid #edf1f6; }
.calendar-picker-actions button { padding: 6px 9px; font-size: 12px; }

.app-body { font-size: 14px; }
.app-body .sidebar { width: 232px; padding: 22px 14px 16px; }
.app-body .sidebar .brand { padding: 0 10px 21px; font-size: 19px; }
.app-body .sidebar .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 19px; }
.app-body .sidebar nav { gap: 5px; }
.app-body .sidebar nav a { min-height: 42px; font-size: 14px; }
.app-body .sidebar nav a.active { border: 1px solid rgba(107,153,255,.4); border-radius: 12px; background: rgba(75,128,255,.19); box-shadow: inset 0 0 0 1px rgba(255,255,255,.025); }
.app-body .sidebar nav a span { width: 23px; height: 23px; font-size: 15px; }
.app-body .sidebar-footer small { font-size: 12px; }
.app-body .sidebar-footer strong { font-size: 14px; }
.app-body .sidebar-footer button { font-size: 13px; }
.app-body .main-shell { width: calc(100% - 232px); margin-left: 232px; }
.app-body .topbar { min-height: 62px; padding: 0 24px; }
.app-body .topbar-title { padding: 6px 12px; border: 1px solid #d5dfec; border-radius: 999px; color: #263653; background: #f7f9fc; font-size: 13px; }
.app-body .topbar-actions { gap: 11px; }
.app-body .avatar { width: 36px; height: 36px; font-size: 13px; }
.app-body .content { max-width: 1180px; padding: 18px 20px; }
.app-body .app-footer { min-height: 54px; padding: 12px 24px; }
.app-body .legal-links a.active { padding: 4px 9px; border: 1px solid #bfd0ee; border-radius: 999px; color: var(--blue-dark); background: #f3f7ff; }
.app-body .page-heading { margin-bottom: 18px; }
.app-body .page-heading h1 { font-size: clamp(25px, 2vw, 30px); }
.app-body .page-heading p, .app-body .lead { font-size: 14px; }
.app-body .eyebrow { font-size: 12px; }
.app-body .button { min-height: 39px; padding: 7px 14px; font-size: 13px; }
.app-body input, .app-body select, .app-body textarea { min-height: 40px; padding: 7px 10px; font-size: 13px; }
.app-body label { gap: 6px; font-size: 13px; }
.app-body label small, .app-body .form-note { font-size: 12px; }
.app-body .form-panel { padding: 18px; }
.app-body .form-panel > label { margin-bottom: 11px; }
.app-body .panel-heading h2, .app-body .form-panel h2, .app-body .month-card h2 { font-size: 16px; }
.app-body .panel-heading a { font-size: 13px; }
.app-body .stat-card { min-height: 88px; padding: 14px; }
.app-body .stat-card .stat-icon { width: 44px; height: 44px; flex-basis: 44px; font-size: 20px; }
.app-body .stat-card strong { font-size: 26px; }
.app-body .stat-card small { margin-top: 5px; font-size: 13px; }
.app-body th { padding: 12px 15px; font-size: 12px; }
.app-body td { padding: 14px 15px; font-size: 13px; }
.app-body td strong { font-size: 13px; }
.app-body td small { font-size: 12px; }
.app-body .status { font-size: 12px; }
.app-body .row-actions > a, .app-body .row-actions button, .app-body .table-link { font-size: 12px; }
.app-body .urgent-main strong { font-size: 14px; }
.app-body .urgent-main small, .app-body .urgent-date small { font-size: 12px; }
.app-body .urgent-date strong, .app-body .activity-list strong { font-size: 13px; }
.app-body .activity-list span, .app-body .activity-list small { font-size: 12px; }
.app-body .activity-list > div { padding: 8px 0; }
.app-body .calendar-item strong { font-size: 13px; }
.app-body .calendar-item small { font-size: 12px; }
.app-body .alert { font-size: 13px; }
.app-body .app-footer, .app-body .legal-links { font-size: 12px; }
.app-body .stats-grid { gap: 14px; margin-bottom: 16px; }
.app-body .dashboard-grid { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 16px; }
.app-body .dashboard-panel { padding: 19px; }
.dashboard-side { display: grid; align-content: start; gap: 16px; }
.deadline-chart, .activity-panel { padding: 18px; }
.deadline-chart .panel-heading, .activity-panel .panel-heading { margin-bottom: 10px; }
.deadline-chart .panel-heading small { color: var(--muted); font-size: 11px; }
.deadline-bars { display: grid; gap: 10px; }
.deadline-bar > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; color: #526176; font-size: 11px; }
.deadline-bar > div strong { color: var(--navy); font-size: 12px; }
.deadline-bar > i { display: block; overflow: hidden; height: 7px; border-radius: 999px; background: #edf1f6; }
.deadline-bar > i > b { display: block; height: 100%; border-radius: inherit; }
.bar-danger { background: var(--red); }.bar-urgent { background: var(--amber); }.bar-soon { background: #eab308; }.bar-safe { background: var(--green); }
.panel-heading form { margin: 0; }
.panel-text-action { padding: 4px 8px; border: 1px solid #f1b7b2; border-radius: 999px; color: #b42318; background: #fff7f6; cursor: pointer; font-size: 11px; font-weight: 700; }
.compact-empty { min-height: 130px; }
.activity-limit { margin: 10px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.activity-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 12px; }
.activity-pagination a { display: grid; min-width: 28px; height: 28px; place-items: center; border: 1px solid #d7e0ec; border-radius: 8px; color: #506079; background: white; font-size: 11px; font-weight: 700; }
.activity-pagination a.active { border-color: var(--blue); color: white; background: var(--blue); }
.activity-pagination > span { display: grid; min-width: 22px; height: 28px; place-items: center; color: var(--muted); font-size: 11px; }
.public-footer .legal-links a.active { padding: 5px 10px; border: 1px solid #bfd0ee; border-radius: 999px; color: var(--blue-dark); background: #f3f7ff; }

.admin-intro { margin-bottom: 12px; padding: 13px 16px; box-shadow: none; }
.admin-intro > div > span { color: #155b7e; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.admin-intro h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 2px 0; color: var(--navy); font-size: 20px; line-height: 1.2; }
.admin-intro h1 small { padding: 4px 8px; border-radius: 999px; color: #087443; background: #e7f5ec; font-size: 10px; font-weight: 800; }
.admin-intro p { margin: 0; color: #51617a; font-size: 11px; }
.admin-metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; margin-bottom: 13px; }
.admin-metrics article { position: relative; min-height: 78px; padding: 12px 13px; border: 1px solid #d4dfec; border-radius: 12px; background: white; box-shadow: 0 5px 14px rgba(15,34,75,.035); }
.admin-metrics article::before { position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 12px 0 0 12px; content: ""; background: linear-gradient(var(--cyan), var(--blue)); }
.admin-metrics span, .admin-metrics strong, .admin-metrics small { display: block; }
.admin-metrics span { color: #51617a; font-size: 10px; font-weight: 750; }
.admin-metrics strong { margin: 2px 0; color: var(--navy); font-size: 21px; line-height: 1; }
.admin-metrics small { color: var(--muted); font-size: 10px; }
.admin-settings-form { display: grid; gap: 13px; }
.admin-settings-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: 13px; }
.settings-stack { display: grid; align-content: start; gap: 13px; }
.admin-settings-form .settings-actions { display: flex; justify-content: flex-end; }
.app-body .settings-grid { gap: 13px; }
.app-body .toggle-row { min-height: 40px; padding: 8px 10px; }
.app-body .form-grid { gap: 12px 14px; }
.app-body .pricing-admin { gap: 7px 9px; }
.app-body .subscription-admin th, .app-body .subscription-admin td { padding-top: 10px; padding-bottom: 10px; }


/* TermenHub.ro polish: brand, compact auth/contact and dashboard analytics */
.brand-mark { border: 1px solid #d8e3ef; background: rgba(255,255,255,.96); box-shadow: 0 5px 14px rgba(15,34,75,.08); }
.brand-mark img { display: block; width: 23px; height: 23px; object-fit: contain; }
.auth-promo .brand-mark, .sidebar .brand-mark { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.03); }
.auth-promo .brand-mark img, .sidebar .brand-mark img { width: 22px; height: 22px; }

.auth-shell { min-height: 610px; margin: 3vh auto; }
.auth-promo { padding: 38px 42px; }
.auth-promo h1 { font-size: clamp(34px, 3.6vw, 47px); }
.auth-promo p { font-size: 16px; }
.auth-card { padding: 38px 48px; }
.auth-card h2 { margin: 3px 0 15px; font-size: 31px; }
.auth-card form { gap: 10px; }
.auth-card label { gap: 5px; font-size: 14px; }
.auth-card input, .auth-card select, .auth-card textarea { min-height: 42px; padding: 8px 11px; font-size: 14px; }
.auth-card .toggle-row { min-height: 0; padding: 9px 10px; }
.auth-card .terms-accept { font-size: 12px; line-height: 1.4; }
.auth-card .terms-accept input { width: 18px; min-height: 18px; }
.auth-card .button { min-height: 43px; padding-top: 8px; padding-bottom: 8px; font-size: 14px; }
.auth-card .button-wide { margin-top: 3px; }
.auth-card .auth-alt { margin-top: 1px; font-size: 13px; }
.auth-card > .legal-links { margin-top: 16px; gap: 7px 13px; font-size: 12px; }

.legal-header-nav a.nav-current { padding: 6px 10px; border: 1px solid #bfd0ee; border-radius: 999px; color: var(--blue-dark); background: #f3f7ff; }
.contact-shell { width: min(960px, calc(100% - 40px)); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr); align-items: start; gap: 18px; margin-top: 24px; }
.contact-form { display: grid; gap: 11px; padding: 21px; }
.contact-form label { gap: 5px; font-size: 13px; }
.contact-form input, .contact-form textarea { min-height: 42px; padding: 8px 11px; font-size: 13px; }
.contact-form textarea { min-height: 128px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.contact-form .button { justify-self: start; min-height: 42px; padding: 8px 16px; font-size: 13px; }
.contact-note { margin: -2px 0 0; color: var(--muted); font-size: 11px; }
.contact-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-side { display: grid; gap: 14px; }
.contact-operator { margin-top: 0; }
.contact-help { padding: 18px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fbfcfe; }
.contact-help h2 { margin: 0 0 7px; color: var(--navy); font-size: 16px; }
.contact-help p { margin: 0; color: #59677b; font-size: 12px; line-height: 1.65; }

.page-dashboard .content { max-width: 1080px; }
.page-dashboard .stats-grid { gap: 12px; margin-bottom: 14px; }
.page-dashboard .stat-card { min-height: 82px; padding: 12px; }
.page-dashboard .stat-card .stat-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 11px; font-size: 18px; }
.page-dashboard .stat-card strong { font-size: 24px; }
.page-dashboard .stat-card small { margin-top: 3px; font-size: 12px; }
.page-dashboard .dashboard-grid { grid-template-columns: minmax(0, 1.55fr) minmax(292px, .75fr); gap: 14px; }
.page-dashboard .dashboard-panel { padding: 17px; }
.page-dashboard .dashboard-side { gap: 12px; }
.status-chart { padding: 16px; }
.status-chart .panel-heading { margin-bottom: 9px; }
.status-chart .panel-heading small { color: var(--muted); font-size: 10px; }
.status-chart-body { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; }
.status-donut { position: relative; width: 92px; height: 92px; border-radius: 50%; }
.status-donut::after { position: absolute; inset: 15px; border-radius: 50%; background: white; content: ""; }
.status-donut > span { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; }
.status-donut strong, .status-donut small { display: block; }
.status-donut strong { color: var(--navy); font-size: 20px; line-height: 1; }
.status-donut small { margin-top: 3px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.status-legend { display: grid; gap: 5px; }
.status-legend span { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 7px; color: #59677b; font-size: 10px; }
.status-legend i { width: 8px; height: 8px; border-radius: 50%; }
.status-legend b { color: var(--navy); font-size: 10px; }
.legend-ok { background: var(--green); }.legend-soon { background: var(--amber); }.legend-expired { background: var(--red); }.legend-none { background: #94a3b8; }
.sidebar-section-label { margin: 14px 13px 4px; color: #6f86b1; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.sidebar-section-label-first { margin-top: 0; }
.platform-badge { display: inline-flex; margin-left: 7px; padding: 2px 6px; border: 1px solid #b9cdf8; border-radius: 999px; color: var(--blue-dark); background: #f3f7ff; font-size: 8px; font-weight: 800; letter-spacing: .05em; vertical-align: 1px; }

@media (max-width: 980px) {
  .public-price-grid { grid-template-columns: 1fr; }
  .public-price-card > p, .public-price-card ul { min-height: 0; }
  .admin-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .billing-plans { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr 1fr; }.filters input { grid-column: span 2; }
}
@media (max-width: 860px) {
  .legal-header { gap: 12px; }
  .legal-header .public-menu-toggle { display: block; margin-left: auto; }
  .legal-header-nav { position: absolute; top: 100%; right: 0; left: 0; z-index: 30; display: none; max-width: none; overflow: visible; padding: 14px 20px 18px; align-items: stretch; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 16px 34px rgba(11, 23, 57, .12); white-space: normal; }
  .legal-header-nav.open { display: flex; }
  .legal-header-nav a { padding: 9px 8px; }
  .legal-header-nav .button { width: 100%; flex: 0 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }

  .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: 20px 0 60px rgba(5,12,30,.22); }.sidebar.open { transform: translateX(0); }
  .main-shell, .app-body .main-shell { width: 100%; margin-left: 0; }.menu-toggle { display: block; }.topbar { padding: 0 20px; }.content { padding: 26px 20px; }
  .dashboard-grid, .settings-grid, .admin-settings-columns { grid-template-columns: 1fr; }.settings-actions { grid-column: auto; }
  .auth-shell { grid-template-columns: 1fr; margin: 18px auto; }.auth-promo { min-height: 280px; padding: 30px; }.auth-promo h1 { font-size: 40px; }.auth-card { padding: 48px 30px; }
  .app-footer, .public-footer { flex-direction: column; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 45px; }.feature-grid { grid-template-columns: repeat(2, 1fr); }.steps-grid { grid-template-columns: 1fr; }
  .public-menu-toggle { display: block; }.public-nav { position: relative; }.public-nav nav { position: absolute; top: 64px; right: 0; left: 0; display: none; padding: 20px; align-items: stretch; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: white; box-shadow: var(--shadow); }.public-nav nav.open { display: flex; }.public-nav nav a { padding: 9px 6px; }.public-nav nav .button { width: 100%; }
  .public-cta .public-container { align-items: flex-start; flex-direction: column; }
  .control-hero-grid, .scope-layout, .workflow-layout { grid-template-columns: 1fr; gap: 42px; }
  .business-hero-grid, .audience-grid, .risk-layout, .process-layout { grid-template-columns: 1fr; }
  .business-hero-grid { gap: 42px; }.risk-layout, .process-layout { gap: 34px; }
  .business-cta .public-container { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .contact-grid { grid-template-columns: 1fr; }.contact-shell { width: min(100% - 28px, 960px); }.legal-header { padding-left: 14px; padding-right: 14px; }.legal-header .brand > span:last-child { display: none; }.legal-header-nav { max-width: none; padding-left: 14px; padding-right: 14px; }
  .status-chart-body { grid-template-columns: 82px 1fr; }.status-donut { width: 78px; height: 78px; }.status-donut::after { inset: 13px; }

  body { font-size: 16px; }.page-heading { align-items: stretch; flex-direction: column; }.page-heading .button { align-self: flex-start; }
  .stats-grid, .calendar-grid, .form-grid, .requirements { grid-template-columns: 1fr; }.span-2 { grid-column: auto; }
  .stat-card { min-height: 108px; }.filters { grid-template-columns: 1fr; }.filters input { grid-column: auto; }
  .topbar-title { display: none; }.content { padding: 23px 14px; }.form-panel { padding: 20px; }.field-pair { grid-template-columns: 1fr 95px; }
  .cookie-banner { align-items: stretch; flex-direction: column; }.cookie-banner > div:last-child { justify-content: flex-end; }
  .auth-promo { display: none; }.auth-card { min-height: calc(100vh - 36px); padding: 64px 24px 32px; }.auth-shell { min-height: 0; }
  .hero-section { padding: 58px 0; }.hero-copy h1 { font-size: 38px; }.hero-copy > p { font-size: 16px; }.hero-dashboard { padding: 18px; transform: none; }.hero-mini-stats { grid-template-columns: 1fr; }.feature-grid { grid-template-columns: 1fr; }.public-section { padding: 58px 0; }
  .control-hero, .scope-section, .workflow-section { padding: 48px 0; }.control-intro h1 { font-size: 30px; }.console-metrics { grid-template-columns: 1fr; }.console-metrics div { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-right: 0; border-bottom: 1px solid #26385e; }.console-metrics div:last-child { border-bottom: 0; }.console-metrics small { min-height: 0; }.console-metrics strong { font-size: 20px; }.console-head { display: none; }.console-row { grid-template-columns: 1fr auto; gap: 9px; padding: 10px 0; }.console-row > span:nth-child(2) { display: none; }.scope-list article { grid-template-columns: 34px 1fr; gap: 10px; padding: 15px 0; }.scope-list p { grid-column: 2; }.access-strip .public-container { align-items: flex-start; flex-direction: column; }
  .business-hero { padding: 48px 0 52px; }.business-intro h1 { font-size: 32px; }.business-intro > p { font-size: 15px; }.business-proof { display: grid; gap: 8px; }
  .board-top { padding: 12px 15px; }.board-summary { grid-template-columns: 1fr; }.board-summary > div { min-height: 60px; padding: 10px 15px; border-right: 0; border-bottom: 1px solid #e5ebf3; }.board-summary > div:last-child { border-bottom: 0; }.board-list { padding: 0 14px; }.board-row { grid-template-columns: 3px 1fr 62px; gap: 9px; }.board-row > b { display: none; }.row-date strong { font-size: 10px; }
  .business-audience, .risk-section, .process-section { padding: 52px 0; }.audience-primary { min-height: 0; padding: 26px; }.audience-grid h3, .audience-primary h3 { font-size: 20px; }.audience-stack article { padding: 18px; }
  .risk-points article { grid-template-columns: 38px 1fr; padding: 10px 0; }.process-steps { grid-template-columns: 1fr; }
  .business-cta { padding: 36px 0; }.cta-actions { width: 100%; flex-direction: column; }.cta-actions .button { width: 100%; }
  .admin-metrics { grid-template-columns: 1fr; }
  .footer-signature { flex-direction: column; gap: 3px; white-space: normal; }
}

/* v0.1.6 polish 3 — separated platform account and compact 3-month pricing */
.compact-price-grid { gap: 12px; }
.compact-price-card { padding: 18px 19px; border-radius: 12px; }
.compact-price-card h3 { margin: 5px 0 3px; font-size: 19px; }
.compact-price-card > p { min-height: 36px; font-size: 12px; line-height: 1.45; }
.compact-price-card .public-price { margin-top: 12px; }
.compact-price-card .public-price strong { font-size: 28px; }
.compact-price-card .public-price span { font-size: 10px; }
.three-month-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; padding-bottom: 11px; border-bottom: 1px solid #e8edf4; }
.three-month-price strong { color: var(--blue-dark); font-size: 12px; }
.three-month-price span { color: var(--muted); font-size: 10px; }
.compact-price-card ul { min-height: 0; gap: 6px; margin: 11px 0 13px; font-size: 12px; }
.compact-price-card .button { min-height: 38px; padding-top: 7px; padding-bottom: 7px; font-size: 12px; }
.compact-price-card.trial-card { background: #fbfcff; }
.compact-price-card .trial-price strong { font-size: 28px; }

.compact-billing-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.compact-billing-plans .billing-plan { padding: 16px 17px; }
.compact-billing-plans .billing-plan h2 { margin: 4px 0 3px; font-size: 18px; }
.compact-billing-plans .billing-plan > p { min-height: 34px; font-size: 12px; line-height: 1.4; }
.compact-billing-plans .plan-price { margin-top: 11px; }
.compact-billing-plans .plan-price strong { font-size: 26px; }
.compact-billing-plans .plan-price small, .compact-billing-plans .plan-yearly { font-size: 10px; }
.compact-billing-plans .plan-yearly { margin-top: 5px; }
.compact-billing-plans .plan-yearly strong { color: var(--blue-dark); }
.compact-billing-plans .plan-actions { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 11px; }
.compact-billing-plans .plan-actions .button { min-height: 37px; padding: 6px 8px; font-size: 11px; }
.compact-billing-plans .plan-disabled { margin-top: 11px; padding: 7px 9px; font-size: 10px; }
.billing-vat-note { margin: 10px 2px 0; color: var(--muted); font-size: 11px; text-align: right; }

.account-split-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 18px; margin-bottom: 13px; padding: 16px; border-color: #aac1ef; }
.account-split-copy > span { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.account-split-copy h2 { margin: 4px 0 6px; color: var(--navy); font-size: 17px; }
.account-split-copy p { margin: 0 0 7px; color: #53647d; font-size: 12px; line-height: 1.5; }
.account-split-copy small { display: block; color: var(--muted); font-size: 10px; line-height: 1.45; }
.account-split-form { display: grid; gap: 8px; }
.account-split-form label { gap: 4px; font-size: 11px; }
.account-split-form input { min-height: 38px; padding: 7px 9px; font-size: 12px; }
.account-split-form .form-grid { gap: 8px; }
.account-split-form .button { justify-self: start; min-height: 38px; padding: 7px 13px; font-size: 12px; }

.pricing-admin-two { grid-template-columns: minmax(72px, .45fr) minmax(0, 1.55fr); }
.price-input-wrap { display: grid; gap: 3px; }
.price-input-wrap small { color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1.3; }
.compact-commercial-panel > label:last-of-type { max-width: 180px; }

@media (max-width: 980px) {
  .compact-billing-plans { grid-template-columns: 1fr; }
  .compact-billing-plans .billing-plan > p { min-height: 0; }
  .account-split-panel { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .compact-billing-plans .plan-actions { grid-template-columns: 1fr; }
  .account-split-panel { padding: 14px; }
}


/* TermenHub.ro polish 4: compact Super Admin + password visibility/strength */
.page-system_admin .content { width: min(980px, calc(100% - 32px)); max-width: 980px; margin: 0 auto; padding: 16px 0 28px; }
.page-system_admin .panel { border-radius: 10px; }
.page-system_admin .admin-intro { margin-bottom: 9px; padding: 10px 13px; }
.page-system_admin .admin-intro h1 { font-size: 18px; }
.page-system_admin .admin-metrics { gap: 7px; margin-bottom: 9px; }
.page-system_admin .admin-metrics .admin-metric-link { position: relative; display: block; min-height: 64px; padding: 9px 11px; border: 1px solid #d4dfec; border-radius: 10px; color: inherit; background: #fff; box-shadow: 0 3px 10px rgba(15,34,75,.03); text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.page-system_admin .admin-metrics .admin-metric-link::before { position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 10px 0 0 10px; content: ""; background: linear-gradient(var(--cyan), var(--blue)); }
.page-system_admin .admin-metrics .admin-metric-link:hover { border-color: #9eb8df; box-shadow: 0 5px 14px rgba(15,34,75,.07); transform: translateY(-1px); }
.page-system_admin .admin-metrics span { font-weight: 400; }
.page-system_admin .admin-metrics strong { margin: 1px 0; font-size: 19px; font-weight: 600; }
.page-system_admin .admin-metrics small { font-weight: 400; }
.page-system_admin .admin-settings-form { gap: 9px; }
.page-system_admin .admin-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 9px; }
.page-system_admin .admin-setting-card { padding: 13px 14px; scroll-margin-top: 78px; }
.page-system_admin .admin-setting-card h2, .page-system_admin .subscription-admin h2 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.page-system_admin .admin-setting-card > label, .page-system_admin .subscription-admin label { margin-bottom: 8px; font-size: 11px; font-weight: 400; }
.page-system_admin .admin-setting-card input, .page-system_admin .admin-setting-card select, .page-system_admin .admin-setting-card textarea, .page-system_admin .subscription-admin input, .page-system_admin .subscription-admin select { min-height: 34px; padding: 6px 8px; border-radius: 8px; font-size: 11px; font-weight: 400; }
.page-system_admin .admin-setting-card textarea { min-height: 66px; }
.page-system_admin .admin-setting-card .toggle-row { min-height: 34px; margin-bottom: 7px; padding: 6px 8px; border-radius: 8px; }
.page-system_admin .admin-setting-card .toggle-row span { font-size: 11px; font-weight: 400; }
.page-system_admin .admin-setting-card .toggle-row input { min-height: 16px; width: 16px; height: 16px; }
.page-system_admin .form-note { margin: 5px 0 0; font-size: 9.5px; font-weight: 400; line-height: 1.4; }
.page-system_admin .pricing-admin-two { grid-template-columns: 64px minmax(0,1fr); gap: 6px 8px; margin: 4px 0 8px; scroll-margin-top: 78px; }
.page-system_admin .pricing-admin-two > span, .page-system_admin .pricing-admin-two .pricing-head { font-size: 10.5px; font-weight: 400; }
.page-system_admin .pricing-admin-two label { margin: 0; font-weight: 400; }
.page-system_admin .price-input-wrap small { margin-top: 2px; font-size: 9px; font-weight: 400; }
.page-system_admin .vat-field { max-width: 180px; }
.page-system_admin .admin-setting-wide { grid-column: 1 / -1; }
.page-system_admin .admin-public-grid, .page-system_admin .admin-field-grid.two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 12px; }
.page-system_admin .admin-public-grid > div > label, .page-system_admin .admin-field-grid.two > label { margin-bottom: 8px; font-size: 11px; font-weight: 400; }
.page-system_admin .mono-note { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 400; }
.page-system_admin .subscription-admin { padding: 13px 14px; scroll-margin-top: 78px; }
.page-system_admin .subscription-admin th { padding: 7px 8px; font-size: 10px; font-weight: 500; }
.page-system_admin .subscription-admin td { padding: 7px 8px; font-size: 10.5px; font-weight: 400; }
.page-system_admin .subscription-admin td small { display: block; margin-top: 2px; font-size: 9px; font-weight: 400; }
.page-system_admin .company-name { display: block; font-weight: 400; }
.page-system_admin .admin-subsection { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e4eaf2; scroll-margin-top: 78px; }
.page-system_admin .admin-subsection h3 { margin: 0 0 7px; color: var(--navy); font-size: 12px; font-weight: 600; }
.page-system_admin .settings-actions { position: sticky; bottom: 10px; z-index: 5; }
.page-system_admin .settings-actions .button { min-height: 36px; padding: 7px 13px; font-size: 11px; }
.page-system_admin .account-split-panel { padding: 13px 14px; gap: 14px; }
.page-system_admin .account-split-panel label, .page-system_admin .account-split-panel p, .page-system_admin .account-split-panel small { font-weight: 400; }

.password-control { position: relative; width: 100%; }
.password-control > input { width: 100%; padding-right: 43px !important; }
.password-toggle { position: absolute; top: 50%; right: 7px; display: grid; width: 30px; height: 30px; padding: 0; place-items: center; transform: translateY(-50%); border: 0; border-radius: 7px; color: #526176; background: transparent; cursor: pointer; }
.password-toggle span { position: relative; display: block; width: 17px; height: 11px; border: 1.7px solid currentColor; border-radius: 70% 20% / 70% 20%; transform: rotate(45deg); }
.password-toggle span::after { position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; border-radius: 50%; content: ""; background: currentColor; transform: translate(-50%,-50%); }
.password-toggle.is-visible span::before { position: absolute; top: 50%; left: -4px; width: 23px; height: 1.5px; content: ""; background: currentColor; transform: rotate(-90deg); transform-origin: center; }
.password-toggle:hover, .password-toggle:focus-visible { color: var(--blue); background: #eef4ff; outline: none; }
.password-toggle.is-visible { color: var(--blue); }
.password-strength { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 8px; margin-top: 4px; }
.password-strength > i { position: relative; display: block; overflow: hidden; height: 4px; border-radius: 999px; background: #e6ebf2; }
.password-strength > i::after { position: absolute; inset: 0 auto 0 0; width: var(--password-strength,0%); border-radius: inherit; content: ""; background: currentColor; transition: width .18s ease; }
.password-strength small { color: #66758d; font-size: 10px; font-weight: 400; }
.password-strength[data-level="weak"] { color: #c2413b; }
.password-strength[data-level="medium"] { color: #c07a09; }
.password-strength[data-level="good"] { color: #178650; }
.password-strength[data-level="strong"] { color: #0e6db1; }

@media (max-width: 980px) {
  .page-system_admin .content { width: calc(100% - 24px); }
}
@media (max-width: 760px) {
  .page-system_admin .admin-settings-grid, .page-system_admin .admin-public-grid, .page-system_admin .admin-field-grid.two { grid-template-columns: 1fr; }
  .page-system_admin .admin-setting-wide { grid-column: auto; }
}

/* TermenHub.ro polish 4b: compact client account UI */
.app-body:not(.page-system_admin) .content { max-width: 1120px; padding: 20px 24px 28px; }
.page-dashboard .content { max-width: 1040px; }
.app-body:not(.page-system_admin) .page-heading { margin-bottom: 14px; }
.app-body:not(.page-system_admin) .page-heading h1 { font-size: 26px; }
.app-body:not(.page-system_admin) .page-heading p { margin-top: 4px; font-size: 13px; font-weight: 400; }
.app-body:not(.page-system_admin) .eyebrow { font-size: 10px; }
.app-body:not(.page-system_admin) .panel { border-radius: 11px; }
.app-body:not(.page-system_admin) .panel-heading { margin-bottom: 10px; }
.app-body:not(.page-system_admin) .panel-heading h2,
.app-body:not(.page-system_admin) .form-panel h2,
.app-body:not(.page-system_admin) .month-card h2 { font-size: 15px; font-weight: 700; }
.app-body:not(.page-system_admin) .panel-heading a { font-size: 11px; font-weight: 500; }
.app-body:not(.page-system_admin) .form-panel { padding: 18px; }
.app-body:not(.page-system_admin) .form-panel h2 { margin-bottom: 11px; }
.app-body:not(.page-system_admin) .form-panel > label,
.app-body:not(.page-system_admin) .compact-form > label { margin-bottom: 10px; }
.app-body:not(.page-system_admin) label { gap: 4px; font-size: 12px; font-weight: 400; }
.app-body:not(.page-system_admin) label small,
.app-body:not(.page-system_admin) .form-note { font-size: 10px; font-weight: 400; }
.app-body:not(.page-system_admin) input,
.app-body:not(.page-system_admin) select,
.app-body:not(.page-system_admin) textarea { min-height: 38px; padding: 7px 9px; font-size: 12px; font-weight: 400; }
.app-body:not(.page-system_admin) textarea { min-height: 84px; }
.app-body:not(.page-system_admin) .form-grid { gap: 11px 14px; }
.app-body:not(.page-system_admin) .settings-grid { gap: 12px; }
.app-body:not(.page-system_admin) .filters { gap: 8px; margin-bottom: 12px; padding: 11px; }
.app-body:not(.page-system_admin) th { padding: 9px 11px; font-size: 10.5px; font-weight: 500; }
.app-body:not(.page-system_admin) td { padding: 9px 11px; font-size: 11px; font-weight: 400; }
.app-body:not(.page-system_admin) td strong { font-weight: 600; }
.app-body:not(.page-system_admin) .status { padding: 4px 8px; font-size: 10px; font-weight: 600; }
.app-body:not(.page-system_admin) .row-actions > a,
.app-body:not(.page-system_admin) .row-actions button,
.app-body:not(.page-system_admin) .table-link { font-size: 11px; font-weight: 500; }
.app-body:not(.page-system_admin) .calendar-grid { gap: 13px; }
.app-body:not(.page-system_admin) .month-card { padding: 15px; }
.app-body:not(.page-system_admin) .month-card h2 { margin-bottom: 8px; }
.app-body:not(.page-system_admin) .button { min-height: 38px; padding: 7px 13px; font-size: 12px; }

.page-dashboard .stats-grid { gap: 9px; margin-bottom: 11px; }
.page-dashboard .stat-card { min-height: 72px; gap: 10px; padding: 10px; }
.page-dashboard .stat-card .stat-icon { width: 36px; height: 36px; flex-basis: 36px; font-size: 16px; }
.page-dashboard .stat-card strong { font-size: 21px; font-weight: 600; }
.page-dashboard .stat-card small { margin-top: 2px; font-size: 10.5px; font-weight: 400; }
.page-dashboard .dashboard-grid { grid-template-columns: minmax(0,1.55fr) minmax(275px,.72fr); gap: 11px; }
.page-dashboard .dashboard-panel { padding: 14px; }
.page-dashboard .dashboard-side { gap: 10px; }
.page-dashboard .urgent-main strong,
.page-dashboard .urgent-date strong { font-weight: 600; }
.page-dashboard .urgent-main small,
.page-dashboard .urgent-date small { font-weight: 400; }
.page-dashboard .status-chart { padding: 13px; }

@media (max-width: 860px) {
  .app-body:not(.page-system_admin) .content { width: 100%; max-width: none; padding: 20px 16px 26px; }
}


/* TermenHub.ro polish 5: wider aligned pages, compact status/system tools */
.page-system_admin .content { width: 100%; max-width: 1320px; margin: 0; padding: 16px 38px 28px; }
.app-body:not(.page-system_admin) .content { width: 100%; max-width: 1280px; margin: 0; padding-left: 38px; padding-right: 38px; }
.page-dashboard .content { max-width: 1180px; }
.flash-slot { margin: -1px 0 10px; }
.flash-slot:empty { display: none; }
.flash-slot .alert { margin: 0; min-height: 38px; padding: 9px 12px; border-radius: 9px; font-size: 11px; font-weight: 500; }
.system-health { display: flex; align-items: stretch; gap: 14px; margin-bottom: 9px; padding: 10px 12px; }
.system-health-title { display: grid; min-width: 112px; align-content: center; border-right: 1px solid #e4eaf2; }
.system-health-title span { color: var(--navy); font-size: 12px; font-weight: 700; }
.system-health-title small { color: var(--muted); font-size: 9px; font-weight: 400; }
.system-health-items { display: grid; min-width: 0; flex: 1; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.system-health-items > span,
.system-health-items > a { display: grid; min-width: 0; gap: 1px; padding: 6px 8px; border-radius: 8px; background: #f8fafc; }
.system-health-items b { color: #64748b; font-size: 8.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.system-health-items strong { overflow: hidden; color: var(--navy); font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.system-health-items small { overflow: hidden; color: var(--muted); font-size: 8.5px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.page-system_admin .admin-setting-card h2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.config-status { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 20px; padding: 2px 7px; border-radius: 999px; font-size: 8.5px; font-style: normal; font-weight: 600; }
.config-status.is-active { color: #067647; background: #ecfdf3; }
.config-status.is-ready { color: #175cd3; background: #eff8ff; }
.config-status.is-off { color: #667085; background: #f2f4f7; }
.smtp-test-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 8px; margin-top: 2px; }
.smtp-test-row label { margin: 0 !important; }
.smtp-test-row .button { min-height: 34px; margin: 0; padding: 6px 11px; font-size: 10.5px; }
.admin-table-tools { display: grid; grid-template-columns: minmax(220px,1.4fr) minmax(115px,.55fr) minmax(135px,.65fr) auto; align-items: end; gap: 8px; margin: 9px 0 10px; padding: 9px; border: 1px solid #e4eaf2; border-radius: 9px; background: #f8fafc; }
.admin-table-tools label { margin: 0 !important; font-size: 9.5px !important; }
.admin-table-tools input, .admin-table-tools select { min-height: 32px !important; padding: 5px 7px !important; }
.filter-count { align-self: center; padding: 5px 8px; color: #475467; border-radius: 999px; background: #eef2f6; font-size: 9.5px; white-space: nowrap; }
.muted-cell { color: var(--muted); font-size: 9.5px; }
.next-deadlines { padding: 12px 13px; }
.next-deadlines .panel-heading { margin-bottom: 5px; }
.next-deadline-list { display: grid; }
.next-deadline-list > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid #edf1f6; }
.next-deadline-list span { min-width: 0; }
.next-deadline-list strong, .next-deadline-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next-deadline-list strong { color: var(--text); font-size: 10.5px; font-weight: 600; }
.next-deadline-list small { color: var(--muted); font-size: 9px; font-weight: 400; }
.next-deadline-list b { flex: 0 0 auto; color: var(--blue); font-size: 9px; font-weight: 600; }
.page-dashboard .activity-list > div { padding: 8px 0; }
.page-dashboard .activity-list strong { font-size: 10.5px; font-weight: 600; }
.page-dashboard .activity-list span, .page-dashboard .activity-list small { font-size: 9px; font-weight: 400; }
.page-dashboard .activity-limit { margin-top: 6px; font-size: 9px; }
@media (max-width: 980px) {
  .page-system_admin .content, .app-body:not(.page-system_admin) .content { max-width: none; padding-left: 18px; padding-right: 18px; }
  .system-health { display: grid; }
  .system-health-title { border-right: 0; border-bottom: 1px solid #e4eaf2; padding-bottom: 6px; }
  .system-health-items { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-table-tools { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .system-health-items, .admin-table-tools, .smtp-test-row { grid-template-columns: 1fr; }
  .filter-count { justify-self: start; }
}


/* TermenHub.ro polish 6: operational calendar, real history, compact cookies and safe To top */
.cookie-banner { width: min(780px, calc(100% - 36px)); gap: 14px; padding: 11px 13px; border-radius: 12px; }
.cookie-banner > div:first-child { min-width: 0; flex: 1; }
.cookie-banner strong { font-size: 13px; font-weight: 700; }
.cookie-banner p { margin-top: 1px; font-size: 12px; line-height: 1.3; }
.cookie-banner .button { min-height: 34px; padding: 6px 11px; font-size: 11px; }
.app-body .to-top { right: 26px; }
.filters-extended { grid-template-columns: minmax(185px,1.25fr) minmax(120px,.65fr) minmax(130px,.75fr) minmax(145px,.8fr) minmax(145px,.8fr) auto; }
.filters-extended input { grid-column: auto; }
.check-management-overview { margin-bottom: 12px; padding: 13px 15px; }
.check-management-overview .panel-heading { margin-bottom: 8px; }
.check-management-overview .panel-heading small { color: var(--muted); font-size: 9.5px; font-weight: 400; }
.management-grid { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 12px; }
.management-grid > div { min-width: 0; padding: 10px; border: 1px solid #e7edf5; border-radius: 9px; background: #fafcff; }
.management-grid h3 { margin: 0 0 7px; color: var(--navy); font-size: 11px; font-weight: 700; }
.management-grid p { margin: 0; color: var(--muted); font-size: 10px; }
.management-links { display: grid; gap: 4px; }
.management-links a { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 6px; border-radius: 6px; color: #475467; background: white; font-size: 10px; }
.management-links a:hover { color: var(--blue-dark); background: #f1f6ff; }
.management-links span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.management-links b { min-width: 22px; padding: 2px 5px; border-radius: 999px; color: var(--blue-dark); background: #eaf1ff; font-size: 9px; font-weight: 600; text-align: center; }
.management-costs > span { display: block; margin: 5px 0 3px; color: var(--muted); font-size: 9px; }
.cost-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.cost-chips b { padding: 4px 7px; border-radius: 7px; color: #344054; background: white; font-size: 10px; font-weight: 600; }
.cost-chips small { color: var(--muted); font-size: 9px; }
.check-detail-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(250px,.7fr); gap: 12px; margin-top: 12px; }
.check-history-panel, .check-documents-panel { padding: 14px; }
.history-list { display: grid; }
.history-list article { display: grid; grid-template-columns: 105px minmax(0,1fr) minmax(170px,.8fr); gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid #edf1f6; }
.history-date strong, .history-date small, .history-main strong, .history-main span, .history-main small, .history-meta span, .history-meta strong { display: block; }
.history-date strong { color: var(--navy); font-size: 11px; font-weight: 650; }
.history-date small, .history-main small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.history-main strong { color: var(--text); font-size: 10.5px; font-weight: 650; }
.history-main span { margin-top: 2px; color: #475467; font-size: 9.5px; }
.history-meta { display: grid; gap: 2px; text-align: right; }
.history-meta span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.history-meta strong { color: #344054; font-size: 10px; font-weight: 650; }
.check-document-list { display: grid; }
.check-document-list a { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid #edf1f6; }
.check-document-list span { min-width: 0; }
.check-document-list strong, .check-document-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-document-list strong { color: var(--text); font-size: 10px; font-weight: 600; }
.check-document-list small { color: var(--muted); font-size: 9px; }
.check-document-list b { flex: 0 0 auto; color: var(--blue); font-size: 9px; font-weight: 600; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 9px; padding: 10px 12px; }
.calendar-month-nav { display: flex; align-items: center; gap: 7px; }
.calendar-month-nav > div { min-width: 78px; text-align: center; }
.calendar-month-nav strong, .calendar-month-nav small { display: block; }
.calendar-month-nav strong { color: var(--navy); font-size: 13px; font-weight: 700; }
.calendar-month-nav small { margin-top: 1px; color: var(--muted); font-size: 8.5px; }
.calendar-nav-button { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #d9e2ee; border-radius: 8px; color: var(--navy); background: white; font-size: 17px; }
.calendar-today { min-height: 31px !important; padding: 5px 9px !important; font-size: 10px !important; }
.calendar-mode-tabs { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #dfe6ef; border-radius: 9px; background: #f8fafc; }
.calendar-mode-tabs a { padding: 6px 10px; border-radius: 6px; color: #667085; font-size: 10px; font-weight: 550; }
.calendar-mode-tabs a.active { color: white; background: var(--navy); }
.calendar-filters { display: grid; grid-template-columns: repeat(4,minmax(125px,1fr)) auto; gap: 8px; margin-bottom: 9px; padding: 9px; }
.calendar-filters select { min-height: 34px !important; padding: 5px 7px !important; font-size: 10px !important; }
.calendar-filters .button { min-height: 34px !important; padding: 5px 10px !important; }
.operational-calendar { overflow: hidden; padding: 0; }
.operational-calendar-weekdays { display: grid; grid-template-columns: repeat(7,1fr); border-bottom: 1px solid #e5ebf3; background: #f8fafc; }
.operational-calendar-weekdays span { padding: 8px; color: #667085; font-size: 9px; font-weight: 650; text-align: center; text-transform: uppercase; }
.operational-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.operational-day { min-width: 0; min-height: 112px; padding: 6px; border-right: 1px solid #edf1f6; border-bottom: 1px solid #edf1f6; background: white; }
.operational-day:nth-child(7n) { border-right: 0; }
.operational-day.is-empty { background: #fafbfc; }
.operational-day.is-today { background: #f7fbff; box-shadow: inset 0 0 0 1px #b8cff8; }
.operational-day.is-selected { background: #f1f6ff; box-shadow: inset 0 0 0 2px #8fb2f3; }
.operational-day-number { display: grid; width: 24px; height: 24px; place-items: center; margin-left: auto; border-radius: 7px; color: #667085; font-size: 9.5px; font-weight: 600; }
.operational-day-number:hover { color: var(--blue-dark); background: #eaf1ff; }
.operational-events { display: grid; gap: 3px; margin-top: 3px; }
.calendar-event { min-width: 0; padding: 4px 5px; border-left: 3px solid #60a5fa; border-radius: 5px; background: #f3f7ff; }
.calendar-event strong, .calendar-event small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event strong { color: #344054; font-size: 8.8px; font-weight: 600; }
.calendar-event small { margin-top: 1px; color: #667085; font-size: 7.8px; }
.calendar-event.event-ok { border-left-color: #12b76a; background: #f0fdf4; }
.calendar-event.event-soon { border-left-color: #f79009; background: #fffaeb; }
.calendar-event.event-expired { border-left-color: #f04438; background: #fff4f2; }
.calendar-event.event-done { border-left-color: #12b76a; background: #f0fdf4; }
.calendar-event.event-info { border-left-color: #2e90fa; background: #eff8ff; }
.calendar-more { padding: 2px 5px; color: var(--blue); font-size: 8px; font-weight: 600; }
.calendar-day-detail { margin-top: 9px; padding: 13px 15px; scroll-margin-top: 76px; }
.calendar-day-detail-list { display: grid; }
.calendar-day-detail-list a { display: grid; grid-template-columns: 6px minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 8px 0; border-top: 1px solid #edf1f6; }
.calendar-day-detail-list i { width: 6px; height: 30px; border-radius: 999px; background: #2e90fa; }
.calendar-day-detail-list i.event-ok, .calendar-day-detail-list i.event-done { background: #12b76a; }
.calendar-day-detail-list i.event-soon { background: #f79009; }
.calendar-day-detail-list i.event-expired { background: #f04438; }
.calendar-day-detail-list strong, .calendar-day-detail-list small { display: block; }
.calendar-day-detail-list strong { color: var(--text); font-size: 10.5px; font-weight: 600; }
.calendar-day-detail-list small { margin-top: 1px; color: var(--muted); font-size: 9px; }
.calendar-day-detail-list b { color: var(--blue); font-size: 9px; font-weight: 600; }
@media (max-width: 1100px) {
  .filters-extended { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .filters-extended .button { width: 100%; }
  .calendar-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .calendar-filters .button { width: 100%; }
}
@media (max-width: 860px) {
  .management-grid, .check-detail-grid { grid-template-columns: 1fr; }
  .operational-day { min-height: 96px; padding: 4px; }
  .calendar-event small { display: none; }
  .calendar-toolbar { align-items: stretch; flex-direction: column; }
  .calendar-mode-tabs { align-self: flex-start; }
}
@media (max-width: 620px) {
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 10px 11px; }
  .cookie-banner > div:last-child { justify-content: flex-start; }
  .filters-extended, .calendar-filters { grid-template-columns: 1fr; }
  .operational-calendar { overflow-x: auto; }
  .operational-calendar-weekdays, .operational-calendar-grid { min-width: 700px; }
  .history-list article { grid-template-columns: 90px minmax(0,1fr); }
  .history-meta { grid-column: 2; text-align: left; }
}

.check-side-stack { display: grid; align-content: start; gap: 12px; }
.check-notification-panel { padding: 14px; }
.notification-evidence-list { display: grid; }
.notification-evidence-list > div { display: grid; grid-template-columns: 7px minmax(0,1fr); gap: 8px; align-items: start; padding: 7px 0; border-top: 1px solid #edf1f6; }
.notification-evidence-list i { width: 7px; height: 28px; border-radius: 999px; background: #12b76a; }
.notification-evidence-list i.is-failed { background: #f04438; }
.notification-evidence-list strong, .notification-evidence-list small { display: block; }
.notification-evidence-list strong { color: var(--text); font-size: 9.5px; font-weight: 600; }
.notification-evidence-list small { margin-top: 1px; color: var(--muted); font-size: 8.5px; overflow-wrap: anywhere; }

/* TermenHub.ro polish 6c: cookie preferences with real category choices */
.cookie-banner[hidden], .cookie-preferences-backdrop[hidden] { display: none !important; }
.cookie-banner { width: min(940px, calc(100% - 36px)); padding: 10px 12px; gap: 12px; }
.cookie-banner-copy { min-width: 0; flex: 1; }
.cookie-banner-copy p { max-width: 620px; }
.cookie-banner-copy a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.cookie-banner-actions .button { min-height: 32px; padding: 5px 9px; font-size: 10.5px; }
.cookie-preferences-backdrop { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; background: rgba(11, 23, 57, .42); }
.cookie-preferences { width: min(680px, 100%); max-height: min(88vh, 620px); overflow: auto; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(11, 23, 57, .28); }
.cookie-preferences-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.cookie-preferences-head strong { display: block; color: var(--navy); font-size: 16px; }
.cookie-preferences-head p { margin: 2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.cookie-preferences-close { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: #fff; cursor: pointer; font-size: 20px; line-height: 1; }
.cookie-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 10px 11px; border: 1px solid #e4eaf2; border-radius: 10px; background: #fbfcfe; }
.cookie-category span { min-width: 0; }
.cookie-category strong, .cookie-category small { display: block; }
.cookie-category strong { margin-bottom: 2px; color: var(--navy); font-size: 11.5px; }
.cookie-category small { color: var(--muted); font-size: 9.5px; font-weight: 400; line-height: 1.35; }
.cookie-category input { width: 18px; height: 18px; min-width: 18px; accent-color: var(--blue); }
.cookie-category.is-required { background: #f4f7fb; }
.cookie-preferences-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #edf1f6; }
.cookie-preferences-actions .button { min-height: 34px; padding: 6px 10px; font-size: 10.5px; }
body.cookie-preferences-open { overflow: hidden; }
.legal-cookie-settings { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font: inherit; }
.legal-cookie-settings:hover { color: var(--blue); }
.app-body .legal-cookie-settings { font-size: 12px; }
@media (max-width: 760px) {
  .cookie-banner { align-items: stretch; width: calc(100% - 24px); }
  .cookie-banner-actions { justify-content: flex-start; }
  .cookie-category-grid { grid-template-columns: 1fr; }
  .cookie-preferences { padding: 13px; }
  .cookie-preferences-actions { justify-content: stretch; }
  .cookie-preferences-actions .button { flex: 1 1 150px; }
}

/* polish 6e: selectie plan explicita */
.plan-actions-disabled .button[disabled] { opacity: .52; cursor: not-allowed; box-shadow: none; }
.plan-current-note { border-color: #b8e5c9; background: #effaf3; color: #19733b; }

/* polish 6g: private PHP error log viewer */
.system-health-items > a { color: inherit; text-decoration: none; }
.server-error-log { margin: 10px 0 14px; padding: 14px 16px; }
.server-error-log .panel-heading { align-items: flex-start; }
.server-error-lines { display: grid; gap: 5px; max-height: 260px; overflow: auto; margin-top: 8px; }
.server-error-lines code { display: block; white-space: pre-wrap; overflow-wrap: anywhere; padding: 7px 9px; border: 1px solid #e5eaf2; border-radius: 7px; background: #f8fafc; color: #344054; font-size: 12px; line-height: 1.4; font-weight: 400; }


/* TermenHub.ro polish 6h: central notification policy */
.notification-admin-card { grid-column: 1 / -1; }
.notification-admin-top { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; align-items:start; }
.notification-template-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:14px; }
.notification-template-grid > div { border:1px solid #e6eaf0; border-radius:14px; padding:14px; background:#fbfcfe; }
.notification-template-grid h3 { margin:0 0 10px; font-size:15px; }
.notification-template-grid textarea { min-height:132px; font-size:13px; line-height:1.45; }
.template-help { margin-top:12px; padding:10px 12px; border-radius:10px; background:#f2f7ff; font-size:13px; line-height:1.6; }
.template-help code { display:inline-block; margin:2px 3px; padding:1px 5px; border-radius:5px; background:#fff; border:1px solid #dbe5f2; }
.notification-policy-client .policy-summary { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
.notification-policy-client .policy-summary span { display:flex; flex-direction:column; gap:4px; padding:12px; border:1px solid #e6eaf0; border-radius:12px; background:#fbfcfe; }
.notification-policy-client .policy-summary b { font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:#64748b; }
.notification-policy-client .policy-summary strong { font-size:15px; color:#0f172a; }
.notification-policy-client .policy-summary small { color:#64748b; line-height:1.35; }
.client-notification-panel .notification-policy-line { margin:0 0 10px; color:#64748b; font-size:13px; }
.compact-dashboard-notifications a { display:flex; gap:10px; align-items:flex-start; padding:9px 0; border-bottom:1px solid #edf0f4; color:inherit; text-decoration:none; }
.compact-dashboard-notifications a:last-child { border-bottom:0; }
@media (max-width: 980px) {
  .notification-admin-top, .notification-policy-client .policy-summary { grid-template-columns:1fr; }
  .notification-template-grid { grid-template-columns:1fr; }
}
.notification-admin-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:4px 0 14px; }
.notification-admin-stats span { padding:10px 12px; border:1px solid #e6eaf0; border-radius:12px; background:#fbfcfe; display:flex; flex-direction:column; gap:2px; }
.notification-admin-stats b { font-size:18px; color:#0f172a; }
.notification-admin-stats small { color:#64748b; }
.client-notification-columns { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.client-notification-columns h3 { margin:0 0 8px; font-size:14px; }
.notification-evidence-list i.is-scheduled { background:#2563eb; }
@media (max-width: 980px) {
  .notification-admin-stats { grid-template-columns:1fr 1fr; }
  .client-notification-columns { grid-template-columns:1fr; }
}


/* TermenHub.ro polish 6i: verified email, billing, subscriptions and backups */
.pending-email-note { display:block; margin-top:5px; }
.billing-warning a { font-weight:700; }
.billing-management { display:flex; align-items:center; justify-content:space-between; gap:22px; }
.billing-management-actions { display:flex; flex-direction:column; align-items:flex-end; gap:7px; max-width:390px; text-align:right; }
.billing-past-due { display:block; margin-top:7px; }
.billing-invoices { margin-top:16px; }
.billing-invoices td small { display:block; margin-top:4px; max-width:320px; }
.billing-details-card { grid-column:span 1; }
.backup-file-list { display:grid; gap:7px; margin-top:10px; }
.backup-file-list a { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:9px 11px; border:1px solid var(--border); border-radius:10px; text-decoration:none; }
.backup-file-list a small { white-space:nowrap; }
@media (max-width: 780px) {
  .billing-management { align-items:flex-start; flex-direction:column; }
  .billing-management-actions { align-items:stretch; max-width:none; text-align:left; width:100%; }
  .backup-file-list a { align-items:flex-start; flex-direction:column; }
}

/* TermenHub.ro polish 6j: Super Admin grouped workspace */
.admin-section-hidden { display: none !important; }
.page-system_admin .admin-hub-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 0 0 9px; }
.page-system_admin .admin-hub-grid > a { display: grid; grid-template-columns: 34px minmax(0,1fr) 14px; align-items: center; gap: 9px; min-height: 70px; padding: 10px 12px; border: 1px solid #d6e1ee; border-radius: 11px; color: inherit; background: #fff; text-decoration: none; box-shadow: 0 3px 10px rgba(15,34,75,.03); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.page-system_admin .admin-hub-grid > a:hover { border-color: #9db8df; box-shadow: 0 6px 16px rgba(15,34,75,.07); transform: translateY(-1px); }
.page-system_admin .admin-hub-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #c9daf0; border-radius: 9px; color: #1264d8; background: #f4f8ff; font-size: 16px; }
.page-system_admin .admin-hub-grid strong, .page-system_admin .admin-hub-grid small { display: block; }
.page-system_admin .admin-hub-grid strong { color: var(--navy); font-size: 12px; font-weight: 650; }
.page-system_admin .admin-hub-grid small { margin-top: 2px; color: var(--muted); font-size: 9.5px; font-weight: 400; line-height: 1.35; }
.page-system_admin .admin-hub-grid em { color: #93a7c5; font-size: 20px; font-style: normal; text-align: right; }
.page-system_admin .admin-settings-form { margin-top: 0; }
.page-system_admin .admin-settings-grid { margin-top: 0; }
.is-superadmin .sidebar nav { gap: 3px; }
.is-superadmin .sidebar nav a { min-height: 36px; padding: 5px 10px; gap: 9px; font-size: 13px; }
.is-superadmin .sidebar nav a span { width: 22px; height: 22px; font-size: 14px; }
.is-superadmin .sidebar-section-label { margin: 9px 11px 2px; font-size: 8px; letter-spacing: .13em; }
.is-superadmin .sidebar-section-label-first { margin-top: 0; }
.page-system_admin .settings-actions { position: sticky; bottom: 8px; z-index: 8; justify-content: flex-end; padding: 8px 0 0; background: linear-gradient(to bottom, rgba(247,249,252,0), rgba(247,249,252,.96) 35%); }
@media (max-width: 1100px) { .page-system_admin .admin-hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 720px) { .page-system_admin .admin-hub-grid { grid-template-columns: 1fr; } }


/* TermenHub.ro polish 6k — real section navigation + readable authenticated typography */
/* Super Admin sidebar: direct pages only, no micro group labels. */
.is-superadmin .sidebar nav { gap: 6px; }
.is-superadmin .sidebar nav a { min-height: 43px; padding: 8px 10px; font-size: 14px; font-weight: 500; }
.is-superadmin .sidebar nav a span { width: 24px; height: 24px; font-size: 15px; }

/* Admin pages are compact, but never micro-typography. */
.page-system_admin { font-size: 15px; }
.page-system_admin .admin-intro { padding: 14px 16px; }
.page-system_admin .admin-intro > div > span { font-size: 12px; }
.page-system_admin .admin-intro h1 { font-size: 22px; line-height: 1.25; }
.page-system_admin .admin-intro h1 small { font-size: 11px; }
.page-system_admin .admin-intro p { font-size: 14px; }
.page-system_admin .admin-setting-card,
.page-system_admin .subscription-admin { padding: 17px 18px; }
.page-system_admin .admin-setting-card h2,
.page-system_admin .subscription-admin h2 { margin-bottom: 12px; font-size: 18px; line-height: 1.3; }
.page-system_admin .admin-setting-card > label,
.page-system_admin .subscription-admin label,
.page-system_admin .admin-public-grid > div > label,
.page-system_admin .admin-field-grid.two > label { font-size: 14px; line-height: 1.4; }
.page-system_admin .admin-setting-card input,
.page-system_admin .admin-setting-card select,
.page-system_admin .admin-setting-card textarea,
.page-system_admin .subscription-admin input,
.page-system_admin .subscription-admin select { min-height: 40px; padding: 8px 10px; font-size: 14px; line-height: 1.4; }
.page-system_admin .admin-setting-card textarea { min-height: 92px; }
.page-system_admin .admin-setting-card .toggle-row { min-height: 40px; padding: 8px 10px; }
.page-system_admin .admin-setting-card .toggle-row span { font-size: 14px; line-height: 1.4; }
.page-system_admin .form-note,
.page-system_admin .mono-note { margin-top: 7px; font-size: 14px; line-height: 1.5; }
.page-system_admin .pricing-admin-two > span,
.page-system_admin .pricing-admin-two .pricing-head { font-size: 13px; }
.page-system_admin .price-input-wrap small { font-size: 13px; line-height: 1.4; }
.page-system_admin .admin-subsection h3 { font-size: 16px; }
.page-system_admin .settings-actions .button,
.page-system_admin .smtp-test-row .button { min-height: 40px; font-size: 14px; }
.page-system_admin .subscription-admin th { padding: 10px 11px; font-size: 13px; }
.page-system_admin .subscription-admin td { padding: 10px 11px; font-size: 14px; }
.page-system_admin .subscription-admin td small,
.page-system_admin .muted-cell,
.page-system_admin .filter-count,
.page-system_admin .admin-table-tools label { font-size: 13px !important; }
.page-system_admin .system-health-title span { font-size: 15px; }
.page-system_admin .system-health-title small { font-size: 13px; }
.page-system_admin .system-health-items strong { font-size: 14px; }
.page-system_admin .flash-slot .alert { font-size: 14px; }
.page-system_admin .server-error-lines code { font-size: 13px; line-height: 1.5; }
.page-system_admin .admin-hub-grid strong { font-size: 15px; }
.page-system_admin .admin-hub-grid small { font-size: 13px; line-height: 1.45; }
.page-system_admin .admin-metrics span,
.page-system_admin .admin-metrics small { font-size: 13px; }
.page-system_admin .admin-metrics strong { font-size: 21px; }

/* Client account: keep compact layout, restore readable text floor. */
.app-body:not(.page-system_admin) { font-size: 15px; }
.app-body:not(.page-system_admin) label { font-size: 14px; }
.app-body:not(.page-system_admin) label small,
.app-body:not(.page-system_admin) .form-note { font-size: 13px; line-height: 1.45; }
.app-body:not(.page-system_admin) input,
.app-body:not(.page-system_admin) select,
.app-body:not(.page-system_admin) textarea { font-size: 14px; }
.app-body:not(.page-system_admin) .button { font-size: 14px; }
.app-body:not(.page-system_admin) th { font-size: 13px; }
.app-body:not(.page-system_admin) td { font-size: 14px; }
.app-body:not(.page-system_admin) td small { font-size: 13px; }
.app-body:not(.page-system_admin) .status,
.app-body:not(.page-system_admin) .row-actions > a,
.app-body:not(.page-system_admin) .row-actions button,
.app-body:not(.page-system_admin) .table-link { font-size: 13px; }
.page-dashboard .stat-card small,
.page-dashboard .activity-list span,
.page-dashboard .activity-list small,
.page-dashboard .activity-limit,
.next-deadline-list small,
.next-deadline-list b { font-size: 13px; }
.next-deadline-list strong,
.page-dashboard .activity-list strong { font-size: 14px; }
.check-management-overview .panel-heading small,
.management-grid p,
.management-links a,
.management-costs > span,
.cost-chips small,
.history-date small,
.history-main small,
.history-main span,
.history-meta span,
.check-document-list small,
.check-document-list b,
.calendar-day-detail-list small,
.calendar-day-detail-list b,
.notification-evidence-list strong { font-size: 13px; }
.management-grid h3,
.history-date strong,
.history-main strong,
.history-meta strong,
.check-document-list strong,
.calendar-day-detail-list strong { font-size: 14px; }
.calendar-mode-tabs a,
.calendar-filters select,
.operational-calendar-weekdays span,
.operational-day-number,
.calendar-more { font-size: 12px !important; }

@media (max-width: 720px) {
  .page-system_admin .admin-setting-card > label,
  .page-system_admin .subscription-admin label,
  .page-system_admin .form-note { font-size: 13px; }
}

/* TermenHub.ro polish 6l — admin alignment only (CSS) */
/* Commercial page: keep the two columns compact and remove the empty grid gap. */
.page-system_admin #abonamente-trial { grid-column: 1; grid-row: 1; }
.page-system_admin #stripe-settings { grid-column: 2; grid-row: 1 / span 2; }
.page-system_admin #oblio-settings { grid-column: 1; grid-row: 2; }

/* Save action belongs after the page content, not as a large floating/sticky band. */
.page-system_admin .settings-actions {
  position: static;
  bottom: auto;
  z-index: auto;
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding: 0;
  background: transparent;
}

/* Email/SMTP uses the full workspace width; its existing field grids split it in two. */
.page-system_admin #email-settings { grid-column: 1 / -1; }
.page-system_admin #email-settings .admin-field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.page-system_admin #email-settings .smtp-test-row {
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: none;
}

@media (max-width: 760px) {
  .page-system_admin #abonamente-trial,
  .page-system_admin #stripe-settings,
  .page-system_admin #oblio-settings,
  .page-system_admin #email-settings {
    grid-column: auto;
    grid-row: auto;
  }
  .page-system_admin #email-settings .admin-field-grid.two,
  .page-system_admin #email-settings .smtp-test-row {
    grid-template-columns: 1fr;
  }
}


/* TermenHub.ro polish 6m: balanced client dashboard + truthful notification schedule */
.page-dashboard .dashboard-balanced-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.page-dashboard .dashboard-balanced-grid > .panel { min-width: 0; }
.page-dashboard .dashboard-attention { grid-column: span 7; padding: 14px; }
.page-dashboard .dashboard-next { grid-column: span 5; }
.page-dashboard .dashboard-status { grid-column: span 6; }
.page-dashboard .dashboard-deadlines { grid-column: span 6; }
.page-dashboard .dashboard-notifications { grid-column: span 8; padding: 14px; }
.page-dashboard .dashboard-activity { grid-column: span 4; padding: 14px; }
.page-dashboard .dashboard-empty-state {
  min-height: 104px;
  grid-template-columns: auto 1fr;
  justify-content: start;
  justify-items: start;
  align-content: center;
  place-items: center start;
  gap: 12px;
  padding: 12px 6px;
  text-align: left;
}
.page-dashboard .dashboard-empty-state span { width: 38px; height: 38px; font-size: 18px; }
.page-dashboard .dashboard-empty-state p { max-width: none; }
.page-dashboard .dashboard-attention .urgent-list > a { min-height: 58px; padding: 9px 4px; }
.page-dashboard .dashboard-status,
.page-dashboard .dashboard-deadlines { min-height: 0; }
.page-dashboard .dashboard-notifications .notification-policy-line { margin-bottom: 12px; line-height: 1.45; }
.page-dashboard .dashboard-notifications .client-notification-columns { gap: 20px; }
.page-dashboard .dashboard-notifications .client-notification-columns > div { min-width: 0; }
.page-dashboard .dashboard-notifications .compact-dashboard-notifications a { padding: 10px 0; }
.page-dashboard .dashboard-notifications .compact-dashboard-notifications span { min-width: 0; }
.page-dashboard .dashboard-notifications .compact-dashboard-notifications strong,
.page-dashboard .dashboard-notifications .compact-dashboard-notifications small { display: block; }
.page-dashboard .dashboard-notifications .compact-dashboard-notifications small { margin-top: 2px; line-height: 1.35; color: var(--muted); }
.page-dashboard .notification-empty { min-height: 108px; padding: 12px; }
.page-dashboard .dashboard-activity .activity-list > div:first-child { border-top: 0; }

@media (max-width: 980px) {
  .page-dashboard .dashboard-attention,
  .page-dashboard .dashboard-next,
  .page-dashboard .dashboard-status,
  .page-dashboard .dashboard-deadlines,
  .page-dashboard .dashboard-notifications,
  .page-dashboard .dashboard-activity { grid-column: span 6; }
}
@media (max-width: 720px) {
  .page-dashboard .dashboard-attention,
  .page-dashboard .dashboard-next,
  .page-dashboard .dashboard-status,
  .page-dashboard .dashboard-deadlines,
  .page-dashboard .dashboard-notifications,
  .page-dashboard .dashboard-activity { grid-column: 1 / -1; }
  .page-dashboard .dashboard-empty-state { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* TermenHub.ro polish 6n: symmetric client dashboard */
.page-dashboard .dashboard-balanced-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.page-dashboard .dashboard-attention {
  grid-column: 1 / span 6;
  grid-row: 1;
}
.page-dashboard .dashboard-next {
  grid-column: 7 / span 6;
  grid-row: 1;
}
.page-dashboard .dashboard-status {
  grid-column: 1 / span 4;
  grid-row: 2;
}
.page-dashboard .dashboard-deadlines {
  grid-column: 5 / span 4;
  grid-row: 2;
}
.page-dashboard .dashboard-activity {
  grid-column: 9 / span 4;
  grid-row: 2;
}
.page-dashboard .dashboard-notifications {
  grid-column: 1 / -1;
  grid-row: 3;
}
.page-dashboard .dashboard-attention,
.page-dashboard .dashboard-next {
  min-height: 174px;
}
.page-dashboard .dashboard-status,
.page-dashboard .dashboard-deadlines,
.page-dashboard .dashboard-activity {
  min-height: 190px;
}
.page-dashboard .dashboard-empty-state {
  min-height: 92px;
}
.page-dashboard .dashboard-status .status-chart-body {
  height: calc(100% - 31px);
  align-content: center;
}
.page-dashboard .dashboard-deadlines .deadline-bars {
  align-content: center;
}
.page-dashboard .dashboard-activity .activity-list {
  align-content: start;
}
.page-dashboard .dashboard-notifications .client-notification-columns {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.page-dashboard .dashboard-notifications .notification-evidence-list {
  min-height: 0;
}

@media (max-width: 1120px) {
  .page-dashboard .dashboard-status { grid-column: 1 / span 6; grid-row: 2; }
  .page-dashboard .dashboard-deadlines { grid-column: 7 / span 6; grid-row: 2; }
  .page-dashboard .dashboard-activity { grid-column: 1 / -1; grid-row: 3; min-height: 0; }
  .page-dashboard .dashboard-notifications { grid-column: 1 / -1; grid-row: 4; }
}
@media (max-width: 720px) {
  .page-dashboard .dashboard-attention,
  .page-dashboard .dashboard-next,
  .page-dashboard .dashboard-status,
  .page-dashboard .dashboard-deadlines,
  .page-dashboard .dashboard-activity,
  .page-dashboard .dashboard-notifications {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
  }
  .page-dashboard .dashboard-notifications .client-notification-columns { grid-template-columns: 1fr; gap: 16px; }
}


/* TermenHub polish 6s: dedicated SMTP actions */
.smtp-action-buttons { display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; }
.smtp-test-row .smtp-action-buttons .button { min-width:150px; }
@media (max-width: 760px) {
  .smtp-action-buttons { width:100%; }
  .smtp-test-row .smtp-action-buttons .button { flex:1 1 150px; }
}


/* TermenHub.ro polish 6w: dedicated GA4 / StatCounter + optional Marketing */
.cookie-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.cookie-service-card { padding: 14px; border: 1px solid #dfe7f1; border-radius: 12px; background: #fbfcfe; }
.cookie-service-card > label { margin-top: 10px; }
.cookie-service-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.cookie-service-head > div { min-width: 0; }
.cookie-service-head strong { display: block; color: var(--navy); font-size: 14px; font-weight: 700; }
.cookie-service-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.compact-toggle { width: auto; min-width: 92px; margin: 0; }
.compact-grid { gap: 10px; margin-top: 10px; }
.cookie-marketing-card { margin-top: 12px; }
.cookie-marketing-card textarea { min-height: 108px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.cookie-public-meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e7edf5; }
@media (max-width: 860px) { .cookie-service-grid { grid-template-columns: 1fr; } }
