/* 제작 화면 — 밝은 작업 화면, 큰 글씨, 고딕 */
:root {
  --ink: #14161b; --text: #2b2e35; --muted: #656a73; --faint: #8b9099;
  --bg: #f5f3ef; --panel: #ffffff; --line: #e2ded6; --line-2: #ece9e3;
  --gold: #a8875a; --gold-dark: #8c6f45; --gold-bg: #f6efe4;
  --demo: #f2b705; --demo-bg: #fff6d6; --demo-ink: #7a5200;
  --ok: #1f7a4d; --bad: #b3261e; --bad-bg: #fdecea;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --top: 60px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #3b82f6; outline-offset: 2px; }

/* top */
.top { position: sticky; top: 0; z-index: 20; height: var(--top); display: flex; align-items: center; gap: 24px; padding: 0 24px; background: #111318; color: #fff; }
.top__brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.top__mark { width: 22px; height: 22px; border: 2px solid var(--gold); transform: rotate(45deg) scale(.8); }
.top__mono { display: block; width: 40px; height: 40px; background: #0a0e1f url(/logo.jpg) center / cover no-repeat; border: 0; border-radius: 24%; color: transparent; font-size: 0; flex: none; }
.top__name { display: flex; flex-direction: column; line-height: 1.2; font-size: 16px; }
.top__by { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; opacity: .65; }
.home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.home__head p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.top__nav { margin-left: auto; display: flex; gap: 22px; font-size: 15.5px; font-weight: 600; }
.top__nav a { text-decoration: none; opacity: .8; }
.top__nav a:hover { opacity: 1; color: #e2c999; }
/* 간편 로그인 */
.top__me { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.top__nick { font-weight: 700; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top__out { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; cursor: pointer; }
.top__out:hover { border-color: #e2c999; color: #e2c999; }
.sso { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 10px 16px; font-size: 15.5px; font-weight: 700; text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
.sso--kakao { background: #fee500; color: #191919; }
.sso--google { background: #fff; color: #1f1f1f; border-color: #c9ccd1; }
.sso:hover { filter: brightness(.96); }
.top__login { position: relative; }
.top__loginbtn { background: none; color: #fff; font: inherit; cursor: pointer; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 7px 14px; font-weight: 700; white-space: nowrap; }
.top__loginbtn:hover, .top__loginbtn[aria-expanded="true"] { border-color: #e2c999; color: #e2c999; }
.top__loginbox[hidden] { display: none; }
.top__loginbox { position: absolute; right: 0; top: calc(100% + 10px); width: 268px; display: grid; gap: 10px; padding: 16px; background: #fff; color: #23262d; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.top__loginbox p { margin: 0 0 2px; font-size: 14.5px; line-height: 1.5; }
.mebar__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.mebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 16px 18px; border: 1px solid #e6e2d8; border-radius: 14px; background: #fbfaf6; font-size: 16px; }
.mebar p { margin: 0; }
.mebar--on { display: block; }

/* common */
.wrap { max-width: 1280px; margin: 0 auto; padding: 48px 28px 96px; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.h1 { margin-top: 8px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.25; color: var(--ink); }
.lead { margin-top: 12px; font-size: 18.5px; color: var(--muted); max-width: 760px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 8px; font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #2a2e37; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); }
.btn--line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { height: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 7px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--text); }
.chip--gold { background: var(--gold-bg); color: var(--gold-dark); }
.chip--demo { background: var(--demo-bg); color: var(--demo-ink); }
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--faint); }
.steps li::after { content: "›"; margin-left: 4px; color: var(--line); }
.steps li:last-child::after { display: none; }
.steps li.is-on { color: var(--ink); }
.steps i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: #fff; font-style: normal; font-size: 13px; }
.steps li.is-on i { background: var(--ink); }
.empty { padding: 36px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; background: #fff; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 99; padding: 12px 20px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 15.5px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.2); }

/* home */
.home__hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.home__cta { display: flex; gap: 10px; justify-content: flex-end; }
.plist { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pcard { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.pcard:hover { border-color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.pcard b { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.pcard small { font-size: 14px; color: var(--muted); }
.pcard__open { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.pcard__link { align-self: flex-start; margin-top: 8px; font-size: 13px; }
.sub { margin-top: 44px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }

/* industry picker */
.cats { margin-top: 32px; display: grid; gap: 28px; }
.cat h3 { font-size: 17px; font-weight: 800; color: var(--muted); margin-bottom: 12px; }
.cat__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ind { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.ind b { font-size: 21px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.ind span { font-size: 15px; color: var(--muted); }
.ind:not([disabled]):hover { border-color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.ind[disabled] { cursor: default; opacity: .55; background: transparent; }
.ind em { position: absolute; top: 14px; right: 14px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--faint); }

/* drafts compare */
.drafts__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.vcards { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vcard { display: flex; flex-direction: column; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.vcard.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.vcard__top { display: flex; align-items: center; gap: 10px; }
.vcard__key { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 800; }
.vcard h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.vcard p { margin-top: 10px; font-size: 15.5px; color: var(--text); }
.vcard dl { margin-top: 12px; display: grid; gap: 6px; font-size: 14.5px; }
.vcard dl div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; }
.vcard dt { color: var(--faint); font-weight: 700; }
.vcard dd { color: var(--text); }
.vcard__order { display: flex; flex-wrap: wrap; gap: 4px; }
.vcard__pat { margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: var(--gold-bg); display: grid; gap: 4px; }
.vcard__pat li { position: relative; padding-left: 12px; font-size: 13.5px; color: var(--gold-dark); line-height: 1.5; }
.vcard__pat li::before { content: "·"; position: absolute; left: 2px; font-weight: 800; }
.vcard__acts { margin-top: auto; padding-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* preview area */
.pvbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.seg button { height: 34px; padding: 0 14px; border-radius: 6px; font-size: 14.5px; font-weight: 700; color: var(--muted); }
.seg button.is-on { background: var(--ink); color: #fff; }
.stage { position: relative; margin-top: 14px; background: #2a2d34; border-radius: 14px; overflow: hidden; }
.stage--drafts { height: calc(100vh - 150px); min-height: 560px; }
.stage__cols { display: grid; height: 100%; }
.stage__col { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; }
.stage__col + .stage__col { border-left: 1px solid rgba(255,255,255,.08); }
.stage__label { flex: none; padding: 8px 12px; font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.78); }
.frame { position: relative; flex: 1; min-height: 0; overflow: hidden; }
/* 미리보기 기기는 틀 크기에 영향을 주지 않게 절대 위치 */
.frame__dev { position: absolute; top: 4px; left: 50%; transform-origin: top center; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.frame__dev iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.frame[data-device="mobile"] .frame__dev { top: 50%; border: 10px solid #0b0c10; border-radius: 38px; overflow: hidden; transform-origin: center center; }
.frame__dev iframe.is-next { visibility: hidden; }
.frame__load { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #f3f1ec; color: #4a4f57; font-size: 16px; font-weight: 600; transition: opacity .25s; }
.frame__load::before { content: ""; width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(20,30,40,.15); border-top-color: #14161b; animation: frameSpin .8s linear infinite; }
.frame__load.is-out { opacity: 0; pointer-events: none; }
@keyframes frameSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .frame__load::before { animation: none; } }

/* editor */
.ed { display: grid; grid-template-columns: 440px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: calc(100vh - var(--top)); }
.ed__side { display: flex; flex-direction: column; min-height: 0; background: var(--panel); border-right: 1px solid var(--line); }
.ed__head { flex: none; padding: 16px 20px 12px; border-bottom: 1px solid var(--line-2); }
.ed__title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.ed__meta { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.ed__save { margin-left: auto; }
.save--ok { color: var(--ok); } .save--busy { color: var(--muted); } .save--bad { color: var(--bad); font-weight: 700; }
.tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.tabs button { height: 48px; font-size: 15.5px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; }
.tabs button.is-on { color: var(--ink); border-color: var(--ink); }
.tabs .count { margin-left: 4px; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--demo-bg); color: var(--demo-ink); font-size: 12px; }
.ed__body { flex: 1; overflow-y: auto; padding: 18px 20px 40px; }
.ed__foot { flex: none; display: flex; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: #faf9f6; }
.ed__foot .btn { flex: 1; }
.ed__main { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 14px 16px 16px; }
.ed__main .stage { flex: 1; min-height: 0; margin-top: 10px; }
.ed__main .stage .frame { height: 100%; }

.group { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.group:first-child { padding-top: 4px; }
.group__title { display: flex; align-items: center; gap: 8px; font-size: 16.5px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.group__desc { margin-top: 4px; font-size: 14px; color: var(--muted); }
.opts { margin-top: 12px; display: grid; gap: 8px; }
.opts__label { margin-top: 18px; font-size: 13px; font-weight: 700; color: #8a8f98; letter-spacing: .02em; }
.opts__label + .opts { margin-top: 8px; }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 11px 12px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s; }
.opt:hover { border-color: var(--ink); }
.opt.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fcfbf9; }
.opt b { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.opt small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.opt .from { font-size: 11.5px; font-weight: 800; color: var(--faint); letter-spacing: .02em; }

.slist { margin-top: 12px; display: grid; gap: 6px; }
.srow { display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.srow__name { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; }
.srow__name small { margin-left: 6px; font-weight: 500; font-size: 12.5px; color: var(--faint); }
.srow.is-hidden { background: transparent; border-style: dashed; }
.srow.is-hidden .srow__name { color: var(--faint); font-weight: 600; }
.ibtn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; border: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--text); }
.ibtn:hover:not([disabled]) { border-color: var(--ink); }
.ibtn[disabled] { opacity: .3; cursor: default; }
.tbtn { height: 32px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; }
.tbtn:hover { border-color: var(--ink); }
.notice { margin-top: 10px; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 9px; background: #fff7e6; color: #6b4a00; font-size: 14px; }
.notice .tbtn { flex: none; margin-left: auto; }
.notice--info { background: #eef4ff; color: #23407a; }

.msg { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: left; width: 100%; transition: border-color .15s; }
.msg + .msg { margin-top: 8px; }
.msg:hover { border-color: var(--ink); }
.msg.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.msg__top { display: flex; align-items: center; gap: 8px; }
.msg__top b { font-size: 15.5px; font-weight: 800; color: var(--ink); }
.msg__top small { font-size: 13px; color: var(--muted); }
.msg__title { margin-top: 8px; font-size: 17px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); line-height: 1.4; white-space: pre-line; }
.msg__lead { margin-top: 4px; font-size: 13.5px; color: var(--muted); white-space: pre-line; }
.msg__cta { margin-top: 8px; display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }

.field { display: block; margin-top: 12px; }
.field__label { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.field__label .req { color: var(--bad); }
.field__label .reset { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--gold-dark); text-decoration: underline; }
.field__hint { margin-top: 4px; font-size: 13px; color: var(--faint); }
.input, .textarea, .select { width: 100%; padding: 10px 12px; border: 1px solid #d6d1c7; border-radius: 8px; background: #fff; font-size: 15.5px; transition: border-color .15s; }
.textarea { min-height: 84px; resize: vertical; line-height: 1.55; }
.input:focus, .textarea:focus { border-color: var(--ink); outline: none; }
.is-demo .input, .is-demo .textarea { background: var(--demo-bg); border-color: #f0d58a; }
.radios { display: grid; gap: 6px; }
.radios label { display: flex; gap: 8px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--ink); background: #fcfbf9; font-weight: 700; }

.photo { display: flex; gap: 10px; align-items: center; }
.photo__img { width: 96px; height: 64px; border-radius: 7px; object-fit: cover; background: var(--line-2); flex: none; }
.photo.is-demo .photo__img { outline: 3px dashed var(--demo); outline-offset: -3px; }
.photo__acts { display: flex; flex-wrap: wrap; gap: 6px; }
.photo input[type=file] { display: none; }

.items { margin-top: 8px; display: grid; gap: 10px; }
.item { padding: 12px; background: #faf9f6; border: 1px solid var(--line); border-radius: 10px; }
.item.is-demo { background: #fffbec; border-color: #f0dfa8; }
.item__head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--ink); }
.item__head .ibtn { margin-left: auto; }
.item .field { margin-top: 8px; }
.item .field__label { font-size: 13.5px; }
.list__acts { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }

.swatches { display: inline-flex; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.swatches i + i { margin-left: -4px; }
.colors { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.color { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 14px; font-weight: 700; }
.color input { width: 36px; height: 30px; border: 0; padding: 0; background: none; cursor: pointer; }

.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 9px 12px; border-radius: 10px; background: var(--demo-bg); color: var(--demo-ink); font-size: 14px; font-weight: 600; }
.banner b { font-weight: 800; }
.banner .dash { display: inline-block; width: 22px; height: 14px; border: 2px dashed var(--demo); border-radius: 3px; vertical-align: middle; }
.warns { display: grid; gap: 6px; margin-top: 8px; }

/* dialog */
.dlg { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(10,12,16,.55); }
.dlg__box { width: min(620px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.dlg__box h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.dlg__box p { margin-top: 8px; color: var(--muted); }
.dlg__list { margin-top: 14px; display: grid; gap: 6px; max-height: 300px; overflow-y: auto; }
.dlg__list li { padding: 8px 12px; border-radius: 8px; background: var(--bad-bg); color: var(--bad); font-size: 14.5px; }
.dlg__list.warn li { background: #fff7e6; color: #6b4a00; }
.dlg__acts { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

@media (max-width: 1100px) {
  .vcards { grid-template-columns: 1fr !important; }
  .home__hero { grid-template-columns: 1fr; }
  .home__cta { justify-content: flex-start; }
  .ed { grid-template-columns: 1fr; height: auto; }
  .ed__side { border-right: 0; }
  .ed__body { overflow: visible; }
  .ed__main { height: 85vh; }
}
@media (max-width: 640px) {
  .wrap { padding: 28px 16px 72px; }
  .top { padding: 0 16px; gap: 12px; }
  .top { gap: 12px; padding: 0 14px; }
  .top__brand { white-space: nowrap; }
  .top__name { font-size: 14.5px; }
  .top__by { display: none; }
  .top__nav { gap: 14px; font-size: 14px; }
  .top__nav a { white-space: nowrap; }
  .top__nav a:nth-child(3) { display: none; }
  .top__nick { display: none; }
  .top__loginbtn { padding: 6px 10px; font-size: 14px; }
  .top__out { padding: 5px 8px; font-size: 13px; }
  .home__head { flex-direction: column; align-items: flex-start; }
  .opts--3 { grid-template-columns: 1fr; }
  .stage--drafts { height: 78vh; }
}

/* 사진 여러 장 */
.mphotos { display: flex; flex-wrap: wrap; gap: 8px; }
.mphoto { position: relative; width: 84px; height: 64px; border-radius: 8px; overflow: hidden; background: #f1efea; }
.mphoto img { width: 100%; height: 100%; object-fit: cover; }
.mphoto.is-demo img { outline: 3px dashed var(--demo); outline-offset: -3px; }
.mphoto__rm { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(17,19,24,.75); color: #fff; font-size: 11px; line-height: 22px; text-align: center; }
.mphoto__rm:hover { background: var(--bad); }
.mphoto--add { display: grid; place-items: center; border: 1.5px dashed var(--line); background: #fff; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; }
.mphoto--add:hover { border-color: var(--ink); color: var(--ink); }
.mphoto--add input { display: none; }

/* 대표 영상 칸 */
.vfield { display: flex; gap: 10px; align-items: center; }
.vfield__v { width: 140px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #111; }
.vfield__empty { display: grid; place-items: center; font-size: 13px; color: #9aa0a6; background: #f1efea; border: 1.5px dashed var(--line); }
.vfield input[type=file] { display: none; }

/* 아주 좁은 휴대폰: 로그인 단추가 있을 때는 회사 이름 글자를 접어 자리를 만든다 (SH 표시는 남음) */
@media (max-width: 430px) {
  .top:has(.top__me:not([hidden])) .top__name { display: none; }
}

/* 나의 페이지 */
.top__mypage { font-weight: 700; text-decoration: none; white-space: nowrap; color: #e2c999; }
.top__mypage:hover { text-decoration: underline; }
.mesec { margin-top: 44px; }
.mesec__h { margin: 0 0 16px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.mesec__h small { font-size: 16px; font-weight: 600; opacity: .55; margin-left: 6px; }
.rq { padding: 22px 24px; border: 1px solid var(--line, #e3dfd6); border-radius: 14px; background: #fff; }
.rq + .rq { margin-top: 12px; }
.rq__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.rq__top b { font-size: 20px; }
.rq__top small, .rq__foot { font-size: 15px; color: #6d6a63; }
.rq__foot { margin: 14px 0 0; }
.track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0 0; padding: 0; }
.track li { padding: 11px 6px; border-radius: 8px; background: #efece5; color: #8b877e; text-align: center; font-size: 16px; font-weight: 700; }
.track li.is-done { background: #dfeee9; color: #1f6a5e; }
.track li.is-on { background: #17695e; color: #fff; }
.track--hold { display: block; margin: 16px 0 0; padding: 11px 14px; border-radius: 8px; background: #f6eedc; color: #7a5a17; font-weight: 700; }
.meform { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; padding: 24px; border: 1px solid var(--line, #e3dfd6); border-radius: 14px; background: #fff; }
.meform__wide { grid-column: 1 / -1; margin: 0; }
@media (max-width: 640px) {
  .meform { grid-template-columns: 1fr; padding: 18px; }
  .track li { font-size: 14px; padding: 9px 2px; }
  .top__mypage { font-size: 14px; }
}
