/* Haifei CMS admin styles */
:root {
  --ink: #14181d; --ink2: #2b323a; --muted: #6b7280; --line: #e6e7e5;
  --bg: #f5f5f3; --panel: #fff; --brand: #d6001c; --brand-dark: #a30016;
  --radius: 10px; --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 14.5px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; }

.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { background: #101317; color: #cbd2d9; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side__brand { display: flex; align-items: center; gap: 10px; padding: 22px 20px; color: #fff; font-weight: 700; letter-spacing: 0.02em; border-bottom: 1px solid #20262d; }
.side__brand img { height: 22px; }
.side__nav { padding: 14px 10px; display: grid; gap: 2px; flex: 1; overflow-y: auto; }
.side__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: #aab2bb; font-weight: 550; cursor: pointer; transition: 0.15s; position: relative; }
.side__nav a:hover { color: #fff; background: #1a2027; }
.side__nav a.on { color: #fff; background: var(--brand); }
.side__nav .ic { width: 18px; text-align: center; opacity: 0.85; }
.side__nav .dot { margin-left: auto; background: #fff; color: var(--brand); border-radius: 999px; font-size: 11px; padding: 1px 7px; font-weight: 700; }
.side__foot { border-top: 1px solid #20262d; padding: 16px; display: grid; gap: 10px; }
.who b { color: #fff; display: block; font-size: 13.5px; }
.who span { font-size: 12px; color: #79828c; }

.main { padding: 30px 36px 60px; min-width: 0; }
.bar { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.bar h1 { font-size: 22px; letter-spacing: -0.02em; }
.count { color: var(--muted); font-size: 13px; }
.loading, .empty { color: var(--muted); padding: 40px 0; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-weight: 600; color: var(--ink2); cursor: pointer; transition: 0.18s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,19,23,0.08); }
.card__n { display: block; font-size: 30px; font-weight: 750; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 4px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel h2 { font-size: 15px; margin-bottom: 14px; }

/* table */
.tablewrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); font-weight: 650; }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #fafaf8; }
.thumb { width: 64px; height: 46px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.thumb.ph { background: var(--line); }
.table b { font-weight: 640; }
.dim { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pill { font-size: 11.5px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: #eef0ee; color: var(--muted); }
.pill.on { background: #e8f5ec; color: #1d6b33; }
.rowbtns { display: flex; gap: 6px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid transparent; border-radius: 8px; padding: 10px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: 0.15s; background: transparent; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { border-color: var(--line); color: var(--ink2); background: #fff; }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn.danger { border-color: #f0c9ce; color: var(--brand-dark); background: #fff; }
.btn.danger:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.sm { padding: 6px 12px; font-size: 12.5px; }
.btn.wide { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.4; cursor: default; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(1000px 500px at 20% 0%, #1d232b, #0d1013); padding: 20px; }
.login__card { background: #fff; border-radius: 14px; padding: 40px 38px 30px; width: 400px; display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.login__card h1 { font-size: 21px; letter-spacing: -0.02em; }
.login__card > p { color: var(--muted); font-size: 13.5px; margin-top: -10px; }
.login__logo { height: 26px; width: auto; margin-bottom: 2px; }
.login__back { font-size: 13px; color: var(--muted); text-align: center; }
.login__back:hover { color: var(--brand); }

/* forms */
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 640; color: var(--ink2); }
.field input, .field select, .field textarea, .field > input {
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 14px; width: 100%; background: #fff; color: var(--ink); outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,24,29,0.08); }
.field textarea { resize: vertical; }
.field textarea.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 550; cursor: pointer; padding: 6px 0; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.form__msg { font-size: 13px; display: none; padding: 10px 12px; border-radius: 8px; }
.form__msg.is-err { display: block; background: #fdf1f2; color: var(--brand-dark); border: 1px solid #f3c9cf; }

/* editor drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(720px, 96vw); background: #fff; z-index: 60; box-shadow: -20px 0 60px rgba(10,12,15,0.18); display: flex; flex-direction: column; animation: slidein 0.22s ease; }
@keyframes slidein { from { transform: translateX(30px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.scrim { position: fixed; inset: 0; background: rgba(10,12,15,0.35); z-index: 55; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 17px; }
.drawer__body { padding: 24px 26px 50px; overflow-y: auto; display: grid; gap: 26px; }
.edblock h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.edgrid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.edgrid .span2, .edgrid .field.span2 { grid-column: span 2; }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.tab { padding: 9px 16px; border: 0; background: none; font-weight: 600; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; }
.tab.on { color: var(--brand); border-color: var(--brand); }
.imgrow { display: flex; gap: 14px; align-items: flex-start; }
.imgprev { width: 110px; height: 78px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); opacity: 0.15; }
.upload span { cursor: pointer; }
.hint { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.hint code { background: #f1f1ef; padding: 1px 6px; border-radius: 5px; }

/* messages */
.msgrow { display: grid; grid-template-columns: 260px 1fr auto; gap: 18px; padding: 16px 4px; border-bottom: 1px solid var(--line); align-items: start; }
.msgrow.unread { background: #fffdf5; }
.msgrow b { font-weight: 660; }
.msgrow__meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.msgrow p { font-size: 13.5px; color: var(--ink2); }

/* toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600; opacity: 0; pointer-events: none; transition: 0.25s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--brand-dark); }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .side__nav { display: flex; overflow-x: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .edgrid { grid-template-columns: 1fr; }
  .edgrid .span2, .edgrid .field.span2 { grid-column: span 1; }
  .msgrow { grid-template-columns: 1fr; }
  .main { padding: 20px; }
}

/* ============================================================
   中文后台 + SEO / GEO 模块
   ============================================================ */
.drawer { width: min(880px, 96vw); }
.drawer__sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 26px; border-bottom: 1px solid var(--line); background: #fbfbfa; flex-wrap: wrap; }
.tabbar__tabs { display: flex; gap: 2px; }
.tab { padding: 13px 14px; border: 0; background: none; font-weight: 620; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; margin-bottom: -1px; }
.tab:hover { color: var(--ink2); }
.tab.on { color: var(--brand); border-color: var(--brand); }
.langpills { display: flex; gap: 4px; background: #eceeec; padding: 3px; border-radius: 999px; }
.langpill { border: 0; background: none; font-size: 12.5px; font-weight: 650; color: var(--muted); padding: 5px 13px; border-radius: 999px; cursor: pointer; }
.langpill.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,19,23,0.12); }

.edblock__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.edblock__head h3 { margin-bottom: 0; }
.edblock > textarea, .edblock > .field { max-width: 100%; }
.cnt { float: right; font-size: 11.5px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.cnt.ok { color: #1d8a4a; }
.cnt.over { color: var(--brand); }
.field .hint { font-size: 12px; color: var(--muted); line-height: 1.5; }
.field .hint code, .jsonld-note code { background: #f1f1ef; padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }

/* 评分徽标 */
.badge-score { display: inline-grid; place-items: center; min-width: 38px; height: 24px; border-radius: 999px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.badge-score.good { background: #e8f5ec; color: #1d6b33; }
.badge-score.mid { background: #fdf6e3; color: #8a6508; }
.badge-score.low { background: #fdf1f2; color: var(--brand-dark); }

/* 概览 SEO 面板 */
.seo-panel .panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.seo-panel h2 { margin-bottom: 0; }
.ring { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; border: 3px solid var(--line); font-size: 21px; font-weight: 760; letter-spacing: -0.02em; }
.ring i { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--muted); margin-top: -4px; }
.ring.good { border-color: #26a05a; color: #1d6b33; background: #f0f9f3; }
.ring.mid { border-color: #d9a53c; color: #8a6508; background: #fdf8ec; }
.ring.low { border-color: #e06a76; color: var(--brand-dark); background: #fdf1f2; }
.minigrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.minigrid > div { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 2px; background: #fcfcfb; }
.minigrid b { font-size: 22px; font-weight: 750; }
.minigrid span { font-size: 12.5px; color: var(--muted); }
.minigrid a { font-size: 12.5px; font-weight: 620; color: var(--brand); margin-top: 6px; cursor: pointer; }
.seo-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.seo-links a { color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; }
.seo-links a:hover { color: var(--brand); }

/* Google 结果预览 */
.serp { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: #fff; max-width: 620px; }
.serp__head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #4d5156; }
.serp__fav { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); display: inline-block; }
.serp__path { color: #5f6368; }
.serp__title { color: #1a0dab; font-size: 18px; line-height: 1.3; margin: 6px 0 4px; font-weight: 500; }
.serp__desc { color: #4d5156; font-size: 13.5px; line-height: 1.58; }

/* 体检清单 */
.checks { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.checks li { display: grid; grid-template-columns: 26px 1fr; align-items: baseline; gap: 4px 8px; padding: 11px 14px; background: #fff; }
.checks li i { grid-column: 2; font-style: normal; font-size: 12px; color: var(--faint); }
.checks li b { font-size: 13px; font-weight: 620; }
.checks .ck { font-weight: 700; text-align: center; }
.checks li.ok .ck { color: #1d8a4a; }
.checks li.no .ck { color: #c9cdd2; }
.checks li.no b { color: var(--muted); font-weight: 560; }
.jsonld-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); background: #f7f8f7; border: 1px dashed var(--line); border-radius: 8px; padding: 10px 14px; }

.tipblock .tips { list-style: none; display: grid; gap: 9px; }
.tipblock .tips li { position: relative; padding-left: 18px; font-size: 13px; color: var(--ink2); line-height: 1.6; }
.tipblock .tips li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

@media (max-width: 900px) {
  .tabbar { padding: 0 16px; }
  .minigrid { grid-template-columns: 1fr; }
  .drawer__body { padding: 20px 16px 40px; }
}

/* GEO 页签中的整宽文本域 */
.edblock > textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14px; background: #fff; color: var(--ink); outline: none; resize: vertical; }
.edblock > textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,24,29,0.08); }
.edblock > textarea.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; }

/* ============================================================
   社交媒体设置
   ============================================================ */
.notice { border: 1px solid #f0d9a8; background: #fdf8ec; color: #7a5c08; border-radius: 9px; padding: 11px 14px; font-size: 13px; line-height: 1.6; margin: 12px 0 4px; }
.notice b { color: #6b4f04; }

.soclist { display: grid; gap: 8px; margin-top: 14px; }
.socrow {
  display: grid; grid-template-columns: 38px 34px minmax(0, 1fr); align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fcfcfb;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.socrow.is-on { border-color: #cfd6cd; background: #fff; }
.socrow__on { position: relative; width: 38px; height: 22px; cursor: pointer; flex: none; }
.socrow__on input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.socrow__on span { position: absolute; inset: 0; border-radius: 999px; background: #d7dbd9; transition: background 0.18s ease; }
.socrow__on span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.2); transition: transform 0.18s ease; }
.socrow__on input:checked + span { background: #1d8a4a; }
.socrow__on input:checked + span::after { transform: translateX(16px); }
.socrow__ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f1f2f0; color: var(--ink); }
.socrow.is-on .socrow__ico { background: var(--ink); color: #fff; }
.socrow__ico svg { width: 16px; height: 16px; display: block; }
.socrow__body { display: grid; gap: 4px; min-width: 0; }
.socrow__name { font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.socrow__body input {
  width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px;
  font-size: 13px; color: var(--ink); background: #fff; outline: none;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
.socrow__body input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,24,29,0.07); }
.tag-demo { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; color: #8a6508; background: #fdf6e3; border-radius: 4px; padding: 1px 6px; }
@media (max-width: 640px) {
  .socrow { grid-template-columns: 38px 30px minmax(0, 1fr); gap: 9px; padding: 9px 11px; }
}

/* ============================================================
   网站设计（可视化编辑器）
   ============================================================ */
body.ds-mode .main { padding: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.ds-bar { padding: 16px 26px; min-height: 62px; border-bottom: 1px solid var(--line); background: #fff; align-items: flex-start; justify-content: space-between; margin: 0; }
.ds-bar h1 { font-size: 19px; }
.bar__sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.bar__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.dirty { font-size: 11.5px; font-weight: 700; color: #8a6508; background: #fdf6e3; border: 1px solid #f0e0b4; border-radius: 999px; padding: 3px 10px; opacity: 0; transition: opacity 0.2s; }
.dirty.on { opacity: 1; }

.dtabs { display: flex; gap: 4px; padding: 0 26px; border-bottom: 1px solid var(--line); background: #fbfbfa; overflow-x: auto; }
.dtab { border: 0; background: none; padding: 12px 13px; font-size: 13.5px; font-weight: 620; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.dtab:hover { color: var(--ink); }
.dtab.on { color: var(--brand); border-color: var(--brand); }

.ds { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 46%); flex: 1; min-height: 0; }
.ds__edit { overflow-y: auto; padding: 20px 26px 80px; background: #fff; }
.ds__preview { border-left: 1px solid var(--line); background: #eef0ef; display: flex; flex-direction: column; min-height: 0; }
.ds__pv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; font-size: 12px; font-weight: 650; color: var(--muted); border-bottom: 1px solid var(--line); background: #f7f8f7; }
.ds__pv-ops { display: flex; align-items: center; gap: 8px; }
.ds__pv-wrap { flex: 1; overflow: hidden; position: relative; background: #fff; }
.ds__pv-wrap iframe { border: 0; transform-origin: top left; display: block; background: #fff; }

.dsec { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 20px; margin-bottom: 16px; background: #fcfcfb; }
.dsec__head { margin-bottom: 14px; }
.dsec__head h3 { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.dsec__head .hint { font-size: 12px; color: var(--muted); margin-top: 3px; }

.dfield { padding: 12px 0; border-top: 1px dashed var(--line); }
.dfield:first-of-type { border-top: 0; padding-top: 0; }
.dfield__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.dfield__head label { font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.dfield__ops { display: flex; align-items: center; gap: 10px; }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dgrid--4 { grid-template-columns: repeat(4, 1fr); }
.dcell { position: relative; }
.dcell__tag { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.dcell input, .dcell textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px;
  font-size: 13px; line-height: 1.5; color: var(--ink); background: #fff; outline: none; font-family: inherit; resize: vertical;
}
.dcell input:focus, .dcell textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 24, 29, 0.07); }
.dcell input::placeholder, .dcell textarea::placeholder { color: #b6bcc2; }

.ditems, .drows { display: grid; gap: 9px; }
.ditem { border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; background: #fff; }
.ditem__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.ditem__head b { font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.ditem__ops { display: flex; gap: 8px; }
.dsub + .dsub { margin-top: 9px; }
.dsub__label { display: block; font-size: 11.5px; font-weight: 650; color: var(--muted); margin-bottom: 4px; }

.linkbtn { border: 0; background: none; font-size: 12.5px; font-weight: 650; color: var(--brand); cursor: pointer; padding: 2px 0; }
.linkbtn:hover { text-decoration: underline; }
.linkbtn.danger { color: #b3261e; }

.dimg { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 14px; align-items: start; }
.dimg__thumb { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f1f2f0; aspect-ratio: 16 / 9; }
.dimg__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dimg__ops { display: grid; gap: 8px; }
.dimg__ops input { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; font-size: 12.5px; font-family: ui-monospace, Consolas, monospace; color: var(--ink); outline: none; }
.dimg__btns { display: flex; align-items: center; gap: 10px; }
.filebtn { position: relative; overflow: hidden; }
.filebtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drow { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.drow img { width: 92px; height: 54px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.drow input { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; font-size: 12.5px; font-family: ui-monospace, Consolas, monospace; outline: none; }

@media (max-width: 1280px) {
  .ds { grid-template-columns: 1fr; }
  .ds__preview { display: none; }
}
@media (max-width: 760px) {
  .ds__edit { padding: 14px 14px 60px; }
  .dgrid, .dgrid--4 { grid-template-columns: 1fr; }
  .dimg { grid-template-columns: 1fr; }
  .ds-bar { flex-direction: column; gap: 10px; }
}
