












:root {
  --mw-ink: #1f2430;
  --mw-ink-soft: #565f73;
  --mw-paper: #f4f5f7;
  --mw-surface: #ffffff;
  --mw-surface-sunken: #f7f8fb;
  --mw-line: #e4e6ee;



  --mw-line-strong: #b8bdcd;
  --mw-accent: #2f5fda;
  --mw-accent-ink: #1d3faa;
  --mw-accent-soft: #eef1fa;
  --mw-good: #1e824c;
  --mw-good-ink: #1a7346;
  --mw-good-soft: #e6f6ea;
  --mw-warn: #a67c00;
  --mw-warn-ink: #8a6100;
  --mw-warn-soft: #fff8e1;
  --mw-bad: #c0392b;
  --mw-bad-ink: #b0322a;
  --mw-bad-soft: #fdecea;
  --mw-danger: #d0342c;
  --mw-danger-ink: #c0322a;
  --mw-neutral: #666666;
  --mw-neutral-soft: #eeeeee;












  --mw-chart-done: #436cc8;
  --mw-chart-review: #49a49a;
  --mw-chart-working: #b5bfcc;
  --mw-chart-transfer: #98578f;
  --mw-chart-reject: #e16b5e;
  --mw-chart-hold: #d7a949;








  --mw-chart-duplicate: #5f6878;



  --mw-chart-ink-dark: #1f2430;



  --mw-chart-review-ink: #0d7168;
  --mw-chart-transfer-ink: #8a2080;












  --mw-muted: #626976;


  --mw-sidebar: #101728;
  --mw-sidebar-ink: #ffffff;
  --mw-nav-ink: #97a3c0;
  --mw-nav-hover: rgba(255, 255, 255, .07);
  --mw-nav-active: rgba(122, 160, 255, .15);
  --mw-nav-accent: #7aa0ff;
  --mw-nav-sep: rgba(255, 255, 255, .09);
  --mw-nav-label: #5f6d90;
  --mw-shadow: 0 1px 3px rgba(20, 24, 34, .07);
  --mw-shadow-lift: 0 8px 24px -16px rgba(20, 24, 34, .45);
  --mw-serif: Iowan Old Style, Palatino Linotype, "Noto Serif KR", Georgia, serif;
  --mw-mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;

  --mw-ease: cubic-bezier(.22, .61, .36, 1);
  --mw-dur: .22s;
  --mw-dur-slow: .42s;
  color-scheme: light;
}



:root[data-theme="dark"] {
  --mw-ink: #e9edf5;
  --mw-ink-soft: #b0b9ca;
  --mw-paper: #0a0d13;
  --mw-surface: #131822;
  --mw-surface-sunken: #0f141d;
  --mw-line: #212938;
  --mw-line-strong: #394559;
  --mw-accent: #3f6fe0;
  --mw-accent-ink: #a8c2ff;
  --mw-accent-soft: #17203a;
  --mw-good: #1e824c;
  --mw-good-ink: #5cc394;
  --mw-good-soft: #10281f;
  --mw-warn: #97700a;
  --mw-warn-ink: #d8a94a;
  --mw-warn-soft: #2a2213;
  --mw-bad: #b8382c;
  --mw-bad-ink: #e08b81;
  --mw-bad-soft: #2c1a18;
  --mw-danger: #c2352b;
  --mw-danger-ink: #e0736a;
  --mw-neutral: #9aa3b2;
  --mw-neutral-soft: #1c2431;


  --mw-chart-review-ink: #5fd3c6;
  --mw-chart-transfer-ink: #e58ad6;



  --mw-muted: #838d9f;
  --mw-sidebar: #0d111a;
  --mw-sidebar-ink: #eef2fb;
  --mw-nav-ink: #8894ae;
  --mw-nav-hover: rgba(255, 255, 255, .05);
  --mw-nav-active: rgba(122, 160, 255, .14);
  --mw-nav-accent: #7aa0ff;
  --mw-nav-sep: rgba(255, 255, 255, .07);
  --mw-nav-label: #5d6883;
  --mw-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  --mw-shadow-lift: 0 10px 26px -18px rgba(0, 0, 0, .9);
  color-scheme: dark;
}



