.directory-home-shell.directory-tools-shell:has(> .model-check-page) > .directory-topbar { position: relative; flex-shrink: 0; }
.model-check-page { flex: 1; min-height: 0; overflow-y: auto; background: var(--paper, #f6f8f6); color: var(--ink, #23392d); }
.mc-official-card .mc-card-logo { color: var(--teal); background: var(--ui-accent-soft, var(--paper)); }
.mc-official-card .directory-card-title .mc-card-official { display: flex; align-items: center; gap: 4px; color: var(--teal); font-family: inherit; font-size: 10px; margin-top: 5px; }
.mc-official-card .directory-card-action { display: flex; align-items: center; gap: 3px; color: var(--teal); }
.mc-wrap { width: min(100%, 1080px); margin: 0 auto; padding: 30px 32px 52px; }
.mc-back { display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--muted); text-decoration: none; font-size: 13px; transition: color .15s; }
.mc-back:hover { color: var(--teal); }
.mc-page-heading { margin: 22px 0 25px; }
.mc-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.mc-title-row h1 { margin: 0; font-size: 27px; line-height: 1.35; font-weight: 650; letter-spacing: -.7px; }
.mc-official { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 5px; padding: 4px 7px; color: var(--teal); background: var(--ui-accent-soft, var(--card)); font-size: 11px; line-height: 1.2; white-space: nowrap; }
.mc-page-heading > p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.mc-workspace { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 22px; align-items: start; }
.mc-form-panel, .mc-results { border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.mc-form-panel { padding: 24px; }
.mc-panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 12px; }
.mc-panel-heading h2 { margin: 0; font-size: 16px; font-weight: 600; }
.mc-panel-heading > span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.mc-field { display: flex; flex-direction: column; margin-bottom: 20px; gap: 8px; }
.mc-field > span { font-size: 12px; font-weight: 550; }
.mc-field input { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--ui-field, var(--paper)); color: var(--ink); font: inherit; font-size: 13px; line-height: 20px; outline: none; transition: border-color .15s, box-shadow .15s; }
.mc-field input::placeholder { color: var(--muted); opacity: .8; }
.mc-field input:focus { border-color: var(--ui-focus, var(--teal)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal) 12%, transparent); }
.mc-field input:disabled { opacity: .6; }
.mc-field > small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.mc-key-input { position: relative; display: flex; }
.mc-key-input input { padding-right: 42px; }
.mc-key-input button { position: absolute; top: 1px; bottom: 1px; right: 2px; width: 38px; display: grid; place-items: center; color: var(--muted); border: none; background: transparent; border-radius: 6px; cursor: pointer; }
.mc-key-input button:hover { color: var(--teal); }
.mc-key-note { display: flex; align-items: flex-start; gap: 6px; color: var(--muted); font-size: 11px; line-height: 1.6; margin: -2px 0 20px; }
.mc-key-note svg { flex-shrink: 0; margin-top: 2px; }
.mc-start { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; padding: 11px 14px; border-radius: 7px; background: var(--ui-primary, #2e6b50); color: var(--ui-on-primary, #fff); font: inherit; font-size: 13px; line-height: 20px; font-weight: 550; cursor: pointer; transition: background .15s; }
.mc-start:hover:not(:disabled) { background: var(--ui-primary-hover, #25583f); }
.mc-start:disabled { opacity: .75; cursor: default; }
.mc-start .loading-spinner { color: inherit; }
.mc-cost-note { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.mc-error { display: flex; align-items: flex-start; gap: 7px; padding: 10px; margin: 0 0 16px; border: 1px solid color-mix(in srgb, #c26742 35%, var(--line)); border-radius: 7px; background: color-mix(in srgb, #c26742 7%, transparent); color: var(--ink); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.mc-error svg { flex-shrink: 0; color: #c26742; margin-top: 2px; }
.mc-verification { margin-bottom: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.mc-verification > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: 11px; }
.mc-verification > div:first-child > button { padding: 2px 0; border: none; background: transparent; color: var(--teal); font: inherit; cursor: pointer; }
.mc-verification .human-verification { margin: 0; }
.mc-results { padding: 25px; }
.mc-results-empty { min-height: 446px; }
.mc-empty-icon { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 19px; border-radius: 12px; color: var(--teal); background: var(--ui-accent-soft, var(--paper)); }
.mc-results h2 { font-size: 17px; font-weight: 600; line-height: 1.55; margin: 0; }
.mc-results-empty > p { margin: 9px 0 23px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.mc-method-list { display: grid; gap: 19px; }
.mc-method-list > div { display: flex; align-items: flex-start; gap: 11px; }
.mc-method-list > div > svg { margin-top: 1px; flex-shrink: 0; color: var(--teal); }
.mc-method-list strong, .mc-method-list small { display: block; }
.mc-method-list strong { font-size: 12px; font-weight: 550; line-height: 1.65; }
.mc-method-list small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.mc-limit-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 26px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); }
.mc-limit-note svg { flex-shrink: 0; margin-top: 1px; }
.mc-limit-note p { margin: 0; font-size: 11px; line-height: 1.8; }
.mc-results-pending { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 446px; }
.mc-results-pending > .loading-spinner { color: var(--teal); margin-bottom: 21px; }
.mc-results-pending h2 { font-size: 16px; }
.mc-results-pending > p { color: var(--muted); font-size: 12px; text-align: center; line-height: 1.8; }
.mc-progress-track { width: 140px; height: 3px; overflow: hidden; margin-top: 16px; border-radius: 3px; background: var(--line); }
.mc-progress-track span { display: block; width: 45%; height: 100%; border-radius: inherit; background: var(--teal); animation: mc-progress 1.8s ease-in-out infinite alternate; }
@keyframes mc-progress { from { transform: translateX(-15%); } to { transform: translateX(140%); } }
.mc-report-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; color: var(--muted); font-size: 11px; }
.mc-quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; white-space: nowrap; }
.mc-quiet-button:hover { color: var(--teal); border-color: var(--teal); }
.mc-verdict { display: flex; align-items: flex-start; gap: 10px; }
.mc-verdict > svg { flex-shrink: 0; color: var(--teal); margin-top: 1px; }
.mc-report-warning .mc-verdict > svg, .mc-report-inconclusive .mc-verdict > svg { color: #c58b42; }
.mc-report-summary { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 12px 0 0; overflow-wrap: anywhere; }
.mc-report-meta { margin: 19px 0; padding: 13px; display: grid; gap: 9px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; font-size: 11px; }
.mc-report-meta > div { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 10px; line-height: 1.65; }
.mc-report-meta dt { color: var(--muted); }
.mc-report-meta dd { margin: 0; overflow-wrap: anywhere; }
.mc-checks { display: grid; gap: 17px; }
.mc-check-title { display: flex; align-items: center; gap: 7px; }
.mc-check-symbol { display: flex; color: var(--muted); }
.mc-check-pass .mc-check-symbol { color: var(--teal); }
.mc-check-warning .mc-check-symbol, .mc-check-fail .mc-check-symbol { color: #c58b42; }
.mc-check h3 { margin: 0; font-size: 12px; line-height: 1.5; font-weight: 550; }
.mc-check-status { margin-left: auto; color: var(--muted); font-size: 10px; white-space: nowrap; }
.mc-check > p { margin: 6px 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.mc-check > small { display: block; margin: 5px 0 0 22px; color: var(--muted); font-size: 10px; }
.model-check-page :is(a, button, input):focus-visible { outline: 2px solid var(--ui-focus, var(--teal)); outline-offset: 3px; }
.mc-method-details { margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.mc-method-details summary { width: fit-content; cursor: pointer; }
.mc-method-details p { margin: 9px 0 0; max-width: 700px; }
.mc-method-details a { color: var(--teal); text-underline-offset: 3px; }
@media (max-width: 800px) { .mc-wrap { padding: 25px 22px 40px; } .mc-workspace { gap: 16px; } .mc-form-panel, .mc-results { padding: 20px; } }
@media (max-width: 640px) { .mc-wrap { padding: 20px 16px calc(var(--mobile-nav-height, 0px) + 25px); } .mc-page-heading { margin: 20px 0; } .mc-title-row { gap: 10px; } .mc-title-row h1 { font-size: 24px; } .mc-workspace { grid-template-columns: minmax(0, 1fr); } .mc-results-empty, .mc-results-pending { min-height: 0; } .mc-results-pending { padding: 40px 20px; } .mc-field input { font-size: 16px; } .mc-panel-heading { margin-bottom: 22px; } }
@media (prefers-reduced-motion: reduce) { .model-check-page *, .model-check-page *::before, .model-check-page *::after { transition: none !important; } .mc-progress-track span { animation: none; width: 100%; opacity: .6; } }

.human-verification { display: grid; gap: 8px; min-width: 0; width: 100%; color: var(--ink, #233840); font-size: 13px; }
.human-verification-label { font-size: 13px; }
.human-verification-widget { min-width: 0; width: 100%; min-height: 65px; }
.human-verification-widget.compact { min-height: 140px; }
.human-verification-status { display: flex; align-items: center; min-height: 24px; margin: 0; color: #627982; font-size: 12px; line-height: 1.6; }
.human-verification-error { display: grid; justify-items: start; gap: 8px; }
.human-verification-error p { margin: 0; color: #a83434; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.human-verification-error button { padding: 6px 10px; border: 1px solid #c1d4da; border-radius: 5px; background: transparent; color: #216b80; font: inherit; cursor: pointer; }
.human-verification-error button:focus-visible { outline: 2px solid #28768a; outline-offset: 3px; }
.human-verification-image-controls { display: grid; grid-template-columns: minmax(0, 1fr) 108px; gap: 8px; }
.human-verification-image-controls input { min-width: 0; width: 100%; padding: 11px 12px; border: 1px solid var(--line, #dce5e7); border-radius: 5px; background: var(--card, #fff); color: inherit; font: inherit; }
.human-verification-image-controls button { display: grid; place-items: center; width: 108px; height: 44px; padding: 0; overflow: hidden; border: 1px solid var(--line, #dce5e7); border-radius: 5px; background: var(--card, #fff); color: inherit; font: inherit; cursor: pointer; }
.human-verification-image-controls button:disabled { cursor: wait; opacity: .65; }
.human-verification-image-controls img { display: block; width: 100%; height: 100%; object-fit: contain; }
[data-theme="dark"] .human-verification-status { color: #b1c5bf; }
[data-theme="dark"] .human-verification-error p { color: #ffb3b3; }
[data-theme="dark"] .human-verification-error button { color: #a5d8e4; border-color: #4b8a9a; }

.loading-spinner { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; color: currentColor; vertical-align: middle; }
.loading-spinner > svg { display: block; animation: loading-spinner-rotate .8s linear infinite; }
@keyframes loading-spinner-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading-spinner > svg { animation-duration: 1.8s; } }
