:root{
  --bg:#dde5ec;
  --panel:#eef3f7;
  --panel-muted:#e5ebf1;
  --line:rgba(32, 61, 90, 0.18);
  --text:#152433;
  --text-soft:#56697a;
  --brand:#0a5b86;
  --brand-strong:#0d4667;
  --brand-soft:rgba(10, 91, 134, 0.10);
  --success:#2f7f4a;
  --success-soft:rgba(47, 127, 74, 0.10);
  --warning:#a87817;
  --warning-soft:rgba(168, 120, 23, 0.10);
  --danger:#bf4d4d;
  --danger-soft:rgba(191, 77, 77, 0.10);
  --shadow:0 18px 42px rgba(21, 36, 51, 0.08);
  --radius-xl:28px;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  min-height:100%;
}

body{
  font-family:"Segoe UI", "Aptos", "Trebuchet MS", sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(10, 91, 134, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(40, 108, 137, 0.08), transparent 24%),
    linear-gradient(180deg, #e6edf3 0%, #dce4eb 100%);
}

button,
input,
select,
textarea{
  font:inherit;
}

button{
  border:0;
}

.hidden{
  display:none !important;
}

.app-shell{
  min-height:100vh;
  padding:20px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:0 auto 24px;
  max-width:1280px;
  padding:22px 28px;
  border:1px solid rgba(8, 37, 61, 0.08);
  border-radius:var(--radius-xl);
  background:linear-gradient(135deg, #0d2334, #113a56);
  box-shadow:var(--shadow);
  color:#f8fcff;
}

.brand-block{
  display:flex;
  align-items:center;
  gap:18px;
}

.brand-mark{
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  border-radius:18px;
  background:linear-gradient(135deg, #f6fbff, #d7edf8);
  color:#0d4667;
  font-size:1.35rem;
  font-weight:800;
  letter-spacing:0.08em;
  box-shadow:0 10px 24px rgba(3, 16, 28, 0.18);
}

.topbar-logo{
  width:120px;
  max-width:24vw;
  height:auto;
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 12px 22px rgba(3, 16, 28, 0.24));
}

.topbar h1{
  margin:4px 0 0;
  font-size:1.72rem;
  line-height:1.08;
  letter-spacing:-0.02em;
}

.topbar-subtitle{
  margin:8px 0 0;
  color:#d2e4f3;
  font-size:0.94rem;
  max-width:640px;
}

.eyebrow{
  display:inline-block;
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:#7aa9c6;
}

.topbar-note{
  padding:10px 14px;
  border:1px solid rgba(255, 255, 255, 0.16);
  border-radius:999px;
  background:rgba(255, 255, 255, 0.06);
  font-size:0.95rem;
  white-space:nowrap;
  color:#d7e8f8;
}

.main-layout{
  max-width:1280px;
  margin:0 auto;
}

.intro-card,
.workspace,
.result-card,
.output-card,
.step-section{
  border-radius:var(--radius-lg);
  background:var(--panel);
  box-shadow:var(--shadow);
}

.home-panel{
  display:grid;
  gap:24px;
}

.intro-card{
  padding:32px;
  background:
    radial-gradient(circle at right top, rgba(10, 91, 134, 0.14), transparent 30%),
    linear-gradient(180deg, #f3f7fa, #e7edf2);
  border:1px solid rgba(10, 91, 134, 0.10);
}

.intro-copy{
  max-width:900px;
}

.intro-copy h2{
  margin:8px 0 12px;
  font-size:clamp(2rem, 4vw, 3rem);
  line-height:1.03;
}

.intro-copy p{
  margin:0;
  max-width:780px;
  color:var(--text-soft);
  font-size:1.08rem;
  line-height:1.55;
}

.rule-strip{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:28px;
}

.rule-chip{
  display:grid;
  gap:8px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg, #edf3f7, #e4ebf1);
}

.rule-chip strong{
  font-size:1rem;
}

.rule-chip span{
  color:var(--text-soft);
  line-height:1.45;
}

.module-selector{
  display:grid;
  gap:18px;
}

.section-title h3{
  margin:8px 0 0;
  font-size:1.8rem;
}

.module-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.module-card{
  display:grid;
  gap:14px;
  padding:24px;
  text-align:left;
  border:1px solid var(--line);
  border-radius:22px;
  background:
    linear-gradient(180deg, #f3f7fa, #e6edf3);
  color:var(--text);
  cursor:pointer;
  transition:transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow:0 14px 30px rgba(21, 36, 51, 0.08);
}

.module-card:hover,
.module-card:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(10, 91, 134, 0.28);
  box-shadow:0 18px 36px rgba(10, 91, 134, 0.12);
  outline:none;
}

.module-card strong{
  font-size:1.24rem;
}

.module-card p{
  margin:0;
  color:var(--text-soft);
  line-height:1.5;
}

.module-tag{
  width:max-content;
  padding:7px 12px;
  border-radius:999px;
  background:var(--brand-soft);
  color:var(--brand-strong);
  font-size:0.82rem;
  font-weight:700;
}

.workspace{
  padding:24px;
}

.workspace-head{
  display:grid;
  grid-template-columns:auto 1fr minmax(280px, 380px);
  gap:20px;
  align-items:center;
  margin-bottom:24px;
}

.workspace-title h2{
  margin:6px 0 0;
  font-size:2rem;
}

.workspace-guidance{
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#e7edf3;
  color:var(--text-soft);
  line-height:1.45;
}

.workspace-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.6fr) minmax(320px, 0.9fr);
  gap:22px;
}

.form-stage{
  display:grid;
  gap:18px;
}

.step-track{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.step-pill{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255, 255, 255, 0.06);
  color:var(--text-soft);
  font-weight:700;
}

.step-pill.is-active{
  background:var(--brand);
  color:#f7fbff;
}

.rule-banner{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(15, 95, 143, 0.18);
  background:linear-gradient(180deg, rgba(24, 58, 87, 0.46), rgba(14, 27, 39, 0.9));
  color:#d7ecff;
  line-height:1.5;
}

.module-form{
  display:none;
  gap:18px;
}

.module-form.is-active{
  display:grid;
}

.step-section{
  padding:24px;
}

.report-identity{
  border:1px solid rgba(129, 164, 194, 0.18);
  background:
    radial-gradient(circle at top right, rgba(15, 107, 157, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(17, 31, 45, 0.98), rgba(12, 22, 32, 0.98));
}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  margin-bottom:18px;
}

.section-head h3{
  margin:6px 0 0;
  font-size:1.4rem;
}

.section-step{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(15, 107, 157, 0.18);
  color:#dceeff;
  font-size:0.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
}

.section-chip{
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#e8edf2;
  color:var(--text-soft);
  font-size:0.86rem;
  white-space:nowrap;
}

.field-grid{
  display:grid;
  gap:16px;
}

.two-columns{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.three-columns{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.four-columns{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.compact-grid{
  gap:14px;
}

.field{
  display:grid;
  gap:8px;
}

.field > span{
  font-weight:700;
  color:var(--text);
}

.field small{
  color:var(--text-soft);
  line-height:1.45;
}

.field input,
.field select,
.field textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  background:#eef2f6;
  color:var(--text);
  transition:border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:rgba(15, 95, 143, 0.56);
  box-shadow:0 0 0 4px rgba(15, 95, 143, 0.12);
  outline:none;
  background:#f6f9fb;
}

.field textarea{
  resize:vertical;
  min-height:112px;
}

.field-full{
  grid-column:1 / -1;
}

.inline-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}

.helper-box{
  margin-bottom:18px;
  padding:16px 18px;
  border:1px solid rgba(74, 134, 184, 0.2);
  border-radius:16px;
  background:linear-gradient(180deg, #eaf1f6, #e2eaf1);
}

.helper-box strong{
  display:block;
  margin-bottom:8px;
  color:var(--brand-strong);
}

.helper-box p{
  margin:0;
  color:var(--text-soft);
  line-height:1.5;
}

.choice-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-bottom:18px;
}

.choice-card{
  padding:15px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#eaf0f4;
  color:var(--text);
  font-weight:700;
  text-align:left;
  cursor:pointer;
  transition:transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.choice-card:hover,
.choice-card:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(89, 162, 216, 0.42);
  outline:none;
}

.choice-card.is-active{
  border-color:rgba(101, 186, 255, 0.55);
  background:rgba(23, 123, 192, 0.18);
  box-shadow:0 0 0 1px rgba(101, 186, 255, 0.18) inset;
}

.field input[readonly]{
  color:#8fc9ff;
  font-weight:700;
}

.checkbox-card{
  align-content:center;
  grid-template-columns:auto 1fr;
  gap:12px;
  min-height:52px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  background:#edf2f6;
}

.checkbox-card input{
  width:18px;
  height:18px;
  margin-top:2px;
}

.checkbox-card span{
  font-weight:600;
  color:var(--text);
}

.field-group{
  display:grid;
  gap:12px;
  margin-top:18px;
}

.group-title{
  font-weight:800;
  color:var(--text);
  letter-spacing:0.01em;
}

.toggle-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.toggle-chip{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:flex-start;
  padding:14px 15px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#edf2f6;
  cursor:pointer;
  transition:border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.toggle-chip:hover,
.toggle-chip:focus-within{
  transform:translateY(-1px);
  border-color:rgba(96, 173, 232, 0.42);
  background:rgba(23, 123, 192, 0.08);
}

.toggle-chip input{
  width:18px;
  height:18px;
  margin-top:2px;
}

.toggle-chip span{
  color:var(--text);
  line-height:1.45;
  font-weight:600;
}

.hidden-block{
  margin-top:18px;
}

.digit-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.digit-card{
  display:grid;
  gap:10px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#edf2f6;
}

.digit-card > span{
  font-weight:700;
  color:var(--text);
}

.digit-card input{
  width:18px;
  height:18px;
}

.digit-card select{
  width:100%;
  padding:12px 13px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f4f7fa;
  color:var(--text);
}

.form-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.top-gap{
  margin-top:14px;
}

.primary-button,
.secondary-button,
.ghost-button{
  padding:14px 18px;
  border-radius:14px;
  font-weight:800;
  cursor:pointer;
  transition:transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button{
  background:linear-gradient(135deg, var(--brand), #2d88bf);
  color:#f8fdff;
  box-shadow:0 14px 26px rgba(15, 95, 143, 0.22);
}

.secondary-button{
  background:rgba(23, 123, 192, 0.14);
  color:#d8eeff;
}

.ghost-button{
  border:1px solid var(--line);
  background:rgba(255, 255, 255, 0.02);
  color:var(--text);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover{
  transform:translateY(-1px);
}

.result-stage{
  display:grid;
  align-content:start;
  gap:16px;
  position:sticky;
  top:20px;
}

.result-card,
.output-card{
  padding:22px;
}

.result-card{
  border:1px solid transparent;
}

.result-card h3{
  margin:8px 0 10px;
  font-size:1.5rem;
}

.result-card p,
.output-card p{
  margin:0;
  line-height:1.6;
  color:var(--text-soft);
  white-space:pre-line;
}

.result-kicker{
  display:inline-block;
  font-size:0.82rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.1em;
}

.result-card.neutral{
  background:linear-gradient(180deg, rgba(19, 33, 47, 0.98), rgba(12, 22, 32, 0.98));
  border-color:rgba(133, 163, 192, 0.22);
  box-shadow:inset 4px 0 0 rgba(133, 163, 192, 0.32);
}

.result-card.success{
  background:linear-gradient(180deg, rgba(18, 29, 24, 0.98), rgba(12, 22, 19, 0.98));
  border-color:rgba(88, 152, 103, 0.28);
  box-shadow:inset 4px 0 0 rgba(120, 194, 138, 0.5);
}

.result-card.warning{
  background:linear-gradient(180deg, rgba(35, 28, 17, 0.98), rgba(25, 20, 12, 0.98));
  border-color:rgba(161, 119, 47, 0.28);
  box-shadow:inset 4px 0 0 rgba(217, 173, 89, 0.48);
}

.result-card.danger{
  background:linear-gradient(180deg, rgba(35, 18, 18, 0.98), rgba(24, 12, 12, 0.98));
  border-color:rgba(153, 66, 66, 0.28);
  box-shadow:inset 4px 0 0 rgba(217, 123, 123, 0.48);
}

.output-card{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(17, 31, 45, 0.98), rgba(12, 22, 32, 0.98));
}

.output-card.warning{
  border-color:rgba(161, 119, 47, 0.22);
  box-shadow:inset 4px 0 0 rgba(217, 173, 89, 0.34);
}

.output-card h4{
  margin:0 0 10px;
  font-size:1.08rem;
}

.output-card.warning{
  background:linear-gradient(180deg, rgba(255, 244, 215, 0.86), #fffefb);
}

.fact-list{
  list-style:none;
  padding:0;
  margin:16px 0 0;
  display:grid;
  gap:10px;
}

.fact-list li{
  padding:11px 12px;
  border-radius:12px;
  background:#e5ebf0;
  border:1px solid rgba(163, 188, 214, 0.12);
  color:var(--text);
}

.camera-intro{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
  margin-bottom:18px;
}

.camera-guidance-card{
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel-muted);
}

.camera-guidance-card h4{
  margin:0 0 10px;
}

.guidance-list{
  padding-left:18px;
  margin:0;
  display:grid;
  gap:8px;
  color:var(--text-soft);
  line-height:1.45;
}

.camera-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(300px, 0.9fr);
  gap:18px;
}

.camera-stage{
  position:relative;
  min-height:360px;
  border-radius:20px;
  overflow:hidden;
  background:
    radial-gradient(circle at top right, rgba(30, 103, 145, 0.22), transparent 28%),
    linear-gradient(180deg, #102231, #163448);
}

.camera-stage video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.camera-overlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  pointer-events:none;
  padding:18px;
  background:linear-gradient(180deg, rgba(5, 18, 31, 0.22), rgba(5, 18, 31, 0.48));
}

.camera-overlay.is-ready{
  background:linear-gradient(180deg, rgba(12, 79, 50, 0.16), rgba(5, 18, 31, 0.42));
}

.camera-overlay.is-warning{
  background:linear-gradient(180deg, rgba(154, 106, 8, 0.18), rgba(5, 18, 31, 0.42));
}

.camera-overlay.is-danger{
  background:linear-gradient(180deg, rgba(170, 45, 45, 0.18), rgba(5, 18, 31, 0.45));
}

.overlay-frame{
  width:min(74%, 430px);
  height:min(76%, 360px);
  border:3px solid rgba(255, 255, 255, 0.82);
  border-radius:28px;
  box-shadow:0 0 0 999px rgba(0, 0, 0, 0.16);
}

.overlay-copy{
  position:absolute;
  left:22px;
  right:22px;
  bottom:20px;
  display:grid;
  gap:6px;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(8, 24, 40, 0.78);
  color:#eff8fe;
}

.overlay-copy span{
  color:#d5ebf7;
  line-height:1.4;
}

.camera-sidebar{
  display:grid;
  gap:14px;
  align-content:start;
}

.camera-status-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.camera-pill{
  padding:10px 12px;
  border-radius:999px;
  font-size:0.88rem;
  font-weight:800;
}

.camera-pill.neutral{
  background:rgba(255, 255, 255, 0.08);
  color:#d3e4f2;
}

.camera-pill.success{
  background:var(--success-soft);
  color:var(--success);
}

.camera-pill.warning{
  background:var(--warning-soft);
  color:var(--warning);
}

.camera-pill.danger{
  background:var(--danger-soft);
  color:var(--danger);
}

.button-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.camera-summary{
  padding:16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#0b1620;
  color:var(--text-soft);
  line-height:1.5;
}

.auth-shell{
  min-height:100vh;
  padding:28px;
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(360px, 460px);
  gap:28px;
  align-items:stretch;
}

.auth-hero,
.auth-card{
  border-radius:var(--radius-xl);
  background:var(--panel);
  box-shadow:var(--shadow);
}

.auth-hero{
  padding:42px;
  display:grid;
  align-content:center;
  gap:24px;
  background:
    radial-gradient(circle at top right, rgba(10, 91, 134, 0.18), transparent 28%),
    linear-gradient(180deg, #edf3f7, #dde6ee);
  border:1px solid rgba(10, 91, 134, 0.08);
}

.auth-brand{
  display:grid;
  grid-template-columns:104px minmax(0, 1fr);
  gap:20px;
  align-items:center;
}

.auth-logo{
  width:104px;
  max-width:100%;
  height:auto;
  display:block;
  filter:drop-shadow(0 16px 28px rgba(10, 91, 134, 0.14));
}

.auth-hero h2{
  margin:4px 0 0;
  font-size:clamp(2rem, 3.2vw, 2.85rem);
  line-height:1.08;
}

.auth-hero p{
  margin:0;
  max-width:680px;
  color:var(--text-soft);
  line-height:1.6;
  font-size:1.08rem;
}

.auth-feature-list{
  display:grid;
  gap:14px;
}

.auth-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.link-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.auth-feature-item{
  display:grid;
  gap:6px;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(237,243,247,0.92);
}

.auth-feature-item span{
  color:var(--text-soft);
  line-height:1.5;
}

.auth-card{
  padding:32px;
  display:grid;
  align-content:center;
  gap:18px;
}

.pricing-preview{
  display:grid;
  gap:18px;
  padding:24px 26px;
  border:1px solid rgba(10, 91, 134, 0.14);
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(10, 91, 134, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(248, 251, 253, 0.96), rgba(233, 240, 246, 0.96));
}

.pricing-preview-head{
  display:grid;
  gap:8px;
}

.pricing-preview-head h3{
  margin:0;
  font-size:1.45rem;
  line-height:1.18;
}

.pricing-preview-head p{
  max-width:none;
  font-size:0.98rem;
}

.commercial-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.commercial-card{
  display:grid;
  gap:8px;
  padding:18px;
  border:1px solid rgba(32, 61, 90, 0.12);
  border-radius:18px;
  background:rgba(244, 248, 251, 0.96);
}

.commercial-card strong{
  font-size:0.98rem;
}

.commercial-card span{
  color:var(--text-soft);
  line-height:1.5;
}

.commercial-link{
  color:var(--brand-strong);
  font-weight:700;
  text-decoration:none;
}

.commercial-link:hover{
  text-decoration:underline;
}

.auth-card-head h3{
  margin:10px 0 8px;
  font-size:1.9rem;
}

.auth-card-head p{
  margin:0;
  color:var(--text-soft);
  line-height:1.55;
}

.auth-access-grid{
  display:grid;
  gap:12px;
}

.dashboard-strip{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
  margin-bottom:20px;
}

.dashboard-card{
  display:grid;
  gap:8px;
  padding:18px 20px;
  border:1px solid rgba(32, 61, 90, 0.12);
  border-radius:18px;
  background:#edf3f7;
  box-shadow:var(--shadow);
}

.dashboard-card span{
  color:var(--text-soft);
  font-size:0.92rem;
  font-weight:700;
}

.dashboard-card strong{
  font-size:2rem;
  color:var(--text);
  line-height:1;
}

.dashboard-card.warning{
  background:linear-gradient(180deg, #fff4dd, #f6e8c6);
}

.access-choice-card{
  display:grid;
  gap:6px;
  padding:16px 18px;
  text-align:left;
  border:1px solid var(--line);
  border-radius:18px;
  background:#edf3f7;
  color:var(--text);
  cursor:pointer;
  transition:border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.access-choice-card strong{
  font-size:1rem;
}

.access-choice-card span{
  color:var(--text-soft);
  line-height:1.45;
}

.access-choice-card:hover,
.access-choice-card:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(10, 91, 134, 0.28);
  box-shadow:0 12px 24px rgba(10, 91, 134, 0.08);
  outline:none;
}

.access-choice-card.is-active{
  border-color:rgba(10, 91, 134, 0.38);
  background:linear-gradient(180deg, rgba(10, 91, 134, 0.10), rgba(10, 91, 134, 0.05));
  box-shadow:0 0 0 1px rgba(10, 91, 134, 0.10) inset;
}

.auth-form{
  display:grid;
  gap:16px;
}

.status-note{
  min-height:24px;
  margin:0;
  color:var(--brand-strong);
  font-weight:600;
}

.app-shell{
  max-width:1360px;
  margin:0 auto;
}

.topbar-actions{
  display:grid;
  justify-items:end;
  gap:12px;
}

.session-panel{
  display:flex;
  align-items:center;
  gap:12px;
}

.session-user{
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.14);
  color:#eef7ff;
  font-size:0.92rem;
  font-weight:700;
}

.session-button{
  color:#f3f9ff;
  border-color:rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.06);
}

.session-link{
  color:#f3f9ff;
  border-color:rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.06);
  text-decoration:none;
}

.auth-reset-row{
  justify-content:flex-start;
  padding-top:4px;
}

.workspace-guidance,
.step-pill{
  background:#e4eaf0;
}

.rule-banner{
  border:1px solid rgba(10, 91, 134, 0.16);
  background:linear-gradient(180deg, rgba(10, 91, 134, 0.10), rgba(10, 91, 134, 0.06));
  color:var(--brand-strong);
}

.report-identity{
  border:1px solid rgba(129, 164, 194, 0.18);
  background:
    radial-gradient(circle at top right, rgba(15, 107, 157, 0.08), transparent 26%),
    linear-gradient(180deg, #edf2f6, #e6ecf1);
}

.section-chip{
  background:#e3e9ef;
}

.field input,
.field select,
.field textarea,
.checkbox-card,
.digit-card,
.digit-card select{
  background:#edf2f6;
  color:var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  background:#f6f9fb;
}

.field input[readonly]{
  color:var(--brand-strong);
  background:#dfe8ef;
}

.helper-box{
  border:1px solid rgba(10, 91, 134, 0.12);
  background:linear-gradient(180deg, #e7eef4, #dfe8ef);
}

.helper-box strong{
  color:var(--brand-strong);
}

.helper-box p{
  color:var(--text-soft);
}

.helper-box-light{
  margin-bottom:0;
}

.choice-card,
.toggle-chip,
.checkbox-card,
.digit-card{
  background:#eaf0f4;
}

.choice-card.is-active{
  border-color:rgba(10, 91, 134, 0.34);
  background:rgba(10, 91, 134, 0.08);
  box-shadow:0 0 0 1px rgba(10, 91, 134, 0.08) inset;
}

.group-title{
  color:var(--text);
}

.secondary-button{
  color:var(--brand-strong);
}

.ghost-button{
  background:#eaf0f4;
}

.topbar .ghost-button,
.topbar .session-button,
.topbar .session-link{
  color:#f8fcff;
  border:1px solid rgba(255,255,255,0.32);
  background:rgba(6, 20, 31, 0.30);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.06);
}

.topbar .ghost-button:hover,
.topbar .session-button:hover,
.topbar .session-link:hover{
  background:rgba(255,255,255,0.16);
  border-color:rgba(255,255,255,0.44);
}

.result-card.neutral,
.result-card.success,
.result-card.warning,
.result-card.danger,
.output-card{
  background:#eef3f7;
}

.result-card.neutral{
  border-color:rgba(133, 163, 192, 0.22);
  box-shadow:inset 4px 0 0 rgba(133, 163, 192, 0.4);
}

.result-card.success{
  border-color:rgba(88, 152, 103, 0.24);
  box-shadow:inset 4px 0 0 rgba(47, 127, 74, 0.52);
}

.result-card.warning{
  border-color:rgba(161, 119, 47, 0.24);
  box-shadow:inset 4px 0 0 rgba(168, 120, 23, 0.52);
}

.result-card.danger{
  border-color:rgba(153, 66, 66, 0.24);
  box-shadow:inset 4px 0 0 rgba(191, 77, 77, 0.52);
}

.attachment-list{
  display:grid;
  gap:12px;
}

.attachment-item{
  display:grid;
  gap:6px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#eaf0f4;
}

.attachment-item strong{
  font-size:0.98rem;
}

.attachment-item span{
  color:var(--text-soft);
  line-height:1.45;
}

.attachment-empty{
  padding:14px 16px;
  border:1px dashed rgba(10, 91, 134, 0.22);
  border-radius:16px;
  background:#e8eef3;
  color:var(--text-soft);
}

.plan-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:12px;
}

.plan-grid.public{
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
}

.plan-grid.compact{
  margin-bottom:4px;
}

.plan-card{
  display:grid;
  gap:10px;
  padding:18px;
  border:1px solid rgba(32, 61, 90, 0.14);
  border-radius:18px;
  background:
    radial-gradient(circle at top right, rgba(10, 91, 134, 0.08), transparent 34%),
    linear-gradient(180deg, #f8fbfd, #edf3f7);
}

.plan-card.is-featured{
  border-color:rgba(10, 91, 134, 0.34);
  box-shadow:0 14px 30px rgba(10, 91, 134, 0.10);
}

.plan-card.is-selected{
  border-color:rgba(10, 91, 134, 0.42);
  box-shadow:0 16px 34px rgba(10, 91, 134, 0.12);
  background:
    radial-gradient(circle at top right, rgba(10, 91, 134, 0.12), transparent 34%),
    linear-gradient(180deg, #f9fcff, #e9f2f8);
}

.plan-card.is-inactive-plan{
  opacity:0.8;
  border-style:dashed;
}

[data-register-plan-card]{
  cursor:pointer;
  transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-register-plan-card]:hover{
  transform:translateY(-2px);
  border-color:rgba(10, 91, 134, 0.30);
}

.plan-card-headline{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.plan-card-badge{
  justify-self:start;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(10, 91, 134, 0.10);
  color:var(--brand-strong);
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.plan-card-badge.is-muted{
  background:rgba(18, 58, 86, 0.08);
  color:var(--text-soft);
}

.plan-card strong{
  font-size:1rem;
}

.plan-card-price{
  font-size:1.28rem;
  font-weight:800;
  color:var(--brand-strong);
}

.plan-card span{
  color:var(--text-soft);
  line-height:1.45;
}

.plan-card-description{
  margin:0;
  color:var(--text-soft);
  line-height:1.52;
  font-size:0.95rem;
}

.plan-card-meta{
  display:grid;
  gap:6px;
}

.plan-card-highlight{
  color:var(--brand-strong);
  font-weight:800;
}

.admin-inline-panel{
  display:grid;
  gap:22px;
  margin-bottom:24px;
  border:1px solid rgba(10, 91, 134, 0.14);
  background:
    radial-gradient(circle at top right, rgba(10, 91, 134, 0.10), transparent 24%),
    linear-gradient(180deg, #eff4f8, #e6edf3);
}

.admin-inline-head{
  align-items:flex-start;
}

.admin-inline-copy{
  margin:8px 0 0;
  max-width:780px;
  color:var(--text-soft);
  line-height:1.5;
}

.admin-inline-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.admin-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.admin-nav-button{
  padding:12px 18px;
  border:1px solid rgba(32, 61, 90, 0.16);
  border-radius:999px;
  background:#f4f8fb;
  color:var(--text-soft);
  font-weight:800;
  cursor:pointer;
  transition:background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-nav-button:hover{
  transform:translateY(-1px);
}

.admin-nav-button.is-active{
  background:linear-gradient(135deg, var(--brand), #2d88bf);
  border-color:transparent;
  color:#f8fdff;
}

.admin-view{
  display:grid;
  gap:18px;
}

.admin-dashboard-grid{
  margin:0;
}

.admin-summary-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.admin-summary-card{
  display:grid;
  gap:10px;
  padding:20px;
  border:1px solid rgba(32, 61, 90, 0.12);
  border-radius:18px;
  background:linear-gradient(180deg, #f8fbfd, #eef4f8);
}

.admin-summary-card h4{
  margin:0;
  font-size:1.02rem;
}

.admin-summary-card p{
  margin:0;
  color:var(--text-soft);
  line-height:1.5;
}

.admin-inline-grid{
  display:grid;
  grid-template-columns:minmax(360px, 420px) minmax(0, 1fr);
  gap:18px;
}

.admin-inline-card{
  display:grid;
  gap:16px;
  padding:22px;
  border:1px solid rgba(32, 61, 90, 0.12);
  border-radius:18px;
  background:linear-gradient(180deg, #f4f8fb, #edf3f7);
}

.admin-users-grid{
  display:grid;
  gap:16px;
}

.admin-users-toolbar{
  display:grid;
  grid-template-columns:minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap:14px;
  margin-bottom:6px;
}

.admin-user-row{
  display:grid;
  gap:0;
  border:1px solid rgba(32, 61, 90, 0.12);
  border-radius:18px;
  background:linear-gradient(180deg, #f8fbfd, #f1f6fa);
  overflow:hidden;
}

.admin-user-row.is-open{
  box-shadow:0 14px 28px rgba(21, 36, 51, 0.08);
}

.admin-user-toggle{
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(0, 1.4fr) auto;
  gap:14px;
  width:100%;
  padding:18px;
  text-align:left;
  border:0;
  background:transparent;
  cursor:pointer;
}

.admin-user-toggle:hover{
  background:rgba(13, 72, 112, 0.03);
}

.admin-user-main{
  display:grid;
  gap:6px;
}

.admin-user-main strong{
  font-size:1.02rem;
}

.admin-user-main span{
  color:var(--text-soft);
  line-height:1.4;
}

.admin-user-resume{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-content:flex-start;
}

.admin-user-state{
  display:grid;
  gap:10px;
  justify-items:end;
  align-content:flex-start;
}

.admin-user-chip{
  padding:8px 12px;
  border-radius:999px;
  background:#e8eff5;
  color:var(--text);
  font-size:0.86rem;
  font-weight:700;
}

.admin-user-detail{
  display:grid;
  gap:14px;
  padding:0 18px 18px;
  border-top:1px solid rgba(32, 61, 90, 0.10);
}

.admin-user-detail[hidden]{
  display:none;
}

.admin-user-section{
  display:grid;
  gap:12px;
}

.admin-user-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.admin-user-section-head h4{
  margin:0;
  font-size:1rem;
}

.admin-user-section-head p{
  margin:4px 0 0;
  color:var(--text-soft);
  line-height:1.45;
}

.admin-user-arrow{
  min-width:118px;
  justify-content:center;
  text-align:center;
}

.user-card{
  display:grid;
  gap:14px;
  padding:18px;
  border:1px solid rgba(32, 61, 90, 0.14);
  border-radius:18px;
  background:linear-gradient(180deg, #f7fbfd, #f1f6fa);
}

.user-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.user-badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.user-card-head h4{
  margin:0 0 6px;
  font-size:1.06rem;
}

.user-card-head p{
  margin:0;
  color:var(--text-soft);
  line-height:1.45;
}

.user-badge{
  padding:8px 12px;
  border-radius:999px;
  font-size:0.82rem;
  font-weight:800;
  white-space:nowrap;
}

.user-badge.active{
  background:rgba(47, 127, 74, 0.12);
  color:var(--success);
}

.user-badge.blocked{
  background:rgba(191, 77, 77, 0.12);
  color:var(--danger);
}

.user-badge.inadimplente{
  background:rgba(168, 120, 23, 0.16);
  color:var(--warning);
}

.user-badge.pending,
.user-badge.expired{
  background:rgba(168, 120, 23, 0.14);
  color:var(--warning);
}

.user-badge.approved{
  background:rgba(47, 127, 74, 0.12);
  color:var(--success);
}

.user-badge.rejected,
.user-badge.cancelled{
  background:rgba(191, 77, 77, 0.12);
  color:var(--danger);
}

.user-meta{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.meta-box{
  padding:12px 14px;
  border:1px solid rgba(32, 61, 90, 0.12);
  border-radius:14px;
  background:#f8fbfd;
}

.meta-box strong{
  display:block;
  margin-bottom:4px;
  font-size:0.8rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--text-soft);
}

.meta-box span{
  color:var(--text);
  font-weight:700;
}

.user-edit-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  padding-top:12px;
  border-top:1px solid rgba(32, 61, 90, 0.10);
}

.user-card .status-note{
  min-height:0;
}

.admin-user-quick-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}

.admin-user-quick-actions .ghost-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.admin-user-danger-actions{
  align-items:center;
  justify-content:space-between;
}

.public-plan-grid{
  margin-top:16px;
}

.plan-config-card{
  display:grid;
  gap:16px;
  padding:20px;
  border-radius:22px;
  border:1px solid rgba(18, 58, 86, 0.10);
  background:
    radial-gradient(circle at top right, rgba(10, 91, 134, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 251, 0.98));
}

.plan-config-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
}

.plan-config-head h4{
  margin:6px 0 0;
  font-size:1.05rem;
}

.plan-config-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}

.plan-config-badge{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(10, 91, 134, 0.09);
  color:var(--brand-strong);
  font-size:0.76rem;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.plan-config-badge.is-active{
  background:rgba(47, 127, 74, 0.12);
  color:var(--success);
}

.plan-config-badge.is-inactive{
  background:rgba(168, 120, 23, 0.12);
  color:var(--warning);
}

.plan-config-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.plan-config-grid .field-full{
  grid-column:1 / -1;
}

.plan-config-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:8px;
  border-top:1px solid rgba(18, 58, 86, 0.10);
}

.plan-config-note{
  margin:0;
  color:var(--text-soft);
  line-height:1.5;
  font-weight:700;
}

.plan-config-card .status-note{
  min-height:0;
}

.admin-user-section-danger{
  padding:16px 18px;
  border:1px solid rgba(191, 77, 77, 0.18);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(191, 77, 77, 0.08), rgba(191, 77, 77, 0.03));
}

.danger-copy{
  margin:0;
  max-width:620px;
  color:var(--danger);
  line-height:1.5;
  font-weight:700;
}

.danger-button{
  border-color:rgba(191, 77, 77, 0.24);
  background:rgba(191, 77, 77, 0.08);
  color:var(--danger);
}

.danger-button:hover{
  background:rgba(191, 77, 77, 0.16);
  box-shadow:0 12px 24px rgba(191, 77, 77, 0.12);
}

.ghost-button[disabled],
.danger-button[disabled]{
  opacity:0.55;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.user-edit-grid .field-full{
  grid-column:1 / -1;
}

@media (max-width:1240px){
  .auth-shell,
  .rule-strip,
  .module-grid,
  .dashboard-strip,
  .admin-summary-grid,
  .plan-grid,
  .commercial-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .workspace-grid,
  .camera-layout,
  .auth-shell,
  .admin-inline-grid,
  .admin-users-toolbar{
    grid-template-columns:1fr;
  }

  .workspace-head{
    grid-template-columns:1fr;
  }

  .result-stage{
    position:static;
  }
}

@media (max-width:900px){
  .auth-shell,
  .app-shell{
    padding:16px;
  }

  .topbar{
    padding:20px;
  }

  .topbar,
  .section-head{
    grid-template-columns:1fr;
    flex-direction:column;
    align-items:flex-start;
  }

  .brand-block{
    align-items:flex-start;
  }

  .topbar-logo{
    width:96px;
    max-width:100%;
  }

  .rule-strip,
  .module-grid,
  .choice-grid,
  .toggle-grid,
  .digit-grid,
  .user-meta,
  .user-edit-grid,
  .plan-config-grid,
  .plan-grid,
  .commercial-grid,
  .admin-summary-grid,
  .two-columns,
  .three-columns,
  .four-columns,
  .camera-intro{
    grid-template-columns:1fr;
  }

  .plan-config-head,
  .plan-config-actions{
    flex-direction:column;
    align-items:flex-start;
  }

  .workspace{
    padding:16px;
  }

  .step-section,
  .result-card,
  .output-card,
  .intro-card{
    padding:18px;
  }

  .topbar-note{
    white-space:normal;
  }

  .topbar-actions{
    justify-items:start;
  }

  .auth-card,
  .auth-hero{
    padding:22px;
  }

  .auth-brand,
  .dashboard-strip{
    grid-template-columns:1fr;
  }

  .auth-logo{
    width:116px;
  }

  .session-panel{
    flex-wrap:wrap;
  }

  .admin-inline-actions,
  .user-card-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .admin-user-state{
    justify-items:start;
  }

  .admin-user-section-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .admin-user-toggle{
    grid-template-columns:1fr;
  }
}

.auth-feature-list-legacy,
.auth-hero > .auth-hero-actions,
#pricingPreview{
  display:none !important;
}

.auth-hero{
  align-content:start;
  gap:30px;
  overflow:hidden;
}

.auth-brand{
  grid-template-columns:164px minmax(0, 1fr);
  gap:26px;
  align-items:center;
  padding-bottom:6px;
}

.auth-logo{
  width:164px;
  max-width:100%;
  filter:drop-shadow(0 18px 32px rgba(8, 56, 86, 0.18));
}

.sales-landing{
  display:grid;
  gap:20px;
}

.sales-hero{
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(260px, 320px);
  gap:18px;
  align-items:stretch;
}

.sales-hero-copy,
.sales-hero-panel,
.legal-highlight,
.support-explainer,
.modern-plans,
.feature-comparison,
.responsibility-panel{
  border:1px solid rgba(14, 71, 104, 0.12);
  border-radius:24px;
  background:rgba(248, 251, 253, 0.96);
}

.sales-hero-copy{
  display:grid;
  gap:12px;
  padding:28px;
  background:
    radial-gradient(circle at top right, rgba(15, 120, 84, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(249, 252, 254, 0.98), rgba(232, 240, 247, 0.98));
}

.sales-brand-chip{
  justify-self:start;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(9, 91, 134, 0.10);
  color:var(--brand-strong);
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.sales-hero-copy h3{
  margin:0;
  font-size:clamp(1.8rem, 2.8vw, 2.7rem);
  line-height:1.08;
  letter-spacing:-0.03em;
}

.sales-hero-copy p{
  margin:0;
  max-width:none;
  font-size:1.02rem;
}

.sales-primary-button{
  justify-self:start;
  min-width:220px;
}

.sales-hero-panel{
  display:grid;
  gap:12px;
  align-content:center;
  padding:28px;
  background:
    linear-gradient(180deg, rgba(9, 34, 53, 0.94), rgba(13, 63, 95, 0.94));
  color:#eff8ff;
}

.sales-hero-panel strong{
  font-size:1.16rem;
}

.sales-hero-panel span{
  color:#d7e9f7;
  line-height:1.6;
}

.legal-highlight{
  display:grid;
  grid-template-columns:64px minmax(0, 1fr);
  gap:16px;
  padding:24px;
  border-color:rgba(180, 122, 28, 0.24);
  background:linear-gradient(180deg, #fff7db, #fff0c0);
}

.legal-highlight-icon{
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  border-radius:18px;
  background:rgba(180, 122, 28, 0.16);
  position:relative;
  font-size:0;
  color:transparent;
}

.legal-highlight-icon::before{
  content:"!";
  font-size:1.9rem;
  font-weight:900;
  color:#8b5f08;
}

.legal-highlight-body{
  display:grid;
  gap:10px;
}

.legal-highlight-body strong{
  font-size:1.18rem;
  letter-spacing:0.04em;
}

.legal-highlight-body p{
  margin:0;
  max-width:none;
}

.legal-checklist,
.responsibility-list,
.offer-list{
  display:grid;
  gap:8px;
  margin:0;
  padding-left:20px;
}

.support-explainer,
.modern-plans,
.feature-comparison,
.responsibility-panel{
  display:grid;
  gap:16px;
  padding:24px 26px;
}

.pricing-cards{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.offer-card{
  display:grid;
  gap:14px;
  padding:22px;
  border:1px solid rgba(15, 71, 104, 0.14);
  border-radius:22px;
  background:
    radial-gradient(circle at top right, rgba(9, 91, 134, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfdff, #eef4f8);
  box-shadow:0 16px 34px rgba(21, 36, 51, 0.08);
}

.offer-card.featured{
  border-color:rgba(15, 120, 84, 0.28);
  box-shadow:0 20px 42px rgba(15, 120, 84, 0.10);
}

.offer-card-head{
  display:grid;
  gap:8px;
}

.offer-card-head h4{
  margin:0;
  font-size:1.4rem;
}

.offer-subtitle{
  margin:0;
  color:var(--success);
  font-weight:700;
}

.offer-price{
  margin:0;
  color:var(--brand-strong);
  font-size:1rem;
  font-weight:800;
}

.offer-price-free{
  color:var(--success);
}

.offer-chip{
  justify-self:start;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(9, 91, 134, 0.10);
  color:var(--brand-strong);
  font-size:0.78rem;
  font-weight:800;
  text-transform:uppercase;
}

.offer-chip.success{
  background:rgba(47, 127, 74, 0.12);
  color:var(--success);
}

.offer-chip.neutral{
  background:rgba(86, 105, 122, 0.12);
  color:var(--text-soft);
}

.offer-card p{
  margin:0;
  max-width:none;
}

.offer-warning{
  padding:12px 14px;
  border-radius:16px;
  font-weight:600;
  line-height:1.5;
}

.offer-warning.success{
  background:rgba(47, 127, 74, 0.10);
  border:1px solid rgba(47, 127, 74, 0.18);
  color:var(--success);
}

.offer-warning.danger{
  background:rgba(191, 77, 77, 0.10);
  border:1px solid rgba(191, 77, 77, 0.18);
  color:var(--danger);
}

.offer-warning.strong{
  font-size:1rem;
}

.plan-action-button{
  width:100%;
}

.comparison-table-wrap{
  overflow:auto;
  border:1px solid rgba(15, 71, 104, 0.10);
  border-radius:18px;
  background:#f9fbfd;
}

.comparison-table{
  width:100%;
  border-collapse:collapse;
  min-width:520px;
}

.comparison-table th,
.comparison-table td{
  padding:14px 16px;
  border-bottom:1px solid rgba(15, 71, 104, 0.10);
  text-align:left;
}

.comparison-table thead th{
  background:rgba(9, 91, 134, 0.08);
  color:var(--brand-strong);
  font-size:0.92rem;
}

.comparison-table tbody tr:last-child td{
  border-bottom:0;
}

.journey-note{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(9, 91, 134, 0.12);
  background:rgba(9, 91, 134, 0.07);
  color:var(--brand-strong);
  line-height:1.5;
  font-weight:600;
}

#doctorCredentialFields{
  margin-top:-4px;
}

#doctorResponsibilityCard,
#registerLegalTermsCard{
  align-items:flex-start;
}

#doctorResponsibilityCard input,
#registerLegalTermsCard input{
  margin-top:4px;
}

body.demo-mode #appShell{
  position:relative;
}

body.demo-mode #appShell::before{
  content:"DEMONSTRAÇÃO • SEM VALIDADE JURÍDICA";
  position:fixed;
  inset:48% auto auto 50%;
  transform:translate(-50%, -50%) rotate(-24deg);
  font-size:2rem;
  font-weight:800;
  letter-spacing:0.18em;
  color:rgba(13, 70, 103, 0.12);
  pointer-events:none;
  z-index:30;
  white-space:nowrap;
}

@media (max-width:1240px){
  .sales-hero,
  .pricing-cards{
    grid-template-columns:1fr;
  }
}

@media (max-width:900px){
  .auth-brand{
    grid-template-columns:1fr;
  }

  .auth-logo{
    width:148px;
  }

  .legal-highlight{
    grid-template-columns:1fr;
  }
}

body{
  background:
    radial-gradient(circle at top left, rgba(18, 108, 157, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(42, 138, 96, 0.10), transparent 24%),
    linear-gradient(180deg, #dfeaf1 0%, #edf3f6 36%, #e7eef3 100%);
}

.auth-shell{
  max-width:1540px;
  margin:0 auto;
  padding:32px;
}

.auth-hero{
  background:
    radial-gradient(circle at top right, rgba(18, 108, 157, 0.20), transparent 26%),
    linear-gradient(180deg, rgba(250, 253, 255, 0.96), rgba(235, 242, 247, 0.98));
  border:1px solid rgba(11, 78, 116, 0.12);
}

.auth-card{
  background:linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(242, 247, 250, 0.98));
  border:1px solid rgba(14, 71, 104, 0.10);
}

.auth-brand{
  padding-bottom:18px;
  border-bottom:1px solid rgba(14, 71, 104, 0.10);
}

.auth-brand .eyebrow{
  color:#0c5a82;
  letter-spacing:0.14em;
}

.auth-logo{
  width:184px;
  max-width:100%;
}

.sales-landing{
  gap:20px;
}

.sales-landing > section,
.sales-landing > div{
  border-radius:26px;
  overflow:hidden;
}

.sales-hero{
  grid-template-columns:minmax(0, 1.45fr) minmax(300px, 0.85fr);
  min-height:290px;
}

.sales-hero-copy{
  padding:34px;
}

.sales-hero-copy h3{
  margin:0;
  max-width:14ch;
  font-size:clamp(2rem, 3vw, 3rem);
  line-height:1.04;
}

.sales-hero-copy p{
  max-width:60ch;
}

.sales-hero-panel{
  position:relative;
  min-height:100%;
}

.sales-hero-panel::after{
  content:"";
  position:absolute;
  inset:auto -42px -42px auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(115, 210, 169, 0.34), transparent 68%);
}

.legal-highlight{
  box-shadow:0 18px 34px rgba(129, 92, 21, 0.10);
}

.legal-highlight-icon{
  font-size:1.95rem;
}

.support-explainer,
.modern-plans,
.feature-comparison,
.responsibility-panel{
  border:1px solid rgba(15, 71, 104, 0.10);
  background:linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(241, 247, 250, 0.98));
}

.pricing-cards{
  align-items:stretch;
}

.offer-card{
  min-height:100%;
  grid-template-rows:auto auto 1fr auto auto;
}

.offer-card.featured{
  background:
    radial-gradient(circle at top right, rgba(22, 140, 89, 0.10), transparent 28%),
    linear-gradient(180deg, #fbfffd, #eef8f3);
}

.offer-warning{
  font-size:0.96rem;
}

.plan-action-button{
  align-self:end;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child){
  text-align:center;
  font-weight:700;
}

.comparison-table td:first-child{
  font-weight:600;
}

.auth-card-head{
  padding-bottom:4px;
  border-bottom:1px solid rgba(15, 71, 104, 0.10);
}

.auth-card .ghost-button{
  background:rgba(11, 70, 103, 0.05);
}

.journey-note{
  background:linear-gradient(180deg, rgba(13, 93, 136, 0.10), rgba(13, 93, 136, 0.06));
}

body.demo-mode #appShell::before{
  content:"DEMONSTRACAO - SEM VALIDADE JURIDICA";
}

@media (max-width:1180px){
  .auth-shell{
    padding:22px;
  }

  .sales-hero{
    grid-template-columns:1fr;
  }

  .sales-hero-copy h3{
    max-width:none;
  }
}

.renewal-banner{
  display:grid;
  gap:14px;
  padding:22px 24px;
  border-radius:24px;
  border:1px solid rgba(13, 87, 127, 0.14);
  background:
    radial-gradient(circle at top right, rgba(18, 108, 157, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(250, 253, 255, 0.98), rgba(238, 246, 250, 0.98));
  box-shadow:0 18px 34px rgba(18, 43, 65, 0.08);
}

.renewal-banner.is-attention{
  border-color:rgba(183, 131, 29, 0.24);
  background:linear-gradient(180deg, #fff9ea, #fff2cf);
}

.renewal-banner.is-urgent{
  border-color:rgba(194, 74, 74, 0.24);
  background:linear-gradient(180deg, #fff4f2, #ffe4df);
}

.renewal-banner-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}

.renewal-banner-head h3{
  margin:4px 0 0;
  font-size:1.32rem;
}

.renewal-banner-head p{
  margin:0;
  color:var(--text-soft);
  line-height:1.55;
}

.renewal-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(11, 84, 122, 0.10);
  color:var(--brand-strong);
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.06em;
  text-transform:uppercase;
}

.renewal-banner.is-attention .renewal-badge{
  background:rgba(183, 131, 29, 0.14);
  color:#8c6412;
}

.renewal-banner.is-urgent .renewal-badge{
  background:rgba(194, 74, 74, 0.14);
  color:#9f3434;
}

.renewal-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}

.renewal-item{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(14, 71, 104, 0.10);
  background:rgba(255, 255, 255, 0.76);
  display:grid;
  gap:4px;
}

.renewal-item span{
  font-size:0.72rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#6e8698;
}

.renewal-item strong{
  font-size:0.96rem;
  color:#18354a;
  line-height:1.45;
}

.renewal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.dashboard-card.renewal{
  background:linear-gradient(180deg, rgba(255, 250, 237, 0.98), rgba(255, 240, 204, 0.98));
}

.dashboard-card.renewal strong{
  color:#7b5a14;
}

.dashboard-card.contact{
  background:linear-gradient(180deg, rgba(239, 248, 255, 0.98), rgba(224, 239, 248, 0.98));
}

.dashboard-card.contact strong{
  color:#0d5b84;
}

.renewal-stage-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 10px;
  border-radius:999px;
  font-size:0.74rem;
  font-weight:800;
  letter-spacing:0.05em;
  text-transform:uppercase;
  background:rgba(13, 87, 127, 0.08);
  color:var(--brand-strong);
}

.renewal-stage-chip.attention{
  background:rgba(183, 131, 29, 0.14);
  color:#8c6412;
}

.renewal-stage-chip.urgent,
.renewal-stage-chip.expired{
  background:rgba(194, 74, 74, 0.14);
  color:#9f3434;
}

.admin-renewal-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.admin-renewal-box{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(16, 45, 67, 0.08);
  background:#f8fbfd;
  display:grid;
  gap:4px;
}

.admin-renewal-box span{
  font-size:0.72rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#698296;
}

.admin-renewal-box strong{
  font-size:0.92rem;
  color:#163247;
  line-height:1.45;
}

.admin-user-quick-actions{
  flex-wrap:wrap;
}

@media (max-width:980px){
  .renewal-grid,
  .admin-renewal-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:640px){
  .renewal-grid,
  .admin-renewal-grid{
    grid-template-columns:1fr;
  }

  .renewal-banner-head{
    flex-direction:column;
  }
}

body.auth-panel-open{
  overflow:hidden;
}

body.auth-panel-open::before{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(11, 20, 32, 0.56);
  backdrop-filter:blur(10px);
  z-index:40;
}

.auth-shell{
  display:block;
  max-width:1440px;
  padding:28px 24px 42px;
}

.auth-hero{
  position:relative;
  gap:24px;
  padding:28px;
}

.auth-brand{
  display:flex;
  justify-content:center;
  align-items:center;
  padding-bottom:8px;
  border-bottom:0;
}

.auth-brand > div{
  display:none;
}

.auth-logo{
  width:min(238px, 54vw);
  filter:drop-shadow(0 22px 34px rgba(9, 54, 82, 0.18));
}

.sales-landing{
  gap:22px;
}

.sales-hero{
  grid-template-columns:minmax(0, 1.38fr) minmax(310px, 0.82fr);
  min-height:340px;
  gap:20px;
}

.sales-hero-copy{
  align-content:center;
  gap:16px;
  padding:38px;
}

.sales-hero-copy h3{
  max-width:15ch;
  font-size:clamp(2.1rem, 3.2vw, 3.2rem);
  line-height:1.02;
}

.sales-hero-copy p{
  max-width:58ch;
  font-size:1.06rem;
  line-height:1.65;
}

.sales-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:8px;
}

.sales-hero-actions .ghost-button{
  background:rgba(10, 91, 134, 0.06);
  color:var(--brand-strong);
}

.sales-hero-panel{
  gap:16px;
  padding:30px 28px;
}

.hero-side-list{
  display:grid;
  gap:10px;
  margin:0;
  padding-left:20px;
  color:#e7f3fb;
  line-height:1.55;
}

.hero-side-footnote{
  color:#c7deef;
  line-height:1.55;
}

.hero-insight-visual{
  display:grid;
  gap:12px;
  margin-top:8px;
  padding:18px 18px 16px;
  border:1px solid rgba(255, 255, 255, 0.14);
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
  box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 32px rgba(5, 17, 28, 0.16);
}

.hero-insight-chip{
  justify-self:start;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255, 255, 255, 0.10);
  color:#f3fbff;
  font-size:0.72rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.hero-insight-title{
  font-size:1.08rem;
  color:#f7fcff;
  line-height:1.4;
}

.hero-insight-text{
  margin:0;
  color:#dcecf8;
  line-height:1.6;
}

.hero-insight-dots{
  display:flex;
  gap:8px;
}

.hero-insight-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255, 255, 255, 0.22);
  transition:transform 0.2s ease, background 0.2s ease;
}

.hero-insight-dot.is-active{
  background:#8ed0f4;
  transform:scale(1.12);
}

.auth-card{
  position:fixed;
  left:50%;
  top:18px;
  bottom:18px;
  width:min(840px, calc(100vw - 32px));
  max-height:none;
  display:grid;
  align-content:start;
  gap:18px;
  overflow:auto;
  padding:30px;
  opacity:0;
  pointer-events:none;
  transform:translateX(-50%) scale(0.97);
  transition:opacity 0.22s ease, transform 0.22s ease;
  z-index:60;
  box-shadow:0 32px 80px rgba(12, 25, 38, 0.28);
  overscroll-behavior:contain;
}

body.auth-panel-open .auth-card{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) scale(1);
}

.auth-card-head{
  position:sticky;
  top:-30px;
  z-index:3;
  display:grid;
  gap:8px;
  margin:-30px -30px 18px;
  padding:24px 30px 16px;
  background:linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(246, 250, 253, 0.96));
  border-bottom:1px solid rgba(15, 71, 104, 0.10);
  box-shadow:0 10px 18px rgba(19, 39, 57, 0.06);
}

.auth-card-head h3{
  margin:0;
}

.auth-panel-close{
  position:absolute;
  top:18px;
  right:24px;
  width:42px;
  height:42px;
  min-width:42px;
  padding:0;
  border-radius:50%;
  font-size:1.5rem;
  font-weight:700;
  line-height:1;
  display:grid;
  place-items:center;
  background:rgba(10, 91, 134, 0.08);
  color:var(--brand-strong);
}

#accessBuyerButton strong,
#accessAdminButton strong{
  font-size:1.02rem;
}

.status-note{
  min-height:22px;
}

.demo-tour{
  position:fixed;
  right:24px;
  bottom:24px;
  width:min(390px, calc(100vw - 32px));
  z-index:80;
  display:none;
}

.demo-tour.is-visible{
  display:block;
}

.demo-tour-card{
  display:grid;
  gap:16px;
  padding:22px 22px 20px;
  border:1px solid rgba(13, 87, 127, 0.16);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(250, 253, 255, 0.98), rgba(238, 246, 250, 0.98));
  box-shadow:0 26px 56px rgba(10, 33, 52, 0.22);
}

.demo-tour-kicker{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--brand-strong);
}

