:root {
    --bg: #f1e0c4;
    --bg-soft: #e6cca2;
    --text: #27170d;
    --text-light: #fff8ee;
    --muted: #614834;
    --line: #cfaa77;
    --primary: #4c2913;
    --accent: #b56718;
    --card: rgba(255, 247, 236, 0.95);
    --shadow: 0 22px 54px rgba(79, 44, 20, 0.16);
    --radius: 22px;
    --container: 1240px;
    --danger: #b85a4a;
    --success: #4e7845;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    color: var(--text);
    font-family: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    line-height: 1.68;
    background:
        radial-gradient(circle at 8% 8%, rgba(142, 79, 18, 0.18), transparent 24%),
        radial-gradient(circle at 90% 12%, rgba(205, 145, 71, 0.22), transparent 26%),
        linear-gradient(180deg, #fbf2e3 0%, #f1dfc2 52%, #ebd1a8 100%);
}

body {
    min-height: 100vh;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

main {
    padding: 20px 0 42px;
}

.container {
    width: min(var(--container), calc(100% - 120px));
    margin: 0 auto;
}

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(253, 241, 219, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(191, 145, 94, 0.32);
    box-shadow: 0 14px 32px rgba(82, 47, 17, 0.09);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: clamp(42px, 5.5vw, 64px);
    width: auto;
    display: block;
    object-fit: contain;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.admin-header-status {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(88, 56, 24, 0.08);
    border: 1px solid rgba(120, 71, 25, 0.18);
    color: var(--primary);
    font-size: 0.9rem;
    line-height: 1;
}

.admin-header-status-label {
    color: var(--muted);
    font-weight: 700;
}

.admin-header-status strong {
    font-weight: 800;
}

.admin-header-status-link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(181, 103, 24, 0.16);
    color: var(--primary);
    font-weight: 800;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 16px;
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary);
    background: rgba(181, 103, 24, 0.18);
    transform: translateY(-1px);
}

.flash-wrap {
    padding-top: 16px;
}

.flash-message {
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 252, 246, 0.96);
    border: 1px solid rgba(232, 217, 189, 0.92);
    box-shadow: 0 10px 22px rgba(107, 78, 40, 0.06);
    line-height: 1.45;
}

.flash-error {
    background: #fcf1ef;
    color: var(--danger);
    border: 1px solid #ebc9c3;
}

.page-hero {
    padding: 90px 0 54px;
}

.page-hero .container,
.section .container {
    position: relative;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.page-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.18;
}

.page-hero-text {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.04rem;
}
/* ── Buttons ── */
.completed-history-ops-actions-feedback.is-success {
    color: #1f7a36;
}

.completed-history-ops-actions-feedback.is-error {
    min-height: 48px; padding: 0 22px;
    border-radius: 999px; font-weight: 700;
    transition: 0.2s ease; border: 0; cursor: pointer;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #6f3e18 0%, var(--accent) 100%);
    color: #fff7ef;
    box-shadow: 0 16px 32px rgba(117, 63, 21, 0.24);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.55);
    color: #fff;
}

.btn-light {
    background: #fff7ed;
    color: var(--primary);
}

/* ── Sections ── */
.section      { padding: 96px 0; }
.section-soft { background: linear-gradient(180deg, rgba(241, 222, 189, 0.92) 0%, rgba(233, 205, 160, 0.96) 100%); }
.section-dark { background: linear-gradient(180deg, #563016 0%, #3e220f 100%); color: var(--text-light); }

.section-head { margin-bottom: 34px; max-width: 760px; }
.section-head h2, .text-block h2 {
    margin: 0 0 16px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.28;
}

/* ── Two-col ── */
.two-col         { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
.two-col.reverse { grid-template-columns: 0.95fr 1.05fr; }
.text-block p { margin: 0 0 14px; color: var(--muted); }
.text-block.light p, .text-block.light h2 { color: var(--text-light); }

/* ── Cards / Images ── */
.image-card { background: var(--card); border: 1px solid rgba(232, 217, 189, 0.88); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card.tall { min-height: 440px; }

/* ── Feature grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-bottom: 34px; }
.feature-card { padding: 28px; background: var(--card); border: 1px solid rgba(232, 217, 189, 0.78); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.feature-card p  { margin: 0; color: var(--muted); }

/* ── Media slots ── */
.media-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.media-slot-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.media-slot-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid rgba(232, 217, 189, 0.78);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.media-slot-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(76, 41, 19, 0.22), rgba(181, 103, 24, 0.06)),
        #e8d3b4;
}

.media-slot-video,
.media-slot-image {
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: contain;
    display: block;
}

.media-slot-card-video .media-slot-frame {
    aspect-ratio: 16 / 9;
    background: #120c08;
    overflow: hidden;
}

.media-slot-card-video .media-slot-video {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

.media-slot-grid-player .media-slot-frame {
    aspect-ratio: 16 / 9;
    min-height: 220px;
    background: #120c08;
}

.media-slot-grid-player .media-slot-video,
.media-slot-grid-player .media-slot-image {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

.media-slot-body {
    display: grid;
    gap: 10px;
    padding: 20px 22px 24px;
}

.media-slot-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.media-slot-kind,
.media-slot-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.media-slot-kind {
    background: rgba(181, 103, 24, 0.14);
    color: var(--accent);
}

.media-slot-label {
    background: rgba(76, 41, 19, 0.08);
    color: var(--primary);
}

.media-slot-body h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.35;
}

.media-slot-body p {
    margin: 0;
    color: var(--muted);
}

.section-dark .media-slot-card {
    background: rgba(255, 247, 236, 0.1);
    border-color: rgba(255, 234, 204, 0.18);
}

.section-dark .media-slot-frame {
    background:
        linear-gradient(135deg, rgba(255, 247, 236, 0.08), rgba(181, 103, 24, 0.12)),
        rgba(255, 255, 255, 0.06);
}

.section-dark .media-slot-body p,
.section-dark .media-slot-body h3 {
    color: var(--text-light);
}

.section-dark .media-slot-kind {
    background: rgba(255, 221, 181, 0.14);
    color: #ffd8a7;
}

.section-dark .media-slot-label {
    background: rgba(255, 255, 255, 0.08);
    color: #ffe7cb;
}

/* ── Galleries ── */
.gallery-2, .gallery-3, .product-grid { display: grid; gap: 22px; }
.gallery-2 { grid-template-columns: repeat(2,1fr); }
.gallery-3 { grid-template-columns: repeat(3,1fr); }
.product-grid { grid-template-columns: repeat(4,1fr); }

/* ── Product card ── */
.product-card { background: var(--card); border: 1px solid rgba(232, 217, 189, 0.78); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product-card-link { display: block; height: 100%; }
.product-card-link:hover .product-more { color: var(--accent); }
.product-image { aspect-ratio: 4/3; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 22px; }
.product-category { display: inline-block; margin-bottom: 10px; font-size: 0.86rem; color: var(--accent); font-weight: 700; }
.product-body h2, .product-body h3 { margin: 0 0 10px; font-size: 1.22rem; line-height: 1.35; }
.product-subtitle { margin: 0 0 10px; font-weight: 700; color: var(--text); }
.product-body p { margin: 0; color: var(--muted); }
.product-more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--primary); }

/* ── Misc ── */
.info-list  { margin: 18px 0 0; padding-left: 18px; color: var(--muted); }
.text-link  { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--accent); }

/* ── Product Detail ── */
.product-detail-top {
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}
.product-detail-main-image { min-height: 520px; }
.product-detail-summary { display: flex; flex-direction: column; gap: 18px; }
.product-detail-summary h2 { margin: 0; font-size: 2rem; line-height: 1.3; }
.product-detail-subtitle { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.product-detail-text { margin: 0; color: var(--muted); }

.detail-box-group { display: grid; gap: 18px; }
.detail-box { background: var(--card); border: 1px solid rgba(232, 217, 189, 0.78); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.detail-box h3, .detail-box h2 { margin: 0 0 12px; }

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(193, 151, 102, 0.46);
    border-radius: 18px;
    background: rgba(255, 251, 245, 0.92);
    padding: 14px 16px;
    font-size: 0.98rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(181, 103, 24, 0.72);
    box-shadow: 0 0 0 5px rgba(181, 103, 24, 0.14);
    background: #fffdf8;
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-section {
    padding-top: 18px;
}

.page-hero-contact {
    position: relative;
}

.page-hero-contact::after {
    content: "";
    position: absolute;
    right: 6%;
    top: 30px;
    width: 220px;
    height: 220px;
    border-radius: 38% 62% 54% 46% / 47% 39% 61% 53%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 234, 196, 0.9), rgba(181, 103, 24, 0.16));
    filter: blur(6px);
    z-index: 0;
}

.page-hero-contact .container {
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 22px;
}

.contact-lead-card,
.contact-side-card,
.contact-form-shell,
.contact-result {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 248, 238, 0.96) 0%, rgba(250, 238, 218, 0.94) 100%);
    border: 1px solid rgba(190, 145, 95, 0.34);
    box-shadow: var(--shadow);
}

