:root {
    --bg: #f6f2f4;
    --card: #ffffff;
    --ink: #2b2230;
    --muted: #8b7f8e;
    --line: #eee5e9;
    --pink: #ff6f9f;
    --pink-dark: #c64c76;
    --green: #269a6d;
    --red: #c0392b;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
}

.muted { color: var(--muted); }
.inline-form { display: inline; margin: 0; }

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at 20% 10%, #ffe5ee 0, transparent 36%), var(--bg);
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 34px;
    border-radius: 22px;
    background: var(--card);
    box-shadow: 0 24px 60px rgba(61, 37, 54, 0.10);
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-mark.small {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 12px;
}

.login-card h1 { margin: 18px 0 4px; font-size: 25px; }
.login-card p { line-height: 1.6; }

label {
    display: block;
    margin: 18px 0 7px;
    color: #5b4b57;
    font-weight: 700;
    font-size: 13px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fbf8f9;
    color: var(--ink);
    font-size: 14px;
    outline: none;
}

input:focus { border-color: var(--pink); background: #fff; }

.btn {
    border: 0;
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}

.btn.primary {
    width: 100%;
    margin-top: 22px;
    background: linear-gradient(135deg, #ff8ab1, #ff6f9f);
    color: #fff;
}

.btn.ghost {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}

.btn.small { padding: 7px 12px; font-size: 12px; }

.alert {
    margin: 16px 0;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 13px;
}

.alert.error { background: #fff0f0; color: var(--red); }
.alert.success { background: #e5fbf3; color: var(--green); }

.password-panel { max-width: 520px; }
.password-panel form { margin-top: 18px; }

.login-foot {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 12px;
}

/* 密码显示/隐藏 */
.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #9b8f98;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    background: #f5eef2;
    color: #c64c76;
}

.password-toggle:focus-visible {
    outline: 2px solid #ff9fbe;
    outline-offset: 1px;
}

.eye-icon {
    position: relative;
    width: 18px;
    height: 12px;
    border: 1.6px solid currentColor;
    border-radius: 50% / 60%;
    display: block;
}

.eye-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.password-toggle.is-visible .eye-icon::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 5px;
    width: 22px;
    height: 1.6px;
    background: currentColor;
    transform: rotate(-38deg);
    border-radius: 2px;
}

.topbar {
    background: var(--ink);
    color: #fff;
}

.topbar-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar .muted { color: rgba(255,255,255,.65); }
.topbar .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

.page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.page-head h1 { margin: 0 0 5px; font-size: 28px; }
.page-head p { margin: 0; }

.status-dot {
    padding: 7px 12px;
    border-radius: 999px;
    background: #e5fbf3;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.stat-card,
.panel {
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(61, 37, 54, 0.045);
}

.stat-card { padding: 20px; }
.stat-label { color: var(--muted); font-size: 12px; }
.stat-value { margin-top: 8px; font-size: 30px; font-weight: 800; }

.panel { padding: 22px; margin-bottom: 18px; }
.panel h2 { margin: 0 0 14px; font-size: 17px; }

.task-list { margin: 0; padding-left: 20px; line-height: 2; color: #5b4b57; }
.plain-list { margin: 0; padding-left: 18px; line-height: 1.9; color: #5b4b57; }

@media (max-width: 720px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .topbar-inner, .page-head { flex-direction: column; align-items: flex-start; }
    .topbar-right { width: 100%; justify-content: space-between; }
}

/* =========================================================
   ERP 风格后台：左侧导航 + 顶部栏 + 内容区
   ========================================================= */

.app-body {
    background: #f4f5f7;
    min-height: 100vh;
}

.app-shell {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 20;
    width: 244px;
    display: flex;
    flex-direction: column;
    background: #211d27;
    color: #ffffff;
    transition: transform .22s ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 20px 18px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-brand strong {
    display: block;
    font-size: 15px;
    letter-spacing: .5px;
}

.sidebar-brand small {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.38);
    font-size: 9px;
    letter-spacing: 1.4px;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 11px 18px;
}

.nav-section {
    margin-top: 14px;
}

.nav-section-title {
    padding: 0 12px 7px;
    color: rgba(255,255,255,.32);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    margin: 2px 0;
    padding: 0 12px;
    border-radius: 8px;
    color: rgba(255,255,255,.67);
    font-size: 13px;
    text-decoration: none;
}

.nav-item:hover {
    background: rgba(255,255,255,.07);
    color: #ffffff;
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(255,111,159,.22), rgba(255,111,159,.08));
    color: #ffffff;
    box-shadow: inset 3px 0 0 #ff6f9f;
}

.nav-item.disabled {
    cursor: not-allowed;
    opacity: .46;
}

.nav-item.disabled em {
    margin-left: auto;
    font-size: 9px;
    font-style: normal;
    color: rgba(255,255,255,.45);
}

.nav-icon {
    width: 20px;
    color: #ff92b5;
    font-size: 15px;
    text-align: center;
}

.sidebar-foot {
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 9px;
    background: rgba(255,255,255,.05);
}

.user-avatar {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff6f9f;
    color: #fff;
    font-weight: 800;
}

.sidebar-user strong {
    display: block;
    font-size: 12px;
}

.sidebar-user small {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.45);
    font-size: 10px;
}

.app-main {
    min-height: 100vh;
    margin-left: 244px;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 24px;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid #ece8ec;
    backdrop-filter: blur(8px);
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb {
    color: #a096a0;
    font-size: 12px;
}

.breadcrumb .sep { margin: 0 7px; color: #cfc5cc; }
.breadcrumb strong { color: #3b3240; font-weight: 700; }

.topbar-date {
    color: #a096a0;
    font-size: 12px;
}

.mobile-menu {
    display: none;
    border: 0;
    background: transparent;
    font-size: 19px;
    cursor: pointer;
}

.app-content {
    flex: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px 24px 40px;
}

.app-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    color: #a89fa7;
    font-size: 11px;
    border-top: 1px solid #ece8ec;
}

.eyebrow {
    margin-bottom: 7px;
    color: #c64c76;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.page-head h1 {
    margin: 0 0 5px;
    font-size: 27px;
    letter-spacing: .2px;
}

.page-head p { margin: 0; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e7f8f1;
    color: #269a6d;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.status-dot-mini {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #269a6d;
}

.stat-grid { gap: 13px; }

.stat-card {
    padding: 17px 18px;
    border: 1px solid #eee9ed;
    box-shadow: none;
}

.stat-top {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b7f8e;
    font-size: 12px;
}

.stat-icon {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.stat-icon.pink { background: #fff0f5; color: #d95382; }
.stat-icon.lilac { background: #f2edff; color: #8063c4; }
.stat-icon.mint { background: #e8f9f2; color: #269a6d; }
.stat-icon.butter { background: #fff6dc; color: #a77a00; }

.stat-card .stat-value {
    margin-top: 12px;
    font-size: 27px;
}

.stat-foot {
    margin-top: 3px;
    color: #a89fa7;
    font-size: 11px;
}

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

.panel {
    border: 1px solid #eee9ed;
    box-shadow: none;
    border-radius: 12px;
    background: #fff;
    padding: 18px 20px;
    margin-bottom: 16px;
}

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

.panel-head h2 { margin: 0; font-size: 15px; }

.badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff0f5;
    color: #c64c76;
    font-size: 10px;
    font-weight: 800;
}

.badge.green { background: #e7f8f1; color: #269a6d; }

.task-rows { display: flex; flex-direction: column; }

.task-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 0;
    border-bottom: 1px solid #f3eff2;
}

.task-row:last-child { border-bottom: 0; padding-bottom: 0; }

.task-dot {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.task-dot.rose { background: #ff6f9f; }
.task-dot.purple { background: #9a7bd1; }
.task-dot.amber { background: #d7a42b; }

.task-main { flex: 1; min-width: 0; }
.task-main strong { display: block; font-size: 13px; }
.task-main span { display: block; margin-top: 3px; color: #a096a0; font-size: 11px; }

.task-count {
    color: #3b3240;
    font-size: 18px;
    font-weight: 800;
}

.task-count.muted { color: #b4abb2; font-size: 14px; }

.status-list { display: flex; flex-direction: column; }

.status-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f3eff2;
    color: #786d75;
    font-size: 12px;
}

.status-row:last-child { border-bottom: 0; }
.status-row strong { color: #3b3240; font-weight: 700; }
.status-row .ok { color: #269a6d; }

.notice-box {
    margin-top: 12px;
    padding: 11px 12px;
    border-radius: 9px;
    background: #fff8e8;
    color: #8a6500;
    font-size: 11px;
    line-height: 1.65;
}

.table-wrap { overflow-x: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.data-table th,
.data-table td {
    padding: 10px 9px;
    border-bottom: 1px solid #f1edef;
    text-align: left;
    white-space: nowrap;
}

.data-table th {
    background: #faf8f9;
    color: #8b7f8e;
    font-size: 10px;
    font-weight: 700;
}

.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fcfafb; }

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.code-badge {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 4px;
    background: #f5f1f3;
    color: #6e5e67;
    font-size: 10px;
}

.empty-row {
    padding: 30px 0;
    color: #a89fa7;
    font-size: 12px;
    text-align: center;
}

.progress-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
}

.progress-item {
    display: flex;
    gap: 8px;
    padding: 11px;
    border-radius: 9px;
    background: #faf8f9;
    color: #a096a0;
}

.progress-item > span {
    color: #cfc5cc;
    font-size: 10px;
    font-weight: 800;
}

.progress-item strong { display: block; color: #5c5058; font-size: 11px; line-height: 1.4; }
.progress-item small { display: block; margin-top: 4px; font-size: 9px; }

.progress-item.done { background: #effaf5; }
.progress-item.done > span, .progress-item.done small { color: #269a6d; }
.progress-item.current { background: #fff2f6; }
.progress-item.current > span, .progress-item.current small { color: #c64c76; }

.form-panel { max-width: 520px; }
.form-panel form { margin-top: 4px; }

.app-content label { font-size: 12px; }

.text-right { text-align: right !important; }

.text-link {
    color: #c64c76;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.coin-balance { color: #c64c76; }

.sub-mono {
    display: block;
    margin-top: 2px;
    color: #a89fa7;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
}

.amount-positive { color: #269a6d !important; }
.amount-negative { color: #c0392b !important; }

.filter-form {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.filter-form input,
.filter-form select {
    height: 34px;
    min-width: 130px;
    padding: 0 9px;
    border: 1px solid #e9e2e6;
    border-radius: 7px;
    background: #fbf9fa;
    color: #3b3240;
    font-size: 11px;
    outline: none;
}

.filter-form input[type="date"] { min-width: 128px; }
.filter-form input:focus,
.filter-form select:focus { border-color: #ff9fbe; background: #fff; }

.wide-filter { margin-bottom: 12px; }
.wide-filter input[type="text"] { min-width: 220px; }

.form-note {
    margin: 10px 0 0;
    color: #a096a0;
    font-size: 11px;
    line-height: 1.65;
}

.detail-list { display: flex; flex-direction: column; }

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3eff2;
    color: #8b7f8e;
    font-size: 12px;
}

.detail-row:last-child { border-bottom: 0; }
.detail-row strong { color: #3b3240; }

.preview-box {
    padding: 2px 12px;
    border: 1px solid #f0e7eb;
    border-radius: 9px;
    background: #fffafb;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid #f3eff2;
    color: #8b7f8e;
    font-size: 12px;
}

.preview-row:last-child { border-bottom: 0; }
.preview-row strong { color: #3b3240; }

.confirm-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.preview-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    padding: 11px 12px;
    border-radius: 9px;
    background: #faf8f9;
}

.preview-summary span {
    display: block;
    color: #a096a0;
    font-size: 10px;
}

.preview-summary strong {
    display: block;
    margin-top: 3px;
    color: #3b3240;
    font-size: 12px;
}

.preview-table { max-height: 310px; overflow-y: auto; }
.preview-table thead th { position: sticky; top: 0; z-index: 1; }

.error-list { margin: 6px 0 0; padding-left: 18px; line-height: 1.7; }

.batch-status {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: #f4f0f2;
    color: #786d75;
}

.status-completed { background: #e7f8f1; color: #269a6d; }
.status-processing { background: #fff6dc; color: #8a6500; }
.status-partial_failed { background: #fff0f0; color: #c0392b; }
.status-rejected { background: #f4f0f2; color: #8b7f8e; }

.panel textarea {
    width: 100%;
    min-height: 168px;
    padding: 11px 12px;
    border: 1px solid #e9e2e6;
    border-radius: 9px;
    background: #fbf9fa;
    color: #3b3240;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.7;
    resize: vertical;
    outline: none;
}

.panel textarea:focus { border-color: #ff9fbe; background: #fff; }

.panel select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #e9e2e6;
    border-radius: 9px;
    background: #fbf9fa;
    color: #3b3240;
    font-size: 12px;
    outline: none;
}

.panel input[type="number"] {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #e9e2e6;
    border-radius: 9px;
    background: #fbf9fa;
    color: #3b3240;
    font-size: 12px;
    outline: none;
}

.panel input[type="number"]:focus,
.panel select:focus { border-color: #ff9fbe; background: #fff; }

.panel .btn.primary { width: auto; margin-top: 18px; }
.confirm-form .btn.primary { margin-top: 0; }

.form-divider {
    height: 1px;
    margin: 22px 0 18px;
    background: #f0eaee;
}

.form-subtitle {
    margin: 0 0 4px;
    color: #3b3240;
    font-size: 14px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.permission-actions { display: flex; gap: 6px; }

.permission-groups {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.permission-group {
    padding: 11px 12px;
    border: 1px solid #f0eaee;
    border-radius: 9px;
    background: #fcfafb;
}

.permission-group-title {
    margin-bottom: 8px;
    color: #6e5e67;
    font-size: 11px;
    font-weight: 800;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #5c5058;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
}

.check-item input {
    width: 14px;
    height: 14px;
    accent-color: #ff6f9f;
}

.doll-thumb {
    width: 48px;
    height: 48px;
    border-radius: 9px;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f7eef2;
    color: #9b7a8a;
    font-size: 22px;
}

.doll-thumb.placeholder { font-size: 24px; }

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

.inline-check {
    margin-top: 14px;
    padding: 8px 0;
}

.cover-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 330px;
    margin-bottom: 16px;
    border: 1px dashed #e9dfe5;
    border-radius: 12px;
    background: #fcfafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-placeholder { font-size: 64px; }

.status-on_sale { background: #e7f8f1; color: #269a6d; }
.status-sold_out { background: #fff6dc; color: #8a6500; }
.status-off_shelf { background: #f4f0f2; color: #8b7f8e; }

.panel input[type="file"] {
    width: 100%;
    padding: 9px;
    border: 1px dashed #e3d7de;
    border-radius: 9px;
    background: #fcfafb;
    color: #786d75;
    font-size: 11px;
}

.claim-pending_address { background: #fff6dc; color: #8a6500; }
.claim-pending_shipment { background: #f2edff; color: #6c4bb0; }
.claim-shipped { background: #e7f1ff; color: #2d6cb5; }
.claim-completed { background: #e7f8f1; color: #269a6d; }
.claim-cancelled { background: #f4f0f2; color: #8b7f8e; }
.claim-exception { background: #fff0f0; color: #c0392b; }

.review-score {
    color: #b07a00;
    font-weight: 800;
    white-space: nowrap;
}

.review-cell {
    min-width: 220px;
    max-width: 380px;
    white-space: normal !important;
    line-height: 1.6;
    color: #5c5058;
}

.claims-table { min-width: 1060px; }

.claim-product {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 200px;
}

.claim-product-thumb {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 7px;
    object-fit: cover;
    background: #f7eef2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.claim-product-thumb.placeholder { font-size: 20px; }
.claim-product strong { display: block; font-size: 12px; line-height: 1.4; }
.claim-product .sub-mono { margin-top: 2px; }

.claim-address-box {
    min-width: 210px;
    max-width: 300px;
    padding: 7px 9px;
    border: 1px solid #f0e7eb;
    border-radius: 7px;
    background: #fcfafb;
    color: #5c5058;
    font-size: 11px;
    line-height: 1.55;
}

.claim-address-full { word-break: break-all; }
.claim-address-full strong { color: #2b2230; font-size: 12px; }
.claim-address-hidden { display: none; color: #a096a0; }

.claim-address-box.is-hidden .claim-address-full { display: none; }
.claim-address-box.is-hidden .claim-address-hidden { display: block; }

.claim-address-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dashed #eee4e9;
}

.address-eye {
    width: 21px;
    height: 21px;
    margin: 0;
    padding: 0;
    border-radius: 5px;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
}

.address-eye:hover { background: #f5eef2; }

.inline-link {
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #c64c76;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 14, 24, 0.5);
}

.admin-modal-card {
    width: 100%;
    max-width: 440px;
    padding: 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.admin-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.admin-modal-head h3 { margin: 0; font-size: 17px; }

.admin-modal-close {
    border: 0;
    background: transparent;
    color: #8b7f8e;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.address-modal-name { color: #2b2230; font-size: 16px; font-weight: 800; }
.address-modal-phone { margin-top: 5px; color: #5c5058; font-size: 13px; }
.address-modal-detail { margin-top: 10px; color: #5c5058; font-size: 13px; line-height: 1.7; }
.admin-modal-card .btn { margin-top: 18px; }

.address-box {
    padding: 12px 14px;
    border: 1px solid #f0e7eb;
    border-radius: 9px;
    background: #fcfafb;
    color: #5c5058;
    font-size: 12px;
    line-height: 1.7;
}

.address-box p { margin: 4px 0 0; color: #786d75; }

.danger-btn { color: #c0392b; border-color: #f0cfd0; }
.danger-btn:hover { background: #fff5f5; }

@media (max-width: 1000px) {
    .progress-list { grid-template-columns: repeat(2, 1fr); }
} 

@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: 12px 0 30px rgba(0,0,0,.18);
    }

    body.sidebar-open .sidebar { transform: translateX(0); }
    .app-main { margin-left: 0; }
    .mobile-menu { display: block; }
    .app-topbar { padding: 0 16px; height: 56px; }
    .app-content { padding: 20px 16px 32px; }
    .topbar-date { display: none; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .page-head h1 { font-size: 23px; }
    .app-footer { padding: 14px 16px; }
}

@media (max-width: 560px) {
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topbar-right .btn.ghost:first-of-type { display: none; }
    .progress-list { grid-template-columns: 1fr; }
    .breadcrumb { font-size: 11px; }
    .app-footer { flex-direction: column; gap: 4px; }
}