.demo-tour-step{
  padding:7px 10px;
  border-radius:999px;
  background:rgba(10, 91, 134, 0.10);
}

.demo-tour-card h4{
  margin:0;
  font-size:1.34rem;
}

.demo-tour-card p{
  margin:0;
  color:var(--text-soft);
  line-height:1.58;
}

.demo-tour-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.demo-highlight{
  position:relative;
  z-index:2;
  box-shadow:0 0 0 4px rgba(11, 103, 156, 0.22), 0 18px 38px rgba(11, 103, 156, 0.14);
  border-radius:22px;
  scroll-margin-top:120px;
}

.demo-locked{
  cursor:not-allowed !important;
}

body.demo-mode .module-card.demo-locked,
body.demo-mode #assessmentForm .demo-locked,
body.demo-mode #downloadPdfButton.demo-locked,
body.demo-mode #resetModule.demo-locked{
  opacity:0.64;
  filter:saturate(0.7);
}

body.demo-mode #appShell::before{
  content:"DEMONSTRACAO GUIADA - SEM VALIDADE JURIDICA";
}

@media (max-width:1180px){
  .sales-hero{
    grid-template-columns:1fr;
  }

  .sales-hero-copy h3{
    max-width:none;
  }
}

@media (max-width:900px){
  .auth-shell{
    padding:18px 16px 32px;
  }

  .auth-hero{
    padding:20px;
  }

  .auth-logo{
    width:min(190px, 58vw);
  }

  .sales-hero-copy,
  .sales-hero-panel,
  .support-explainer,
  .modern-plans,
  .feature-comparison,
  .responsibility-panel{
    padding:22px 20px;
  }

  .sales-hero-actions{
    flex-direction:column;
  }

  .sales-hero-actions > *{
    width:100%;
  }

  .auth-card{
    top:16px;
    bottom:16px;
    left:16px;
    right:16px;
    width:calc(100vw - 32px);
    max-height:none;
    transform:translateY(18px) scale(0.98);
  }

  body.auth-panel-open .auth-card{
    transform:none;
  }

  .auth-card-head{
    top:-30px;
    padding-right:64px;
  }

  .auth-panel-close{
    top:16px;
    right:16px;
  }

  .demo-tour{
    right:16px;
    left:16px;
    bottom:16px;
    width:auto;
  }
}

