/* Status: experimental · Path: mesids index.html — 화면 전용 스타일. */
:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #4b5563;
  --line: #d1d5db;
  --surface: #ffffff;
  --brand: #1d4ed8;
  --brand-soft: #eff6ff;
  --focus: #b45309;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f8fafc; color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; }
.layout { max-width: 56rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.masthead { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--line); }
.brand { color: var(--brand); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.masthead-note { color: var(--muted); }
h1 { font-size: 1.5rem; margin: 1.75rem 0 .5rem; }
h2 { font-size: 1.15rem; margin: 0 0 .75rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.footer { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: .6rem; padding: 1rem 1.15rem; margin: 1rem 0; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.app-list { list-style: none; margin: 0; padding: 0; }
.badge { display: inline-block; padding: .15rem .55rem; border-radius: 1rem; background: var(--brand-soft); color: var(--brand); font-size: .85rem; font-weight: 600; }
a { color: var(--brand); }
.btn, button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .9rem; border: 1px solid var(--brand); border-radius: .4rem; background: var(--surface); color: var(--brand); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover, button:hover { background: var(--brand-soft); }
.btn--primary { background: var(--brand); color: #ffffff; }
.btn--primary:hover { background: #1e40af; }
.btn:disabled, button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
input[type="file"] { max-width: 100%; font: inherit; padding: .35rem 0; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.status { margin: 1rem 0; padding: .6rem .8rem; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: .25rem; }
.status[hidden] { display: none; }
@media (max-width: 40rem) {
  .layout { padding: 1rem .75rem 2rem; }
  .field, .actions { align-items: stretch; flex-direction: column; }
  .field button, .actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
