:root { --ink:#162119; --muted:#66736a; --line:#dce5dd; --surface:#fff; --soft:#f3f7f3; --accent:#227447; --accent-dark:#155331; --danger:#a83e3e; }
* { box-sizing:border-box; }
body { margin:0; background:#edf3ee; color:var(--ink); font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color:var(--accent-dark); }
.shell { max-width:1180px; margin:0 auto; padding:32px 22px 70px; }
.topbar { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:26px; }
.topbar h1,h2,h3 { margin:0; line-height:1.2; }
h2 { font-size:clamp(26px,4vw,42px); }
h3 { font-size:18px; }
.eyebrow { margin:0 0 8px; color:var(--accent); font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.tabs { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:22px; border-bottom:1px solid var(--line); }
.tabs a { padding:11px 15px; color:var(--muted); text-decoration:none; }
.tabs a.active { color:var(--accent-dark); border-bottom:3px solid var(--accent); font-weight:700; }
.hero,.card { background:var(--surface); border:1px solid var(--line); border-radius:14px; box-shadow:0 8px 24px rgba(30,60,40,.05); }
.hero { display:flex; justify-content:space-between; gap:28px; padding:38px; margin-bottom:20px; }
.hero p { max-width:680px; color:var(--muted); font-size:17px; }
.hero-stat { min-width:150px; align-self:center; padding:22px; background:var(--soft); border-radius:12px; text-align:center; }
.hero-stat strong,.hero-stat span { display:block; }
.hero-stat strong { color:var(--accent); font-size:28px; }
.hero-stat span { color:var(--muted); }
.grid-3,.grid-2 { display:grid; gap:18px; margin-bottom:20px; }
.grid-3 { grid-template-columns:repeat(3,1fr); }
.grid-2 { grid-template-columns:repeat(2,1fr); }
.card { padding:24px; margin-bottom:20px; }
.card-primary { border-color:#a9d0b5; background:#f6fbf7; }
.card p,.section-head p { color:var(--muted); }
.number { display:inline-grid; place-items:center; width:30px; height:30px; margin-bottom:20px; color:#fff; background:var(--accent); border-radius:50%; font-weight:800; }
.button { display:inline-block; padding:10px 15px; border:1px solid #b8cbbd; border-radius:8px; color:var(--ink); background:#fff; cursor:pointer; font:inherit; text-decoration:none; }
.button:hover { border-color:var(--accent); }
.button-primary { color:#fff; background:var(--accent); border-color:var(--accent); }
.button-primary:hover { color:#fff; background:var(--accent-dark); }
.button-danger { color:#fff; background:var(--danger); border-color:var(--danger); }
.actions,.savebar { display:flex; align-items:center; gap:10px; margin-top:20px; }
.section-head { margin:26px 0 18px; }
.status { display:inline-block; padding:5px 9px; border-radius:999px; color:var(--muted); background:#eef2ee; font-size:12px; }
.status-ok { color:#1d6c41; background:#dff2e5; }
.connection { padding-bottom:5px; }
.notice { padding:13px 16px; margin:0 0 18px; border:1px solid #c8d7cb; border-radius:9px; background:#f5faf6; }
.notice-error { color:#7e2424; border-color:#e3bcbc; background:#fff4f4; }
.notice-warning { color:#795000; border-color:#ead09d; background:#fff9e9; }
.notice ul { margin:0; padding-left:20px; }
.export-busy { display:flex; align-items:center; gap:13px; padding:14px 16px; margin:0 0 18px; border:1px solid #b8d3bf; border-radius:10px; color:#1d5f39; background:#eef9f1; }
.export-busy strong,.export-busy span { display:block; }
.export-busy strong { line-height:1.25; }
.export-busy span { color:var(--muted); font-size:13px; }
.busy-spinner { flex:0 0 auto; width:20px; height:20px; border:3px solid #c4dfcb; border-top-color:var(--accent); border-radius:50%; animation:busy-spin .8s linear infinite; }
button:disabled { cursor:wait; opacity:.7; }
@keyframes busy-spin { to { transform:rotate(360deg); } }
.summary { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:16px 0 0; }
.summary div { padding:15px; background:var(--soft); border-radius:9px; }
.summary dt { color:var(--muted); font-size:12px; }
.summary dd { margin:3px 0 0; font-weight:700; }
.mapping-card { margin:10px 0; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.mapping-card summary { display:flex; justify-content:space-between; gap:15px; padding:16px; cursor:pointer; list-style:none; }
.mapping-card summary > span:first-child { display:flex; flex-direction:column; gap:2px; }
.mapping-card summary small { color:var(--muted); }
.mapping-selection { color:var(--muted); font-size:13px; text-align:right; }
.mapping-selection.is-selected { color:var(--accent-dark); font-weight:700; }
.mapping-body { padding:0 16px 18px; border-top:1px solid var(--line); }
label { display:block; color:var(--muted); font-weight:650; }
input,select { display:block; width:100%; margin-top:6px; padding:10px 11px; border:1px solid #becdc1; border-radius:7px; color:var(--ink); background:#fff; font:inherit; }
select[multiple] { min-height:120px; }
.category-picker-toolbar { display:flex; align-items:flex-end; gap:12px; margin-bottom:12px; }
.category-search { flex:1; }
.category-search input { margin-top:5px; }
.category-picker-actions { display:flex; gap:8px; }
.category-picker-actions .button { padding:9px 11px; white-space:nowrap; }
.category-options { max-height:360px; overflow-y:auto; padding:6px; border:1px solid var(--line); border-radius:8px; background:#fbfdfb; }
.category-option { display:flex; align-items:flex-start; gap:10px; padding:9px 10px; color:var(--ink); font-weight:500; line-height:1.35; cursor:pointer; border-radius:6px; }
.category-option:hover { background:var(--soft); }
.category-option input { flex:0 0 auto; width:auto; margin:3px 0 0; padding:0; }
.category-option span { min-width:0; }
.category-empty { margin:12px 0 0; }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.value-map { margin-top:20px; border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.value-map-head,.value-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:center; padding:10px 12px; }
.value-map-head { color:var(--muted); background:var(--soft); font-size:12px; }
.value-row { border-top:1px solid var(--line); }
.value-row span { color:var(--ink); font-weight:500; }
.value-row select { margin:0; }
.muted { color:var(--muted); }
.check { display:flex; align-items:flex-start; gap:8px; margin:15px 0; font-weight:500; }
.check input { width:auto; margin:4px 0 0; }
pre { max-height:500px; overflow:auto; padding:16px; border-radius:8px; background:#18221b; color:#dff1e3; font-size:12px; }
.preview-head { display:flex; justify-content:space-between; align-items:flex-start; gap:15px; }
.logout { margin-top:25px; }
.auth-card { max-width:420px; margin:10vh auto; padding:32px; background:var(--surface); border:1px solid var(--line); border-radius:14px; }
.auth-card .button { margin-top:18px; }
@media (max-width:760px) { .hero,.topbar { display:block; } .hero-stat { margin-top:18px; } .grid-3,.grid-2,.form-grid,.summary { grid-template-columns:1fr; } .value-map-head,.value-row { grid-template-columns:1fr; gap:4px; } .category-picker-toolbar { display:block; } .category-picker-actions { margin-top:10px; } .tabs { overflow-x:auto; flex-wrap:nowrap; } }

/* Shared psydasie admin layout, aligned with the WooCommerce integration. */
:root {
    --ink:#17352f; --muted:#63756f; --line:#d8e2de; --paper:#f5f8f7;
    --surface:#fff; --soft:#e7f4ef; --accent:#2f6f5e; --accent-dark:#245447;
    --danger:#b43c35; --amber:#d98e2b; --shadow:0 12px 32px rgba(23,53,47,.08);
}
body { background:#eef3f1; color:var(--ink); font-size:14px; line-height:1.6; }
.shell { max-width:1240px; margin:24px auto 60px; padding:0 20px; }
h1 { margin:0 0 12px; font-size:clamp(30px,4vw,48px); font-weight:760; line-height:1.04; letter-spacing:-.045em; }
h2 { font-size:27px; font-weight:730; letter-spacing:-.025em; }
.topbar { position:relative; display:flex; align-items:flex-end; justify-content:space-between; min-height:220px; margin:0; padding:38px 42px; overflow:hidden; border-radius:22px 22px 0 0; color:#fff; background:radial-gradient(circle at 92% 0%,rgba(255,255,255,.38) 0 12%,transparent 12.5%),var(--ink); }
.topbar::after { position:absolute; right:-58px; bottom:-120px; width:290px; height:290px; border:42px solid rgba(231,244,239,.09); border-radius:50%; content:""; }
.topbar-copy { position:relative; z-index:1; max-width:760px; }
.topbar h1,.topbar p { color:#fff; }
.topbar-copy>p:last-child { max-width:650px; margin:0; color:#cfe0da; font-size:16px; }
.topbar .eyebrow { color:#9dd5c4; }
.readiness { position:relative; z-index:1; display:flex; align-items:center; gap:12px; min-width:250px; margin-left:32px; padding:14px 16px; border:1px solid rgba(255,255,255,.16); border-radius:14px; background:rgba(255,255,255,.08); backdrop-filter:blur(8px); }
.readiness-icon { display:grid; flex:0 0 24px; width:24px; height:24px; place-items:center; border:1px solid currentColor; border-radius:50%; color:#9dd5c4; font-weight:800; }
.readiness.needs-action .readiness-icon { color:#ffc66f; }
.readiness strong,.readiness span { display:block; }
.readiness strong { color:#fff; font-size:13px; }
.readiness span { color:#cfe0da; font-size:12px; }
.tabs { display:flex; gap:4px; margin:0; padding:0 20px; overflow-x:auto; border:1px solid var(--line); border-top:0; background:#fff; }
.tabs a { position:relative; display:inline-flex; align-items:center; min-height:62px; padding:0 16px; color:var(--muted); font-size:13px; font-weight:650; white-space:nowrap; }
.tabs a.active { color:var(--ink); border:0; }
.tabs a.active::after { position:absolute; right:12px; bottom:-1px; left:12px; height:3px; border-radius:3px 3px 0 0; background:var(--accent); content:""; }
.content { min-height:480px; padding:32px; border:1px solid var(--line); border-top:0; border-radius:0 0 22px 22px; background:var(--paper); }
.eyebrow { color:var(--accent); font-weight:760; letter-spacing:.12em; }
.card { padding:26px; border-radius:16px; box-shadow:0 1px 0 rgba(23,53,47,.03); }
.card-lead { padding:32px; box-shadow:var(--shadow); }
.card-compact { padding:20px; }
.intro-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(260px,.65fr); gap:22px; }
.summary-panel { display:grid; gap:14px; align-content:start; }
.metric { position:relative; min-height:132px; padding:22px; overflow:hidden; border:1px solid #cce2da; border-radius:16px; background:var(--soft); }
.metric::after { position:absolute; right:-22px; bottom:-36px; width:110px; height:110px; border:18px solid rgba(47,111,94,.09); border-radius:50%; content:""; }
.metric span { display:block; margin-bottom:14px; color:var(--accent-dark); font-size:12px; font-weight:650; }
.metric strong { display:block; font-size:34px; line-height:1; }
.steps { margin:28px 0 0; padding:0; list-style:none; }
.steps li { display:grid; grid-template-columns:32px minmax(0,1fr) auto; gap:14px; align-items:center; min-height:76px; padding:10px 0; border-top:1px solid var(--line); }
.steps li:first-child { border-top:0; }
.step-mark { display:grid; width:28px; height:28px; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--muted); font-size:12px; font-weight:750; }
.steps .is-current .step-mark,.steps .is-done .step-mark { color:#fff; border-color:var(--accent); background:var(--accent); }
.steps strong,.steps div span { display:block; }
.steps div span { color:var(--muted); font-size:12px; }
.steps a { font-size:12px; font-weight:700; text-decoration:none; }
.help-strip { display:flex; gap:14px; align-items:flex-start; margin-top:22px; padding:17px 20px; border:1px solid #ead5ad; border-radius:14px; background:#fff4df; }
.help-icon { display:grid; flex:0 0 22px; width:22px; height:22px; place-items:center; border:1px solid var(--amber); border-radius:50%; color:var(--amber); font-weight:800; }
.help-strip strong { display:block; margin-bottom:4px; }
.help-strip p { margin:0; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin:0 0 24px; }
.section-head>div { max-width:760px; }
.section-head p { margin:0; }
.notice { border-radius:12px; }
.notice-success { color:var(--accent-dark); border-color:#bcdccd; background:var(--soft); }
.button { min-height:42px; padding:0 18px; border-color:#b9c8c2; border-radius:9px; color:var(--accent-dark); font-weight:700; }
.button-primary { color:#fff; border-color:var(--accent); background:var(--accent); }
.mapping-card { border-radius:14px; }
.mapping-card[open] { box-shadow:var(--shadow); }
.mapping-card summary { padding:17px 19px; }
.mapping-body { padding:18px; }
input,select,output { min-height:42px; border-color:#b9c8c2; border-radius:9px; box-shadow:none; }
output { display:block; width:100%; margin-top:6px; padding:9px 11px; background:#fff; }
.savebar { position:sticky; bottom:12px; z-index:4; justify-content:space-between; padding:14px 16px; border:1px solid #c7d9d2; border-radius:14px; background:rgba(255,255,255,.96); box-shadow:0 10px 28px rgba(23,53,47,.12); backdrop-filter:blur(8px); }
.savebar>span { color:var(--muted); font-size:12px; }
.export-grid,.advanced-form { display:grid; gap:18px; }
.export-action { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px 28px; align-items:start; margin:0; padding:24px 28px; }
.export-action>form { grid-column:2; grid-row:1; align-self:center; }
.export-verification { border-left:4px solid #bcdccd; box-shadow:var(--shadow); }
.export-primary { grid-template-columns:minmax(0,1fr); width:min(100%,760px); border-color:#a8cfc0; background:var(--soft); box-shadow:0 8px 24px rgba(23,53,47,.06); }
.export-primary>form { display:grid; grid-column:1; grid-row:auto; grid-template-columns:minmax(0,1fr) auto; gap:16px 20px; align-items:center; }
.preview-panel { grid-column:1/-1; padding:26px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.preview-stats { display:flex; gap:10px; }
.preview-stats span { min-width:82px; padding:9px 12px; border-radius:10px; color:var(--muted); background:var(--paper); font-size:11px; text-align:center; }
.preview-stats strong { display:block; color:var(--ink); font-size:20px; }
.settings-card { display:grid; grid-template-columns:250px minmax(0,1fr); gap:28px; margin:0; }
.settings-head { display:flex; gap:12px; align-items:flex-start; }
.settings-head p { margin:0; font-size:12px; }
.settings-icon { display:grid; flex:0 0 28px; width:28px; height:28px; place-items:center; border-radius:8px; color:var(--accent); background:var(--soft); font-weight:800; }
.form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.field-wide { grid-column:1/-1; }
.form-grid small { display:block; margin-top:6px; font-size:11px; font-weight:400; line-height:1.5; }
.summary { grid-template-columns:1fr; gap:12px; margin:0; }
.summary div { padding:12px 14px; border-radius:10px; background:var(--paper); }
.logout { text-align:right; }
.auth-card { border-radius:18px; box-shadow:var(--shadow); }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; animation-duration:.01ms!important; } }
@media (max-width:960px) { .topbar { align-items:flex-start; flex-direction:column; gap:24px; } .readiness { width:100%; margin-left:0; } .intro-grid { grid-template-columns:1fr; } .summary-panel { grid-template-columns:repeat(2,minmax(0,1fr)); } .summary-panel .card { grid-column:1/-1; } .settings-card { grid-template-columns:1fr; } .shell .export-grid { grid-template-columns:1fr; } }
@media (max-width:760px) { .shell { margin-top:10px; padding:0 10px; } .topbar { display:flex; padding:24px 20px; } .content { display:block; padding:24px 20px; } .tabs { padding:0 8px; } .tabs a { min-height:54px; padding:0 11px; } .summary-panel,.form-grid { grid-template-columns:1fr; } .section-head,.savebar,.preview-head { align-items:flex-start; flex-direction:column; } .export-action { grid-template-columns:1fr; padding:22px; } .export-action>form { grid-column:1; grid-row:auto; } .export-primary>form { grid-template-columns:1fr; } }

/* Keep the WooCommerce visual language stable inside Shoper's iframe. */
.shell h1,
.shell h2,
.shell h3,
.shell p,
.shell label,
.shell button,
.shell input,
.shell select {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.shell h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 760; line-height: 1.04; letter-spacing: -.045em; }
.shell h2 { font-size: 27px; font-weight: 730; line-height: 1.15; letter-spacing: -.025em; }
.shell h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.shell .section-head { margin: 0 0 24px; }
.shell .section-head h2 { margin-bottom: 10px; }
.shell .section-head p { margin: 0; }
.shell .card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.shell .export-action { gap: 14px; margin: 0; padding: 24px 28px; }
.shell .export-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.shell .export-verification { width: 100%; border-left: 4px solid #bcdccd; box-shadow: var(--shadow); }
.shell .export-primary { width: 100%; border-color: #a8cfc0; background: var(--soft); box-shadow: 0 8px 24px rgba(23,53,47,.06); }
.shell .button { min-height: 42px; padding: 0 18px; border: 1px solid #b9c8c2; border-radius: 9px; color: var(--accent-dark); background: #fff; font-size: 14px; font-weight: 700; line-height: 40px; }
.shell .button-primary { color: #fff; border-color: var(--accent); background: var(--accent); }
.shell .button:hover,
.shell .button:focus { border-color: var(--accent); color: var(--accent-dark); }
.shell .button-primary:hover,
.shell .button-primary:focus { border-color: var(--ink); color: #fff; background: var(--accent-dark); }
.shell .export-primary .button-primary { color: #fff; }
.shell .check { display: flex; align-items: flex-start; gap: 8px; margin: 15px 0; color: var(--ink); font-weight: 500; line-height: 1.5; }
.shell .check input { flex: 0 0 auto; width: auto; min-height: 0; margin: 4px 0 0; }
.shell .mapping-card > summary {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(180px, .55fr) minmax(220px, 1fr) 12px;
    gap: 18px;
    align-items: center;
    min-height: 66px !important;
    padding: 14px 18px !important;
    line-height: 1.35 !important;
    cursor: pointer;
    list-style: none;
}
.shell .mapping-card > summary::-webkit-details-marker { display: none; }
.shell .mapping-card > summary::before {
    display: inline-block;
    margin: 0;
    color: var(--muted);
    content: "›";
    font-size: 22px;
    line-height: 0;
    transition: transform 160ms ease;
}
.shell .mapping-card[open] > summary::before { transform: rotate(90deg); }
.shell .mapping-card > summary:hover { background: #fbfcfc; }
.shell .mapping-card > summary:focus { outline: 2px solid var(--accent) !important; outline-offset: -2px; }
.shell .category-option { min-height: 0 !important; padding: 9px 10px !important; line-height: 1.35 !important; }
.shell .category-option input[type="checkbox"] {
    display: block;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 3px 0 0 !important;
    padding: 0 !important;
}
.shell .category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}
.shell .category-toolbar p { margin: 0; font-size: 12px; }
.shell .category-toolbar .category-search { width: min(100%, 380px); }
.shell .category-toolbar .category-search span { display: none; }
.shell .category-toolbar .category-search input { margin-top: 0; padding-left: 14px; }
.shell .mapping-card[hidden] { display: none; }
.shell .mapping-card-title { color: var(--ink); font-size: 14px; font-weight: 700; }
.shell .mapping-card-title strong { font-weight: 700; }
.shell .mapping-status-dot { width: 9px; height: 9px; border-radius: 50%; background: #c4cfcb; }
.shell .mapping-status-dot.is-complete { background: var(--accent); box-shadow: 0 0 0 4px var(--soft); }
.shell .category-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-height: 360px;
    padding: 18px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #fbfcfc;
}
.shell .category-option {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    min-width: 0;
    margin: 0 !important;
    padding: 8px 9px !important;
    border-radius: 8px;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.35 !important;
}
.shell .category-option:hover { background: var(--soft); }
.shell .category-option span { min-width: 0; }
@media (max-width: 960px) { .shell .category-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    .shell .category-toolbar { align-items: flex-start; flex-direction: column; }
    .shell .category-toolbar .category-search { width: 100%; }
    .shell .category-options { grid-template-columns: 1fr; }
    .shell .mapping-card > summary { grid-template-columns: 20px minmax(0, 1fr) 10px; }
    .shell .mapping-card .mapping-selection { display: none; }
}
.shell .preview-panel { margin-top: 4px; }
.shell .preview-panel details summary { cursor: pointer; color: var(--accent); font-size: 12px; font-weight: 700; }

/* Export history, matching the WooCommerce integration history treatment. */
.last-export { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:22px; padding:20px 24px; }
.last-export h3,.history-head h3 { margin:0 0 5px; }
.last-export p,.history-head p { margin:0; color:var(--muted); }
.last-export-meta { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:12px 18px; color:var(--muted); font-size:12px; }
.last-export-meta a { color:var(--accent-dark); font-weight:700; text-decoration:none; }
.history-state,.history-action { display:inline-flex; align-items:center; min-height:26px; padding:4px 9px; border:1px solid #d8e2de; border-radius:999px; font-size:11px; font-weight:700; white-space:nowrap; }
.history-state--success { color:#1d6c41; border-color:#bcdccd; background:#e7f4ef; }
.history-state--warning { color:#795000; border-color:#ead09d; background:#fff4df; }
.history-state--error { color:#7e2424; border-color:#e3bcbc; background:#fff4f4; }
.history-action--verification { color:var(--accent-dark); background:#e7f4ef; }
.history-action--update { color:#245447; background:#dff2e5; }
.history-action--download { color:#63756f; background:#f3f6f5; }
.export-history { margin-top:18px; padding:26px 28px; }
.history-head { margin-bottom:18px; }
.history-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:12px; background:#fff; }
.history-table { width:100%; border-collapse:collapse; min-width:720px; font-size:12px; }
.history-table th { padding:12px 14px; color:var(--muted); background:var(--paper); font-size:11px; font-weight:700; text-align:left; white-space:nowrap; }
.history-table td { padding:13px 14px; border-top:1px solid var(--line); color:var(--ink); vertical-align:middle; }
.history-table td:first-child { color:var(--muted); white-space:nowrap; }
.history-table td:nth-child(4),.history-table td:nth-child(5),.history-table td:nth-child(6) { text-align:center; }
.history-toggle { display:block; margin:16px auto 0; padding:8px 12px; border:0; color:var(--accent-dark); background:transparent; cursor:pointer; font:inherit; font-size:12px; font-weight:700; }
.history-toggle:hover { text-decoration:underline; }
.history-empty { padding:22px; border:1px dashed #c7d9d2; border-radius:10px; color:var(--muted); background:var(--paper); text-align:center; }
@media (max-width:760px) {
    .last-export { align-items:flex-start; flex-direction:column; }
    .last-export-meta { justify-content:flex-start; }
    .export-history { padding:22px; }
}
@media (max-width:960px) {
    .shell .export-grid { grid-template-columns:1fr; }
}
