/* v21: foundation, shared controls, public screens, workspaces, responsive geometry. */
@font-face{font-family:Inter;src:url('/fonts/inter-cyrillic-latin.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope-cyrillic-latin.woff2') format('woff2');font-weight:400 800;font-style:normal;font-display:swap}
:root{--mca-bg:#080a0f;--mca-bg-2:#10141c;--mca-panel:#10141c;--mca-panel-strong:#171d28;--mca-line:#29303c;--mca-line-strong:#3a4454;--mca-text:#f4f6fa;--mca-muted:#a2acbd;--mca-soft:#c6cdda;--mca-gold:#ffd04d;--mca-gold-2:#f5b52d;--mca-gold-3:#f5b52d;--mca-red:#ffa0a7;--mca-radius:16px;--mca-max:1264px}
html{background:var(--mca-bg);scrollbar-width:thin;scrollbar-color:#626b7a transparent}
html::-webkit-scrollbar{width:6px;background:transparent}
html::-webkit-scrollbar-track,html::-webkit-scrollbar-corner{background:transparent}
html::-webkit-scrollbar-thumb{background:#626b7a;border-radius:8px}
html::-webkit-scrollbar-thumb:hover{background:#808b9d}
/* Chromium uses the custom rounded thumb; Firefox uses the standard properties. */
@supports selector(::-webkit-scrollbar){html{scrollbar-width:auto;scrollbar-color:auto}}
[hidden]{display:none!important}
body.mca11-body{min-height:100vh;color:var(--mca-text);font-family:Inter,system-ui,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.mca11-body h1,body.mca11-body h2,body.mca11-body h3,body.mca11-body h4,body.mca11-body h5,.font-display{font-family:Manrope,system-ui,sans-serif;letter-spacing:-.035em;line-height:1.3}
body.mca11-body a{color:inherit}
::selection{background:#ffd04d40;color:#fff}
body.mca11-body .orb{display:none}
body.mca11-body .grad-text{background:none;color:var(--mca-text);animation:none}
body.mca11-body .glass{background:var(--mca-panel);border:1px solid var(--mca-line);border-radius:var(--mca-radius);box-shadow:0 8px 30px #00000015;backdrop-filter:none}
body.mca11-body .glass-hover{transition:border-color .18s,background .18s}
body.mca11-body .glass-hover:hover{transform:none;border-color:var(--mca-line-strong);background:var(--mca-panel-strong)}
body.mca11-body .input,body.mca11-body .field,body.mca11-body select,body.mca11-body input[type=text],body.mca11-body input[type=email],body.mca11-body input[type=password],body.mca11-body input[type=number],body.mca11-body input[type=date],body.mca11-body textarea{width:100%;min-width:0;min-height:48px;border-radius:10px;border:1px solid var(--mca-line-strong);background:#0b0f16;color:var(--mca-text);font:inherit;font-size:16px;padding:12px 14px;transition:border-color .18s,box-shadow .18s}
body.mca11-body textarea{line-height:1.7;min-height:120px}
body.mca11-body .input:focus,body.mca11-body .field:focus,body.mca11-body input:focus,body.mca11-body select:focus,body.mca11-body textarea:focus{outline:2px solid var(--mca-gold);outline-offset:2px;border-color:var(--mca-gold);box-shadow:none}
body.mca11-body input::placeholder,body.mca11-body textarea::placeholder{color:#8a95a8;opacity:1}
body.mca11-body select option{background:#10141c;color:#f4f6fa}
body.mca11-body input[type=checkbox],body.mca11-body input[type=radio]{accent-color:var(--mca-gold);flex-shrink:0}
body.mca11-body .chip{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:8px;border:1px solid var(--mca-line);background:#171d28;color:var(--mca-soft);font-size:13px;line-height:1.5}
body.mca11-body .eyebrow,.mca21-eyebrow{display:block;color:var(--mca-muted);font-size:12px;font-weight:600;letter-spacing:.1em;line-height:1.7;text-transform:uppercase}
body.mca11-body .eyebrow::before{content:none}
body.mca11-body .dropzone{padding:24px 20px;min-height:140px;border:1px dashed #495365;border-radius:12px;background:#0c1017;text-align:center;cursor:pointer;color:var(--mca-soft);transition:background .18s,border-color .18s}
body.mca11-body .dropzone:hover,body.mca11-body .dropzone.drag{border-color:var(--mca-gold);background:#181b20}
.dropzone .dz-icon{display:block;font-size:30px;line-height:1;margin-bottom:12px;color:var(--mca-gold)}
.dropzone input[type=file]{display:block;width:100%;margin:14px auto 0;font-size:13px;cursor:pointer}
body.mca11-body input[type=file]{max-width:100%;font-size:13px;color:var(--mca-muted)}
input[type=file]::file-selector-button{border:1px solid var(--mca-line-strong);border-radius:8px;background:#171d28;color:var(--mca-text);padding:10px 12px;margin-right:10px;min-height:44px;cursor:pointer;font:inherit}
body.mca11-body .hist{padding:14px;border:1px solid var(--mca-line);border-radius:10px;background:#10141c;color:var(--mca-soft);transition:border-color .18s;overflow-wrap:anywhere}
body.mca11-body .hist:hover{border-color:#676044;transform:none}
body.mca11-body .wrap,body.mca11-body .mca21-main{width:min(var(--mca-max),calc(100% - 48px));max-width:var(--mca-max);margin:0 auto;padding:48px 0 72px}
.mca21-main>*{min-width:0}
.mca21-page-heading{margin:0 0 32px;max-width:840px}
.mca21-page-heading h1{font-size:clamp(30px,3vw,40px);font-weight:700;line-height:1.3;margin:10px 0 12px;overflow-wrap:anywhere}
.mca21-page-heading p{color:var(--mca-muted);max-width:690px;font-size:16px;margin:0;line-height:1.7}
.mca21-field-label{display:block;color:var(--mca-soft);font-size:14px;font-weight:600;margin-bottom:10px;line-height:1.5}
.mca21-disclaimer,.dis{font-size:13px;color:var(--mca-muted);line-height:1.65;margin:14px 0}
body.mca11-body .text-sm{font-size:15px;line-height:1.65}
body.mca11-body .text-xs{font-size:13px;line-height:1.6}
body.mca11-body .text-white\/40,body.mca11-body .text-white\/50,body.mca11-body .text-white\/60{color:var(--mca-muted)}
body.mca11-body .text-amber-400{color:var(--mca-gold)}
body.mca11-body .legal{width:min(860px,calc(100% - 48px));margin:auto;padding:52px 0 80px;line-height:1.8;color:var(--mca-soft)}
body.mca11-body .legal h1{font-size:clamp(30px,3vw,40px);font-weight:700;line-height:1.25;margin:24px 0;color:var(--mca-text)}
body.mca11-body .legal h2{font-size:22px;font-weight:700;margin:36px 0 12px;color:var(--mca-text)}
body.mca11-body .legal p,body.mca11-body .legal li{font-size:16px;overflow-wrap:anywhere}
body.mca11-body .legal p{margin:12px 0}
body.mca11-body .legal ul{padding-left:24px;list-style:disc}
body.mca11-body #dlDis{font-size:13px!important;opacity:1!important;line-height:1.65!important;color:var(--mca-muted)}
body.mca11-body .legal .muted{font-size:14px;color:var(--mca-muted)}
body.mca11-body main p a:not(.btn-primary):not(.btn-ghost){text-decoration:underline}
body.mca11-body .legal a{color:var(--mca-gold);text-decoration:underline}
body.mca11-body .legal #mcaDocBack a{font-size:14px;color:var(--mca-soft);text-decoration:none}
.mca21-legal-note{margin-top:40px;padding:24px;border:1px solid #7ee2a835;border-radius:14px;background:#7ee2a808}
.mca21-legal-note h3{font-size:20px}
/* Existing background layer level retained; protected mcaSpace/canvas rules remain inline. */
body.mca11-body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:var(--mca-bg)}
body.mca11-body .dd ul,
body.mca11-body .dd .list,
body.mca11-body .dd [role='listbox']{
  background:rgba(8,15,26,.98)!important;
  border:1px solid rgba(172,197,225,.16)!important;
  border-radius:16px!important;
  box-shadow:0 24px 50px rgba(0,0,0,.45)!important;
}

/* V19 redesign: one component definition and one responsive pass. */

.mca11-landing { position: relative; isolation: isolate; }
.mca11-wrap, .mca19-hero, .mca18-pricing, .mca18-stats {
  width: min(var(--mca-max),calc(100% - 48px)); margin-inline: auto;
}
body.mca11-body a { text-decoration: none; }
body.mca11-body :focus-visible, .mca18-nav-shell :focus-visible, .mca11-footer :focus-visible {
  outline: 2px solid #ffd976; outline-offset: 5px;
}
body.mca11-body .btn-primary, body.mca11-body .btn-ghost,
.mca18-nav .btn-primary, .mca18-nav .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer;
  min-height: 48px; padding: 12px 20px; border-radius: 12px;
  font: 600 15px/1.4 'Inter',system-ui,sans-serif; white-space: normal;
  text-align: center; box-shadow: none;
}
body.mca11-body .btn-primary, .mca18-nav .btn-primary {
  background: linear-gradient(135deg,#ffd04d,#f5b52d); color: #17130a;
  border: 1px solid #ffd04d; box-shadow: 0 4px 16px rgba(232,185,79,.1);
}
body.mca11-body .btn-primary:hover, .mca18-nav .btn-primary:hover {
  background: #ffd04d; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,185,79,.16);
}
body.mca11-body .btn-primary::after, .mca18-nav .btn-primary::after { content: none; }
body.mca11-body .btn-ghost, .mca18-nav .btn-ghost {
  color: #dce4ef; background: rgba(255,255,255,.025); border: 1px solid var(--mca-line);
}
body.mca11-body .btn-ghost:hover, .mca18-nav .btn-ghost:hover {
  background: rgba(255,255,255,.06); border-color: rgba(245,181,46,.35); transform: translateY(-1px);
}
.mca-skip-link { position: absolute; left: 24px; top: 8px; transform: translateY(-200%); }
.mca-skip-link:focus { transform: none; padding: 10px 16px; background: #ffd04d; color: #17130a; }

/* Shared navigation. Keep the existing navigation layer levels. */
#mca11-nav-host { position: relative; z-index: 100; min-height: 88px; display:flow-root; }
#siteNav{min-height:88px;display:flow-root}
.mca18-nav-shell {
  width: min(var(--mca-max),calc(100% - 48px)); margin: 16px auto 0; position: relative; z-index: 60;
  font-family: 'Inter',system-ui,sans-serif;
}
.mca18-nav {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 14px; border: 1px solid var(--mca-line); border-radius: 18px;
  background: rgba(16,20,28,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.mca18-brand { display: flex; align-items: center; gap: 10px; color: #f3f6fa; flex-shrink: 0; }
.mca18-brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.mca18-brand span { font-size: 14px; line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
.mca18-links { display: flex; align-items: center; gap: 2px; }
.mca18-links a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 9px;
  color: #a5b1c1; font-size: 14px; font-weight: 600; text-decoration: none;
}
.mca18-links a:hover { color: #fff; background: rgba(255,255,255,.04); }
.mca18-links a.is-active { color: #ffd04d; background: rgba(245,181,46,.06); }
.mca18-nav-actions { display: flex; align-items: center; gap: 8px; }
.mca18-nav-actions .btn-primary, .mca18-nav-actions .btn-ghost { min-height: 44px; padding: 10px 14px; font-size: 14px; }
.mca18-menu-btn {
  display: none; width: 44px; height: 44px; padding: 0; border-radius: 10px;
  border: 1px solid var(--mca-line); background: rgba(255,255,255,.03); color: #f4f6fa; cursor: pointer;
  align-items: center; justify-content: center;
}
.mca18-menu-icon { display: flex; flex-direction: column; gap: 4px; }
.mca18-menu-icon i { width: 17px; height: 2px; border-radius: 2px; background: currentColor; }
.mca18-mobile-panel { display: none; }

/* Hero: editorial copy paired with a native document composition. */
.mca19-hero {
  display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 48px;
  align-items: center; padding: 64px 0 68px; overflow:clip; min-height: 640px;
}
.mca19-copy { min-width: 0; position: relative; z-index: 2; }
.mca18-kicker, .mca11-eyebrow, .mca18-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; color: #ffd04d;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.mca18-kicker::before, .mca11-eyebrow::before, .mca18-eyebrow::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: #ffd04d;
}
.mca19-title {
  margin: 22px 0 24px; color: #f4f6fa; font-size: clamp(44px,4.1vw,58px);
  line-height: 1.12; font-weight: 700; letter-spacing: -.045em;
}
.mca19-title span { color: #ffd04d; }
.mca19-lead { max-width: 470px; margin: 0; color: var(--mca-soft); font-size: 17px; line-height: 1.8; }
.mca18-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.mca18-actions .btn-ghost svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.mca18-actions .btn-ghost { background: transparent; border-color: transparent; padding-inline: 12px; }
.mca18-metrics {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px;
  margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--mca-line);
}
.mca18-metrics strong { display: block; color: #e0e6ef; font-size: 14px; font-weight: 700; }
.mca18-metrics span { display: block; margin-top: 5px; color: var(--mca-muted); font-size: 13px; line-height: 1.6; }
.mca19-art { min-width: 0; position: relative; isolation: isolate; }
.mca-doc-stage { position: relative; width: 100%; aspect-ratio: 1.08; perspective: 1000px; }
.mca-doc-stage::before {
  content: ''; position: absolute; inset: 8% 0 0;
  background: radial-gradient(ellipse,rgba(207,170,98,.09),rgba(64,100,154,.06) 45%,transparent 70%);
  pointer-events: none;
}
.mca-doc-orbit {
  position: absolute; inset: 9% 5%; border: 1px solid rgba(194,177,136,.12); border-radius: 50%;
  transform: rotate(-18deg) scaleY(.75);
}
.mca-doc-sheet {
  position: absolute; width: 62%; height: 83%; top: 6%; left: 20%; border-radius: 12px;
  border: 1px solid rgba(224,213,185,.22); box-shadow: 12px 24px 40px rgba(0,0,0,.28);
  transform: rotateY(-12deg) rotateZ(7deg); transform-origin: 50% 80%;
}
.mca-doc-sheet-back { background: linear-gradient(135deg,#263040,#131e2e); transform: rotateY(-12deg) rotateZ(-10deg) translate(-14px,-5px); }
.mca-doc-sheet-middle { background: linear-gradient(135deg,#334054,#172235); transform: rotateY(-12deg) rotateZ(-2deg) translate(-5px,-5px); }
.mca-doc-sheet-front { background: linear-gradient(135deg,#f0ece2,#d5cfc2); color: #28303d; }
.mca-doc-sheet-front > div { position: absolute; left: 10%; right: 10%; }
.mca-doc-top { top: 8%; display: flex; align-items: center; justify-content: space-between; color: #6e736f; font-size: clamp(6px,.6vw,9px); font-weight: 700; letter-spacing: .1em; }
.mca-doc-top svg { width: 22px; height: 22px; fill: none; stroke: #8d784c; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.mca-doc-heading { top: 23%; font-size: clamp(14px,1.35vw,20px); line-height: 1.3; font-weight: 800; letter-spacing: -.04em; }
.mca-doc-subtitle { top: 31%; font-size: clamp(7px,.65vw,10px); color: #72756f; }
.mca-doc-lines { top: 41%; display: grid; gap: 6px; }
.mca-doc-lines i { height: 3px; background: rgba(91,101,105,.22); border-radius: 2px; }
.mca-doc-lines i:last-child { width: 72%; }
.mca-doc-clause { top: 54%; padding: 9px 10px; border-left: 2px solid #b58a37; background: rgba(195,150,61,.12); border-radius: 0 4px 4px 0; }
.mca-doc-clause span { display: block; color: #89703b; font-size: clamp(5px,.55vw,8px); letter-spacing: .08em; font-weight: 700; }
.mca-doc-clause i { display: block; height: 3px; background: rgba(142,116,65,.25); margin-top: 5px; }
.mca-doc-clause i:nth-of-type(2) { width: 80%; }
.mca-doc-clause b { display: block; margin-top: 6px; color: #7e622c; font-size: clamp(6px,.7vw,10px); font-weight: 600; }
.mca-doc-clause + .mca-doc-lines { top: 79%; }
.mca-doc-signature { top: 87%; display: flex; align-items: center; gap: 12px; font-size: 7px; color: #85877e; }
.mca-doc-signature svg { width: 60px; height: 18px; fill: none; stroke: #5e6a76; stroke-width: 1.5; stroke-linecap: round; }
.mca-doc-page { bottom: 3%; display: flex; justify-content: space-between; font-size: 4px; letter-spacing: .12em; color: #85877e; }
.mca-doc-label {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border: 1px solid rgba(183,197,216,.23); border-radius: 12px; background: #171d28;
  box-shadow: 0 12px 30px rgba(0,0,0,.22); color: #e9eef4;
}
.mca-doc-label strong { display: block; font-size: 13px; font-weight: 600; }
.mca-doc-label div > span { display: block; margin-top: 3px; color: #a0aec0; font-size: 12px; }
.mca-doc-law { top: 1%; left: 0; }
.mca-doc-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #ffd04d; box-shadow: 0 0 10px rgba(234,198,119,.25); }
.mca-doc-result { bottom: 0; right: 0; }
.mca-doc-check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(97,172,150,.12); color: #9ed6be; font-size: 16px; }
.mca-doc-shield { position: absolute; right: 0; bottom: 18%; width: 24%; aspect-ratio: 1; display: grid; place-items: center; transform: rotate(-8deg); }
.mca-doc-shield svg { width: 90%; height: 100%; overflow: visible; fill: #17293b; stroke: #f5b52d; stroke-width: 1.3; filter: drop-shadow(0 8px 12px rgba(0,0,0,.4)); }
.mca-doc-shield svg path:last-child { fill: none; stroke: #e8cc88; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Sections use a quieter rhythm and a single surface language. */
.mca11-section { padding: 72px 0; }
.mca11-section.alt { border-block: 1px solid var(--mca-line); }
.mca11-section-head { display: grid; grid-template-columns: 1.1fr .8fr; gap: 60px; align-items: end; margin-bottom: 32px; }
.mca11-section-head h2, .mca18-pricing-head h2 {
  margin: 14px 0 0; color: #f4f6fa; font-size: clamp(28px,2.7vw,38px); line-height: 1.25; font-weight: 700; letter-spacing: -.035em;
}
.mca11-section-head h2 span { color: #ffd04d; }
.mca11-section-head p { margin: 0; color: var(--mca-muted); font-size: 13px; line-height: 1.8; }
.mca11-section-head.center { display: block; text-align: center; }
.mca16-feature-layout { display: grid; grid-template-columns: 1.35fr .85fr; gap: 24px; align-items: stretch; }
.mca16-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.mca16-feature-card, .mca16-report-card, .mca11-process-card, .mca18-plan {
  min-width: 0; border: 1px solid var(--mca-line); border-radius: 16px;
  background: var(--mca-panel);
}
.mca16-feature-card { padding: 24px; transition: border-color .2s; }
.mca16-feature-card:hover { border-color: rgba(234,198,119,.36); }
.mca16-feature-card-wide { grid-column: 1/-1; }
.mca11-icon { width: 34px; height: 34px; display: grid; place-items: center; color: #ffd04d; }
.mca11-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mca16-feature-card h3 { margin: 14px 0 8px; color: #e9eff6; font-size: 19px; line-height: 1.3; font-weight: 700; }
.mca16-feature-card p { margin: 0; color: var(--mca-muted); font-size: 14px; line-height: 1.8; }
.mca16-report-card { padding: 28px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.mca16-report-kicker { color: #a2b0c3; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.mca16-report-head { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mca16-report-head strong { font-size: 16px; line-height: 1.5; color: #f1f5fa; }
.mca16-report-head > span { padding: 4px 8px; border-radius: 6px; background: rgba(234,198,119,.08); color: #ffd04d; font-size: 13px; }
.mca16-report-note { margin: 14px 0; color: var(--mca-muted); font-size: 14px; line-height: 1.8; }
.mca16-risk { padding: 16px 14px; border: 1px solid var(--mca-line); border-left: 2px solid #dbbd71; border-radius: 8px; margin-top: 12px; }
.mca16-risk.red { border-left-color: #d7828a; }
.mca16-risk b { display: block; color: #dde4ee; font-size: 14px; line-height: 1.7; font-weight: 600; }
.mca16-risk span { display: block; color: #9caabd; font-size: 13px; margin-top: 6px; line-height: 1.7; }
.mca16-report-foot { border-top: 1px solid var(--mca-line); padding-top: 20px; margin-top: 24px; color: #93a2b6; font-size: 13px; line-height: 1.8; }
.mca11-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.mca11-process-card { padding: 24px; position: relative; }
.mca11-process-num { color: #ffd04d; font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.mca11-process-card .arrow { position: absolute; top: 22px; right: 24px; color: #7d8b9e; }
.mca11-process-card h3 { margin: 34px 0 10px; font-size: 17px; line-height: 1.4; color: #e9eff6; font-weight: 700; }
.mca11-process-card p { color: var(--mca-muted); font-size: 14px; line-height: 1.8; margin: 0; }
.mca11-process-cta { display: flex; flex-direction: column; justify-content: space-between; border-color: rgba(234,198,119,.26); }
.mca11-process-cta h3 { margin-top: 10px; }
.mca11-process-cta .btn-primary { width: 100%; margin-top: 20px; padding-inline: 10px; }
.mca18-pricing { padding: 76px 0; }
.mca18-pricing-head { margin-bottom: 32px; }
.mca18-pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.mca18-plan { display: flex; flex-direction: column; padding: 28px; }
.mca18-plan-kicker { color: #a3afc0; font-size: 13px; }
.mca18-plan h3 { margin: 10px 0 16px; color: #f4f6fa; font-size: 22px; font-weight: 700; line-height: 1.4; }
.mca18-price { color: #f4f6fa; font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.mca18-price small { color: #a1afc1; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.mca18-plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.mca18-plan li { position: relative; padding-left: 18px; color: #c6cdda; font-size: 15px; line-height: 1.6; }
.mca18-plan li::before { content: '✓'; position: absolute; left: 0; color: #f5b52d; }
.mca18-plan .btn-primary, .mca18-plan .btn-ghost { margin-top: auto; width: 100%; }
.mca18-popular { border-color: rgba(234,198,119,.5); position: relative; background: linear-gradient(145deg,#211e14,#10141c 60%); }
.mca18-popular-tag { position: absolute; right: 20px; top: 22px; font-size: 12px; color: #ffd04d; letter-spacing: .04em; border: 1px solid rgba(234,198,119,.3); border-radius: 6px; padding: 4px 8px; }
.mca18-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; padding: 28px 0; border-block: 1px solid var(--mca-line); }
.mca18-stats strong { display: block; color: #e5ebf3; font-size: 23px; font-weight: 700; letter-spacing: -.03em; }
.mca18-stats span { display: block; color: var(--mca-muted); font-size: 13px; margin-top: 4px; }
.mca11-faq { max-width: 820px; margin: auto; }
.mca11-faq details { padding: 0 4px; border-bottom: 1px solid var(--mca-line); }
.mca11-faq summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #dfe6ef; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.mca11-faq summary::-webkit-details-marker { display: none; }
.mca11-faq summary::after { content: '+'; font-size: 22px; color: #f5b52d; font-weight: 400; }
.mca11-faq details[open] summary::after { content: '−'; }
.mca11-faq p { margin: 0 0 24px; max-width: 720px; color: var(--mca-muted); font-size: 13px; line-height: 1.8; }
.mca11-final { padding: 0 0 64px; }
.mca11-final-card {
  max-width: 1020px; margin: auto; padding: 24px; border: 1px solid rgba(234,198,119,.28);
  border-radius: 18px; background: linear-gradient(110deg,#1d1b13,#10141c 65%);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px;
}
.mca11-final-card h2 { margin: 8px 0; font-size: clamp(21px,1.8vw,26px); line-height: 1.35; font-weight: 700; letter-spacing: -.025em; color: #f4f6fa; }
.mca11-final-card h2 span { color: #ffd04d; }
.mca11-final-card p { margin: 0; font-size: 14px; color: #a3afc0; line-height: 1.7; }
.mca11-final-card .mca11-eyebrow { font-size: 12px; }
.mca11-final-card > .btn-primary { padding-inline: 16px; font-size: 14px; }

/* Footer retains all product, support and legal destinations. */
.mca11-footer { border-top: 1px solid var(--mca-line); position: relative; z-index: 2; color: #e9eff6; font-family: 'Inter',system-ui,sans-serif; }
.mca11-footer-inner { width: min(var(--mca-max),calc(100% - 48px)); margin: auto; padding: 48px 0 36px; display: grid; grid-template-columns: 1.15fr .75fr 1fr 1.1fr; gap: 36px; }
.mca11-footer .mca11-footer-logo { display: flex; align-items: center; gap: 10px; color: #f4f6fa; font-size: 14px; font-weight: 800; letter-spacing: -.035em; }
.mca11-footer-logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mca11-footer-brand p { color: #a2acbd; font-size: 13px; line-height: 1.8; margin: 16px 0 0; max-width: 280px; }
.mca11-footer h3 { font-family: inherit; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #d9e1ec; margin: 0 0 18px; }
.mca11-footer a { display: block; color: #a3afc0; font-size: 13px; line-height: 1.7; text-decoration: none; margin-bottom: 10px; overflow-wrap: anywhere; }
.mca11-footer a:hover { color: #ffd04d; }
.mca11-footer-bottom { width: min(var(--mca-max),calc(100% - 48px)); margin: auto; display: flex; justify-content: space-between; gap: 32px; padding: 20px 0 28px; border-top: 1px solid var(--mca-line); color: #a2acbd; font-size: 13px; line-height: 1.7; }
.mca11-footer-bottom span:last-child { max-width: 650px; }


/* Working screens: document first, actions second. No business or dropdown selectors. */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.layout>*,.mca21-workspace>*,.mca21-profile-grid>*,.mca21-admin-layout>*,.mca21-chat-layout>*{min-width:0}
.card{padding:24px;margin-bottom:20px}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lbl{font-size:14px;font-weight:600;color:var(--mca-soft);line-height:1.6;margin-bottom:14px;letter-spacing:0;text-transform:none}
body.mca11-body .btn-s,body.mca11-body .toolbtn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:9px;border:1px solid var(--mca-line-strong);background:#171d28;color:var(--mca-text);font:600 14px/1.5 Inter,system-ui,sans-serif;cursor:pointer;text-align:center}
body.mca11-body .btn-s:hover,body.mca11-body .toolbtn:hover{border-color:#a99451;background:#202633}
body.mca11-body button:disabled{opacity:.55;cursor:not-allowed;transform:none}
body.mca11-body button:active{transform:translateY(1px)}
body.mca11-body .tab-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border-radius:9px;border:1px solid var(--mca-line);background:#10141c;color:var(--mca-muted);font:600 14px/1.5 Inter,system-ui,sans-serif;cursor:pointer;transition:background .18s,border-color .18s}
body.mca11-body .tab-btn.on,body.mca11-body .toolbtn.on{background:#ffd04d17;border-color:#ffd04d65;color:var(--mca-gold);box-shadow:none}
body.mca11-body .tab-btn:hover{color:var(--mca-text);border-color:#586374}
.tabrow{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.mca21-steps{display:flex;gap:32px;list-style:none;padding:0 0 24px;margin:0 0 28px;border-bottom:1px solid var(--mca-line);color:var(--mca-muted);font-size:14px}
.mca21-steps li{display:flex;gap:10px;align-items:center}
.mca21-steps span{font-size:12px;font-weight:600;color:var(--mca-gold);border:1px solid #ffd04d45;border-radius:8px;display:grid;place-items:center;width:30px;height:30px}
.mca21-analyze #txt{min-height:280px}
.mca21-analyze #txt+.row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.mca21-analyze #txt+.row .chip{min-height:44px}
.mca21-analyze #repList{max-height:640px;overflow-y:auto;scrollbar-gutter:stable}
.mca21-analyze #repList,.mca21-analyze #histScroll{scrollbar-width:thin;scrollbar-color:#626b7a transparent}
.mca21-analyze #repList::-webkit-scrollbar,.mca21-analyze #histScroll::-webkit-scrollbar{width:6px;height:6px}
.mca21-analyze #repList::-webkit-scrollbar-track,.mca21-analyze #histScroll::-webkit-scrollbar-track{background:transparent}
.mca21-analyze #repList::-webkit-scrollbar-thumb,.mca21-analyze #histScroll::-webkit-scrollbar-thumb{background:#626b7a;border:1px solid transparent;border-radius:8px}
.mca21-analyze #repList::-webkit-scrollbar-thumb:hover,.mca21-analyze #histScroll::-webkit-scrollbar-thumb:hover{background:#808b9d}
.mca21-analyze #go{width:100%}
label.dep{display:inline-flex;gap:8px;align-items:center;padding:10px 12px;min-height:44px;border:1px solid var(--mca-line);border-radius:9px;font-size:14px;color:var(--mca-soft);cursor:pointer}
label.dep.on{border-color:#ffd04d65;background:#ffd04d12;color:var(--mca-gold)}
details.refine{border:1px solid var(--mca-line);border-radius:10px;padding:0 16px;margin-bottom:20px;background:#0d1119}
details.refine summary{cursor:pointer;padding:14px 0;color:var(--mca-soft);font-size:14px}
details.refine[open]{padding-bottom:16px}
.field{margin-top:12px}
#bar{height:6px;border-radius:9px;overflow:hidden;background:#29303c;display:none;margin-top:16px}
#bar.on{display:block}
#bar i{display:block;height:100%;background:var(--mca-gold);transition:width .3s}
#cancelBtn{min-height:44px;padding:10px 14px;border-radius:9px;border:1px solid #ffa0a755;color:#ffa0a7;background:#ff697808;font-size:14px}
.rmenu button,.hmenu button{width:100%;min-height:44px;padding:10px 14px;text-align:left;font-size:14px;border:0;background:transparent;color:var(--mca-text)}
.rmenu button:hover,.hmenu button:hover{background:#ffffff0d}
@keyframes mcaIn{from{opacity:0;transform:scale(.96) translateY(-4px)}to{opacity:1;transform:none}}
/* Reading view: a restrained toolbar and a generous, readable document. */
#reportActions #lawAsk{width:100%}
#reportActions #lawLeft{flex-basis:100%;min-height:44px}
#reportActions #repList{max-height:620px;overflow-y:auto;scrollbar-gutter:stable}
#histScroll>div{overflow-wrap:anywhere}
.hdots,.rdots{min-width:44px;min-height:44px}
.rephead{margin-bottom:24px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.rephead .mca21-eyebrow{width:100%}
.rephead h1{width:100%;text-wrap:balance;font-size:36px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
#repDate{min-height:36px;min-width:112px}
#reportBody h3:first-child{min-height:44px}
.badge2{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid var(--mca-line);border-radius:7px;color:var(--mca-muted);font-size:13px}
.mca21-downloads{padding:20px}
.mca21-downloads .grid2{display:flex;gap:8px;flex-wrap:wrap}
.mca21-downloads .mca21-disclaimer{margin:8px 0 0}
.mca21-report-disclaimer{margin-top:14px;border-top:1px solid var(--mca-line)}
.mca21-report-disclaimer summary{min-height:44px;padding-top:12px;cursor:pointer;font-size:13px;color:var(--mca-muted)}
.mca21-downloads .lbl{margin-bottom:10px}
#reportBody{min-height:640px}
.rep{padding:32px;font-size:16px;line-height:1.85;color:var(--mca-soft);overflow-wrap:anywhere}
.rep h2,.rep h3{color:var(--mca-text);font-size:23px;margin:28px 0 14px;font-weight:700;line-height:1.4}
.rep h4,.rep h5{font-size:19px;margin:22px 0 10px;color:var(--mca-text)}
.rep p{margin:12px 0}
.rep ul,.rep ol{margin:16px 0;padding-left:24px;list-style:disc}
.rep li{margin:10px 0}
.rep strong,.rep b{color:var(--mca-text)}
.rep a{color:var(--mca-gold);text-decoration:underline}
.rep pre{white-space:pre-wrap;font-size:14px;background:#0b0f16;padding:16px;border-radius:10px}
.rep table{display:block;max-width:100%;overflow:auto;border-collapse:collapse;font-size:14px}
.rep th,.rep td{padding:12px;border:1px solid var(--mca-line);text-align:left;min-width:150px}
.mcaHl{background:#ffd04d25;border-bottom:2px solid var(--mca-gold);padding:0 2px;border-radius:3px}
.toolgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dlcard{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px;border:1px solid var(--mca-line);border-radius:12px;margin-bottom:12px;background:#171d28}
.dlcard .ic{font-size:24px}
.dlcard b{display:block;font-size:16px}
.dlcard span{font-size:13px;color:var(--mca-muted)}
.dlcard button{margin-left:auto}
.star{display:inline-grid;place-items:center;font-size:28px;color:#768094;padding:8px;min-width:44px;min-height:44px;cursor:pointer}
.star.on{color:var(--mca-gold)}
.modal[hidden]{display:none}
.mbox{position:relative;max-width:460px;width:100%;max-height:85vh;overflow:auto;padding:28px;border:1px solid var(--mca-line-strong);border-radius:16px;background:#10141c;box-shadow:0 24px 70px #00000055}
.mX{position:absolute;top:8px;right:8px;min-width:44px;min-height:44px;font-size:22px;color:var(--mca-muted);border:0;background:transparent}
.fixed.inset-0>.glass{max-height:85vh;overflow:auto;background:var(--mca-panel-strong)}
/* Account dashboard uses existing account data and forms. */
.mca21-workspace{display:grid;grid-template-columns:224px minmax(0,1fr);gap:28px;align-items:start}
.mca21-sidebar{padding:20px 16px;border:1px solid var(--mca-line);border-radius:14px;background:#10141c}
.mca21-sidebar nav{display:grid;gap:4px}
.mca21-sidebar .mca21-eyebrow{font-size:11px;margin:4px 8px 10px}
.mca21-sidebar .mca21-eyebrow:not(:first-child){margin-top:24px}
.mca21-sidebar a{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 12px;border-radius:9px;color:var(--mca-muted);font-size:14px;white-space:normal}
.mca21-sidebar a:hover{background:#171d28;color:var(--mca-text)}
.mca21-sidebar a[aria-current]{color:var(--mca-gold);background:#ffd04d10}
.mca21-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.mca21-profile-grid>section{padding:24px}
.mca21-profile-grid h2{font-size:19px;font-weight:700;line-height:1.5}
.mca21-account,.mca21-danger,#adminBox{grid-column:1/-1}
#meBox{min-height:84px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#meBox:empty::before{content:"Загружаем данные аккаунта…";grid-column:1/-1;align-self:center;color:var(--mca-muted);font-size:14px}
#meBox>p{margin:0;padding:14px;border:1px solid var(--mca-line);background:#171d28;border-radius:10px;overflow-wrap:anywhere;line-height:1.7;font-size:14px}
#meBox b{display:block;font-size:13px;color:var(--mca-muted);font-weight:500}
#passForm{grid-template-columns:1fr}
#passForm button{grid-column:auto}
.mca21-danger{border-color:#ffa0a735;display:block}
.mca21-danger p{max-width:700px}
.mca21-profile-grid>div,.mca21-profile-grid>button{grid-column:1/-1}
.mca21-profile-grid>button{align-self:start;margin:0;min-height:96px}
/* Legal chat: reading area, low-distraction composer, history. */
body.mca11-body .mca21-chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}
.mca21-chat-layout>section{grid-column:auto}
.mca21-chat-layout .mca21-page-heading>.flex{min-height:74px;align-content:flex-start}
#chat{min-height:440px;max-height:65vh;padding:24px;scrollbar-gutter:stable}
#chat:empty::before{content:'С чего начнём?';display:block;font:700 26px/1.4 Manrope,system-ui,sans-serif;color:var(--mca-text);margin:100px auto 16px;text-align:center}
#chat:empty::after{content:'Задайте вопрос о договоре, правах или спорной ситуации.';display:block;max-width:420px;margin:0 auto;text-align:center;color:var(--mca-muted);font-size:15px;line-height:1.7}
#chat>div{font-size:16px;line-height:1.8;overflow-wrap:anywhere}
#chat>div.bg-amber-500\/15{margin-left:8%;background:#ffd04d10;border-color:#ffd04d35}
#chat>div.glass{margin-right:8%;background:#171d28}
.mca21-composer{display:flex;flex-wrap:nowrap;gap:10px;padding:12px;border:1px solid var(--mca-line);border-radius:14px;background:#10141c;align-items:flex-end}
.mca21-composer:focus-within{border-color:#ffd04d70}
body.mca11-body .mca21-composer #q{flex:1 1 0%;width:0;min-width:0;min-height:44px;max-height:160px;padding:10px 8px;margin:0;border:0;border-radius:8px;background:transparent;color:var(--mca-text);font:inherit;font-size:16px;line-height:1.5;resize:none;overflow-y:auto}
body.mca11-body .mca21-composer #q:focus{outline:none;box-shadow:none}
body.mca11-body .mca21-composer #send,body.mca11-body .mca21-composer [data-mca-plus]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;padding:0;margin:0;border:1px solid var(--mca-line-strong);border-radius:10px;background:#171d28;color:var(--mca-soft);box-shadow:none;cursor:pointer}
body.mca11-body .mca21-composer #send{border-color:var(--mca-gold);background:var(--mca-gold);color:#17130a}
body.mca11-body .mca21-composer [data-mca-plus]:hover:not(:disabled){border-color:#9b8960;background:#202633;color:var(--mca-gold)}
body.mca11-body .mca21-composer #send:hover:not(:disabled){background:#ffdc76;border-color:#ffdc76;transform:none;box-shadow:none}
body.mca11-body .mca21-composer button:focus-visible{outline:2px solid var(--mca-gold);outline-offset:3px}
body.mca11-body .mca21-composer button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.mca21-composer svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.mca21-attachments{display:flex;gap:6px;flex-wrap:wrap;min-width:0;margin:0 0 8px}
.mca21-attachments:empty{display:none}
.mca21-attachment{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 10px;border-radius:8px;background:#171d28;border:1px solid var(--mca-line);color:var(--mca-soft);font-size:12px;overflow-wrap:anywhere}
.mca21-chat-history{padding:22px;border:1px solid var(--mca-line);border-radius:14px;background:#10141c}
.mca21-chat-history h2{font-size:18px}
#histList [data-del]{width:44px;height:44px;top:3px;right:3px;font-size:24px}
#histList [data-id]{min-height:44px}
/* Administrative workspace: concise navigation and scroll-contained data. */
.mca21-admin-layout{display:grid;grid-template-columns:208px minmax(0,1fr);gap:24px;align-items:start}
.mca21-admin-tabs{display:grid;gap:5px;padding:12px;border:1px solid var(--mca-line);border-radius:14px;background:#10141c}
.mca21-admin-tabs .tab-btn{justify-content:flex-start;text-align:left;white-space:normal;border-color:transparent;background:transparent}
.mca21-admin-content h3{font-size:18px;line-height:1.5}
.mca21-admin-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;scrollbar-gutter:stable;font-size:14px}
.mca21-admin-content th,.mca21-admin-content td{padding:12px 14px;border-bottom:1px solid var(--mca-line);text-align:left;white-space:nowrap}
#usersList>div{padding:20px;border-radius:12px}
#usersList>div>div{min-width:0;overflow-wrap:anywhere}
#usersList button{min-height:44px}
#statCards{min-height:224px;grid-template-columns:repeat(4,minmax(0,1fr))}
#statCards:empty::before{content:"Загружаем статистику…";grid-column:1/-1;align-self:center;text-align:center;color:var(--mca-muted);font-size:15px}
#statCards>div{padding:18px}
#statCards .text-3xl{font-family:Manrope,system-ui,sans-serif;font-size:30px;line-height:1.3;font-weight:700}
#regsChart,#anlsChart{min-height:170px;overflow:auto}
#topPromos{min-height:25px}
.mca21-admin-content .flex>.input{min-width:0}
/* Authentication and secondary public screens. */
.mca21-auth-layout{width:min(1080px,calc(100% - 48px));margin:64px auto 80px;display:grid;grid-template-columns:1fr 440px;gap:88px;align-items:center}
.mca21-auth-intro h2{font-size:40px;font-weight:700;margin:16px 0 24px;line-height:1.3}
.mca21-auth-intro h2 span{color:var(--mca-gold)}
.mca21-auth-intro p{font-size:17px;line-height:1.8;color:var(--mca-muted);max-width:480px}
.mca21-auth-intro ul{list-style:none;display:grid;gap:18px;margin:28px 0;padding:0;color:var(--mca-soft);font-size:15px}
.mca21-auth-intro li::before{content:'✓';color:var(--mca-gold);margin-right:12px}
.mca21-auth-intro>a{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:var(--mca-gold)}
.mca21-auth-layout>.glass{max-width:none;padding:32px}
.mca21-auth-layout h1{font-size:27px;font-weight:700;line-height:1.4}
.mca21-auth-layout form>.mca21-field-label{margin:20px 0 8px}
.mca21-auth-layout form>.mca21-field-label:first-child{margin-top:0}
.mca21-auth-layout form>.mca21-field-label+input{margin-top:0}
.mca21-auth-layout .eye{top:auto;bottom:2px;right:4px;transform:none;width:44px;height:44px;display:grid;place-items:center}
.mca21-auth-layout input[type=checkbox]{width:18px;height:18px;margin-top:3px}
.mca21-compare .grid>div{min-width:0}
.mca21-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.mca21-content-grid h2{font-size:21px;line-height:1.4}
.mca21-content-grid>div{min-width:0}
.mca21-not-found{width:min(640px,calc(100% - 48px));text-align:center;margin:52px auto 72px}
.mca21-error-code{font-family:Manrope,system-ui,sans-serif;font-size:104px;font-weight:700;line-height:1.4;letter-spacing:-.06em;color:var(--mca-gold);margin:12px 0}
.mca21-not-found h1{font-size:32px;font-weight:700;margin-bottom:16px}
.mca21-not-found p{color:var(--mca-muted);font-size:16px;margin:0 auto 24px;max-width:440px}
.mca21-not-found-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.mca21-section-description{font-size:16px;color:var(--mca-muted);max-width:580px;margin:18px 0 0;line-height:1.8}
/* Responsive geometry, without hidden overflow as a layout fix. */
@media (max-width: 1120px) {
  .mca18-links a { padding-inline: 9px; font-size: 14px; }
  .mca18-nav { gap: 12px; }
  .mca18-brand span { font-size: 13px; }
  .mca18-nav-actions { gap: 6px; }
  .mca18-nav-actions .btn-primary, .mca18-nav-actions .btn-ghost { padding-inline: 10px; font-size: 14px; }
  .mca19-hero { gap: 28px; min-height: 590px; padding-block: 54px; }
  .mca16-report-card { padding: 22px; }
  .mca11-footer-inner { gap: 24px; }
}
@media (max-width: 1190px) {
  .mca18-links,
  .mca18-nav-shell .mca18-nav-actions > a.btn-primary,
  .mca18-nav-shell .mca18-nav-actions > a.btn-ghost,
  .mca18-nav-shell .mca18-nav-actions > button.mca18-nav-logout { display: none; }
  .mca18-menu-btn { display: flex; }
  .mca18-mobile-panel.is-open { display: grid; gap: 4px; margin-top: 8px; padding: 8px; border: 1px solid var(--mca-line); border-radius: 14px; background: #10141c; }
  .mca18-mobile-panel a { min-height: 44px; padding: 10px 14px; border-radius: 8px; display: flex; align-items: center; color: #b5c1d2; font-size: 13px; text-decoration: none; }
  .mca18-mobile-panel a:hover { background: rgba(255,255,255,.04); color: #fff; }
  .mca18-mobile-panel .mca18-mobile-cta { color: #ffd04d; border-top: 1px solid var(--mca-line); }
  .mca19-hero { grid-template-columns: 1fr 1fr; gap: 20px; }
  .mca18-actions { align-items: stretch; flex-direction: column; max-width: 310px; }
  .mca18-metrics { gap: 12px; }
  .mca16-feature-layout { grid-template-columns: 1fr; }
  .mca16-report-card { padding: 28px; }
  .mca11-process-grid, .mca18-pricing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mca11-footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
  .mca11-footer-brand { grid-column: 1/-1; }
  .mca11-footer-brand p { max-width: 460px; }
  .mca11-footer-bottom { flex-direction: column; gap: 8px; }
  .mca11-final-card { grid-template-columns: 1fr; gap: 18px; }
  .mca11-final-card > .btn-primary { justify-self: start; }
}
@media (max-width: 700px) {
  .mca11-wrap, .mca19-hero, .mca18-pricing, .mca18-stats, .mca18-nav-shell, .mca11-footer-inner, .mca11-footer-bottom { width: calc(100% - 36px); }
  #mca11-nav-host { min-height: 78px; }
  #siteNav{min-height:78px}
  .mca18-nav-shell { margin-top: 10px; }
  .mca18-nav { min-height: 64px; padding: 8px 10px; border-radius: 14px; }
  .mca18-brand span { font-size: 13px; }
  .mca18-brand img { width: 36px; height: 36px; }
  .mca19-hero { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding: 40px 0 48px; }
  .mca19-title { font-size: clamp(32px,8.4vw,38px); margin: 18px 0 20px; }
  .mca19-lead { font-size: 16px; }
  .mca18-actions { max-width: none; margin-top: 24px; }
  .mca18-actions .btn-ghost { min-height: 44px; }
  .mca18-metrics { margin-top: 24px; padding-top: 18px; gap: 12px; }
  .mca18-metrics strong { font-size: 13px; }
  .mca18-metrics span { font-size: 12px; }
  .mca19-art { width: min(420px,100%); margin: auto; }
  .mca-doc-label { padding: 10px 12px; gap: 8px; }
  .mca-doc-label strong { font-size: 12px; }
  .mca-doc-label div > span { font-size: 8px; }
  .mca-doc-heading { font-size: 15px; }
  .mca-doc-subtitle { font-size: 8px; }
  .mca-doc-clause b { font-size: 7px; }
  .mca-doc-top { font-size: 6px; }
  .mca-doc-clause span { font-size: 6px; }
  .mca-doc-lines { gap: 5px; }
  .mca-doc-signature svg { height: 18px; }
  .mca11-section, .mca18-pricing { padding: 48px 0; }
  .mca11-section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  .mca11-section-head h2, .mca18-pricing-head h2 { font-size: 28px; }
  .mca16-feature-grid, .mca11-process-grid, .mca18-pricing-grid { grid-template-columns: 1fr; }
  .mca16-feature-card-wide { grid-column: auto; }
  .mca16-feature-card, .mca11-process-card, .mca18-plan, .mca16-report-card { padding: 22px; }
  .mca11-process-card h3 { margin-top: 24px; }
  .mca18-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; padding-block: 24px; }
  .mca18-stats strong { font-size: 21px; }
  .mca11-faq summary { font-size: 15px; }
  .mca11-final { padding: 0 0 40px; }
  .mca11-final-card { padding: 22px; gap: 18px; }
  .mca11-final-card h2 { font-size: 22px; }
  .mca11-final-card > .btn-primary { width: 100%; }
  .mca11-footer-inner { padding-top: 36px; gap: 28px 20px; }
  .mca11-footer-inner > div:last-child { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.mca11-body *, body.mca11-body *::before, body.mca11-body *::after { animation: none!important; transition: none!important; }
}

@media(max-width:1100px){
 .mca21-workspace{grid-template-columns:190px minmax(0,1fr);gap:20px}
 .mca21-profile-grid{grid-template-columns:1fr}
 .mca21-account,.mca21-danger,#adminBox{grid-column:auto}
 .mca21-auth-layout{gap:40px;grid-template-columns:1fr 420px}
 #statCards{min-height:448px;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 .layout,body.mca11-body .mca21-chat-layout{grid-template-columns:1fr}
 .mca21-chat-history{margin-top:8px}
 .mca21-admin-layout{grid-template-columns:1fr}
 .mca21-admin-tabs{display:flex;overflow-x:auto;gap:6px;max-width:100%;padding:8px}
 .mca21-admin-tabs .tab-btn{flex-shrink:0;white-space:nowrap}
 .mca21-content-grid{grid-template-columns:1fr}
 .mca21-auth-layout{grid-template-columns:1fr;max-width:520px;gap:32px}
 .mca21-auth-intro h2{font-size:32px}
 .mca21-auth-intro ul{display:none}
 .mca21-auth-intro p{font-size:16px}
 .mca21-auth-intro>a{display:none}
}
@media(max-width:700px){
 body.mca11-body .wrap,body.mca11-body .mca21-main{width:calc(100% - 32px);padding:32px 0 48px}
 .mca21-page-heading{margin-bottom:24px}
 .mca21-page-heading h1{font-size:30px}
 .mca21-page-heading p{font-size:15px}
 .mca21-analyze #txt+.row{grid-template-columns:1fr}
 .mca21-chat-layout .mca21-page-heading>.flex{min-height:112px}
 #repTitle{min-height:78px}
 .mca21-steps{gap:14px;font-size:12px;padding-bottom:20px;margin-bottom:24px;justify-content:space-between}
 .mca21-steps li{gap:6px;flex-wrap:wrap}
 .mca21-steps span{width:26px;height:26px;font-size:11px}
 .card{padding:20px}
 #reportActions #repList{max-height:440px}
 .mca21-downloads .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .mca21-downloads #bProto{grid-column:1/-1}
 .mca21-downloads .btn-s{font-size:13px;padding:10px 8px}
 .rep{padding:20px;font-size:16px}
 .rephead h1{font-size:30px}
 .rep h2,.rep h3{font-size:22px}
 .toolgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tabrow{gap:6px}
 .tabrow .tab-btn{font-size:13px;padding:10px}
 .grid2{grid-template-columns:1fr}
 .mca21-workspace{grid-template-columns:1fr;gap:20px}
 .mca21-sidebar{padding:12px}
 .mca21-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mca21-sidebar .mca21-eyebrow{grid-column:1/-1;margin-top:8px!important}
 .mca21-sidebar a{font-size:13px;padding:10px;align-items:flex-start}
 .mca21-profile-grid>section{padding:20px}
 #meBox{grid-template-columns:1fr;min-height:246px}
 #chat{min-height:340px;padding:16px;max-height:62vh}
 #chat:empty::before{font-size:24px;margin-top:80px}
 #chat:empty::after{font-size:14px}
 .mca21-composer{gap:8px;padding:8px}
 .mca21-chat-history{padding:20px}
 .mca21-auth-layout{width:calc(100% - 32px);margin:32px auto 48px;gap:24px}
 .mca21-auth-layout>.glass{padding:24px}
 .mca21-auth-intro h2{font-size:28px;margin:12px 0 16px}
 .mca21-auth-intro p{font-size:15px}
 .mca21-auth-layout h1{font-size:25px}
 body.mca11-body .legal{width:calc(100% - 36px);padding:32px 0 48px}
 body.mca11-body .legal h1{font-size:30px}
 .mca21-not-found{margin:36px auto 52px}
 .mca21-error-code{font-size:88px}
 .mca21-not-found h1{font-size:28px}
 #usersList .flex{flex-wrap:wrap}
 #statCards>div{padding:14px}
}
@media(max-width:380px){
 .mca18-brand span{font-size:12px}
 .mca18-brand{gap:6px}
 .mca18-nav{gap:8px;padding:8px}
 .mca19-title{font-size:32px}
 .mca18-metrics{grid-template-columns:1fr;gap:10px}
 .mca18-metrics>div{display:flex;gap:8px;align-items:baseline}
 .mca18-metrics span{margin:0}
 .mca18-popular-tag{position:static;align-self:flex-start;margin-bottom:12px}
 .mca21-steps{gap:8px;font-size:11px}
 #statCards{min-height:860px;grid-template-columns:1fr}
 .mca21-not-found-actions>a{width:100%}
 .mca11-footer-inner{grid-template-columns:1fr}
}
