    @font-face {
        font-family: 'MaruBuri';
        src: url('https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.woff2') format('woff2');
        font-weight: 600;
        font-display: swap;
    }

    @font-face {
        font-family: 'GangwonEducationSaeum';
        src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEduSaeeum_OTFMediumA.woff') format('woff');
        font-weight: 400;
        font-display: swap;
    }

    :root {
        --bg: #f3efe6;
        --surface: #fffaf1;
        --surface-strong: #f2e4c8;
        --line: #dcc8a2;
        --text: #2f2417;
        --text-muted: #6d5c46;
        --accent: #a2471b;
        --accent-soft: #f1d4b8;
    }

    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        font-family: "Pretendard", "Noto Sans KR", sans-serif;
        background:
            radial-gradient(circle at top left, #fff6e7 0, transparent 32%),
            linear-gradient(180deg, #f6f1e8 0%, var(--bg) 100%);
        color: var(--text);
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    .shell {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 28px;
        border-bottom: 1px solid rgba(220, 200, 162, 0.7);
        background: rgba(255, 250, 241, 0.8);
        backdrop-filter: blur(10px);
    }

    .brand {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .brand-title {
        font-size: 20px;
        font-weight: 800;
        letter-spacing: -0.03em;
    }

    .brand-subtitle {
        font-size: 13px;
        color: var(--text-muted);
    }

    .content {
        width: min(1120px, calc(100% - 32px));
        margin: 0 auto;
        padding: 28px 0 48px;
    }

    .card {
        background: rgba(255, 250, 241, 0.88);
        border: 1px solid rgba(220, 200, 162, 0.9);
        border-radius: 24px;
        box-shadow: 0 18px 40px rgba(87, 54, 18, 0.08);
        padding: 24px;
    }

    .hero {
        display: grid;
        gap: 18px;
    }

    .eyebrow {
        color: var(--accent);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .title {
        margin: 0;
        font-size: clamp(28px, 4vw, 42px);
        line-height: 1.1;
        letter-spacing: -0.04em;
    }

    .description {
        margin: 0;
        color: var(--text-muted);
        line-height: 1.7;
    }

    .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 18px;
        border-radius: 999px;
        border: 0;
        background: var(--accent);
        color: white;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .button.secondary {
        background: var(--accent-soft);
        color: var(--text);
    }

    .grid {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .metric {
        padding: 20px;
        border-radius: 20px;
        background: white;
        border: 1px solid rgba(220, 200, 162, 0.7);
    }

    .metric-label {
        font-size: 13px;
        color: var(--text-muted);
    }

    .metric-value {
        margin-top: 10px;
        font-size: 28px;
        font-weight: 800;
        letter-spacing: -0.04em;
    }

    .section {
        margin-top: 18px;
    }

    .section-title {
        margin: 0 0 12px;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: -0.03em;
    }

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

    .list-item {
        padding: 16px 18px;
        border-radius: 18px;
        background: white;
        border: 1px solid rgba(220, 200, 162, 0.7);
    }

    .badge {
        display: inline-flex;
        align-items: center;
        padding: 6px 10px;
        border-radius: 999px;
        background: var(--accent-soft);
        color: var(--accent);
        font-size: 12px;
        font-weight: 700;
    }

    .empty-state {
        display: grid;
        gap: 12px;
        place-items: start;
    }

    .placeholder-state {
        display: grid;
        gap: 10px;
        padding: 26px;
        border: 1px dashed rgba(203, 168, 140, 0.95);
        border-radius: 20px;
        background: rgba(255, 253, 248, 0.76);
    }

    .placeholder-title {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        color: #2d1e13;
    }

    .placeholder-description {
        margin: 0;
        font-size: 14px;
        line-height: 1.8;
        color: #7b6654;
    }

    .admin-shell {
        min-height: 100vh;
        display: grid;
        grid-template-columns: 248px minmax(0, 1fr);
        background:
            radial-gradient(circle at top left, rgba(255, 245, 228, 0.75) 0, transparent 28%),
            linear-gradient(180deg, #f7efe6 0%, #f2eadf 100%);
        color: var(--text);
    }

    .admin-sidebar {
        display: flex;
        flex-direction: column;
        gap: 28px;
        padding: 26px 18px 22px;
        border-right: 1px solid rgba(220, 200, 162, 0.72);
        background: rgba(255, 250, 243, 0.78);
        backdrop-filter: blur(14px);
        position: sticky;
        top: 0;
        align-self: start;
        height: 100vh;
    }

    .admin-sidebar-brand {
        display: grid;
        gap: 10px;
        padding: 10px 12px 2px;
    }

    .admin-sidebar-kicker {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #9b6a3e;
    }

    .admin-sidebar-title {
        font-size: 34px;
        font-weight: 900;
        letter-spacing: -0.07em;
        color: #2b1c12;
    }

    .admin-sidebar-description {
        margin: 0;
        font-size: 13px;
        line-height: 1.7;
        color: #786452;
    }

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

    .admin-sidebar-session {
        display: grid;
        gap: 10px;
        margin-top: auto;
        padding: 16px 10px 4px;
        border-top: 1px solid rgba(220, 200, 162, 0.72);
    }

    .admin-sidebar-session-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .admin-sidebar-session-head-main {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .admin-sidebar-session-label {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #9b6a3e;
        opacity: 0.92;
    }

    .admin-sidebar-session-indicator {
        flex: 0 0 auto;
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: #c46a2d;
        opacity: 0.82;
    }

    .admin-sidebar-session-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        min-height: 34px;
    }

    .admin-sidebar-session-value {
        font-size: 13px;
        font-weight: 800;
        letter-spacing: -0.01em;
        color: #3f2f22;
    }

    .admin-sidebar-session-meta {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #8a725d;
    }

    .admin-sidebar-session-actions {
        display: flex;
        justify-content: flex-end;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .admin-sidebar-session-actions .admin-sidebar-logout-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 12px;
        width: auto;
        border-radius: 999px;
        border: 1px solid rgba(214, 188, 160, 0.88);
        background: rgba(255, 255, 255, 0.62);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.01em;
        color: #6f5744;
        cursor: pointer;
        box-shadow: 0 8px 14px rgba(103, 70, 42, 0.04);
        transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .admin-nav-link {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 0 14px;
        border-radius: 16px;
        color: #6b5744;
        font-size: 14px;
        font-weight: 700;
        transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .admin-nav-link:hover {
        background: rgba(242, 228, 200, 0.66);
        color: #3e2d20;
        transform: translateX(1px);
    }

    .admin-nav-link.active {
        background: rgba(162, 71, 27, 0.12);
        color: #8f451c;
    }

    .admin-main {
        min-width: 0;
        display: grid;
        align-content: start;
        gap: 18px;
        padding: 22px;
    }

    .admin-topbar {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        padding: 8px 4px 2px;
    }

    .admin-topbar-copy {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .admin-topbar-kicker {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: #9b6a3e;
    }

    .admin-topbar-title {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
        line-height: 1.06;
        letter-spacing: -0.05em;
        font-weight: 900;
        color: #2d1e13;
    }

    .admin-topbar-description {
        margin: 0;
        font-size: 14px;
        line-height: 1.8;
        color: #74604e;
    }

    .admin-mall-badge {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: 0 14px;
        border-radius: 999px;
        border: 1px solid rgba(203, 168, 140, 0.8);
        background: rgba(255, 255, 255, 0.72);
        color: #8f5a35;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .admin-page-content {
        display: grid;
        gap: 22px;
    }

    .admin-feedback-banner {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 52px;
        padding: 14px 18px;
        border-radius: 18px;
        border: 1px solid transparent;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.6;
        box-shadow: 0 12px 26px rgba(87, 54, 18, 0.06);
    }

    .admin-feedback-banner::before {
        content: '';
        width: 10px;
        height: 10px;
        border-radius: 999px;
        flex: 0 0 auto;
    }

    .admin-feedback-banner-error {
        border-color: rgba(183, 92, 39, 0.26);
        background: linear-gradient(180deg, rgba(255, 244, 236, 0.96) 0%, rgba(255, 239, 226, 0.92) 100%);
        color: #8b3e15;
    }

    .admin-feedback-banner-error::before {
        background: #c65b1b;
        box-shadow: 0 0 0 6px rgba(198, 91, 27, 0.12);
    }

    .admin-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        margin-top: 6px;
        padding: 18px 4px 4px;
        border-top: 1px solid rgba(220, 200, 162, 0.72);
        font-size: 12px;
        line-height: 1.6;
        color: #8a725d;
    }

    .admin-footer-copy {
        font-weight: 700;
        letter-spacing: 0.02em;
        color: #705844;
    }

    .admin-footer-meta {
        text-align: right;
    }

    .admin-sidebar-logout-button {
        transition: color 0.2s ease, opacity 0.2s ease;
    }

    .admin-sidebar-logout-button:hover {
        background: rgba(255, 255, 255, 0.88);
        border-color: rgba(193, 156, 124, 0.96);
        color: #3a2818;
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(103, 70, 42, 0.08);
    }

    .dashboard-section {
        display: grid;
        gap: 22px;
    }

    .dashboard-card {
        position: relative;
        border: 1px solid rgba(220, 200, 162, 0.82);
        border-radius: 24px;
        background: rgba(255, 250, 243, 0.88);
        box-shadow: 0 16px 36px rgba(87, 54, 18, 0.05);
        padding: 22px;
    }

    .dashboard-card-header {
        position: relative;
        z-index: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .dashboard-card-title {
        margin: 0;
        font-size: 14px;
        font-weight: 700;
        color: #755f4d;
    }

    .dashboard-card-kicker {
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #a06b44;
    }

    .dashboard-table-wrap {
        overflow: hidden;
        border-radius: 24px;
        border: 1px solid rgba(220, 200, 162, 0.82);
        background: rgba(255, 250, 243, 0.9);
        box-shadow: 0 16px 36px rgba(87, 54, 18, 0.05);
    }

    .dashboard-table-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 20px 22px 0;
    }

    .dashboard-table-scroll {
        overflow-x: auto;
        padding: 18px 22px 22px;
    }

    .dashboard-table {
        width: 100%;
        border-collapse: collapse;
        min-width: 760px;
    }

    .dashboard-table th {
        padding: 0 0 14px;
        border-bottom: 1px solid rgba(220, 200, 162, 0.82);
        text-align: left;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #8d7058;
    }

    .dashboard-table td {
        padding: 16px 0;
        border-bottom: 1px solid rgba(236, 226, 210, 0.9);
        vertical-align: top;
        font-size: 14px;
        color: #4b3b2d;
    }

    .dashboard-table tr:last-child td {
        border-bottom: 0;
    }

    .dashboard-order-title {
        display: grid;
        gap: 4px;
    }

    .dashboard-order-name {
        font-weight: 700;
        color: #2f2417;
    }

    .admin-text-link {
        color: inherit;
        text-decoration: none;
    }

    .admin-text-link:hover .dashboard-order-name,
    .admin-text-link:focus-visible .dashboard-order-name {
        text-decoration: underline;
        text-decoration-color: rgba(92, 67, 46, 0.38);
        text-underline-offset: 3px;
    }

    .admin-text-link-block {
        display: block;
    }

    .admin-text-link-strong {
        font-weight: 700;
    }

    .admin-floating-tooltip {
        --admin-tooltip-arrow-left: 18px;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 2000;
        width: max-content;
        max-width: min(420px, calc(100vw - 24px));
        border-radius: 14px;
        background: rgba(82, 59, 42, 0.94);
        padding: 8px 12px;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.5;
        color: #fff8f2;
        box-shadow: 0 12px 20px rgba(74, 47, 26, 0.16);
        white-space: pre-line;
        overflow-wrap: anywhere;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(4px);
        transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
    }

    .admin-floating-tooltip::after {
        content: "";
        position: absolute;
        left: var(--admin-tooltip-arrow-left);
        width: 8px;
        height: 8px;
        background: rgba(82, 59, 42, 0.94);
        transform: translateX(-50%) rotate(45deg);
    }

    .admin-floating-tooltip[data-placement="top"]::after {
        top: 100%;
    }

    .admin-floating-tooltip[data-placement="bottom"]::after {
        bottom: 100%;
    }

    .admin-floating-tooltip.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dashboard-order-meta {
        font-size: 12px;
        color: #8a745f;
    }

    .dashboard-status-badge {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
    }

    .status-today {
        background: rgba(177, 91, 39, 0.12);
        color: #9e501f;
    }

    .status-normal {
        background: rgba(143, 102, 71, 0.12);
        color: #765539;
    }

    .status-unmatched {
        background: rgba(194, 146, 49, 0.14);
        color: #926617;
    }

    .status-soldout {
        background: rgba(159, 77, 59, 0.12);
        color: #964635;
    }

    .status-unresolved {
        background: rgba(185, 164, 143, 0.22);
        color: #786656;
    }

    .status-task-new,
    .status-task-processing,
    .status-task-retry,
    .status-task-done {
        background: rgba(185, 164, 143, 0.22);
        color: #6b5644;
    }

    .status-task-processing {
        background: rgba(177, 91, 39, 0.12);
        color: #9a572b;
    }

    .status-task-retry {
        background: rgba(170, 96, 66, 0.14);
        color: #974a31;
    }

    .status-task-done {
        background: rgba(121, 146, 114, 0.16);
        color: #4f6e49;
    }

    .status-success {
        background: rgba(121, 146, 114, 0.16);
        color: #4f6e49;
    }

    .status-fail {
        background: rgba(170, 96, 66, 0.14);
        color: #974a31;
    }

    .status-neutral {
        background: rgba(185, 164, 143, 0.22);
        color: #786656;
    }


    @media (max-width: 720px) {
        .topbar {
            padding: 18px 16px;
        }

        .content {
            width: min(100% - 24px, 1120px);
            padding-top: 18px;
        }

        .card {
            padding: 18px;
            border-radius: 20px;
        }
    }

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

        .admin-sidebar {
            position: static;
            height: auto;
            gap: 18px;
            padding-bottom: 16px;
            border-right: 0;
            border-bottom: 1px solid rgba(220, 200, 162, 0.72);
        }

        .admin-nav {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .admin-footer {
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
        }

        .tasks-overview,
        .tasks-summary-grid,
        .tasks-filter-grid,
        .tasks-advanced-grid,
        .settings-top-grid,
        .settings-policy-editor-grid,
        .snapshot-search-row {
            grid-template-columns: 1fr;
        }

        .tasks-list-topbar,
        .tasks-filter-header,
        .tasks-table-toolbar {
            flex-direction: column;
            align-items: stretch;
        }

        .tasks-list-meta,
        .tasks-quick-tabs {
            justify-content: space-between;
        }

        .tasks-search-shell-head {
            grid-template-columns: 1fr;
        }

        .tasks-search-row {
            grid-template-columns: 1fr 1fr;
        }

        .snapshot-list-toolbar {
            flex-direction: column;
            align-items: stretch;
        }

        .snapshot-boundary-shell-head {
            flex-direction: column;
            align-items: flex-start;
        }

        .snapshot-search-head {
            align-items: flex-start;
        }

        .settings-card-head,
        .settings-card-head-actions,
        .settings-config-footer,
        .settings-policy-select-row,
        .settings-marker-editor-head,
        .settings-modal-footer,
        .settings-ruler-head {
            flex-direction: column;
            align-items: stretch;
        }

        .settings-marker-composer-body {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 640px) {
        .admin-main {
            padding: 16px;
        }

        .admin-topbar {
            flex-direction: column;
            align-items: stretch;
            padding: 18px;
        }

        .tasks-overview-card,
        .tasks-focus-card {
            padding: 20px;
            border-radius: 24px;
        }

        .tasks-focus-meta,
        .tasks-filter-actions,
        .tasks-list-meta,
        .tasks-search-actions {
            flex-direction: column;
            align-items: flex-start;
        }

        .tasks-quick-tabs {
            justify-content: flex-start;
        }

        .tasks-search-row {
            grid-template-columns: 1fr;
        }

        .snapshot-search-row {
            grid-template-columns: 1fr;
        }

        .snapshot-search-shell .tasks-advanced-toggle {
            top: 18px;
        }

        .snapshot-search-head {
            padding-right: 104px;
        }

        .settings-modal-backdrop {
            padding: 16px;
        }

        .settings-modal {
            padding: 20px 18px 18px;
            border-radius: 24px;
        }

        .tasks-search-shell-title {
            padding-right: 104px;
            font-size: 16px;
        }

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

        .dashboard-card,
        .dashboard-table-scroll {
            padding-left: 18px;
            padding-right: 18px;
        }

        .dashboard-table-header {
            padding-left: 18px;
            padding-right: 18px;
        }
    }