.auth-feature-list-legacy,
.auth-hero > .auth-hero-actions,
#legacyPricingPreview,
.responsibility-panel,
.hero-side-list,
.hero-side-footnote,
#salesLanding .sales-hero-panel > strong,
#heroCompanyButton{
  display:none !important;
}

.auth-shell{
  max-width:1480px;
  padding:24px 24px 40px;
}

.auth-hero{
  padding:24px;
}

.auth-brand{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:28px;
  padding:0 0 14px;
  border-bottom:1px solid rgba(14, 71, 104, 0.10);
}

.auth-brand > div{
  display:flex;
}

.auth-brand-lockup{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}

.auth-logo{
  width:112px;
  max-width:none;
}

.auth-brand-copy{
  display:grid;
  gap:6px;
}

.auth-brand-title-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}

.auth-brand-title{
  font-size:1.78rem;
  line-height:1;
  color:#153246;
  letter-spacing:-0.02em;
}

.auth-brand-ribbon{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:linear-gradient(135deg, #0c5c85, #1d7a64);
  color:#f4fbff;
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.05em;
  text-transform:uppercase;
}

.auth-brand-subtitle{
  margin:0;
  max-width:760px;
  color:#587084;
  line-height:1.55;
}

.auth-brand-actions{
  display:flex;
  align-items:center;
  gap:12px;
  justify-content:flex-end;
}

.auth-brand-actions .ghost-button{
  background:#ffffff;
  color:#163247;
  border:1px solid rgba(15, 71, 104, 0.16);
  box-shadow:0 12px 24px rgba(16, 40, 61, 0.06);
}

.sales-landing{
  gap:18px;
}

.sales-hero{
  grid-template-columns:minmax(0, 1.3fr) minmax(300px, 0.9fr);
  min-height:auto;
}

.sales-hero-copy{
  padding:34px;
}

.sales-hero-copy h3{
  max-width:20ch;
  font-size:clamp(2rem, 3vw, 3rem);
  line-height:1.05;
}

.sales-hero-copy h3,
.pricing-preview-head h3,
.support-explainer p,
.offer-card-head h4,
.comparison-table,
.comparison-table thead th,
.comparison-table td,
.legal-highlight-body strong,
.legal-highlight-body p,
.section-step{
  color:#163247;
}

.sales-hero-copy p{
  max-width:60ch;
  color:#4d6578;
}

.sales-hero-panel{
  align-content:stretch;
  background:linear-gradient(180deg, #0f2f47, #134865);
}

.hero-insight-visual{
  align-self:stretch;
  margin:0;
  padding:22px;
}

.hero-insight-title{
  color:#ffffff;
  font-size:1.18rem;
}

.hero-insight-text{
  color:#e3f0f8;
}

.support-explainer,
.modern-plans,
.feature-comparison{
  background:linear-gradient(180deg, #ffffff, #f5f9fc);
}

.support-explainer{
  align-content:start;
}

.support-explainer-head{
  display:grid;
  gap:10px;
}

.support-explainer-head h3{
  margin:0;
  color:#163247;
  font-size:clamp(1.4rem, 2vw, 1.9rem);
  line-height:1.15;
  letter-spacing:-0.02em;
}

.support-explainer-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.support-detail-card{
  display:grid;
  gap:10px;
  min-height:100%;
  padding:20px 22px;
  border:1px solid rgba(15, 71, 104, 0.10);
  border-radius:20px;
  background:
    radial-gradient(circle at top right, rgba(9, 91, 134, 0.07), transparent 26%),
    linear-gradient(180deg, #fbfdff, #eef4f8);
  box-shadow:0 14px 28px rgba(16, 40, 61, 0.06);
}

.support-detail-card strong{
  color:#163247;
  font-size:1.04rem;
}

.support-detail-card p{
  margin:0;
  color:#4d6578;
  line-height:1.65;
}

.login-suggestion-block{
  display:grid;
  gap:10px;
  padding:14px 16px;
  border:1px solid rgba(15, 71, 104, 0.12);
  border-radius:18px;
  background:linear-gradient(180deg, #f7fbff, #eef5fa);
}

.login-suggestion-block strong{
  color:#163247;
  font-size:0.92rem;
}

.login-suggestion-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.login-suggestion-chip{
  border:none;
  border-radius:999px;
  padding:8px 14px;
  background:#dbeaf5;
  color:#163247;
  font-weight:700;
  cursor:pointer;
  transition:transform 0.16s ease, background 0.16s ease;
}

.login-suggestion-chip:hover{
  background:#c7deef;
  transform:translateY(-1px);
}

.support-detail-card span{
  color:#163247;
  font-weight:700;
}

.support-contact-card{
  background:
    radial-gradient(circle at top right, rgba(29, 122, 100, 0.10), transparent 26%),
    linear-gradient(180deg, #fbfffd, #eef8f3);
}

.support-contact-link{
  color:#0b5b84;
  font-weight:700;
  text-decoration:none;
}

.support-contact-link:hover{
  text-decoration:underline;
}

.professional-contact{
  display:grid;
  gap:16px;
  padding:24px 26px;
  border:1px solid rgba(14, 71, 104, 0.12);
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(29, 122, 100, 0.10), transparent 24%),
    linear-gradient(180deg, rgba(249, 252, 254, 0.98), rgba(236, 244, 248, 0.98));
  box-shadow:0 16px 34px rgba(16, 40, 61, 0.08);
}

.professional-contact-card{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  align-items:center;
  gap:18px;
}

.professional-contact-avatar{
  width:78px;
  height:78px;
  border-radius:50%;
  display:block;
  object-fit:cover;
  object-position:center 18%;
  background:linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(224, 239, 248, 0.98));
  border:2px solid rgba(13, 91, 132, 0.14);
  box-shadow:0 10px 24px rgba(13, 91, 132, 0.10);
}

.professional-contact-body{
  display:grid;
  gap:10px;
}

.professional-contact-body h3{
  margin:0;
  color:#163247;
  font-size:clamp(1.25rem, 1.8vw, 1.6rem);
  line-height:1.12;
}

.professional-contact-body p{
  margin:0;
  color:#4d6578;
  line-height:1.68;
}

.professional-contact-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px 18px;
}

.legal-highlight{
  background:linear-gradient(180deg, #fff7d8, #ffefbf);
}

.legal-highlight-body{
  gap:8px;
}

.legal-highlight-body p{
  font-size:1rem;
}

.offer-card{
  gap:16px;
}

.offer-card p,
.offer-list li{
  color:#4d6578;
}

.offer-card.featured{
  background:radial-gradient(circle at top right, rgba(29, 122, 100, 0.12), transparent 28%), linear-gradient(180deg, #fbfffd, #eef8f3);
}

.comparison-table-wrap{
  background:#ffffff;
}

.auth-card{
  width:min(900px, calc(100vw - 32px));
  background:linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 252, 0.98));
}

.auth-card-head{
  background:linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 253, 0.98));
}

.auth-card-head p,
.access-choice-card span{
  color:#5b7387;
}

.access-choice-card strong,
.auth-card-head h3,
.field span{
  color:#173247;
}

.auth-access-grid.hidden{
  display:none !important;
}

@media (max-width:980px){
  .auth-brand{
    flex-direction:column;
    align-items:flex-start;
  }

  .auth-brand-actions{
    width:100%;
    justify-content:flex-end;
  }

  .sales-hero{
    grid-template-columns:1fr;
  }

  .support-explainer-grid{
    grid-template-columns:1fr;
  }

  .professional-contact-card{
    grid-template-columns:1fr;
    justify-items:flex-start;
  }
}

@media (max-width:700px){
  .auth-brand-lockup{
    align-items:flex-start;
  }

  .auth-logo{
    width:88px;
  }

  .auth-brand-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .auth-brand-actions > button{
    width:100%;
  }

  .auth-brand-subtitle{
    font-size:0.94rem;
  }
}

.company-dashboard{
  display:grid;
  gap:24px;
}

.company-dashboard-shell{
  display:grid;
  gap:22px;
  padding:28px;
  border-radius:var(--radius-xl);
  border:1px solid rgba(11, 59, 91, 0.12);
  background:
    radial-gradient(circle at top right, rgba(16, 96, 126, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(244, 249, 252, 0.98), rgba(233, 240, 245, 0.98));
  box-shadow:var(--shadow);
}

.company-dashboard-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}

.company-dashboard-head h2{
  margin:8px 0 10px;
  font-size:2rem;
  line-height:1.05;
}

.company-dashboard-head p{
  margin:0;
  max-width:760px;
  color:var(--text-soft);
  line-height:1.6;
}

.company-dashboard-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}

