/* ZARIX by AXIOM — panel additions on top of the app's design system */

.small { font-size: 13px; }
.muted.small { display: block; margin-top: 2px; }
.section-gap { margin-top: 24px; }

/* ---------- sidebar ---------- */
.sidebar .brand { text-decoration: none; }
.side-cta { margin: 0 0 18px; }
.nav .count.warn {
  min-width: 26px; height: 24px; line-height: 24px;
  border-radius: 999px;
  background: #FFF1D6; color: #8A5A00; font-weight: 700;
}
.logout-form { margin-inline-start: auto; }
.logout-form .icon-btn { width: 36px; height: 36px; }
.today span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- flash & banners ---------- */
.flash {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; margin-bottom: 20px;
  border-radius: var(--radius-l);
  border: 1px solid #CDE6D3; background: #F0FAF3; color: #1E5B32;
  font-size: 15px;
}
.flash .ico { width: 20px; height: 20px; flex: none; }
.flash-error { border-color: var(--red-line); background: var(--red-50); color: var(--red-700); }
.banner-red { background: var(--red-50); border-color: var(--red-line); color: var(--red-700); }
.banner-red > .ico { color: var(--red); }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 2px 10px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.badge .ico { width: 15px; height: 15px; }
.badge-green { background: #EEF8F1; border-color: #CDE6D3; color: #1E6B3A; }
.badge-amber { background: #FFF6E5; border-color: #F3D9A4; color: #8A5A00; }
.badge-red { background: var(--red-50); border-color: var(--red-line); color: var(--red-700); }
.badge-gold { background: var(--gold-100); border-color: var(--gold-300); color: var(--gold-900); }
.badge-blue { background: #EEF4FF; border-color: #CCDAF5; color: #234A8F; }
.badge-gray { background: var(--surface-3); border-color: var(--line-2); color: var(--text-2); }
.sub-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.stat-badge { margin-top: 12px; }
.stat-value > span:not(.num) { font-size: 20px; font-weight: 700; line-height: 1.3; }

/* ---------- grids & cards ---------- */
.stats-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .stats-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
a.stat { text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
a.stat:hover { border-color: var(--gold-300); box-shadow: var(--shadow-2); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.acc-grid > #renew, .acc-grid > #devices { min-height: 100%; }
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 8px 20px;
  border-bottom: 1px solid var(--line);
}
.card-head h2, .card-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.card-head h2 .ico, .card-title .ico { width: 20px; height: 20px; color: var(--gold-700); }
.card-head h2 .muted { font-weight: 400; font-size: 15px; }
.form-card { padding: 20px 22px 22px; }
.form-card .card-title { margin-bottom: 16px; }
.card-sub { margin: -8px 0 16px; font-size: 14px; }
.acc-form .form-card + .form-card { margin-top: 16px; }
.acc-form { max-width: 920px; }

.mini-list { list-style: none; margin: 0; padding: 6px 0; }
.mini-list li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 20px; text-decoration: none; color: inherit;
}
.mini-list li a:hover { background: var(--gold-50); }
.mini-list li + li a { border-top: 1px solid var(--row-line); }
.ml-main { display: flex; flex-direction: column; min-width: 0; }
.ml-main b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-main .muted { font-size: 13px; }
.amount { font-weight: 600; color: var(--gold-800); }

.table tr[data-href] { cursor: pointer; }
.table .c-name a { color: var(--text); font-weight: 700; text-decoration: none; }
.table .c-name a:hover { color: var(--gold-800); }
.table td.c-act, .table th.c-act { width: 1%; white-space: nowrap; }

/* ---------- form controls ---------- */
.control select, .control textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #FFFEFB;
  font-size: 16px;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.control select { height: 48px; padding: 0 14px; cursor: pointer; }
.control textarea { padding: 12px 14px; resize: vertical; min-height: 84px; line-height: 1.7; }
.control select:focus, .control textarea:focus { border-color: var(--gold-500); box-shadow: var(--ring); background: #fff; }
.field-hint { padding-top: 4px; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.field-hint + .field-msg:empty { min-height: 8px; }
.form-note { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 16px; font-size: 14px; color: var(--text-2); }
.form-note .ico { width: 18px; height: 18px; color: var(--gold-700); margin-top: 2px; }
.form-error {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 0 0; padding: 10px 14px;
  border-radius: var(--radius); background: var(--red-50); color: var(--red-700); font-size: 14px;
}
.form-error .ico { width: 18px; height: 18px; }
.form-actions {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; justify-content: flex-end; gap: 12px;
  margin-top: 20px; padding: 14px 0;
  background: linear-gradient(180deg, rgba(248, 245, 238, 0), var(--bg) 35%);
}
.form-actions.in-card { position: static; margin-top: 8px; padding: 0; background: none; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn-sm .ico { width: 16px; height: 16px; }
.btn-danger-outline { color: var(--red); }
.btn-danger-outline:hover { background: var(--red-50); border-color: var(--red-line); }
.check { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 18px; cursor: pointer; font-size: 15px; color: var(--text-2); }
.check input { width: 18px; height: 18px; accent-color: var(--gold-700); }
.sel-month { width: auto; min-width: 170px; }
.sel-month select { height: 44px; }

/* ---------- switches ---------- */
.feat-groups { display: grid; gap: 14px; }
.feat-group { margin: 0; padding: 14px 16px 6px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface-2); }
.feat-group legend { padding: 0 6px; font-size: 14px; font-weight: 700; color: var(--gold-800); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 16px; }
.switch { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui {
  position: relative; flex: none;
  width: 42px; height: 24px; border-radius: 999px;
  background: #E6DCC6; transition: background .15s ease;
}
.switch-ui::after {
  content: ""; position: absolute; top: 3px; right: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(60, 45, 10, .3);
  transition: transform .15s ease;
}
.switch input:checked + .switch-ui { background: linear-gradient(180deg, #A07A27, #7C5D13); }
.switch input:checked + .switch-ui::after { transform: translateX(-18px); }
.switch input:focus-visible + .switch-ui { box-shadow: var(--ring); }
.switch-label { font-size: 15px; color: var(--text); }

/* ---------- segmented choice ---------- */
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-opt span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border-radius: var(--radius); border: 1px solid var(--line-2); background: #fff;
  font-size: 15px; color: var(--text-2); cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.seg-opt input:checked + span { background: var(--gold-100); border-color: var(--gold-400); color: var(--gold-900); font-weight: 700; }
.seg-opt input:focus-visible + span { box-shadow: var(--ring); }
.sub-pane { display: none; padding: 14px 16px; margin-bottom: 14px; border-radius: var(--radius-l); background: var(--surface-2); border: 1px solid var(--line); }
.sub-pane.on { display: block; }
.dur-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dur-n { width: 110px; }
.dur-unit { width: 120px; }
.dur-date { width: 170px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick .chip { min-height: 38px; padding: 0 12px; font-size: 14px; }
.pane-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--text-2); }
.pane-note:first-child { margin-top: 0; }
.pane-note .ico { width: 18px; height: 18px; color: var(--gold-700); }

/* ---------- credentials ---------- */
.cred-card {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; margin-bottom: 20px;
  border-color: var(--gold-300);
  background: linear-gradient(135deg, #FFFDF7, #FBF3DD);
}
.cred-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--gold-300); color: var(--gold-700); }
.cred-ic .ico { width: 24px; height: 24px; }
.cred-body { flex: 1; min-width: 0; }
.cred-body h2 { font-size: 18px; }
.cred-body p { font-size: 14px; margin-top: 2px; }
.cred-grid { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 10px; }
.cred-grid div { display: flex; flex-direction: column; }
.cred-grid .muted { font-size: 13px; }
.cred-grid b { font-size: 20px; font-weight: 600; letter-spacing: .02em; }

/* ---------- devices, features, log ---------- */
.dev-list { list-style: none; margin: 0; padding: 4px 0; }
.dev { display: flex; align-items: center; gap: 14px; padding: 12px 20px; }
.dev + .dev { border-top: 1px solid var(--row-line); }
.dev-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: var(--radius); background: var(--surface-3); color: var(--text-3); }
.dev-ic.on { background: #EEF8F1; color: #1E6B3A; }
.dev-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dev-main b { font-weight: 700; }
.feat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px 20px; }
.fchip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px dashed var(--line-2); color: var(--text-3); font-size: 14px;
}
.fchip .ico { width: 14px; height: 14px; }
.fchip.on { border-style: solid; border-color: var(--gold-300); background: var(--gold-50); color: var(--gold-900); }
.log-list { list-style: none; margin: 0; padding: 8px 20px 16px; max-height: 420px; overflow: auto; }
.log-list li { display: flex; gap: 12px; padding: 8px 0; }
.log-list li + li { border-top: 1px solid var(--row-line); }
.log-list li > div { display: flex; flex-direction: column; min-width: 0; }
.log-dot { width: 9px; height: 9px; margin-top: 9px; flex: none; border-radius: 50%; background: var(--gold-500); }
.log-dot.log-app { background: #4A7BD0; }
.log-dot.log-system { background: var(--text-3); }
.danger-zone { border-color: var(--red-line); }
.danger-zone .card-title .ico { color: var(--red); }
.sep { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ---------- packages ---------- */
.pkg-form { margin-bottom: 20px; }
.pkg-form .feat-groups { margin: 4px 0 18px; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.pkg-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px 0; }
.pkg-head h2 { font-size: 20px; }
.pkg-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: var(--radius-l); background: var(--gold-100); color: var(--gold-800); }
.pkg-actions { display: flex; gap: 8px; padding: 0 20px 18px; }

/* ---------- key/value ---------- */
.kv { margin: 0; display: grid; gap: 2px; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--row-line); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; font-weight: 600; text-align: left; word-break: break-all; }

/* ---------- auth / install ---------- */
.auth-page .auth {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 16px;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(243, 231, 196, .65), rgba(243, 231, 196, 0) 70%),
    radial-gradient(700px 380px at 0% 100%, rgba(243, 231, 196, .5), rgba(243, 231, 196, 0) 70%),
    var(--bg);
}
.auth-card { width: 100%; max-width: 420px; padding: 32px 30px 30px; box-shadow: var(--shadow-2); text-align: right; }
.auth-card.wide { max-width: 640px; }
.auth-card h1 { font-size: 24px; font-weight: 900; margin: 18px 0 6px; }
.auth-card > .muted { margin-bottom: 18px; }
.auth-brand { display: flex; align-items: center; gap: 12px; }
.auth-logo { width: 52px; height: 52px; flex: none; filter: drop-shadow(0 4px 10px rgba(143, 107, 31, .25)); }
.auth-card > .auth-logo { margin: 0 auto 6px; }
.auth-form { margin-top: 18px; }
.auth-form .form-grid, .auth-card form .form-grid { grid-template-columns: 1fr; }
.install .auth-card form .form-grid { grid-template-columns: 1fr 1fr; }
.auth-foot { margin-top: 18px; font-size: 13px; color: var(--text-3); }
.form-sec { display: flex; align-items: center; gap: 8px; margin: 22px 0 12px; font-size: 17px; color: var(--gold-900); }
.form-sec .ico { width: 18px; height: 18px; color: var(--gold-700); }
.checks { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; gap: 6px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.checks li .ico { width: 18px; height: 18px; }
.checks .ok .ico { color: #1E6B3A; }
.checks .bad { color: var(--red-700); }
.checks .warn { color: #8A5A00; }
.done-ic { display: grid; place-items: center; margin: 18px 0 0; color: #1E6B3A; }
.done-ic .ico { width: 54px; height: 54px; }
.auth-card .done-ic + h1 { text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .side-cta { margin-bottom: 12px; }
}
@media (max-width: 640px) {
  .form-grid, .install .auth-card form .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 16px; }
  .cred-card { flex-direction: column; align-items: stretch; }
  .cred-ic { display: none; }
  .dev { flex-wrap: wrap; }
  .dev form { width: 100%; }
  .dev form .btn { width: 100%; }
  .pkg-grid { grid-template-columns: minmax(0, 1fr); }
  .toolbar .search { width: 100%; }
  .toolbar-meta { margin-inline-start: 0; }
  .auth-card { padding: 24px 18px; }
  .form-actions .btn { flex: 1; }
}

/* ---------- v1.1: messages, announcements, gold price ---------- */
.count.hot, .nav .count.hot {
  display: inline-block; min-width: 22px; height: 22px; line-height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; text-align: center;
}
.btn .count.hot { margin-inline-start: 2px; }

.ann-grid { align-items: start; }
.ann-list { list-style: none; margin: 0; padding: 4px 0 8px; }
.ann { padding: 14px 20px; border-top: 1px solid var(--row-line); }
.ann:first-child { border-top: 0; }
.ann-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ann-top b { font-size: 16px; }
.ann-body { margin: 6px 0 4px; color: var(--text-2); line-height: 1.9; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.ann-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ann-foot .muted.small { display: inline; margin: 0; }

.price-now {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius-l);
  background: var(--gold-50); border: 1px solid var(--gold-200);
}
.price-now b { font-size: 22px; color: var(--gold-900); }
.price-now .muted { font-size: 14px; }
.price-ch { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.price-ch.up { color: #1F7A4D; background: #E6F4EC; }
.price-ch.down { color: #B3261E; background: #FBEAEA; }
.price-card .form-error { margin: 0 0 14px; }
.price-card .check { margin: 0 0 6px; }
.price-card .form-actions { flex-wrap: wrap; }

.chat-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
.chat-side { position: sticky; top: 20px; max-height: calc(100vh - 140px); display: flex; flex-direction: column; overflow: hidden; }
.chat-new { padding: 0 16px 12px; }
.chat-new select { height: 44px; font-size: 15px; }
.conv-list { list-style: none; margin: 0; padding: 0 8px 10px; overflow-y: auto; }
.conv {
  display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: var(--radius);
  color: var(--text); text-decoration: none;
}
.conv:hover { background: var(--gold-50); }
.conv.active { background: linear-gradient(270deg, #F6EBCD 0%, #FCF7EA 100%); box-shadow: inset 0 0 0 1px rgba(217, 188, 110, .35); }
.conv-ic {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: #fff; border: 1px solid var(--gold-300); color: var(--gold-700);
}
.conv-ic .ico { width: 18px; height: 18px; }
.conv-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.5; }
.conv-main b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-snip { font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.conv-side .muted.small { margin: 0; }

.chat-thread { display: flex; flex-direction: column; height: calc(100vh - 140px); min-height: 460px; overflow: hidden; }
.chat-thread.chat-empty { justify-content: center; }
.thread-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.th-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.5; }
.th-main b { font-size: 17px; }
.th-main .muted.small { margin: 0; }
.chat-off { margin: 12px 16px 0; }
.chat-off a { color: inherit; font-weight: 700; }
.thread-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 12px; background: var(--surface-2); }
.thread-hint { margin: auto; display: flex; align-items: center; gap: 8px; color: var(--text-3); }
.thread-hint .ico { width: 18px; height: 18px; color: var(--gold-700); }
.msg-day { align-self: center; margin: 10px 0 4px; }
.msg-day span { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.msg { max-width: min(560px, 78%); padding: 9px 13px 6px; border-radius: 14px; line-height: 1.85; font-size: 15px; box-shadow: var(--shadow-1); }
.msg-shop { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-start-start-radius: 4px; }
.msg-admin { align-self: flex-end; background: linear-gradient(180deg, #FBF3DD, #F6EACB); border: 1px solid var(--gold-300); border-start-end-radius: 4px; }
.msg-body { white-space: normal; overflow-wrap: anywhere; }
.msg-meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 12px; color: var(--text-3); }
.msg-tick .ico { width: 15px; height: 15px; color: #B4A991; }
.msg.is-read .msg-tick .ico { color: #2E7DD1; }
.composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 12px 16px 10px; border-top: 1px solid var(--line); background: #fff; }
.composer textarea { min-height: 52px; max-height: 180px; }
.composer .btn { height: 52px; }
.composer-hint { grid-column: 1 / -1; margin: 0; }
@media (max-width: 960px) {
  .chat-layout { grid-template-columns: minmax(0, 1fr); }
  .chat-side { position: static; max-height: none; }
  .chat-layout.has-thread .chat-side { display: none; }
  .chat-thread { height: calc(100vh - 120px); }
}

/* ---------- sync (account page) ---------- */
.sync-body { padding: 12px 20px 18px; }
.sync-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 14px; }
.sync-counts { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.sync-counts div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.sync-counts span { font-size: 13px; color: var(--text-3); }
.sync-counts b { font-size: 18px; font-weight: 700; }
.sync-sub { margin: 18px 0 8px; font-size: 15px; font-weight: 700; color: var(--text-2); }
.sync-devs, .sync-bks { list-style: none; margin: 0; padding: 0; }
.sync-devs li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.sync-devs li + li, .sync-bks li + li { border-top: 1px solid var(--row-line); }
.sync-bks { max-height: 360px; overflow: auto; }
.sync-bks li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.sync-bks li > div { display: flex; flex-direction: column; }
.sync-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; }
.sync-note .ico { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--gold-700); }
/* 1.7.0: «زریکس همراه» card — several small forms in one row of buttons */
.form-actions .inline-form { display: contents; }
#mobile .form-actions.in-card { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- updates page ---------- */
.upd-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 20px; }
.upd-card .card-body, .upd-card .upd-body { padding: 14px 20px 20px; }
.upd-body > p:last-child { margin-bottom: 0; }
.upd-ver { display: flex; align-items: center; gap: 14px; margin: 6px 0 14px; }
.upd-ver b { font-size: 30px; font-weight: 800; letter-spacing: .02em; }
.upd-notes { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); white-space: pre-line; line-height: 1.9; color: var(--text-2); }
.upd-steps { margin: 6px 0 0; padding: 0 20px 0 0; line-height: 2; color: var(--text-2); }
.upd-steps code { direction: ltr; unicode-bidi: embed; padding: 1px 6px; border-radius: 6px; background: var(--surface-3); font-size: 13.5px; }
.ver-list { list-style: none; margin: 0; padding: 4px 20px 16px; }
.ver-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.ver-list li + li { border-top: 1px solid var(--row-line); }
.ver-list .ver-name { min-width: 64px; font-weight: 700; }
.ver-list .ver-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.ver-list .ver-bar span { display: block; height: 100%; background: linear-gradient(90deg, #C4A04A, #8F6B1F); border-radius: inherit; }
.ver-list .ver-n { min-width: 70px; text-align: left; color: var(--text-2); }
.pause-form { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 20px; }
@media (max-width: 1000px) { .upd-grid { grid-template-columns: minmax(0, 1fr); } }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* ---------- 1.3.0: prices, website page, price calculator ---------- */
.sub-title { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 16px; font-weight: 700; color: var(--text); }
.sub-title .ico { width: 18px; height: 18px; color: var(--gold-700); }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pkg-flags { margin: 8px 0 4px; }
.pkg-head .badge { margin-inline-start: 6px; vertical-align: middle; }
.pkg-prices { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.pchip { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--gold-50); border: 1px solid var(--gold-200); font-size: 13px; color: var(--text-2); }
.pchip b { font-size: 15px; color: var(--gold-900); }
.pchip s { color: var(--text-3); font-size: 12px; }
.pchip.off { opacity: .55; }
.input-sm { width: 100%; min-width: 110px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface-2); font: inherit; font-size: 14px; color: var(--text); transition: border-color .15s ease, box-shadow .15s ease; }
.input-sm:focus { outline: none; background: #fff; border-color: var(--gold-500); box-shadow: var(--ring); }
textarea.input-sm { resize: vertical; line-height: 1.8; }
.price-table td { vertical-align: middle; padding-top: 8px; padding-bottom: 8px; }
.price-table td.c { text-align: center; }
.price-table input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--gold-600); }
.price-table td:nth-child(2) .input-sm { min-width: 220px; }
.price-table .row-dev td { background: var(--gold-50); }
.faq-rows { display: grid; gap: 12px; }
.faq-row { display: flex; gap: 12px; align-items: flex-start; }
.faq-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-800); font-size: 13px; font-weight: 700; margin-top: 6px; }
.faq-fields { flex: 1; display: grid; gap: 6px; }
.faq-fields input { font-weight: 700; }
.quote { margin-top: 16px; padding: 14px 16px; border: 1px dashed var(--gold-400); border-radius: var(--radius); background: var(--gold-50); }
.quote-lines { display: grid; gap: 4px; margin-bottom: 10px; }
.quote .ql { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); }
.quote .ql b { color: var(--text); font-weight: 700; }
.quote .ql.warn { color: var(--red-700); }
.quote-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 10px; border-top: 1px solid var(--gold-200); }
.quote-foot b { font-size: 20px; font-weight: 800; color: var(--gold-900); }
.quote-foot .btn { margin-inline-start: auto; }
.quote p { margin: 8px 0 0; }
@media (max-width: 760px) {
  .form-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
}