.contact-lead-card {
    padding: 34px 32px;
    border-radius: 36px 112px 36px 36px;
}

.contact-lead-card::after,
.contact-form-shell::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 103, 24, 0.16) 0%, rgba(181, 103, 24, 0) 72%);
    pointer-events: none;
}

.contact-lead-card::after {
    width: 180px;
    height: 180px;
    right: -40px;
    top: -34px;
}

.contact-mini-label {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.contact-lead-card h2,
.contact-form-head h2 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    line-height: 1.2;
}

.contact-lead-card p,
.contact-form-head p,
.contact-side-card p {
    margin: 0;
    color: var(--muted);
}

.contact-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(76, 41, 19, 0.08);
    color: var(--primary);
    font-weight: 700;
}

.contact-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-side-card {
    padding: 24px;
    border-radius: 32px;
}

.contact-side-card h3 {
    margin: 0 0 14px;
    font-size: 1.08rem;
}

.contact-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.contact-check-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
}

.contact-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

.contact-brand-card {
    align-content: start;
    justify-items: start;
}

.contact-brand-mark {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 14px;
}

.contact-form-wrap {
    position: relative;
}

.contact-form-shell {
    padding: 34px;
    border-radius: 42px 42px 120px 42px;
}

.contact-form-shell::before {
    width: 260px;
    height: 260px;
    right: -80px;
    bottom: -90px;
}

.contact-form-head {
    position: relative;
    z-index: 1;
    margin-bottom: 26px;
}

.contact-form-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.contact-field {
    display: grid;
    gap: 8px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field-label {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(167, 124, 73, 0.4);
    border-radius: 22px;
    background: rgba(255, 252, 247, 0.88);
    padding: 16px 18px;
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-field select {
    appearance: none;
}

.contact-field textarea {
    min-height: 210px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: rgba(181, 103, 24, 0.8);
    box-shadow: 0 0 0 5px rgba(181, 103, 24, 0.13);
    transform: translateY(-1px);
}

.contact-form-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
}

.contact-form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.admin-login-hero {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
}

.admin-login-shell {
    display: flex;
    justify-content: center;
}

.admin-login-panel {
    width: min(100%, 520px);
    padding: 40px 36px;
    border-radius: 32px;
    border: 1px solid rgba(106, 71, 36, 0.18);
    background: linear-gradient(180deg, rgba(255, 248, 238, 0.96) 0%, rgba(245, 232, 208, 0.96) 100%);
    box-shadow: 0 26px 70px rgba(70, 41, 13, 0.14);
}

.admin-login-copy {
    margin: 12px 0 0;
    color: rgba(70, 46, 20, 0.78);
    line-height: 1.7;
}

.admin-login-form {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.admin-login-field {
    display: grid;
    gap: 8px;
}

.admin-login-field span {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
}

.admin-login-field input {
    width: 100%;
    border: 1px solid rgba(167, 124, 73, 0.38);
    border-radius: 18px;
    background: rgba(255, 252, 247, 0.95);
    padding: 15px 16px;
    color: var(--text);
    font: inherit;
    outline: none;
}

.admin-login-field input:focus {
    border-color: rgba(120, 71, 25, 0.65);
    box-shadow: 0 0 0 4px rgba(196, 141, 77, 0.16);
}

.admin-login-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

.form-submit {
    min-width: 180px;
}

.contact-result {
    margin-top: 18px;
    padding: 20px 24px;
    border-radius: 28px;
    color: #23502a;
    background: linear-gradient(180deg, rgba(235, 247, 232, 0.94) 0%, rgba(225, 242, 220, 0.96) 100%);
    border-color: rgba(78, 120, 69, 0.26);
}

.completed-history-ops-actions-feedback.is-success {
    color: #1f7a36;
}

.form-inline-group {
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
}

.form-inline-group label {
    font-weight: 700;
}

.form-inline-group select {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    font-size: 0.96rem;
    color: var(--text);
}

.admin-filter-btn {
    min-width: 120px;
    background: var(--primary);
    color: #fff;
}

.admin-reset-btn {
    min-width: 110px;
    background: #ede6da;
    color: var(--primary);
    border: 1px solid rgba(78, 59, 42, 0.12);
}

.admin-summary-bar {
    margin-bottom: 18px;
    color: var(--muted);
    font-weight: 700;
}

.admin-table-wrap {
    overflow-x: auto;
    background: var(--card);
    border: 1px solid rgba(232, 217, 189, 0.78);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #efe7da;
    text-align: left;
    vertical-align: middle;
    font-size: 0.95rem;
}

.admin-table th {
    background: #fbf2df;
    font-size: 0.9rem;
    color: var(--primary);
}

.admin-subject-cell {
    min-width: 220px;
}

.table-link {
    font-weight: 700;
    color: var(--accent);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
}

.status-접수 {
    background: #efe8dc;
    color: #7a5a36;
}

.status-확인중 {
    background: #e7f0fb;
    color: #37638f;
}

.status-답변완료 {
    background: #e9f5eb;
    color: #3b7245;
}

.status-보류 {
    background: #f9ece9;
    color: #9c4f43;
}

.empty-state-box {
    padding: 26px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--muted);
    font-weight: 700;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
}

.admin-detail-list {
    display: grid;
    gap: 12px;
}

.admin-detail-list > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0e8dc;
}

.admin-detail-list strong {
    color: var(--primary);
}

.admin-status-form {
    display: grid;
    gap: 16px;
}

.admin-status-form select {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    font-size: 0.96rem;
    color: var(--text);
}

.admin-detail-subject {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text);
}

.detail-box-message {
    margin-top: 18px;
}

.admin-message-body {
    color: var(--muted);
    line-height: 1.8;
    white-space: normal;
}

.admin-detail-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

@media (max-width: 900px) {
    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .form-inline-group {
        min-width: 100%;
    }

    .admin-filter-btn,
    .admin-reset-btn {
        width: 100%;
    }
}