.company-dashboard-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.company-metrics-grid{
  margin:0;
}

.company-overview-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap:18px;
}

.company-panel-head{
  align-items:flex-end;
}

.company-month-field{
  min-width:180px;
}

.company-chart-panel,
.company-activity-panel,
.company-form-panel,
.company-list-panel,
.company-brand-preview{
  border:1px solid rgba(18, 58, 86, 0.08);
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.98), rgba(237, 244, 248, 0.98));
}

.company-chart-summary{
  margin-bottom:16px;
  padding:14px 16px;
  border:1px solid rgba(10, 91, 134, 0.12);
  border-radius:16px;
  background:rgba(255, 255, 255, 0.56);
  color:var(--text-soft);
  line-height:1.5;
}

.company-chart-bars{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(36px, 1fr));
  gap:10px;
  align-items:end;
  min-height:240px;
  padding:18px;
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(231, 239, 244, 0.96));
  border:1px solid rgba(18, 58, 86, 0.08);
}

.company-chart-empty{
  display:grid;
  place-items:center;
  min-height:180px;
  color:var(--text-soft);
  text-align:center;
}

.company-chart-bar{
  display:grid;
  justify-items:center;
  align-content:end;
  gap:10px;
  min-height:188px;
}

.company-chart-bar-fill{
  width:100%;
  min-height:10px;
  border-radius:999px 999px 12px 12px;
  background:linear-gradient(180deg, #0a5b86, #2d89b7);
  box-shadow:0 14px 26px rgba(10, 91, 134, 0.18);
}

.company-chart-bar-count{
  font-size:0.82rem;
  font-weight:800;
  color:var(--brand-strong);
}

.company-chart-bar-label{
  font-size:0.76rem;
  color:var(--text-soft);
}

.company-activity-list{
  display:grid;
  gap:12px;
}

.company-activity-item{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px 16px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(18, 58, 86, 0.08);
  background:rgba(255, 255, 255, 0.72);
}

.company-activity-item strong{
  display:block;
  margin-bottom:4px;
  font-size:0.98rem;
}

.company-activity-item p{
  margin:0;
  color:var(--text-soft);
  line-height:1.45;
}

.company-activity-item time{
  color:var(--text-soft);
  font-size:0.84rem;
  font-weight:700;
  white-space:nowrap;
}

.company-empty-state{
  padding:18px;
  border-radius:18px;
  border:1px dashed rgba(18, 58, 86, 0.18);
  color:var(--text-soft);
  background:rgba(255, 255, 255, 0.56);
  text-align:center;
}

.company-doctors-grid,
.company-brand-grid{
  display:grid;
  grid-template-columns:minmax(340px, 420px) minmax(0, 1fr);
  gap:18px;
}

.company-doctor-form,
.company-profile-form{
  display:grid;
  gap:16px;
}

.company-access-card{
  display:grid;
  gap:16px;
  margin-top:18px;
  padding:20px;
  border-radius:20px;
  border:1px solid rgba(47, 127, 74, 0.20);
  background:
    radial-gradient(circle at top right, rgba(47, 127, 74, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(249, 253, 250, 0.98), rgba(236, 246, 240, 0.98));
}

.company-access-summary,
.company-access-hint{
  margin:0;
  color:var(--text-soft);
  line-height:1.5;
}

.company-access-hint{
  font-size:0.92rem;
}

.company-doctors-list{
  display:grid;
  gap:12px;
}

.company-doctor-card{
  display:grid;
  gap:14px;
  padding:18px 20px;
  border-radius:18px;
  border:1px solid rgba(18, 58, 86, 0.08);
  background:rgba(255, 255, 255, 0.78);
}

.company-doctor-card-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.company-doctor-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}

.company-doctor-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(47, 127, 74, 0.12);
  color:var(--success);
  font-size:0.8rem;
  font-weight:800;
}

