/* 첫 버전 기본 모양. 디자인은 12장에서 시안을 거쳐 다시 입힌다 */
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: #1d1d1f; background: #fafafa; line-height: 1.6; }
a { color: #c2410c; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.top { background: #fff; border-bottom: 1px solid #eee; }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 56px; }
.top .logo { font-weight: 800; color: #1d1d1f; text-decoration: none; }
.top nav { margin-left: auto; display: flex; gap: 12px; align-items: center; font-size: 14px; }
h1 { font-size: 26px; margin: 28px 0 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #eee; text-decoration: none; color: inherit; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #eee; }
.card .body { padding: 12px; }
.tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: #fff1e6; color: #9a3412; margin-right: 4px; }
.tag.sample { background: #eef; color: #335; }
.muted { color: #777; font-size: 14px; }
form.inline { display: inline; }
.filters { display: flex; gap: 8px; margin: 12px 0 20px; flex-wrap: wrap; }
select, input, textarea, button { font: inherit; padding: 8px 10px; border: 1px solid #ccc; border-radius: 8px; background: #fff; }
button, .btn { background: #1d1d1f; color: #fff; border: 0; cursor: pointer; text-decoration: none; padding: 8px 14px; border-radius: 8px; display: inline-block; }
button.light { background: #fff; color: #1d1d1f; border: 1px solid #ccc; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #eee; font-size: 14px; }
.flash { background: #ecfdf5; border: 1px solid #a7f3d0; padding: 10px 12px; border-radius: 8px; margin: 12px 0; }
.flash.err { background: #fef2f2; border-color: #fecaca; }
.foot { color: #999; font-size: 12px; padding: 40px 16px; }