/* ---------------------------
   관리자 상품 관리 1차
--------------------------- */

.admin-top-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.admin-create-btn {
    background: var(--primary);
    color: #fff;
}

.form-inline-wide {
    min-width: 280px;
    flex: 1 1 280px;
}

.form-inline-group input {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    font-size: 0.96rem;
    color: var(--text);
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.admin-product-form .detail-box {
    height: 100%;
}

.field-help {
    margin: -4px 0 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-save-btn {
    background: var(--primary);
    color: #fff;
    min-width: 140px;
}

@media (max-width: 900px) {
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-top-actions {
        justify-content: stretch;
    }

    .admin-create-btn {
        width: 100%;
    }
}

/* ── Footer ── */
.site-footer { padding: 52px 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(246, 236, 214, 0.96) 0%, rgba(239, 225, 194, 0.98) 100%); }
.footer-grid       { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; }
.site-footer h3 { margin: 0 0 4px; }
.site-footer h4 { margin: 0 0 3px; }
.site-footer p { margin: 0; color: var(--muted); }
.footer-info-block { line-height: 1.55; }
.footer-info-block p { margin: 0; color: var(--muted); }
.footer-biz-block { text-align: right; justify-self: end; }
.footer-map-link { color: var(--accent); text-decoration: underline dotted; text-underline-offset: 3px; }
.footer-map-link:hover { color: var(--primary); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .product-grid           { grid-template-columns: repeat(2,1fr); }
    .feature-grid,
    .detail-gallery-grid,
    .footer-grid,
    .faq-layout,
    .contact-grid,
    .product-detail-top     { grid-template-columns: 1fr; }
    .contact-side-grid       { grid-template-columns: 1fr 1fr; }
    .gallery-3              { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .container    { width: min(var(--container), calc(100% - 72px)); }
    .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 0; }
    .header-right { width: 100%; align-items: flex-start; }
    .admin-header-status { justify-content: flex-start; flex-wrap: wrap; }
    .main-nav     { gap: 12px 16px; }
    .two-col, .two-col.reverse, .gallery-2, .product-grid { grid-template-columns: 1fr; }
    .media-slot-grid { grid-template-columns: 1fr; }
    .hero         { min-height: auto; }
    .hero-content { padding: 80px 0; }
    .section, .page-hero { padding: 70px 0 40px; }
    .product-detail-main-image { min-height: 340px; }
    .contact-side-grid,
    .contact-form-grid { grid-template-columns: 1fr; }
    .contact-form-shell { padding: 28px 22px; border-radius: 32px; }
    .contact-lead-card { padding: 28px 22px; border-radius: 32px 60px 32px 32px; }
    .contact-form-actions { flex-direction: column; align-items: stretch; }
    .form-submit { width: 100%; }
    .admin-login-panel { padding: 30px 22px; border-radius: 26px; }
}

@media (max-width: 560px) {
    .container { width: min(var(--container), calc(100% - 44px)); }
    .main-nav a { padding: 8px 12px; }
}

/* ---------------------------
   관리자 대시보드 1차
--------------------------- */

.admin-dashboard-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 26px;
}

.admin-shortcut-card {
    display: block;
    padding: 22px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.admin-shortcut-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
    color: var(--primary);
}

.admin-shortcut-card span {
    color: var(--muted);
    font-size: 0.94rem;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.admin-kpi-card {
    padding: 26px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.admin-kpi-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.92rem;
    color: var(--muted);
    font-weight: 700;
}

.admin-kpi-value {
    display: block;
    font-size: 2.3rem;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 10px;
}

.admin-kpi-desc {
    margin: 0;
    color: var(--muted);
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.admin-box-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-box-head h2 {
    margin: 0;
}

.admin-mini-list {
    display: grid;
    gap: 12px;
}

.admin-mini-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #efe7da;
    border-radius: 14px;
    background: #fff;
}

.admin-mini-main strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.admin-mini-main p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.admin-mini-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .admin-dashboard-nav,
    .admin-kpi-grid,
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-mini-item {
        grid-template-columns: 1fr;
    }

    .admin-mini-side {
        justify-content: flex-start;
    }
}