:root[data-theme="dark"] img { background: #fff; }
:root[data-theme="dark"] .mw-photo-frame { background: #f2f3f6; }




.modal-backdrop.active { animation: mwBackdropIn .18s ease both; }
.modal-backdrop.active > .modal,
.modal-backdrop.active > .modal-box { animation: mwModalIn .24s var(--mw-ease) both; }
@keyframes mwBackdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mwModalIn { from { opacity: 0; transform: translateY(6px) scale(.975); } to { opacity: 1; transform: none; } }


.mw-reveal { opacity: 0; animation: mwFadeUp .45s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes mwFadeUp { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.mw-r1 { animation-delay: .05s; } .mw-r2 { animation-delay: .1s; } .mw-r3 { animation-delay: .15s; } .mw-r4 { animation-delay: .2s; }

@keyframes mwCardIn { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes mwDotIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes mwPing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes mwRingFill { to { stroke-dashoffset: var(--mw-ring-target, 0); } }


.mw-status-plate { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 8px; border: 1px solid; }
.mw-status-plate .mw-dot-wrap { width: 8px; height: 8px; position: relative; flex-shrink: 0; }
.mw-status-plate .mw-dot { width: 8px; height: 8px; border-radius: 50%; position: absolute; inset: 0; }
.mw-status-plate .mw-ping { width: 8px; height: 8px; border-radius: 50%; position: absolute; inset: 0; animation: mwPing 2.2s cubic-bezier(0,0,.2,1) infinite; }
.mw-status-plate-label { font-family: var(--mw-serif); font-size: 13.5px; font-weight: 600; line-height: 1.15; }
.mw-status-plate-sub { font-family: var(--mw-mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; opacity: .75; }
.mw-tone-good { border-color: var(--mw-good); background: var(--mw-good-soft); }
.mw-tone-good .mw-dot, .mw-tone-good .mw-ping { background: var(--mw-good); }
.mw-tone-good .mw-status-plate-label, .mw-tone-good .mw-status-plate-sub { color: var(--mw-good); }
.mw-tone-warn { border-color: var(--mw-warn); background: var(--mw-warn-soft); }
.mw-tone-warn .mw-dot, .mw-tone-warn .mw-ping { background: var(--mw-warn); }
.mw-tone-warn .mw-status-plate-label, .mw-tone-warn .mw-status-plate-sub { color: var(--mw-warn); }
.mw-tone-bad { border-color: var(--mw-bad); background: var(--mw-bad-soft); }
.mw-tone-bad .mw-dot, .mw-tone-bad .mw-ping { background: var(--mw-bad); }
.mw-tone-bad .mw-status-plate-label, .mw-tone-bad .mw-status-plate-sub { color: var(--mw-bad); }
.mw-tone-info { border-color: var(--mw-accent); background: var(--mw-accent-soft); }
.mw-tone-info .mw-dot, .mw-tone-info .mw-ping { background: var(--mw-accent); }
.mw-tone-info .mw-status-plate-label, .mw-tone-info .mw-status-plate-sub { color: var(--mw-accent-ink); }
.mw-tone-neutral { border-color: var(--mw-line-strong); background: var(--mw-neutral-soft); }
.mw-tone-neutral .mw-dot, .mw-tone-neutral .mw-ping { background: var(--mw-neutral); }
.mw-tone-neutral .mw-status-plate-label, .mw-tone-neutral .mw-status-plate-sub { color: var(--mw-neutral); }
.mw-tone-neutral .mw-ping { animation: none; }






.mw-photo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); justify-content: center; gap: 12px; }
@media (max-width: 760px) { .mw-photo-row { grid-template-columns: repeat(2, minmax(0, 220px)); } }
.mw-photo-card {
  border: 1px solid var(--mw-line); border-radius: 9px; overflow: hidden; background: var(--mw-surface-sunken);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  opacity: 0; animation: mwCardIn .4s cubic-bezier(.2,.7,.3,1) forwards;
}
.mw-photo-card:nth-child(1) { animation-delay: .05s; }
.mw-photo-card:nth-child(2) { animation-delay: .11s; }
.mw-photo-card:nth-child(3) { animation-delay: .17s; }
.mw-photo-card:nth-child(4) { animation-delay: .23s; }
.mw-photo-card:hover { border-color: var(--mw-accent); box-shadow: 0 5px 16px -8px rgba(47,95,218,.35); transform: translateY(-2px); }


.mw-photo-frame { aspect-ratio: 3/4; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--mw-surface-sunken); }
.mw-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.mw-photo-empty { color: var(--mw-muted); font-size: 12px; }
.mw-photo-tag {
  position: absolute; top: 6px; left: 6px; font-family: var(--mw-mono); font-size: 8.5px; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(20,22,28,.55); color: #fff; padding: 2px 5px; border-radius: 4px; pointer-events: none;
}
.mw-photo-meta { padding: 7px 9px; display: flex; align-items: center; justify-content: space-between; gap: 6px; border-top: 1px solid var(--mw-line); background: var(--mw-surface); }
.mw-photo-meta .mw-label { font-size: 11.5px; font-weight: 600; color: var(--mw-ink); }
.mw-chip { font-family: var(--mw-mono); font-size: 8.5px; letter-spacing: .03em; padding: 2px 6px; border-radius: 20px; flex-shrink: 0; }
.mw-chip.mw-on { background: var(--mw-good-soft); color: var(--mw-good); }
.mw-chip.mw-off { background: var(--mw-surface); color: var(--mw-muted); border: 1px solid var(--mw-line); }


.mw-ring-svg { width: 26px; height: 26px; flex-shrink: 0; transform: rotate(-90deg); }
.mw-ring-track { fill: none; stroke: var(--mw-line); stroke-width: 3; }
.mw-ring-fill { fill: none; stroke: var(--mw-good); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 78.54; stroke-dashoffset: 78.54; animation: mwRingFill .9s .2s cubic-bezier(.2,.7,.3,1) forwards; }





.mw-spec-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px; padding: 14px 16px;
  border-radius: 10px; background: var(--mw-surface);
}
@media (min-width: 760px) { .mw-spec-grid.mw-spec-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.mw-spec-cell { padding: 0; min-width: 0; }
.mw-spec-cell.mw-span-2 { grid-column: span 2; }
.mw-spec-label {
  font-size: 10px; font-weight: 600; letter-spacing: .01em;
  color: var(--mw-muted); margin: 0 0 3px; line-height: 1.3;
}
.mw-spec-value {
  font-size: 12.5px; font-weight: 600; color: var(--mw-ink); line-height: 1.4; margin: 0;
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap; word-break: break-word;
}
.mw-badge-new { font-size: 9px; font-weight: 700; color: var(--mw-accent); background: var(--mw-accent-soft); padding: 1px 5px; border-radius: 4px; }
.mw-badge-team { font-family: var(--mw-mono); font-size: 9.5px; font-weight: 500; color: var(--mw-accent-ink); background: var(--mw-accent-soft); padding: 1px 6px; border-radius: 4px; }


.mw-trail { display: flex; gap: 18px; margin-bottom: 10px; flex-wrap: wrap; }
.mw-trail-item dt { font-family: var(--mw-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--mw-muted); margin: 0 0 3px; }
.mw-trail-item dd { margin: 0; font-family: var(--mw-mono); font-size: 11.5px; color: var(--mw-ink-soft); font-variant-numeric: tabular-nums; }
.mw-note-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.mw-note-list li { font-size: 12px; color: var(--mw-ink); padding: 7px 10px; background: var(--mw-surface-sunken); border: 1px solid var(--mw-line); border-radius: 7px; }
.mw-note-list li b { display: block; font-family: var(--mw-mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; color: var(--mw-muted); font-weight: 600; margin-bottom: 2px; }
.mw-note-list li.mw-warn-note { border-color: var(--mw-bad); background: var(--mw-bad-soft); }
.mw-note-list li.mw-warn-note b { color: var(--mw-bad); }

@media (prefers-reduced-motion: reduce) {
  .mw-reveal, .mw-photo-card, .mw-ring-fill, .mw-status-plate .mw-dot-wrap, .mw-status-plate .mw-ping,
  .modal-backdrop.active, .modal-backdrop.active > .modal, .modal-backdrop.active > .modal-box {
    animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important;
  }
  .mw-status-plate .mw-ping { opacity: 0 !important; }
}












input[type="checkbox"], input[type="radio"] {
  width: 17px; height: 17px; accent-color: var(--mw-check, var(--mw-accent));
}