.company-doctor-badge.is-pending{
  background:rgba(168, 120, 23, 0.12);
  color:var(--warning);
}

.company-doctor-card-head h4{
  margin:0;
  font-size:1.08rem;
}

.company-doctor-card-head p{
  margin:6px 0 0;
  color:var(--text-soft);
}

.company-doctor-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.company-doctor-chip{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(10, 91, 134, 0.09);
  color:var(--brand-strong);
  font-size:0.82rem;
  font-weight:700;
}

.company-doctor-chip.is-muted{
  background:rgba(86, 105, 122, 0.12);
  color:var(--text-soft);
}

.company-logo-preview-card{
  display:grid;
  place-items:center;
  min-height:260px;
  padding:26px;
  border-radius:24px;
  border:1px dashed rgba(18, 58, 86, 0.18);
  background:
    radial-gradient(circle at top, rgba(10, 91, 134, 0.10), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(234, 241, 246, 0.96));
}

.company-logo-preview-card img{
  max-width:min(280px, 100%);
  max-height:180px;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 16px 28px rgba(8, 30, 47, 0.16));
}

.company-profile-hint{
  margin:0;
  color:var(--text-soft);
  line-height:1.5;
}

.company-brand-note{
  margin-top:18px;
  padding:18px 20px;
  border-radius:18px;
  border:1px solid rgba(10, 91, 134, 0.12);
  background:rgba(255, 255, 255, 0.68);
}

