.mtc-models-menu { display:flex; align-items:stretch; position:static; }
.mtc-models-expand { padding-inline:.25rem; cursor:pointer; color:var(--foreground); }
.mtc-models-dropdown { position:absolute; top:100%; left:50%; transform:translateX(-50%); width:min(1000px,calc(100vw - 32px)); max-height:calc(100svh - var(--mtc-nav-height,64px) - 24px); overflow:auto; background:var(--popover); color:var(--popover-foreground); border:1px solid var(--border); padding:1.25rem; box-shadow:0 15px 40px #0003; backdrop-filter:blur(20px); }
html[data-design="mtc"] header .mtc-models-dropdown { --foreground:var(--popover-foreground); --muted-foreground:#626970; --primary:var(--popover-foreground); --primary-foreground:var(--popover); --secondary:var(--muted); }
html[data-design="mtc"].dark header .mtc-models-dropdown { --muted-foreground:#b7bbc0; }
html[data-design="mtc"] .mtc-section-tabs .mtc-models-dropdown a { text-transform:none; letter-spacing:normal; white-space:normal; border:0; padding:0; font-size:inherit; color:inherit; }
html[data-design="mtc"] .mtc-section-tabs .mtc-models-dropdown .mtc-all-models { display:block; padding:0 0 1rem; font-size:.85rem; }
.mtc-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
html[data-design="mtc"] .mtc-category-card,html[data-design="mtc"] .mtc-section-tabs .mtc-models-dropdown .mtc-category-card { display:grid; grid-template-columns:40% minmax(0,1fr); background:var(--card); color:var(--card-foreground); border:1px solid var(--border); min-height:160px; overflow:hidden; text-decoration:none; font-weight:400; }
.mtc-category-card:hover { outline:1px solid var(--ring); outline-offset:-1px; }
.mtc-card-preview { position:relative; min-height:160px; background:var(--secondary); overflow:hidden; }
.mtc-card-preview img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 1s; }
.mtc-card-preview img.is-active { opacity:1; }
.mtc-preview-empty { height:100%; min-height:160px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:.5rem; color:var(--muted-foreground); font-size:.75rem; font-weight:400; }
.mtc-category-copy { padding:1.25rem; min-width:0; }
html[data-design="mtc"] .mtc-category-copy h3 { font-size:.9rem; letter-spacing:.06rem; margin-bottom:.6rem; }
.mtc-category-copy p { font-size:.85rem; line-height:1.7; font-weight:400; margin-bottom:.5rem; }
.mtc-category-copy small { color:var(--muted-foreground); font-size:.75rem; }
.mtc-model-dashboard { max-width:1280px; margin:auto; padding:calc(var(--mtc-nav-height,64px) + 2rem) 2rem 3rem; }
.mtc-top-header + main:not(:has(.world-map-svg)):has(.mtc-model-dashboard) { padding-top:0; }
.mtc-model-dashboard > h1 { font-size:clamp(1.8rem,4vw,3.5rem); margin-bottom:1rem; }
.mtc-section-description { max-width:760px; margin-bottom:2rem; color:var(--muted-foreground); }
.mtc-model-search { display:flex; align-items:center; flex-wrap:wrap; gap:1rem; margin-block:2.5rem 1.5rem; }
.mtc-model-search input { flex:1; min-width:180px; background:var(--input-background); border:1px solid var(--border); padding:.75rem; color:var(--foreground); }
.mtc-model-results { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.mtc-model-result { border:1px solid var(--border); background:var(--card); overflow:hidden; }
.mtc-model-result img,.mtc-result-empty { width:100%; aspect-ratio:16/9; object-fit:cover; background:var(--secondary); }
.mtc-result-empty { display:grid; place-items:center; font-size:3rem; color:var(--muted-foreground); }
html[data-design="mtc"] .mtc-model-result h2 { font-size:1rem; margin:1rem 1rem .25rem; }
.mtc-model-result p { margin:0 1rem 1rem; color:var(--muted-foreground); }
.mtc-pagination { display:flex; justify-content:center; gap:1rem; margin-top:2rem; }
.mtc-pagination button,.mtc-admin-actions button,.mtc-admin-card button { border:1px solid var(--border); padding:.5rem .75rem; cursor:pointer; }
button:disabled { opacity:.5; cursor:not-allowed; }
.mtc-map-landing { position:relative; min-height:100svh; overflow:hidden; background:var(--background); }
html[data-design="mtc"] .mtc-top-header + main > .mtc-map-landing { padding-top:0; }
.mtc-map-landing > svg { position:absolute; inset:0; width:100%; height:100%; }
.mtc-map-landing .world-map-country { cursor:pointer; }
.mtc-map-landing .world-map-country:focus-visible { fill:var(--world-map-hot-fill); stroke:var(--world-map-hot-stroke); stroke-width:2; outline:none; }
.mtc-country-card { position:absolute; z-index:5; right:2rem; top:calc(var(--mtc-nav-height,64px) + 2rem); width:min(640px,calc(100vw - 4rem)); display:grid; grid-template-columns:42% minmax(0,1fr); border:1px solid var(--border); background:var(--popover); color:var(--popover-foreground); box-shadow:0 10px 40px #0003; }
html[data-design="mtc"] .mtc-country-card h2 { font-size:1.1rem; padding-right:1.5rem; margin-bottom:.75rem; }
.mtc-country-card .mtc-category-copy { position:relative; }
.mtc-close-card { position:absolute; top:.5rem; right:.5rem; width:32px; height:32px; cursor:pointer; font-size:1.5rem; }
.mtc-register-link { display:inline-block; background:var(--primary); color:var(--primary-foreground); padding:.6rem 1rem; font-size:.8rem; margin-top:.5rem; }
.mtc-admin-actions { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; margin-block:1.5rem; }
.mtc-admin-card { border:1px solid var(--border); padding:1.5rem; margin-block:1.5rem; display:grid; gap:1rem; }
.mtc-admin-card label { display:grid; gap:.35rem; font-size:.9rem; }
.mtc-admin-card :is(input,textarea,select) { background:var(--input-background); border:1px solid var(--border); color:var(--foreground); padding:.6rem; width:100%; }
.mtc-admin-card textarea { min-height:90px; }
.mtc-admin-images { display:flex; flex-wrap:wrap; gap:1rem; }
.mtc-admin-images img { width:140px; height:90px; object-fit:cover; }
.mtc-admin-images button { display:block; }
@media(max-width:736px) {
 .mtc-category-grid { grid-template-columns:1fr; }
 .mtc-models-dropdown { padding:.75rem; }
 .mtc-model-dashboard { padding:calc(var(--mtc-nav-height,112px) + 1.5rem) 1rem 2rem; }
 .mtc-model-results { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
 .mtc-country-card { right:1rem; width:calc(100vw - 2rem); top:calc(var(--mtc-nav-height,112px) + 1rem); max-height:calc(100svh - var(--mtc-nav-height,112px) - 2rem); overflow:auto; }
 .mtc-country-card { grid-template-columns:1fr; }
 .mtc-country-card .mtc-card-preview { min-height:150px; }
 .mtc-models-menu > a { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) { .mtc-card-preview img { transition:none; } }
