/* 오다 본사이트 (2026-11-18) — 홈페이지 · 공급사 관리 · 공지. 색은 시안 A(app.css) 그대로 */
body.mh { background: #fff; }
.neg { color: var(--red) !important; }
.mh-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.mh-main { min-height: 60vh; }
.mh-flash { padding-top: 16px; }

/* 위 메뉴 */
.mh-top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--line); }
.mh-bar { display: flex; align-items: center; gap: 24px; min-height: 64px; position: relative; }
.mh-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.mh-brand b { font-size: 19px; letter-spacing: -0.02em; }
.mh-menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink2); place-items: center; cursor: pointer; }
.mh-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.mh-nav > a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--ink2); text-decoration: none; font-weight: 500; white-space: nowrap; }
.mh-nav > a:hover { background: var(--tint); color: var(--ink); }
.mh-nav > a.on { color: var(--teal-d); font-weight: 700; }
.mh-nav > a.mh-strong { color: var(--teal-d); font-weight: 700; background: var(--teal-s); }
.mh-acts { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.mh-acts > a { color: var(--ink2); text-decoration: none; padding: 0 10px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 8px; white-space: nowrap; }
.mh-acts > a:hover { background: var(--tint); }
.mh-acts > a.btn { color: #fff; }
.mh-acts form { margin: 0; }
.mh-acts button { border: 0; background: none; color: var(--mut); cursor: pointer; padding: 0 10px; min-height: 40px; font: inherit; }
.mh-user { font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 900px) {
	.mh-menu-btn { display: grid; }
	.mh-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 8px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(19, 52, 50, .08); }
	body.mh-nav-open .mh-nav { display: flex; }
	.mh-nav > a { min-height: 46px; }
	.mh-acts { margin: 8px 0 0; padding: 10px 0 0 2px; border-top: 1px solid var(--line3); flex-wrap: wrap; }
}

/* 첫 화면 */
.mh-hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--tint), #fff); border-bottom: 1px solid var(--line3); }
.mh-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.mh-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--teal-d); letter-spacing: .04em; margin-bottom: 10px; }
.mh-hero h1 { margin: 0 0 18px; font-size: clamp(30px, 3.9vw, 44px); line-height: 1.3; letter-spacing: -0.035em; word-break: keep-all; }
.mh-hero h1 em { font-style: normal; color: var(--teal); }
.mh-hero p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--ink2); max-width: 36em; }
.mh-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.mh-diagram { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 48px rgba(19, 52, 50, .08); }
.dg-stores { display: flex; gap: 10px; width: 100%; justify-content: center; }
.dg-store { flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line3); font-weight: 700; font-size: 14px; }
.dg-store small { font-weight: 500; color: var(--mut); font-size: 11.5px; }
.dg-lines { display: flex; justify-content: center; gap: 92px; height: 34px; }
.dg-lines i { width: 2px; height: 100%; background: repeating-linear-gradient(180deg, var(--teal-l) 0 5px, transparent 5px 9px); }
.dg-hub { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 22px; border-radius: 16px; background: var(--dark); color: #fff; text-align: center; width: 100%; max-width: 300px; }
.dg-hub small { color: #C4DAD8; }
.dg-user { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--teal-s); color: var(--teal-d); font-weight: 700; position: relative; }
.dg-user::before { content: ""; position: absolute; left: 50%; top: -14px; width: 2px; height: 14px; background: var(--teal-l); }

/* 구역 */
.mh-sec { padding: 72px 0; }
.mh-sec.alt { background: var(--bg); }
.mh-sec h2 { margin: 0 0 28px; font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -0.03em; line-height: 1.35; }
.mh-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mh-sec-head h2 { margin-bottom: 20px; }
.mh-sec .mh-sec-head > a { margin-bottom: 24px; flex: none; }
.mh-cards { display: grid; gap: 16px; }
.mh-cards.three { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.mh-cards.two { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.mh-cards article { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.mh-cards h3 { margin: 14px 0 8px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.mh-cards p { margin: 0; color: var(--ink2); line-height: 1.75; }
.mh-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-s); color: var(--teal-d); }
.mh-feat h3 { margin-top: 0; }
.mh-feat ul { list-style: none; margin: 8px 0 0; padding: 0; }
.mh-feat li { padding: 12px 0; border-bottom: 1px dashed var(--line2); color: var(--ink2); line-height: 1.6; }
.mh-feat li:last-child { border-bottom: 0; }
.mh-feat li b { display: block; color: var(--ink); }
.mh-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin-bottom: 12px; }
.mh-plan { padding: 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.mh-plan h3 { margin: 0 0 8px; font-size: 18px; }
.mh-price { margin: 0 0 10px; color: var(--mut); }
.mh-price b { font-size: 30px; color: var(--ink); letter-spacing: -0.02em; }
.mh-plan.wide { max-width: 720px; }
.mh-plan.wide p { margin: 0 0 6px; font-size: 16px; }
.mh-news { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mh-news li a { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line3); color: var(--ink); text-decoration: none; }
.mh-news li:last-child a { border-bottom: 0; }
.mh-news li a:hover { background: var(--field); }
.card .mh-news { border: 0; border-radius: 0; }
.mh-band { background: var(--dark); color: #fff; padding: 48px 0; }
.mh-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.mh-band h2 { margin: 0 0 6px; font-size: 22px; }
.mh-band p { margin: 0; color: #C4DAD8; }
.mh-band .mh-cta { margin-top: 0; }
.mh-band .btn:not(.primary) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.mh-foot { padding: 32px 0 40px; background: var(--bg); border-top: 1px solid var(--line); color: var(--mut); font-size: 13px; }
.mh-foot p { margin: 6px 0 0; }
.mh-foot a { color: var(--mut); }
.mh-foot-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.mh-foot-brand .brand-ic { width: 26px; height: 26px; border-radius: 7px; }
.mh-foot-brand span { color: var(--mut); }
@media (max-width: 900px) {
	.mh-hero { padding: 44px 0 40px; }
	.mh-hero-in { grid-template-columns: 1fr; gap: 28px; }
	.mh-sec { padding: 48px 0; }
	.dg-lines { gap: 26vw; }
}

/* 공급사 관리 */
.mh-page { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; padding-bottom: 64px; }
.mh-page.narrow { max-width: 860px; }
.mh-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mh-page-head h1 { margin: 0 0 4px; font-size: 26px; letter-spacing: -0.03em; }
.mh-page-head p { margin: 0; }
.mh-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.mh-tabs a { padding: 12px 14px; color: var(--mut); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; }
.mh-tabs a.on { color: var(--teal-d); font-weight: 700; border-bottom-color: var(--teal); }
.mh-block { display: flex; flex-direction: column; gap: 12px; }
.mh-block > .h2, .mh-block h2.h2 { margin: 0; font-size: 17px; }
.mh-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 12px; }
.mh-store { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.ms-top { display: flex; align-items: center; gap: 12px; }
.ms-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ms-name b { font-size: 16px; }
.ms-kv { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--field); font-size: 13.5px; }
.ms-kv dt { color: var(--mut); }
.ms-kv dd { margin: 0; min-width: 0; }
.ms-note { margin: 0; color: var(--teal-d); font-size: 13px; font-weight: 500; }
.ms-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mh-logo { display: inline-flex; align-items: center; height: 40px; max-width: 130px; flex: none; }
.mh-logo img { max-height: 36px; max-width: 130px; width: auto; height: auto; object-fit: contain; display: block; }
.tbl tfoot th { background: var(--field); color: var(--ink); font-weight: 700; border-top: 1px solid var(--line3); padding: 10px 14px; }
.tbl th.amt, .tbl td.amt, .tbl th.c, .tbl td.c { text-align: center; }   /* 금액 · 상태 칸 가운데 (11-21) */
.mh-orders { list-style: none; margin: 0; padding: 0; }
.mh-orders li a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line3); color: var(--ink); text-decoration: none; }
.mh-orders li:last-child a { border-bottom: 0; }
.mh-orders li a:hover { background: var(--field); }
.mo-store { flex: none; padding: 2px 8px; border-radius: 6px; background: var(--teal-s); color: var(--teal-d); font-size: 12px; font-weight: 700; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mo-item { font-size: 13px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.hist-sum { margin: 0; padding: 10px 20px; border-bottom: 1px solid var(--line3); }
.filters.period .dates { display: inline-flex; align-items: center; gap: 6px; }
.mh-otbl td:nth-child(4) { min-width: 160px; }
.notice-view { display: flex; flex-direction: column; gap: 6px; }
.nv-title { margin: 0; font-size: 22px; line-height: 1.4; }
.nv-body { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line3); line-height: 1.85; color: var(--ink2); }
@media (max-width: 560px) {
	.mh-page { padding-top: 22px; }
	.mh-orders li a { flex-wrap: wrap; padding: 12px 16px; }
	.mo-store { order: -1; }
	.filters.period { padding: 12px; }
	.filters.period .dates { flex: 1 1 100%; gap: 4px; }
	.filters.period input[type=date] { flex: 1 1 0; width: 0; min-width: 0; font-size: 16px; padding: 4px 2px; }
	body.mh .input, body.mh select, body.mh input[type=search] { font-size: 16px; }
	.mh-page .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.mh-page .tile { padding: 14px; }
	.mh-page .tile-value { font-size: 20px; }
	.mh-page .tile-value small { font-size: 12px; }
	.mh-bal td:first-child { white-space: nowrap; }
	.mh-bal th, .mh-bal td { padding-left: 10px; padding-right: 10px; }
}

/* 휴대폰 표 — 화면 폭에 억지로 맞추지 않고 옆으로 밀어 본다 (11-21) */
@media (max-width: 640px) {
	.table-wrap > table.tbl { width: max-content; min-width: 100%; }
	.table-wrap > table.tbl th, .table-wrap > table.tbl td { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
}

/* 2026-11-29 서비스 이름 «오다» 뜻 (사장님 «주문이 나에게 오다») */
.mh-meaning { margin: 6px 0 4px; font-size: 15px; color: var(--ink2); }
.mh-meaning b { color: var(--teal-d); font-size: 17px; }