.company-brand-note strong{
  display:block;
  margin-bottom:8px;
}

.company-brand-note p{
  margin:0;
  color:var(--text-soft);
  line-height:1.5;
}

body.company-mode .home-panel,
body.company-mode .workspace{
  display:none !important;
}

body.company-mode .app-shell{
  max-width:1360px;
}

@media (max-width:1180px){
  .company-overview-grid,
  .company-doctors-grid,
  .company-brand-grid{
    grid-template-columns:1fr;
  }

  .company-dashboard-head{
    flex-direction:column;
  }

  .company-dashboard-badges{
    justify-content:flex-start;
  }
}

@media (max-width:820px){
  .company-dashboard-shell{
    padding:22px;
  }

  .company-dashboard-nav{
    flex-direction:column;
  }

  .company-chart-bars{
    grid-template-columns:repeat(auto-fit, minmax(28px, 1fr));
    gap:8px;
    padding:14px;
  }

  .company-activity-item,
  .company-doctor-card-head{
    grid-template-columns:1fr;
    flex-direction:column;
  }
}

/* Visual polish: capa corporativa e padrao inicial */
body{
  font-family:"Inter", "Segoe UI", "Aptos", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(10, 91, 134, 0.18), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(111, 131, 148, 0.20), transparent 20%),
    linear-gradient(135deg, #edf3f7 0%, #d8e2ea 48%, #c9d5de 100%);
}