/* ── 문의 유형 배지 ─────────────────────────────────────────────── */
.type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.type-product  { background: #eef6ff; color: #2a5fa8; }
.type-shipping { background: #fff4e8; color: #a85a1f; }
.type-order    { background: #eefbf2; color: #2f7a44; }
.type-storage  { background: #f4f0ff; color: #6b4cb3; }
.type-gift     { background: #fff0f6; color: #b0477b; }
.type-etc      { background: #f1f1f1; color: #555555; }
/* ── 문의 유형 통계 카드 ────────────────────────────────────── */
.inquiry-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.stat-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.stat-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.stat-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.stat-total-badge {
    font-size: 0.82rem;
    color: var(--muted);
    background: #f3efe7;
    border-radius: 999px;
    padding: 4px 12px;
    white-space: nowrap;
}

.stat-type-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-type-row {
    display: grid;
    grid-template-columns: 72px 1fr 46px 40px;
    align-items: center;
    gap: 10px;
}

.stat-bar-wrap {
    height: 8px;
    background: #ede8e0;
    border-radius: 999px;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    border-radius: 999px;
    background: #2f5d50;
    min-width: 2px;
    transition: width 0.4s ease;
}

.stat-bar-product  { background: #2a5fa8; }
.stat-bar-shipping { background: #a85a1f; }
.stat-bar-order    { background: #2f7a44; }
.stat-bar-storage  { background: #6b4cb3; }
.stat-bar-gift     { background: #b0477b; }
.stat-bar-etc      { background: #999; }

.stat-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    text-align: right;
}

.stat-pct {
    font-size: 0.82rem;
    color: var(--muted);
    text-align: right;
}

.admin-kpi-card-alert .admin-kpi-value {
    color: #c0392b;
}

.admin-password-panel {
    margin: 28px 0 24px;
    padding: 28px;
    border: 1px solid rgba(167, 124, 73, 0.22);
    border-radius: 28px;
    background: rgba(255, 250, 243, 0.92);
    box-shadow: 0 18px 40px rgba(76, 41, 19, 0.08);
}

.admin-password-form {
    display: grid;
    gap: 16px;
}

.admin-password-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
}

.admin-password-note {
    margin: 0;
    color: #6f5a46;
    line-height: 1.6;
}

.admin-settings-shell {
    display: grid;
    gap: 18px;
}

.admin-settings-shell .admin-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 700px) {
    .admin-password-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .admin-settings-shell .admin-section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-password-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .inquiry-type-grid {
        grid-template-columns: 1fr;
    }
    .stat-type-row {
        grid-template-columns: 68px 1fr 40px 36px;
        gap: 6px;
    }
}

/* =========================
   관리자 대시보드 2차
   문의 유형 통계 카드
   ========================= */

.admin-section-header {
    margin-bottom: 16px;
}

.admin-section-header h2 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.3;
}

.admin-section-header p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    gap: 16px;
}

.stats-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card-accent {
    background: #f7fbf9;
    border: 1px solid #cfe3da;
}

.stat-card-warning {
    background: #fffaf0;
    border: 1px solid #f0dcc0;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-value {
    color: #222;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 980px) {
    .stats-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .stats-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================
   관리자 대시보드 3차
   문의 유형 비율 바
   ========================= */

.progress-card-list {
    display: grid;
    gap: 14px;
}

.progress-card {
    background: #fff;
    border: 1px solid #e7e2d8;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.progress-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.progress-card-label-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-card-label {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.progress-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.progress-card-count {
    font-size: 14px;
    color: #666;
    font-weight: 700;
}

.progress-card-percent {
    font-size: 14px;
    color: #222;
    font-weight: 800;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #f1ece4;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    min-width: 0;
}

.type-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.type-dot-product,
.progress-bar-fill-product {
    background: #4f81d9;
}

.type-dot-shipping,
.progress-bar-fill-shipping {
    background: #d98b4f;
}

.type-dot-order,
.progress-bar-fill-order {
    background: #4ea96b;
}

.type-dot-storage,
.progress-bar-fill-storage {
    background: #8b68d9;
}

.type-dot-gift,
.progress-bar-fill-gift {
    background: #d96fa4;
}

.type-dot-etc,
.progress-bar-fill-etc {
    background: #888;
}

@media (max-width: 640px) {
    .progress-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================
   관리자 대시보드 5차
   문의 운영 하이라이트
   ========================= */

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.highlight-card {
    background: #fff;
    border: 1px solid #e7e2d8;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.highlight-card-accent {
    background: #f7fbf9;
    border-color: #cfe3da;
}

.highlight-card-soft {
    background: #faf8f3;
    border-color: #e8dfd0;
}

.highlight-label {
    color: #666;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.highlight-main {
    margin-bottom: 10px;
}

.highlight-main .type-badge {
    font-size: 14px;
    padding: 8px 14px;
}

.highlight-sub {
    color: #333;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.ops-suggestion-card {
    background: #fff;
    border: 1px solid #e7e2d8;
    border-left: 6px solid #2f5d50;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.ops-suggestion-title {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin-bottom: 8px;
}

.ops-suggestion-text {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}

@media (max-width: 980px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   문의 관리 4차
   FAQ 전환 후보 카드
   ========================= */

.faq-candidate-summary-card {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 16px;
    margin-bottom: 18px;
}

.faq-candidate-summary-left,
.faq-candidate-summary-right {
    background: #fff;
    border: 1px solid #e7e2d8;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.faq-candidate-summary-label {
    color: #666;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.faq-candidate-summary-value {
    color: #222;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.faq-candidate-summary-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.faq-candidate-top-badge-wrap {
    margin-bottom: 10px;
}

.faq-candidate-top-title {
    color: #222;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 8px;
}

.faq-candidate-top-meta {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.faq-candidate-list {
    display: grid;
    gap: 14px;
}

.faq-candidate-item {
    background: #fff;
    border: 1px solid #e7e2d8;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.faq-candidate-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.faq-candidate-repeat {
    color: #8a5a00;
    background: #fff4db;
    border: 1px solid #f0ddb0;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.faq-candidate-title {
    color: #222;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 6px;
}

.faq-candidate-meta {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.faq-candidate-empty {
    background: #fff;
    border: 1px dashed #d9d2c5;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

@media (max-width: 980px) {
    .faq-candidate-summary-card {
        grid-template-columns: 1fr;
    }
}

/* =========================
   문의 관리 4차 2순위
   FAQ 등록 연결 버튼
   ========================= */

.faq-candidate-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-form-notice {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #d8e6dc;
    background: #f7fbf9;
    color: #2f5d50;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
}
.admin-form-notice strong {
    margin-left: 6px;
}

/* =========================
   문의 관리 4차 4순위
   FAQ 후보 처리상태
   ========================= */

.candidate-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.candidate-status-card {
    background: #fff;
    border: 1px solid #e7e2d8;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.candidate-status-label {
    color: #666;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.candidate-status-value {
    color: #222;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.faq-candidate-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.candidate-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.candidate-status-pending  { background: #f1f1f1; color: #555; }
.candidate-status-reviewing{ background: #fff4db; color: #8a5a00; }
.candidate-status-done     { background: #e9f7ee; color: #207245; }

.candidate-status-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.candidate-status-select {
    min-width: 120px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d8d2c7;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
}

@media (max-width: 980px) {
    .candidate-status-grid { grid-template-columns: 1fr; }
}

/* =========================
   문의 관리 4차 5순위
   FAQ 후보 필터 탭
   ========================= */

.candidate-filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.candidate-filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #ddd6ca;
    border-radius: 999px;
    background: #fff;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.18s ease;
}

.candidate-filter-tab:hover {
    background: #f7f5ef;
}

.candidate-filter-tab.active {
    background: #2f5d50;
    color: #fff;
    border-color: #2f5d50;
}

.candidate-sort-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.candidate-sort-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #d0c8bc;
    border-radius: 999px;
    background: #faf8f5;
    color: #777;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.18s ease;
}

.candidate-sort-tab:hover {
    background: #f0ece5;
}

.candidate-sort-tab.active {
    background: #5a7c6e;
    color: #fff;
    border-color: #5a7c6e;
}

/* =========================
   문의 관리 5차
   FAQ 후보 내부 메모
   ========================= */

.candidate-note-form {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.candidate-note-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d8d2c7;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    line-height: 1.7;
    resize: vertical;
    box-sizing: border-box;
}

.candidate-note-textarea:focus {
    outline: none;
    border-color: #2f5d50;
    box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.08);
}

.faq-candidate-note-preview {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #faf8f3;
    border: 1px solid #eee5d7;
    color: #555;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================
   문의 관리 5차 2순위
   FAQ 후보 유형별 그룹
   ========================= */

.faq-candidate-group-list {
    display: grid;
    gap: 22px;
}

.faq-candidate-group {
    display: grid;
    gap: 14px;
}

.faq-candidate-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ece5d9;
}

.faq-candidate-group-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.faq-candidate-group-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    color: #222;
}

.faq-candidate-group-count {
    color: #666;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .faq-candidate-group-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================
   문의 관리 5차 3순위
   FAQ 후보 유형별 요약 배지
   ========================= */

.faq-candidate-type-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.faq-candidate-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
}

.faq-candidate-type-badge-product  { background: #eef6ff; color: #2a5fa8; border-color: #d6e6fb; }
.faq-candidate-type-badge-shipping { background: #fff4e8; color: #a85a1f; border-color: #f4dcc8; }
.faq-candidate-type-badge-order    { background: #eefbf2; color: #2f7a44; border-color: #d4efdc; }
.faq-candidate-type-badge-storage  { background: #f4f0ff; color: #6b4cb3; border-color: #dfd4fb; }
.faq-candidate-type-badge-gift     { background: #fff0f6; color: #b0477b; border-color: #f8d7e8; }
.faq-candidate-type-badge-etc      { background: #f1f1f1; color: #555;    border-color: #e1e1e1; }

/* =========================
   문의 관리 5차 4순위
   FAQ 후보 최다 유형 1위 강조 배지
   ========================= */

.faq-candidate-top-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.faq-candidate-top-highlight-label {
    color: #666;
    font-size: 13px;
    font-weight: 700;
}

.faq-candidate-top-highlight-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid transparent;
}

.faq-candidate-top-highlight-badge-product  { background: #eef6ff; color: #2a5fa8; border-color: #d6e6fb; }
.faq-candidate-top-highlight-badge-shipping { background: #fff4e8; color: #a85a1f; border-color: #f4dcc8; }
.faq-candidate-top-highlight-badge-order    { background: #eefbf2; color: #2f7a44; border-color: #d4efdc; }
.faq-candidate-top-highlight-badge-storage  { background: #f4f0ff; color: #6b4cb3; border-color: #dfd4fb; }
.faq-candidate-top-highlight-badge-gift     { background: #fff0f6; color: #b0477b; border-color: #f8d7e8; }
.faq-candidate-top-highlight-badge-etc      { background: #f1f1f1; color: #555;    border-color: #e1e1e1; }

/* =========================
   문의 관리 5차 6순위
   FAQ 후보 Top 3 고정 하이라이트
   ========================= */

.faq-top3-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.faq-top3-highlight-card {
    background: #fff;
    border: 1px solid #e7e2d8;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.faq-top3-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #2f5d50;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.faq-top3-type-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.faq-top3-title {
    color: #222;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 8px;
}

.faq-top3-meta {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.faq-top3-note {
    background: #faf8f3;
    border: 1px solid #eee5d7;
    border-radius: 12px;
    padding: 10px 12px;
    color: #555;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-top3-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .faq-top3-highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   문의 관리 5차 7순위
   이번 주 우선 정리 후보 플래그
   ========================= */

.weekly-priority-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff4db;
    color: #8a5a00;
    border: 1px solid #f0ddb0;
    font-size: 12px;
    font-weight: 800;
}

.faq-top3-rank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.faq-top3-highlight-card-priority {
    border-color: #f0ddb0;
    box-shadow: 0 10px 24px rgba(138, 90, 0, 0.12);
}

/* =========================
   문의 관리 6차
   이번 주 우선 정리 후보 최상단 운영 배너
   ========================= */

.ops-priority-banner {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 20px;
    background: linear-gradient(135deg, #f7fbf9 0%, #fcfaf4 100%);
    border: 1px solid #dfe9e2;
    border-left: 8px solid #2f5d50;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 26px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.ops-priority-banner-kicker {
    color: #2f5d50;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.ops-priority-banner-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ops-priority-banner-title {
    margin: 0 0 10px;
    color: #222;
    font-size: 28px;
    line-height: 1.4;
}

.ops-priority-banner-meta {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.ops-priority-banner-note {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ece5d9;
    border-radius: 14px;
    padding: 14px 16px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.ops-priority-banner-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.ops-priority-banner-right form {
    margin: 0;
}

.ops-priority-banner-right .btn,
.ops-priority-banner-right button.btn {
    width: 100%;
}

@media (max-width: 980px) {
    .ops-priority-banner {
        grid-template-columns: 1fr;
    }

    .ops-priority-banner-title {
        font-size: 22px;
    }
}

/* =========================
   문의 관리 6차 2순위
   운영 배너 권장 작업 문구
   ========================= */

.ops-priority-banner-guide {
    margin-bottom: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #e7e2d8;
    border-radius: 14px;
}

.ops-priority-banner-guide-title {
    color: #2f5d50;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
}

.ops-priority-banner-guide-text {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

/* =========================
   문의 관리 6차 4순위
   운영 배너 반영 완료 체크
   ========================= */

.ops-priority-checks {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ops-priority-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f1f1;
    color: #666;
    border: 1px solid #e0e0e0;
    font-size: 12px;
    font-weight: 700;
}

.ops-priority-check.done {
    background: #e9f7ee;
    color: #207245;
    border-color: #cde8d5;
}

/* =========================
   문의 관리 6차 5순위
   운영 배너 완료율
   ========================= */

.ops-priority-progress {
    margin-bottom: 12px;
}

.ops-priority-progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.ops-priority-progress-label {
    color: #444;
    font-size: 13px;
    font-weight: 800;
}

.ops-priority-progress-value {
    color: #666;
    font-size: 13px;
    font-weight: 700;
}

.ops-priority-progress-bar {
    width: 100%;
    height: 12px;
    background: #e8e2d8;
    border-radius: 999px;
    overflow: hidden;
}

.ops-priority-progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f5d50 0%, #6fa38d 100%);
}

/* =========================
   문의 관리 6차 6순위
   우선 후보 완료 상태 강조
   ========================= */

.ops-priority-banner-kicker-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ops-priority-complete-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #e9f7ee;
    color: #207245;
    border: 1px solid #cde8d5;
    font-size: 12px;
    font-weight: 800;
}

.ops-priority-banner-complete {
    border-left-color: #207245;
    background: linear-gradient(135deg, #f3fbf6 0%, #fcfaf4 100%);
    box-shadow: 0 12px 28px rgba(32, 114, 69, 0.10);
}

/* =========================
   문의 관리 6차 7순위
   완료된 우선 후보 자동 완료/해제 추천
   ========================= */

.ops-priority-done-guide {
    margin-bottom: 12px;
    padding: 14px 16px;
    background: #e9f7ee;
    border: 1px solid #cde8d5;
    border-radius: 14px;
}

.ops-priority-done-guide-title {
    color: #207245;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
}

.ops-priority-done-guide-text {
    color: #2f5d50;
    font-size: 14px;
    line-height: 1.8;
}

/* =========================
   문의 관리 7차
   우선 후보 완료 이력
   ========================= */

.completion-log-list {
    display: grid;
    gap: 12px;
}

.completion-log-filter-form {
    margin-bottom: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e7e2d8;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.completion-log-filter-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.completion-log-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
}

.completion-log-filter-group label {
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.completion-log-filter-group select {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d8d2c7;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
}

.completion-log-filter-group-search {
    min-width: 260px;
    flex: 1 1 280px;
}

.completion-log-filter-group input[type="text"] {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d8d2c7;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
}

.completion-log-filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.completion-log-total-count {
    color: #2f5d50;
    font-size: 14px;
    font-weight: 800;
}

.completion-log-pagination-wrap {
    margin-top: 16px;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.completion-log-item {
    background: #fff;
    border: 1px solid #e7e2d8;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.completion-log-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.completion-log-date {
    color: #666;
    font-size: 13px;
    font-weight: 700;
}

.completion-log-title {
    color: #222;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
}

.completion-log-note {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #faf8f3;
    border: 1px solid #eee5d7;
    color: #555;
    font-size: 13px;
    line-height: 1.7;
}

.completion-log-progress {
    margin-top: 10px;
    color: #2f5d50;
    font-size: 13px;
    font-weight: 800;
}

.completion-log-guide {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f3f8f5;
    border: 1px solid #dfe9e2;
    color: #2f5d50;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 700;
}

.completion-log-statuses {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.completion-log-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f1f1;
    color: #666;
    border: 1px solid #e0e0e0;
    font-size: 12px;
    font-weight: 700;
}

.completion-log-status.done {
    background: #e9f7ee;
    color: #207245;
    border-color: #cde8d5;
}

.completion-log-empty {
    background: #fff;
    border: 1px dashed #d9d2c5;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

/* =========================
   문의 관리 8차 5순위
   완료 이력 상세 보기(펼침형)
   ========================= */

.completion-log-detail-box {
    margin-top: 12px;
    border-top: 1px solid #eee5d7;
    padding-top: 12px;
}

.completion-log-detail-summary {
    cursor: pointer;
    list-style: none;
    color: #2f5d50;
    font-size: 13px;
    font-weight: 800;
    user-select: none;
}

.completion-log-detail-summary::-webkit-details-marker {
    display: none;
}

.completion-log-detail-summary::before {
    content: "+ ";
    color: #2f5d50;
    font-weight: 800;
}

.completion-log-detail-box[open] .completion-log-detail-summary::before {
    content: "- ";
}

.completion-log-detail-body {
    margin-top: 14px;
    display: grid;
    gap: 14px;
}

.completion-log-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.completion-log-detail-card {
    background: #faf8f3;
    border: 1px solid #eee5d7;
    border-radius: 12px;
    padding: 12px 14px;
}

.completion-log-detail-label {
    color: #666;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.completion-log-detail-value {
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.completion-log-detail-section {
    background: #fff;
    border: 1px solid #ece5d9;
    border-radius: 12px;
    padding: 14px 16px;
}

.completion-log-detail-section-title {
    color: #2f5d50;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.completion-log-detail-guide-title {
    color: #2f5d50;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.completion-log-detail-text {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-line;
}

/* =========================
   문의 관리 8차 6순위
   완료 이력 상세 유지 + 인쇄 친화 스타일
   ========================= */

.completion-log-detail-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.screen-only {
    display: flex;
}

@media print {
    .screen-only,
    .completion-log-filter-form,
    .completion-log-pagination-wrap,
    .admin-page-header,
    .completion-log-detail-summary,
    .btn,
    button {
        display: none !important;
    }

    .admin-page,
    .admin-section,
    .completion-log-item,
    .completion-log-detail-section,
    .completion-log-detail-card {
        box-shadow: none !important;
        background: #fff !important;
    }

    .admin-page {
        padding: 0 !important;
    }

    .admin-section {
        border: none !important;
        padding: 0 !important;
    }

    .completion-log-list {
        gap: 10px !important;
    }

    .completion-log-item {
        border: 1px solid #bbb !important;
        page-break-inside: avoid;
    }

    .completion-log-detail-box {
        display: block !important;
        border-top: none !important;
        padding-top: 0 !important;
    }

    .completion-log-detail-body {
        display: grid !important;
    }

    .completion-log-detail-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .completion-log-guide,
    .completion-log-note,
    .completion-log-detail-section {
        border: 1px solid #ccc !important;
    }
}

/* =========================
   문의 관리 8차 7순위
   완료 이력 -> 유사한 현재 문의 연결
   ========================= */

.completion-log-actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.completed-history-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 14px;
    font-size: 13px;
    color: #5f6368;
}

.hint-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.hint-badge--recommended {
    background: #eef8ee;
    color: #1f7a36;
    border: 1px solid #cde9d2;
}

.completed-history-ops-dashboard {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: linear-gradient(180deg, #fcfcfd 0%, #f9fafb 100%);
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}

.completed-history-ops-dashboard__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.completed-history-ops-dashboard__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.completed-history-ops-dashboard__eyebrow {
    font-size: 12px;
    font-weight: 800;
    color: #667085;
    letter-spacing: 0.02em;
}

.completed-history-ops-dashboard__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #101828;
    line-height: 1.3;
}

.completed-history-ops-dashboard__desc {
    margin: 0;
    font-size: 13px;
    color: #667085;
    line-height: 1.5;
}

.completed-history-ops-dashboard__header-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.completed-history-ops-actions {
    display: flex;
    margin: 4px 0 0;
    gap: 8px;
    flex-wrap: wrap;
}

.completed-history-ops-actions .btn {
    white-space: nowrap;
}

.completed-history-ops-actions-feedback {
    min-height: 20px;
    margin: 6px 0 0;
.preset-chip__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    background: #101828;
    color: #ffffff;
    letter-spacing: 0.01em;
}
    font-size: 12px;
    line-height: 1.4;
    color: #667085;
}
.preset-chip.is-recommended {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(16, 24, 40, 0.10);
}
.completed-history-preset-guide {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 2px 0 6px;
    font-size: 12px;
    line-height: 1.45;
}
.completed-history-preset-guide__label {
    font-weight: 800;
    color: #667085;
}
.completed-history-preset-guide__name {
    color: #101828;
    font-weight: 800;
}
.completed-history-preset-guide__reason {
    color: #667085;
}

    .completed-history-preset-chips,
    .completed-history-preset-guide {
    color: #1f7a36;
}

.completed-history-ops-actions-feedback.is-error {
    .completed-history-preset-guide,
    color: #b42318;
        width: 100%;

.completed-history-preset-chips {
    display: flex;
    align-items: center;
    gap: 8px;
        .completed-history-preset-guide__meta,
    flex-wrap: wrap;
    margin: 8px 0 6px;
}

.completed-history-preset-chips__label {
    font-size: 12px;
    font-weight: 800;
    color: #667085;
    line-height: 1.2;
    margin-right: 2px;
}

.preset-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #475467;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease, transform 0.08s ease;
}

.preset-chip:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}

.preset-chip__text {
    display: inline-flex;
    align-items: center;
}

.preset-chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: inherit;
}

.preset-chip__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    background: #101828;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.preset-chip__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    background: #101828;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.preset-chip--recommended {
    background: #f6fbf7;
    border-color: #d7eadb;
    color: #1f7a36;
}

.preset-chip--today {
    background: #fffaf2;
    border-color: #f3dfb6;
    color: #b54708;
}

.preset-chip--used {
    background: #f8f9fc;
    border-color: #d9deea;
    color: #475467;
}

.preset-chip.is-active {
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(16, 24, 40, 0.06);
}

.preset-chip.is-recommended {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(16, 24, 40, 0.10);
}

.completed-history-preset-guide {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 2px 0 6px;
    font-size: 12px;
    line-height: 1.45;
}

.completed-history-preset-guide__label {
    font-weight: 800;
    color: #667085;
}

.completed-history-preset-guide__name {
    color: #101828;
    font-weight: 800;
}

.completed-history-preset-guide__reason {
    color: #667085;
}

.completed-history-preset-guide__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.preset-guide-meta-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: #f2f4f7;
    color: #475467;
    border: 1px solid #d0d5dd;
}

.completed-history-preset-change-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 4px 0 6px;
    padding: 10px 12px;
    border: 1px solid #dbe7f6;
    border-radius: 12px;
    background: #f8fbff;
    line-height: 1.45;
}

.preset-change-banner__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    background: #e8f1ff;
    color: #175cd3;
    border: 1px solid #c7dafc;
}

.preset-change-banner__text {
    font-size: 12px;
    font-weight: 700;
    color: #101828;
}

.preset-change-banner__flow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: #ffffff;
    color: #475467;
    border: 1px solid #d0d5dd;
}

.preset-change-banner__saved {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: #eef8ee;
    color: #1f7a36;
    border: 1px solid #cde9d2;
}

.completed-history-partial-replay-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 6px 0 12px;
    padding: 10px 12px;
    border: 1px solid #cde9d2;
    border-radius: 12px;
    background: #f6fbf7;
}

.completed-history-partial-replay-banner__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    background: #e4f4e7;
    color: #1f7a36;
    border: 1px solid #b9dfc2;
}

.completed-history-partial-replay-banner__text {
    font-size: 12px;
    font-weight: 700;
    color: #101828;
    line-height: 1.4;
}

.completed-history-partial-replay-banner__chips {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.completed-history-partial-replay-banner__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: #ffffff;
    color: #1f7a36;
    border: 1px solid #cde9d2;
}

.completed-history-partial-replay-banner__undo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin-left: auto;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #98a2b3;
    background: #ffffff;
    color: #344054;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.completed-history-partial-replay-banner__undo:hover {
    text-decoration: none;
    background: #f9fafb;
    border-color: #667085;
}

.completed-history-restore-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 6px 0 12px;
    padding: 10px 12px;
    border: 1px solid #dbe7f6;
    border-radius: 12px;
    background: #f8fbff;
}

.completed-history-restore-banner__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    background: #e8f1ff;
    color: #175cd3;
    border: 1px solid #c7dafc;
}

.completed-history-restore-banner__text {
    font-size: 12px;
    font-weight: 700;
    color: #101828;
    line-height: 1.4;
}

.completed-history-restore-banner__chips {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.completed-history-restore-banner__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: #ffffff;
    color: #175cd3;
    border: 1px solid #c7dafc;
}

.completed-history-recent-experiment-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 6px 0 12px;
    padding: 10px 12px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fcfcfd;
}

.completed-history-recent-experiment-banner__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    background: #f2f4f7;
    color: #344054;
    border: 1px solid #d0d5dd;
}

.completed-history-recent-experiment-banner__text {
    font-size: 12px;
    font-weight: 700;
    color: #101828;
    line-height: 1.4;
}

.recent-experiment-compare-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.recent-experiment-compare-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
}

.recent-experiment-compare-badge.is-success {
    color: #166534;
    background: #ecfdf3;
    border-color: #bbf7d0;
}

.recent-experiment-compare-badge.is-warning {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

.recent-experiment-compare-badge.is-danger {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.recent-experiment-compare-badge.is-muted {
    color: #475569;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.recent-experiment-compare-summary {
    font-size: 13px;
    color: #475569;
}

.recent-experiment-compare-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.compare-meta-item {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 10px;
}

.compare-meta-label {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-right: 2px;
}

.compare-meta-item.is-diff {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
}

.compare-meta-item.is-same {
    color: #166534;
    background: #ecfdf3;
    border-color: #bbf7d0;
}

.compare-meta-more {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: #64748b;
}

.recent-experiment-compare-meta-wrap {
    margin-top: 6px;
}

.compare-diff-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compare-diff-list.is-expanded {
    display: flex;
}

.recent-experiment-compare-actions {
    margin-top: 8px;
}

.compare-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.compare-toggle-btn:hover {
    background: #dbeafe;
}

.compare-toggle-count {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    color: #1e40af;
}

.completed-history-recent-experiment-banner__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.completed-history-recent-experiment-banner__reapply,
.completed-history-recent-experiment-banner__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid #d0d5dd;
}

.completed-history-recent-experiment-banner__reapply {
    background: #eef8ee;
    color: #1f7a36;
    border-color: #cde9d2;
}

.completed-history-recent-experiment-banner__reapply:hover {
    text-decoration: none;
    background: #e4f4e7;
    border-color: #a9d3b3;
}

.completed-history-recent-experiment-banner__clear {
    background: #ffffff;
    color: #344054;
    border-color: #d0d5dd;
}

.completed-history-recent-experiment-banner__clear:hover {
    text-decoration: none;
    background: #f9fafb;
    border-color: #98a2b3;
}

.ops-dashboard-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    background: #eef8ee;
    color: #1f7a36;
    border: 1px solid #cde9d2;
}

.completed-history-ops-dashboard__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.completed-history-ops-dashboard__banner {
    margin-bottom: 12px;
}

.completed-history-ops-dashboard__result {
    margin-bottom: 0;
}

.completed-history-ops-dashboard__log-panel {
    margin-top: 12px;
}

.recommendation-mini-log-panel {
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
    padding: 14px;
}

.recommendation-mini-log-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.recommendation-mini-log-panel__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.recommendation-mini-log-panel__eyebrow {
    font-size: 11px;
    font-weight: 800;
    color: #667085;
    line-height: 1.2;
}

.recommendation-mini-log-panel__title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #101828;
    line-height: 1.35;
}

.recommendation-mini-log-panel__meta {
    font-size: 12px;
    font-weight: 700;
    color: #667085;
}

.recommendation-mini-log-highlight {
    border: 1px solid #dbe7f6;
    border-radius: 14px;
    background: #f8fbff;
    padding: 14px;
    margin-bottom: 12px;
}

.recommendation-mini-log-highlight__header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.recommendation-mini-log-highlight__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    background: #e8f1ff;
    color: #175cd3;
    border: 1px solid #c7dafc;
}

.recommendation-mini-log-highlight__title {
    font-size: 13px;
    font-weight: 800;
    color: #101828;
    line-height: 1.3;
}

.recommendation-mini-log-highlight__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: #ffffff;
    color: #475467;
    border: 1px solid #d0d5dd;
}

.recommendation-mini-log-highlight__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.recommendation-mini-log-highlight__time {
    font-size: 11px;
    font-weight: 700;
    color: #667085;
}

.recommendation-mini-log-highlight__flow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    background: #ffffff;
    color: #344054;
    border: 1px solid #d0d5dd;
}

.recommendation-mini-log-highlight__reason {
    font-size: 12px;
    font-weight: 700;
    color: #101828;
    line-height: 1.5;
    margin-bottom: 10px;
}

.recommendation-mini-log-highlight__summary-line {
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: #344054;
}

.recommendation-mini-log-highlight__partial-hint {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    color: #667085;
}

.recommendation-mini-log-highlight__compare {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.recommendation-mini-log-highlight__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: #fff4e5;
    color: #b54708;
    border: 1px solid #f2d2a3;
}

.recommendation-mini-log-highlight__same {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    background: #eef8ee;
    color: #1f7a36;
    border: 1px solid #cde9d2;
}

.recommendation-mini-log-highlight__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.recommendation-mini-log-highlight__replay-link,
.recommendation-mini-log-highlight__partial-replay-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.recommendation-mini-log-highlight__replay-link {
    background: #ffffff;
    color: #344054;
}

.recommendation-mini-log-highlight__replay-link:hover {
    text-decoration: none;
    background: #f9fafb;
    border-color: #98a2b3;
}

.recommendation-mini-log-highlight__partial-replay-link {
    background: #eef8ee;
    color: #1f7a36;
    border-color: #cde9d2;
}

.recommendation-mini-log-highlight__partial-replay-link:hover {
    text-decoration: none;
    background: #e4f4e7;
    border-color: #a9d3b3;
}

.recommendation-mini-log-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recommendation-mini-log-item {
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #fcfcfd;
    padding: 12px;
}

.recommendation-mini-log-item__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.recommendation-mini-log-item__time {
    font-size: 11px;
    font-weight: 700;
    color: #667085;
}

.recommendation-mini-log-item__flow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    background: #f2f4f7;
    color: #344054;
    border: 1px solid #d0d5dd;
}

.recommendation-mini-log-item__reason {
    font-size: 12px;
    font-weight: 700;
    color: #101828;
    line-height: 1.45;
    margin-bottom: 8px;
}

.recommendation-mini-log-item__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.recommendation-mini-log-item__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: #f9fafb;
    color: #475467;
    border: 1px solid #eaecf0;
}

.recommendation-mini-log-item__compare {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px dashed #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
}

.recommendation-mini-log-item__compare-title {
    font-size: 11px;
    font-weight: 800;
    color: #667085;
    line-height: 1.2;
    margin-bottom: 6px;
}

.recommendation-mini-log-item__compare-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.recommendation-mini-log-item__compare-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: #fff4e5;
    color: #b54708;
    border: 1px solid #f2d2a3;
}

.recommendation-mini-log-item__compare-same {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    background: #eef8ee;
    color: #1f7a36;
    border: 1px solid #cde9d2;
}

.recommendation-mini-log-item__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
}

.recommendation-mini-log-item__replay-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #344054;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.recommendation-mini-log-item__replay-link:hover {
    text-decoration: none;
    background: #f9fafb;
    border-color: #98a2b3;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
}

@media print {
    .recommendation-mini-log-item__compare {
        display: none !important;
    }
}

.recommendation-mini-log-panel__empty {
    border: 1px dashed #d0d5dd;
    border-radius: 12px;
    background: #fcfcfd;
    padding: 14px;
    font-size: 12px;
    color: #667085;
}

.completed-history-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.summary-card {
    display: block;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 18px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: transform 0.08s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.summary-card:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
}

.summary-card__label {
    font-size: 13px;
    font-weight: 700;
    color: #475467;
    margin-bottom: 8px;
}

.summary-card__value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: #101828;
    margin-bottom: 8px;
}

.summary-card__sub {
    font-size: 12px;
    color: #667085;
    line-height: 1.45;
}

.summary-card--recommended {
    background: #f6fbf7;
    border-color: #d7eadb;
}

.summary-card--recommended .summary-card__value {
    color: #1f7a36;
}

.summary-card--used {
    background: #f8f9fc;
    border-color: #d9deea;
}

.summary-card--used .summary-card__value {
    color: #475467;
}

.summary-card--today {
    background: #fffaf2;
    border-color: #f3dfb6;
}

.summary-card--today .summary-card__value {
    color: #b54708;
}

.summary-card.is-active {
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(16, 24, 40, 0.06);
}

.completed-history-summary-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 16px;
}

.completed-history-filter-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #dbe7f6;
    background: #f8fbff;
    border-radius: 14px;
}

.completed-history-filter-banner__left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.completed-history-filter-banner__right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-banner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    background: #e8f1ff;
    color: #175cd3;
    border: 1px solid #c7dafc;
}

.filter-banner-text {
    font-size: 13px;
    color: #475467;
    line-height: 1.4;
}

.completed-history-filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
    white-space: nowrap;
}

