/* Forel editorial system, 2026-11. Presentation only: no data or access changes. */
:root {
  --ink: #24212d; --muted: #686471; --line: #e6e3eb; --paper: #f8f7fa;
  --accent: #685187; --teal: #685187; --surface: #fff;
  --review-purple: #685187; --review-purple-ink: #584071;
  --review-lavender: #e9e1f2; --review-lavender-soft: #f3eff8;
  --review-sage: #edf5f1; --review-sage-ink: #285e49;
  --review-shadow: 0 4px 20px #29203305;
  --forel-radius: 16px;
}
html { scroll-padding-top: 24px; }
html body, html body[data-simple-login], html body[data-console] {
  color: var(--ink); background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
body[data-console] { --console-ink: #24212d; --console-muted: #686471; --console-line: #e6e3eb; }
body *, body *::before, body *::after { box-sizing: border-box; }
body h1, body h2, body h3 { color: var(--ink); letter-spacing: -.045em; text-wrap: pretty; }
body h1 { line-height: 1.3; }
body p { text-wrap: pretty; }
body img { max-width: 100%; }
body button, body input, body select, body textarea { font-family: inherit; }
body button, body a { -webkit-tap-highlight-color: transparent; }
body :is(button,a,input,select,textarea,summary):focus-visible {
  outline: 3px solid #8766ae; outline-offset: 4px;
}
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),
body select, body textarea, body[data-console] input:not([type=checkbox]):not([type=radio]), body[data-console] select {
  border: 1px solid #d6d0df; border-radius: 10px; background-color: #fff;
  color: var(--ink); padding: 12px 14px; min-height: 46px; max-width: 100%;
}
body input[readonly] { background-color: #f2f0f5 !important; }
body input[type=checkbox], body input[type=radio] { accent-color: var(--accent); }
body input::placeholder, body textarea::placeholder { color: #827b8d; }
body .primary, body a.primary, body button.primary, body[data-console] .primary,
body #app .primary:not(.kakao-login), body #modal .primary:not(.kakao-login),
body .hero .primary, body .hd-buy, body .home-hotdeals .hd-buy,
body #order-result .primary, body #proof-panel .primary {
  background: #685187; color: #fff; border: 1px solid #685187;
  border-radius: 10px; padding: 12px 20px; min-height: 46px; font-weight: 700;
  box-shadow: 0 3px 7px #4c365915; text-decoration: none;
}
body .primary:not(:disabled):hover, body #app .primary:not(:disabled):hover,
body #modal .primary:not(:disabled):hover, body .hd-buy:hover, body .home-hotdeals .hd-buy:hover {
  background: #513b70; border-color: #513b70; color: #fff;
}
body .quiet, body .secondary, body a.button:not(.primary):not(.kakao), body #seller-center-login {
  color: #403749; background: #fff; border: 1px solid #dcd6e4; border-radius: 10px;
  min-height: 42px; padding: 10px 16px; box-shadow: none;
}
body .quiet:not(:disabled):hover, body .secondary:not(:disabled):hover { background: #f3eff8; border-color: #bbaeC7; }
body button:disabled, body .primary:disabled { background: #eeeaf2; color: #81788d; border-color: #e2dce9; cursor: not-allowed; box-shadow: none; }
body .error, body .notice.error { color: #a32b3f; }
body .notice.error { background: #fff0f2; border-color: #efced4; }
body > header:not(.console-topbar), body[data-simple-login] > header,
body .layout > .header {
  background: #fff; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  box-shadow: none; max-width: 1200px; margin: 0 auto; padding: 22px 32px; gap: 24px;
}
body > header:not(.console-topbar) .brand img { width: 122px; height: auto; }
body > header:not(.console-topbar) nav { gap: 8px; align-items: center; font-size: 13px; }
body > header:not(.console-topbar) nav a,
body[data-forel-menu-layout] > header nav .nav-personality,
body[data-forel-menu-layout] > header nav .nav-my-orders {
  color: #504958; background: transparent; border: 0; border-radius: 7px; padding: 9px 11px; white-space: nowrap;
}
body > header:not(.console-topbar) nav a:hover { color: #584071; background: #f3eff8; }
body .slogan-banner.demo { min-height: 32px; padding: 6px 16px; background: #302637; color: #f5effa; border: 0; }
body .slogan-copy { font-size: 11px; letter-spacing: .015em; animation: none; gap: 14px; }
body .slogan-copy > b, body .slogan-copy strong { color: #e2d2ed; }
body > main:not(.layout) { max-width: 1200px; padding: 36px 32px 64px; }
body .panel, body .card, body .hero, body .deal-comments, body .login-card,
body .hd-card, body .home-hotdeals .hd-card, body .seller-dashboard-panel, body .question-card,
body .test-card, body .result-section, body .order {
  border: 1px solid var(--line); border-radius: var(--forel-radius);
  background: #fff; box-shadow: var(--review-shadow);
}
body .panel { padding: 28px; }
body .panel h2 { font-size: 20px; }
body .notice:not(.error) { background: #f3eff8; color: #58476b; border-color: #dfd5ea; border-radius: 10px; }
body .empty { color: var(--muted); background: #fcfbfd; border: 1px dashed #d6cedf; border-radius: 14px; }
body .eyebrow { color: #685187; letter-spacing: .12em; font-size: 11px; font-weight: 750; }
body .price, body .hd-price, body .deal-card-price strong { font-variant-numeric: tabular-nums; color: #2c2633; }
body .discount, body .deal-card-discount, body .hd-discount, body .home-hotdeals .hd-discount { color: #a34261; }
body .forel-channel-banner { width: calc(100% - 64px); max-width: 1136px; margin: 18px auto; border: 1px solid #e8e2d7; background: #fbf9f3; border-radius: 12px; padding: 13px 22px; }
body .forel-channel-copy strong { font-size: 14px; }
body .forel-channel-copy p { color: #786f60; font-size: 12px; }
body .forel-channel-add { min-height: 42px; border-radius: 8px; font-size: 12px; }
/* The editorial introduction is only present on the catalogue, never checkout. */
.forel-editorial { display: none; max-width: 1136px; margin: 32px auto 4px; }
body:has(#app.deal-grid-page) .forel-editorial { display: block; }
.forel-editorial-surface { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 290px; border-radius: 20px; overflow: hidden; background: #ece5f2; }
.forel-editorial-copy { padding: 30px 40px; align-self: center; }
.forel-editorial-label { display: inline-flex; gap: 9px; align-items: center; font-size: 10px; letter-spacing: .2em; color: #725c84; font-weight: 750; }
.forel-editorial-label::before { content: ''; width: 6px; height: 6px; background: #725c84; border-radius: 50%; }
.forel-editorial-copy h2 { margin: 18px 0 14px; font-size: clamp(30px,3.3vw,44px); line-height: 1.3; font-weight: 750; letter-spacing: -.06em; }
.forel-editorial-copy h2 span { color: #725486; }
.forel-editorial-copy p { margin: 0; color: #74667d; font-size: 14px; line-height: 1.8; }
.forel-editorial-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; }
.forel-editorial-links a { display: inline-flex; gap: 24px; align-items: center; color: #503761; font-size: 13px; font-weight: 750; text-decoration: none; min-height: 40px; border-bottom: 1px solid #ac98bd; }
.forel-editorial-art { align-self: stretch; display: grid; place-items: center; background: #dfd3e9; overflow: hidden; }
.forel-editorial-art img { display: block; width: 100%; height: 300px; object-fit: contain; }
.forel-service-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.forel-service-links a { display: flex; align-items: center; gap: 14px; padding: 20px 24px; text-decoration: none; min-width: 0; }
.forel-service-links a + a { border-left: 1px solid var(--line); }
.forel-service-links a:hover { background: #f7f4fa; }
.forel-service-links svg { width: 22px; height: 22px; flex: none; color: #79618f; }
.forel-service-links strong { display: block; font-size: 14px; color: #393040; }
.forel-service-links small { display: block; font-size: 11px; color: #82768b; margin-top: 2px; }
.forel-service-links .forel-arrow { margin-left: auto; font-size: 18px; color: #9684a4; }
body .deal-list-heading { margin: 8px 0 24px; }
body .deal-list-heading h1, body .home-hotdeals-heading h2 { font-size: 28px; letter-spacing: -.045em; }
body .deal-list-heading p, body .home-hotdeals-heading p { font-size: 13px; color: #76707e; }
body .deal-list-count { border: 1px solid var(--line); border-radius: 30px; padding: 6px 12px; background: #fff; font-size: 12px; }
body .deal-grid { gap: 24px; }
body .deal-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 22px; overflow: hidden; transition: box-shadow .18s,border-color .18s; }
body .deal-card:hover { transform: none; border-color: #b9a7cb; box-shadow: 0 10px 28px #412c5b0c; }
body .deal-card-image { border-radius: 10px; background: #f5f2f7; }
body .deal-card h2 { font-size: 18px; font-weight: 700; margin: 16px 8px 6px; }
body .deal-card > :is(p,span,.deal-card-price) { margin-left: 8px; margin-right: 8px; }
body .deal-card-price strong { font-size: 26px; }
body .deal-card .deal-card-tag { border: 1px solid #ffffffb0; background: #fffffff0; color: #594567; border-radius: 6px; padding: 5px 9px; font-size: 10px; }
body .deal-card-clock { background: #f3eff8; border: 0; color: #685187; min-height: 36px; padding: 8px; border-radius: 7px; box-shadow: none; font-size: 12px; }
body .deal-card-clock.ended { color: #766e7f; background: #f2f0f4; }
body .home-hotdeals { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line); }
body .home-hotdeals .hd-grid { gap: 22px; }
body .home-hotdeals .hd-card, body .hd-card { border-radius: 14px; box-shadow: none; }
body .home-hotdeals .hd-photo { background: #fff; border-bottom: 1px solid #efecf3; }
body .home-hotdeals .hd-content { padding: 20px; }
body .home-hotdeals .hd-content h2 { font-size: 16px; line-height: 1.55; font-weight: 650; margin-top: 0; }
body .home-hotdeals .hd-price { font-size: 24px; }
body .hd-checked, body .home-hotdeals .hd-checked { font-size: 11px; color: #7c7485; }
/* Orders, sign-in, account and product pages. */
body .hero.daily-deal .hero-copy { padding: 32px; }
body .order-progress { border-radius: 14px; border-color: var(--line); background: #f4f0f8; }
body .order-progress li.current > span { background: #685187; color: #fff; box-shadow: 0 0 0 5px #e7def0; }
body .payment-next { border-color: #d7c9e3; border-top-color: #685187; border-radius: 14px; background: #f8f5fb; }
body[data-simple-login] main { padding-top: 60px; }
html body > main:has(.login-card) { max-width: 560px; margin: 64px auto; padding: 0 24px 48px; }
html body .login-card { padding: 36px; }
body[data-simple-login] .login-card { padding: 40px; border-radius: 20px; box-shadow: 0 16px 50px #39224708; }
body[data-simple-login] h1 { font-size: 30px; margin-bottom: 28px; }
body[data-simple-login] #buyer-kakao-login { border-radius: 10px; min-height: 52px; }
body .hub-heading, body .intro { padding-block: 28px; }
body .test-card { border-radius: 18px; }
body .test-card .card-icon { background: #f3eff8; border-radius: 14px; }
/* Settlement: keep results private; these selectors only affect their presentation. */
body .layout { max-width: 1160px; padding: 0 32px 64px; }
body .layout > .header { padding: 24px 0; background: transparent; }
body .layout .heading { padding: 40px 0 30px; }
body .layout .heading h1 { font-size: clamp(28px,3vw,38px); margin: 8px 0 12px; }
body .layout .lookup-panel { border-top: 3px solid #8b70a1; }
body .layout .panel-heading { margin-bottom: 22px; }
body .lookup-fields { gap: 12px; }
body .lookup-fields label { gap: 8px; }
body .lookup-fields input { font-size: 16px; min-height: 48px; }
body .lookup-fields button { min-height: 48px; }
body .deposit-summary { padding-top: 28px; margin-top: 28px; }
body .deposit-calendar { background: #f9f7fb; border-color: var(--line); border-radius: 14px; padding: 16px; }
body .calendar-nav { margin-bottom: 18px; }
body .calendar-grid { gap: 5px; }
body .calendar-day { border-color: #e5dfea; border-radius: 9px; min-height: 108px; padding: 9px 5px; }
body .calendar-day:hover { background: #f1ebf7; border-color: #bba7cf; }
body .calendar-day[aria-pressed=true] { color: #fff; background: #685187; border-color: #685187; }
body .calendar-day[aria-current=date] { outline: 1px solid #b9a1ca; outline-offset: 1px; }
body .calendar-kind { gap: 8px; }
body .calendar-kind button[aria-pressed=true] { background: #685187; border-color: #685187; color: #fff; }
body .deposit-totals { border-radius: 14px; border-color: #ddd2e7; background: #f4eff8; padding: 22px; }
body .deposit-totals dd { color: #584071; font-size: 27px; }
body .deposit-date { font-size: 16px; }
body .deposit-totals dl > div { padding: 16px; border-color: #e5dfea; border-radius: 10px; }
body .table-scroll, body .table-wrap { border-radius: 12px; }
body .layout th { padding: 14px; background: #f3f0f7; color: #75677f; font-size: 12px; }
body .layout td { padding: 15px 14px; }
body .layout .badge { border-radius: 6px; font-size: 11px; padding: 4px 8px; }
body .layout .file-field input::file-selector-button { background: #685187; border-radius: 7px; min-height: 40px; }
body .management-panel > summary { padding: 18px 22px; background: #fff; border-radius: 12px; color: #5b436f; }
/* Console: dense enough for work, with a quieter navigation and clearer tables. */
body[data-console] > main { max-width: none; }
body[data-console] .console-sidebar { background: #fff; border-color: var(--line); padding-top: 28px; }
body[data-console] .console-nav a { border-radius: 8px; padding: 11px 14px; }
body[data-console] .console-nav a[aria-current=page] { background: #f0e9f6; color: #5a4174; box-shadow: inset 3px 0 #81619e; }
body[data-console] > header.console-topbar { background: #fff; border-color: var(--line); box-shadow: none; }
body[data-console] .panel { border-radius: 12px; border-color: var(--line); }
body[data-console] .console-order-table-wrap { border-radius: 12px; border-color: var(--line); }
body[data-console] .console-order-list th { background: #f3f0f7; color: #75677f; padding-block: 14px; }
body[data-console] .console-order-list td { padding-block: 15px; }
body[data-console] .console-order-list tbody tr:hover { background: #fcfaff; }
body[data-console] #staff-counts button[aria-pressed=true] { background: #eee6f6; color: #584071; }
body .compact-footer { max-width: 1200px; border-top: 1px solid var(--line); padding: 28px 32px; margin: 24px auto 0; font-size: 12px; }
body .business-info { border-color: var(--line); line-height: 1.9; }
body .forel-help-dock { position: static; width: min(calc(100% - 64px),1136px); margin: 12px auto 32px; flex-direction: row; justify-content: flex-end; align-items: center; }
body .forel-help-dock .review-invite { background: #eee7f4; color: #614679; border-color: #dfd3e9; border-radius: 9px; box-shadow: none; }
body .forel-help-dock > .forel-kakao-inquiry { width: auto; min-width: 150px; border-radius: 9px; padding: 10px 15px; box-shadow: none; }
body dialog { border: 1px solid #ded5e7; border-radius: 18px; box-shadow: 0 24px 80px #35244325; }
body dialog::backdrop { background: #27202d70; backdrop-filter: blur(3px); }
body #toast { border-radius: 12px; background: #40304f; box-shadow: 0 8px 30px #30213e25; }
@media(max-width:1100px) {
  body > header:not(.console-topbar) { gap: 16px; flex-wrap: wrap; }
  body > header:not(.console-topbar) nav { order: 3; flex-basis: 100%; margin: 0; overflow-x: auto; }
  body > header:not(.console-topbar) #login { margin-left: auto; }
  .forel-editorial, body .forel-channel-banner { margin-left: 32px; margin-right: 32px; }
}
@media(max-width:760px) {
  body > header:not(.console-topbar), body[data-simple-login] > header { padding: 16px 20px; gap: 12px; }
  body > header:not(.console-topbar) .brand img { width: 104px; }
  body > header:not(.console-topbar) nav { padding: 5px 0 0; gap: 3px; flex-wrap: nowrap !important; overflow-x: auto; }
  body[data-forel-menu-layout] > header nav .forel-nav-discovery { display: contents; }
  body[data-forel-menu-layout] > header nav { overflow-x: auto !important; overflow-y: hidden !important; max-width: 100%; min-width: 0; }
  body[data-forel-menu-layout] > header nav a { flex: 0 0 auto; order: 0; }
  body > header:not(.console-topbar) nav a { font-size: 12px; padding: 8px 9px; }
  body > main:not(.layout) { padding: 28px 20px 44px; }
  body .layout { padding: 0 20px 44px; }
  body .layout > .header { padding-block: 20px; }
  body .layout .heading { padding: 28px 0 24px; }
  body .panel { padding: 20px; }
  body .forel-channel-banner { width: calc(100% - 40px); margin: 16px 20px; padding: 14px 16px; }
  .forel-editorial { margin: 24px 20px 0; }
  .forel-editorial-surface { min-height: 250px; grid-template-columns: 1.3fr .7fr; border-radius: 16px; }
  .forel-editorial-copy { padding: 28px 24px; }
  .forel-editorial-copy h2 { font-size: 30px; }
  .forel-editorial-copy p { font-size: 12px; }
  .forel-editorial-links { margin-top: 16px; gap: 6px 16px; }
  .forel-editorial-links a { font-size: 12px; gap: 14px; }
  .forel-service-links a { padding: 16px 14px; gap: 9px; }
  .forel-service-links small { display: none; }
  .forel-service-links strong { font-size: 12px; }
  .forel-service-links svg { width: 18px; height: 18px; }
  .forel-service-links .forel-arrow { display: none; }
  body .deal-list-heading h1, body .home-hotdeals-heading h2 { font-size: 24px; }
  body .deal-grid { gap: 14px; }
  body .deal-card { padding: 8px 8px 16px; border-radius: 13px; }
  body .deal-card h2 { font-size: 15px; margin: 12px 4px 6px; }
  body .deal-card > :is(p,span,.deal-card-price) { margin-left: 4px; margin-right: 4px; }
  body .deal-card-price strong { font-size: 22px; }
  body .home-hotdeals { margin-top: 40px; padding-top: 28px; }
  body .home-hotdeals .hd-content { padding: 18px; }
  body .compact-footer { padding: 24px 20px; }
  body .forel-help-dock { width: calc(100% - 40px); }
  body[data-console] > main { max-width: none; padding: 80px 16px 32px; }
  body[data-console] > header.console-topbar { padding-inline: 16px; }
  body[data-simple-login] main { padding-top: 36px; }
  body[data-simple-login] .login-card { padding: 28px 22px; }
  body .calendar-day { min-height: 100px; }
  body .deposit-calendar { padding: 10px; }
  body .deposit-totals { padding: 16px; }
  body .lookup-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body .lookup-fields > button { grid-column: 1 / -1; }
}
@media(max-width:480px) {
  .forel-editorial-surface { grid-template-columns: 1fr; position: relative; }
  .forel-editorial-art { display: none; }
  .forel-editorial-copy { padding: 22px; }
  .forel-editorial-copy h2 { font-size: 30px; margin-block: 12px; }
  .forel-service-links a { flex-direction: column; gap: 6px; padding: 14px 8px; text-align: center; }
  body .forel-channel-copy strong { font-size: 12px; }
  body .forel-channel-copy p { font-size: 11px; }
  body .forel-channel-banner { flex-direction: row; gap: 10px; align-items: center; }
  body .forel-channel-copy { min-width: 0; }
  body .forel-channel-banner a.forel-channel-add { width: auto; flex: 0 0 auto; padding: 9px 10px; font-size: 11px; }
  body .forel-channel-add svg { display: none; }
  body .deal-list-count { font-size: 10px; padding: 5px 8px; }
  body .deal-list-heading p { max-width: 240px; font-size: 12px; }
  body .deal-card-clock { font-size: 11px; }
  body .forel-help-dock { flex-direction: column; align-items: stretch; }
  body .forel-help-dock > .forel-kakao-inquiry { width: 100%; }
  body .layout { padding-inline: 14px; }
  body .layout .panel { padding: 18px 14px; }
  body .layout .calendar-grid { gap: 4px; min-width: 532px; }
  body .calendar-day { min-height: 92px; padding: 7px 3px; font-size: 12px; border-radius: 6px; }
  body .day-project, body .day-project-amount, body .day-amount { font-size: 11px; letter-spacing: -.035em; }
  body .day-project-amount { white-space: nowrap; }
  body .calendar-scroll-hint { display: block; color: #786789; font-size: 12px; margin-bottom: 12px; }
  body .calendar-nav { margin-bottom: 12px; }
  body .deposit-totals dd { font-size: 22px; }
  body .deposit-totals dl > div { padding: 12px; }
  body .layout .records-table td { padding: 0; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  body *, body *::before, body *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  .forel-editorial, .forel-channel-banner, .forel-help-dock { display: none !important; }
  html body { background: #fff; }
  body .panel { box-shadow: none; break-inside: avoid; }
}