.auth-shell{
  max-width:1380px;
  padding:30px 26px 48px;
  gap:26px;
}

.auth-brand{
  align-items:center;
  padding:18px 20px;
  border:1px solid rgba(17, 70, 103, 0.10);
  border-radius:24px;
  background:rgba(246, 249, 252, 0.78);
  backdrop-filter:blur(14px);
  box-shadow:0 18px 44px rgba(12, 31, 46, 0.10);
}

.auth-brand-lockup{
  align-items:center;
  gap:18px;
}

.auth-brand-title{
  font-weight:700;
  letter-spacing:-0.03em;
}

.auth-brand-subtitle{
  max-width:60ch;
  color:#4f6475;
  font-weight:400;
  line-height:1.6;
}

.sales-hero{
  grid-template-columns:minmax(0, 0.98fr) minmax(380px, 1.02fr);
  align-items:stretch;
  gap:28px;
}

.sales-hero-copy{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(28px, 3.4vw, 46px);
  border-radius:30px;
  background:linear-gradient(145deg, rgba(11, 30, 45, 0.96), rgba(13, 70, 103, 0.94));
  box-shadow:0 30px 58px rgba(9, 25, 38, 0.22);
  color:#f5fbff;
}

.sales-hero-copy::before{
  content:"";
  position:absolute;
  inset:-30% auto auto -8%;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(124, 194, 229, 0.18), transparent 68%);
  pointer-events:none;
}