.filter-chip--recommended {
    background: #eef8ee;
    color: #1f7a36;
    border-color: #cde9d2;
}

.filter-chip--used {
    background: #f2f4f7;
    color: #667085;
    border-color: #d0d5dd;
}

.filter-chip--today {
    background: #fff4e5;
    color: #b54708;
    border-color: #f2d2a3;
}

.filter-chip__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    background: rgba(255, 255, 255, 0.7);
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.filter-chip__remove:hover {
    text-decoration: none;
    background: #ffffff;
}

.completed-history-result-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
}

.completed-history-result-summary__main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.result-summary-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    background: #f2f4f7;
    color: #344054;
    border: 1px solid #d0d5dd;
}

.completed-history-result-summary__text {
    font-size: 14px;
    font-weight: 800;
    color: #101828;
    line-height: 1.4;
}

.completed-history-result-summary__ops {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.result-summary-ops-item {
    font-size: 12px;
    font-weight: 700;
    color: #475467;
    line-height: 1.3;
}

.result-summary-ops-divider {
    font-size: 12px;
    color: #98a2b3;
    line-height: 1;
}

.completed-history-result-summary__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.result-summary-meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    background: #f9fafb;
    color: #475467;
    border: 1px solid #eaecf0;
}

.completion-log-detail-actions-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* =========================
   문의 관리 9차 2순위
   완료 이력 기반 FAQ 초안 주입
   ========================= */

