/* PAISADATA's compact layout, adapted to Manodata's identity and disabled preview. */
html:root body .md-easy-view {padding:80px 24px 120px;}
html:root body .md-easy {width:min(100%,940px);}
html:root body .md-easy-intro {gap:16px;margin-bottom:32px;}
html:root body.dashboard-page .md-easy-intro h1 {font-size:44px;line-height:1.2;}
html:root body .md-easy-balance {font-size:13px;line-height:20px;margin-bottom:24px;background:transparent;}
.md-easy-reference {
  padding:20px;border:1px solid var(--input);border-radius:16px;background:var(--card);
  box-shadow:0 10px 30px #0000000d,0 2px 6px #00000008;
}
.md-reference-fields {display:grid;grid-template-columns:minmax(0,1fr);gap:20px;min-height:68px;margin-bottom:20px;}
.md-reference-fields[hidden] {display:none;}
.md-reference-fields label {display:flex;flex-direction:column;gap:4px;min-width:0;}
.md-reference-fields label>span {font-size:12px;color:var(--muted-foreground);}
.md-reference-names {grid-template-columns:repeat(3,minmax(0,1fr));}
html:root body.dashboard-page .md-reference-fields input {
  width:100%;min-width:0;height:48px;min-height:48px;padding:4px 2px;
  border:0;border-radius:0;background:transparent;color:var(--foreground);
  font:inherit;font-size:20px;box-shadow:none;opacity:1;cursor:default;
}
.md-reference-fields input::placeholder {color:var(--muted-foreground);opacity:.8;}
html:root body.dashboard-page .md-reference-names input {font-size:16px;border-bottom:1px solid var(--border);}
.md-reference-toolbar {display:flex;align-items:center;justify-content:space-between;gap:16px;}
.md-reference-modes {display:flex;gap:4px;min-width:0;margin:0;padding:3px;border:0;border-radius:8px;background:var(--ui-muted);}
.md-reference-modes label {position:relative;min-width:0;cursor:pointer;}
.md-reference-modes input {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);}
.md-reference-modes label>span {
  display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 10px;
  border:1px solid transparent;border-radius:6px;color:var(--muted-foreground);
  font-size:14px;line-height:20px;transition:background-color 160ms ease,color 160ms ease;
}
.md-reference-modes svg {width:17px;height:17px;flex:none;}
.md-reference-modes input:checked+span {color:var(--foreground);background:var(--card);border-color:var(--border);box-shadow:0 1px 3px #00000014;}
.md-reference-modes input:focus-visible+span {outline:2px solid var(--ring);outline-offset:2px;}
.md-reference-submit {display:grid;place-items:center;width:44px;height:44px;flex:none;padding:0;border:0;border-radius:8px;background:var(--ui-muted);color:var(--muted-foreground);opacity:1;}
.md-reference-submit svg {width:22px;height:22px;}
html:root body .md-easy-unavailable {max-width:none;padding:18px 0 0;border:0;background:transparent;text-align:center;}
html:root body .md-easy-unavailable h2 {font-size:15px;line-height:1.4;margin-bottom:6px;font-weight:600;}
html:root body .md-easy-unavailable p {font-size:13px;line-height:1.5;margin-bottom:14px;}
@media(max-width:600px) {
  html:root body .md-easy-view {padding:64px 16px 100px;}
  html:root body .md-easy-intro {gap:12px;margin-bottom:28px;}
  html:root body.dashboard-page .md-easy-intro h1 {font-size:30px;line-height:1.25;}
  html:root body .md-easy-intro img {width:30px;height:36px;}
  .md-easy-reference {padding:16px;border-radius:12px;}
  .md-reference-fields {min-height:76px;margin-bottom:16px;}
  .md-reference-names {grid-template-columns:1fr;gap:14px;}
  html:root body.dashboard-page .md-reference-fields input {font-size:18px;}
  .md-reference-toolbar {gap:8px;}
  .md-reference-modes {flex:1;display:grid;grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr));gap:0;}
  .md-reference-modes label>span {min-height:44px;padding:8px 4px;font-size:12px;}
  .md-reference-modes svg {display:none;}
}
/* The mobile dashboard locks the body; the easy view owns its scrolling. */
@media(max-width:900px) {
  html:root body.dashboard-page .md-easy-view {
    height:100dvh;min-height:0;overflow-y:auto;overflow-x:hidden;
    overscroll-behavior-y:contain;align-items:start;
    padding-bottom:calc(100px + env(safe-area-inset-bottom));
  }
}
.md-easy-receipts {display:flex;align-items:center;justify-content:center;gap:8px;margin:22px auto 0;padding:12px;max-width:100%;width:fit-content;color:var(--muted-foreground);font-size:14px;text-decoration:none;text-align:center;border-radius:8px;}
.md-easy-receipts:hover {color:var(--foreground);background:var(--card);}
.md-easy-receipts:focus-visible {outline:2px solid var(--ring);outline-offset:2px;}
@media(prefers-reduced-motion:reduce) {.md-reference-modes label>span {transition:none;}}