.sales-brand-chip{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255, 255, 255, 0.10);
  color:#dceef8;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
}

.sales-hero-copy h3{
  margin:16px 0 14px;
  max-width:13.5ch;
  font-size:clamp(1.95rem, 3.15vw, 3.05rem);
  line-height:1.08;
  letter-spacing:-0.05em;
  font-weight:700;
  color:#ffffff;
}

.sales-hero-copy p{
  max-width:50ch;
  font-size:1.01rem;
  line-height:1.68;
  color:rgba(237, 247, 252, 0.88);
  font-weight:400;
}

.sales-hero-actions{
  margin-top:12px;
}

.sales-hero-panel{
  display:flex;
  min-width:0;
  min-height:100%;
}

.hero-insight-visual{
  display:flex;
  flex-direction:column;
  width:100%;
  min-height:100%;
  padding:34px 34px 30px;
  border-radius:28px;
  border:1px solid rgba(17, 70, 103, 0.12);
  background:
    radial-gradient(circle at top right, rgba(10, 91, 134, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 248, 0.96));
  box-shadow:0 24px 48px rgba(15, 40, 58, 0.10);
  transition:opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
}

.hero-insight-visual.is-transitioning{
  opacity:0.36;
  transform:translateY(8px);
  filter:blur(1px);
}

.hero-insight-title{
  display:block;
  margin-top:12px;
  max-width:18ch;
  font-size:1.46rem;
  line-height:1.28;
  letter-spacing:-0.02em;
  color:#173247;
  font-weight:700;
}

.hero-insight-text{
  margin-top:14px;
  max-width:34ch;
  font-size:1.01rem;
  color:#556a7a;
  line-height:1.78;
}

.hero-insight-dots{
  margin-top:auto;
  padding-top:24px;
}

.primary-button,
.ghost-button{
  border-radius:12px;
  padding:14px 22px;
  font-weight:700;
  transition:transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.primary-button{
  background:linear-gradient(135deg, #0e6a99, #0a567d);
  color:#f9fcff;
  box-shadow:0 14px 26px rgba(10, 86, 125, 0.24);
}

.primary-button:hover,
.primary-button:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 18px 30px rgba(10, 86, 125, 0.28);
}

.ghost-button{
  border:1px solid rgba(17, 70, 103, 0.14);
  background:rgba(255, 255, 255, 0.88);
  color:#173247;
  box-shadow:0 10px 18px rgba(18, 45, 64, 0.08);
}

.ghost-button:hover,
.ghost-button:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(10, 91, 134, 0.22);
  background:#ffffff;
}

.sales-primary-button{
  min-width:220px;
}

.support-detail-card,
.offer-card,
.professional-contact-card{
  border-color:rgba(17, 70, 103, 0.10);
  box-shadow:0 18px 36px rgba(17, 44, 62, 0.08);
}

.support-detail-card,
.offer-card{
  background:rgba(255, 255, 255, 0.90);
}

.offer-card.featured{
  background:
    radial-gradient(circle at top right, rgba(10, 91, 134, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 251, 0.98));
}

.offer-card:hover,
.support-detail-card:hover{
  transform:translateY(-3px);
}

.pricing-preview-head h3,
.support-explainer-head h3,
.professional-contact-body h3{
  letter-spacing:-0.02em;
}

.admin-payment-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:14px;
}

.admin-payment-box{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(17, 70, 103, 0.10);
  background:linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.94));
  box-shadow:0 14px 26px rgba(17, 44, 62, 0.06);
}

.admin-payment-box span{
  display:block;
  margin-bottom:8px;
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color:#6b8090;
}

.admin-payment-box strong{
  color:#173247;
  line-height:1.45;
}

.payment-history-list{
  display:grid;
  gap:12px;
}

.payment-history-item{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(17, 70, 103, 0.10);
  background:rgba(250, 252, 253, 0.96);
}

.payment-history-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.payment-history-head p{
  margin:6px 0 0;
  color:#566b7b;
  line-height:1.62;
}

.payment-history-title{
  color:#173247;
}

.payment-history-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:120px;
  padding:8px 12px;
  border-radius:999px;
  font-size:0.82rem;
  font-weight:700;
  text-align:center;
}

.payment-history-status.is-approved{
  background:rgba(24, 132, 96, 0.12);
  color:#0f6a4c;
}

.payment-history-status.is-pending{
  background:rgba(180, 120, 14, 0.14);
  color:#8e5d09;
}

.payment-history-status.is-alert{
  background:rgba(184, 55, 55, 0.12);
  color:#9a2525;
}

.payment-history-status.is-neutral{
  background:rgba(17, 70, 103, 0.10);
  color:#22485f;
}

.payment-history-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.status-note{
  min-height:22px;
  margin:0;
  padding:0;
  color:#5e7282;
  line-height:1.6;
  transition:background 0.22s ease, border-color 0.22s ease, color 0.22s ease, padding 0.22s ease, min-height 0.22s ease;
}

.status-note[data-tone]{
  min-height:auto;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(17, 70, 103, 0.10);
  background:rgba(244, 248, 251, 0.92);
  color:#21465e;
}

.status-note[data-tone="success"]{
  border-color:rgba(24, 132, 96, 0.18);
  background:rgba(232, 247, 241, 0.96);
  color:#0f6a4c;
}

.status-note[data-tone="warning"]{
  border-color:rgba(180, 120, 14, 0.18);
  background:rgba(255, 247, 227, 0.96);
  color:#8a5a08;
}

.status-note[data-tone="error"]{
  border-color:rgba(184, 55, 55, 0.18);
  background:rgba(252, 239, 239, 0.96);
  color:#9a2525;
}

.status-note[data-tone="info"]{
  border-color:rgba(17, 70, 103, 0.12);
  background:rgba(239, 246, 250, 0.96);
  color:#22485f;
}

.sales-hero{
  grid-template-columns:minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap:30px;
}

.sales-hero-copy{
  padding:clamp(28px, 3vw, 42px);
}

.sales-hero-copy h3{
  max-width:11.4ch;
  font-size:clamp(1.8rem, 2.75vw, 2.68rem);
  line-height:1.03;
}

.sales-hero-copy p{
  max-width:46ch;
}

.hero-insight-visual{
  padding:38px 38px 32px;
}

.hero-insight-title{
  max-width:17ch;
  font-size:1.52rem;
}

.hero-insight-text{
  max-width:38ch;
  line-height:1.82;
}

.payment-assurance{
  display:grid;
  gap:22px;
  padding:28px;
  border:1px solid rgba(17, 70, 103, 0.10);
  border-radius:28px;
  background:
    radial-gradient(circle at top right, rgba(10, 91, 134, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 250, 0.95));
  box-shadow:0 20px 40px rgba(16, 45, 63, 0.08);
}

.payment-assurance-head{
  display:grid;
  gap:10px;
}

.payment-assurance-head h3{
  margin:0;
  font-size:clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing:-0.03em;
  color:#173247;
}

.payment-assurance-head p{
  margin:0;
  max-width:72ch;
  color:#5a6f7f;
  line-height:1.7;
}

.payment-assurance-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.payment-assurance-card{
  display:grid;
  gap:10px;
  padding:20px;
  border-radius:22px;
  border:1px solid rgba(17, 70, 103, 0.10);
  background:rgba(255, 255, 255, 0.88);
}

.payment-assurance-card strong{
  color:#173247;
  font-size:1rem;
}

.payment-assurance-card p{
  margin:0;
  color:#5d7181;
  line-height:1.65;
}

.payment-assurance-strip,
.selected-plan-brief-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.payment-assurance-chip,
.selected-plan-chip{
  display:inline-flex;
  align-items:center;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(17, 70, 103, 0.10);
  background:rgba(247, 251, 253, 0.96);
  color:#21465e;
  font-size:0.86rem;
  font-weight:700;
  line-height:1.4;
}

.selected-plan-brief{
  display:grid;
  gap:14px;
  margin-top:8px;
  padding:18px 20px;
  border-radius:22px;
  border:1px solid rgba(17, 70, 103, 0.10);
  background:
    radial-gradient(circle at top right, rgba(10, 91, 134, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(249, 252, 254, 0.98), rgba(239, 246, 250, 0.96));
}

.selected-plan-brief-head{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.selected-plan-brief-head strong{
  color:#173247;
  font-size:1rem;
}

.selected-plan-brief p{
  margin:0;
  color:#5b7080;
  line-height:1.66;
}

.dashboard-card.success{
  background:linear-gradient(180deg, #ecf8f3, #ddf1e8);
}

.dashboard-card.portfolio{
  background:linear-gradient(180deg, #eef5fb, #ddeaf4);
}

.dashboard-card.success strong,
.dashboard-card.portfolio strong{
  color:#173247;
}

@media (max-width:980px){
  .auth-shell{
    padding:24px 18px 34px;
  }

  .sales-hero{
    grid-template-columns:1fr;
  }

  .sales-hero-copy h3{
    max-width:none;
    font-size:clamp(1.85rem, 8vw, 2.55rem);
  }

  .hero-insight-visual{
    padding:28px 24px;
  }

  .payment-assurance{
    padding:24px 20px;
  }

  .payment-assurance-grid{
    grid-template-columns:1fr;
  }

  .selected-plan-brief-head{
    flex-direction:column;
  }

  .payment-history-head{
    flex-direction:column;
  }

  .payment-history-status{
    min-width:0;
  }
}