.form-help-card {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #dfe9e2;
    border-radius: 14px;
    background: #f7fbf9;
}

.form-help-card-title {
    color: #2f5d50;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.form-help-card textarea {
    width: 100%;
    border: 1px solid #d8d2c7;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
    font-size: 14px;
    line-height: 1.8;
    resize: vertical;
}

/* =========================
   문의 관리 9차 3순위
   완료 이력 FAQ 재작성 사용 표시
   ========================= */

.completion-log-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.completion-log-rewrite-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid transparent;
}

.completion-log-rewrite-badge.used {
    background: #eef6ff;
    color: #2a5fa8;
    border-color: #d6e6fb;
}

.completion-log-rewrite-badge.unused {
    background: #f4f4f4;
    color: #666;
    border-color: #e0e0e0;
}

.form-help-card-text {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

@media print {
    .completed-history-summary-actions {
        display: none !important;
    }

    .completed-history-ops-actions,
    .completed-history-preset-chips,
    .completed-history-preset-guide,
    .completed-history-ops-actions-feedback,
    .completed-history-ops-dashboard__log-panel,
    .recommendation-mini-log-item__actions,
    .recommendation-mini-log-item__replay-link,
    .recommendation-mini-log-highlight,
    .recommendation-mini-log-highlight__actions,
    .completed-history-partial-replay-banner,
    .completed-history-restore-banner,
    .completed-history-recent-experiment-banner,
    .no-print {
        display: none !important;
    }

    .completed-history-ops-dashboard {
        background: #fff !important;
        border: 1px solid #999 !important;
        box-shadow: none !important;
    }

    .completed-history-filter-banner__right,
    .filter-chip__remove {
        display: none !important;
    }

    .completed-history-filter-banner {
        background: #fff !important;
        border: 1px solid #999 !important;
    }

    .completed-history-result-summary {
        background: #fff !important;
        border: 1px solid #999 !important;
    }

    .filter-banner-badge,
    .filter-chip,
    .result-summary-badge,
    .result-summary-meta-item {
        background: #fff !important;
        color: #111 !important;
        border: 1px solid #999 !important;
    }

    .completed-history-summary-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 12px;
    }

    .summary-card {
        box-shadow: none !important;
        transform: none !important;
        background: #fff !important;
        border: 1px solid #999 !important;
    }

    .summary-card__value,
    .summary-card__label,
    .summary-card__sub,
    .completed-history-result-summary__text,
    .result-summary-ops-item,
    .result-summary-ops-divider {
        color: #111 !important;
    }

    .hint-badge--recommended,
    .ops-dashboard-status-badge,
    .completion-log-rewrite-badge.used,
    .completion-log-rewrite-badge.unused {
        border: 1px solid #999 !important;
        color: #111 !important;
        background: #fff !important;
    }
}

