/* ===== 全站样式（白色主题）===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --panel2: #f2f4f6;
  --line: #e2e5ea;
  --text: #23282e;
  --muted: #6e7681;
  --accent: #e07b39;
  --accent-dark: #c9662a;
  --accent2: #2f7fb8;
  --ok: #2e9e4f;
  --err: #d4453a;
  --shadow: 0 1px 3px rgba(20, 30, 40, 0.07), 0 4px 16px rgba(20, 30, 40, 0.05);
}

html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 14px/1.65 "Segoe UI", "Hiragino Sans", "Microsoft YaHei", sans-serif;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

button, .btn {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none !important;
}
button:hover, .btn:hover { border-color: var(--accent); color: var(--accent-dark); }
button.is-primary, .btn.is-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
button.is-primary:hover, .btn.is-primary:hover { background: var(--accent-dark); color: #fff; }
button.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="password"], select {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
  width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--accent); }
label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 3px; }

.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.topbar .brand { font-size: 16px; font-weight: 700; color: var(--text); }
.topbar .brand small { color: var(--muted); font-weight: 400; margin-left: 8px; }
.topbar .spacer { flex: 1; }

/* ===== 账号 ===== */
.auth-button {
  border-radius: 999px;
  padding: 6px 16px;
}
.auth-button.is-authed { border-color: var(--ok); color: var(--ok); }
.auth-modal {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(30, 36, 44, 0.45);
  display: flex; align-items: center; justify-content: center;
}
.auth-modal.is-hidden { display: none; }
.auth-card {
  position: relative;
  width: min(390px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 26px 24px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.auth-card h3 { font-size: 17px; margin-bottom: 4px; }
.auth-lead { color: var(--muted); font-size: 12.5px; margin: -3px 0 2px; }
.auth-google {
  position: relative;
  width: 100%;
  min-height: 43px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 600;
}
.auth-google-mark {
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #4285f4; background: #fff;
  box-shadow: inset 0 0 0 1px #d7dce2; font: 700 13px/1 Arial, sans-serif;
}
.auth-google.is-unavailable,
.auth-method-tabs button.is-unavailable { border-style: dashed; }
.auth-google.is-unavailable::after {
  content: "利用できません";
  position: absolute; right: 9px;
  color: var(--muted); font-size: 10px; font-weight: 400;
}
.auth-divider {
  display: flex; align-items: center; gap: 10px;
  color: #9aa1aa; font-size: 11px;
}
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-method-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px; background: var(--panel2); border-radius: 10px;
}
.auth-method-tabs button { position: relative; border: 0; background: transparent; padding: 7px 10px; }
.auth-method-tabs button.is-active { background: #fff; color: var(--accent-dark); box-shadow: var(--shadow); }
.auth-method-tabs button.is-unavailable::after {
  content: "準備中";
  margin-left: 5px; color: var(--muted); font-size: 9px; font-weight: 400;
}
.auth-field { margin: 0; font-size: 12px; color: var(--text); }
.auth-field > span { display: block; margin-bottom: 3px; color: var(--muted); }
.auth-field input { min-height: 41px; }
.auth-otp {
  padding: 10px; border: 1px solid #d6e8df; border-radius: 10px; background: #f4fbf7;
}
.auth-otp.is-hidden { display: none; }
.auth-verify { width: 100%; margin-top: 8px; border-color: var(--ok); color: var(--ok); font-weight: 600; }
.auth-submit { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; padding: 9px; }
.auth-switch { border: none; background: none; color: var(--accent2); font-size: 12.5px; }
.auth-hint { font-size: 12px; color: var(--muted); }
.auth-method-hint { min-height: 19px; font-size: 11.5px; color: var(--muted); }
.auth-error { font-size: 12.5px; color: var(--err); }
.auth-error.is-ok { color: var(--ok); }
.auth-error.is-hidden { display: none; }
.auth-close {
  position: absolute; top: 8px; right: 10px;
  border: none; background: none; font-size: 20px; color: var(--muted); padding: 4px;
}

/* ===== 主页 ===== */
.home-page {
  --bg: #f5f4ef;
  --panel: #fbfaf7;
  --panel2: #f0efe9;
  --line: #d8d7cf;
  --text: #20241f;
  --muted: #737870;
  --accent: #526357;
  --accent-dark: #34463a;
  --accent2: #526357;
  --shadow: 0 18px 55px rgba(38, 43, 36, 0.06);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - .5px), rgba(77, 87, 76, .045) 50%, transparent calc(50% + .5px)),
    var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Microsoft YaHei", sans-serif;
}
.home-page .home-topbar {
  min-height: 76px;
  padding: 0 clamp(24px, 5vw, 72px);
  background: rgba(245, 244, 239, .88);
  border-bottom: 0;
  position: relative;
  z-index: 10;
}
.home-page .home-brand {
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .22em;
  text-decoration: none;
}
.home-page .home-brand small {
  margin-left: 18px;
  color: var(--muted);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .09em;
}
.home-page .auth-button {
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  padding: 5px 1px;
  background: transparent;
  font-size: 11px;
  letter-spacing: .08em;
}
.home-wrap { max-width: 940px; margin: 0 auto; padding: 0 24px 110px; }
.hero {
  min-height: min(760px, calc(100vh - 76px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px clamp(12px, 7vw, 74px) 120px;
  text-align: left;
}
.hero-kicker {
  margin-bottom: 38px;
  color: var(--muted);
  font: 500 10px/1 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .34em;
}
.hero h1 { margin: 0; font-weight: 400; line-height: 1; }
.hero-name {
  display: block;
  margin-bottom: 28px;
  font: 300 clamp(48px, 9vw, 100px)/.88 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .13em;
}
.hero-message {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "YuMincho", serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: .08em;
}
.hero-copy {
  margin-top: 34px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2.15;
  letter-spacing: .08em;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 52px;
  padding-bottom: 8px;
  border-bottom: 1px solid #969b94;
  color: var(--text);
  font-size: 11px;
  letter-spacing: .12em;
}
.hero-link:hover { color: var(--accent-dark); text-decoration: none; border-color: var(--accent); }
.hero-link span { font-size: 14px; }

.upload-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: clamp(24px, 6vw, 58px);
  margin: 0 auto;
  max-width: 760px;
  scroll-margin-top: 34px;
}
.upload-login-gate {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0 0 28px;
  margin-bottom: 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.upload-login-gate[hidden] { display: none; }
.upload-login-gate strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.upload-login-gate p { margin-top: 4px; color: var(--muted); font-size: 10.5px; letter-spacing: .05em; }
.upload-login-gate button { white-space: nowrap; }
.upload-lock {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%; background: transparent;
  color: var(--muted); font: 500 8px/1 "Helvetica Neue", Arial, sans-serif; letter-spacing: .08em;
}
.upload-card.is-auth-locked > :not(.upload-login-gate) {
  opacity: 0.26;
  pointer-events: none;
  user-select: none;
}
.simple-label { margin: 2px 0 14px; color: var(--text); font-size: 12px; letter-spacing: .08em; }
.simple-label b { color: var(--muted); margin-right: 12px; font: 400 10px/1 "Helvetica Neue", Arial, sans-serif; }
.generate-label { margin-top: 30px; }
.upload-drop {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 48px 16px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--panel2);
}
.upload-drop #udText > b { display: block; font-size: 14px; font-weight: 500; color: var(--text); letter-spacing: .08em; }
.upload-drop #udText > small { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; letter-spacing: .16em; }
.upload-drop:hover, .upload-drop.is-drag { border-color: var(--accent); color: var(--accent-dark); }
.upload-drop img { max-width: 100%; max-height: 260px; border-radius: 8px; display: block; margin: 0 auto; }
.upload-drop .ud-note { margin-top: 8px; font-size: 12.5px; }
.upload-fields { display: flex; gap: 22px; margin-top: 20px; }
.upload-fields > div { flex: 1; }
.upload-actions { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.upload-actions .is-primary { padding: 10px 26px; font-size: 15px; }
.generate-button { width: 100%; min-height: 54px; border-radius: 0 !important; font-size: 13px !important; font-weight: 500; letter-spacing: .12em; }
.generate-button.is-ready { box-shadow: 0 8px 22px rgba(22, 138, 120, .22); }
.optional-settings {
  margin-top: 13px; padding: 10px 12px; border-radius: 8px; background: #f7f9fa;
  color: var(--muted); font-size: 12px;
}
.optional-settings summary { cursor: pointer; user-select: none; }
.optional-settings[open] summary { color: var(--text); }
.optional-settings .upload-fields { margin-top: 12px; text-align: left; }
.up-status { font-size: 13px; color: var(--muted); }
.up-status.is-error { color: var(--err); }
.up-status.is-ok { color: var(--ok); }
.recognition-note { margin-top: 12px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.required-settings { margin-top: 14px; }
.required-settings label strong { color: var(--err); font-size: 11px; }
.recognition-help {
  margin-top: 12px; padding: 10px 12px; border-radius: 9px;
  background: #fff7e8; border: 1px solid #e8c078; color: #7a5a10; font-size: 12px;
}
.recognition-help button { margin-left: 8px; padding: 4px 9px; }

.section-title {
  margin: 80px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font: 400 12px/1.4 "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: .14em;
}
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.property-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.pc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pc-head strong { font-size: 14.5px; }
.pc-layout { color: var(--accent-dark); font-size: 12.5px; }
.pc-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.pc-actions { display: flex; gap: 8px; margin-top: 6px; }
.pc-actions .btn, .pc-actions button { padding: 5px 12px; font-size: 12px; }
.empty-note { color: var(--muted); padding: 14px 0; font-size: 13px; }

/* ===== 编辑器（修正识别）===== */
.editor-layout { display: flex; height: calc(100vh - 49px); }
.editor-canvas-wrap { flex: 1; position: relative; overflow: hidden; background: #e9ebee; }
#editorCanvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.editor-side {
  width: 340px; flex-shrink: 0;
  background: var(--panel);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  padding: 14px;
  display: flex; flex-direction: column; gap: 14px;
}
.toolbar {
  position: absolute; top: 12px; left: 12px; z-index: 5;
  display: flex; gap: 6px; flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
}
.toolbar button { padding: 6px 11px; font-size: 12.5px; }
.canvas-hint {
  position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 5;
  color: var(--muted); font-size: 12.5px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 12px;
  pointer-events: none;
  width: fit-content;
}
.drop-cover {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 15px;
  border: 2px dashed #c6ccd4; border-radius: 12px; margin: 16px;
  cursor: pointer;
}
.drop-cover.is-drag { border-color: var(--accent); color: var(--accent-dark); }
.drop-cover.is-hidden { display: none; }

.side-block { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--panel); }
.side-block h3 { font-size: 13px; margin-bottom: 10px; color: var(--accent-dark); }
.fixture-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.fixture-item { border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; background: #fafbfc; font-size: 12px; }
.fixture-item strong { display: block; color: var(--text); }
.fixture-item small { color: var(--muted); }
.fixture-item.is-detected { border-color: #9ac7aa; background: #f3faf5; }
.fixture-note { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.fixture-empty { grid-column: 1 / -1; color: var(--muted); font-size: 12px; padding: 5px 0; }
.fixture-redetect { width: 100%; margin-top: 8px; font-size: 12px; }
.structure-note { margin-top: 7px; padding: 7px 8px; border-radius: 8px; background: #f2f8f4; color: #2f7047; font-size: 11.5px; }
.field-row { display: flex; gap: 8px; margin-bottom: 8px; }
.field-row > div { flex: 1; }
.scale-readout { font-size: 13px; line-height: 1.8; }
.scale-readout strong { color: var(--accent-dark); }
.calibration-form { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.calibration-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.calibration-row button { white-space: nowrap; padding-inline: 10px; }
.calibration-form .is-subtle { width: 100%; margin-top: 6px; color: var(--muted); font-size: 11.5px; }

.room-list { display: flex; flex-direction: column; gap: 4px; }
.room-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 12.5px;
}
.room-item:hover { background: var(--panel2); }
.room-item.is-selected { border-color: var(--accent); background: #fdf3ea; }
.room-swatch { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.room-item .rm-dims { margin-left: auto; color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.sel-detail { display: flex; flex-direction: column; gap: 8px; }
.sel-detail .row2 { display: flex; gap: 8px; }
.sel-detail .row2 > * { flex: 1; }
.status-note { font-size: 12.5px; min-height: 18px; }
.status-note.is-ok { color: var(--ok); }
.status-note.is-error { color: var(--err); }

/* ===== 3D 查看器 ===== */
.viewer-layout { display: flex; height: calc(100vh - 49px); }
.viewer-canvas-wrap { flex: 1; position: relative; overflow: hidden; }
#viewerCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.viewer-side {
  width: 330px; flex-shrink: 0;
  background: var(--panel);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  padding: 14px;
  display: flex; flex-direction: column; gap: 14px;
}
.dims-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dims-table td { padding: 4px 6px; border-bottom: 1px solid var(--line); }
.dims-table td:last-child { text-align: right; color: var(--muted); white-space: nowrap; }
.cat-block summary { cursor: pointer; font-size: 13px; padding: 6px 0; }
.cat-items { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 8px; }
.cat-items button { text-align: left; font-size: 12px; padding: 6px 10px; }
.cat-items button small { color: var(--muted); display: block; }
.cat-item-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; align-items: stretch; }
.cat-item-row .cat-add { min-width: 0; }
.product-link {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 7px;
  padding: 3px 8px; font-size: 11px; white-space: nowrap;
  background: var(--panel); color: var(--accent2);
}
.product-link:hover { border-color: var(--accent2); text-decoration: none; }
.custom-form { display: flex; flex-direction: column; gap: 8px; }
.custom-form .row3 { display: flex; gap: 6px; }
.custom-form .row3 > div { flex: 1; }
.placed-list { display: flex; flex-direction: column; gap: 4px; }
.placed-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; padding: 5px 8px;
  border: 1px solid transparent; border-radius: 7px; cursor: pointer;
}
.placed-item:hover { background: var(--panel2); }
.placed-item.is-selected { border-color: var(--accent); background: #fdf3ea; }
.placed-item .pi-actions { margin-left: auto; display: flex; gap: 4px; }
.placed-item .pi-actions button { padding: 2px 7px; font-size: 11px; }
.price-total { font-size: 13px; text-align: right; color: var(--accent-dark); font-weight: 600; }
.viewer-hint {
  position: absolute; bottom: 12px; left: 12px; z-index: 5;
  color: var(--muted); font-size: 12.5px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 12px;
  pointer-events: none;
}
.save-badge { font-size: 12px; color: var(--muted); }
.save-badge.is-ok { color: var(--ok); }

/* ===== 手机 / 窄屏 ===== */
@media (max-width: 760px) {
  html, body { height: auto; min-height: 100%; }
  .topbar { min-height: 49px; padding: 8px 10px; gap: 7px; flex-wrap: wrap; }
  .topbar .brand { font-size: 14px; max-width: 100%; }
  .topbar .brand small { display: block; margin: 0; font-size: 10.5px; line-height: 1.25; }
  .topbar button, .topbar .btn { padding: 5px 8px; font-size: 11.5px; }
  .hero { padding-top: 22px; }
  .hero h1 { font-size: 23px; }
  .upload-card { padding: 16px; }
  .upload-login-gate { grid-template-columns: auto 1fr; }
  .upload-login-gate button { grid-column: 1 / -1; width: 100%; }
  .auth-card { padding: 24px 18px 18px; }
  .upload-fields, .field-row { flex-direction: column; }
  .upload-actions { align-items: stretch; flex-direction: column; }
  .upload-actions .is-primary { width: 100%; }

  .editor-layout, .viewer-layout { flex-direction: column; height: auto; min-height: calc(100vh - 49px); }
  .editor-canvas-wrap, .viewer-canvas-wrap { flex: none; width: 100%; height: 55vh; min-height: 360px; }
  .editor-side, .viewer-side {
    width: 100%; max-height: none; overflow: visible;
    border-left: 0; border-top: 1px solid var(--line); padding: 10px;
  }
  .toolbar { top: 7px; left: 7px; right: 7px; gap: 4px; padding: 6px; }
  .toolbar button { padding: 5px 8px; font-size: 11.5px; }
  .canvas-hint, .viewer-hint { left: 7px; right: 7px; bottom: 7px; width: auto; font-size: 11px; }
  .custom-form .row3 { flex-wrap: wrap; }
  .custom-form .row3 > div { flex: 1 1 30%; }

  .home-page .home-topbar {
    min-height: 64px;
    padding: 0 18px;
    flex-wrap: nowrap;
  }
  .home-page .home-brand { font-size: 12px; }
  .home-page .home-brand small { display: none; }
  .home-page .topbar button { padding: 4px 0; font-size: 10px; }
  .home-page .home-wrap { padding: 0 18px 80px; }
  .home-page .hero {
    min-height: calc(100svh - 64px);
    padding: 72px 6px 96px;
    align-items: flex-start;
  }
  .home-page .hero-kicker { margin-bottom: 30px; }
  .home-page .hero h1 { line-height: 1; }
  .home-page .hero-name { margin-bottom: 24px; font-size: clamp(42px, 16vw, 64px); }
  .home-page .hero-message { font-size: clamp(29px, 9vw, 40px); line-height: 1.55; }
  .home-page .hero-copy { margin-top: 28px; font-size: 10.5px; }
  .home-page .hero-link { margin-top: 40px; }
  .home-page .upload-card { padding: 24px 18px 30px; }
  .home-page .upload-login-gate { grid-template-columns: 46px 1fr; gap: 14px; }
  .home-page .upload-login-gate button { grid-column: 1 / -1; width: 100%; border-radius: 0; }
  .home-page .upload-drop { padding: 38px 12px; }
  .home-page .section-title { margin-top: 60px; }
}

/* 简易识别警示条（AI 未生效时） */
.recog-warn {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  z-index: 6; max-width: 90%;
  background: #fff7e8; border: 1px solid #e8c078; color: #7a5a10;
  border-radius: 10px; padding: 8px 16px; font-size: 13px;
  box-shadow: var(--shadow);
}
