:root {
  --wine: #761f22;
  --wine-dark: #541315;
  --wine-soft: #f5e9e9;
  --ink: #191716;
  --muted: #716b67;
  --line: #e8e3df;
  --paper: #fff;
  --canvas: #f7f5f2;
  --success: #2f6e4d;
  --shadow: 0 18px 55px rgba(56, 41, 34, 0.11);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -0.035em; }
button { color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.eyebrow { color: var(--wine); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.13em; margin-bottom: 7px; text-transform: uppercase; }

.button, .icon-button, .text-button { align-items: center; border: 0; cursor: pointer; display: inline-flex; justify-content: center; }
.button { border-radius: 12px; font-weight: 750; gap: 8px; min-height: 44px; padding: 0 17px; }
.button-primary { background: var(--wine); color: white; box-shadow: 0 7px 20px rgba(118,31,34,.2); }
.button-primary:hover { background: var(--wine-dark); }
.button-soft { background: var(--wine-soft); color: var(--wine); }
.button-ghost { background: transparent; border: 1px solid var(--line); }
.button-large { min-height: 50px; padding-inline: 24px; }
.icon-button { background: #fff; border: 1px solid var(--line); border-radius: 50%; height: 40px; width: 40px; }
.text-button { background: none; color: var(--wine); font-size: .82rem; font-weight: 750; padding: 4px; }
.count-badge { align-items: center; background: var(--wine); border-radius: 999px; color: #fff; display: inline-flex; font-size: .72rem; height: 22px; justify-content: center; min-width: 22px; padding: 0 5px; }

.login-page { background: #eee7e2; display: grid; min-height: 100vh; place-items: center; padding: 28px; }
.login-shell { background: #fff; border-radius: 30px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.1fr .9fr; max-width: 980px; min-height: 610px; overflow: hidden; width: 100%; }
.login-brand { background: linear-gradient(145deg, #6a191c, #8d292d); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 70px; position: relative; }
.login-brand::before { border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; height: 420px; position: absolute; right: -180px; top: -160px; width: 420px; }
.login-brand .eyebrow { color: #e6c9c9; }
.login-brand h1 { font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.3rem); font-weight: 400; line-height: .98; max-width: 550px; }
.login-brand p:last-child { color: #eadcdc; line-height: 1.65; max-width: 430px; }
.brand-mark { align-items: center; background: #fff; border-radius: 18px; color: var(--wine); display: flex; font-family: Georgia, serif; font-size: 2rem; height: 64px; justify-content: center; margin-bottom: auto; width: 64px; }
.brand-mark-small { flex: 0 0 44px; font-size: 1.45rem; height: 44px; margin: 0; width: 44px; }
.login-card { align-self: center; padding: 65px; }
.login-card h2 { font-family: Georgia, serif; font-size: 2.2rem; font-weight: 400; margin-bottom: 10px; }
.form-stack { display: grid; gap: 20px; margin-top: 35px; }
.form-stack label, .editor-form label { color: #494440; display: grid; font-size: .84rem; font-weight: 700; gap: 8px; }
input, select, textarea { background: #fff; border: 1px solid #dcd6d1; border-radius: 11px; color: var(--ink); outline: none; padding: 12px 13px; }
input:focus, select:focus, textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(118,31,34,.1); }
.login-help { color: var(--muted); font-size: .78rem; margin: 24px 0 0; text-align: center; }
.alert { border-radius: 12px; font-size: .88rem; margin: 20px 0; padding: 12px 14px; }
.alert-error { background: #fff0f0; color: #9b2026; }
.alert-success { background: #edf8f1; color: var(--success); }

.app-shell { display: grid; grid-template-columns: 280px minmax(0,1fr); min-height: 100vh; }
.app-shell:has(.sidebar.is-collapsed) { grid-template-columns: 78px minmax(0,1fr); }
.sidebar { background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: 0; padding: 20px 16px max(20px, env(safe-area-inset-bottom)); position: sticky; top: 0; transition: width .22s; z-index: 5; }
.sidebar-head { align-items: center; display: flex; gap: 11px; margin-bottom: 25px; position: relative; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: Georgia, serif; font-size: 1.25rem; }
.brand-copy span { color: var(--muted); font-size: .73rem; margin-top: 4px; }
.sidebar-toggle { margin-left: auto; }
.category-nav { display: grid; gap: 6px; }
.category-button { align-items: center; background: transparent; border: 0; border-radius: 11px; cursor: pointer; display: grid; font-weight: 700; gap: 11px; grid-template-columns: 9px 1fr auto; padding: 12px; text-align: left; width: 100%; }
.category-button:hover { background: var(--canvas); }
.category-button.is-active { background: var(--wine-soft); color: var(--wine); }
.category-button b { background: #f0ece9; border-radius: 999px; color: var(--muted); font-size: .7rem; padding: 4px 7px; }
.category-dot { background: #cfc5bf; border-radius: 50%; height: 7px; width: 7px; }
.category-button.is-active .category-dot { background: var(--wine); }
.filter-panel { border-top: 1px solid var(--line); flex: 1 1 auto; margin-top: 20px; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-top: 19px; }
.section-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 13px; }
.section-heading > div { display: grid; gap: 4px; }
.section-heading span { color: var(--muted); font-size: .76rem; }
.filter-group { border-bottom: 1px solid var(--line); display: grid; gap: 9px; padding: 12px 0 15px; }
.filter-group > strong { font-size: .82rem; margin-bottom: 2px; }
.filter-group label { align-items: center; color: #504b47; cursor: pointer; display: flex; font-size: .82rem; gap: 8px; }
.filter-group input { accent-color: var(--wine); height: 16px; width: 16px; }
.sidebar-user { align-items: center; background: #fff; border-top: 1px solid var(--line); display: flex; flex: 0 0 auto; gap: 10px; margin-top: 12px; padding-top: 16px; }
.avatar { align-items: center; background: var(--wine); border-radius: 50%; color: #fff; display: flex; font-weight: 800; height: 38px; justify-content: center; width: 38px; }
.user-copy { display: grid; flex: 1; font-size: .8rem; min-width: 0; }
.user-copy span { color: var(--muted); font-size: .7rem; }
.sidebar.is-collapsed { width: 78px; }
.sidebar.is-collapsed .brand-copy, .sidebar.is-collapsed .category-button span:not(.category-dot), .sidebar.is-collapsed .category-button b, .sidebar.is-collapsed .filter-panel, .sidebar.is-collapsed .user-copy { display: none; }
.sidebar.is-collapsed .sidebar-head { flex-wrap: wrap; }
.sidebar.is-collapsed .sidebar-toggle { margin: 0; }

.main-content { min-width: 0; padding: 28px 32px 50px; }
.topbar { align-items: center; display: flex; gap: 25px; justify-content: space-between; }
.topbar h1, .admin-topbar h1 { font-family: Georgia, serif; font-size: 2.25rem; font-weight: 400; margin: 0; }
.topbar-actions { align-items: center; display: flex; gap: 10px; }
.search-box { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 13px; display: flex; gap: 8px; height: 46px; padding: 0 13px; width: min(34vw, 430px); }
.search-box input { border: 0; box-shadow: none; min-width: 0; padding: 0; width: 100%; }
.content-meta { align-items: center; color: var(--muted); display: flex; font-size: .82rem; justify-content: space-between; margin: 26px 0 16px; }
.select-wrap { align-items: center; display: flex; gap: 8px; }
.select-wrap select { font-size: .8rem; padding: 8px 32px 8px 10px; }
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; overflow: hidden; position: relative; transition: transform .18s, box-shadow .18s; }
.product-card:hover { box-shadow: 0 12px 30px rgba(46,34,28,.09); transform: translateY(-2px); }
.product-card-main { background: none; border: 0; cursor: pointer; padding: 0; text-align: left; width: 100%; }
.product-image-wrap { aspect-ratio: 4/3; background: #f4f1ee; overflow: hidden; position: relative; }
.product-image-wrap img { height: 100%; object-fit: contain; padding: 12px; width: 100%; }
.image-placeholder { align-items: center; color: #b9aea8; display: flex; font-size: 3rem; height: 100%; justify-content: center; }
.image-count { background: rgba(255,255,255,.9); border-radius: 999px; bottom: 9px; font-size: .68rem; font-weight: 750; padding: 5px 8px; position: absolute; right: 9px; }
.wishlist-toggle { align-items: center; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; display: flex; font-size: 1.2rem; height: 38px; justify-content: center; position: absolute; right: 10px; top: 10px; width: 38px; z-index: 2; }
.wishlist-toggle.is-selected { background: var(--wine); border-color: var(--wine); color: #fff; }
.product-card-copy { padding: 15px 16px 18px; }
.product-card-copy span { color: var(--muted); font-size: .69rem; letter-spacing: .06em; text-transform: uppercase; }
.product-card-copy h2 { font-family: Georgia, serif; font-size: 1.15rem; font-weight: 400; line-height: 1.2; margin: 6px 0 12px; min-height: 2.4em; }
.product-card-copy strong { color: var(--wine); font-size: .9rem; }
.empty-state { align-items: center; color: var(--muted); display: flex; flex-direction: column; grid-column: 1/-1; justify-content: center; min-height: 360px; text-align: center; }
.empty-state h2 { color: var(--ink); font-family: Georgia, serif; font-weight: 400; margin-bottom: 5px; }
.empty-icon { color: #bca9a2; font-size: 3rem; margin-bottom: 10px; }

dialog { border: 0; box-shadow: var(--shadow); padding: 0; }
dialog::backdrop { background: rgba(28,21,18,.64); backdrop-filter: blur(4px); }
.product-dialog { border-radius: 24px; height: min(760px, calc(100vh - 32px)); height: min(760px, calc(100dvh - 32px)); margin: auto; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); max-width: 1160px; overflow: hidden; width: min(1160px, calc(100vw - 32px)); }
.dialog-close { position: absolute; right: 15px; top: 15px; z-index: 3; }
.product-detail { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(320px,.65fr); height: 100%; min-height: 0; overflow: hidden; }
.detail-gallery { background: #f4f1ee; display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; padding: 28px; }
.detail-stage { align-items: center; display: flex; flex: 1; justify-content: center; min-height: 0; position: relative; }
.detail-stage > img { display: block; height: auto; max-height: 100%; max-width: 100%; object-fit: contain; width: auto; }
.gallery-arrow { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 2rem; height: 46px; position: absolute; top: 50%; transform: translateY(-50%); width: 46px; z-index: 2; }
.gallery-prev { left: 0; } .gallery-next { right: 0; }
.image-thumbs { display: flex; gap: 8px; justify-content: center; min-height: 65px; overflow-x: auto; padding-top: 12px; }
.image-thumbs button { background: #fff; border: 2px solid transparent; border-radius: 9px; height: 62px; overflow: hidden; padding: 0; width: 80px; }
.image-thumbs button.is-active { border-color: var(--wine); }
.image-thumbs img { height: 100%; object-fit: contain; width: 100%; }
.detail-copy { align-self: stretch; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 52px 42px max(52px, env(safe-area-inset-bottom)); }
.detail-copy h2 { font-family: Georgia, serif; font-size: 2.1rem; font-weight: 400; line-height: 1.05; }
.detail-price { color: var(--wine); font-size: 1.25rem; font-weight: 800; margin: 18px 0; }
.detail-description { color: #56504c; line-height: 1.65; }
.attribute-list { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin: 25px 0; padding: 12px 0; }
.attribute-list > div { display: grid; font-size: .85rem; grid-template-columns: 1fr 1.5fr; padding: 8px 0; }
.attribute-list dt { color: var(--muted); }.attribute-list dd { font-weight: 700; margin: 0; }
.wishlist-dialog { border-radius: 22px; max-width: 720px; width: 90vw; }
.dialog-header, .wishlist-footer { align-items: center; display: flex; justify-content: space-between; padding: 22px 25px; }
.dialog-header { border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-family: Georgia,serif; font-size: 1.8rem; font-weight: 400; margin: 0; }
.wishlist-items { max-height: 60vh; overflow: auto; padding: 5px 25px; }
.wishlist-item { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 16px; grid-template-columns: 90px 1fr auto; padding: 14px 0; }
.wishlist-image { align-items: center; background: var(--canvas); border-radius: 10px; display: flex; height: 70px; justify-content: center; overflow: hidden; }
.wishlist-image img { height: 100%; object-fit: contain; width: 100%; }
.wishlist-item span { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.wishlist-item h3 { font-family: Georgia,serif; font-size: 1.05rem; font-weight: 400; margin: 3px 0; }
.wishlist-item strong { color: var(--wine); font-size: .8rem; }
.wishlist-footer { background: var(--canvas); }

.admin-page { background: var(--canvas); padding-bottom: 50px; }
.admin-topbar { align-items: center; background: #fff; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 22px 4vw; }
.admin-layout { display: grid; gap: 22px; grid-template-columns: minmax(0,1.5fr) minmax(320px,.7fr); margin: 25px auto; max-width: 1440px; padding: 0 25px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; }
.section-title h2 { font-family: Georgia,serif; font-size: 1.75rem; font-weight: 400; margin-bottom: 20px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.span-2 { grid-column: span 2; }
.toggle-label { align-items: center; display: flex !important; flex-direction: row; margin-top: 23px; }
.toggle-label input { accent-color: var(--wine); height: 19px; width: 19px; }
.editor-section { border-top: 1px solid var(--line); margin-top: 27px; padding-top: 23px; }
.attribute-editor { display: grid; gap: 9px; }
.attribute-row { display: grid; gap: 8px; grid-template-columns: 1fr 1fr 40px; }
.upload-zone { align-items: center; background: var(--canvas); border: 1px dashed #cbbfba; border-radius: 14px; cursor: pointer; display: flex !important; flex-direction: column; margin-top: 12px; padding: 28px; text-align: center; }
.upload-zone input { display: none; }
.upload-zone span:last-child { color: var(--muted); font-size: .75rem; font-weight: 400; }
.upload-icon { color: var(--wine); font-size: 2rem; }
.admin-image-grid { display: grid; gap: 10px; grid-template-columns: repeat(5,1fr); margin-bottom: 15px; }
.admin-image { aspect-ratio: 1; background: var(--canvas); border-radius: 11px; overflow: hidden; position: relative; }
.admin-image img { height: 100%; object-fit: contain; width: 100%; }
.image-delete { background: rgba(84,19,21,.9); border: 0; bottom: 5px; color: white; font-size: .68rem; left: 5px; padding: 5px 7px; position: absolute; }
.editor-actions { display: flex; justify-content: flex-end; margin-top: 25px; }
.admin-product-list > a[hidden]{display:none!important}
.danger-zone{align-items:center;background:#fff6f5;border:1px solid #e8c8c6;border-radius:14px;display:flex;justify-content:space-between;gap:20px;margin-top:28px;padding:18px}
.danger-zone>div{display:grid;gap:5px}.danger-zone span{color:var(--muted);font-size:.88rem}
.button-danger{background:#a52a2e;border-color:#a52a2e;color:#fff}.button-danger:hover{background:#7b1d20;border-color:#7b1d20}
.product-list-panel { align-self: start; max-height: calc(100vh - 150px); position: sticky; top: 20px; }
.admin-search { margin-bottom: 15px; width: 100%; }
.admin-product-list { max-height: calc(100vh - 300px); overflow: auto; }
.admin-product-list > a { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 10px; grid-template-columns: 55px 1fr 10px; padding: 10px 2px; }
.admin-product-list > a:hover { background: var(--canvas); }
.admin-product-thumb { align-items: center; background: var(--canvas); border-radius: 9px; display: flex; height: 48px; justify-content: center; overflow: hidden; }
.admin-product-thumb img { height: 100%; object-fit: contain; width: 100%; }
.admin-product-list strong, .admin-product-list span { display: block; }
.admin-product-list strong { font-size: .82rem; }.admin-product-list span { color: var(--muted); font-size: .68rem; margin-top: 3px; }
.status-dot { background: #c9c1bc; border-radius: 50%; height: 8px; width: 8px; }.status-dot.is-active { background: #4e996d; }
.import-summary { display: grid; gap: 12px; grid-template-columns: repeat(3,1fr); margin: 28px 0; }
.import-summary > div { background: var(--canvas); border-radius: 14px; display: grid; padding: 20px; text-align: center; }
.import-summary strong { color: var(--wine); font-family: Georgia,serif; font-size: 2rem; font-weight: 400; }
.import-summary span { color: var(--muted); font-size: .76rem; margin-top: 4px; }
.import-progress { margin: 25px 0; }
.progress-track { background: #e8e1dc; border-radius: 999px; height: 12px; margin-bottom: 14px; overflow: hidden; }
.progress-track > div { background: var(--wine); height: 100%; transition: width .2s; width: 0; }

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .app-shell { grid-template-columns: 245px minmax(0,1fr); }
  .sidebar { padding-inline: 12px; }
}
@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; max-width: 520px; }.login-brand { min-height: 250px; padding: 35px; }.login-brand h1 { font-size: 2.5rem; }.brand-mark { display: none; }.login-card { padding: 40px; }
  .app-shell { display: block; }.sidebar { height: auto; padding: 12px 16px; position: static; }.sidebar-head { margin: 0; }.sidebar-toggle, .filter-panel, .sidebar-user { display: none; }.category-nav { display: flex; margin-top: 12px; overflow-x: auto; }.category-button { flex: 0 0 auto; grid-template-columns: 8px auto auto; }.main-content { padding: 20px; }
  .topbar { align-items: flex-start; flex-direction: column; }.topbar-actions { flex-wrap: wrap; width: 100%; }.search-box { order: 3; width: 100%; }.product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-detail { grid-template-columns: 1fr; overflow-x: hidden; overflow-y: auto; }.detail-gallery { flex: 0 0 min(48dvh,420px); min-height: 300px; }.detail-copy { overflow: visible; padding: 30px; }.product-dialog { overflow: hidden; }
  .admin-layout { grid-template-columns: 1fr; }.product-list-panel { max-height: none; position: static; }.admin-product-list { max-height: 600px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }.main-content { padding: 16px; }.topbar-actions .button { flex: 1; }.form-grid { grid-template-columns: 1fr; }.span-2 { grid-column: auto; }.admin-topbar { align-items: flex-start; flex-direction: column; gap: 15px; }.admin-layout { padding: 0 12px; }.admin-image-grid { grid-template-columns: repeat(3,1fr); }.danger-zone{align-items:stretch;flex-direction:column}.danger-zone .button{width:100%}
}

/* Preisverwaltung */
.pricing-layout{max-width:1500px;margin:0 auto;padding:28px;display:grid;grid-template-columns:1fr 1fr;gap:22px}
.pricing-card{padding:28px}.pricing-card h2{margin:4px 0 10px}.help-text{color:var(--muted);line-height:1.55}
.price-controls,.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}
.compact-upload{min-height:92px;flex:1}.progress-wrap{margin-top:20px}.progress-track span{display:block;height:100%;width:0;background:var(--wine);transition:width .2s}.hidden{display:none!important}
.rule-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:20px 0}.rule-grid label{display:grid;gap:7px;font-weight:650}
.rule-grid input,.rule-grid select,.new-price,.product{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit}
.price-preview{margin-top:22px}.price-table-wrap{overflow:auto;margin-top:12px;border:1px solid var(--line);border-radius:12px}
.price-table{width:100%;border-collapse:collapse;min-width:720px}.price-table th,.price-table td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line)}
.price-table th{background:#f8f4f1;font-size:.85rem}.price-table tr:last-child td{border-bottom:0}.product{min-width:270px}.new-price{min-width:110px}
.history-list{display:grid}.history-row{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}
.history-row>div{display:grid;gap:3px}.history-row>div:last-child{text-align:right}.history-row span{color:var(--muted);font-size:.86rem}.legacy-cleanup{grid-column:1/-1}
@media(max-width:900px){.pricing-layout{grid-template-columns:1fr;padding:16px}.rule-grid{grid-template-columns:1fr}.legacy-cleanup{grid-column:auto}.price-controls,.preview-toolbar{align-items:stretch;flex-direction:column}.preview-toolbar .button{width:100%}}

/* PowerOrdo-Import */
.import-page-layout{max-width:1400px;margin:0 auto;padding:28px;display:grid;gap:22px}
.reconcile-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}
.reconcile-summary>div{background:#f8f4f1;border:1px solid var(--line);border-radius:14px;display:grid;padding:18px;text-align:center}
.reconcile-summary strong{color:var(--wine);font-family:Georgia,serif;font-size:2rem}.reconcile-summary span{color:var(--muted)}
.reconcile-row{align-items:center;border-bottom:1px solid var(--line);display:grid;gap:14px;grid-template-columns:auto minmax(240px,1fr) 130px 150px;padding:14px 0}
.reconcile-row>div{display:grid;gap:4px}.reconcile-row span{color:var(--muted);font-size:.82rem}.reconcile-row input[type=number]{padding:9px;width:130px}
.draft-import-card{border:1px solid var(--line);border-radius:16px;margin:16px 0;overflow:hidden}
.draft-import-head{align-items:center;background:#f8f4f1;display:flex;justify-content:space-between;padding:14px 18px}.draft-import-head label{align-items:center;display:flex;gap:8px}
.draft-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:18px}.draft-fields label{display:grid;gap:6px;font-weight:650}
.draft-fields input,.draft-fields select,.draft-fields textarea{border:1px solid var(--line);border-radius:10px;font:inherit;padding:10px;width:100%}
@media(max-width:760px){.import-page-layout{padding:16px}.reconcile-summary{grid-template-columns:1fr}.reconcile-row{grid-template-columns:auto 1fr}.reconcile-row>div:nth-last-child(-n+2){grid-column:2}.draft-fields{grid-template-columns:1fr}.draft-fields .span-2{grid-column:auto}}