@media (max-width: 1100px) {
    .completed-history-ops-dashboard {
        padding: 14px;
    }

    .completed-history-ops-dashboard__header-side {
        width: 100%;
        justify-content: flex-start;
    }

    .completed-history-ops-actions {
        width: 100%;
    }

    .completed-history-preset-chips,
    .completed-history-preset-guide {
        width: 100%;
    }

    .completed-history-preset-change-banner {
        width: 100%;
    }

    .completed-history-partial-replay-banner {
        width: 100%;
    }

    .completed-history-restore-banner {
        width: 100%;
    }

    .completed-history-recent-experiment-banner {
        width: 100%;
    }

    .completed-history-recent-experiment-banner__actions {
        margin-left: 0;
    }

    .completed-history-partial-replay-banner__undo {
        margin-left: 0;
    }

    .recommendation-mini-log-item__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .recommendation-mini-log-item__actions {
        justify-content: flex-start;
    }

    .recommendation-mini-log-highlight__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .recommendation-mini-log-highlight__actions {
        justify-content: flex-start;
    }

    .completed-history-ops-dashboard__cards {
        grid-template-columns: 1fr;
    }

    .completed-history-filter-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .completed-history-filter-banner__right {
        width: 100%;
        justify-content: flex-end;
    }

    .completed-history-result-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .completed-history-result-summary__ops,
    .completed-history-result-summary__meta {
        width: 100%;
    }

    .completed-history-summary-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .completion-log-detail-grid {
        grid-template-columns: 1fr;
    }
}