.md-easy-view[hidden], .dashboard-main[hidden] { display:none!important; }
html:root body.dashboard-page.md-easy-active { --md-sidebar-width:0px; --header-h:0px; }
html:root body.dashboard-page.md-easy-active::after,
html:root body.dashboard-page.md-easy-active .brand-watermark { inset:0; }
.md-easy-view { min-height:100dvh; display:grid; align-items:center; padding:76px clamp(20px,5vw,80px); }
.md-easy-view .md-easy { margin:0 auto; }
html:root body .md-settings-trigger {position:fixed;right:24px;bottom:max(20px,env(safe-area-inset-bottom));z-index:40;display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--border);border-radius:50%;background:var(--card);color:var(--foreground);cursor:pointer;box-shadow:0 3px 12px #0000000a;}
.md-settings-trigger svg {width:22px;height:22px;}
.md-settings-trigger:focus-visible {outline:2px solid var(--ring);outline-offset:3px;}
@media(max-width:900px) {.md-settings-trigger {right:16px;}.md-easy-view {padding:36px 16px 96px;}}

.md-easy { width:min(100%,880px); color:var(--ink); }
.md-easy-intro { display:flex; align-items:center; justify-content:center; gap:15px; margin:0 0 36px; }
.md-easy-intro img { width:42px; height:46px; flex:none; object-fit:contain; }
html:root body .md-easy-intro h1 { font-family:var(--font-editorial); font-size:36px; line-height:1.35; font-weight:400; letter-spacing:0; margin:0; }
.md-easy-composer { border:1px solid var(--line); background:var(--card,var(--bg)); border-radius:17px; padding:18px 20px; box-shadow:var(--md-shadow-composer); transition:border-color .16s,box-shadow .16s; }
.md-easy-composer:focus-within { border-color:var(--input); box-shadow:var(--md-shadow-composer),0 0 0 1px var(--input); }
.md-easy-fields { display:grid; grid-template-columns:1fr; gap:16px; min-height:68px; }
.md-easy-fields.is-name { grid-template-columns:repeat(3,minmax(0,1fr)); }
.md-easy-fields label { display:block; min-width:0; position:relative; }
html:root body .md-easy-fields input { width:100%; min-width:0; height:64px; border:0; border-radius:6px; background:transparent; color:var(--ink); padding:4px 2px; font:inherit; font-size:18px; box-shadow:none; }
.md-easy-fields input::placeholder { color:var(--muted-foreground,var(--ink-2)); opacity:.85; }
html:root body.dashboard-page .md-easy-fields input:is(:focus,:focus-visible) { outline:none; box-shadow:none; }
.md-easy-composer-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:14px; }
.md-easy-modes { border:0; padding:3px; margin:0; display:flex; width:fit-content; gap:2px; background:color-mix(in srgb,var(--ink) 3%,transparent); border-radius:7px; }
.md-easy-modes label { position:relative; cursor:pointer; }
/* Keep native radios accessible without exposing them when global disabled styles apply. */
html:root body .md-easy-modes input[type=radio] { position:absolute; opacity:0; width:1px; height:1px; padding:0; margin:-1px; border:0; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; }
.md-easy-modes label>span { display:flex; align-items:center; gap:7px; padding:10px 13px; border:1px solid transparent; border-radius:5px; color:var(--muted-foreground); font-size:14px; }
.md-easy svg { width:17px; height:17px; flex-shrink:0; }
.md-easy-modes input:checked+span { background:var(--card); border-color:var(--border); color:var(--foreground); box-shadow:0 1px 3px #00000012; }
.md-easy-modes label>span { transition:background-color .16s,color .16s,box-shadow .16s; }
.md-easy-modes label:hover>span { color:var(--foreground); }
.md-easy-modes input:focus-visible+span { outline:2px solid var(--accent); outline-offset:2px; }
.md-easy-modes input:disabled+span { cursor:wait; opacity:.6; }
.md-easy-submit { display:grid; place-items:center; flex:none; width:46px; height:46px; padding:0; border:0; border-radius:8px; background:var(--accent); color:var(--primary-foreground); cursor:pointer; transition:filter .15s,transform .15s; }
.md-easy-submit svg { width:24px; height:24px; }
.md-easy-submit:hover { filter:brightness(1.1); }
.md-easy-submit:active { transform:scale(.94); }
.md-easy-submit:disabled { opacity:.5; cursor:wait; }
html:root body #easy-form[aria-busy=true] .md-easy-submit:disabled { opacity:1; cursor:progress; transform:none; }
.md-easy-submit:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.md-easy [hidden] { display:none!important; }
.md-easy-result-note { margin:0 0 16px; font-size:12px; color:var(--muted-foreground); }
.md-easy-detail { padding:24px; }
.md-easy-detail h3 { font-size:22px; margin:0 0 18px; }
.md-easy-detail p { line-height:1.8; }
@media(max-width:520px) {
  .md-easy-intro { gap:9px; margin-bottom:20px; }
  html:root body .md-easy-intro h1 { font-size:27px; text-wrap:balance; }
  .md-easy-intro img { width:34px; height:40px; }
  .md-easy-composer { padding:14px; }
  .md-easy-fields.is-name { grid-template-columns:1fr; gap:2px; }
  html:root body .md-easy-fields.is-name input { height:48px; }
  .md-easy-composer-foot { gap:6px; }
  .md-easy-modes svg { width:14px; height:14px; }
  .md-easy-modes label>span { padding:9px 6px; font-size:12px; gap:4px; }
}
@media(prefers-reduced-motion:reduce) { .md-easy-submit { transition:none; } }

@media(max-width:360px) { .md-easy-modes svg { display:none; } }

.md-easy-composer { position:relative; overflow:hidden; }
/* The shared loading reset is static; this small search indicator is an explicit exception. */
@media(prefers-reduced-motion:no-preference) {
  html:root body #easy-form[aria-busy=true] .md-easy-spin { animation:md-easy-spin .8s linear infinite!important; }
}
@keyframes md-easy-spin { to { transform:rotate(360deg); } }
.md-easy-preview { text-align:center; font-size:12px; color:var(--muted-foreground); margin:16px 0 0; line-height:1.6; }
.md-easy-preview:empty { display:none; }
.md-easy-preview button { color:var(--accent); cursor:pointer; text-decoration:underline; }
.md-easy-candidates { display:grid; max-height:45dvh; overflow:auto; }
.md-easy-candidates button { display:flex; justify-content:space-between; align-items:center; gap:12px; width:100%; padding:16px 8px; border:0; border-bottom:1px solid var(--line); background:transparent; color:var(--ink); text-align:left; cursor:pointer; }
.md-easy-candidates strong { min-width:0; overflow-wrap:anywhere; }
.md-easy-candidates span { flex:none; font-size:12px; }
.md-easy-candidates button:hover { background:color-mix(in srgb,var(--accent) 6%,transparent); }
.md-easy-result-note[role=alert] { color:var(--destructive,#b33c2b); }
@media(prefers-reduced-motion:reduce) { .md-easy-spin { animation-duration:2s; } }
