body.zmt-unified-workbench-page main.container,
body.zmt-unified-workbench-page .content-wrap,
body.zmt-unified-workbench-page .content-layout,
body.zmt-unified-workbench-page article.page-article,
body.zmt-unified-workbench-page article.page-article > .wp-posts-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Account benchmark comparison: third tool in the account-growth report series. */
.zmtw-benchmark-view { max-width: 1480px; }
.zmtw-benchmark-page-head { margin-bottom: 20px; }
.zmtw-benchmark-page-head p { max-width: 880px; }
.zmtw-benchmark-intro { padding: 24px; background: #fff; border: 1px solid var(--zmtw-line); border-top: 4px solid var(--zmtw-accent); border-radius: 8px; }
.zmtw-benchmark-intro strong { color: var(--zmtw-ink); font-size: 18px; }
.zmtw-benchmark-intro p { margin: 8px 0 0; color: var(--zmtw-muted); line-height: 1.7; }
.zmtw-benchmark-setup { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 18px; }
.zmtw-benchmark-setup-main { display: grid; gap: 16px; min-width: 0; }
.zmtw-benchmark-rule { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 102px; padding: 20px 22px; color: #fff; background: #1d1b17; border-top: 4px solid #d4af37; border-radius: 8px; box-shadow: 0 10px 24px rgba(29, 27, 23, .12); }
.zmtw-benchmark-rule > span { display: grid; width: 42px; height: 42px; place-items: center; color: #1d1b17; background: #f1c94c; border-radius: 6px; }
.zmtw-benchmark-rule .dashicons { width: 19px; height: 19px; font-size: 19px; }
.zmtw-benchmark-rule strong { display: block; color: #fff; font-size: 15px; }
.zmtw-benchmark-rule p { max-width: 760px; margin: 6px 0 0; color: #cfc5af; font-size: 12px; line-height: 1.65; }
.zmtw-benchmark-rule > b { min-width: 68px; color: #f1c94c; font-size: 25px; font-variant-numeric: tabular-nums; text-align: right; }
.zmtw-benchmark-block { min-width: 0; padding: 22px; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: 0 7px 18px rgba(48, 40, 24, .045); }
.zmtw-benchmark-block > header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.zmtw-benchmark-block > header > span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; color: #76590d; background: #fff4ca; border-radius: 5px; font-size: 11px; font-weight: 800; }
.zmtw-benchmark-block > header > div { min-width: 0; flex: 1; }
.zmtw-benchmark-block > header strong,
.zmtw-benchmark-block > header small { display: block; }
.zmtw-benchmark-block > header strong { color: var(--zmtw-ink); font-size: 15px; }
.zmtw-benchmark-block > header small { margin-top: 4px; color: var(--zmtw-muted); font-size: 11px; line-height: 1.5; }
.zmtw-benchmark-block > header .zmtw-button { flex: 0 0 auto; }
.zmtw-benchmark-accounts { display: grid; gap: 12px; }
.zmtw-benchmark-account-card { min-width: 0; overflow: hidden; background: #fcfaf5; border: 1px solid #e7dfd0; border-radius: 7px; transition: border-color 160ms ease-out, box-shadow 160ms ease-out; }
.zmtw-benchmark-account-card.is-ready { border-color: #cbb976; box-shadow: inset 3px 0 0 #d4af37; }
.zmtw-benchmark-account-card.is-mine { background: #fffdf8; }
.zmtw-benchmark-account-card > header { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 13px 15px; background: #fff; border-bottom: 1px solid #e9e2d3; }
.zmtw-benchmark-account-card > header > div:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.zmtw-benchmark-account-index { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; color: #fff; background: #252321; border-radius: 5px; font-size: 10px; font-weight: 800; }
.zmtw-benchmark-account-card.is-ready .zmtw-benchmark-account-index { color: #1d1b17; background: #f1c94c; }
.zmtw-benchmark-account-card > header strong,
.zmtw-benchmark-account-card > header small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-benchmark-account-card > header strong { color: #29251f; font-size: 13px; }
.zmtw-benchmark-account-card > header small { margin-top: 3px; color: #847c6d; font-size: 10px; }
.zmtw-benchmark-ready { display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 0 8px; color: #867f70; background: #f3efe7; border-radius: 4px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.zmtw-benchmark-account-card.is-ready .zmtw-benchmark-ready { color: #315e4f; background: #edf6f0; }
.zmtw-benchmark-ready .dashicons { width: 13px; height: 13px; font-size: 13px; }
.zmtw-benchmark-account-card > header .zmtw-icon-button { flex: 0 0 32px; width: 32px; height: 32px; min-height: 32px; color: #8f4e46; background: #fff7f5; border-color: #ead7d3; }
.zmtw-benchmark-account-controls { display: grid; grid-template-columns: 160px 235px minmax(280px, 1fr); align-items: end; gap: 14px; padding: 16px; }
.zmtw-benchmark-account-field,
.zmtw-benchmark-source,
.zmtw-benchmark-account-role { display: grid; min-width: 0; gap: 7px; }
.zmtw-benchmark-account-field > span,
.zmtw-benchmark-source > span,
.zmtw-benchmark-account-role > span { color: #6f685c; font-size: 10px; font-weight: 700; }
.zmtw-benchmark-account-field select,
.zmtw-benchmark-account-field input { width: 100%; min-width: 0; height: 42px; padding: 0 11px; color: #29251f; background: #fff; border: 1px solid #d9d0bf; border-radius: 5px; font-size: 12px; }
.zmtw-benchmark-account-field select:focus,
.zmtw-benchmark-account-field input:focus { border-color: #b99227; box-shadow: 0 0 0 3px rgba(212, 175, 55, .16); outline: 0; }
.zmtw-benchmark-account-field > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; min-width: 0; background: #fff; border: 1px solid #d9d0bf; border-radius: 5px; }
.zmtw-benchmark-account-field > div:focus-within { border-color: #b99227; box-shadow: 0 0 0 3px rgba(212, 175, 55, .16); }
.zmtw-benchmark-account-field > div > span { display: grid; place-items: center; color: #9b762f; }
.zmtw-benchmark-account-field > div input { height: 40px; padding-left: 0; border: 0; box-shadow: none; }
.zmtw-benchmark-account-field small { overflow: hidden; color: #938b7d; font-size: 9px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-benchmark-source > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: 42px; padding: 3px; background: #eee9df; border-radius: 5px; }
.zmtw-benchmark-source button { min-width: 0; padding: 0 8px; color: #6f685c; background: transparent; border: 0; border-radius: 4px; font-size: 10px; font-weight: 700; cursor: pointer; }
.zmtw-benchmark-source button.is-active { color: #1d1b17; background: #fff; box-shadow: 0 2px 7px rgba(48, 40, 24, .1); }
.zmtw-benchmark-account-role strong { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 11px; color: #594818; background: #fff4ca; border: 1px solid #e6ce7c; border-radius: 5px; font-size: 11px; }
.zmtw-benchmark-account-role .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-benchmark-depths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zmtw-benchmark-depth { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; align-items: center; gap: 11px; min-height: 88px; padding: 14px; color: #29251f; background: #fcfaf5; border: 1px solid #e5ddce; border-radius: 6px; text-align: left; cursor: pointer; }
.zmtw-benchmark-depth:hover { border-color: #c6b06c; background: #fffdf8; }
.zmtw-benchmark-depth.is-active { background: #fff8dc; border-color: #c8a636; box-shadow: inset 3px 0 0 #d4af37; }
.zmtw-benchmark-depth > span { display: grid; width: 44px; height: 44px; place-items: center; color: #785c13; background: #fff1b9; border-radius: 5px; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.zmtw-benchmark-depth strong,
.zmtw-benchmark-depth small { display: block; }
.zmtw-benchmark-depth strong { font-size: 12px; }
.zmtw-benchmark-depth small { margin-top: 4px; color: #81796c; font-size: 9px; line-height: 1.5; }
.zmtw-benchmark-depth > .dashicons { visibility: hidden; color: #8c690d; }
.zmtw-benchmark-depth.is-active > .dashicons { visibility: visible; }
.zmtw-benchmark-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zmtw-benchmark-packages > button { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 18px; align-items: center; gap: 9px; min-height: 78px; padding: 12px; color: #29251f; background: #fcfaf5; border: 1px solid #e5ddce; border-radius: 6px; text-align: left; cursor: pointer; }
.zmtw-benchmark-packages > button.is-selected { background: #fffdf5; border-color: #c8a636; }
.zmtw-benchmark-packages > button:disabled { cursor: default; }
.zmtw-benchmark-packages > button > span { display: grid; width: 34px; height: 34px; place-items: center; color: #80620f; background: #fff4ca; border-radius: 5px; }
.zmtw-benchmark-packages strong,
.zmtw-benchmark-packages small { display: block; }
.zmtw-benchmark-packages strong { font-size: 11px; }
.zmtw-benchmark-packages small { margin-top: 3px; color: #81796c; font-size: 9px; line-height: 1.4; }
.zmtw-benchmark-packages em { min-height: 21px; padding: 4px 6px; color: #80620f; background: #fff4ca; border-radius: 4px; font-size: 8px; font-style: normal; font-weight: 700; white-space: nowrap; }
.zmtw-benchmark-packages > button > .dashicons:last-child { width: 15px; height: 15px; color: #8c690d; font-size: 15px; }
.zmtw-benchmark-submit { position: sticky; top: 82px; display: grid; gap: 12px; min-width: 0; padding: 22px; color: #fff; background: #1d1b17; border-top: 4px solid #d4af37; border-radius: 8px; box-shadow: 0 12px 28px rgba(29, 27, 23, .16); }
.zmtw-benchmark-submit > span { color: #d7ba5a; font-size: 10px; font-weight: 800; }
.zmtw-benchmark-submit > strong { overflow: hidden; color: #fff; font-size: 19px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-benchmark-submit dl { display: grid; gap: 0; margin: 2px 0 4px; border-top: 1px solid rgba(255,255,255,.12); }
.zmtw-benchmark-submit dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.zmtw-benchmark-submit dt { color: #aaa18e; font-size: 10px; }
.zmtw-benchmark-submit dd { margin: 0; color: #fff; font-size: 10px; font-weight: 700; text-align: right; }
.zmtw-benchmark-submit .zmtw-button { width: 100%; min-height: 46px; color: #1d1b17; background: #f1c94c; }
.zmtw-benchmark-submit .zmtw-button:hover:not(:disabled) { background: #ddb735; }
.zmtw-benchmark-submit .zmtw-button:disabled { color: #777064; background: #d7d0c1; }
.zmtw-benchmark-submit > small { color: #aaa18e; font-size: 9px; line-height: 1.55; }
.zmtw-benchmark-blueprint,
.zmtw-benchmark-result,
.zmtw-benchmark-history { margin-top: 18px; overflow: hidden; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: 0 7px 18px rgba(48, 40, 24, .045); }
.zmtw-benchmark-blueprint > header,
.zmtw-benchmark-result > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px; border-bottom: 1px solid #e9e2d3; }
.zmtw-benchmark-blueprint > header span,
.zmtw-benchmark-result > header span { color: #8c690d; font-size: 9px; font-weight: 800; }
.zmtw-benchmark-blueprint h2,
.zmtw-benchmark-result h2 { margin: 5px 0 0; color: #29251f; font-size: 19px; }
.zmtw-benchmark-blueprint > header p,
.zmtw-benchmark-result > header p { margin: 6px 0 0; color: #766f62; font-size: 11px; }
.zmtw-benchmark-blueprint > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zmtw-benchmark-blueprint article { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; min-width: 0; padding: 15px; border-right: 1px solid #eee8dc; border-bottom: 1px solid #eee8dc; }
.zmtw-benchmark-blueprint article:nth-child(4n) { border-right: 0; }
.zmtw-benchmark-blueprint article > span { color: #a17d1c; font-size: 10px; font-weight: 800; }
.zmtw-benchmark-blueprint article strong,
.zmtw-benchmark-blueprint article small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-benchmark-blueprint article strong { color: #332f29; font-size: 11px; }
.zmtw-benchmark-blueprint article small { margin-top: 3px; color: #968e81; font-size: 8px; }
.zmtw-benchmark-headlines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zmtw-benchmark-headlines article { min-width: 0; padding: 18px 20px; border-right: 1px solid #e9e2d3; }
.zmtw-benchmark-headlines article:last-child { border-right: 0; }
.zmtw-benchmark-headlines span { color: #8c690d; font-size: 9px; font-weight: 800; }
.zmtw-benchmark-headlines p { margin: 7px 0 0; color: #4d473d; font-size: 11px; line-height: 1.65; }
.zmtw-benchmark-account-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #e9e2d3; }
.zmtw-benchmark-account-strip article { min-width: 0; padding: 15px 18px; border-right: 1px solid #e9e2d3; }
.zmtw-benchmark-account-strip article:last-child { border-right: 0; }
.zmtw-benchmark-account-strip span,
.zmtw-benchmark-account-strip strong,
.zmtw-benchmark-account-strip small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-benchmark-account-strip span { color: #8c690d; font-size: 8px; font-weight: 800; }
.zmtw-benchmark-account-strip strong { margin-top: 5px; color: #29251f; font-size: 11px; }
.zmtw-benchmark-account-strip small { margin-top: 3px; color: #8c8477; font-size: 8px; }
.zmtw-benchmark-history > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 12px 16px; border-bottom: 1px solid #e9e2d3; }
.zmtw-benchmark-history > header > div { display: flex; align-items: center; gap: 9px; }
.zmtw-benchmark-history > header > div > .dashicons { color: #8c690d; }
.zmtw-benchmark-history > header strong,
.zmtw-benchmark-history > header small { display: block; }
.zmtw-benchmark-history > header strong { font-size: 12px; }
.zmtw-benchmark-history > header small { margin-top: 2px; color: #8b8375; font-size: 9px; }
.zmtw-benchmark-history > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zmtw-benchmark-history-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; min-height: 88px; padding: 14px 16px; color: #29251f; background: #fff; border: 0; border-right: 1px solid #eee8dc; border-bottom: 1px solid #eee8dc; text-align: left; cursor: pointer; }
.zmtw-benchmark-history-item:nth-child(2n) { border-right: 0; }
.zmtw-benchmark-history-item:hover,
.zmtw-benchmark-history-item.is-active { background: #fffaf0; box-shadow: inset 3px 0 0 #d4af37; }
.zmtw-benchmark-history-icon { display: grid; width: 34px; height: 34px; place-items: center; color: #76590d; background: #fff4ca; border-radius: 5px; }
.zmtw-benchmark-history-item > span:nth-child(2) { min-width: 0; }
.zmtw-benchmark-history-item strong,
.zmtw-benchmark-history-item small,
.zmtw-benchmark-history-item em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-benchmark-history-item strong { font-size: 11px; }
.zmtw-benchmark-history-item small { margin-top: 3px; color: #8b8375; font-size: 8px; }
.zmtw-benchmark-history-item em { margin-top: 5px; color: #625b50; font-size: 9px; font-style: normal; }
.zmtw-benchmark-history-item > b { color: #8c690d; font-size: 9px; white-space: nowrap; }
.zmtw-benchmark-history > button { width: 100%; min-height: 42px; color: #76590d; background: #fffdf8; border: 0; border-top: 1px solid #e9e2d3; font-size: 10px; cursor: pointer; }
.zmtw-benchmark-history-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 5px; padding: 28px; color: #8b8375; text-align: center; }
.zmtw-benchmark-history-empty strong { color: #29251f; font-size: 12px; }
.zmtw-benchmark-history-empty p { margin: 0; font-size: 10px; }

.zmtw-benchmark-report-dialog .zmtw-report-body { grid-template-columns: 240px minmax(0, 1fr); background: #f4f1ea; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav { padding: 14px 10px 28px; background: #fffdf8; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav > strong { display: block; padding: 0 10px 12px; color: #8a8275; font-size: 10px; font-weight: 800; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav button { width: 100%; min-width: 0; color: #5d574e; background: transparent; border: 0; text-align: left; cursor: pointer; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav > button,
.zmtw-benchmark-nav-chapter { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 7px; min-height: 40px; padding: 7px 9px; border-radius: 5px !important; font-size: 11px; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav button span { color: #a17d1c; font-size: 9px; font-weight: 800; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav button:hover { color: #29251f; background: #f8f1df; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav button.is-active { color: #2d271a; background: #fff0b8; box-shadow: inset 3px 0 0 #d4af37; }
.zmtw-benchmark-nav-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid #eee7da; }
.zmtw-benchmark-nav-group.is-current > .zmtw-benchmark-nav-chapter { color: #795c10; }
.zmtw-benchmark-nav-group > div { display: grid; gap: 1px; margin: 2px 3px 8px 18px; padding-left: 8px; border-left: 1px solid #ded4c2; }
.zmtw-benchmark-nav-group > div button { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 5px; min-height: 31px; padding: 5px 7px; border-radius: 4px !important; color: #766f64; font-size: 10px; line-height: 1.4; }
.zmtw-benchmark-report-dialog .zmtw-report-body > article { min-width: 0; padding: 34px 42px 80px; font-size: 15px; }
.zmtw-benchmark-report-document { width: min(960px, 100%); margin: 0 auto; color: #29251f; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
.zmtw-benchmark-report-document h1,
.zmtw-benchmark-report-document h2,
.zmtw-benchmark-report-document h3,
.zmtw-benchmark-report-document h4,
.zmtw-benchmark-report-document p,
.zmtw-benchmark-report-document li { letter-spacing: 0; }
.zmtw-benchmark-report-cover { position: relative; display: grid; grid-template-rows: auto 1fr auto auto; min-height: 520px; padding: 42px 46px 30px; overflow: hidden; color: #fff; background: #181714; border-top: 5px solid #f1c94c; border-radius: 8px; box-shadow: 0 18px 42px rgba(23, 22, 20, .18); }
.zmtw-benchmark-report-cover::after { position: absolute; top: 0; right: 0; width: 270px; height: 100%; background: rgba(241, 201, 76, .055); clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); content: ""; }
.zmtw-benchmark-cover-mark,
.zmtw-benchmark-cover-copy,
.zmtw-benchmark-report-cover dl,
.zmtw-benchmark-report-cover footer { position: relative; z-index: 1; }
.zmtw-benchmark-cover-mark { display: flex; align-items: center; gap: 9px; }
.zmtw-benchmark-cover-mark > span { display: grid; width: 38px; height: 38px; place-items: center; color: #1d1b17; background: #f1c94c; border-radius: 4px; font-size: 11px; font-weight: 900; }
.zmtw-benchmark-cover-mark small { color: #cdbf9e; font-size: 9px; font-weight: 800; }
.zmtw-benchmark-cover-copy { align-self: center; padding: 44px 0; }
.zmtw-benchmark-cover-copy > span { color: #d7bd68; font-size: 11px; font-weight: 800; }
.zmtw-benchmark-cover-copy h1 { max-width: 760px; margin: 24px 0 0; color: #fff; font-size: 40px; line-height: 1.23; }
.zmtw-benchmark-cover-copy p { max-width: 700px; margin: 14px 0 0; color: #d4cbb7; font-size: 15px; line-height: 1.75; }
.zmtw-benchmark-report-cover dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; }
.zmtw-benchmark-report-cover dl div { min-width: 0; padding: 14px 16px; background: #22201c; }
.zmtw-benchmark-report-cover dt { color: #aaa18e; font-size: 9px; }
.zmtw-benchmark-report-cover dd { margin: 6px 0 0; overflow: hidden; color: #fff; font-size: 13px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-benchmark-report-cover footer { display: flex; gap: 24px; padding-top: 18px; color: #c4b173; font-size: 8px; font-weight: 800; }
.zmtw-benchmark-report-toc,
.zmtw-benchmark-report-headline,
.zmtw-benchmark-report-chapter { margin-top: 22px; padding: 30px 32px; background: #fff; border: 1px solid #e2dacb; border-top: 5px solid #d4af37; border-radius: 7px; box-shadow: 0 9px 24px rgba(43, 36, 25, .07); }
.zmtw-benchmark-report-toc > header span,
.zmtw-benchmark-report-headline > header span { color: #8c690d; font-size: 9px; font-weight: 800; }
.zmtw-benchmark-report-toc h2,
.zmtw-benchmark-report-headline h2 { margin: 7px 0 0; font-size: 24px; }
.zmtw-benchmark-report-toc > header p { margin: 7px 0 0; color: #766f62; font-size: 11px; }
.zmtw-benchmark-report-toc > ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin: 24px 0 0; padding: 0; list-style: none; }
.zmtw-benchmark-report-toc > ol > li { padding: 12px 0; border-top: 1px solid #eee7da; }
.zmtw-benchmark-report-toc a { color: inherit; text-decoration: none; }
.zmtw-benchmark-report-toc > ol > li > a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: center; }
.zmtw-benchmark-report-toc > ol > li > a span { color: #9b762f; font-size: 10px; font-weight: 800; }
.zmtw-benchmark-report-toc > ol > li > a strong { font-size: 12px; }
.zmtw-benchmark-report-toc ol ol { display: grid; gap: 5px; margin: 9px 0 0 34px; padding: 0; list-style: none; }
.zmtw-benchmark-report-toc ol ol a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 6px; color: #766f62; font-size: 9px; line-height: 1.5; }
.zmtw-benchmark-report-toc ol ol span { color: #a17d1c; font-size: 8px; }
.zmtw-benchmark-report-headline > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; border: 1px solid #e5ddce; }
.zmtw-benchmark-report-headline article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; min-width: 0; padding: 18px; border-right: 1px solid #e5ddce; border-bottom: 1px solid #e5ddce; }
.zmtw-benchmark-report-headline article:nth-child(2n) { border-right: 0; }
.zmtw-benchmark-report-headline article:nth-last-child(-n + 2) { border-bottom: 0; }
.zmtw-benchmark-report-headline article > span { display: grid; width: 32px; height: 32px; place-items: center; color: #76590d; background: #fff4ca; border-radius: 4px; font-size: 9px; font-weight: 800; }
.zmtw-benchmark-report-headline strong { font-size: 11px; }
.zmtw-benchmark-report-headline p { margin: 7px 0 0; color: #5d564b; font-size: 11px; line-height: 1.7; }
.zmtw-benchmark-report-chapter > header { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid #ded6c8; }
.zmtw-benchmark-report-chapter > header > span { display: grid; width: 48px; height: 48px; place-items: center; color: #1d1b17; background: #f1c94c; border-radius: 5px; font-size: 14px; font-weight: 850; }
.zmtw-benchmark-report-chapter > header h2 { margin: 0; color: #24211d; font-size: 24px; }
.zmtw-benchmark-report-chapter > header p { margin: 5px 0 0; color: #776f62; font-size: 11px; }
.zmtw-benchmark-report-chapter > div { display: grid; }
.zmtw-benchmark-report-subsection { min-width: 0; padding: 27px 0 30px; border-bottom: 1px solid #e5ddce; }
.zmtw-benchmark-report-subsection:last-child { padding-bottom: 4px; border-bottom: 0; }
.zmtw-benchmark-report-subsection > header { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; }
.zmtw-benchmark-report-subsection > header > span { display: grid; min-width: 42px; height: 29px; place-items: center; color: #80620f; background: #fff4ca; border-radius: 4px; font-size: 9px; font-weight: 800; }
.zmtw-benchmark-report-subsection > header h3 { margin: 0; color: #29251f; font-size: 17px; }
.zmtw-benchmark-report-subsection > blockquote { margin: 15px 0 0; padding: 15px 17px; color: #312d27; background: #fffaf0; border: 0; border-left: 4px solid #d4af37; font-size: 13px; font-weight: 680; line-height: 1.8; }
.zmtw-benchmark-section-block { margin-top: 16px; padding: 16px 18px; background: #fcfaf5; border: 1px solid #e7dfd0; border-radius: 5px; }
.zmtw-benchmark-section-block > h4 { margin: 0 0 11px; color: #514a3f; font-size: 10px; }
.zmtw-benchmark-section-block > ul,
.zmtw-benchmark-section-block > ol { display: grid; gap: 8px; margin: 0; padding-left: 19px; }
.zmtw-benchmark-section-block li { color: #5f584c; font-size: 11px; line-height: 1.65; }
.zmtw-benchmark-section-block.is-method { background: #f3f8f5; border-color: #d5e4dc; }
.zmtw-benchmark-section-block.is-boundary { background: #fff7f4; border-color: #eadad4; }
.zmtw-benchmark-section-block.is-acceptance { background: #f5f7fa; border-color: #dce2e9; }
.zmtw-benchmark-section-block.is-comparison > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #e5ddce; }
.zmtw-benchmark-section-block.is-comparison article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; min-width: 0; padding: 14px; background: #fff; border-right: 1px solid #e5ddce; border-bottom: 1px solid #e5ddce; }
.zmtw-benchmark-section-block.is-comparison article:nth-child(2n) { border-right: 0; }
.zmtw-benchmark-section-block.is-comparison article > span { display: grid; align-self: start; min-height: 25px; place-items: center; color: #76590d; background: #fff4ca; border-radius: 4px; font-size: 8px; font-weight: 800; }
.zmtw-benchmark-section-block.is-comparison strong { font-size: 10px; }
.zmtw-benchmark-section-block.is-comparison p { margin: 5px 0 0; color: #514b42; font-size: 10px; line-height: 1.65; }
.zmtw-benchmark-section-block.is-comparison small { display: block; margin-top: 6px; color: #82796b; font-size: 9px; line-height: 1.55; }
.zmtw-benchmark-action-table { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.zmtw-benchmark-action-table table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; }
.zmtw-benchmark-action-table th,
.zmtw-benchmark-action-table td { padding: 10px; border: 1px solid #ddd5c7; color: #595247; font-size: 9px; line-height: 1.55; text-align: left; vertical-align: top; }
.zmtw-benchmark-action-table th { color: #302b24; background: #f2ece0; font-weight: 800; }
.zmtw-benchmark-action-table th:first-child,
.zmtw-benchmark-action-table td:first-child { width: 30%; }
.zmtw-benchmark-action-table td strong { color: #302b24; font-size: 10px; }
.zmtw-benchmark-report-subsection > details { margin-top: 14px; padding: 10px 13px; background: #fff; border: 1px dashed #d9d0bf; border-radius: 4px; }
.zmtw-benchmark-report-subsection > details summary { color: #76590d; font-size: 9px; font-weight: 750; cursor: pointer; }
.zmtw-benchmark-report-subsection > details > div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.zmtw-benchmark-report-subsection > details span { min-height: 23px; padding: 5px 7px; color: #6b6046; background: #fff4ca; border-radius: 3px; font-size: 8px; }

@media (max-width: 1100px) {
  .zmtw-benchmark-setup { grid-template-columns: minmax(0, 1fr); }
  .zmtw-benchmark-submit { position: static; }
  .zmtw-benchmark-account-controls { grid-template-columns: 150px 220px minmax(240px, 1fr); }
  .zmtw-benchmark-blueprint > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zmtw-benchmark-blueprint article:nth-child(4n) { border-right: 1px solid #eee8dc; }
  .zmtw-benchmark-blueprint article:nth-child(3n) { border-right: 0; }
}

@media (max-width: 767px) {
  .zmtw-benchmark-page-head .zmtw-head-actions { display: none; }
  .zmtw-benchmark-rule { grid-template-columns: 36px minmax(0, 1fr); gap: 11px; padding: 16px; }
  .zmtw-benchmark-rule > span { width: 36px; height: 36px; }
  .zmtw-benchmark-rule > b { grid-column: 1 / -1; min-width: 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); font-size: 19px; text-align: left; }
  .zmtw-benchmark-block { padding: 16px 14px; }
  .zmtw-benchmark-block > header { align-items: flex-start; flex-wrap: wrap; }
  .zmtw-benchmark-block > header .zmtw-button { width: 100%; }
  .zmtw-benchmark-account-card > header { align-items: flex-start; flex-wrap: wrap; padding: 12px; }
  .zmtw-benchmark-account-card > header > div:first-child { width: calc(100% - 44px); }
  .zmtw-benchmark-ready { order: 3; margin-left: 44px; }
  .zmtw-benchmark-account-card > header .zmtw-icon-button { margin-left: auto; }
  .zmtw-benchmark-account-controls { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 13px; }
  .zmtw-benchmark-account-field small { overflow: visible; white-space: normal; }
  .zmtw-benchmark-depths,
  .zmtw-benchmark-packages { grid-template-columns: minmax(0, 1fr); }
  .zmtw-benchmark-submit { padding: 18px; }
  .zmtw-benchmark-blueprint > header,
  .zmtw-benchmark-result > header { align-items: stretch; flex-direction: column; padding: 18px; }
  .zmtw-benchmark-blueprint > header .zmtw-button,
  .zmtw-benchmark-result > header .zmtw-button { width: 100%; }
  .zmtw-benchmark-blueprint > div { grid-template-columns: minmax(0, 1fr); }
  .zmtw-benchmark-blueprint article { border-right: 0 !important; }
  .zmtw-benchmark-headlines,
  .zmtw-benchmark-account-strip,
  .zmtw-benchmark-history > div { grid-template-columns: minmax(0, 1fr); }
  .zmtw-benchmark-headlines article,
  .zmtw-benchmark-account-strip article,
  .zmtw-benchmark-history-item { border-right: 0; border-bottom: 1px solid #e9e2d3; }
  .zmtw-report-dialog.zmtw-benchmark-report-dialog { box-sizing: border-box; width: calc(100vw - 16px); min-width: 0; max-width: calc(100vw - 16px); height: calc(100dvh - 16px); margin: auto; padding: 0; }
  .zmtw-benchmark-report-dialog .zmtw-report-frame,
  .zmtw-benchmark-report-dialog .zmtw-report-body,
  .zmtw-benchmark-report-dialog .zmtw-report-body > article,
  .zmtw-benchmark-report-document,
  .zmtw-benchmark-report-cover { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; }
  .zmtw-benchmark-report-dialog .zmtw-report-frame { grid-template-rows: auto minmax(0, 1fr); }
  .zmtw-benchmark-report-dialog .zmtw-report-body { overflow: hidden; }
  .zmtw-benchmark-report-dialog .zmtw-report-frame > header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 0; padding: 10px 12px; }
  .zmtw-benchmark-report-dialog .zmtw-report-frame > header > div:first-child,
  .zmtw-benchmark-report-dialog .zmtw-report-actions { min-width: 0; }
  .zmtw-benchmark-report-dialog .zmtw-report-frame > header h2 { display: -webkit-box; overflow: hidden; font-size: 14px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .zmtw-benchmark-report-dialog .zmtw-report-frame > header p { gap: 4px; margin-top: 3px; overflow: hidden; font-size: 9px; white-space: nowrap; }
  .zmtw-benchmark-report-dialog .zmtw-report-actions { display: grid; grid-template-columns: minmax(0, 1fr) 38px; width: 100%; gap: 6px; }
  .zmtw-benchmark-report-dialog .zmtw-report-actions .zmtw-button { width: 100%; min-width: 0; min-height: 38px; padding: 0 10px; font-size: 10px; }
  .zmtw-benchmark-report-dialog .zmtw-report-frame > footer { display: none; }
  .zmtw-benchmark-report-dialog .zmtw-report-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: 190px minmax(0, 1fr); }
  .zmtw-benchmark-report-dialog .zmtw-report-body > nav { display: flex; gap: 7px; padding: 8px 10px; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid #e4dccb; scrollbar-width: thin; }
  .zmtw-benchmark-report-dialog .zmtw-report-body > nav > strong { display: none; }
  .zmtw-benchmark-report-dialog .zmtw-report-body > nav > button { flex: 0 0 auto; width: auto; min-width: 88px; height: 36px; }
  .zmtw-benchmark-nav-group { display: grid; grid-template-rows: 36px minmax(0, 1fr); flex: 0 0 178px; width: 178px; margin: 0; padding: 0 0 0 7px; border-top: 0; border-left: 1px solid #ded4c2; }
  .zmtw-benchmark-nav-chapter { min-height: 36px; padding: 6px 8px; }
  .zmtw-benchmark-nav-chapter b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .zmtw-benchmark-nav-group > div { display: grid; align-content: start; gap: 1px; margin: 3px 0 0; padding: 0; overflow-y: auto; border-left: 0; }
  .zmtw-benchmark-nav-group > div button { min-height: 28px; padding: 4px 6px; font-size: 9px; }
  .zmtw-benchmark-report-dialog .zmtw-report-body > article { padding: 12px 10px 32px; overflow-x: hidden; }
  .zmtw-benchmark-report-cover { min-height: 390px; padding: 24px 18px 18px; }
  .zmtw-benchmark-cover-copy { padding: 30px 0; }
  .zmtw-benchmark-cover-copy h1 { margin-top: 17px; font-size: 27px; }
  .zmtw-benchmark-cover-copy p { font-size: 12px; }
  .zmtw-benchmark-report-cover dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-benchmark-report-cover dl div { padding: 11px; }
  .zmtw-benchmark-report-cover footer { gap: 12px; }
  .zmtw-benchmark-report-toc,
  .zmtw-benchmark-report-headline,
  .zmtw-benchmark-report-chapter { margin-top: 12px; padding: 18px 15px; }
  .zmtw-benchmark-report-toc > ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .zmtw-benchmark-report-headline > div { grid-template-columns: minmax(0, 1fr); }
  .zmtw-benchmark-report-headline article { border-right: 0; }
  .zmtw-benchmark-report-headline article:nth-last-child(-n + 2) { border-bottom: 1px solid #e5ddce; }
  .zmtw-benchmark-report-headline article:last-child { border-bottom: 0; }
  .zmtw-benchmark-report-chapter > header { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .zmtw-benchmark-report-chapter > header > span { width: 40px; height: 40px; }
  .zmtw-benchmark-report-chapter > header h2 { font-size: 20px; }
  .zmtw-benchmark-report-subsection { padding: 22px 0 24px; }
  .zmtw-benchmark-report-subsection > header { grid-template-columns: 40px minmax(0, 1fr); gap: 8px; }
  .zmtw-benchmark-report-subsection > header h3 { font-size: 15px; }
  .zmtw-benchmark-report-subsection > blockquote { padding: 13px 14px; font-size: 12px; }
  .zmtw-benchmark-section-block { padding: 14px 12px; }
  .zmtw-benchmark-section-block.is-comparison > div { grid-template-columns: minmax(0, 1fr); }
  .zmtw-benchmark-section-block.is-comparison article { border-right: 0; }
}

@media print {
  body.zmtw-benchmark-export-page { margin: 0; background: #fff; }
  .zmtw-benchmark-export-page .zmtw-report-export-shell { display: block; width: 100%; max-width: none; padding: 0; background: #fff; }
  .zmtw-benchmark-export-page .zmtw-benchmark-report-document { width: 100%; max-width: none; }
  .zmtw-benchmark-export-page .zmtw-benchmark-report-cover { min-height: 250mm; border-radius: 0; box-shadow: none; break-after: page; }
  .zmtw-benchmark-export-page .zmtw-benchmark-report-toc { break-after: page; }
  .zmtw-benchmark-export-page .zmtw-benchmark-report-headline,
  .zmtw-benchmark-export-page .zmtw-benchmark-report-chapter { box-shadow: none; break-before: page; }
  .zmtw-benchmark-export-page .zmtw-benchmark-report-subsection,
  .zmtw-benchmark-export-page .zmtw-benchmark-section-block { break-inside: avoid; }
  .zmtw-benchmark-export-page .zmtw-benchmark-action-table { overflow: visible; }
  .zmtw-benchmark-export-page .zmtw-benchmark-action-table table { min-width: 0; }
}
body.zmt-unified-workbench-page article.page-article { overflow: visible; }

/* Keep site-wide promotional overlays from covering the desktop workbench. */
body.zmt-unified-workbench-page .float-right.round.position-bottom,
body.zmt-unified-workbench-page #modal-system-notice,
body.zmt-unified-workbench-page .modal-backdrop {
  display: none !important;
}
body.zmt-unified-workbench-page.modal-open,
body.zmt-unified-workbench-page:has(#modal-system-notice.show) {
  overflow: auto !important;
  padding-right: 0 !important;
}

.zmtw-shell {
  --zmtw-bg: #f4f7f6;
  --zmtw-surface: #ffffff;
  --zmtw-surface-subtle: #f8faf9;
  --zmtw-ink: #202826;
  --zmtw-muted: #75807d;
  --zmtw-faint: #9aa39f;
  --zmtw-line: #e2e7e5;
  --zmtw-line-strong: #d5dcda;
  --zmtw-accent: #167568;
  --zmtw-accent-hover: #105f55;
  --zmtw-accent-soft: #eaf4f1;
  --zmtw-blue: #4f8195;
  --zmtw-blue-soft: #eaf4f7;
  --zmtw-violet: #6e6da8;
  --zmtw-violet-soft: #f0effa;
  --zmtw-orange: #b16e51;
  --zmtw-orange-soft: #faf0eb;
  --zmtw-gold: #9b762f;
  --zmtw-gold-soft: #fbf5e7;
  --zmtw-purple: #7c648d;
  --zmtw-purple-soft: #f4eff7;
  --zmtw-red: #b84855;
  --zmtw-shadow-border: 0 0 0 1px rgba(20, 42, 36, .07), 0 1px 2px -1px rgba(20, 42, 36, .07), 0 5px 14px rgba(20, 42, 36, .035);
  --zmtw-shadow-hover: 0 0 0 1px rgba(20, 42, 36, .1), 0 2px 4px -1px rgba(20, 42, 36, .08), 0 12px 28px rgba(20, 42, 36, .07);
  display: grid;
  grid-template-columns: 220px minmax(960px, 1fr);
  width: 100%;
  min-width: 1180px;
  min-height: calc(100vh - 72px);
  color: var(--zmtw-ink);
  background: var(--zmtw-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.zmtw-shell *, .zmtw-shell *::before, .zmtw-shell *::after { box-sizing: border-box; }
.zmtw-shell h1, .zmtw-shell h2, .zmtw-shell h3, .zmtw-shell p { margin: 0; }
.zmtw-shell h1, .zmtw-shell h2, .zmtw-shell h3 { text-wrap: balance; }
.zmtw-shell p, .zmtw-shell small { text-wrap: pretty; }
.zmtw-shell button, .zmtw-shell input, .zmtw-shell select, .zmtw-shell textarea { font: inherit; letter-spacing: 0; }
.zmtw-shell button, .zmtw-shell a { -webkit-tap-highlight-color: transparent; }
.zmtw-shell button { min-height: 40px; }
.zmtw-shell button:not(:disabled):active, .zmtw-shell a.zmtw-button:active { scale: .96; }
.zmtw-shell button:focus-visible, .zmtw-shell a:focus-visible, .zmtw-shell input:focus-visible, .zmtw-shell select:focus-visible, .zmtw-shell textarea:focus-visible { outline: 3px solid rgba(22, 117, 104, .18); outline-offset: 2px; }
.zmtw-shell [hidden] { display: none !important; }

.zmtw-sidebar {
  position: sticky;
  top: 72px;
  z-index: 15;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 72px);
  padding: 0 13px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: #fff;
  border-right: 1px solid var(--zmtw-line);
}
body.admin-bar .zmtw-sidebar { top: 104px; height: calc(100vh - 104px); }
.zmtw-brand { display: flex; align-items: center; gap: 11px; min-height: 72px; padding: 0 10px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-brand-mark { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: #fff; background: #173c37; border-radius: 8px; box-shadow: 0 6px 14px rgba(23, 60, 55, .18); }
.zmtw-brand-mark .dashicons { width: 20px; height: 20px; font-size: 20px; }
.zmtw-brand strong, .zmtw-brand span { display: block; }
.zmtw-brand strong { font-size: 14px; line-height: 1.25; font-weight: 750; white-space: nowrap; }
.zmtw-brand div > span { margin-top: 2px; color: var(--zmtw-faint); font-size: 10px; }

.zmtw-nav { display: flex; flex: 1 0 auto; flex-direction: column; gap: 2px; padding-top: 11px; }
.zmtw-nav-label { margin: 9px 11px 5px; color: #a2aaa7; font-size: 10px; font-weight: 650; }
.zmtw-nav button { position: relative; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 9px; width: 100%; padding: 8px 11px; color: #66716e; background: transparent; border: 0; border-radius: 6px; text-align: left; cursor: pointer; transition-property: color, background-color, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-nav button::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: 0; width: 2px; background: transparent; border-radius: 2px; }
.zmtw-nav button .dashicons { width: 18px; height: 18px; color: #899390; font-size: 18px; }
.zmtw-nav button b { font-size: 12px; font-weight: 650; }
.zmtw-nav button:hover { color: var(--zmtw-ink); background: #f3f6f5; }
.zmtw-nav button.is-active { color: var(--zmtw-accent); background: var(--zmtw-accent-soft); }
.zmtw-nav button.is-active::before { background: var(--zmtw-accent); }
.zmtw-nav button.is-active .dashicons { color: var(--zmtw-accent); }
.zmtw-sidebar-footer { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; flex-shrink: 0; padding: 13px 10px 0; border-top: 1px solid var(--zmtw-line); }
.zmtw-avatar { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--zmtw-blue); border-radius: 7px; font-size: 13px; font-weight: 750; }
.zmtw-sidebar-footer strong, .zmtw-sidebar-footer div > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-sidebar-footer strong { font-size: 11px; }
.zmtw-sidebar-footer div > span { margin-top: 2px; color: var(--zmtw-faint); font-size: 9px; }

.zmtw-workspace { min-width: 0; }
.zmtw-topbar { position: sticky; top: 0; z-index: 12; display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 28px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--zmtw-line); backdrop-filter: blur(12px); }
body.admin-bar .zmtw-topbar { top: 32px; }
.zmtw-account-switcher { display: flex; align-items: center; gap: 14px; }
.zmtw-account-switcher > label { color: var(--zmtw-muted); font-size: 11px; font-weight: 650; }
.zmtw-select-wrap { position: relative; }
.zmtw-select-wrap i { position: absolute; top: 50%; left: 14px; width: 7px; height: 7px; background: #4da58f; border-radius: 50%; transform: translateY(-50%); pointer-events: none; }
.zmtw-select-wrap select { width: 245px; height: 40px; padding: 0 34px 0 31px; color: var(--zmtw-ink); background: #fff; border: 1px solid var(--zmtw-line); border-radius: 7px; font-size: 12px; font-weight: 650; box-shadow: 0 1px 3px rgba(20, 42, 36, .03); }
.zmtw-top-actions { display: flex; align-items: center; gap: 9px; }
.zmtw-search { display: grid; grid-template-columns: 20px 220px auto; align-items: center; gap: 7px; height: 40px; padding: 0 8px 0 11px; background: #fafbfb; border: 1px solid var(--zmtw-line); border-radius: 7px; }
.zmtw-search .dashicons { width: 16px; height: 16px; color: var(--zmtw-faint); font-size: 16px; }
.zmtw-search input { height: 34px; min-width: 0; padding: 0; color: var(--zmtw-ink); background: transparent; border: 0; font-size: 11px; outline: 0; }
.zmtw-search kbd { padding: 2px 6px; color: #939c99; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 4px; font-family: inherit; font-size: 9px; }
.zmtw-icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; color: #76817e; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 7px; cursor: pointer; transition-property: color, background-color, box-shadow, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-icon-button:hover { color: var(--zmtw-ink); background: #f8faf9; box-shadow: var(--zmtw-shadow-border); }
.zmtw-icon-button .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-notification-button { position: relative; }
.zmtw-notification-button > b { position: absolute; top: -5px; right: -5px; display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 4px; color: #ffffff; background: #b63b4e; border: 2px solid #ffffff; border-radius: 9px; font-size: 8px; font-variant-numeric: tabular-nums; line-height: 1; }
.zmtw-notification-button > b[hidden] { display: none; }
.zmtw-save-state { display: inline-flex; align-items: center; gap: 6px; color: var(--zmtw-faint); font-size: 10px; white-space: nowrap; }
.zmtw-save-state i { width: 6px; height: 6px; background: #48a08a; border-radius: 50%; }
.zmtw-save-state.is-saving i { background: #b58a34; }
.zmtw-save-state.is-error i { background: var(--zmtw-red); }

.zmtw-main { min-width: 0; padding: 27px 32px 48px; }
.zmtw-view { width: 100%; max-width: 1180px; margin: 0 auto; }
.zmtw-page-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 62px; margin-bottom: 20px; }
.zmtw-page-head h1 { font-size: 25px; line-height: 1.3; font-weight: 760; }
.zmtw-page-head p { margin-top: 5px; color: var(--zmtw-muted); font-size: 11px; }
.zmtw-home-head { align-items: flex-start; }
.zmtw-home-head h1 { font-size: 27px; }
.zmtw-head-actions { display: flex; align-items: center; gap: 9px; }
.zmtw-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 9px 15px; border: 0; border-radius: 7px; font-size: 11px; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition-property: color, background-color, box-shadow, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-button .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-button-primary { color: #fff !important; background: var(--zmtw-accent); box-shadow: 0 6px 14px rgba(22, 117, 104, .2); }
.zmtw-button-primary:hover { background: var(--zmtw-accent-hover); box-shadow: 0 8px 18px rgba(22, 117, 104, .24); }
.zmtw-button-secondary { color: #4f5b58 !important; background: #fff; box-shadow: var(--zmtw-shadow-border); }
.zmtw-button-secondary:hover { color: var(--zmtw-ink) !important; box-shadow: var(--zmtw-shadow-hover); }
.zmtw-button-assist { color: #5e5b9b; background: #f2f1fb; box-shadow: 0 0 0 1px rgba(110, 109, 168, .12); }
.zmtw-button:disabled { opacity: .55; cursor: not-allowed; }

.zmtw-tutorial { display: flex; align-items: center; gap: 14px; padding: 0; color: var(--zmtw-ink); background: transparent; border: 0; text-align: right; cursor: pointer; }
.zmtw-tutorial span, .zmtw-tutorial small { display: block; }
.zmtw-tutorial span { font-size: 10px; font-weight: 700; }
.zmtw-tutorial small { margin-top: 2px; color: var(--zmtw-faint); font-size: 9px; font-weight: 500; }
.zmtw-tutorial > i { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: #347f74; border-radius: 8px; box-shadow: 0 8px 18px rgba(22, 117, 104, .2); font-size: 19px; }
.zmtw-home-section { margin-top: 8px; }
.zmtw-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.zmtw-section-head h2 { font-size: 15px; }
.zmtw-section-head p { margin-top: 2px; color: var(--zmtw-faint); font-size: 9px; }
.zmtw-section-head > span { color: var(--zmtw-faint); font-size: 9px; }
.zmtw-capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.zmtw-capability-card { position: relative; display: grid; grid-template-columns: 40px 1fr 18px; grid-template-rows: 42px auto auto; gap: 0 10px; min-width: 0; min-height: 164px; padding: 17px; overflow: hidden; color: var(--zmtw-ink); background: #fff; border: 0; border-radius: 8px; text-align: left; box-shadow: var(--zmtw-shadow-border); cursor: pointer; transition-property: transform, box-shadow, scale; transition-duration: 180ms; transition-timing-function: ease-out; }
.zmtw-capability-card::before { content: ""; position: absolute; top: 0; right: 0; width: 58px; height: 52px; background: var(--tone-soft); border-radius: 0 0 0 52px; opacity: .7; }
.zmtw-capability-card:hover { transform: translateY(-2px); box-shadow: var(--zmtw-shadow-hover); }
.zmtw-capability-card.is-blue { --tone: var(--zmtw-blue); --tone-soft: var(--zmtw-blue-soft); }
.zmtw-capability-card.is-violet { --tone: var(--zmtw-violet); --tone-soft: var(--zmtw-violet-soft); }
.zmtw-capability-card.is-orange { --tone: var(--zmtw-orange); --tone-soft: var(--zmtw-orange-soft); }
.zmtw-capability-card.is-gold { --tone: var(--zmtw-gold); --tone-soft: var(--zmtw-gold-soft); }
.zmtw-capability-card.is-purple { --tone: var(--zmtw-purple); --tone-soft: var(--zmtw-purple-soft); }
.zmtw-capability-card.is-green { --tone: var(--zmtw-accent); --tone-soft: var(--zmtw-accent-soft); }
.zmtw-capability-icon { display: grid; grid-row: 1; grid-column: 1; place-items: center; width: 40px; height: 40px; color: var(--tone); background: var(--tone-soft); border-radius: 7px; }
.zmtw-capability-icon .dashicons { width: 19px; height: 19px; font-size: 19px; }
.zmtw-card-arrow { position: relative; z-index: 1; display: grid; grid-row: 1; grid-column: 3; place-items: center; color: #9ca5a2; }
.zmtw-card-arrow .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-capability-card > strong { grid-row: 2; grid-column: 1 / -1; margin-top: 13px; font-size: 15px; font-weight: 740; }
.zmtw-capability-card > small { grid-row: 3; grid-column: 1 / -1; margin-top: 5px; color: var(--zmtw-muted); font-size: 10px; line-height: 1.55; font-weight: 450; }
.zmtw-search-empty { grid-column: 1 / -1; padding: 60px; color: var(--zmtw-muted); text-align: center; }

.zmtw-recent { display: grid; grid-template-columns: 150px repeat(3, minmax(0, 1fr)); min-height: 74px; margin-top: 17px; overflow: hidden; background: #fff; border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-recent-label { display: flex; flex-direction: column; justify-content: center; padding: 14px 17px; border-right: 1px solid var(--zmtw-line); }
.zmtw-recent-label strong, .zmtw-recent-label span { display: block; }
.zmtw-recent-label strong { font-size: 11px; }
.zmtw-recent-label span { margin-top: 2px; color: var(--zmtw-faint); font-size: 9px; }
.zmtw-recent-item { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 9px; min-width: 0; padding: 11px 14px; color: var(--zmtw-ink); background: #fff; border: 0; border-right: 1px solid var(--zmtw-line); text-align: left; cursor: pointer; }
.zmtw-recent-item:hover { background: #fafcfb; }
.zmtw-recent-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--zmtw-blue); background: var(--zmtw-blue-soft); border-radius: 6px; }
.zmtw-recent-icon .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-recent-item strong, .zmtw-recent-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-recent-item strong { font-size: 10px; }
.zmtw-recent-item small { margin-top: 2px; color: var(--zmtw-faint); font-size: 8px; }
.zmtw-recent-empty { grid-column: span 2; display: flex; align-items: center; padding: 0 18px; color: var(--zmtw-faint); font-size: 10px; }
.zmtw-text-action { display: flex; align-items: center; justify-content: flex-end; gap: 5px; padding: 0 17px; color: var(--zmtw-accent); background: #fff; border: 0; font-size: 10px; font-weight: 700; cursor: pointer; }
.zmtw-text-action .dashicons { width: 14px; height: 14px; font-size: 14px; }

.zmtw-account-summary { min-height: 128px; margin-bottom: 18px; padding: 17px 18px 0; background: #fff; border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-account-title { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 54px; padding-bottom: 14px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-account-avatar { position: relative; display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--zmtw-blue); border-radius: 8px; font-size: 20px; font-weight: 760; }
.zmtw-account-avatar > i { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; background: #53a98e; border: 2px solid #fff; border-radius: 50%; }
.zmtw-account-title h2 { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.zmtw-account-title h2 small { display: inline-flex; align-items: center; gap: 4px; color: #5c9b88; font-size: 9px; font-weight: 550; }
.zmtw-account-title h2 small i { width: 5px; height: 5px; background: #50a58d; border-radius: 50%; }
.zmtw-account-title p { margin-top: 4px; color: var(--zmtw-muted); font-size: 10px; }
.zmtw-edit-account { display: inline-flex; align-items: center; gap: 6px; padding: 0 11px; color: #5c6764; background: #fafbfb; border: 0; border-radius: 6px; font-size: 10px; font-weight: 650; cursor: pointer; }
.zmtw-edit-account .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-account-facts { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 55px; }
.zmtw-account-facts div { display: flex; flex-direction: column; justify-content: center; padding: 8px 13px; border-right: 1px solid var(--zmtw-line); }
.zmtw-account-facts div:first-child { padding-left: 0; }
.zmtw-account-facts div:last-child { border-right: 0; }
.zmtw-account-facts span { color: var(--zmtw-faint); font-size: 8px; }
.zmtw-account-facts strong { margin-top: 2px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-account-empty { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; min-height: 108px; }
.zmtw-account-empty h2 { font-size: 15px; }
.zmtw-account-empty p { margin-top: 3px; color: var(--zmtw-muted); font-size: 10px; }

.zmtw-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 18px; align-items: start; }
.zmtw-profile-main { min-width: 0; }
.zmtw-profile-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; min-height: 50px; }
.zmtw-profile-heading h2, .zmtw-analysis-head h2 { font-size: 14px; }
.zmtw-profile-heading p, .zmtw-analysis-head p { margin-top: 3px; color: var(--zmtw-faint); font-size: 9px; }
.zmtw-profile-tools { display: flex; align-items: center; gap: 8px; }
.zmtw-profile-tools > span { color: var(--zmtw-faint); font-size: 9px; }
.zmtw-profile-tools > strong { color: var(--zmtw-accent); font-size: 10px; font-variant-numeric: tabular-nums; }
.zmtw-profile-tools > .zmtw-profile-activation-status { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 8px; color: #7b5c13; background: #fff4ca; border-radius: 5px; font-weight: 680; line-height: 1.2; white-space: nowrap; }
.zmtw-profile-tools > .zmtw-profile-activation-status.is-active { color: #276545; background: #e8f5ed; }
.zmtw-profile-tools > .zmtw-profile-activation-status.is-draft { color: #87590d; background: #fff0cc; }
.zmtw-profile-tools > .zmtw-profile-activation-status[hidden] { display: none; }
.zmtw-progress { width: 72px; height: 4px; overflow: hidden; background: #e4e9e7; border-radius: 2px; }
.zmtw-progress i { display: block; width: 0; height: 100%; background: var(--zmtw-accent); transition-property: width; transition-duration: 200ms; transition-timing-function: ease-out; }
.zmtw-profile-tools .zmtw-button { min-height: 34px; padding: 7px 9px; font-size: 9px; }
.zmtw-profile-tools .zmtw-profile-activate { align-items: center; gap: 5px; transition-property: background-color, box-shadow, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-profile-tools .zmtw-profile-activate:active:not(:disabled) { scale: .96; }
.zmtw-profile-tools .zmtw-profile-activate:disabled { color: #8d8678; background: #eee9df; box-shadow: none; cursor: not-allowed; }
.zmtw-mode-row { display: flex; align-items: center; gap: 13px; margin-bottom: 11px; }
.zmtw-segmented { display: inline-flex; flex: 0 0 auto; padding: 3px; background: #e7ecea; border-radius: 7px; }
.zmtw-segmented button { min-height: 31px; padding: 5px 12px; color: #77817e; background: transparent; border: 0; border-radius: 5px; font-size: 9px; font-weight: 680; cursor: pointer; transition-property: color, background-color, box-shadow, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-segmented button.is-active { color: var(--zmtw-ink); background: #fff; box-shadow: 0 1px 3px rgba(20, 42, 36, .11); }
.zmtw-mode-row > p { overflow: hidden; color: var(--zmtw-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zmtw-module-card { --tone: var(--zmtw-blue); --tone-soft: var(--zmtw-blue-soft); position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) 36px 15px; align-items: center; gap: 10px; min-height: 77px; padding: 12px 14px; overflow: hidden; color: var(--zmtw-ink); background: #fff; border: 0; border-radius: 8px; text-align: left; box-shadow: var(--zmtw-shadow-border); cursor: pointer; transition-property: transform, box-shadow, scale; transition-duration: 160ms; transition-timing-function: ease-out; }
.zmtw-module-card:hover { transform: translateY(-1px); box-shadow: var(--zmtw-shadow-hover); }
.zmtw-module-card.is-active { box-shadow: 0 0 0 2px color-mix(in srgb, var(--tone) 55%, transparent), 0 10px 24px rgba(20, 42, 36, .07); }
.zmtw-module-card.is-blue { --tone: var(--zmtw-blue); --tone-soft: var(--zmtw-blue-soft); }
.zmtw-module-card.is-violet { --tone: var(--zmtw-violet); --tone-soft: var(--zmtw-violet-soft); }
.zmtw-module-card.is-orange { --tone: var(--zmtw-orange); --tone-soft: var(--zmtw-orange-soft); }
.zmtw-module-card.is-green { --tone: var(--zmtw-accent); --tone-soft: var(--zmtw-accent-soft); }
.zmtw-module-card.is-purple { --tone: var(--zmtw-purple); --tone-soft: var(--zmtw-purple-soft); }
.zmtw-module-card.is-gold { --tone: var(--zmtw-gold); --tone-soft: var(--zmtw-gold-soft); }
.zmtw-module-card.is-gray { --tone: #7c8582; --tone-soft: #f0f3f2; }
.zmtw-module-card.is-wide { grid-column: 1 / -1; }
.zmtw-module-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--tone); background: var(--tone-soft); border-radius: 7px; }
.zmtw-module-icon .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-module-copy { min-width: 0; }
.zmtw-module-copy strong, .zmtw-module-copy small { display: block; }
.zmtw-module-copy strong { font-size: 11px; }
.zmtw-module-copy small { margin-top: 3px; overflow: hidden; color: var(--zmtw-faint); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-module-score { color: var(--tone); font-size: 9px; font-weight: 720; text-align: right; font-variant-numeric: tabular-nums; }
.zmtw-module-chevron { color: #9ba4a1; }
.zmtw-module-chevron .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-module-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: #edf0ef; }
.zmtw-module-progress::after { content: ""; display: block; width: var(--progress); height: 100%; background: var(--tone); opacity: .7; }
.zmtw-profile-empty { grid-column: 1 / -1; padding: 70px 20px; color: var(--zmtw-muted); background: #fff; border-radius: 8px; box-shadow: var(--zmtw-shadow-border); text-align: center; }

.zmtw-analysis-rail { min-width: 0; }
.zmtw-analysis-head { min-height: 50px; }
.zmtw-readiness { min-height: 82px; margin-bottom: 10px; padding: 14px; background: #fff; border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-readiness > div:first-child, .zmtw-readiness > p { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.zmtw-readiness > div:first-child span { display: flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; }
.zmtw-readiness > div:first-child .dashicons { width: 14px; height: 14px; color: var(--zmtw-accent); font-size: 14px; }
.zmtw-readiness > div:first-child strong { color: var(--zmtw-accent); font-size: 13px; font-variant-numeric: tabular-nums; }
.zmtw-readiness-bar { height: 5px; margin-top: 10px; overflow: hidden; background: #e3e9e7; border-radius: 3px; }
.zmtw-readiness-bar i { display: block; height: 100%; background: var(--zmtw-accent); border-radius: 3px; }
.zmtw-readiness > p { margin-top: 7px; color: var(--zmtw-faint); font-size: 7px; }
.zmtw-report-list { display: grid; gap: 10px; }
.zmtw-report-card { position: relative; min-height: 286px; padding: 15px; overflow: hidden; background: #fff; border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-report-card::before { content: ""; position: absolute; top: 0; right: 0; width: 72px; height: 58px; background: var(--report-soft); border-radius: 0 0 0 58px; opacity: .7; }
.zmtw-report-card.is-warm { --report-tone: var(--zmtw-gold); --report-soft: var(--zmtw-gold-soft); }
.zmtw-report-card.is-cool { --report-tone: var(--zmtw-violet); --report-soft: var(--zmtw-violet-soft); }
.zmtw-report-card header { position: relative; z-index: 1; display: grid; grid-template-columns: 36px minmax(0, 1fr) 26px; align-items: center; gap: 9px; }
.zmtw-report-icon { display: grid; place-items: center; width: 36px; height: 36px; color: var(--report-tone); background: var(--report-soft); border-radius: 7px; }
.zmtw-report-icon .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-report-card h3 { font-size: 11px; }
.zmtw-report-card header p { margin-top: 2px; color: var(--zmtw-faint); font-size: 8px; }
.zmtw-report-state { display: grid; place-items: center; width: 25px; height: 25px; color: #a0a8a5; background: rgba(255, 255, 255, .7); border-radius: 5px; }
.zmtw-report-card.has-report .zmtw-report-state { color: var(--report-tone); }
.zmtw-report-state .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-report-sections { display: grid; gap: 5px; min-height: 124px; margin: 13px 0 0; padding: 10px 10px 10px 25px; color: #626d69; background: #f8faf9; border-radius: 6px; font-size: 8px; line-height: 1.45; }
.zmtw-report-sections li::marker { color: var(--report-tone); font-size: 7px; font-weight: 800; }
.zmtw-report-card > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 34px; margin-top: 9px; padding: 0 9px; color: #5f6966; background: #fafbfb; border: 0; border-radius: 5px; font-size: 8px; font-weight: 650; cursor: pointer; }
.zmtw-report-card > button:hover { color: var(--report-tone); background: var(--report-soft); }
.zmtw-report-card > button .dashicons { width: 13px; height: 13px; font-size: 13px; }
.zmtw-report-card > small { display: block; margin-top: 6px; color: var(--zmtw-faint); font-size: 7px; }
.zmtw-analysis-note { display: flex; gap: 5px; margin-top: 10px; color: var(--zmtw-faint); font-size: 7px; line-height: 1.55; }
.zmtw-analysis-note .dashicons { width: 12px; height: 12px; flex: 0 0 12px; font-size: 12px; }

.zmtw-inline-editor { scroll-margin-top: 92px; margin-top: 14px; background: #fff; border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-inline-editor form > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-inline-editor form > header > div:first-child { display: flex; align-items: center; gap: 11px; }
.zmtw-inline-editor form > header .zmtw-module-icon.is-blue { --tone: var(--zmtw-blue); --tone-soft: var(--zmtw-blue-soft); }
.zmtw-inline-editor form > header .zmtw-module-icon.is-violet { --tone: var(--zmtw-violet); --tone-soft: var(--zmtw-violet-soft); }
.zmtw-inline-editor form > header .zmtw-module-icon.is-orange { --tone: var(--zmtw-orange); --tone-soft: var(--zmtw-orange-soft); }
.zmtw-inline-editor form > header .zmtw-module-icon.is-green { --tone: var(--zmtw-accent); --tone-soft: var(--zmtw-accent-soft); }
.zmtw-inline-editor form > header .zmtw-module-icon.is-purple { --tone: var(--zmtw-purple); --tone-soft: var(--zmtw-purple-soft); }
.zmtw-inline-editor form > header .zmtw-module-icon.is-gold { --tone: var(--zmtw-gold); --tone-soft: var(--zmtw-gold-soft); }
.zmtw-inline-editor form > header .zmtw-module-icon.is-gray { --tone: #7c8582; --tone-soft: #f0f3f2; }
.zmtw-inline-editor h2 { display: flex; align-items: center; gap: 7px; font-size: 15px; }
.zmtw-inline-editor h2 small { padding: 2px 5px; color: var(--zmtw-muted); background: #f0f3f2; border-radius: 3px; font-size: 8px; }
.zmtw-inline-editor header p { margin-top: 3px; color: var(--zmtw-muted); font-size: 9px; }
.zmtw-inline-editor form > header > div:last-child { text-align: right; }
.zmtw-inline-editor form > header > div:last-child strong, .zmtw-inline-editor form > header > div:last-child span { display: block; }
.zmtw-inline-editor form > header > div:last-child strong { color: var(--zmtw-accent); font-size: 15px; font-variant-numeric: tabular-nums; }
.zmtw-inline-editor form > header > div:last-child span { color: var(--zmtw-faint); font-size: 8px; }
.zmtw-editor-meta { display: flex; align-items: center; justify-content: space-between; padding: 9px 20px; background: #fafcfb; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-editor-meta > span { display: flex; align-items: center; gap: 5px; color: var(--zmtw-faint); font-size: 8px; }
.zmtw-editor-meta .dashicons { width: 13px; height: 13px; color: var(--zmtw-accent); font-size: 13px; }
.zmtw-editor-meta button { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0; color: var(--zmtw-muted); background: transparent; border: 0; font-size: 8px; cursor: pointer; }
.zmtw-editor-content { padding: 20px; }
.zmtw-editor-guide, .zmtw-editor-tip { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 14px 16px; color: #2f65aa; background: #eff6ff; border-radius: 7px; box-shadow: 0 0 0 1px rgba(74, 144, 226, .25); }
.zmtw-editor-guide > span .dashicons, .zmtw-editor-tip > span .dashicons { width: 16px; height: 16px; color: currentColor; font-size: 16px; }
.zmtw-editor-guide strong, .zmtw-editor-tip strong { display: block; font-size: 11px; font-weight: 720; }
.zmtw-editor-guide p, .zmtw-editor-tip p { margin-top: 3px; color: currentColor; font-size: 10px; line-height: 1.65; }
.zmtw-editor-guide.is-info { color: #285eb5; }
.zmtw-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px; }
.zmtw-editor-content > .zmtw-field-grid { padding: 20px 0; }
.zmtw-field { display: grid; align-content: start; gap: 7px; }
.zmtw-field.is-wide { grid-column: 1 / -1; }
.zmtw-field-heading label, .zmtw-dialog-body label { color: #3f4946; font-size: 11px; font-weight: 690; }
.zmtw-field-heading p { margin-top: 3px; color: var(--zmtw-muted); font-size: 9px; line-height: 1.55; }
.zmtw-field-group { grid-column: 1 / -1; margin-top: 3px !important; color: var(--zmtw-ink); font-size: 12px; }
.zmtw-field-group:not(:first-child) { padding-top: 7px; }
.zmtw-field input, .zmtw-field select, .zmtw-field textarea, .zmtw-dialog-body input, .zmtw-dialog-body select, .zmtw-dialog-body textarea { width: 100%; min-height: 40px; padding: 9px 11px; color: var(--zmtw-ink); background: #fff; border: 1px solid var(--zmtw-line-strong); border-radius: 6px; font-size: 11px; line-height: 1.55; transition-property: border-color, box-shadow; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-field textarea, .zmtw-dialog-body textarea { min-height: 92px; resize: vertical; }
.zmtw-field input::placeholder, .zmtw-field textarea::placeholder, .zmtw-dialog-body input::placeholder, .zmtw-dialog-body textarea::placeholder { color: #b0b7b4; }
.zmtw-field input:focus, .zmtw-field select:focus, .zmtw-field textarea:focus, .zmtw-dialog-body input:focus, .zmtw-dialog-body select:focus, .zmtw-dialog-body textarea:focus { border-color: var(--zmtw-accent); box-shadow: 0 0 0 3px rgba(22, 117, 104, .1); outline: 0; }
.zmtw-structured-field { gap: 9px; }
.zmtw-structured-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.zmtw-structured-entry > button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 42px; min-height: 40px; padding: 0 12px; color: #fff; background: #8a918f; border: 0; border-radius: 6px; font-size: 10px; font-weight: 680; cursor: pointer; transition-property: background-color, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-structured-entry > button:hover { background: #747c79; }
.zmtw-structured-entry > button .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-tag-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.zmtw-tag-option { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 10px; color: #4d5754; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 6px; text-align: left; cursor: pointer; transition-property: color, background-color, border-color, box-shadow, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-tag-option:hover { border-color: #c5cecb; box-shadow: 0 1px 3px rgba(20, 42, 36, .05); }
.zmtw-tag-option.is-selected { color: var(--zmtw-ink); background: #f4f8f7; border-color: var(--zmtw-accent); box-shadow: 0 0 0 1px rgba(22, 117, 104, .08); }
.zmtw-tag-option i { display: grid; place-items: center; width: 16px; height: 16px; flex: 0 0 16px; color: #fff; background: #fff; border: 1px solid var(--zmtw-line-strong); border-radius: 4px; font-style: normal; }
.zmtw-tag-option.is-selected i { background: var(--zmtw-accent); border-color: var(--zmtw-accent); }
.zmtw-tag-option i .dashicons { width: 12px; height: 12px; font-size: 12px; }
.zmtw-tag-option > span { overflow: hidden; font-size: 10px; font-weight: 630; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-selected-tags { display: flex; flex-wrap: wrap; gap: 7px; min-height: 25px; }
.zmtw-selected-tag { display: inline-flex; align-items: center; gap: 3px; min-height: 40px; padding: 3px 3px 3px 12px; color: #4b5552; background: #f3f5f4; border-radius: 20px; font-size: 9px; }
.zmtw-selected-tag button { display: grid; place-items: center; width: 40px; min-width: 40px; min-height: 40px; padding: 0; color: #7e8885; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.zmtw-selected-tag button:hover { color: var(--zmtw-red); background: rgba(184, 72, 85, .08); }
.zmtw-selected-tag .dashicons { width: 13px; height: 13px; font-size: 13px; }
.zmtw-list-items { display: grid; gap: 7px; }
.zmtw-list-item { display: grid; grid-template-columns: 26px minmax(0, 1fr) 40px; align-items: center; min-height: 48px; padding: 4px 4px 4px 9px; background: #f6f8f7; border-radius: 6px; }
.zmtw-list-item > span { display: grid; place-items: center; width: 24px; height: 24px; color: #fff; background: #28312f; border-radius: 50%; font-size: 9px; font-variant-numeric: tabular-nums; }
.zmtw-list-item p { padding: 0 10px; color: #3f4946; font-size: 10px; }
.zmtw-list-item button { display: grid; place-items: center; width: 40px; min-height: 40px; padding: 0; color: var(--zmtw-red); background: transparent; border: 0; border-radius: 5px; cursor: pointer; }
.zmtw-list-item button:hover { background: rgba(184, 72, 85, .08); }
.zmtw-list-item .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-structured-empty { color: var(--zmtw-faint); font-size: 9px; }
.zmtw-editor-tip { margin-top: 2px; color: #2f65aa; }
.zmtw-editor-tip.is-green { color: #25714f; background: #effbf5; box-shadow: 0 0 0 1px rgba(67, 181, 121, .24); }
.zmtw-editor-tip.is-purple { color: #7851a4; background: #f8f2ff; box-shadow: 0 0 0 1px rgba(135, 85, 192, .2); }
.zmtw-editor-tip.is-gold { color: #936514; background: #fffae9; box-shadow: 0 0 0 1px rgba(221, 180, 67, .32); }
.zmtw-supplementary-examples { padding-top: 20px; }
.zmtw-supplementary-examples > h3 { font-size: 12px; }
.zmtw-supplementary-examples > p { margin-top: 6px; color: var(--zmtw-muted); font-size: 9px; }
.zmtw-supplementary-examples > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.zmtw-supplementary-examples article { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; min-height: 66px; padding: 12px; background: #fbfcfc; border-radius: 6px; box-shadow: 0 0 0 1px rgba(20, 42, 36, .08); }
.zmtw-supplementary-examples article > span .dashicons { width: 17px; height: 17px; color: var(--zmtw-accent); font-size: 17px; }
.zmtw-supplementary-examples article strong { display: block; font-size: 10px; }
.zmtw-supplementary-examples article p { margin-top: 3px; color: var(--zmtw-muted); font-size: 8px; line-height: 1.55; }
.zmtw-inline-editor form > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--zmtw-line); }
.zmtw-inline-editor form > footer > div { display: flex; align-items: center; gap: 8px; }

.zmtw-feature-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.zmtw-feature-tile { --zmtw-tile-tone: var(--zmtw-gold); --zmtw-tile-soft: var(--zmtw-gold-soft); --zmtw-tile-ink: #5a4017; position: relative; display: flex; min-width: 0; min-height: 224px; overflow: hidden; flex-direction: column; padding: 20px; color: var(--zmtw-ink); background: #fff; border: 1px solid color-mix(in srgb, var(--zmtw-tile-tone) 23%, var(--zmtw-line)); border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), inset 0 -1px 0 rgba(24, 33, 31, .025), 0 3px 7px rgba(28, 30, 24, .05), 0 14px 28px rgba(28, 30, 24, .055); transition-property: transform, box-shadow, border-color; transition-duration: 180ms; transition-timing-function: cubic-bezier(.2, 0, 0, 1); }
.zmtw-feature-tile::before { position: absolute; top: 18px; right: 18px; width: 42px; height: 4px; background: var(--zmtw-tile-tone); box-shadow: -7px 7px 0 color-mix(in srgb, var(--zmtw-tile-tone) 18%, transparent); content: ""; }
.zmtw-feature-tile::after { position: absolute; right: 20px; bottom: 0; left: 20px; height: 4px; background: var(--zmtw-tile-tone); clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 10px 100%); content: ""; }
.zmtw-feature-tile.is-research { --zmtw-tile-tone: #c7802e; --zmtw-tile-soft: #fff0dc; }
.zmtw-feature-tile.is-creation { --zmtw-tile-tone: #167568; --zmtw-tile-soft: #eaf4f1; }
.zmtw-feature-tile.is-review { --zmtw-tile-tone: #b84855; --zmtw-tile-soft: #f9ecee; }
.zmtw-feature-tile.is-publish { --zmtw-tile-tone: #426d93; --zmtw-tile-soft: #eaf1f7; }
.zmtw-feature-tile.is-feature-platform-data { --zmtw-tile-tone: #157d88; --zmtw-tile-soft: #e5f5f5; --zmtw-tile-ink: #155d65; }
.zmtw-feature-tile.is-feature-account-diagnosis { --zmtw-tile-tone: #516db7; --zmtw-tile-soft: #eceffd; --zmtw-tile-ink: #374d8b; }
.zmtw-feature-tile.is-feature-account-deconstruction { --zmtw-tile-tone: #be6150; --zmtw-tile-soft: #fcebe7; --zmtw-tile-ink: #984538; }
.zmtw-feature-tile.is-feature-xhs-competitor { --zmtw-tile-tone: #b8566e; --zmtw-tile-soft: #f9eaf0; --zmtw-tile-ink: #8d3d54; }
.zmtw-feature-tile.is-feature-douyin-viral-distiller { --zmtw-tile-tone: #c66b26; --zmtw-tile-soft: #fff0df; --zmtw-tile-ink: #985017; }
.zmtw-feature-tile.is-feature-content-parser { --zmtw-tile-tone: #7460a8; --zmtw-tile-soft: #f0edfb; --zmtw-tile-ink: #59488b; }
.zmtw-feature-tile.is-feature-video-script { --zmtw-tile-tone: #4976bd; --zmtw-tile-soft: #eaf0fb; --zmtw-tile-ink: #365b99; }
.zmtw-feature-tile.is-feature-oral-video-explainer { --zmtw-tile-tone: #198d80; --zmtw-tile-soft: #e5f5f0; --zmtw-tile-ink: #146d63; }
.zmtw-feature-tile.is-feature-jinqiang-style-writer { --zmtw-tile-tone: #bf534a; --zmtw-tile-soft: #fceae7; --zmtw-tile-ink: #933b34; }
.zmtw-feature-tile.is-feature-douyin-workbench { --zmtw-tile-tone: #d4514f; --zmtw-tile-soft: #fcebea; --zmtw-tile-ink: #a33837; }
.zmtw-feature-tile.is-feature-xhs-workbench { --zmtw-tile-tone: #c86a7a; --zmtw-tile-soft: #fbecef; --zmtw-tile-ink: #9b4856; }
.zmtw-feature-tile.is-feature-mp-workbench { --zmtw-tile-tone: #b27b22; --zmtw-tile-soft: #faf1dc; --zmtw-tile-ink: #835815; }
.zmtw-feature-tile > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.zmtw-feature-tile-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 56px; color: var(--zmtw-tile-ink); background: var(--zmtw-tile-soft); border: 1px solid color-mix(in srgb, var(--zmtw-tile-tone) 38%, transparent); clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 0 100%); filter: drop-shadow(4px 4px 0 color-mix(in srgb, var(--zmtw-tile-tone) 72%, transparent)); transition-property: transform, filter; transition-duration: 180ms; transition-timing-function: cubic-bezier(.2, 0, 0, 1); }
.zmtw-feature-tile-icon::before { position: absolute; top: 7px; right: 7px; width: 10px; height: 10px; border-top: 2px solid var(--zmtw-tile-tone); border-right: 2px solid var(--zmtw-tile-tone); content: ""; }
.zmtw-feature-tile-icon .dashicons { position: relative; z-index: 1; width: 25px; height: 25px; font-size: 25px; }
.zmtw-feature-tile-state { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0; color: var(--zmtw-tile-ink); font-size: 12px; font-weight: 760; line-height: 1; white-space: nowrap; }
.zmtw-feature-tile-state i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
.zmtw-feature-tile.is-planned { --zmtw-tile-tone: #9a7a3c; --zmtw-tile-soft: #fbf3e4; }
.zmtw-feature-tile.is-framework { --zmtw-tile-tone: #7d847f; --zmtw-tile-soft: #f0f2f1; }
.zmtw-feature-tile-copy { min-width: 0; margin-top: 17px; }
.zmtw-feature-tile h2 { display: -webkit-box; overflow: hidden; margin: 0; color: var(--zmtw-ink); font-size: 18px; font-weight: 760; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zmtw-feature-tile p { display: -webkit-box; overflow: hidden; min-height: 43px; margin: 8px 0 0; color: var(--zmtw-muted); font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zmtw-feature-tile > footer { display: flex; align-items: center; justify-content: flex-start; min-height: 40px; margin-top: auto; padding-top: 13px; border-top: 1px solid color-mix(in srgb, var(--zmtw-tile-tone) 16%, var(--zmtw-line)); }
.zmtw-feature-tile .zmtw-feature-tile-action { min-height: 40px; padding: 0 3px 0 0; color: var(--zmtw-tile-ink) !important; background: transparent; border: 0; box-shadow: none; font-size: 13px; font-weight: 760; }
.zmtw-feature-tile .zmtw-feature-tile-action:hover:not(:disabled) { color: var(--zmtw-tile-tone) !important; background: transparent; box-shadow: none; }
.zmtw-feature-tile .zmtw-feature-tile-action .dashicons { width: 18px; height: 18px; font-size: 18px; transition: transform 160ms cubic-bezier(.2, 0, 0, 1); }
.zmtw-feature-tile.is-planned .zmtw-feature-tile-action { color: var(--zmtw-faint) !important; }
.zmtw-feature-tile.is-feature-tile-enter { animation: zmtw-feature-tile-enter 280ms cubic-bezier(.2, 0, 0, 1) both; animation-delay: var(--zmtw-feature-tile-delay, 0ms); }
@keyframes zmtw-feature-tile-enter { from { opacity: 0; filter: blur(4px); transform: translateY(6px); } to { opacity: 1; filter: blur(0); transform: translateY(0); } }
@media (hover: hover) {
  .zmtw-feature-tile:hover { border-color: color-mix(in srgb, var(--zmtw-tile-tone) 72%, var(--zmtw-line)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), 0 6px 12px rgba(28, 30, 24, .075), 0 22px 38px rgba(28, 30, 24, .12); transform: translateY(-3px); }
  .zmtw-feature-tile:hover .zmtw-feature-tile-icon { filter: drop-shadow(6px 6px 0 color-mix(in srgb, var(--zmtw-tile-tone) 78%, transparent)); transform: translate(1px, -2px) rotate(-2deg); }
  .zmtw-feature-tile:hover .zmtw-feature-tile-action .dashicons { transform: translateX(3px); }
}
.zmtw-feature-tile:focus-within { border-color: var(--zmtw-tile-tone); }
.zmtw-feature-empty { grid-column: 1 / -1; padding: 80px; color: var(--zmtw-muted); background: #fff; border-radius: 8px; box-shadow: var(--zmtw-shadow-border); text-align: center; }

.zmtw-dialog, .zmtw-report-dialog { padding: 0; color: var(--zmtw-ink); background: #fff; border: 0; border-radius: 8px; box-shadow: 0 28px 80px rgba(12, 30, 26, .25); }
.zmtw-dialog { width: 720px; max-width: calc(100vw - 80px); }
.zmtw-dialog::backdrop, .zmtw-report-dialog::backdrop { background: rgba(22, 32, 29, .52); backdrop-filter: blur(2px); }
.zmtw-dialog form > header, .zmtw-dialog form > footer, .zmtw-dialog-frame > header, .zmtw-dialog-frame > footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; }
.zmtw-dialog form > header, .zmtw-dialog-frame > header { border-bottom: 1px solid var(--zmtw-line); }
.zmtw-dialog form > footer, .zmtw-dialog-frame > footer { justify-content: flex-end; border-top: 1px solid var(--zmtw-line); }
.zmtw-dialog header h2 { font-size: 16px; }
.zmtw-dialog header p { margin-top: 3px; color: var(--zmtw-muted); font-size: 9px; }
.zmtw-dialog-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; max-height: 64vh; padding: 20px; overflow-y: auto; }
.zmtw-dialog-body label { display: grid; gap: 7px; }
.zmtw-dialog-body label.is-wide, .zmtw-dialog-section.is-wide { grid-column: 1 / -1; }
.zmtw-dialog-section h3 { margin-bottom: 9px; font-size: 10px; }

.zmtw-account-dialog { width: 920px; max-height: calc(100vh - 64px); overflow: hidden; border-radius: 10px; }
.zmtw-account-dialog form { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: calc(100vh - 64px); }
.zmtw-account-dialog form > header { padding: 22px 28px; }
.zmtw-account-dialog form > header h2 { font-size: 20px; line-height: 1.3; }
.zmtw-account-dialog form > header p { margin-top: 5px; font-size: 11px; line-height: 1.6; }
.zmtw-account-dialog form > header .zmtw-icon-button { width: 44px; min-width: 44px; height: 44px; color: #77817e; background: #fafcfb; border-radius: 8px; box-shadow: 0 0 0 1px rgba(20, 42, 36, .1), 0 2px 6px rgba(20, 42, 36, .04); transition-property: color, background-color, box-shadow, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-account-dialog form > header .zmtw-icon-button:hover { color: var(--zmtw-ink); background: #f3f6f5; box-shadow: 0 0 0 1px rgba(20, 42, 36, .14), 0 3px 9px rgba(20, 42, 36, .06); }
.zmtw-account-dialog .zmtw-dialog-body { grid-template-columns: minmax(0, 1fr); gap: 18px; max-height: calc(100vh - 214px); padding: 22px 28px; }
.zmtw-account-notice { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 10px; padding: 14px 16px; color: #79541c; background: #fff9e8; border: 1px solid #efd796; border-radius: 7px; }
.zmtw-account-notice > .dashicons { width: 18px; height: 18px; margin-top: 1px; color: #aa7727; font-size: 18px; }
.zmtw-account-notice p { font-size: 11px; line-height: 1.65; text-wrap: pretty; }
.zmtw-account-notice strong { margin-right: 8px; color: #71480f; font-weight: 750; }
.zmtw-account-form-section { display: grid; gap: 15px; padding-top: 18px; border-top: 1px solid var(--zmtw-line); }
.zmtw-account-form-section > header { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 11px; }
.zmtw-account-form-section > header > .dashicons { display: grid; place-items: center; width: 34px; height: 34px; color: #8a6817; background: #fff4ca; border-radius: 6px; font-size: 17px; box-shadow: 0 0 0 1px rgba(164, 124, 29, .12); }
.zmtw-account-form-section > header h3 { color: var(--zmtw-ink); font-size: 14px; line-height: 1.35; text-wrap: balance; }
.zmtw-account-form-section > header p { margin-top: 3px; color: var(--zmtw-faint); font-size: 11px; line-height: 1.5; text-wrap: pretty; }
.zmtw-account-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.zmtw-account-fields > .is-wide { grid-column: 1 / -1; }
.zmtw-account-dialog .zmtw-account-field { display: grid; gap: 8px; color: var(--zmtw-ink); }
.zmtw-account-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #303936; font-size: 13px; font-weight: 720; line-height: 1.4; }
.zmtw-account-label b { color: var(--zmtw-red); }
.zmtw-account-label output { color: #72817d; font-size: 11px; font-weight: 520; font-variant-numeric: tabular-nums; }
.zmtw-account-dialog .zmtw-account-field > input,
.zmtw-account-dialog .zmtw-account-field > select,
.zmtw-account-dialog .zmtw-account-field > textarea { min-height: 48px; padding: 12px 14px; border-color: #d7dddb; border-radius: 7px; font-size: 13px; line-height: 1.55; box-shadow: 0 1px 2px rgba(20, 42, 36, .03); }
.zmtw-account-dialog .zmtw-account-field > textarea[name="common.bio"] { min-height: 88px; }
.zmtw-account-dialog .zmtw-account-field > textarea[name="common.related_platforms"],
.zmtw-account-dialog .zmtw-account-field > textarea[name="common.content_track"] { min-height: 76px; }
.zmtw-account-dialog .zmtw-account-field > textarea[name="common.notes"] { min-height: 92px; }
.zmtw-account-dialog .zmtw-account-field > input::placeholder,
.zmtw-account-dialog .zmtw-account-field > textarea::placeholder { color: #aab3b0; }
.zmtw-account-dialog .zmtw-account-field > input:hover,
.zmtw-account-dialog .zmtw-account-field > select:hover,
.zmtw-account-dialog .zmtw-account-field > textarea:hover { border-color: #c2cbc8; }
.zmtw-account-dialog .zmtw-account-field > small { display: flex; align-items: flex-start; gap: 5px; color: #708199; font-size: 10px; font-weight: 450; line-height: 1.55; text-wrap: pretty; }
.zmtw-account-dialog .zmtw-account-field > small .dashicons { width: 13px; height: 13px; margin-top: 1px; flex: 0 0 13px; color: #c49331; font-size: 13px; }
.zmtw-account-dialog form > footer { padding: 16px 28px; background: #fbfcfc; }
.zmtw-account-dialog form > footer .zmtw-button { min-width: 100px; min-height: 44px; font-size: 12px; }
.zmtw-account-dialog [type="submit"]:disabled { color: #fff; background: #a8aeac; box-shadow: none; cursor: not-allowed; opacity: 1; }
.zmtw-list-dialog { width: 650px; }
.zmtw-account-list { display: grid; gap: 8px; max-height: 56vh; padding: 18px; overflow-y: auto; }
.zmtw-account-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; min-height: 62px; background: #fafcfb; border-radius: 7px; box-shadow: 0 0 0 1px rgba(20, 42, 36, .06); }
.zmtw-account-row.is-active { background: var(--zmtw-accent-soft); box-shadow: 0 0 0 1px rgba(22, 117, 104, .2); }
.zmtw-account-row > button:first-child { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 11px; color: var(--zmtw-ink); background: transparent; border: 0; text-align: left; cursor: pointer; }
.zmtw-account-row strong, .zmtw-account-row small { display: block; }
.zmtw-account-row strong { font-size: 11px; }
.zmtw-account-row small { margin-top: 2px; color: var(--zmtw-muted); font-size: 8px; }
.zmtw-account-row em { color: var(--zmtw-accent); font-size: 8px; font-style: normal; }
.zmtw-row-edit { display: grid; place-items: center; width: 40px; padding: 0; color: var(--zmtw-muted); background: transparent; border: 0; cursor: pointer; }
.zmtw-list-empty { padding: 50px; color: var(--zmtw-muted); text-align: center; }
.zmtw-notification-dialog { width: 680px; }
.zmtw-notification-list { display: grid; gap: 7px; max-height: 60vh; padding: 16px; overflow-y: auto; background: #f7f9f8; }
.zmtw-notification-list > button { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 11px; width: 100%; min-height: 78px; padding: 11px 12px; color: var(--zmtw-ink); background: #ffffff; border: 1px solid var(--zmtw-line); border-radius: 7px; text-align: left; cursor: pointer; transition: border-color 150ms ease-out, box-shadow 150ms ease-out, transform 150ms ease-out; }
.zmtw-notification-list > button:hover { border-color: #b7c9c4; box-shadow: 0 7px 18px rgba(20, 42, 36, .07); transform: translateY(-1px); }
.zmtw-notification-list > button:active { transform: scale(.96); }
.zmtw-notification-list > button.is-unread { border-left: 3px solid #b58a34; background: #fffdf7; }
.zmtw-notification-icon { display: grid; width: 40px; height: 40px; place-items: center; color: #8a671e; background: #fff4cf; border-radius: 7px; }
.zmtw-notification-icon .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-notification-list > button > span:nth-child(2) { min-width: 0; }
.zmtw-notification-list strong, .zmtw-notification-list small, .zmtw-notification-list time { display: block; }
.zmtw-notification-list strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-notification-list small { margin-top: 3px; color: var(--zmtw-muted); font-size: 10px; }
.zmtw-notification-list time { margin-top: 4px; color: var(--zmtw-faint); font-size: 9px; font-variant-numeric: tabular-nums; }
.zmtw-notification-list > button > .dashicons { width: 16px; height: 16px; color: var(--zmtw-faint); font-size: 16px; }
.zmtw-notification-empty { padding: 54px 20px; color: var(--zmtw-muted); background: #ffffff; border: 1px dashed var(--zmtw-line-strong); border-radius: 7px; font-size: 11px; text-align: center; }
.zmtw-notification-empty.is-error { color: var(--zmtw-red); }
.zmtw-confirm-dialog { width: 540px; }
.zmtw-confirm-copy { display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding: 24px 20px; }
.zmtw-confirm-copy > .dashicons { display: grid; place-items: center; width: 40px; height: 40px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 7px; font-size: 18px; }
.zmtw-confirm-copy h3 { font-size: 13px; }
.zmtw-confirm-copy p { margin-top: 5px; color: var(--zmtw-muted); font-size: 10px; }
.zmtw-help-dialog { width: 720px; }
.zmtw-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 22px; }
.zmtw-help-grid > div { padding: 14px 5px; }
.zmtw-help-grid > div > span { display: grid; place-items: center; width: 30px; height: 30px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 6px; font-size: 10px; font-weight: 750; }
.zmtw-help-grid h3 { margin-top: 12px; font-size: 12px; }
.zmtw-help-grid p { margin-top: 5px; color: var(--zmtw-muted); font-size: 9px; }

.zmtw-membership-dialog { width: 520px; }
.zmtw-membership-copy { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: 14px; padding: 24px; }
.zmtw-membership-copy > .dashicons { display: grid; place-items: center; width: 42px; height: 42px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 8px; font-size: 20px; }
.zmtw-membership-copy h3 { margin: 1px 0 0; font-size: 14px; }
.zmtw-membership-copy p { margin: 7px 0 0; color: var(--zmtw-muted); font-size: 11px; line-height: 1.65; }
.zmtw-membership-dialog footer .zmtw-button { min-width: 110px; }

.zmtw-goal-dialog { width: 900px; }
.zmtw-goal-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 20px; background: #f7f9f8; }
.zmtw-goal-option { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) 24px; align-items: start; gap: 13px; min-height: 168px; padding: 18px; color: var(--zmtw-ink); background: #fff; border: 1px solid #e0e6e3; border-radius: 8px; text-align: left; cursor: pointer; transition-property: border-color, box-shadow, translate; transition-duration: 160ms; transition-timing-function: ease-out; }
.zmtw-goal-option:hover { border-color: #accbc4; box-shadow: 0 10px 24px rgba(20, 42, 36, .07); translate: 0 -1px; }
.zmtw-goal-option.is-selected { border-color: var(--zmtw-accent); box-shadow: 0 0 0 2px rgba(22, 117, 104, .12), 0 10px 24px rgba(20, 42, 36, .06); }
.zmtw-goal-icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 8px; }
.zmtw-goal-icon .dashicons { width: 21px; height: 21px; font-size: 21px; }
.zmtw-goal-copy strong, .zmtw-goal-copy small { display: block; }
.zmtw-goal-copy strong { font-size: 14px; }
.zmtw-goal-copy small { margin-top: 4px; color: var(--zmtw-muted); font-size: 10px; line-height: 1.6; }
.zmtw-goal-copy > span { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.zmtw-goal-copy i { padding: 4px 7px; color: #4d625d; background: #f2f6f5; border-radius: 4px; font-size: 9px; font-style: normal; }
.zmtw-goal-option > b { display: grid; place-items: center; width: 22px; height: 22px; color: transparent; border: 1px solid #cbd4d1; border-radius: 50%; }
.zmtw-goal-option.is-selected > b { color: #fff; background: var(--zmtw-accent); border-color: var(--zmtw-accent); }
.zmtw-goal-option > b .dashicons { width: 14px; height: 14px; font-size: 14px; }

.zmtw-report-confirm-dialog { width: 700px; }
.zmtw-report-confirm-body { display: grid; gap: 16px; padding: 22px; background: #fffdf8; }
.zmtw-report-confirm-alert { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: 13px; padding: 15px 16px; color: #4d3c16; background: #fff4ca; border: 1px solid #ead083; border-radius: 7px; }
.zmtw-report-confirm-alert > .dashicons { display: grid; place-items: center; width: 40px; height: 40px; color: #171614; background: #f1c94c; border-radius: 7px; font-size: 20px; }
.zmtw-report-confirm-alert strong { font-size: 14px; }
.zmtw-report-confirm-alert p { margin-top: 5px; color: #735b1b; font-size: 12px; line-height: 1.65; }
.zmtw-report-confirm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 7px; }
.zmtw-report-confirm-facts > div { min-width: 0; padding: 14px 16px; border-right: 1px solid var(--zmtw-line); border-bottom: 1px solid var(--zmtw-line); }
.zmtw-report-confirm-facts > div:nth-child(2n) { border-right: 0; }
.zmtw-report-confirm-facts > div:nth-last-child(-n + 2) { border-bottom: 0; }
.zmtw-report-confirm-facts dt { color: var(--zmtw-faint); font-size: 11px; }
.zmtw-report-confirm-facts dd { margin: 5px 0 0; overflow-wrap: anywhere; color: var(--zmtw-ink); font-size: 14px; font-weight: 750; }
.zmtw-report-confirm-check { display: grid; grid-template-columns: 0 28px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 54px; padding: 11px 14px; color: var(--zmtw-ink); background: #fff; border: 1px solid var(--zmtw-line-strong); border-radius: 7px; cursor: pointer; }
.zmtw-report-confirm-check input { width: 1px; height: 1px; opacity: 0; }
.zmtw-report-confirm-check > span { display: grid; place-items: center; width: 26px; height: 26px; color: transparent; background: #fff; border: 2px solid #c9bea8; border-radius: 5px; }
.zmtw-report-confirm-check input:checked + span { color: #171614; background: #f1c94c; border-color: #d4af37; }
.zmtw-report-confirm-check input:focus-visible + span { outline: 3px solid rgba(212, 175, 55, .24); outline-offset: 2px; }
.zmtw-report-confirm-check .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-report-confirm-check strong { font-size: 13px; line-height: 1.55; }
.zmtw-report-confirm-dialog .zmtw-dialog-frame > footer > div { display: flex; align-items: center; gap: 9px; }
.zmtw-report-confirm-dialog [data-zmtw-action="confirm-report-generation"]:disabled { color: #9c9485 !important; background: #e9e5dc; border-color: #e0dbd0; box-shadow: none; cursor: not-allowed; }

.zmtw-history-dialog { width: 680px; }
.zmtw-history-list { display: grid; gap: 8px; max-height: 58vh; padding: 18px; overflow-y: auto; background: #f7f9f8; }
.zmtw-history-list > button { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 11px 13px; color: var(--zmtw-ink); background: #fff; border: 1px solid var(--zmtw-line); border-radius: 7px; text-align: left; cursor: pointer; }
.zmtw-history-list > button:hover { border-color: #b5c9c4; box-shadow: 0 6px 16px rgba(20, 42, 36, .06); }
.zmtw-history-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 7px; }
.zmtw-history-list strong, .zmtw-history-list small { display: block; }
.zmtw-history-list strong { font-size: 12px; }
.zmtw-history-list small { margin-top: 3px; color: var(--zmtw-muted); font-size: 9px; }
.zmtw-history-list em { color: var(--zmtw-accent); font-size: 9px; font-style: normal; font-weight: 700; }
.zmtw-report-audit { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--zmtw-line); }
.zmtw-report-audit > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 10px; }
.zmtw-report-audit > header strong, .zmtw-report-audit > header small { display: block; }
.zmtw-report-audit > header strong { font-size: 13px; }
.zmtw-report-audit > header small, .zmtw-report-audit > header span { margin-top: 2px; color: var(--zmtw-faint); font-size: 10px; }
.zmtw-report-audit > article { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 7px; }
.zmtw-report-audit > article + article { margin-top: 7px; }
.zmtw-report-audit > article > span { display: grid; place-items: center; width: 34px; height: 34px; color: #177657; background: #e8f7f1; border-radius: 6px; }
.zmtw-report-audit > article.is-failed > span { color: #9b4d47; background: #fff0ed; }
.zmtw-report-audit > article.is-duplicate > span { color: #735b1b; background: #fff4ca; }
.zmtw-report-audit > article.is-pending > span { color: #4b6480; background: #eef3f8; }
.zmtw-report-audit > article .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-report-audit > article strong, .zmtw-report-audit > article small { display: block; }
.zmtw-report-audit > article strong { font-size: 12px; }
.zmtw-report-audit > article small { margin-top: 3px; color: var(--zmtw-muted); font-size: 10px; line-height: 1.45; }
.zmtw-report-audit > article em { color: var(--zmtw-muted); font-size: 10px; font-style: normal; font-weight: 750; }
.zmtw-report-audit > p { padding: 14px; color: var(--zmtw-muted); background: #fff; border: 1px dashed var(--zmtw-line-strong); border-radius: 7px; font-size: 11px; line-height: 1.6; }

.zmtw-report-dialog { width: min(1260px, calc(100vw - 64px)); height: calc(100vh - 64px); max-width: none; max-height: none; overflow: hidden; }
.zmtw-report-frame { display: grid; grid-template-rows: 76px minmax(0, 1fr) 64px; height: 100%; }
.zmtw-report-frame > header, .zmtw-report-frame > footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 24px; background: #fff; }
.zmtw-report-frame > header { border-bottom: 1px solid var(--zmtw-line); }
.zmtw-report-frame > footer { border-top: 1px solid var(--zmtw-line); }
.zmtw-report-frame > header h2 { font-size: 18px; line-height: 1.25; }
.zmtw-report-frame > header p { display: flex; align-items: center; gap: 7px; margin-top: 5px; color: var(--zmtw-muted); font-size: 10px; }
.zmtw-report-frame > header p b { color: #c0c6c4; }
.zmtw-report-actions, .zmtw-report-frame > footer > div { display: flex; align-items: center; gap: 8px; }
.zmtw-report-actions .zmtw-button { min-height: 40px; }
.zmtw-report-body { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 0; background: #eef2f0; }
.zmtw-report-body > nav { padding: 22px 13px; overflow-y: auto; background: #f7f9f8; border-right: 1px solid var(--zmtw-line); }
.zmtw-report-body > nav > strong { display: block; margin: 0 11px 12px; color: #8a9491; font-size: 10px; }
.zmtw-report-body > nav button { display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: center; gap: 7px; width: 100%; min-height: 42px; padding: 8px 10px; color: #66716e; background: transparent; border: 0; border-radius: 6px; font-size: 10px; line-height: 1.45; text-align: left; cursor: pointer; }
.zmtw-report-body > nav button span { color: #a2aaa7; font-size: 8px; font-variant-numeric: tabular-nums; }
.zmtw-report-body > nav button:hover { color: var(--zmtw-ink); background: #eef3f1; }
.zmtw-report-body > nav button.is-active { color: var(--zmtw-accent); background: var(--zmtw-accent-soft); font-weight: 700; }
.zmtw-report-body > nav button.is-active span { color: var(--zmtw-accent); }
.zmtw-report-nav-status { display: flex; align-items: center; gap: 7px; margin: 11px; color: var(--zmtw-muted); font-size: 10px; }
.zmtw-report-nav-status::before { content: ""; width: 7px; height: 7px; background: #9ec8bd; border-radius: 50%; }
.zmtw-report-body > article { min-width: 0; padding: 30px 38px 70px; overflow-y: auto; scroll-behavior: smooth; }
.zmtw-report-document { width: min(910px, 100%); margin: 0 auto; color: #27312e; }
.zmtw-report-cover { position: relative; min-height: 300px; padding: 40px; overflow: hidden; color: #fff; background: #17473f; border-radius: 8px; box-shadow: 0 18px 44px rgba(18, 48, 42, .2); }
.zmtw-report-document.is-account .zmtw-report-cover { background: #2e4b69; }
.zmtw-report-cover::after { content: ""; position: absolute; top: 0; right: 0; width: 210px; height: 100%; background: rgba(255, 255, 255, .045); clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%); }
.zmtw-report-cover-mark { position: absolute; top: 38px; right: 40px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; }
.zmtw-report-cover-mark .dashicons { width: 24px; height: 24px; font-size: 24px; }
.zmtw-report-cover > span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; opacity: .66; }
.zmtw-report-cover h1 { max-width: 650px; margin-top: 27px; font-size: 34px; line-height: 1.25; }
.zmtw-report-cover > p { position: relative; z-index: 1; max-width: 700px; margin-top: 13px; color: rgba(255, 255, 255, .76); font-size: 13px; line-height: 1.8; }
.zmtw-report-cover-meta { position: absolute; right: 40px; bottom: 34px; left: 40px; z-index: 1; display: flex; align-items: flex-start; gap: 34px; }
.zmtw-report-cover-meta > span { display: grid; gap: 3px; }
.zmtw-report-cover-meta b { color: rgba(255, 255, 255, .56); font-size: 9px; font-weight: 600; }
.zmtw-report-cover-meta strong { font-size: 12px; font-weight: 720; font-variant-numeric: tabular-nums; }
.zmtw-report-section { scroll-margin-top: 26px; margin-top: 20px; padding: 30px; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(24, 48, 42, .06), 0 8px 24px rgba(24, 48, 42, .05); }
.zmtw-report-section-head { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 13px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #e7ecea; }
.zmtw-report-section-head > span { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--zmtw-accent); border-radius: 7px; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.zmtw-report-document.is-account .zmtw-report-section-head > span { background: #4b6f93; }
.zmtw-report-section-head h2 { font-size: 20px; line-height: 1.35; }
.zmtw-report-section-head p { margin-top: 4px; color: var(--zmtw-muted); font-size: 11px; }
.zmtw-report-section h3 { font-size: 14px; }
.zmtw-report-section h4 { font-size: 12px; }
.zmtw-report-section p, .zmtw-report-section li { font-size: 12px; line-height: 1.8; }
.zmtw-report-section p { color: #4f5c58; }
.zmtw-report-group + .zmtw-report-group, .zmtw-report-subsection + .zmtw-report-subsection { margin-top: 25px; }
.zmtw-report-group > h3, .zmtw-report-subsection > h3 { margin-bottom: 12px; color: #27312e; }
.zmtw-definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zmtw-definition-grid > div { padding: 15px; background: #f7f9f8; border: 1px solid #edf0ef; border-radius: 7px; }
.zmtw-definition-grid strong { display: block; margin-bottom: 5px; color: #2f4e47; font-size: 11px; }
.zmtw-definition-grid p { color: #56625e; }
.zmtw-definition-grid small { display: block; margin-top: 7px; color: #7a8581; font-size: 9px; line-height: 1.6; }
.zmtw-report-bullets { display: grid; gap: 5px; margin: 8px 0 0; padding-left: 19px; color: #4f5c58; }
.zmtw-report-bullets li::marker { color: var(--zmtw-accent); font-weight: 800; }
.zmtw-report-document.is-account .zmtw-report-bullets li::marker { color: #4b6f93; }
.zmtw-pain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.zmtw-pain-grid > article { padding: 18px; border: 1px solid #eadcdd; border-top: 3px solid #c96570; border-radius: 7px; }
.zmtw-pain-grid > article > header span { color: #b84855; font-size: 9px; font-weight: 800; }
.zmtw-pain-grid > article > header h3 { margin-top: 3px; }
.zmtw-pain-grid h4 { margin-top: 14px; color: #697470; }
.zmtw-root-cause, .zmtw-impact { margin-top: 13px; padding: 11px 12px; background: #fbf5f5; border-radius: 6px; }
.zmtw-impact { background: #faf7ef; }
.zmtw-root-cause b, .zmtw-impact b { color: #a84b57; font-size: 10px; }
.zmtw-root-cause p, .zmtw-impact p { margin-top: 3px; }
.zmtw-strategy-list { display: grid; gap: 13px; }
.zmtw-strategy-list > article { padding: 19px; border: 1px solid #dce9e4; border-left: 4px solid #4d9a83; border-radius: 7px; }
.zmtw-strategy-list > article > header { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.zmtw-strategy-list > article > header > span { display: grid; place-items: center; width: 44px; height: 36px; color: #337460; background: #eaf4f1; border-radius: 6px; font-size: 9px; font-weight: 800; }
.zmtw-strategy-list > article > header small { color: var(--zmtw-muted); font-size: 9px; }
.zmtw-metric-line { margin-top: 13px; padding: 12px; background: #f5f8f7; border-radius: 6px; }
.zmtw-metric-line > b { font-size: 10px; }
.zmtw-golden-circle { display: grid; gap: 12px; }
.zmtw-golden-circle > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 18px; padding: 20px; border: 1px solid #e4e8ec; border-radius: 8px; }
.zmtw-golden-circle > div > span { display: grid; place-items: center; width: 74px; height: 74px; color: #fff; background: #765f9b; border-radius: 50%; font-size: 14px; font-weight: 800; }
.zmtw-golden-circle .is-how > span { background: #4a8291; }
.zmtw-golden-circle .is-what > span { background: #b56f51; }
.zmtw-golden-circle > div > div > p { margin-top: 7px; }
.zmtw-report-callout { padding: 18px 20px; background: #eef6f3; border-left: 4px solid #4d9a83; border-radius: 6px; }
.zmtw-report-document.is-account .zmtw-report-callout { background: #eef3f8; border-left-color: #557b9e; }
.zmtw-report-callout b { color: #286b58; font-size: 10px; }
.zmtw-report-callout p { margin-top: 5px; font-size: 13px; }
.zmtw-competitor-table, .zmtw-account-setup-table, .zmtw-metrics-table { overflow: hidden; border: 1px solid #dfe5e2; border-radius: 7px; }
.zmtw-competitor-table > div { display: grid; grid-template-columns: 150px repeat(2, minmax(0, 1fr)); }
.zmtw-competitor-table > div > * { min-width: 0; padding: 11px 13px; border-right: 1px solid #e6ebe9; border-bottom: 1px solid #e6ebe9; }
.zmtw-competitor-table > div:last-child > * { border-bottom: 0; }
.zmtw-competitor-table > div > *:last-child { border-right: 0; }
.zmtw-competitor-table > div:first-child { color: #43514d; background: #f1f5f3; font-size: 10px; }
.zmtw-competitor-table strong { font-size: 11px; }
.zmtw-competitor-table .zmtw-report-bullets { margin-top: 0; }
.zmtw-report-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.zmtw-report-split > div { padding: 18px; background: #f7f9f8; border-radius: 7px; }
.zmtw-report-split > div > p { margin-top: 7px; }
.zmtw-report-split > div > b { display: block; margin-top: 13px; font-size: 10px; }
.zmtw-value-proposition { color: #fff; background: #276b5c !important; }
.zmtw-value-proposition > span, .zmtw-canvas-core > span { font-size: 9px; font-weight: 800; letter-spacing: .06em; opacity: .7; }
.zmtw-value-proposition h3, .zmtw-value-proposition p { color: #fff; }
.zmtw-value-proposition h3 { margin-top: 12px; font-size: 17px; }
.zmtw-value-proposition p { margin-top: 8px; opacity: .78; }
.zmtw-canvas-core { padding: 26px; color: #fff; background: #244d46; border-radius: 8px; }
.zmtw-canvas-core h3 { margin-top: 11px; font-size: 19px; line-height: 1.6; }
.zmtw-canvas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.zmtw-canvas-grid > div { padding: 19px; background: #f3f7f5; border-radius: 7px; }
.zmtw-canvas-grid > div > span { color: #71a998; font-size: 10px; font-weight: 800; }
.zmtw-canvas-grid h3 { margin-top: 5px; }
.zmtw-goal-banner { padding: 22px; color: #fff; background: #3d6388; border-radius: 8px; }
.zmtw-goal-banner > span { font-size: 9px; opacity: .7; }
.zmtw-goal-banner h3 { margin-top: 6px; font-size: 22px; }
.zmtw-goal-banner p { margin-top: 8px; color: rgba(255, 255, 255, .8); }
.zmtw-goal-banner small { display: block; margin-top: 13px; color: rgba(255, 255, 255, .7); font-size: 10px; }
.zmtw-account-setup-table > div { display: grid; grid-template-columns: 120px minmax(0, 1.35fr) minmax(0, 1fr); }
.zmtw-account-setup-table > div > * { padding: 12px 14px; border-right: 1px solid #e6ebe9; border-bottom: 1px solid #e6ebe9; }
.zmtw-account-setup-table > div > *:last-child { border-right: 0; }
.zmtw-account-setup-table > div:last-child > * { border-bottom: 0; }
.zmtw-account-setup-table > div:first-child { background: #eef3f8; font-size: 10px; }
.zmtw-account-setup-table strong { color: #436789; font-size: 11px; }
.zmtw-account-setup-table small { color: var(--zmtw-muted); font-size: 9px; line-height: 1.65; }
.zmtw-mix-bar { display: flex; height: 32px; overflow: hidden; background: #edf1f0; border-radius: 6px; }
.zmtw-mix-bar i { display: grid; place-items: center; min-width: 35px; color: #fff; background: #4c7498; border-right: 1px solid rgba(255, 255, 255, .25); font-size: 9px; font-style: normal; }
.zmtw-mix-bar i:nth-child(2) { background: #4a8a75; }
.zmtw-mix-bar i:nth-child(3) { background: #806ba2; }
.zmtw-mix-bar i:nth-child(4) { background: #b36e50; }
.zmtw-mix-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.zmtw-mix-grid > div { padding: 13px; background: #f7f9f8; border-radius: 6px; }
.zmtw-mix-grid > div > span { color: #4b6f93; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.zmtw-mix-grid h4 { margin-top: 4px; }
.zmtw-mix-grid b { display: block; margin-top: 7px; color: #6b7672; font-size: 9px; }
.zmtw-mix-grid p { margin-top: 3px; font-size: 10px; }
.zmtw-rationale { margin-top: 10px; padding: 12px 14px; background: #eef3f8; border-radius: 6px; }
.zmtw-rationale b { margin-right: 8px; color: #436789; font-size: 10px; }
.zmtw-theme-list { display: grid; gap: 9px; }
.zmtw-theme-list > article { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 13px; padding: 16px; border: 1px solid #e2e7e5; border-radius: 7px; }
.zmtw-theme-list > article > span { display: grid; place-items: center; width: 40px; height: 40px; color: #4b6f93; background: #edf3f8; border-radius: 6px; font-size: 10px; font-weight: 800; }
.zmtw-theme-list h4 { font-size: 13px; }
.zmtw-theme-list p { margin-top: 4px; }
.zmtw-theme-list b { display: block; margin-top: 9px; color: #6d7874; font-size: 9px; }
.zmtw-theme-list small { display: block; margin-top: 8px; color: #4d718f; font-size: 9px; }
.zmtw-metrics-table > div { display: grid; grid-template-columns: 110px 125px 90px minmax(0, 1fr); }
.zmtw-metrics-table > div > * { padding: 11px 12px; border-right: 1px solid #e6ebe9; border-bottom: 1px solid #e6ebe9; }
.zmtw-metrics-table > div > *:last-child { border-right: 0; }
.zmtw-metrics-table > div:last-child > * { border-bottom: 0; }
.zmtw-metrics-table > div:first-child { background: #eef3f8; font-size: 10px; }
.zmtw-metrics-table strong { font-size: 11px; }
.zmtw-metrics-table em { color: #376987; font-size: 11px; font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; }
.zmtw-metrics-table span { color: var(--zmtw-muted); font-size: 10px; }
.zmtw-risk-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zmtw-risk-list > article { padding: 16px; background: #fcf7f5; border-top: 3px solid #c87662; border-radius: 7px; }
.zmtw-risk-list > article > div { margin-top: 11px; }
.zmtw-risk-list > article b { color: #9a594a; font-size: 9px; }
.zmtw-risk-list > article > p { margin-top: 9px; }
.zmtw-persona-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 16px; background: #eef3f8; border-radius: 7px; }
.zmtw-persona-labels > b { margin-right: 6px; font-size: 11px; }
.zmtw-persona-labels > span { display: flex; align-items: center; gap: 6px; padding: 6px 9px; color: #3f617f; background: #fff; border: 1px solid #d6e0e9; border-radius: 5px; font-size: 10px; font-weight: 700; }
.zmtw-persona-labels i { display: grid; place-items: center; width: 18px; height: 18px; color: #fff; background: #53799b; border-radius: 4px; font-size: 8px; font-style: normal; }
.zmtw-trait-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zmtw-trait-grid > article { padding: 16px; border: 1px solid #dfe6e3; border-top: 3px solid #5c809f; border-radius: 7px; }
.zmtw-trait-grid p { margin-top: 5px; }
.zmtw-trait-grid small { display: block; margin-top: 11px; padding: 10px; color: #697470; background: #f5f7f6; border-radius: 5px; font-size: 9px; line-height: 1.65; }
.zmtw-trait-grid small b { display: block; margin-bottom: 3px; color: #4f5c58; }
.zmtw-iteration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.zmtw-iteration-grid > div { padding: 17px; color: #fff; background: #466c8d; border-radius: 7px; }
.zmtw-iteration-grid > div:nth-child(2) { background: #557d70; }
.zmtw-iteration-grid > div:nth-child(3) { background: #786696; }
.zmtw-iteration-grid span { font-size: 8px; font-weight: 800; opacity: .65; }
.zmtw-iteration-grid h3 { margin-top: 5px; }
.zmtw-iteration-grid .zmtw-report-bullets, .zmtw-iteration-grid .zmtw-report-bullets li { color: rgba(255, 255, 255, .82); }
.zmtw-iteration-grid .zmtw-report-bullets li::marker { color: #fff; }
.zmtw-report-loading, .zmtw-report-error { display: grid; justify-items: center; align-content: center; min-height: 100%; padding: 50px; color: var(--zmtw-muted); text-align: center; }
.zmtw-report-loader { display: grid; place-items: center; width: 64px; height: 64px; color: #fff; background: var(--zmtw-accent); border-radius: 8px; box-shadow: 0 12px 30px rgba(22, 117, 104, .22); animation: zmtw-report-pulse 1.6s ease-in-out infinite; }
.zmtw-report-loader .dashicons { width: 28px; height: 28px; font-size: 28px; }
.zmtw-report-loading h3, .zmtw-report-error h3 { margin-top: 20px; color: var(--zmtw-ink); font-size: 18px; }
.zmtw-report-loading p, .zmtw-report-error p { max-width: 520px; margin-top: 8px; font-size: 12px; line-height: 1.75; }
.zmtw-report-loading > div { width: 320px; height: 5px; margin-top: 24px; overflow: hidden; background: #dce5e2; border-radius: 3px; }
.zmtw-report-loading > div i { display: block; width: 42%; height: 100%; background: var(--zmtw-accent); border-radius: 3px; animation: zmtw-report-progress 1.8s ease-in-out infinite; }
.zmtw-report-loading small { margin-top: 10px; font-size: 9px; }
.zmtw-report-error > .dashicons { width: 42px; height: 42px; color: var(--zmtw-red); font-size: 42px; }
.zmtw-report-error .zmtw-button { margin-top: 20px; }
.zmtw-report-frame > footer > span { color: var(--zmtw-muted); font-size: 10px; }
@keyframes zmtw-report-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.06; } }
@keyframes zmtw-report-progress { 0% { translate: -110% 0; } 100% { translate: 340% 0; } }

.zmtw-toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: 380px; padding: 11px 14px; color: #fff; background: #233d38; border-radius: 6px; box-shadow: 0 12px 34px rgba(16, 40, 34, .2); font-size: 10px; }
.zmtw-toast.is-error { background: var(--zmtw-red); }

/* Desktop visual refresh: shadcn-style composition translated to the existing WordPress stack. */
body.zmt-unified-workbench-page { min-width: 1180px; }
.zmtw-shell {
  --zmtw-bg: #f4f6f5;
  --zmtw-ink: #18211f;
  --zmtw-muted: #697673;
  --zmtw-faint: #899592;
  --zmtw-line: #dfe6e3;
  --zmtw-line-strong: #d1dbd7;
  --zmtw-accent: #176c60;
  --zmtw-accent-hover: #115b51;
  --zmtw-accent-soft: #e8f3f0;
  --zmtw-shadow-border: 0 0 0 1px rgba(20, 42, 36, .07), 0 1px 2px rgba(20, 42, 36, .04), 0 6px 18px rgba(20, 42, 36, .035);
  --zmtw-shadow-hover: 0 0 0 1px rgba(20, 42, 36, .1), 0 2px 4px rgba(20, 42, 36, .05), 0 12px 28px rgba(20, 42, 36, .07);
  grid-template-columns: 232px minmax(948px, 1fr);
  font-size: 15px;
}
.zmtw-shell * { letter-spacing: 0; }
.zmtw-sidebar { padding: 0 12px 14px; background: #fbfcfb; }
.zmtw-brand { gap: 12px; padding: 0 8px; }
.zmtw-brand-mark { width: 36px; height: 36px; flex-basis: 36px; background: var(--zmtw-accent); }
.zmtw-brand strong { font-size: 15px; }
.zmtw-brand div > span { margin-top: 3px; font-size: 12px; }
.zmtw-nav { gap: 4px; padding-top: 16px; }
.zmtw-nav-label { margin: 9px 10px 5px; font-size: 12px; }
.zmtw-nav button { grid-template-columns: 22px 1fr; gap: 10px; min-height: 43px; padding: 9px 10px; border-radius: 7px; }
.zmtw-nav button b { font-size: 14px; }
.zmtw-nav button::before { top: 10px; bottom: 10px; left: -12px; width: 3px; }
.zmtw-sidebar-footer { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 14px 9px 0; }
.zmtw-avatar { width: 38px; height: 38px; font-size: 15px; }
.zmtw-sidebar-footer strong { font-size: 14px; }
.zmtw-sidebar-footer div > span { font-size: 12px; }

.zmtw-topbar { min-height: 72px; padding: 0 32px; }
.zmtw-account-switcher { gap: 10px; }
.zmtw-account-switcher > label { font-size: 13px; }
.zmtw-select-wrap select { width: 260px; height: 42px; font-size: 14px; }
.zmtw-search { grid-template-columns: 20px 220px auto; height: 42px; }
.zmtw-search input { font-size: 14px; }
.zmtw-search kbd { font-size: 12px; }
.zmtw-save-state { font-size: 13px; }
.zmtw-icon-button { width: 42px; height: 42px; }

.zmtw-main { padding: 30px 32px 48px; }
.zmtw-view { max-width: 1540px; }
.zmtw-page-head { align-items: flex-start; min-height: 68px; margin-bottom: 22px; }
.zmtw-page-head h1, .zmtw-home-head h1 { font-size: 28px; }
.zmtw-page-head p { margin-top: 7px; font-size: 15px; }
.zmtw-button { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.zmtw-tutorial { display: none; }
.zmtw-section-head h2 { font-size: 20px; }
.zmtw-section-head p, .zmtw-section-head > span { font-size: 13px; }
.zmtw-capability-card { min-height: 172px; padding: 18px; }
.zmtw-capability-card > strong { font-size: 16px; }
.zmtw-capability-card > small { font-size: 13px; line-height: 1.6; }
.zmtw-recent { grid-template-columns: 180px repeat(3, minmax(0, 1fr)); min-height: 82px; }
.zmtw-recent-label strong, .zmtw-recent-item strong { font-size: 14px; }
.zmtw-recent-label span, .zmtw-recent-item small, .zmtw-recent-empty, .zmtw-text-action { font-size: 12px; }

.zmtw-profile-layout { grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; }
.zmtw-account-summary { min-height: 0; margin-bottom: 24px; padding: 20px 22px 0; border: 1px solid var(--zmtw-line); box-shadow: var(--zmtw-shadow-border); }
.zmtw-account-title { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; min-height: 62px; padding-bottom: 18px; }
.zmtw-account-title h2 { font-size: 18px; }
.zmtw-account-title h2 small { padding: 3px 8px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 999px; font-size: 12px; }
.zmtw-account-title p { margin-top: 5px; font-size: 14px; }
.zmtw-edit-account { min-height: 40px; padding: 0 12px; border: 1px solid var(--zmtw-line); border-radius: 7px; font-size: 13px; }
.zmtw-account-facts { grid-template-columns: repeat(3, 1fr); min-height: 66px; }
.zmtw-account-facts div { padding: 10px 16px; }
.zmtw-account-facts span { font-size: 12px; }
.zmtw-account-facts strong { margin-top: 4px; font-size: 14px; }
.zmtw-account-empty h2 { font-size: 18px; }
.zmtw-account-empty p { font-size: 14px; }

.zmtw-profile-heading { align-items: flex-end; min-height: 58px; margin-bottom: 14px; }
.zmtw-profile-heading h2, .zmtw-analysis-head h2 { font-size: 20px; }
.zmtw-profile-heading p, .zmtw-analysis-head p { margin-top: 4px; font-size: 14px; }
.zmtw-profile-tools { gap: 10px; }
.zmtw-profile-tools > span { font-size: 13px; }
.zmtw-profile-tools > strong { min-width: 40px; font-size: 16px; }
.zmtw-profile-tools .zmtw-progress { width: 116px; height: 7px; border-radius: 999px; }
.zmtw-profile-tools .zmtw-button { display: none; }
.zmtw-profile-tools .zmtw-profile-activate:not([hidden]) { display: inline-flex; min-height: 40px; padding: 8px 12px; font-size: 13px; }
.zmtw-profile-tools > .zmtw-profile-activation-status { min-height: 32px; padding: 6px 9px; font-size: 12px; }
.zmtw-mode-row { gap: 14px; margin-bottom: 14px; }
.zmtw-segmented { padding: 3px; border-radius: 7px; }
.zmtw-segmented button { min-height: 38px; padding: 7px 15px; font-size: 14px; }
.zmtw-mode-row > p { font-size: 13px; }

.zmtw-module-grid { gap: 14px; }
.zmtw-module-card { grid-template-columns: 44px minmax(0, 1fr) 48px 18px; gap: 13px; min-height: 106px; padding: 18px; border: 1px solid var(--zmtw-line); box-shadow: 0 1px 2px rgba(20, 42, 36, .025); }
.zmtw-module-card.is-active { border-color: color-mix(in srgb, var(--tone) 55%, white); box-shadow: 0 0 0 2px color-mix(in srgb, var(--tone) 13%, transparent), var(--zmtw-shadow-border); }
.zmtw-module-icon { width: 44px; height: 44px; border-radius: 8px; }
.zmtw-module-icon .dashicons { width: 20px; height: 20px; font-size: 20px; }
.zmtw-module-copy strong { font-size: 16px; }
.zmtw-module-copy small { margin-top: 5px; font-size: 13px; line-height: 1.45; }
.zmtw-module-score { font-size: 14px; }
.zmtw-module-progress { height: 3px; }

.zmtw-analysis-rail { position: sticky; top: 96px; }
body.admin-bar .zmtw-analysis-rail { top: 128px; }
.zmtw-analysis-head { min-height: 64px; }
.zmtw-readiness { min-height: 114px; margin-bottom: 14px; padding: 18px; border: 1px solid var(--zmtw-line); box-shadow: var(--zmtw-shadow-border); }
.zmtw-readiness > div:first-child span { gap: 7px; font-size: 13px; }
.zmtw-readiness > div:first-child .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-readiness > div:first-child strong { font-size: 20px; }
.zmtw-readiness-bar { height: 7px; margin-top: 12px; border-radius: 999px; }
.zmtw-readiness > p { margin-top: 10px; font-size: 12px; }
.zmtw-report-list { gap: 14px; }
.zmtw-report-card { min-height: 0; padding: 0; border: 1px solid var(--zmtw-line); box-shadow: var(--zmtw-shadow-border); }
.zmtw-report-card::before { display: none; }
.zmtw-report-card header { grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 12px; padding: 18px 18px 13px; }
.zmtw-report-icon { width: 40px; height: 40px; border-radius: 8px; }
.zmtw-report-icon .dashicons { width: 19px; height: 19px; font-size: 19px; }
.zmtw-report-card h3 { font-size: 16px; }
.zmtw-report-card header p { margin-top: 4px; font-size: 13px; line-height: 1.45; }
.zmtw-report-sections { gap: 6px; min-height: 0; margin: 0; padding: 0 18px 14px 44px; background: transparent; font-size: 13px; line-height: 1.45; }
.zmtw-report-sections li::marker { font-size: 10px; }
.zmtw-report-card-footer { padding: 14px 18px 16px; background: #fafbfb; border-top: 1px solid var(--zmtw-line); }
.zmtw-report-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.zmtw-report-actions-row button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 12px; border-radius: 7px; font-size: 14px; font-weight: 720; cursor: pointer; }
.zmtw-report-actions-row .zmtw-report-generate { color: #fff; background: var(--zmtw-accent); border: 1px solid var(--zmtw-accent); box-shadow: 0 5px 14px rgba(23, 108, 96, .17); }
.zmtw-report-actions-row .zmtw-report-generate:hover { background: var(--zmtw-accent-hover); }
.zmtw-report-actions-row .zmtw-report-view { color: #34413e; background: #fff; border: 1px solid var(--zmtw-line-strong); }
.zmtw-report-actions-row .zmtw-report-view:hover { background: #f6f8f7; border-color: #bcc9c4; }
.zmtw-report-actions-row .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-report-card-footer > small { display: block; margin-top: 10px; color: var(--zmtw-faint); font-size: 12px; line-height: 1.45; }
.zmtw-analysis-note { gap: 7px; margin-top: 12px; font-size: 12px; line-height: 1.6; }
.zmtw-analysis-note .dashicons { width: 15px; height: 15px; flex-basis: 15px; font-size: 15px; }

.zmtw-inline-editor { margin-top: 18px; border: 1px solid var(--zmtw-line-strong); }
.zmtw-inline-editor form > header { padding: 21px 22px; }
.zmtw-inline-editor h2 { font-size: 18px; }
.zmtw-inline-editor h2 small { padding: 3px 7px; font-size: 12px; }
.zmtw-inline-editor header p { margin-top: 4px; font-size: 14px; }
.zmtw-inline-editor form > header > div:last-child strong { font-size: 18px; }
.zmtw-inline-editor form > header > div:last-child span { font-size: 12px; }
.zmtw-editor-meta { padding: 10px 22px; }
.zmtw-editor-meta > span, .zmtw-editor-meta button { font-size: 13px; }
.zmtw-editor-content { padding: 22px; }
.zmtw-editor-guide, .zmtw-editor-tip { padding: 15px 16px; }
.zmtw-editor-guide strong, .zmtw-editor-tip strong { font-size: 14px; }
.zmtw-editor-guide p, .zmtw-editor-tip p { font-size: 13px; }
.zmtw-field-grid { gap: 18px; }
.zmtw-field-heading label, .zmtw-dialog-body label { font-size: 14px; }
.zmtw-field-heading p { font-size: 13px; }
.zmtw-field-group { font-size: 15px; }
.zmtw-field input, .zmtw-field select, .zmtw-field textarea, .zmtw-dialog-body input, .zmtw-dialog-body select, .zmtw-dialog-body textarea { min-height: 46px; padding: 11px 13px; border-radius: 7px; font-size: 15px; }
.zmtw-field textarea, .zmtw-dialog-body textarea { min-height: 112px; }
.zmtw-structured-entry > button, .zmtw-tag-option > span, .zmtw-selected-tag, .zmtw-list-item p, .zmtw-structured-empty { font-size: 13px; }
.zmtw-tag-option { min-height: 44px; }
.zmtw-list-item > span { font-size: 12px; }
.zmtw-supplementary-examples > h3 { font-size: 16px; }
.zmtw-supplementary-examples > p { font-size: 13px; }
.zmtw-supplementary-examples article strong { font-size: 14px; }
.zmtw-supplementary-examples article p { font-size: 13px; }

.zmtw-dialog { font-size: 15px; }
.zmtw-dialog form > header, .zmtw-dialog form > footer, .zmtw-dialog-frame > header, .zmtw-dialog-frame > footer { padding: 20px 24px; }
.zmtw-dialog header h2 { font-size: 20px; }
.zmtw-dialog header p { margin-top: 5px; font-size: 14px; }
.zmtw-dialog-body { padding: 22px 24px; }
.zmtw-account-dialog form > header p, .zmtw-account-notice p, .zmtw-account-label, .zmtw-account-dialog .zmtw-account-field > input, .zmtw-account-dialog .zmtw-account-field > select, .zmtw-account-dialog .zmtw-account-field > textarea { font-size: 15px; }
.zmtw-account-label output, .zmtw-account-dialog .zmtw-account-field > small { font-size: 13px; }
.zmtw-account-dialog form > footer .zmtw-button { font-size: 14px; }
.zmtw-goal-copy strong { font-size: 16px; }
.zmtw-goal-copy small, .zmtw-goal-copy i { font-size: 13px; }
.zmtw-history-list strong { font-size: 15px; }
.zmtw-history-list small, .zmtw-history-list em { font-size: 13px; }
.zmtw-toast { padding: 13px 15px; border-radius: 7px; font-size: 14px; }

.zmtw-missing-dialog { width: 650px; }
.zmtw-missing-body { padding: 22px 24px 25px; }
.zmtw-missing-alert { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 15px; color: #74404a; background: #fff1f2; border: 1px solid #f1d7db; border-radius: 7px; }
.zmtw-missing-alert > .dashicons { display: grid; place-items: center; width: 38px; height: 38px; padding-top: 9px; color: var(--zmtw-red); background: #fff; border-radius: 7px; font-size: 19px; }
.zmtw-missing-alert strong { display: block; font-size: 15px; }
.zmtw-missing-alert p { margin-top: 3px; font-size: 13px; line-height: 1.55; }
.zmtw-missing-label { margin: 20px 0 10px; color: var(--zmtw-muted); font-size: 13px; font-weight: 680; }
.zmtw-missing-list { display: grid; gap: 8px; }
.zmtw-missing-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px 13px; background: #fafbfb; border: 1px solid var(--zmtw-line); border-radius: 7px; }
.zmtw-missing-item .zmtw-module-icon { width: 40px; height: 40px; }
.zmtw-missing-item .zmtw-module-icon.is-blue { --tone: var(--zmtw-blue); --tone-soft: var(--zmtw-blue-soft); }
.zmtw-missing-item .zmtw-module-icon.is-violet { --tone: var(--zmtw-violet); --tone-soft: var(--zmtw-violet-soft); }
.zmtw-missing-item .zmtw-module-icon.is-orange { --tone: var(--zmtw-orange); --tone-soft: var(--zmtw-orange-soft); }
.zmtw-missing-item .zmtw-module-icon.is-green { --tone: var(--zmtw-accent); --tone-soft: var(--zmtw-accent-soft); }
.zmtw-missing-item .zmtw-module-icon.is-purple { --tone: var(--zmtw-purple); --tone-soft: var(--zmtw-purple-soft); }
.zmtw-missing-item .zmtw-module-icon.is-gold { --tone: var(--zmtw-gold); --tone-soft: var(--zmtw-gold-soft); }
.zmtw-missing-item .zmtw-module-icon.is-gray { --tone: #7c8582; --tone-soft: #f0f3f2; }
.zmtw-missing-item strong, .zmtw-missing-item small { display: block; }
.zmtw-missing-item strong { font-size: 14px; }
.zmtw-missing-item small { margin-top: 2px; color: var(--zmtw-muted); font-size: 12px; }
.zmtw-missing-item em { color: var(--zmtw-red); font-size: 12px; font-style: normal; font-weight: 680; }

.zmtw-report-dialog { width: min(1440px, calc(100vw - 64px)); height: calc(100vh - 64px); }
.zmtw-report-frame { grid-template-rows: 80px minmax(0, 1fr) 68px; }
.zmtw-report-frame > header h2 { font-size: 21px; }
.zmtw-report-frame > header p, .zmtw-report-frame > footer > span { font-size: 13px; }
.zmtw-report-body { grid-template-columns: 240px minmax(0, 1fr); }
.zmtw-report-body > nav > strong, .zmtw-report-body > nav button, .zmtw-report-nav-status { font-size: 14px; }
.zmtw-report-body > nav button span { font-size: 12px; }
.zmtw-report-body > article { padding: 32px 40px 72px; }
.zmtw-report-document { width: min(980px, 100%); }
.zmtw-report-cover > span, .zmtw-report-cover-meta b { font-size: 13px; }
.zmtw-report-cover h1 { font-size: 36px; }
.zmtw-report-cover > p { font-size: 15px; }
.zmtw-report-cover-meta strong { font-size: 14px; }
.zmtw-report-section { padding: 32px; }
.zmtw-report-section-head h2 { font-size: 22px; }
.zmtw-report-section-head p { font-size: 14px; }
.zmtw-report-section h3 { font-size: 17px; }
.zmtw-report-section h4 { font-size: 15px; }
.zmtw-report-section p, .zmtw-report-section li { font-size: 15px; line-height: 1.8; }
.zmtw-definition-grid strong, .zmtw-competitor-table strong, .zmtw-account-setup-table strong, .zmtw-metrics-table strong { font-size: 14px; }
.zmtw-definition-grid small, .zmtw-strategy-list > article > header small, .zmtw-account-setup-table small, .zmtw-theme-list small, .zmtw-trait-grid small { font-size: 13px; }
.zmtw-pain-grid > article > header span, .zmtw-root-cause b, .zmtw-impact b, .zmtw-metric-line > b, .zmtw-report-callout b, .zmtw-report-split > div > b, .zmtw-canvas-grid > div > span, .zmtw-theme-list b, .zmtw-rationale b, .zmtw-risk-list > article b, .zmtw-persona-labels > b { font-size: 13px; }
.zmtw-competitor-table > div:first-child, .zmtw-account-setup-table > div:first-child, .zmtw-metrics-table > div:first-child { font-size: 13px; }
.zmtw-mix-bar i, .zmtw-mix-grid b, .zmtw-mix-grid p, .zmtw-metrics-table span, .zmtw-persona-labels > span, .zmtw-iteration-grid span { font-size: 13px; }
.zmtw-report-loading p, .zmtw-report-error p { font-size: 15px; }
.zmtw-report-loading small { font-size: 13px; }

/* Account management */
.zmtw-accounts-section + .zmtw-accounts-section { margin-top: 24px; }
.zmtw-accounts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.zmtw-management-card { --account-tone: var(--zmtw-accent); --account-soft: var(--zmtw-accent-soft); display: grid; grid-template-rows: auto minmax(52px, auto) auto auto auto; min-width: 0; min-height: 318px; padding: 18px 18px 0; overflow: hidden; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: var(--zmtw-shadow-border); transition: border-color 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out; }
.zmtw-management-card:hover { transform: translateY(-1px); box-shadow: var(--zmtw-shadow-hover); }
.zmtw-management-card.is-current { border-color: rgba(22, 117, 104, .34); box-shadow: 0 0 0 1px rgba(22, 117, 104, .09), 0 8px 22px rgba(20, 42, 36, .07); }
.zmtw-management-card.is-violet { --account-tone: var(--zmtw-violet); --account-soft: var(--zmtw-violet-soft); }
.zmtw-management-card.is-blue { --account-tone: var(--zmtw-blue); --account-soft: var(--zmtw-blue-soft); }
.zmtw-management-card > header { display: grid; grid-template-columns: 48px minmax(0, 1fr) 40px; align-items: center; gap: 12px; }
.zmtw-management-avatar { display: grid; place-items: center; width: 48px; height: 48px; color: var(--account-tone); background: var(--account-soft); border-radius: 8px; font-size: 18px; font-weight: 780; }
.zmtw-management-card > header h3 { overflow: hidden; font-size: 17px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-management-card > header p { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin-top: 4px; color: var(--zmtw-muted); font-size: 13px; }
.zmtw-management-card > header p b { display: inline-flex; align-items: center; gap: 4px; color: var(--zmtw-accent); font-size: 12px; font-weight: 680; }
.zmtw-management-card > header p .zmtw-account-profile-state { padding: 3px 6px; border-radius: 4px; }
.zmtw-management-card > header p .zmtw-account-profile-state.is-active { color: #276545; background: #e8f5ed; }
.zmtw-management-card > header p .zmtw-account-profile-state.is-draft { color: #87590d; background: #fff0cc; }
.zmtw-management-card > header p .zmtw-account-profile-state.is-pending { color: #766b58; background: #f2eee7; }
.zmtw-management-card > header p .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-account-card-menu, .zmtw-account-current-icon { display: grid; place-items: center; width: 40px; height: 40px; min-height: 40px; padding: 0; color: var(--zmtw-muted); background: transparent; border: 0; border-radius: 7px; }
.zmtw-account-card-menu { cursor: pointer; }
.zmtw-account-card-menu:hover { color: var(--zmtw-accent); background: var(--zmtw-accent-soft); }
.zmtw-account-current-icon { color: var(--zmtw-accent); }
.zmtw-account-card-menu .dashicons, .zmtw-account-current-icon .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-management-description { padding: 16px 0 13px; color: #66716e; font-size: 13px; line-height: 1.65; }
.zmtw-positioning-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 12px 0; border-top: 1px solid var(--zmtw-line); border-bottom: 1px solid var(--zmtw-line); }
.zmtw-positioning-status strong, .zmtw-positioning-status small { display: block; }
.zmtw-positioning-status strong { font-size: 14px; }
.zmtw-positioning-status small { margin-top: 2px; color: var(--zmtw-faint); font-size: 12px; }
.zmtw-positioning-status > b { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; font-size: 13px; font-weight: 720; }
.zmtw-positioning-status > b.is-complete { color: var(--zmtw-accent); }
.zmtw-positioning-status > b.is-pending { color: #9a741d; }
.zmtw-positioning-status > b .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-management-progress { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 14px 0 17px; }
.zmtw-management-progress > span { color: var(--zmtw-muted); font-size: 13px; }
.zmtw-management-progress > strong { color: var(--zmtw-accent); font-size: 14px; font-variant-numeric: tabular-nums; }
.zmtw-management-progress > i { grid-column: 1 / -1; display: block; height: 6px; overflow: hidden; background: #edf1ef; border-radius: 999px; }
.zmtw-management-progress > i > em { display: block; height: 100%; background: var(--zmtw-accent); border-radius: inherit; transition: width 220ms ease-out; }
.zmtw-management-card > footer { display: grid; grid-template-columns: auto auto auto minmax(0, 1fr); align-items: center; gap: 8px; min-height: 64px; margin: 0 -18px; padding: 10px 18px; background: #fbfcfc; border-top: 1px solid var(--zmtw-line); }
.zmtw-management-switch, .zmtw-management-positioning, .zmtw-management-edit { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 12px; color: #53605c; background: #fff; border: 1px solid var(--zmtw-line-strong); border-radius: 7px; font-size: 13px; font-weight: 690; cursor: pointer; }
.zmtw-management-switch { color: #51605b; white-space: nowrap; }
.zmtw-management-switch:hover { color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-color: rgba(22, 117, 104, .42); }
.zmtw-management-current { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border: 1px solid rgba(22, 117, 104, .2); border-radius: 7px; font-size: 13px; font-weight: 720; white-space: nowrap; }
.zmtw-management-positioning { color: var(--zmtw-accent); border-color: rgba(22, 117, 104, .28); white-space: nowrap; }
.zmtw-management-positioning:hover { background: var(--zmtw-accent-soft); border-color: rgba(22, 117, 104, .42); }
.zmtw-management-edit:hover { background: #f4f7f6; }
.zmtw-management-positioning .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-management-card > footer > span { justify-self: end; color: var(--zmtw-faint); font-size: 12px; white-space: nowrap; }
.zmtw-add-account-card { display: grid; place-content: center; justify-items: center; gap: 10px; min-height: 318px; padding: 24px; color: var(--zmtw-muted); background: rgba(255, 255, 255, .34); border: 1px dashed #c8d1ce; border-radius: 8px; cursor: pointer; transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out; }
.zmtw-add-account-card:hover { color: var(--zmtw-accent); background: #fff; border-color: rgba(22, 117, 104, .5); }
.zmtw-add-account-card > span { display: grid; place-items: center; width: 48px; height: 48px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 8px; }
.zmtw-add-account-card > span .dashicons { width: 20px; height: 20px; font-size: 20px; }
.zmtw-add-account-card > strong { font-size: 15px; }
.zmtw-add-account-card > small { color: var(--zmtw-faint); font-size: 13px; }
.zmtw-accounts-empty { grid-column: 1 / -1; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 108px; padding: 20px; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-accounts-empty > span { display: grid; place-items: center; width: 48px; height: 48px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 8px; }
.zmtw-accounts-empty h3 { font-size: 17px; }
.zmtw-accounts-empty p { margin-top: 3px; color: var(--zmtw-muted); font-size: 13px; }

.zmtw-content-panel { overflow: hidden; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-content-toolbar { display: grid; grid-template-columns: auto 150px 150px minmax(200px, 1fr); align-items: center; gap: 10px; min-height: 64px; padding: 10px 16px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-content-segments { display: inline-flex; align-items: center; padding: 3px; background: #f1f4f3; border-radius: 7px; }
.zmtw-content-segments button { min-height: 36px; padding: 0 13px; color: var(--zmtw-muted); background: transparent; border: 0; border-radius: 5px; font-size: 13px; font-weight: 650; cursor: pointer; }
.zmtw-content-segments button.is-active { color: var(--zmtw-ink); background: #fff; box-shadow: 0 1px 4px rgba(20, 42, 36, .11); }
.zmtw-content-toolbar > select { width: 100%; height: 42px; padding: 0 32px 0 12px; color: #56615e; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 7px; font-size: 13px; }
.zmtw-content-search { justify-self: end; display: grid; grid-template-columns: 18px minmax(0, 180px); align-items: center; gap: 7px; width: min(100%, 220px); height: 42px; padding: 0 12px; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 7px; }
.zmtw-content-search .dashicons { width: 17px; height: 17px; color: var(--zmtw-faint); font-size: 17px; }
.zmtw-content-search input { min-width: 0; padding: 0; background: transparent; border: 0; font-size: 13px; outline: 0; }
.zmtw-content-table { min-width: 890px; }
.zmtw-content-table-head, .zmtw-content-row { display: grid; grid-template-columns: minmax(260px, 2fr) minmax(145px, 1fr) minmax(110px, .8fr) minmax(90px, .65fr) minmax(120px, .75fr) 46px; align-items: center; gap: 12px; padding: 0 16px; }
.zmtw-content-table-head { min-height: 44px; color: var(--zmtw-muted); background: #fafbfb; border-bottom: 1px solid var(--zmtw-line); font-size: 12px; font-weight: 670; }
.zmtw-content-row { min-height: 64px; color: #5e6966; border-bottom: 1px solid #edf0ef; font-size: 13px; }
.zmtw-content-row:last-child { border-bottom: 0; }
.zmtw-content-row:hover { background: #fcfdfd; }
.zmtw-content-name, .zmtw-content-account { display: flex; align-items: center; min-width: 0; gap: 10px; }
.zmtw-content-name > span { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; color: var(--zmtw-blue); background: var(--zmtw-blue-soft); border-radius: 7px; }
.zmtw-content-name > span.is-violet { color: var(--zmtw-violet); background: var(--zmtw-violet-soft); }
.zmtw-content-name > span.is-gold { color: var(--zmtw-gold); background: var(--zmtw-gold-soft); }
.zmtw-content-name > span.is-green { color: var(--zmtw-accent); background: var(--zmtw-accent-soft); }
.zmtw-content-name .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-content-name strong, .zmtw-content-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-content-name strong { color: var(--zmtw-ink); font-size: 14px; }
.zmtw-content-name small { margin-top: 2px; color: var(--zmtw-faint); font-size: 12px; }
.zmtw-content-account i { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 6px; font-size: 11px; font-style: normal; font-weight: 720; }
.zmtw-content-account span { overflow: hidden; color: #4e5a57; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-content-row > b { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; }
.zmtw-content-row > b.is-complete { color: var(--zmtw-accent); }
.zmtw-content-row > b.is-pending { color: #987019; }
.zmtw-content-row > b.is-progress { color: var(--zmtw-blue); }
.zmtw-content-row > b .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-content-actions { display: flex; justify-content: flex-end; }
.zmtw-content-actions a, .zmtw-content-actions button { display: grid; place-items: center; width: 40px; height: 40px; min-height: 40px; padding: 0; color: #6f7a77; background: transparent; border: 0; border-radius: 7px; text-decoration: none; cursor: pointer; }
.zmtw-content-actions a:hover, .zmtw-content-actions button:hover { color: var(--zmtw-accent); background: var(--zmtw-accent-soft); }
.zmtw-content-actions .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-content-empty { display: grid; place-items: center; min-height: 164px; padding: 30px; color: var(--zmtw-faint); text-align: center; }
.zmtw-content-empty > .dashicons { width: 28px; height: 28px; color: var(--zmtw-accent); font-size: 28px; }
.zmtw-content-empty strong { margin-top: 10px; color: #53605c; font-size: 15px; }
.zmtw-content-empty span { margin-top: 3px; font-size: 13px; }

@media (max-width: 1380px) {
  .zmtw-main { padding-right: 24px; padding-left: 24px; }
  .zmtw-profile-layout { grid-template-columns: minmax(0, 1fr) 344px; gap: 18px; }
  .zmtw-search { grid-template-columns: 18px 165px auto; }
  .zmtw-account-facts div { padding-right: 12px; padding-left: 12px; }
  .zmtw-module-card { grid-template-columns: 44px minmax(0, 1fr) 43px 16px; padding: 16px; }
}

@media print {
  body.zmt-unified-workbench-page * { visibility: hidden !important; }
  body.zmt-unified-workbench-page .zmtw-report-dialog:not([open]) { display: none !important; }
  body.zmt-unified-workbench-page .zmtw-report-dialog[open],
  body.zmt-unified-workbench-page .zmtw-report-dialog[open] * { visibility: visible !important; }
  body.zmt-unified-workbench-page .zmtw-report-dialog[open] { position: absolute; inset: 0; width: 100%; height: auto; margin: 0; overflow: visible; border-radius: 0; box-shadow: none; }
  body.zmt-unified-workbench-page .zmtw-report-frame { display: block; height: auto; }
  body.zmt-unified-workbench-page .zmtw-report-frame > header,
  body.zmt-unified-workbench-page .zmtw-report-frame > footer,
  body.zmt-unified-workbench-page .zmtw-report-body > nav { display: none !important; }
  body.zmt-unified-workbench-page .zmtw-report-body { display: block; background: #fff; }
  body.zmt-unified-workbench-page .zmtw-report-body > article { padding: 0; overflow: visible; }
  body.zmt-unified-workbench-page .zmtw-report-document { width: 100%; }
  body.zmt-unified-workbench-page .zmtw-report-cover,
  body.zmt-unified-workbench-page .zmtw-report-section { break-inside: avoid; box-shadow: none; }
}

/* Native strong-judgment script writer: integrated into the workbench shell. */
.zmtw-jinqiang-view { max-width: 1320px; }
.zmtw-jinqiang-workspace { display: grid; gap: 20px; padding-bottom: 42px; }
.zmtw-jinqiang-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 4px 0 2px; }
.zmtw-jinqiang-head > div:first-child { min-width: 0; }
.zmtw-jq-back { display: inline-flex; align-items: center; gap: 5px; min-height: 30px !important; padding: 0; color: #7c5a08; background: transparent; border: 0; font-size: 13px; font-weight: 750; cursor: pointer; }
.zmtw-jq-back .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-jinqiang-head h1 { margin-top: 8px; color: #181714; font-size: 30px; line-height: 1.25; }
.zmtw-jinqiang-head p { max-width: 690px; margin-top: 8px; color: #706b5f; font-size: 15px; line-height: 1.72; }
.zmtw-jq-head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex: 0 0 auto; }
.zmtw-jq-head-actions .zmtw-button { min-height: 42px; white-space: nowrap; }
.zmtw-jq-cost { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; color: #6a5317; background: #fff4ca; border: 1px solid #ecd78b; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.zmtw-jq-cost .dashicons { width: 16px; height: 16px; color: #a57b12; font-size: 16px; }
.zmtw-jq-cost b { color: #3b2e0e; font-size: 13px; }
.zmtw-jq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.zmtw-jq-editor { display: grid; gap: 18px; min-width: 0; }
.zmtw-jq-panel { overflow: hidden; background: #ffffff; border: 1px solid #e5dfd2; border-radius: 7px; box-shadow: 0 7px 18px rgba(42, 33, 13, .045); }
.zmtw-jq-panel > header { display: flex; align-items: center; gap: 12px; min-height: 81px; padding: 15px 20px; background: #fcfaf4; border-bottom: 1px solid #ebe5d8; }
.zmtw-jq-panel-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; color: #211c10; background: #f1c94c; border-radius: 6px; }
.zmtw-jq-panel-icon.is-dark { color: #f4d365; background: #211f19; }
.zmtw-jq-panel-icon .dashicons { width: 20px; height: 20px; font-size: 20px; }
.zmtw-jq-panel h2 { color: #24211a; font-size: 17px; line-height: 1.35; }
.zmtw-jq-panel header p { margin-top: 3px; color: #777064; font-size: 13px; }
.zmtw-jq-fields { display: grid; gap: 14px; padding: 0 20px; }
.zmtw-jq-panel > .zmtw-jq-fields:first-of-type { padding-top: 19px; }
.zmtw-jq-panel > .zmtw-jq-fields:last-of-type { padding-bottom: 20px; }
.zmtw-jq-fields-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zmtw-jq-fields-three { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 14px; }
.zmtw-jq-field { display: grid; gap: 7px; min-width: 0; }
.zmtw-jq-field > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #4d493f; }
.zmtw-jq-field > span b { font-size: 13px; font-weight: 760; }
.zmtw-jq-field > span em { color: #a19a8c; font-size: 11px; font-style: normal; font-variant-numeric: tabular-nums; }
.zmtw-jq-field textarea,
.zmtw-jq-field select { width: 100%; color: #292720; background: #ffffff; border: 1px solid #ded8cb; border-radius: 5px; font-size: 14px; line-height: 1.65; outline: 0; transition: border-color 150ms ease, box-shadow 150ms ease; }
.zmtw-jq-field textarea { min-height: 88px; padding: 10px 11px; resize: vertical; }
.zmtw-jq-field select { height: 40px; padding: 0 10px; cursor: pointer; }
.zmtw-jq-field textarea::placeholder { color: #aaa396; }
.zmtw-jq-field textarea:focus,
.zmtw-jq-field select:focus { border-color: #c69b24; box-shadow: 0 0 0 3px rgba(212, 175, 55, .16); }
.zmtw-jq-field > small { min-height: 17px; color: #9b9487; font-size: 11px; line-height: 1.45; }
.zmtw-jq-status { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 10px; align-items: start; padding: 13px 15px; color: #5f4c16; background: #fff7d9; border: 1px solid #ecd78b; border-left: 3px solid #d4af37; border-radius: 6px; }
.zmtw-jq-status .dashicons { width: 19px; height: 19px; color: #a57b12; font-size: 19px; }
.zmtw-jq-status strong { display: block; color: #3d3010; font-size: 13px; }
.zmtw-jq-status p { margin-top: 2px; color: #6a5a2b; font-size: 13px; line-height: 1.6; }
.zmtw-jq-status.is-error { color: #7e2830; background: #fff0f1; border-color: #efc7ca; border-left-color: #bc4a52; }
.zmtw-jq-status.is-error .dashicons,
.zmtw-jq-status.is-error strong { color: #9d3139; }
.zmtw-jq-status.is-error p { color: #805158; }
.zmtw-jq-status.is-busy { background: #f4f0e3; border-color: #dbcfaa; border-left-color: #8e722d; }
.zmtw-jq-status.is-busy .dashicons { animation: zmtw-jq-spin 1s linear infinite; }
@keyframes zmtw-jq-spin { to { transform: rotate(360deg); } }

.zmtw-jq-rail { display: grid; gap: 16px; min-width: 0; }
.zmtw-jq-rail > section { overflow: hidden; background: #ffffff; border: 1px solid #e5dfd2; border-radius: 7px; box-shadow: 0 7px 18px rgba(42, 33, 13, .045); }
.zmtw-jq-rail > section:first-child > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid #ebe5d8; }
.zmtw-jq-rail > section:first-child header span,
.zmtw-jq-method > span { display: block; color: #a57b12; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.zmtw-jq-rail > section:first-child h2,
.zmtw-jq-method h2 { margin-top: 4px; color: #24211a; font-size: 16px; }
.zmtw-jq-rail > section:first-child > header button { display: grid; place-items: center; width: 31px; min-height: 31px !important; padding: 0; color: #6c624f; background: #faf7ee; border: 1px solid #e8ddc3; border-radius: 5px; cursor: pointer; }
.zmtw-jq-rail > section:first-child > header button:hover { color: #4d3910; background: #fff0bc; }
.zmtw-jq-rail > section:first-child > header button .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-jq-project-list { display: grid; gap: 3px; max-height: 310px; padding: 8px; overflow-y: auto; }
.zmtw-jq-project-list > p { margin: 7px 6px; color: #938d81; font-size: 12px; line-height: 1.6; }
.zmtw-jq-project-list button { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: center; width: 100%; min-height: 54px !important; padding: 8px; color: #585246; background: transparent; border: 0; border-radius: 5px; text-align: left; cursor: pointer; }
.zmtw-jq-project-list button:hover { background: #faf7ee; }
.zmtw-jq-project-list button.is-active { color: #44320d; background: #fff3c8; }
.zmtw-jq-project-list button > .dashicons { width: 18px; height: 18px; color: #b18a21; font-size: 18px; }
.zmtw-jq-project-list strong,
.zmtw-jq-project-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-jq-project-list strong { font-size: 12px; font-weight: 750; }
.zmtw-jq-project-list small { margin-top: 2px; color: #9b9487; font-size: 10px; }
.zmtw-jq-rail > section:first-child > footer { display: grid; grid-template-columns: 1fr 1.1fr; gap: 7px; padding: 12px; border-top: 1px solid #ebe5d8; }
.zmtw-jq-rail > section:first-child > footer .zmtw-button { min-height: 38px; padding: 0 8px; font-size: 12px; }
.zmtw-jq-method { padding: 18px; color: #f3e4af; background: #211f19 !important; border-color: #211f19 !important; border-top: 3px solid #d4af37 !important; }
.zmtw-jq-method > span { color: #e8c350; }
.zmtw-jq-method h2 { color: #ffffff; }
.zmtw-jq-method ol { display: grid; gap: 10px; margin: 16px 0 13px; padding: 0; list-style: none; }
.zmtw-jq-method li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; align-items: center; color: #ded3b8; font-size: 12px; line-height: 1.5; }
.zmtw-jq-method li b { display: grid; place-items: center; width: 23px; height: 23px; color: #272012; background: #e9c852; border-radius: 4px; font-size: 10px; }
.zmtw-jq-method p { padding-top: 12px; color: #bfb499; border-top: 1px solid rgba(232, 195, 80, .22); font-size: 11px; line-height: 1.65; }

.zmtw-jq-results { overflow: hidden; background: #ffffff; border: 1px solid #ded8cb; border-top: 4px solid #d4af37; border-radius: 7px; box-shadow: 0 12px 26px rgba(42, 33, 13, .06); }
.zmtw-jq-results > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 90px; padding: 17px 21px; background: #211f19; }
.zmtw-jq-results > header > div:first-child > span { display: block; color: #e8c350; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.zmtw-jq-results > header h2 { margin-top: 3px; color: #ffffff; font-size: 19px; }
.zmtw-jq-results > header p { margin-top: 3px; color: #cec3a9; font-size: 12px; }
.zmtw-jq-result-actions { display: flex; align-items: center; gap: 8px; }
.zmtw-jq-result-actions .zmtw-button { min-height: 38px; font-size: 12px; white-space: nowrap; }
.zmtw-jq-result-actions .zmtw-button-secondary { color: #ffffff; background: transparent; border-color: rgba(255,255,255,.34); }
.zmtw-jq-result-actions .zmtw-button-secondary:hover { background: rgba(255,255,255,.1); }
.zmtw-jq-result-state { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 9px 12px; color: #4d3b0d; background: #f1c94c; border-radius: 5px; font-size: 12px; }
.zmtw-jq-result-state .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-jq-output-placeholder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.zmtw-jq-output-placeholder article { min-width: 0; min-height: 148px; padding: 24px; border-right: 1px solid #e7e1d4; }
.zmtw-jq-output-placeholder article:last-child { border-right: 0; }
.zmtw-jq-output-placeholder span { display: block; color: #b18a21; font-size: 12px; font-weight: 800; }
.zmtw-jq-output-placeholder strong { display: block; margin-top: 12px; color: #252119; font-size: 16px; }
.zmtw-jq-output-placeholder p { margin-top: 7px; color: #817a6d; font-size: 13px; line-height: 1.65; }
.zmtw-jq-judgment { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(210px, .7fr); gap: 0; border-bottom: 1px solid #e7e1d4; }
.zmtw-jq-judgment > div { min-width: 0; padding: 21px 24px; }
.zmtw-jq-judgment > div > span,
.zmtw-jq-compare span { display: block; color: #96804c; font-size: 11px; font-weight: 800; }
.zmtw-jq-judgment h3 { margin-top: 7px; color: #2b261b; font-size: 20px; line-height: 1.45; }
.zmtw-jq-reframe { background: #fff2bd; border-left: 1px solid #e7d490; }
.zmtw-jq-reframe p { margin-top: 7px; color: #573e08; font-size: 16px; font-weight: 750; line-height: 1.6; }
.zmtw-jq-compare { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #e7e1d4; }
.zmtw-jq-compare article { min-width: 0; padding: 16px 24px; }
.zmtw-jq-compare article + article { background: #fcfaf4; border-left: 1px solid #e7e1d4; }
.zmtw-jq-compare p { margin-top: 5px; color: #5e574a; font-size: 14px; line-height: 1.7; }
.zmtw-jq-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zmtw-jq-result-grid > section { min-width: 0; padding: 24px; border-right: 1px solid #e7e1d4; }
.zmtw-jq-result-grid > section:last-child { border-right: 0; }
.zmtw-jq-result-grid > section > header,
.zmtw-jq-script-output > header,
.zmtw-jq-publish-output > header { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 10px; align-items: start; margin-bottom: 16px; }
.zmtw-jq-result-grid > section > header > span,
.zmtw-jq-script-output > header > span,
.zmtw-jq-publish-output > header > span { display: grid; place-items: center; width: 29px; height: 29px; color: #513d0d; background: #f7de79; border-radius: 4px; font-size: 11px; font-weight: 800; }
.zmtw-jq-result-grid h3,
.zmtw-jq-script-output h3,
.zmtw-jq-publish-output h3 { color: #2b261b; font-size: 16px; line-height: 1.4; }
.zmtw-jq-result-grid header p,
.zmtw-jq-script-output header p,
.zmtw-jq-publish-output header p { margin-top: 2px; color: #8a8375; font-size: 12px; line-height: 1.55; }
.zmtw-jq-interest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.zmtw-jq-interest-grid article { min-width: 0; padding: 12px; background: #fcfaf4; border: 1px solid #e8e1d2; border-radius: 5px; }
.zmtw-jq-interest-grid span { color: #9a7b28; font-size: 11px; font-weight: 800; }
.zmtw-jq-interest-grid h3 { margin-top: 5px; font-size: 14px; }
.zmtw-jq-interest-grid p { margin-top: 7px; color: #655e51; font-size: 12px; line-height: 1.55; }
.zmtw-jq-interest-grid small { display: block; margin-top: 7px; color: #8d8578; font-size: 11px; line-height: 1.55; }
.zmtw-jq-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; padding: 13px; background: #fff8de; border-left: 3px solid #d4af37; }
.zmtw-jq-evidence > div { min-width: 0; }
.zmtw-jq-evidence > p { grid-column: 1 / -1; margin: 0; padding-top: 10px; color: #645521; border-top: 1px solid #e9d990; font-size: 12px; line-height: 1.65; }
.zmtw-jq-evidence b { color: #625020; font-size: 12px; }
.zmtw-jq-evidence ul { display: grid; gap: 5px; margin: 7px 0 0; padding-left: 16px; color: #6d644e; font-size: 11px; line-height: 1.55; }
.zmtw-jq-empty-copy { margin: 0; color: #969082; font-size: 12px; line-height: 1.6; }
.zmtw-jq-title-grid { display: grid; gap: 8px; }
.zmtw-jq-title-grid article { padding: 12px 13px; background: #fcfaf4; border: 1px solid #e8e1d2; border-radius: 5px; }
.zmtw-jq-title-grid span,
.zmtw-jq-title-grid small { display: inline-block; color: #a17c1e; font-size: 10px; font-weight: 800; }
.zmtw-jq-title-grid small { margin-left: 7px; color: #918674; font-weight: 650; }
.zmtw-jq-title-grid h3 { margin-top: 5px; font-size: 14px; }
.zmtw-jq-title-grid p { margin-top: 4px; color: #766f62; font-size: 12px; line-height: 1.6; }
.zmtw-jq-golden-lines { display: grid; gap: 6px; margin-top: 14px; }
.zmtw-jq-golden-lines p { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; align-items: start; margin: 0; padding: 10px 0; color: #51461f; border-bottom: 1px solid #eee7d7; font-size: 13px; font-weight: 700; line-height: 1.6; }
.zmtw-jq-golden-lines p:last-child { border-bottom: 0; }
.zmtw-jq-golden-lines p > span { display: grid; place-items: center; width: 22px; height: 22px; color: #6f5310; background: #f6dd78; border-radius: 50%; font-size: 10px; }
.zmtw-jq-script-output,
.zmtw-jq-publish-output { padding: 24px; border-top: 1px solid #e7e1d4; }
.zmtw-jq-beat-list { display: grid; gap: 8px; margin-bottom: 16px; }
.zmtw-jq-beat-list article { display: grid; grid-template-columns: 31px minmax(0, 1fr) minmax(170px, .36fr); gap: 11px; align-items: start; padding: 13px; background: #fcfaf4; border: 1px solid #e8e1d2; border-radius: 5px; }
.zmtw-jq-beat-list article > span { display: grid; place-items: center; width: 27px; height: 27px; color: #6d5315; background: #f7df86; border-radius: 4px; font-size: 10px; font-weight: 800; }
.zmtw-jq-beat-list strong,
.zmtw-jq-beat-list small { display: block; }
.zmtw-jq-beat-list strong { color: #3d382d; font-size: 13px; }
.zmtw-jq-beat-list div > small { margin-top: 2px; color: #948c7c; font-size: 11px; }
.zmtw-jq-beat-list p { margin-top: 7px; color: #625a4d; font-size: 13px; line-height: 1.7; }
.zmtw-jq-beat-list aside { min-width: 0; padding: 8px 10px; color: #6e5b1f; background: #fff5cc; border-radius: 4px; }
.zmtw-jq-beat-list aside b,
.zmtw-jq-beat-list aside small { display: block; }
.zmtw-jq-beat-list aside b { font-size: 11px; }
.zmtw-jq-beat-list aside small { margin-top: 3px; color: #756536; font-size: 11px; line-height: 1.55; }
.zmtw-jq-script-output .zmtw-jq-field { margin-top: 18px; }
.zmtw-jq-script-output .zmtw-jq-field textarea { min-height: 270px; background: #fffdf7; font-size: 15px; line-height: 1.85; }
.zmtw-jq-publish-output > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.zmtw-jq-publish-output article { min-width: 0; padding: 16px; background: #fcfaf4; border: 1px solid #e8e1d2; border-radius: 5px; }
.zmtw-jq-publish-output article > span { color: #a17c1e; font-size: 11px; font-weight: 800; }
.zmtw-jq-publish-output article h3 { margin-top: 7px; font-size: 15px; }
.zmtw-jq-publish-output article p { margin-top: 7px; color: #6d6558; font-size: 13px; line-height: 1.7; }
.zmtw-jq-publish-output article > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.zmtw-jq-publish-output article > div b { padding: 4px 7px; color: #6e5615; background: #fff0b9; border-radius: 4px; font-size: 11px; }
.zmtw-jq-publish-output article ul { display: grid; gap: 5px; margin: 11px 0 0; padding-left: 17px; color: #777062; font-size: 12px; line-height: 1.6; }

.zmtw-jinqiang-manual-dialog { width: min(720px, calc(100vw - 80px)); }
.zmtw-jinqiang-manual-body { display: grid; gap: 0; padding: 4px 22px 10px; }
.zmtw-jinqiang-manual-body section { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 17px 0; border-bottom: 1px solid #ebe5d8; }
.zmtw-jinqiang-manual-body section:last-child { border-bottom: 0; }
.zmtw-jinqiang-manual-body section > span { display: grid; place-items: center; width: 29px; height: 29px; color: #644e13; background: #f5da72; border-radius: 4px; font-size: 10px; font-weight: 800; }
.zmtw-jinqiang-manual-body h3 { color: #2b261b; font-size: 15px; }
.zmtw-jinqiang-manual-body p { margin-top: 5px; color: #71695c; font-size: 13px; line-height: 1.7; }

@media (max-width: 1240px) {
  .zmtw-jinqiang-head { align-items: flex-start; flex-direction: column; }
  .zmtw-jq-head-actions { justify-content: flex-start; }
  .zmtw-jq-layout { grid-template-columns: minmax(0, 1fr) 270px; }
}

/* Account diagnosis v2: data-center input, compute quote, and evidence report. */
@keyframes zmtw-spin { to { transform: rotate(360deg); } }
.zmtw-diagnosis-view { max-width: 1240px; }
.zmtw-diagnosis-view .zmtw-diagnosis-page-head h1 { font-size: 31px; }
.zmtw-diagnosis-view .zmtw-diagnosis-page-head p { margin-top: 8px; font-size: 15px; line-height: 1.7; }
.zmtw-diagnosis-breadcrumb,
.zmtw-diagnosis-breadcrumb button { font-size: 13px; }

.zmtw-diagnosis-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  min-height: 530px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--zmtw-line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(45, 34, 14, .08);
}
.zmtw-diagnosis-builder-main { min-width: 0; padding: 24px 28px; }
.zmtw-diagnosis-account-line { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding-bottom: 21px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-account-line .zmtw-diagnosis-avatar { width: 46px; height: 46px; color: #171614; background: #f1c94c; font-size: 18px; }
.zmtw-diagnosis-account-line strong { display: block; color: #1b1a18; font-size: 16px; font-weight: 800; }
.zmtw-diagnosis-account-line small { display: block; margin-top: 4px; color: var(--zmtw-muted); font-size: 13px; }
.zmtw-diagnosis-ready { display: inline-flex; align-items: center; gap: 7px; color: #276f55; font-size: 13px; font-weight: 750; }
.zmtw-diagnosis-ready i { width: 8px; height: 8px; background: #32a879; border-radius: 50%; box-shadow: 0 0 0 4px rgba(50, 168, 121, .12); }
.zmtw-diagnosis-form-block { padding: 22px 0; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-form-block.is-compact { padding-bottom: 19px; }
.zmtw-diagnosis-form-block > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.zmtw-diagnosis-form-block > header > strong { font-size: 16px; font-weight: 800; }
.zmtw-diagnosis-form-block > header > small { color: var(--zmtw-muted); font-size: 12px; }
.zmtw-diagnosis-block-head > div { display: flex; align-items: center; gap: 10px; }
.zmtw-diagnosis-block-head > div > strong { color: #1b1a18; font-size: 16px; font-weight: 800; }
.zmtw-diagnosis-help-button { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 7px; color: #765b16; background: #fff9e5; border: 1px solid #e8d28b; border-radius: 5px; font-size: 12px; font-weight: 750; cursor: pointer; }
.zmtw-diagnosis-help-button:hover { color: #171614; background: #fff2bd; border-color: #d4af37; }
.zmtw-diagnosis-help-button .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-diagnosis-segment { display: inline-grid; grid-template-columns: repeat(2, 1fr); padding: 3px; background: #f4f1ea; border-radius: 6px; }
.zmtw-diagnosis-segment button { min-height: 34px; padding: 0 13px; color: #756f64; background: transparent; border: 0; border-radius: 4px; font-size: 13px; font-weight: 750; cursor: pointer; }
.zmtw-diagnosis-segment button.is-active { color: #171614; background: #ffffff; box-shadow: 0 2px 7px rgba(35, 28, 16, .1); }
.zmtw-diagnosis-platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.zmtw-diagnosis-platform {
  --zmtw-platform: #d4af37;
  --zmtw-platform-ink: #171614;
  --zmtw-platform-soft: #fff8df;
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 19px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 72px;
  padding: 10px 12px;
  overflow: hidden;
  color: #4f4a42;
  background: #ffffff;
  border: 1px solid #ded8cd;
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(26, 22, 15, .04);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.zmtw-diagnosis-platform::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--zmtw-platform);
  content: "";
  opacity: .55;
  transform: scaleX(.28);
  transform-origin: left;
  transition: opacity 160ms ease, transform 160ms ease;
}
.zmtw-diagnosis-platform.is-douyin { --zmtw-platform: #25f4ee; --zmtw-platform-ink: #ffffff; --zmtw-platform-soft: #17181a; }
.zmtw-diagnosis-platform.is-xiaohongshu { --zmtw-platform: #ff2442; --zmtw-platform-ink: #ffffff; --zmtw-platform-soft: #fff0f2; }
.zmtw-diagnosis-platform.is-kuaishou { --zmtw-platform: #ff6b22; --zmtw-platform-ink: #ffffff; --zmtw-platform-soft: #fff2e9; }
.zmtw-diagnosis-platform.is-wechat-channels { --zmtw-platform: #fa5151; --zmtw-platform-ink: #ffffff; --zmtw-platform-soft: #fff0ef; }
.zmtw-diagnosis-platform.is-wechat-mp { --zmtw-platform: #07c160; --zmtw-platform-ink: #ffffff; --zmtw-platform-soft: #eafaf1; }
.zmtw-diagnosis-platform.is-bilibili { --zmtw-platform: #00aeec; --zmtw-platform-ink: #ffffff; --zmtw-platform-soft: #ebf9ff; }
.zmtw-diagnosis-platform-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--zmtw-platform);
  background: var(--zmtw-platform-soft);
  border: 1px solid color-mix(in srgb, var(--zmtw-platform) 34%, transparent);
  border-radius: 7px;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.zmtw-diagnosis-platform.is-douyin .zmtw-diagnosis-platform-mark { box-shadow: inset -3px -2px 0 #fe2c55; }
.zmtw-diagnosis-platform-mark .dashicons { width: 20px; height: 20px; font-size: 20px; }
.zmtw-diagnosis-platform-copy { min-width: 0; }
.zmtw-diagnosis-platform-copy strong,
.zmtw-diagnosis-platform-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: 0; }
.zmtw-diagnosis-platform-copy strong { color: #27241f; font-size: 15px; font-weight: 800; }
.zmtw-diagnosis-platform-copy small { margin-top: 4px; color: #8a8378; font-size: 12px; font-weight: 650; }
.zmtw-diagnosis-platform-state {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  color: var(--zmtw-platform-ink);
  background: var(--zmtw-platform);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.62);
  transition: opacity 160ms ease, transform 160ms ease;
}
.zmtw-diagnosis-platform-state .dashicons { width: 11px; height: 11px; font-size: 11px; }
.zmtw-diagnosis-platform:hover { color: #171614; border-color: var(--zmtw-platform); box-shadow: 0 7px 16px rgba(35, 28, 16, .09); transform: translateY(-2px); }
.zmtw-diagnosis-platform:hover::after { opacity: 1; transform: scaleX(1); }
.zmtw-diagnosis-platform:hover .zmtw-diagnosis-platform-mark { transform: scale(1.06); }
.zmtw-diagnosis-platform:active { transform: translateY(0) scale(.96); }
.zmtw-diagnosis-platform:focus-visible { outline: 3px solid color-mix(in srgb, var(--zmtw-platform) 25%, transparent); outline-offset: 2px; }
.zmtw-diagnosis-platform.is-active { color: #171614; background: var(--zmtw-platform-soft); border-color: var(--zmtw-platform); box-shadow: 0 7px 18px color-mix(in srgb, var(--zmtw-platform) 16%, transparent); }
.zmtw-diagnosis-platform.is-active::after { opacity: 1; transform: scaleX(1); }
.zmtw-diagnosis-platform.is-active .zmtw-diagnosis-platform-mark { color: var(--zmtw-platform-ink); background: var(--zmtw-platform); border-color: var(--zmtw-platform); }
.zmtw-diagnosis-platform.is-active .zmtw-diagnosis-platform-state { opacity: 1; transform: scale(1); }
.zmtw-diagnosis-platform.is-douyin.is-active .zmtw-diagnosis-platform-copy strong { color: #ffffff; }
.zmtw-diagnosis-platform.is-douyin.is-active .zmtw-diagnosis-platform-copy small { color: #b7c3c3; }
.zmtw-diagnosis-field { display: grid; gap: 7px; }
.zmtw-diagnosis-field > span { color: #38342e; font-size: 14px; font-weight: 750; }
.zmtw-diagnosis-field > small { color: var(--zmtw-muted); font-size: 12px; }
.zmtw-diagnosis-field select,
.zmtw-diagnosis-query { width: 100%; min-height: 48px; color: #1b1a18; background: #ffffff; border: 1px solid #d9d1c2; border-radius: 6px; }
.zmtw-diagnosis-field select { padding: 0 13px; font-size: 14px; }
.zmtw-diagnosis-query { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; }
.zmtw-diagnosis-query > span { display: grid; place-items: center; height: 28px; color: #9d7b21; border-right: 1px solid #e6dfd2; }
.zmtw-diagnosis-query .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-diagnosis-query input { width: 100%; height: 46px; padding: 0 13px; color: #1b1a18; background: transparent; border: 0; outline: 0; font-size: 15px; }
.zmtw-diagnosis-query:focus-within,
.zmtw-diagnosis-field select:focus { border-color: #d4af37; box-shadow: 0 0 0 3px rgba(212, 175, 55, .15); }
.zmtw-diagnosis-samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.zmtw-diagnosis-depth {
  --zmtw-depth-accent: #5c7cfa;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 106px;
  padding: 15px 15px 15px 17px;
  overflow: hidden;
  color: #5d574d;
  background: #ffffff;
  border: 1px solid #ddd5c6;
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(26, 22, 15, .04);
  transition: color 170ms ease, background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}
.zmtw-diagnosis-depth::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--zmtw-depth-accent); content: ""; opacity: .5; transition: width 170ms ease, opacity 170ms ease; }
.zmtw-diagnosis-depth.is-quick { --zmtw-depth-accent: #34a77b; }
.zmtw-diagnosis-depth.is-standard { --zmtw-depth-accent: #d4af37; }
.zmtw-diagnosis-depth.is-deep { --zmtw-depth-accent: #ca5a42; }
.zmtw-diagnosis-depth-copy { display: grid; align-content: center; min-width: 0; }
.zmtw-diagnosis-depth-copy strong { color: #292620; font-size: 16px; font-weight: 820; letter-spacing: 0; }
.zmtw-diagnosis-depth-copy > span { margin-top: 6px; color: #7b7469; font-size: 13px; font-variant-numeric: tabular-nums; }
.zmtw-diagnosis-depth-copy small { margin-top: 9px; color: #8f6a0d; font-size: 12px; font-weight: 780; font-variant-numeric: tabular-nums; }
.zmtw-diagnosis-depth-visual { display: grid; justify-items: center; align-content: center; gap: 7px; min-width: 0; }
.zmtw-diagnosis-depth-visual > span { display: grid; place-items: center; width: 48px; height: 48px; color: var(--zmtw-depth-accent); background: color-mix(in srgb, var(--zmtw-depth-accent) 11%, #ffffff); border: 1px solid color-mix(in srgb, var(--zmtw-depth-accent) 24%, transparent); border-radius: 7px; transition: color 170ms ease, background-color 170ms ease, transform 170ms ease; }
.zmtw-diagnosis-depth-visual .dashicons { width: 23px; height: 23px; font-size: 23px; }
.zmtw-diagnosis-depth-visual em { min-width: 42px; padding: 2px 6px; color: #6d665c; background: #f4f1ea; border-radius: 4px; font-size: 10px; font-style: normal; font-weight: 800; text-align: center; }
.zmtw-diagnosis-depth:hover { border-color: var(--zmtw-depth-accent); box-shadow: 0 8px 18px rgba(35, 28, 16, .09); transform: translateY(-2px); }
.zmtw-diagnosis-depth:hover::before { width: 5px; opacity: 1; }
.zmtw-diagnosis-depth:hover .zmtw-diagnosis-depth-visual > span { transform: scale(1.06); }
.zmtw-diagnosis-depth:active { transform: translateY(0) scale(.97); }
.zmtw-diagnosis-depth:focus-visible { outline: 3px solid color-mix(in srgb, var(--zmtw-depth-accent) 22%, transparent); outline-offset: 2px; }
.zmtw-diagnosis-depth.is-active { color: #ffffff; background: #171614; border-color: #d4af37; box-shadow: 0 10px 22px rgba(23, 22, 20, .16); }
.zmtw-diagnosis-depth.is-active::before { width: 5px; background: #f1c94c; opacity: 1; }
.zmtw-diagnosis-depth.is-active .zmtw-diagnosis-depth-copy strong { color: #ffffff; }
.zmtw-diagnosis-depth.is-active .zmtw-diagnosis-depth-copy > span { color: #c8bfad; }
.zmtw-diagnosis-depth.is-active .zmtw-diagnosis-depth-copy small { color: #f3d776; }
.zmtw-diagnosis-depth.is-active .zmtw-diagnosis-depth-visual > span { color: #171614; background: #f1c94c; border-color: #f1c94c; box-shadow: 0 7px 16px rgba(212, 175, 55, .18); }
.zmtw-diagnosis-depth.is-active .zmtw-diagnosis-depth-visual em { color: #171614; background: #ffffff; }
.zmtw-diagnosis-form-block.is-data-packages { padding-bottom: 0; border-bottom: 0; }
.zmtw-diagnosis-data-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zmtw-diagnosis-data-packages > button { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 24px; align-items: center; gap: 9px; min-width: 0; min-height: 76px; padding: 11px 10px; color: #6c665d; background: #faf8f3; border: 1px solid #e5ded1; border-radius: 6px; text-align: left; cursor: pointer; }
.zmtw-diagnosis-data-packages > button:hover { color: #322a17; background: #fffdf7; border-color: #d8bd6a; }
.zmtw-diagnosis-data-packages > button:focus-visible { outline: 3px solid rgba(212, 175, 55, .24); outline-offset: 2px; }
.zmtw-diagnosis-data-packages > button.is-selected { color: #322a17; background: #fff4ca; border-color: #dfbe53; box-shadow: inset 3px 0 0 #d4af37; }
.zmtw-diagnosis-package-icon { display: grid; place-items: center; width: 30px; height: 30px; color: #765b16; background: #ffffff; border: 1px solid #e5d6a8; border-radius: 6px; }
.zmtw-diagnosis-package-icon .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-diagnosis-package-copy { min-width: 0; }
.zmtw-diagnosis-package-copy b, .zmtw-diagnosis-package-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-package-copy b { color: #322e27; font-size: 13px; }
.zmtw-diagnosis-package-copy small { margin-top: 4px; color: #827a6c; font-size: 11px; }
.zmtw-diagnosis-package-check { display: grid; place-items: center; width: 23px; height: 23px; color: #8b8377; background: #ffffff; border: 1px solid #dcd4c7; border-radius: 50%; }
.zmtw-diagnosis-data-packages > button.is-selected .zmtw-diagnosis-package-check { color: #171614; background: #f1c94c; border-color: #d4af37; }
.zmtw-diagnosis-package-check .dashicons { width: 13px; height: 13px; font-size: 13px; }
.zmtw-diagnosis-data-packages > button > em { position: absolute; top: 6px; right: 7px; color: #8b8377; font-size: 9px; font-style: normal; font-weight: 800; }
.zmtw-diagnosis-data-packages > button.is-required > em { color: #815f06; }
.zmtw-diagnosis-package-notice, .zmtw-diagnosis-package-ready { display: flex; align-items: flex-start; gap: 9px; margin-top: 11px; padding: 10px 12px; border-radius: 6px; font-size: 12px; line-height: 1.55; }
.zmtw-diagnosis-package-notice { color: #7f3d31; background: #fff5f1; border: 1px solid #efd0c7; }
.zmtw-diagnosis-package-ready { color: #31684f; background: #f3faf6; border: 1px solid #cfe6d7; }
.zmtw-diagnosis-package-notice > .dashicons, .zmtw-diagnosis-package-ready > .dashicons { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; font-size: 18px; }
.zmtw-diagnosis-package-notice p { margin: 0; }
.zmtw-diagnosis-package-notice strong, .zmtw-diagnosis-package-notice span { display: block; }
.zmtw-diagnosis-package-notice span { margin-top: 2px; }

.zmtw-diagnosis-cost { display: flex; flex-direction: column; min-width: 0; padding: 26px 24px; color: #ffffff; background: #171614; border-top: 4px solid #d4af37; }
.zmtw-diagnosis-cost > header { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 11px; }
.zmtw-diagnosis-cost > header > span { display: grid; place-items: center; width: 40px; height: 40px; color: #171614; background: #f1c94c; border-radius: 6px; }
.zmtw-diagnosis-cost > header .dashicons { width: 20px; height: 20px; font-size: 20px; }
.zmtw-diagnosis-cost h2 { color: #ffffff; font-size: 18px; font-weight: 800; }
.zmtw-diagnosis-cost header p { margin-top: 3px; color: #bfb59b; font-size: 13px; }
.zmtw-diagnosis-cost-cover { margin: 24px 0 20px; padding: 17px 0; border-top: 1px solid rgba(255, 255, 255, .13); border-bottom: 1px solid rgba(255, 255, 255, .13); }
.zmtw-diagnosis-cost-cover strong { color: #f3d776; font-size: 15px; }
.zmtw-diagnosis-cost-cover p { margin-top: 7px; color: #c9c1af; font-size: 13px; line-height: 1.7; }
.zmtw-diagnosis-quote-list { display: grid; gap: 0; margin: 0; }
.zmtw-diagnosis-quote-list > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.zmtw-diagnosis-quote-list dt { color: #c9c1af; font-size: 13px; }
.zmtw-diagnosis-quote-list dd { margin: 0; color: #ffffff; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.zmtw-diagnosis-quote-list dd small { color: #aba38f; font-size: 11px; font-weight: 600; }
.zmtw-diagnosis-quote-list .is-total { margin-top: 4px; border-bottom: 0; }
.zmtw-diagnosis-quote-list .is-total dt { color: #ffffff; font-weight: 750; }
.zmtw-diagnosis-quote-list .is-total dd { color: #f3d776; font-size: 25px; }
.zmtw-diagnosis-quote-loading,
.zmtw-diagnosis-quote-error { display: flex; align-items: center; gap: 10px; min-height: 116px; color: #d5cdbb; font-size: 13px; }
.zmtw-diagnosis-quote-guidance { display: flex; align-items: flex-start; gap: 9px; min-height: 116px; padding-top: 18px; color: #c9c1af; font-size: 13px; line-height: 1.6; }
.zmtw-diagnosis-quote-guidance .dashicons { flex: 0 0 auto; width: 18px; height: 18px; color: #f1c94c; font-size: 18px; }
.zmtw-diagnosis-quote-loading i { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #f1c94c; border-radius: 50%; animation: zmtw-spin .8s linear infinite; }
.zmtw-diagnosis-quote-error { align-items: flex-start; color: #f4cbbe; line-height: 1.6; }
.zmtw-diagnosis-wallet { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding: 13px 0; color: #bfb59b; border-top: 1px solid rgba(255, 255, 255, .13); font-size: 13px; }
.zmtw-diagnosis-wallet strong { color: #ffffff; font-size: 14px; }
.zmtw-diagnosis-run { width: 100%; min-height: 48px; margin-top: 9px; font-size: 15px; }
.zmtw-diagnosis-run:disabled { color: #7b7467 !important; background: #393632; border-color: #393632; box-shadow: none; cursor: not-allowed; }
.zmtw-diagnosis-cost-note { display: block; margin-top: 10px; color: #9e9684; font-size: 11px; line-height: 1.6; text-align: center; }
.zmtw-diagnosis-result-divider { display: flex; align-items: center; gap: 12px; margin: 28px 0 4px; color: #3c372f; font-size: 14px; font-weight: 800; }
.zmtw-diagnosis-result-divider i { flex: 1; height: 1px; background: var(--zmtw-line); }

.zmtw-diagnosis-help-dialog .zmtw-dialog-frame { width: min(720px, calc(100vw - 96px)); }
.zmtw-diagnosis-help-body { display: grid; gap: 16px; padding: 20px 22px 22px; background: #ffffff; }
.zmtw-diagnosis-help-intro { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 13px; padding: 16px; color: #ffffff; background: #171614; border-top: 3px solid #d4af37; border-radius: 7px; }
.zmtw-diagnosis-help-intro > span { display: grid; place-items: center; width: 42px; height: 42px; color: #171614; background: #f1c94c; border-radius: 6px; }
.zmtw-diagnosis-help-intro .dashicons { width: 21px; height: 21px; font-size: 21px; }
.zmtw-diagnosis-help-intro strong { color: #f5d971; font-size: 15px; }
.zmtw-diagnosis-help-intro p { margin: 5px 0 0; color: #d2cab8; font-size: 13px; line-height: 1.65; }
.zmtw-diagnosis-help-list, .zmtw-diagnosis-help-depths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zmtw-diagnosis-help-list article, .zmtw-diagnosis-help-depths article { min-width: 0; padding: 14px; background: #fffdf8; border: 1px solid #e7dfd0; border-radius: 7px; }
.zmtw-diagnosis-help-list article > span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; color: #735716; background: #fff1b7; border-radius: 6px; }
.zmtw-diagnosis-help-list article > span .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-diagnosis-help-list h3, .zmtw-diagnosis-help-depths h3 { color: #26231e; font-size: 14px; }
.zmtw-diagnosis-help-list h3 em { margin-left: 5px; color: #89680e; font-size: 10px; font-style: normal; }
.zmtw-diagnosis-help-list p, .zmtw-diagnosis-help-depths p { margin: 6px 0 0; color: #696259; font-size: 12px; line-height: 1.65; }
.zmtw-diagnosis-help-depths article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
.zmtw-diagnosis-help-depths article > span { display: grid; place-items: center; width: 32px; height: 32px; color: #6f5411; background: #fff1b7; border-radius: 6px; font-size: 11px; font-weight: 850; }
.zmtw-diagnosis-help-recommend { padding: 14px 16px; background: #f8f5ee; border-left: 3px solid #d4af37; }
.zmtw-diagnosis-help-recommend > strong { color: #2f2a21; font-size: 14px; }
.zmtw-diagnosis-help-recommend p { margin: 7px 0 0; color: #625c52; font-size: 12px; line-height: 1.6; }
.zmtw-diagnosis-help-recommend b { color: #322b1d; }

.zmtw-diagnosis-status-row { gap: 8px; margin-top: 14px; }
.zmtw-diagnosis-status { padding: 6px 9px; color: #625d54; background: #f5f2eb; font-size: 12px; }
.zmtw-diagnosis-status.is-live,
.zmtw-diagnosis-status.is-cost { color: #6a5317; background: #fff4ca; }
.zmtw-diagnosis-status.is-live i,
.zmtw-diagnosis-status.is-cost i { background: #d4af37; }
.zmtw-diagnosis-tabs { gap: 0; height: 56px; overflow-x: auto; }
.zmtw-diagnosis-tabs button { flex: 0 0 auto; min-height: 56px; padding: 0 13px; font-size: 13px; }
.zmtw-diagnosis-tabs button.is-active { color: #7c5a08; }
.zmtw-diagnosis-tabs button.is-active::after { background: #d4af37; }
.zmtw-diagnosis-panel > header h2 { font-size: 17px; }
.zmtw-diagnosis-panel > header > span,
.zmtw-diagnosis-panel > header p { font-size: 12px; }
.zmtw-diagnosis-health-body h3 { font-size: 16px; }
.zmtw-diagnosis-health-body p,
.zmtw-diagnosis-findings p,
.zmtw-diagnosis-actions p,
.zmtw-diagnosis-actions footer p { font-size: 14px; line-height: 1.7; }
.zmtw-diagnosis-findings strong,
.zmtw-diagnosis-actions strong,
.zmtw-diagnosis-actions footer strong { font-size: 14px; }
.zmtw-diagnosis-findings article { grid-template-columns: 30px minmax(0, 1fr); gap: 11px; padding: 14px 0; }
.zmtw-diagnosis-findings article > span { width: 28px; height: 28px; }
.zmtw-diagnosis-works th,
.zmtw-diagnosis-works td { font-size: 13px; }

.zmtw-diagnosis-report-dialog .zmtw-report-body > article { font-size: 15px; }

/* Interactive knowledge page + oral video: desktop workspace only. */
.zmtw-kv-page { min-width: 960px; max-width: 1440px; margin: 0 auto; color: var(--zmtw-ink); -webkit-font-smoothing: antialiased; }
.zmtw-kv-head { margin-bottom: 24px; }
.zmtw-kv-head h1 { text-wrap: balance; }
.zmtw-kv-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 328px; gap: 20px; align-items: start; }
.zmtw-kv-workspace > main { display: grid; min-width: 0; gap: 16px; }
.zmtw-kv-rail { position: sticky; top: 96px; display: grid; gap: 14px; min-width: 0; }
.zmtw-kv-panel,
.zmtw-kv-project,
.zmtw-kv-service { min-width: 0; background: #ffffff; border: 1px solid var(--zmtw-line); border-radius: 7px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-kv-panel { padding: 22px; }
.zmtw-kv-panel > header { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 13px; align-items: start; margin-bottom: 18px; }
.zmtw-kv-panel > header > div { min-width: 0; }
.zmtw-kv-step { display: grid; place-items: center; width: 38px; height: 38px; color: #5e4708; background: #fff0b8; border: 1px solid #e6cc75; border-radius: 6px; font-size: 12px; font-weight: 850; font-variant-numeric: tabular-nums; }
.zmtw-kv-panel h2,
.zmtw-kv-project h2 { margin: 0; font-size: 18px; line-height: 1.35; text-wrap: balance; }
.zmtw-kv-panel header p,
.zmtw-kv-project header p { margin: 5px 0 0; color: var(--zmtw-muted); font-size: 13px; line-height: 1.65; text-wrap: pretty; }
.zmtw-kv-document > header { grid-template-columns: minmax(0, 1fr) auto; }
.zmtw-kv-document > header > div { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 13px; }
.zmtw-kv-file { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; align-items: center; width: 188px; min-height: 48px; padding: 8px 10px; color: #645828; background: #fffdf5; border: 1px dashed #d0b45c; border-radius: 6px; cursor: pointer; }
.zmtw-kv-file:hover { color: #40330d; background: #fff8dc; border-color: #a98013; }
.zmtw-kv-file input,
.zmtw-kv-source-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.zmtw-kv-file > span { grid-row: 1 / span 2; display: grid; place-items: center; width: 26px; height: 26px; color: #725708; background: #fff0b5; border-radius: 5px; }
.zmtw-kv-file b,
.zmtw-kv-file small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-file b { font-size: 12px; }
.zmtw-kv-file small { color: #887d64; font-size: 11px; }
.zmtw-kv-content-import { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 12px; align-items: center; margin: 12px 0; padding: 10px 12px; background: #f4f9f6; border: 1px solid #d7e5dd; border-radius: 6px; }
.zmtw-kv-content-import > div:first-child { display: grid; grid-template-columns: auto minmax(220px, 1fr); gap: 9px; align-items: center; min-width: 0; }
.zmtw-kv-content-import > div:first-child > span { display: inline-flex; align-items: center; gap: 5px; color: #396856; font-size: 11px; font-weight: 800; white-space: nowrap; }
.zmtw-kv-content-import > div:first-child > span .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-kv-content-import select { width: 100%; min-width: 0; min-height: 34px; padding: 0 29px 0 9px; color: #385247; background: #fff; border: 1px solid #c9ddd2; border-radius: 4px; font: inherit; font-size: 11px; outline: 0; }
.zmtw-kv-content-import select:disabled { color: #85948c; background: #f7faf8; }
.zmtw-kv-content-import > div:nth-child(2) { display: flex; gap: 6px; }
.zmtw-kv-content-import .zmtw-button { min-height: 34px; padding: 6px 9px; font-size: 11px; white-space: nowrap; }
.zmtw-kv-content-import > small { grid-column: 1 / -1; color: #668075; font-size: 10px; }
.zmtw-kv-pptx-import { margin-top: -4px; background: #f8f6ef; border-color: #e4dac3; }
.zmtw-kv-pptx-import > div:first-child { grid-template-columns: auto minmax(220px, 1fr); }
.zmtw-kv-pptx-import > div:first-child > span { color: #796330; }
.zmtw-kv-pptx-file { position: relative; display: flex; align-items: center; min-width: 0; min-height: 34px; padding: 0 9px; color: #5d5030; background: #fffefa; border: 1px dashed #cdbb8a; border-radius: 4px; cursor: pointer; }
.zmtw-kv-pptx-file input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.zmtw-kv-pptx-file b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.zmtw-kv-document textarea { display: block; width: 100%; min-height: 210px; resize: vertical; padding: 14px; color: var(--zmtw-ink); background: #fffefb; border: 1px solid #dcd5c6; border-radius: 6px; font-family: inherit; font-size: 14px; line-height: 1.75; outline: 0; }
.zmtw-kv-document textarea:focus,
.zmtw-kv-editor input:focus,
.zmtw-kv-editor textarea:focus,
.zmtw-kv-editor select:focus,
.zmtw-kv-setting-grid select:focus,
.zmtw-kv-project input:focus { border-color: #b48718; box-shadow: 0 0 0 3px rgba(212, 175, 55, .14); }
.zmtw-kv-document-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 13px; }
.zmtw-kv-document-options .zmtw-ove-segmented { min-height: 42px; }
.zmtw-kv-setting-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.zmtw-kv-setting-grid label,
.zmtw-kv-editor label,
.zmtw-kv-project > label { display: grid; gap: 7px; min-width: 0; color: #4c5752; font-size: 12px; font-weight: 800; }
.zmtw-kv-setting-grid select,
.zmtw-kv-setting-grid input,
.zmtw-kv-editor input,
.zmtw-kv-editor textarea,
.zmtw-kv-editor select,
.zmtw-kv-project input { width: 100%; min-width: 0; color: var(--zmtw-ink); background: #ffffff; border: 1px solid #d1dad6; border-radius: 5px; font: inherit; outline: 0; }
.zmtw-kv-setting-grid select,
.zmtw-kv-setting-grid input,
.zmtw-kv-editor input,
.zmtw-kv-editor select,
.zmtw-kv-project input { min-height: 42px; padding: 0 10px; }
.zmtw-kv-editor textarea { min-height: 72px; padding: 9px 10px; resize: vertical; line-height: 1.55; }
.zmtw-kv-preview > header { grid-template-columns: minmax(0, 1fr) auto; }
.zmtw-kv-preview > header > div:first-child { min-width: 0; }
.zmtw-kv-page-actions { display: flex; justify-content: flex-end; gap: 8px; }
.zmtw-kv-page-actions .zmtw-button,
.zmtw-kv-delivery .zmtw-button,
.zmtw-kv-source-ready .zmtw-button { min-height: 40px; }
.zmtw-kv-page-preview { min-height: 390px; overflow: hidden; padding: 24px; border: 1px solid #cfe0d9; border-radius: 6px; background: #edf8f2; }
.zmtw-kv-page-preview.is-aurora { color: #0e4a38; background: #edf8f2; border-color: #cfe0d9; box-shadow: 0 10px 26px rgba(25, 83, 57, .08); }
.zmtw-kv-page-preview.is-ink { color: #f8f3e7; background: #25221d; border-color: #25221d; }
.zmtw-kv-page-preview.is-citrus { background: #fff5d7; border-color: #e8cb78; }
.zmtw-kv-page-preview.is-ocean { color: #f3fbff; background: #1c5c76; border-color: #1c5c76; }
.zmtw-kv-page-preview.is-orchid { color: #38263b; background: #f7eafa; border-color: #dab8e5; }
.zmtw-kv-page-preview.is-swiss_modern { color: #171717; background: #ffffff; border-color: #171717; }
.zmtw-kv-page-preview.is-bold_signal { color: #fff9ef; background: #161616; border-color: #161616; }
.zmtw-kv-page-preview.is-paper_ink { color: #24211c; background: #f7f3e8; border-color: #c9c0ad; }
.zmtw-kv-page-preview > header { max-width: 720px; margin: 0 auto 24px; text-align: center; }
.zmtw-kv-page-preview.is-aurora > header,
.zmtw-kv-page-preview.is-ink > header { max-width: 86%; margin-right: auto; margin-left: 0; text-align: left; }
.zmtw-kv-page-preview > header > span { color: #207052; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.zmtw-kv-page-preview.is-ink > header > span,
.zmtw-kv-page-preview.is-ocean > header > span { color: #ccecdc; }
.zmtw-kv-page-preview.is-swiss_modern > header > span { color: #d32727; }
.zmtw-kv-page-preview.is-bold_signal > header > span { color: #ffca3a; }
.zmtw-kv-page-preview.is-paper_ink > header > span { color: #7e342b; }
.zmtw-kv-page-preview h3 { margin: 9px 0 0; font-size: 25px; line-height: 1.35; text-wrap: balance; }
.zmtw-kv-page-preview p { max-width: 640px; margin: 8px auto 0; color: #577168; font-size: 13px; line-height: 1.65; text-wrap: pretty; }
.zmtw-kv-page-preview.is-ink p,
.zmtw-kv-page-preview.is-ocean p { color: #d4e1dc; }
.zmtw-kv-page-preview.is-bold_signal p { color: #e4dccd; }
.zmtw-kv-page-preview.is-swiss_modern p { color: #494949; }
.zmtw-kv-page-preview.is-paper_ink p { color: #665e51; }
.zmtw-kv-page-preview.is-aurora p { color: #577168; }
.zmtw-kv-page-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 12px; max-width: 980px; margin: 0 auto; }
.zmtw-kv-page-preview.is-flow .zmtw-kv-page-nodes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zmtw-kv-page-preview.is-timeline .zmtw-kv-page-nodes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.zmtw-kv-page-preview.is-comparison .zmtw-kv-page-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
.zmtw-kv-node { display: grid; align-content: center; min-width: 0; min-height: 92px; padding: 13px; color: #29443a; background: rgba(255, 255, 255, .9); border: 1px solid rgba(39, 99, 73, .18); border-radius: 6px; box-shadow: 0 5px 13px rgba(27, 71, 51, .08); cursor: pointer; text-align: left; transition-property: transform, box-shadow, border-color, background-color; transition-duration: 160ms; transition-timing-function: ease-out; }
.zmtw-kv-node:hover,
.zmtw-kv-node.is-selected { background: #ffffff; border-color: #329165; box-shadow: 0 8px 18px rgba(25, 104, 72, .16); transform: translateY(-2px); }
.zmtw-kv-node:active { transform: scale(.96); }
.zmtw-kv-node b,
.zmtw-kv-node small { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.zmtw-kv-node b { font-size: 14px; line-height: 1.45; }
.zmtw-kv-node small { display: -webkit-box; margin-top: 5px; color: #618176; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zmtw-kv-page-preview.is-ink .zmtw-kv-node,
.zmtw-kv-page-preview.is-ocean .zmtw-kv-node,
.zmtw-kv-page-preview.is-bold_signal .zmtw-kv-node { color: #e5f3eb; background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .2); box-shadow: none; }
.zmtw-kv-page-preview.is-ink .zmtw-kv-node small,
.zmtw-kv-page-preview.is-ocean .zmtw-kv-node small,
.zmtw-kv-page-preview.is-bold_signal .zmtw-kv-node small { color: #d7cfbf; }
.zmtw-kv-page-preview.is-ink .zmtw-kv-node:hover,
.zmtw-kv-page-preview.is-ocean .zmtw-kv-node:hover,
.zmtw-kv-page-preview.is-bold_signal .zmtw-kv-node:hover,
.zmtw-kv-page-preview.is-ink .zmtw-kv-node.is-selected,
.zmtw-kv-page-preview.is-ocean .zmtw-kv-node.is-selected,
.zmtw-kv-page-preview.is-bold_signal .zmtw-kv-node.is-selected { background: rgba(255, 255, 255, .19); border-color: #f1c94c; }
.zmtw-kv-page-preview.is-swiss_modern .zmtw-kv-node { color: #171717; background: #ffffff; border-color: #171717; border-left: 4px solid #d32727; box-shadow: none; }
.zmtw-kv-page-preview.is-paper_ink .zmtw-kv-node { color: #2d2922; background: rgba(255, 255, 255, .5); border-color: #bcb19c; box-shadow: none; }
.zmtw-kv-page-preview.is-aurora .zmtw-kv-node { border-color: rgba(32, 112, 82, .24); box-shadow: 0 10px 26px rgba(25, 83, 57, .12); }
.zmtw-kv-page-preview.is-ink .zmtw-kv-node { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); box-shadow: none; backdrop-filter: blur(8px); }
.zmtw-kv-page-preview.is-citrus .zmtw-kv-node { border-top: 3px solid #b97905; box-shadow: 0 8px 0 rgba(185, 121, 5, .12); }
.zmtw-kv-page-qa { display: grid; grid-template-columns: minmax(160px, .55fr) minmax(0, 1.45fr); gap: 14px; margin-top: 14px; padding: 12px 14px; border-left: 3px solid #2f9b6a; background: #eff9f3; }
.zmtw-kv-page-qa.is-failed { color: #7f3027; border-left-color: #bd5b49; background: #fff1ed; }
.zmtw-kv-page-qa > div { display: grid; align-content: start; gap: 3px; }
.zmtw-kv-page-qa strong { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.zmtw-kv-page-qa strong .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-kv-page-qa small { color: #6d7f75; font-size: 10px; font-variant-numeric: tabular-nums; }
.zmtw-kv-page-qa.is-failed small { color: #9a665d; }
.zmtw-kv-page-qa ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.zmtw-kv-page-qa li { position: relative; padding-left: 13px; color: #456458; font-size: 11px; line-height: 1.45; }
.zmtw-kv-page-qa li::before { position: absolute; top: 0; left: 0; content: "•"; color: #2f9b6a; }
.zmtw-kv-page-qa li.is-error { color: #8b3a2d; }
.zmtw-kv-page-qa li.is-error::before { color: #bd5b49; }
.zmtw-kv-page-preview.is-slides { position: relative; display: flex; flex-direction: column; aspect-ratio: 16 / 9; min-height: 0; padding: clamp(22px, 4%, 44px); outline: 0; }
.zmtw-kv-page-preview.is-slides > header { display: grid; align-content: center; min-height: 30%; margin: auto auto 20px; }
.zmtw-kv-page-preview.is-slides > header h3 { max-width: 760px; margin-right: auto; margin-left: auto; font-size: clamp(25px, 4.2vw, 46px); }
.zmtw-kv-page-preview.is-slides .zmtw-kv-page-nodes { width: 100%; max-width: 900px; margin: 0 auto auto; }
.zmtw-kv-page-preview.is-slides.layout-title .zmtw-kv-page-nodes { max-width: 680px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zmtw-kv-slide-progress { position: absolute; top: 0; right: 0; left: 0; height: 4px; overflow: hidden; background: rgba(0, 0, 0, .1); }
.zmtw-kv-slide-progress i { display: block; width: var(--zmtw-kv-progress); height: 100%; background: #d32727; transition: width 180ms ease-out; }
.zmtw-kv-page-preview.is-bold_signal .zmtw-kv-slide-progress i { background: #ffca3a; }
.zmtw-kv-page-preview.is-paper_ink .zmtw-kv-slide-progress i { background: #7e342b; }
.zmtw-kv-slide-nav { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 36px; gap: 10px; align-items: center; margin-top: 18px; }
.zmtw-kv-slide-nav > button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: inherit; background: rgba(255, 255, 255, .76); border: 1px solid currentColor; border-radius: 5px; cursor: pointer; }
.zmtw-kv-slide-nav > button:disabled { opacity: .35; cursor: default; }
.zmtw-kv-slide-nav > div { display: flex; justify-content: center; gap: 7px; min-width: 0; overflow: hidden; }
.zmtw-kv-slide-nav > div button { flex: 0 0 8px; width: 8px; height: 8px; padding: 0; background: currentColor; border: 0; border-radius: 50%; cursor: pointer; opacity: .28; }
.zmtw-kv-slide-nav > div button.is-active { opacity: 1; transform: scale(1.35); }
.zmtw-kv-slide-nav > span { min-width: 42px; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; }
.zmtw-kv-slide-fullscreen { display: grid; place-items: center; width: 36px; height: 36px; margin: 10px auto 0; padding: 0; color: inherit; background: rgba(255, 255, 255, .76); border: 1px solid currentColor; border-radius: 5px; cursor: pointer; }
.zmtw-kv-slide-fullscreen:hover,
.zmtw-kv-slide-fullscreen.is-active { background: rgba(255, 255, 255, .98); }
.zmtw-kv-slide-fullscreen:focus-visible,
.zmtw-kv-slide-nav > button:focus-visible,
.zmtw-kv-slide-nav > div button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.zmtw-kv-page-preview.is-slides:fullscreen,
.zmtw-kv-page-preview.is-slides:-webkit-full-screen,
.zmtw-kv-page-preview.is-slides.is-fullscreen-fallback { width: 100vw; height: 100vh; min-height: 100vh; max-height: none; aspect-ratio: auto; overflow: auto; border-radius: 0; z-index: 1000; }
.zmtw-kv-page-preview.is-slides:fullscreen { padding: clamp(34px, 5vw, 76px); }
.zmtw-kv-page-preview.is-slides:-webkit-full-screen { padding: clamp(34px, 5vw, 76px); }
.zmtw-kv-page-preview.is-slides.is-fullscreen-fallback { position: fixed; inset: 0; padding: clamp(34px, 5vw, 76px); }
.zmtw-kv-node-detail { max-width: 760px; margin: 16px auto 0; padding: 12px 14px; color: #2f5848; background: rgba(255, 255, 255, .82); border-left: 3px solid #2f9b6a; }
.zmtw-kv-node-detail strong { font-size: 13px; }
.zmtw-kv-node-detail p { max-width: none; margin: 4px 0 0; color: inherit; text-align: left; }
.zmtw-kv-page-preview.is-ink .zmtw-kv-node-detail,
.zmtw-kv-page-preview.is-ocean .zmtw-kv-node-detail { color: #e4f2eb; background: rgba(255, 255, 255, .1); border-left-color: #f1c94c; }
.zmtw-kv-empty-node,
.zmtw-kv-empty-copy { display: block; padding: 16px; color: var(--zmtw-faint); background: #f7f4ec; border: 1px dashed #d9cfbc; border-radius: 6px; font-size: 13px; text-align: center; }
.zmtw-kv-editor-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(150px, .7fr) minmax(150px, .7fr); gap: 12px; }
.zmtw-kv-storyboard > header { grid-template-columns: 38px minmax(0, 1fr) auto; }
.zmtw-kv-story-list { display: grid; gap: 9px; }
.zmtw-kv-story-item { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 13px; padding: 13px; background: #fbfcfb; border: 1px solid #dfe7e3; border-radius: 6px; }
.zmtw-kv-story-order { display: grid; align-content: space-between; justify-items: center; padding-right: 12px; border-right: 1px solid #e0e7e3; }
.zmtw-kv-story-order > b { color: #8a6811; font-size: 18px; font-variant-numeric: tabular-nums; }
.zmtw-kv-story-order > div { display: flex; gap: 4px; }
.zmtw-kv-story-order { gap: 8px; }
.zmtw-kv-story-reorder,
.zmtw-kv-story-actions { flex-wrap: wrap; justify-content: center; }
.zmtw-kv-story-actions { gap: 3px !important; }
.zmtw-kv-story-order button { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; color: #5d574a; background: #fff; border: 1px solid #d8d1c2; border-radius: 4px; cursor: pointer; }
.zmtw-kv-story-order button:disabled { opacity: .32; cursor: default; }
.zmtw-kv-story-fields { display: grid; grid-template-columns: minmax(180px, .75fr) minmax(240px, 1.25fr); gap: 9px 12px; }
.zmtw-kv-story-fields label { display: grid; gap: 5px; color: #4c5752; font-size: 11px; font-weight: 800; }
.zmtw-kv-story-fields input,
.zmtw-kv-story-fields textarea { width: 100%; min-width: 0; padding: 8px 9px; color: var(--zmtw-ink); background: #fff; border: 1px solid #d3dcd7; border-radius: 5px; font: inherit; font-size: 12px; outline: 0; }
.zmtw-kv-story-fields textarea { min-height: 58px; resize: vertical; line-height: 1.5; }
.zmtw-kv-story-fields > div { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; min-width: 0; }
.zmtw-kv-story-fields > div span,
.zmtw-kv-story-fields > div em { flex: 0 0 auto; color: #73590f; font-size: 10px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.zmtw-kv-story-fields > div small { min-width: 0; overflow: hidden; color: var(--zmtw-faint); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.zmtw-kv-theme-card { display: grid; gap: 0; min-width: 0; padding: 0; color: var(--zmtw-ink); background: #fff; border: 1px solid #d9d5ca; border-radius: 6px; cursor: pointer; overflow: hidden; text-align: left; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.zmtw-kv-theme-card:hover { border-color: #9b7b22; box-shadow: 0 10px 22px rgba(35, 28, 16, .1); transform: translateY(-2px); }
.zmtw-kv-theme-card.is-selected { border-color: #9b7b22; box-shadow: 0 0 0 2px rgba(212, 175, 55, .24); }
.zmtw-kv-theme-card:focus-visible { outline: 2px solid #9b7b22; outline-offset: 3px; }
.zmtw-kv-theme-canvas { display: grid; align-content: center; aspect-ratio: 16 / 10; min-width: 0; padding: 18px; overflow: hidden; }
.zmtw-kv-theme-canvas > small { font-size: 9px; font-weight: 900; }
.zmtw-kv-theme-canvas > strong { display: block; margin-top: 8px; overflow: hidden; font-size: 20px; line-height: 1.16; text-wrap: balance; }
.zmtw-kv-theme-canvas > p { display: -webkit-box; min-height: 34px; margin: 7px 0 0; overflow: hidden; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zmtw-kv-theme-pages { display: grid; gap: 5px; margin-top: 14px; }
.zmtw-kv-theme-pages > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 7px; align-items: center; min-width: 0; padding-top: 5px; border-top: 1px solid currentColor; }
.zmtw-kv-theme-pages b { font-size: 9px; font-variant-numeric: tabular-nums; }
.zmtw-kv-theme-pages span { overflow: hidden; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-theme-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; padding: 12px 13px; background: #fff; border-top: 1px solid #e4dfd4; }
.zmtw-kv-theme-meta > b { font-size: 13px; }
.zmtw-kv-theme-meta > small { grid-row: 2; margin-top: 3px; color: #82796b; font-size: 10px; }
.zmtw-kv-theme-meta > em { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 4px; color: #725708; font-size: 10px; font-style: normal; font-weight: 850; }
.zmtw-kv-theme-card.is-swiss_modern .zmtw-kv-theme-canvas { align-content: start; color: #171717; background: #fff; border-top: 5px solid #d32727; }
.zmtw-kv-theme-card.is-swiss_modern .zmtw-kv-theme-canvas > small { color: #d32727; }
.zmtw-kv-theme-card.is-bold_signal .zmtw-kv-theme-canvas { color: #fff9ef; background: #161616; }
.zmtw-kv-theme-card.is-bold_signal .zmtw-kv-theme-canvas > small { color: #ffca3a; }
.zmtw-kv-theme-card.is-bold_signal .zmtw-kv-theme-canvas > strong { max-width: 88%; font-size: 22px; }
.zmtw-kv-theme-card.is-bold_signal .zmtw-kv-theme-pages > div { border-color: rgba(255, 255, 255, .24); }
.zmtw-kv-theme-card.is-paper_ink .zmtw-kv-theme-canvas { align-content: end; color: #24211c; background: #f7f3e8; font-family: Georgia, "Songti SC", serif; }
.zmtw-kv-theme-card.is-paper_ink .zmtw-kv-theme-canvas > small { color: #7e342b; }
.zmtw-kv-theme-card.is-paper_ink .zmtw-kv-theme-pages > div { border-color: #bcb19c; }
.zmtw-kv-theme-card.is-aurora .zmtw-kv-theme-canvas { align-content: start; color: #0e4a38; background: #edf8f2; border-top: 5px solid #207052; }
.zmtw-kv-theme-card.is-aurora .zmtw-kv-theme-canvas > small { color: #207052; }
.zmtw-kv-theme-card.is-aurora .zmtw-kv-theme-pages > div { border-color: #cfe0d9; }
.zmtw-kv-theme-card.is-ink .zmtw-kv-theme-canvas { color: #f8f3e7; background: #25221d; }
.zmtw-kv-theme-card.is-ink .zmtw-kv-theme-canvas > small { color: #f1c94c; }
.zmtw-kv-theme-card.is-ink .zmtw-kv-theme-pages > div { border-color: rgba(255, 255, 255, .22); }
.zmtw-kv-theme-card.is-citrus .zmtw-kv-theme-canvas { align-content: center; color: #3a3016; background: #fff5d7; border-top: 5px solid #b97905; }
.zmtw-kv-theme-card.is-citrus .zmtw-kv-theme-canvas > small { color: #b97905; }
.zmtw-kv-theme-card.is-citrus .zmtw-kv-theme-pages > div { border-color: #e8cb78; }
.zmtw-kv-slide-editor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.zmtw-kv-slide-editor-list > section { display: grid; gap: 8px; padding: 12px; background: #f8faf9; border: 1px solid #dfe7e3; border-radius: 6px; }
.zmtw-kv-slide-editor-list header { display: flex; justify-content: space-between; gap: 8px; }
.zmtw-kv-slide-editor-list header b { font-size: 12px; }
.zmtw-kv-slide-editor-list header span { color: #816512; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.zmtw-kv-component-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.zmtw-kv-component-editor { min-width: 0; padding: 14px; background: #fbfcfb; border: 1px solid #e0e8e4; border-radius: 6px; }
.zmtw-kv-component-editor > header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.zmtw-kv-component-editor > header span { padding: 4px 6px; color: #156947; background: #e3f4ea; border-radius: 4px; font-size: 10px; font-weight: 820; text-transform: uppercase; }
.zmtw-kv-component-editor > header b { min-width: 0; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-component-editor > label { margin-top: 9px; }
.zmtw-kv-node-editor-list { display: grid; gap: 8px; margin-top: 11px; }
.zmtw-kv-node-editor-list > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px; padding-top: 9px; border-top: 1px solid #e6ece9; }
.zmtw-kv-node-editor-list > div > header { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; min-height: 25px; color: #77827d; font-size: 10px; font-weight: 800; }
.zmtw-kv-node-delete,
.zmtw-kv-node-add { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 30px; padding: 5px 8px; color: #5d574a; background: #fff; border: 1px solid #d8e1dc; border-radius: 4px; cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.zmtw-kv-node-delete { width: 30px; padding: 0; }
.zmtw-kv-node-delete:disabled,
.zmtw-kv-node-add:disabled { opacity: .35; cursor: default; }
.zmtw-kv-node-add { margin-top: 9px; color: #156947; border-color: #b9d7c6; background: #f1f9f3; }
.zmtw-kv-slide-editor-list > section > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.zmtw-kv-slide-layout { display: inline-flex; align-items: center; gap: 5px; color: #77827d; font-size: 10px; font-weight: 800; }
.zmtw-kv-slide-layout select { min-height: 30px; padding: 4px 25px 4px 7px; color: #4c5752; background: #fff; border: 1px solid #d8e1dc; border-radius: 4px; font: inherit; font-size: 10px; }
.zmtw-kv-slide-rewrite { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center; padding-top: 9px; border-top: 1px solid #e6ece9; }
.zmtw-kv-slide-rewrite > span { display: inline-flex; align-items: center; gap: 4px; color: #60736a; font-size: 10px; font-weight: 800; }
.zmtw-kv-slide-rewrite > span .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-kv-slide-rewrite > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.zmtw-kv-slide-rewrite button { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-height: 28px; padding: 4px 7px; color: #226749; background: #f1f9f3; border: 1px solid #b9d7c6; border-radius: 4px; cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.zmtw-kv-slide-rewrite button:hover { color: #124b32; background: #e4f4e8; border-color: #82b99b; }
.zmtw-kv-slide-rewrite button:disabled { opacity: .5; cursor: default; }
.zmtw-kv-slide-rewrite button .dashicons { width: 13px; height: 13px; font-size: 13px; }
.zmtw-kv-additions { margin-top: 14px; padding: 13px 14px; color: #6c4a09; background: #fff6d9; border-left: 3px solid #d4af37; }
.zmtw-kv-additions strong { font-size: 13px; }
.zmtw-kv-additions p { margin: 8px 0 0; font-size: 13px; line-height: 1.65; }
.zmtw-kv-scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zmtw-kv-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .94fr); gap: 12px; align-items: center; min-width: 0; padding: 12px; background: #fbfcfb; border: 1px solid #e0e8e4; border-radius: 6px; }
.zmtw-kv-scenes b,
.zmtw-kv-scenes small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-scenes b { font-size: 13px; }
.zmtw-kv-scenes small { margin-top: 4px; color: var(--zmtw-faint); font-size: 11px; }
.zmtw-kv-scene-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.zmtw-kv-scene-controls label { display: block; min-width: 0; }
.zmtw-kv-scene-controls label > span { display: block; margin-bottom: 4px; color: var(--zmtw-faint); font-size: 10px; font-weight: 800; }
.zmtw-kv-scenes select { width: 100%; min-width: 0; min-height: 38px; padding: 0 8px; color: var(--zmtw-ink); background: #ffffff; border: 1px solid #d5ded9; border-radius: 5px; font: inherit; font-size: 12px; outline: 0; }
.zmtw-kv-delivery > header { grid-template-columns: minmax(0, 1fr) auto; }
.zmtw-kv-delivery > header > div:first-child { min-width: 0; }
.zmtw-kv-delivery > header > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.zmtw-kv-alignment { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-bottom: 14px; padding: 14px; background: #f7f9f8; border-left: 3px solid #d1a728; }
.zmtw-kv-alignment strong { font-size: 14px; }
.zmtw-kv-alignment p { margin: 4px 0 0; color: var(--zmtw-muted); font-size: 12px; line-height: 1.55; }
.zmtw-kv-alignment.is-ready { color: #176744; background: #f0faf4; border-left-color: #249766; }
.zmtw-kv-alignment.is-ready > span { display: inline-flex; align-items: center; gap: 5px; color: #176744; font-size: 12px; font-weight: 800; }
.zmtw-kv-alignment.is-review { display: block; background: #fff8e8; border-left-color: #d59d16; }
.zmtw-kv-alignment.is-review > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.zmtw-kv-alignment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.zmtw-kv-alignment-grid label { display: grid; grid-template-columns: minmax(100px, 1fr) 64px 18px 64px 20px; align-items: center; gap: 6px; min-width: 0; padding: 8px; background: #ffffff; border: 1px solid #eadbb2; border-radius: 5px; }
.zmtw-kv-alignment-grid span { min-width: 0; overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-alignment-grid span small { display: block; margin-top: 2px; color: #9a7b2b; font-size: 10px; font-weight: 700; }
.zmtw-kv-alignment-grid input { width: 100%; min-width: 0; height: 32px; padding: 0 5px; border: 1px solid #d8ccb0; border-radius: 4px; font: inherit; font-size: 11px; outline: 0; font-variant-numeric: tabular-nums; }
.zmtw-kv-alignment-grid em,
.zmtw-kv-alignment-grid i { color: #8a7a57; font-size: 11px; font-style: normal; text-align: center; }
.zmtw-kv-jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid #dfe7e3; border-radius: 6px; }
.zmtw-kv-jobs > div { min-width: 0; padding: 12px; background: #fbfcfb; border-right: 1px solid #dfe7e3; }
.zmtw-kv-jobs > div:last-child { border-right: 0; }
.zmtw-kv-jobs span,
.zmtw-kv-jobs b,
.zmtw-kv-jobs small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-jobs span { color: var(--zmtw-faint); font-size: 11px; }
.zmtw-kv-jobs b { margin-top: 5px; font-size: 13px; }
.zmtw-kv-jobs small { margin-top: 4px; color: #237554; font-size: 11px; font-variant-numeric: tabular-nums; }
.zmtw-kv-jobs a { display: inline-block; width: max-content; margin-top: 8px; color: #176f50; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.zmtw-kv-jobs a:hover { color: #0f4d37; }
.zmtw-kv-jobs > p { grid-column: 1 / -1; margin: 0; padding: 13px; color: var(--zmtw-faint); background: #fbfcfb; font-size: 12px; }
.zmtw-kv-project { padding: 19px; }
.zmtw-kv-project > label { margin-top: 17px; }
.zmtw-kv-project > .zmtw-button { width: 100%; justify-content: center; margin-top: 10px; }
.zmtw-kv-share-url { margin-top: 11px; }
.zmtw-kv-share-url span { display: block; margin-bottom: 5px; color: #176744; font-size: 11px; font-weight: 800; }
.zmtw-kv-share-url input { min-height: 36px; color: #52635c; background: #f7faf8; font-size: 11px; }
.zmtw-kv-share-url small { display: block; margin-top: 5px; color: #7c8d84; font-size: 11px; }
.zmtw-kv-share-history { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--zmtw-line); }
.zmtw-kv-share-history > header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.zmtw-kv-share-history > header strong { display: block; color: var(--zmtw-ink); font-size: 12px; }
.zmtw-kv-share-history > header p { margin: 4px 0 0; color: var(--zmtw-faint); font-size: 10px; line-height: 1.45; }
.zmtw-kv-share-history > header > span { flex: 0 0 auto; color: #7c8d84; font-size: 10px; font-variant-numeric: tabular-nums; }
.zmtw-kv-share-history > div { display: grid; gap: 7px; max-height: 260px; margin-top: 10px; overflow-y: auto; scrollbar-gutter: stable; }
.zmtw-kv-share-history-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: center; min-width: 0; padding: 9px 10px; background: #fbfcfb; border: 1px solid #dfe7e3; border-radius: 5px; }
.zmtw-kv-share-history-main { min-width: 0; }
.zmtw-kv-share-history-main strong,
.zmtw-kv-share-history-main span,
.zmtw-kv-share-history-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-share-history-main strong { color: var(--zmtw-ink); font-size: 11px; }
.zmtw-kv-share-history-main span { margin-top: 3px; color: #237554; font-size: 10px; font-weight: 800; }
.zmtw-kv-share-history-main small { margin-top: 4px; color: var(--zmtw-faint); font-size: 10px; line-height: 1.4; }
.zmtw-kv-share-history-item.is-expired .zmtw-kv-share-history-main span { color: #9a7023; }
.zmtw-kv-share-history-item.is-revoked .zmtw-kv-share-history-main span { color: #9a5c4b; }
.zmtw-kv-share-history-item.is-revoked { background: #fcf8f6; border-color: #ead9d2; }
.zmtw-kv-share-history-item .zmtw-kv-share-revoke { flex: 0 0 auto; min-height: 30px; padding: 5px 8px; color: #8b3e2d; background: #fff4f0; border-color: #e9b9ab; font-size: 10px; }
.zmtw-kv-share-history-item .zmtw-kv-share-revoke:hover { color: #713021; background: #ffe9e2; border-color: #d88f7d; }
.zmtw-kv-page-versions { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--zmtw-line); }
.zmtw-kv-page-versions > header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.zmtw-kv-page-versions > header strong { display: block; color: var(--zmtw-ink); font-size: 12px; }
.zmtw-kv-page-versions > header p { margin: 4px 0 0; color: var(--zmtw-faint); font-size: 10px; line-height: 1.45; }
.zmtw-kv-page-versions > header > span { flex: 0 0 auto; color: #7c8d84; font-size: 10px; font-variant-numeric: tabular-nums; }
.zmtw-kv-page-versions > div { display: grid; gap: 7px; max-height: 230px; margin-top: 10px; overflow-y: auto; scrollbar-gutter: stable; }
.zmtw-kv-page-version { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 9px; align-items: center; min-width: 0; padding: 9px 10px; background: #fbfcfb; border: 1px solid #dfe7e3; border-radius: 5px; }
.zmtw-kv-page-version { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color 150ms ease-out, border-color 150ms ease-out, box-shadow 150ms ease-out, transform 150ms ease-out; }
.zmtw-kv-page-version:hover { background: #f3f8f5; border-color: #a8cab6; box-shadow: 0 4px 10px rgba(31, 86, 59, .08); transform: translateY(-1px); }
.zmtw-kv-page-version:focus-visible { outline: 2px solid #237554; outline-offset: 2px; }
.zmtw-kv-page-version.is-current { background: #f1faf4; border-color: #b9d9c6; box-shadow: inset 3px 0 0 #249766; }
.zmtw-kv-page-version-thumb { width: 54px; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; background: #eef3f0; border: 1px solid #dfe7e3; border-radius: 4px; outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.zmtw-kv-page-version-thumb img,
.zmtw-kv-page-version-thumb-placeholder { display: block; width: 100%; height: 100%; }
.zmtw-kv-page-version-thumb img { object-fit: cover; }
.zmtw-kv-page-version-thumb-placeholder { background: #e7efea; }
.zmtw-kv-page-version strong,
.zmtw-kv-page-version span,
.zmtw-kv-page-version small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-page-version strong { color: var(--zmtw-ink); font-size: 11px; }
.zmtw-kv-page-version span { margin-top: 3px; color: #237554; font-size: 10px; font-weight: 800; }
.zmtw-kv-page-version small { margin-top: 4px; color: var(--zmtw-faint); font-size: 10px; }
.zmtw-kv-history-dialog { width: min(1260px, calc(100vw - 56px)); max-width: none; height: min(860px, calc(100vh - 56px)); padding: 0; overflow: hidden; background: #fff; border: 0; border-radius: 7px; box-shadow: 0 24px 70px rgba(22, 41, 31, .28); }
.zmtw-kv-history-dialog::backdrop { background: rgba(17, 33, 25, .54); }
.zmtw-kv-history-dialog .zmtw-dialog-frame { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100%; }
.zmtw-kv-history-dialog .zmtw-dialog-frame > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; border-bottom: 1px solid #dfe7e3; }
.zmtw-kv-history-dialog h2 { margin: 0; color: var(--zmtw-ink); font-size: 16px; }
.zmtw-kv-history-dialog header p { margin: 4px 0 0; color: var(--zmtw-faint); font-size: 11px; }
.zmtw-kv-history-canvas { min-height: 0; padding: 18px; overflow: auto; background: #eef3f0; }
.zmtw-kv-history-canvas .zmtw-kv-page-preview { max-width: 1120px; min-height: 620px; margin: 0 auto; }
.zmtw-kv-history-dialog .zmtw-dialog-frame > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: #fbfcfb; border-top: 1px solid #dfe7e3; }
.zmtw-kv-history-dialog footer > span { display: inline-flex; align-items: center; gap: 6px; color: #596c63; font-size: 11px; font-weight: 700; }
.zmtw-kv-history-dialog footer > span .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-kv-history-state { display: grid; place-content: center; gap: 10px; min-height: 320px; padding: 28px; color: #5d7066; text-align: center; }
.zmtw-kv-history-state > span { justify-self: center; color: #237554; }
.zmtw-kv-history-state > span .dashicons { width: 24px; height: 24px; font-size: 24px; }
.zmtw-kv-history-state p { margin: 0; font-size: 13px; }
.zmtw-kv-history-state.is-error > span { color: #9a5c4b; }
.zmtw-kv-share-password-field { display: block; margin-top: 12px; }
.zmtw-kv-share-password-field span { display: block; margin-bottom: 5px; color: #52635c; font-size: 11px; font-weight: 800; }
.zmtw-kv-share-password-field input { width: 100%; min-height: 36px; color: #52635c; background: #f7faf8; font-size: 12px; }
.zmtw-kv-source > header { grid-template-columns: minmax(0, 1fr); }
.zmtw-kv-source-ready { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; align-items: center; padding: 12px; background: #f7faf8; border: 1px solid #dce8e2; border-radius: 6px; }
.zmtw-kv-source-ready > span { display: grid; place-items: center; width: 42px; height: 42px; color: #196b4a; background: #dff2e8; border-radius: 5px; }
.zmtw-kv-source-ready b,
.zmtw-kv-source-ready small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-source-ready b { font-size: 13px; }
.zmtw-kv-source-ready small { margin-top: 4px; color: var(--zmtw-faint); font-size: 11px; }
.zmtw-kv-source-ready > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zmtw-kv-source-ready > div:last-child .zmtw-button { justify-content: center; padding: 7px; font-size: 11px; }
.zmtw-kv-source-picker { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 94px; padding: 14px; color: #6a5a25; background: #fffdf5; border: 1px dashed #ccb05a; border-radius: 6px; cursor: pointer; transition-property: background-color, border-color, box-shadow, transform; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-kv-source-picker:hover { background: #fff8dc; border-color: #a98013; box-shadow: 0 5px 13px rgba(82, 62, 19, .07); transform: translateY(-1px); }
.zmtw-kv-source-picker:active { transform: scale(.96); }
.zmtw-kv-source-picker > span { grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; color: #725708; background: #fff0b5; border-radius: 5px; }
.zmtw-kv-source-picker b { font-size: 13px; }
.zmtw-kv-source-picker small { color: #887d64; font-size: 11px; line-height: 1.5; }
.zmtw-kv-assets { padding-bottom: 18px; }
.zmtw-kv-assets > header { grid-template-columns: minmax(0, 1fr); margin-bottom: 14px; }
.zmtw-kv-assets > header h2 { font-size: 16px; }
.zmtw-kv-assets > header p { max-width: 620px; font-size: 12px; }
.zmtw-kv-asset-upload-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; align-items: stretch; }
.zmtw-kv-asset-type { display: grid; align-content: center; gap: 7px; min-width: 0; padding: 12px; color: #4c5752; background: #f7faf8; border: 1px solid #dfe7e3; border-radius: 6px; font-size: 11px; font-weight: 800; }
.zmtw-kv-asset-type select { width: 100%; min-height: 40px; padding: 0 8px; color: var(--zmtw-ink); background: #fff; border: 1px solid #cbd9d3; border-radius: 5px; font: inherit; font-size: 11px; outline: 0; }
.zmtw-kv-asset-type select:hover { border-color: #8fbea5; }
.zmtw-kv-assets .zmtw-kv-source-picker { min-height: 78px; }
.zmtw-kv-assets > .zmtw-button { width: 100%; min-height: 40px; margin-top: 10px; }
.zmtw-kv-page-assets-list { display: grid; gap: 8px; max-height: 252px; margin-top: 14px; padding-top: 14px; overflow-y: auto; border-top: 1px solid var(--zmtw-line); scrollbar-gutter: stable; }
.zmtw-kv-page-assets-list > div { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; align-items: center; gap: 9px; min-width: 0; min-height: 52px; padding: 8px 10px; background: #fbfcfb; border: 1px solid #dfe7e3; border-radius: 6px; box-shadow: 0 1px 2px rgba(20, 42, 36, .025); transition-property: background-color, border-color, box-shadow; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-kv-page-assets-list > div:hover { background: #f5faf7; border-color: #b8d4c9; box-shadow: 0 5px 13px rgba(20, 42, 36, .06); }
.zmtw-kv-page-assets-list > div > span { display: grid; place-items: center; width: 32px; height: 32px; color: #197151; background: #e3f4ea; border-radius: 5px; outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.zmtw-kv-page-assets-list > div > span .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-kv-page-assets-list > div > b,
.zmtw-kv-page-assets-list > div > small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-kv-page-assets-list > div > b { color: var(--zmtw-ink); font-size: 11px; font-weight: 750; }
.zmtw-kv-page-assets-list > div > small { color: var(--zmtw-faint); font-size: 10px; font-variant-numeric: tabular-nums; }
.zmtw-kv-page-assets-list > div > em { color: #6f7e77; font-size: 9px; font-style: normal; font-weight: 750; white-space: nowrap; }
.zmtw-kv-assets > .zmtw-kv-empty-copy { margin-top: 14px; padding: 14px 12px; font-size: 11px; }
.zmtw-kv-slide-editor-list select[data-zmtw-kv-slide-asset] { min-height: 40px; color: #305f4f; background: #f4faf6; border-color: #bcd8ca; font-weight: 650; }
.zmtw-kv-slide-editor-list select[data-zmtw-kv-slide-asset]:hover { background: #edf8f1; border-color: #8fbea5; }
.zmtw-kv-service { padding: 15px 17px; background: #f7f9f8; border-left: 3px solid #d1a728; box-shadow: none; }
.zmtw-kv-service > header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.zmtw-kv-service h2 { margin: 0; font-size: 14px; }
.zmtw-kv-service p { margin: 4px 0 0; color: var(--zmtw-muted); font-size: 12px; line-height: 1.55; }
.zmtw-kv-service header > strong { flex: 0 0 auto; color: #7a6428; font-size: 11px; }
.zmtw-kv-service > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.zmtw-kv-service > div > span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; color: #786432; background: #fffdf5; border: 1px solid #eadca6; border-radius: 4px; font-size: 11px; }
.zmtw-kv-service i { width: 7px; height: 7px; background: #c3911e; border-radius: 50%; }
.zmtw-kv-service b { font-size: 10px; }
.zmtw-kv-service > div > span.is-ready { color: #176744; background: #f1fbf5; border-color: #cce9d8; }
.zmtw-kv-service > div > span.is-ready i { background: #249766; }
.zmtw-kv-share-shell { width: min(1180px, calc(100% - 80px)); min-width: 960px; margin: 52px auto; color: var(--zmtw-ink); -webkit-font-smoothing: antialiased; }
.zmtw-kv-share-shell > header { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.zmtw-kv-share-shell > header > span { display: grid; place-items: center; width: 42px; height: 42px; color: #614d0e; background: #f1c94c; border-radius: 6px; }
.zmtw-kv-share-shell small,
.zmtw-kv-share-shell strong { display: block; }
.zmtw-kv-share-shell small { color: #8b7d63; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.zmtw-kv-share-shell strong { margin-top: 3px; font-size: 18px; }
.zmtw-kv-share-canvas { padding: 22px; background: #ffffff; border: 1px solid var(--zmtw-line); border-radius: 7px; box-shadow: 0 14px 34px rgba(49, 39, 18, .08); }
.zmtw-kv-share-canvas .zmtw-kv-page-preview { min-height: 560px; }
.zmtw-kv-share-shell > footer { margin-top: 13px; color: #8b7d63; font-size: 12px; text-align: right; }
.zmtw-kv-share-message { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px; align-items: center; min-height: 260px; padding: 34px; color: #6f5d2d; background: #fff9e9; border-left: 3px solid #d4af37; }
.zmtw-kv-share-message.is-error { color: #8a3f2d; background: #fff1ed; border-left-color: #c36a54; }
.zmtw-kv-share-message > span { display: grid; place-items: center; width: 42px; height: 42px; background: rgba(255, 255, 255, .72); border-radius: 6px; }
.zmtw-kv-share-message h1 { margin: 0; font-size: 19px; }
.zmtw-kv-share-message p { margin: 6px 0 0; font-size: 13px; line-height: 1.6; }
.zmtw-kv-share-password label { display: block; margin-top: 16px; }
.zmtw-kv-share-password label span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; }
.zmtw-kv-share-password label input { width: min(360px, 100%); min-height: 38px; padding: 8px 10px; }
.zmtw-kv-share-password button { display: block; margin-top: 12px; }
.zmtw-kv-share-password small { display: block; margin-top: 10px; color: #8b7d63; font-size: 11px; }
.zmtw-kv-share-password-error { color: #8a3f2d; }
@media (prefers-reduced-motion: reduce) {
  .zmtw-kv-page-preview *,
  .zmtw-kv-page-preview *::before,
  .zmtw-kv-page-preview *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Oral-video explainer: project setup stays inside the unified creation workspace. */
.zmtw-oral-video-view { max-width: 1320px; }
.zmtw-ove-page { color: var(--zmtw-ink); }
.zmtw-ove-page-head { margin-bottom: 24px; }
.zmtw-ove-eyebrow { display: block; margin-bottom: 9px; color: #98751a; font-size: 12px; font-weight: 800; }
.zmtw-ove-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.zmtw-ove-workspace > main { display: grid; gap: 16px; min-width: 0; }
.zmtw-ove-panel,
.zmtw-ove-project-card,
.zmtw-ove-next,
.zmtw-ove-status { background: #fff; border: 1px solid var(--zmtw-line); border-radius: 7px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-ove-panel { padding: 22px; }
.zmtw-ove-panel > header { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 13px; align-items: start; margin-bottom: 18px; }
.zmtw-ove-step { display: grid; place-items: center; width: 38px; height: 38px; color: #5f4706; background: #fff0b5; border: 1px solid #e6cc75; border-radius: 6px; font-size: 12px; font-weight: 850; }
.zmtw-ove-panel h2,
.zmtw-ove-project-card h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.zmtw-ove-panel header p,
.zmtw-ove-project-card header p { margin: 5px 0 0; color: var(--zmtw-muted); font-size: 13px; line-height: 1.65; }
.zmtw-ove-source-picker { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 118px; padding: 20px; color: var(--zmtw-ink); background: #fffdf8; border: 1px dashed #c9aa51; border-radius: 6px; cursor: pointer; }
.zmtw-ove-source-picker:hover { background: #fff9e8; border-color: #a98013; }
.zmtw-ove-source-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.zmtw-ove-source-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.zmtw-ove-source-picker-icon,
.zmtw-ove-source-icon { display: grid; place-items: center; width: 46px; height: 46px; color: #76570c; background: #fff0b5; border: 1px solid #e6cc75; border-radius: 6px; }
.zmtw-ove-source-picker-icon .dashicons,
.zmtw-ove-source-icon .dashicons { width: 23px; height: 23px; font-size: 23px; }
.zmtw-ove-source-picker strong,
.zmtw-ove-source-selected strong { display: block; font-size: 15px; }
.zmtw-ove-source-picker small,
.zmtw-ove-source-selected small { display: block; margin-top: 5px; color: var(--zmtw-muted); font-size: 12px; line-height: 1.55; }
.zmtw-ove-source-picker em { justify-self: end; padding: 8px 11px; color: #5f4706; background: #fff; border: 1px solid #d7bb68; border-radius: 5px; font-size: 12px; font-style: normal; font-weight: 800; }
.zmtw-ove-source-selected { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 13px; align-items: center; min-height: 92px; padding: 16px; background: #f9fbfa; border: 1px solid #dfe8e4; border-radius: 6px; }
.zmtw-ove-source-selected .zmtw-button { min-height: 38px; padding: 8px 11px; font-size: 12px; }
.zmtw-ove-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.zmtw-ove-settings > div { min-width: 0; padding: 15px; background: #fafbf9; border: 1px solid #e5ebe8; border-radius: 6px; }
.zmtw-ove-settings > div > span { display: block; margin-bottom: 10px; color: #4e5955; font-size: 13px; font-weight: 800; }
.zmtw-ove-settings small { display: block; margin-top: 9px; color: var(--zmtw-faint); font-size: 12px; line-height: 1.55; }
.zmtw-ove-segmented { display: flex; padding: 3px; background: #edf1ef; border-radius: 6px; }
.zmtw-ove-segmented button { flex: 1; min-width: 0; min-height: 34px; padding: 5px 7px; color: #65716d; background: transparent; border: 0; border-radius: 4px; font-size: 12px; font-weight: 750; cursor: pointer; }
.zmtw-ove-segmented button:hover { color: var(--zmtw-ink); }
.zmtw-ove-segmented button.is-active { color: #2e270f; background: #fff; box-shadow: 0 1px 3px rgba(25, 36, 32, .12); }
.zmtw-ove-rail { display: grid; gap: 14px; position: sticky; top: 96px; }
.zmtw-ove-status { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 11px; padding: 15px; }
.zmtw-ove-status > span { display: grid; place-items: center; width: 34px; height: 34px; color: #6e5713; background: #fff0b5; border-radius: 5px; }
.zmtw-ove-status.is-error > span { color: #9b3e1e; background: #fff0e6; }
.zmtw-ove-status.is-success > span { color: #176544; background: #ddf4e8; }
.zmtw-ove-status.is-busy > span .dashicons { animation: zmtw-ove-spin 1.1s linear infinite; }
.zmtw-ove-status b { display: block; font-size: 13px; }
.zmtw-ove-status p { margin: 4px 0 0; color: var(--zmtw-muted); font-size: 12px; line-height: 1.6; }
.zmtw-ove-project-card { padding: 20px; }
.zmtw-ove-project-card header > span,
.zmtw-ove-next > span { display: block; margin-bottom: 9px; color: #98751a; font-size: 11px; font-weight: 850; }
.zmtw-ove-project-card > label { display: grid; gap: 7px; margin-top: 18px; }
.zmtw-ove-project-card > label > span { color: #4f5a56; font-size: 12px; font-weight: 800; }
.zmtw-ove-project-card input { width: 100%; min-height: 42px; padding: 9px 11px; color: var(--zmtw-ink); background: #fff; border: 1px solid #cfdad5; border-radius: 5px; font-size: 13px; outline: none; }
.zmtw-ove-project-card input:focus { border-color: #a98013; box-shadow: 0 0 0 3px rgba(212, 175, 55, .15); }
.zmtw-ove-project-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 17px 0; border-top: 1px solid #e6ece9; border-bottom: 1px solid #e6ece9; }
.zmtw-ove-project-card dl > div { min-width: 0; padding: 11px 7px; border-right: 1px solid #e6ece9; }
.zmtw-ove-project-card dl > div:first-child { padding-left: 0; }
.zmtw-ove-project-card dl > div:last-child { padding-right: 0; border-right: 0; }
.zmtw-ove-project-card dt { color: var(--zmtw-faint); font-size: 11px; }
.zmtw-ove-project-card dd { margin: 5px 0 0; overflow: hidden; color: var(--zmtw-ink); font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-ove-project-card > .zmtw-button { width: 100%; justify-content: center; }
.zmtw-ove-project-id { margin: 11px 0 0; color: var(--zmtw-faint); font-size: 12px; line-height: 1.55; }
.zmtw-ove-plan { padding-bottom: 20px; }
.zmtw-ove-plan > .zmtw-button { justify-content: center; min-width: 184px; }
.zmtw-ove-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #e2e9e5; border-radius: 6px; overflow: hidden; }
.zmtw-ove-plan-grid > div { min-width: 0; padding: 14px; background: #fbfcfb; border-right: 1px solid #e2e9e5; }
.zmtw-ove-plan-grid > div:last-child { border-right: 0; }
.zmtw-ove-plan-grid span,
.zmtw-ove-plan-grid strong,
.zmtw-ove-plan-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-ove-plan-grid span { color: var(--zmtw-faint); font-size: 11px; }
.zmtw-ove-plan-grid strong { margin-top: 5px; color: var(--zmtw-ink); font-size: 14px; }
.zmtw-ove-plan-grid small { margin-top: 5px; color: var(--zmtw-muted); font-size: 11px; }
.zmtw-ove-plan-note { margin: 12px 0 0; color: #6a5317; font-size: 12px; line-height: 1.55; }
.zmtw-ove-service-readiness { display: grid; grid-template-columns: 126px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px; background: #f7f9f8; border-left: 3px solid #d1a728; }
.zmtw-ove-service-readiness header > span,
.zmtw-ove-service-readiness header > strong { display: block; }
.zmtw-ove-service-readiness header > span { color: var(--zmtw-faint); font-size: 11px; font-weight: 800; }
.zmtw-ove-service-readiness header > strong { margin-top: 4px; color: var(--zmtw-ink); font-size: 13px; }
.zmtw-ove-service-readiness > div { display: flex; flex-wrap: wrap; gap: 8px; }
.zmtw-ove-service-readiness > div > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 8px; color: #6b5c31; background: #fffdf4; border: 1px solid #e7dba9; border-radius: 5px; font-size: 12px; }
.zmtw-ove-service-readiness i { width: 7px; height: 7px; flex: 0 0 7px; background: #c3911e; border-radius: 50%; }
.zmtw-ove-service-readiness b { color: inherit; font-size: 11px; font-weight: 750; }
.zmtw-ove-service-readiness > div > span.is-ready { color: #186644; background: #f2fbf6; border-color: #cce9d8; }
.zmtw-ove-service-readiness > div > span.is-ready i { background: #249766; }
.zmtw-ove-next { padding: 18px 20px; background: #1b1914; border-color: #1b1914; box-shadow: none; }
.zmtw-ove-next > span { color: #f1c94c; }
.zmtw-ove-next ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: zmtw-ove-next; }
.zmtw-ove-next li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; color: #eee8d8; font-size: 12px; line-height: 1.5; }
.zmtw-ove-next li::before { display: grid; place-items: center; width: 20px; height: 20px; color: #261f0a; background: #f1c94c; border-radius: 50%; content: counter(zmtw-ove-next); counter-increment: zmtw-ove-next; font-size: 10px; font-weight: 850; }
@keyframes zmtw-ove-spin { to { transform: rotate(360deg); } }
@media (max-width: 1160px) {
  .zmtw-ove-workspace { grid-template-columns: minmax(0, 1fr) 300px; }
  .zmtw-ove-settings { grid-template-columns: 1fr; }
  .zmtw-ove-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-ove-plan-grid > div:nth-child(2) { border-right: 0; }
  .zmtw-ove-plan-grid > div:nth-child(-n+2) { border-bottom: 1px solid #e2e9e5; }
}
@media (max-width: 760px) {
  .zmtw-ove-page-head { display: grid; gap: 14px; }
  .zmtw-ove-page-head .zmtw-head-actions { flex-wrap: wrap; }
  .zmtw-ove-workspace { grid-template-columns: minmax(0, 1fr); }
  .zmtw-ove-rail { position: static; }
  .zmtw-ove-panel { padding: 16px; }
  .zmtw-ove-source-picker,
  .zmtw-ove-source-selected { grid-template-columns: 44px minmax(0, 1fr); min-height: 0; padding: 15px; }
  .zmtw-ove-source-picker em,
  .zmtw-ove-source-selected .zmtw-button { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
  .zmtw-ove-project-card { padding: 17px; }
  .zmtw-ove-plan > .zmtw-button { width: 100%; }
  .zmtw-ove-service-readiness { grid-template-columns: 1fr; gap: 10px; }
}

/* Unified account context controls. */
.zmtw-account-switcher { position: relative; }
.zmtw-account-switcher-label { color: var(--zmtw-muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.zmtw-shell .zmtw-subject-picker-trigger { display: grid; grid-template-columns: 36px minmax(166px, 1fr) 18px; align-items: center; gap: 10px; min-width: 278px; min-height: 46px; padding: 4px 11px 4px 5px; color: var(--zmtw-ink); background: #fffdf8; border: 1px solid #dfd3b7; border-radius: 7px; box-shadow: 0 2px 7px rgba(53, 43, 22, .06); cursor: pointer; text-align: left; transition: border-color 160ms ease-out, background-color 160ms ease-out, box-shadow 160ms ease-out; }
.zmtw-subject-picker-trigger:hover,
.zmtw-subject-picker-trigger[aria-expanded="true"] { background: #ffffff; border-color: var(--zmtw-gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .12); }
.zmtw-subject-picker-trigger > .dashicons { width: 17px; height: 17px; color: #8a7650; font-size: 17px; transition: transform 160ms ease-out; }
.zmtw-subject-picker-trigger[aria-expanded="true"] > .dashicons { transform: rotate(180deg); }
.zmtw-subject-picker-avatar,
.zmtw-subject-picker-item-avatar { display: grid; place-items: center; color: var(--zmtw-ink); background: #f1c94c; border-radius: 6px; font-weight: 800; }
.zmtw-subject-picker-avatar { width: 36px; height: 36px; font-size: 15px; }
.zmtw-subject-picker-copy,
.zmtw-subject-picker-item-copy { display: block; min-width: 0; }
.zmtw-subject-picker-copy strong,
.zmtw-subject-picker-copy small,
.zmtw-subject-picker-item-copy strong,
.zmtw-subject-picker-item-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-subject-picker-copy strong { font-size: 14px; font-weight: 780; }
.zmtw-subject-picker-copy small { margin-top: 2px; color: #85785e; font-size: 12px; }
.zmtw-subject-picker { position: absolute; top: calc(100% + 9px); left: 0; z-index: 80; width: 370px; overflow: hidden; background: #ffffff; border: 1px solid #dcd1bb; border-top: 3px solid var(--zmtw-gold); border-radius: 7px; box-shadow: 0 18px 44px rgba(30, 25, 15, .2); }
.zmtw-subject-picker[hidden] { display: none; }
.zmtw-subject-picker > header { padding: 16px 17px 12px; background: #1b1915; }
.zmtw-subject-picker > header strong,
.zmtw-subject-picker > header small { display: block; }
.zmtw-subject-picker > header strong { color: #ffffff; font-size: 15px; }
.zmtw-subject-picker > header small { margin-top: 4px; color: #d6c8a6; font-size: 12px; line-height: 1.45; }
.zmtw-subject-picker-search { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 8px; margin: 13px 14px 10px; padding: 0 10px; color: #8a7b61; background: #fffdf8; border: 1px solid #e5dcc9; border-radius: 6px; }
.zmtw-subject-picker-search:focus-within { border-color: var(--zmtw-gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .12); }
.zmtw-subject-picker-search .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-subject-picker-search input { width: 100%; min-width: 0; height: 38px; padding: 0; color: var(--zmtw-ink); background: transparent; border: 0; font-size: 13px; outline: 0; }
.zmtw-subject-picker-search input::placeholder { color: #a99f8e; }
.zmtw-subject-picker-list { display: grid; max-height: 310px; padding: 0 8px 9px; overflow-y: auto; }
.zmtw-subject-picker-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 62px; padding: 9px; color: var(--zmtw-ink); background: transparent; border: 0; border-radius: 6px; cursor: pointer; text-align: left; transition: background-color 150ms ease-out; }
.zmtw-subject-picker-item:hover { background: #fff8dd; }
.zmtw-subject-picker-item.is-current { background: #fff3c7; box-shadow: inset 3px 0 0 var(--zmtw-gold); }
.zmtw-subject-picker-item-avatar { width: 38px; height: 38px; color: #ffffff; background: var(--zmtw-dark); font-size: 14px; }
.zmtw-subject-picker-item.is-current .zmtw-subject-picker-item-avatar { color: var(--zmtw-ink); background: #f1c94c; }
.zmtw-subject-picker-item-copy strong { font-size: 14px; font-weight: 760; }
.zmtw-subject-picker-item-copy small { margin-top: 3px; color: #887b63; font-size: 12px; }
.zmtw-subject-picker-item em { color: #7a6330; font-size: 12px; font-style: normal; font-weight: 720; white-space: nowrap; }
.zmtw-subject-picker-item.is-current em { display: inline-flex; align-items: center; gap: 3px; color: #765706; }
.zmtw-subject-picker-item em .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-subject-picker-empty { display: grid; place-items: center; gap: 5px; min-height: 165px; padding: 20px; color: #887b63; text-align: center; }
.zmtw-subject-picker-empty > span { display: grid; place-items: center; width: 36px; height: 36px; color: #705719; background: #fff2c5; border-radius: 6px; }
.zmtw-subject-picker-empty .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-subject-picker-empty strong { color: var(--zmtw-ink); font-size: 14px; }
.zmtw-subject-picker-empty small { color: #8d8069; font-size: 12px; }
.zmtw-subject-picker > footer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 14px 14px; background: #fffdf8; border-top: 1px solid #ede5d5; }
.zmtw-subject-picker > footer button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 10px; color: #5c513b; background: #ffffff; border: 1px solid #dcd1bb; border-radius: 6px; font-size: 13px; font-weight: 720; cursor: pointer; }
.zmtw-subject-picker > footer button:last-child { color: var(--zmtw-ink); background: #f1c94c; border-color: #f1c94c; }
.zmtw-subject-picker > footer button:hover { border-color: var(--zmtw-gold); }
.zmtw-subject-picker > footer .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-sidebar-footer { display: block; padding: 13px 0 0; }
.zmtw-shell .zmtw-sidebar-subject-trigger { display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 10px; width: 100%; min-height: 58px; padding: 8px 9px; color: var(--zmtw-ink); background: #fffdf8; border: 1px solid #e0d4bd; border-radius: 7px; cursor: pointer; text-align: left; transition: border-color 150ms ease-out, background-color 150ms ease-out; }
.zmtw-sidebar-subject-trigger:hover { background: #fff7d9; border-color: var(--zmtw-gold); }
.zmtw-sidebar-subject-trigger .zmtw-avatar { width: 38px; height: 38px; color: var(--zmtw-ink); background: #f1c94c; }
.zmtw-sidebar-subject-trigger > span:nth-child(2) { display: block; min-width: 0; }
.zmtw-sidebar-subject-trigger strong,
.zmtw-sidebar-subject-trigger small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-sidebar-subject-trigger strong { font-size: 13px; font-weight: 780; }
.zmtw-sidebar-subject-trigger small { margin-top: 3px; color: #8b7d63; font-size: 11px; }
.zmtw-sidebar-subject-trigger > .dashicons { width: 17px; height: 17px; color: #987d38; font-size: 17px; }
.zmtw-management-card.is-current .zmtw-management-current { color: #1b1915; background: rgba(241, 201, 76, .94); border-color: #f1c94c; }
.zmtw-management-card.is-current .zmtw-management-switch { color: #ffffff; background: transparent; border-color: rgba(255, 255, 255, .35); }

/* Account deconstruction: independent benchmark-mechanism workspace and report. */
.zmtw-deconstruction-view { max-width: 1240px; }
.zmtw-deconstruction-view .zmtw-diagnosis-page-head h1 { font-size: 31px; }
.zmtw-deconstruction-view .zmtw-diagnosis-page-head p { max-width: 780px; font-size: 15px; line-height: 1.7; }
.zmtw-deconstruction-builder { min-height: 640px; }
.zmtw-deconstruction-cost { border-top-color: #f1c94c; }
.zmtw-deconstruction-record-count { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; color: #bfb59b; border-top: 1px solid rgba(255, 255, 255, .13); border-bottom: 1px solid rgba(255, 255, 255, .13); font-size: 13px; }
.zmtw-deconstruction-record-count strong { color: #f3d776; font-size: 22px; font-variant-numeric: tabular-nums; }

.zmtw-deconstruction-preview { margin-top: 20px; background: #ffffff; border-top: 4px solid var(--zmtw-gold); }
.zmtw-deconstruction-preview > header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; padding: 25px 28px; color: #ffffff; background: #171614; border-bottom: 1px solid #2f2c27; }
.zmtw-deconstruction-preview > header h2 { margin: 0; color: #ffffff; font-size: 23px; }
.zmtw-deconstruction-preview > header p { max-width: 760px; margin: 7px 0 0; color: #cfc7b6; font-size: 15px; line-height: 1.7; }
.zmtw-deconstruction-preview > header .zmtw-button { flex: 0 0 auto; color: #171614; background: #f1c94c; border-color: #f1c94c; }
.zmtw-deconstruction-preview > header .zmtw-button:hover { color: #171614; background: #ffe27d; border-color: #ffe27d; }
.zmtw-deconstruction-preview-stats { display: grid; grid-template-columns: 112px 132px 120px minmax(0, 1fr); align-items: stretch; min-height: 82px; background: #fff7d6; border: 1px solid #eadb9b; border-top: 0; }
.zmtw-deconstruction-preview-stats > div { display: grid; place-content: center; justify-items: center; gap: 2px; border-right: 1px solid #eadb9b; }
.zmtw-deconstruction-preview-stats > div strong { color: #171614; font-size: 25px; line-height: 1; font-variant-numeric: tabular-nums; }
.zmtw-deconstruction-preview-stats > div span { color: #756835; font-size: 12px; font-weight: 750; }
.zmtw-deconstruction-preview-stats > p { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0; padding: 0 24px; }
.zmtw-deconstruction-preview-stats > p span { padding: 5px 8px; color: #62551f; background: rgba(255, 255, 255, .72); border: 1px solid #e6d487; border-radius: 4px; font-size: 12px; font-weight: 750; }
.zmtw-deconstruction-module-nav { position: sticky; top: 72px; z-index: 9; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px; background: rgba(255, 255, 255, .96); border: 1px solid #e1d8c7; border-top: 0; box-shadow: 0 8px 18px rgba(32, 26, 16, .07); backdrop-filter: blur(12px); }
body.admin-bar .zmtw-deconstruction-module-nav { top: 104px; }
.zmtw-deconstruction-module-nav-button { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: 18px 42px; align-items: center; column-gap: 8px; width: 100%; min-width: 0; min-height: 88px !important; padding: 9px 10px 10px; color: #4e4940; background: #ffffff; border: 1px solid #dcd4c7; border-radius: 7px; text-align: left; cursor: pointer; box-shadow: 0 2px 7px rgba(27, 23, 16, .035); transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.zmtw-deconstruction-module-nav-chapter { grid-column: 1; grid-row: 1; color: #9a7a22; font-size: 11px; font-weight: 850; font-variant-numeric: tabular-nums; }
.zmtw-deconstruction-module-nav-icon { grid-column: 1; grid-row: 2; display: grid; place-items: center; width: 32px; height: 32px; color: #725710; background: #fff4c7; border: 1px solid #ebd98f; border-radius: 6px; }
.zmtw-deconstruction-module-nav-icon .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-deconstruction-module-nav-copy { grid-column: 2; grid-row: 2; align-self: center; min-width: 0; }
.zmtw-deconstruction-module-nav-copy strong, .zmtw-deconstruction-module-nav-copy small { display: block; letter-spacing: 0; }
.zmtw-deconstruction-module-nav-copy strong { color: inherit; font-size: 13px; font-weight: 800; line-height: 1.35; }
.zmtw-deconstruction-module-nav-copy small { margin-top: 3px; color: #8e8577; font-size: 11px; font-weight: 650; line-height: 1.2; }
.zmtw-deconstruction-module-nav-state { grid-column: 2; grid-row: 1; justify-self: end; display: grid; place-items: center; width: 18px; height: 18px; color: #9b9181; }
.zmtw-deconstruction-module-nav-state .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-deconstruction-module-nav-button:hover { color: #28231a; background: #fffaf0; border-color: #cba63c; box-shadow: 0 8px 16px rgba(90, 69, 15, .11); transform: translateY(-1px); }
.zmtw-deconstruction-module-nav-button:hover .zmtw-deconstruction-module-nav-state { color: #806216; }
.zmtw-deconstruction-module-nav-button:active { transform: translateY(0) scale(.98); }
.zmtw-deconstruction-module-nav-button:focus-visible { outline: 3px solid rgba(212, 175, 55, .36); outline-offset: 2px; }
.zmtw-deconstruction-module-nav-button.is-active { color: #ffffff; background: #1e1c18; border-color: #d4af37; box-shadow: inset 0 -3px 0 #f1c94c, 0 8px 18px rgba(24, 20, 13, .18); transform: none; }
.zmtw-deconstruction-module-nav-button.is-active .zmtw-deconstruction-module-nav-chapter { color: #f3d776; }
.zmtw-deconstruction-module-nav-button.is-active .zmtw-deconstruction-module-nav-icon { color: #171614; background: #f1c94c; border-color: #f1c94c; }
.zmtw-deconstruction-module-nav-button.is-active .zmtw-deconstruction-module-nav-copy small { color: #d2c7aa; }
.zmtw-deconstruction-module-nav-button.is-active .zmtw-deconstruction-module-nav-state { color: #f3d776; }
.zmtw-deconstruction-feature-groups { display: grid; gap: 24px; padding: 28px 0 8px; }
.zmtw-deconstruction-feature-group { overflow: hidden; scroll-margin-top: 196px; background: #ffffff; border: 1px solid #dcd4c7; border-radius: 8px; box-shadow: 0 10px 26px rgba(26, 22, 15, .06); }
body.admin-bar .zmtw-deconstruction-feature-group { scroll-margin-top: 228px; }
.zmtw-deconstruction-feature-group > header { display: grid; grid-template-columns: 52px 46px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 102px; padding: 20px 24px; color: #ffffff; background: #24221e; border-bottom: 3px solid #d4af37; }
.zmtw-deconstruction-group-number { color: #f3d776; font-size: 15px; font-weight: 850; font-variant-numeric: tabular-nums; }
.zmtw-deconstruction-group-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #171614; background: #f1c94c; border-radius: 7px; }
.zmtw-deconstruction-group-icon .dashicons { width: 22px; height: 22px; font-size: 22px; }
.zmtw-deconstruction-feature-group > header h3 { margin: 0; color: #ffffff; font-size: 19px; }
.zmtw-deconstruction-feature-group > header p { max-width: 730px; margin: 6px 0 0; color: #cfc7b6; font-size: 14px; line-height: 1.6; }
.zmtw-deconstruction-feature-group > header > strong { align-self: start; padding: 5px 8px; color: #171614; background: #f1c94c; border-radius: 4px; font-size: 11px; white-space: nowrap; }
.zmtw-deconstruction-feature-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #ffffff; }
.zmtw-deconstruction-feature-module { display: grid; grid-template-columns: 58px minmax(0, 1fr); min-width: 0; padding: 18px 20px 18px 18px; border-right: 1px solid #e7e0d5; border-bottom: 1px solid #e7e0d5; transition: background-color 160ms ease; }
.zmtw-deconstruction-feature-module:nth-child(2n) { border-right: 0; }
.zmtw-deconstruction-feature-module:last-child { border-bottom: 0; }
.zmtw-deconstruction-feature-module:hover { background: #fffdf7; }
.zmtw-deconstruction-module-index { position: relative; padding-top: 4px; color: #9b7c21; font-size: 12px; font-weight: 850; font-variant-numeric: tabular-nums; }
.zmtw-deconstruction-module-index::after { position: absolute; top: 29px; bottom: -25px; left: 15px; width: 1px; background: #e7dbad; content: ""; }
.zmtw-deconstruction-feature-module:last-child .zmtw-deconstruction-module-index::after { display: none; }
.zmtw-deconstruction-module-body { min-width: 0; }
.zmtw-deconstruction-module-body > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.zmtw-deconstruction-module-body > header h4 { margin: 0; color: #171614; font-size: 18px; line-height: 1.4; }
.zmtw-deconstruction-module-body > header small { display: block; margin-top: 4px; color: #978b79; font-size: 11px; font-weight: 700; }
.zmtw-deconstruction-module-body dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 17px 0 0; border: 1px solid #e4ded3; }
.zmtw-deconstruction-module-body dl > div { min-width: 0; min-height: 112px; padding: 15px 17px; border-right: 1px solid #e4ded3; }
.zmtw-deconstruction-module-body dl > div:last-child { border-right: 0; }
.zmtw-deconstruction-module-body dt { color: #876815; font-size: 12px; font-weight: 850; }
.zmtw-deconstruction-module-body dd { margin: 8px 0 0; color: #4f4a42; font-size: 14px; line-height: 1.7; }
.zmtw-deconstruction-module-preview { display: grid; grid-template-columns: 108px minmax(0, 1fr); align-items: start; gap: 12px; margin-top: 12px; padding: 13px 15px; color: #5d5126; background: #fff8d9; border-left: 3px solid #d4af37; }
.zmtw-deconstruction-module-preview strong { display: flex; align-items: center; gap: 6px; color: #765a0e; font-size: 12px; }
.zmtw-deconstruction-module-preview strong .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-deconstruction-module-preview span { font-size: 14px; line-height: 1.7; }

.zmtw-deconstruction-result { margin-top: 20px; overflow: hidden; background: #ffffff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-deconstruction-result > header { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 28px; align-items: center; min-height: 178px; padding: 30px; color: #ffffff; background: #171614; border-top: 4px solid #f1c94c; }
.zmtw-deconstruction-result > header > div:first-child > span { display: inline-flex; padding: 5px 9px; color: #171614; background: #f1c94c; border-radius: 4px; font-size: 12px; font-weight: 800; }
.zmtw-deconstruction-result > header h2 { margin: 13px 0 0; color: #ffffff; font-size: 28px; }
.zmtw-deconstruction-result > header p { max-width: 820px; margin: 9px 0 0; color: #d2cab8; font-size: 14px; line-height: 1.75; }
.zmtw-deconstruction-result > header > div:last-child { display: grid; place-items: center; align-content: center; width: 118px; height: 104px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(241, 201, 76, .28); border-radius: 8px; }
.zmtw-deconstruction-result > header > div:last-child strong { color: #f3d776; font-size: 34px; font-variant-numeric: tabular-nums; }
.zmtw-deconstruction-result > header > div:last-child span { margin-top: 2px; color: #bfb59b; font-size: 12px; }
.zmtw-deconstruction-formula { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px 30px; background: #fff8de; border-bottom: 1px solid #ead897; }
.zmtw-deconstruction-formula > span { color: #765b16; font-size: 12px; font-weight: 850; }
.zmtw-deconstruction-formula p { margin: 0; color: #332d21; font-size: 16px; font-weight: 720; line-height: 1.65; }
.zmtw-deconstruction-mechanisms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zmtw-deconstruction-mechanisms > article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px; min-width: 0; padding: 24px 28px; border-right: 1px solid var(--zmtw-line); border-bottom: 1px solid var(--zmtw-line); }
.zmtw-deconstruction-mechanisms > article:nth-child(2n) { border-right: 0; }
.zmtw-deconstruction-mechanisms > article:nth-last-child(-n + 2) { border-bottom: 0; }
.zmtw-deconstruction-mechanisms > article > span { display: grid; place-items: center; width: 40px; height: 40px; color: #6a5317; background: #fff4ca; border-radius: 6px; }
.zmtw-deconstruction-mechanisms .dashicons { width: 20px; height: 20px; font-size: 20px; }
.zmtw-deconstruction-mechanisms h3 { margin: 0; color: var(--zmtw-ink); font-size: 16px; }
.zmtw-deconstruction-mechanisms p { margin: 7px 0 0; color: var(--zmtw-muted); font-size: 14px; line-height: 1.7; }
.zmtw-deconstruction-mechanisms small { display: block; margin-top: 10px; color: #846719; font-size: 12px; font-weight: 750; }
.zmtw-deconstruction-result > footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; padding: 14px 28px; background: #fffdf8; border-top: 1px solid var(--zmtw-line); }
.zmtw-deconstruction-result > footer > span { color: var(--zmtw-muted); font-size: 13px; }
.zmtw-deconstruction-result-headline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--zmtw-line); }
.zmtw-deconstruction-result-headline > article { min-width: 0; padding: 20px 24px; border-right: 1px solid var(--zmtw-line); }
.zmtw-deconstruction-result-headline > article:last-child { border-right: 0; }
.zmtw-deconstruction-result-headline span { color: #816417; font-size: 11px; font-weight: 820; }
.zmtw-deconstruction-result-headline p { margin: 8px 0 0; color: #3f3a32; font-size: 14px; line-height: 1.7; }

.zmtw-deconstruction-builder { align-items: start; min-height: 0; }
.zmtw-deconstruction-sidecar { display: grid; align-content: start; gap: 16px; min-width: 0; }
.zmtw-deconstruction-sidecar .zmtw-deconstruction-cost { align-self: start; min-height: 0; }
.zmtw-deconstruction-cost .zmtw-diagnosis-cost-cover { margin: 16px 0 14px; padding: 13px 0; }
.zmtw-deconstruction-cost .zmtw-diagnosis-cost-cover p { margin-top: 5px; line-height: 1.55; }
.zmtw-deconstruction-cost .zmtw-diagnosis-quote-list > div { padding: 10px 0; }
.zmtw-deconstruction-cost .zmtw-diagnosis-wallet { margin-top: 12px; }
.zmtw-deconstruction-history-rail { position: static; overflow: hidden; background: #ffffff; border: 1px solid #dbd1bd; border-top: 4px solid #d4af37; border-radius: 8px; box-shadow: 0 12px 30px rgba(51, 38, 16, .08); }
.zmtw-deconstruction-history-rail > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; color: #ffffff; background: #171614; }
.zmtw-deconstruction-history-rail > header > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; }
.zmtw-deconstruction-history-rail > header > div > span { display: grid; place-items: center; width: 34px; height: 34px; color: #171614; background: #f1c94c; border-radius: 6px; }
.zmtw-deconstruction-history-rail > header .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-deconstruction-history-rail > header strong { display: block; color: #ffffff; font-size: 15px; font-weight: 820; }
.zmtw-deconstruction-history-rail > header small { display: block; margin-top: 3px; overflow: hidden; color: #c7bfae; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-deconstruction-history-refresh { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; padding: 0; color: #f3d776; background: rgba(255, 255, 255, .07); border: 1px solid rgba(241, 201, 76, .32); border-radius: 6px; cursor: pointer; }
.zmtw-deconstruction-history-refresh:hover:not(:disabled) { color: #171614; background: #f1c94c; border-color: #f1c94c; }
.zmtw-deconstruction-history-refresh:disabled { opacity: .55; cursor: wait; }
.zmtw-deconstruction-history-refresh:focus-visible { outline: 3px solid rgba(241, 201, 76, .35); outline-offset: 2px; }
.zmtw-deconstruction-history-list { display: grid; max-height: 430px; overflow: auto; }
.zmtw-deconstruction-history-item { display: grid; grid-template-columns: 63px minmax(0, 1fr) 76px; align-items: center; gap: 10px; width: 100%; min-height: 111px; padding: 13px 14px; color: inherit; background: #ffffff; border: 0; border-bottom: 1px solid #eee7db; text-align: left; cursor: pointer; }
.zmtw-deconstruction-history-item:hover { background: #fffaf0; }
.zmtw-deconstruction-history-item:focus-visible { position: relative; z-index: 1; outline: 3px solid rgba(212, 175, 55, .28); outline-offset: -3px; }
.zmtw-deconstruction-history-item.is-active { background: #fff5d7; box-shadow: inset 4px 0 0 #d4af37; }
.zmtw-deconstruction-history-platform { display: grid; justify-items: center; align-content: center; gap: 5px; width: 63px; min-height: 63px; color: #765b16; background: #fff7df; border: 1px solid #edd890; border-radius: 7px; }
.zmtw-deconstruction-history-platform .dashicons { width: 19px; height: 19px; font-size: 19px; }
.zmtw-deconstruction-history-platform b { max-width: 56px; overflow: hidden; color: currentColor; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-deconstruction-history-platform.is-douyin { color: #157b7b; background: #e9fbfb; border-color: #a9e6e2; }
.zmtw-deconstruction-history-platform.is-xiaohongshu { color: #d72942; background: #fff0f2; border-color: #ffc4cd; }
.zmtw-deconstruction-history-platform.is-kuaishou { color: #ca5622; background: #fff1e9; border-color: #ffd0bb; }
.zmtw-deconstruction-history-platform.is-wechat-channels { color: #c63b3b; background: #fff0ef; border-color: #ffc5c2; }
.zmtw-deconstruction-history-platform.is-wechat-mp { color: #168550; background: #ecfaf2; border-color: #bde9d0; }
.zmtw-deconstruction-history-platform.is-bilibili { color: #067cac; background: #ebf9ff; border-color: #bbe7f7; }
.zmtw-deconstruction-history-copy { display: block; min-width: 0; }
.zmtw-deconstruction-history-copy strong { display: block; overflow: hidden; color: #29251f; font-size: 14px; font-weight: 820; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-deconstruction-history-copy small { display: block; margin-top: 5px; overflow: hidden; color: #7c7468; font-size: 11px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-deconstruction-history-copy em { display: -webkit-box; margin-top: 7px; overflow: hidden; color: #696155; font-size: 11px; font-style: normal; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zmtw-deconstruction-history-open { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 42px; color: #80631a; font-size: 10px; }
.zmtw-deconstruction-history-open b { font-size: 10px; font-weight: 800; white-space: nowrap; }
.zmtw-deconstruction-history-open .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-deconstruction-history-item.is-active .zmtw-deconstruction-history-open { color: #171614; }
.zmtw-deconstruction-history-empty { display: grid; justify-items: center; gap: 8px; padding: 36px 20px; color: #776f64; text-align: center; }
.zmtw-deconstruction-history-empty > span { display: grid; place-items: center; width: 44px; height: 44px; color: #775d18; background: #fff5d7; border: 1px solid #ead28a; border-radius: 7px; }
.zmtw-deconstruction-history-empty .dashicons { width: 21px; height: 21px; font-size: 21px; }
.zmtw-deconstruction-history-empty strong { color: #302a21; font-size: 14px; }
.zmtw-deconstruction-history-empty p { margin: 0; color: #81796f; font-size: 12px; line-height: 1.65; }
.zmtw-deconstruction-history-rail > footer { display: flex; justify-content: center; padding: 11px 14px; color: #82796b; background: #fffdf8; border-top: 1px solid #eee7db; font-size: 11px; }
.zmtw-deconstruction-history-rail > footer button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px; color: #765a0d; background: transparent; border: 0; font-size: 12px; font-weight: 800; cursor: pointer; }
.zmtw-deconstruction-history-rail > footer button:hover:not(:disabled) { color: #2a251d; }
.zmtw-deconstruction-history-rail > footer button:disabled { opacity: .55; cursor: wait; }
.zmtw-deconstruction-history-rail > footer .dashicons { width: 16px; height: 16px; font-size: 16px; }

.zmtw-deconstruction-report-dialog .zmtw-report-body { background: #f5f1e8; }
.zmtw-deconstruction-report-dialog .zmtw-report-body > nav { background: #fffdf8; }
.zmtw-deconstruction-report-dialog .zmtw-report-body > nav button { min-height: 44px; font-size: 13px; }
.zmtw-deconstruction-report-nav-group { margin-top: 7px; padding-top: 7px; border-top: 1px solid #eee7da; }
.zmtw-deconstruction-report-nav-sections { display: grid; gap: 1px; margin: 2px 4px 8px 20px; padding-left: 9px; border-left: 1px solid #ded4c2; }
.zmtw-deconstruction-report-dialog .zmtw-report-body > nav .zmtw-deconstruction-report-nav-chapter { color: #3f3a32; font-weight: 780; }
.zmtw-deconstruction-report-dialog .zmtw-report-body > nav .zmtw-deconstruction-report-nav-section { grid-template-columns: 31px minmax(0, 1fr); min-height: 32px; padding: 5px 7px; color: #766f64; border-radius: 4px; font-size: 11px; line-height: 1.4; }
.zmtw-deconstruction-report-dialog .zmtw-report-body > nav .zmtw-deconstruction-report-nav-section span { color: #a17d1c; font-size: 9px; }
.zmtw-deconstruction-report-dialog .zmtw-report-body > nav .zmtw-deconstruction-report-nav-section:hover { color: #29251f; background: #f7f0dc; }
.zmtw-deconstruction-report-dialog .zmtw-report-body > nav .zmtw-deconstruction-report-nav-section.is-active { color: #2d271a; background: #fff0b8; box-shadow: inset 3px 0 0 #d4af37; }
.zmtw-deconstruction-report-nav-group.has-active-section > .zmtw-deconstruction-report-nav-chapter { color: #7c5d0d !important; }
.zmtw-deconstruction-report-dialog .zmtw-report-body > article { padding: 34px 42px 80px; font-size: 15px; }
.zmtw-deconstruction-document { width: min(940px, 100%); margin: 0 auto; color: var(--zmtw-ink); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
body.zmtw-deconstruction-export-page { margin: 0; color: #202826; background: #ffffff; }
body.zmtw-deconstruction-export-page .zmtw-report-export-shell { display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 0; padding: 24px; background: #f5f1e8; }
body.zmtw-deconstruction-export-page .zmtw-deconstruction-document { width: min(940px, 100%); }
.zmtw-deconstruction-document h1,
.zmtw-deconstruction-document h2,
.zmtw-deconstruction-document h3,
.zmtw-deconstruction-document h4 { letter-spacing: 0; text-wrap: balance; }
.zmtw-deconstruction-document p,
.zmtw-deconstruction-document li { letter-spacing: 0; text-wrap: pretty; }
.zmtw-deconstruction-report-cover { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 390px; padding: 48px; overflow: hidden; color: #ffffff; background: #171614; border-top: 5px solid #f1c94c; border-radius: 8px; box-shadow: 0 18px 42px rgba(23, 22, 20, .18); }
.zmtw-deconstruction-report-cover::before { position: absolute; top: 0; right: 0; width: 245px; height: 100%; background: rgba(241, 201, 76, .055); clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%); content: ""; }
.zmtw-deconstruction-report-cover > div { position: relative; z-index: 1; }
.zmtw-deconstruction-report-cover > div > span { color: #d5bd70; font-size: 12px; font-weight: 800; }
.zmtw-deconstruction-report-cover h1 { max-width: 700px; margin: 30px 0 0; color: #ffffff; font-size: 40px; line-height: 1.2; }
.zmtw-deconstruction-report-cover p { max-width: 720px; margin: 16px 0 0; color: #d4cbb7; font-size: 16px; line-height: 1.75; }
.zmtw-deconstruction-report-cover dl { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; }
.zmtw-deconstruction-report-cover dl > div { min-width: 0; padding: 16px 18px; background: #201f1c; }
.zmtw-deconstruction-report-cover dt { color: #a9a08c; font-size: 11px; }
.zmtw-deconstruction-report-cover dd { margin: 7px 0 0; overflow: hidden; color: #ffffff; font-size: 15px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }

.zmtw-deconstruction-report-toc { display: grid; grid-template-rows: auto 1fr auto; min-height: 650px; margin-top: 22px; padding: 48px; background: #ffffff; border: 1px solid rgba(83, 62, 25, .08); border-top: 5px solid #d4af37; border-radius: 8px; box-shadow: 0 14px 36px rgba(57, 43, 18, .07); }
.zmtw-deconstruction-report-toc > header > span { color: #9a7615; font-size: 11px; font-weight: 850; }
.zmtw-deconstruction-report-toc > header h2 { margin: 12px 0 0; color: #171614; font-size: 34px; line-height: 1.25; }
.zmtw-deconstruction-report-toc > header p { margin: 9px 0 0; color: #746d61; font-size: 14px; line-height: 1.7; }
.zmtw-deconstruction-report-toc > ol { display: grid; align-content: start; gap: 0; margin: 32px 0; padding: 0; list-style: none; border-top: 1px solid #e8e1d4; }
.zmtw-deconstruction-report-toc > ol > li { margin: 0; padding-bottom: 8px; border-bottom: 1px solid #e8e1d4; }
.zmtw-deconstruction-report-toc > ol > li > a { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 54px; padding: 8px 4px; color: inherit; text-decoration: none; }
.zmtw-deconstruction-report-toc > ol > li > a > span { color: #9a7615; font-size: 12px; font-weight: 850; }
.zmtw-deconstruction-report-toc > ol > li > a strong,
.zmtw-deconstruction-report-toc > ol > li > a small { display: block; }
.zmtw-deconstruction-report-toc > ol > li > a strong { color: #24211c; font-size: 15px; line-height: 1.4; }
.zmtw-deconstruction-report-toc > ol > li > a small { margin-top: 3px; color: #81796d; font-size: 11px; line-height: 1.45; }
.zmtw-deconstruction-report-toc-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 18px; margin: 0 0 5px 62px; padding: 0; list-style: none; }
.zmtw-deconstruction-report-toc-sections li { min-width: 0; margin: 0; }
.zmtw-deconstruction-report-toc-sections a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 7px; align-items: start; min-height: 24px; padding: 3px 0; color: #655e53; text-decoration: none; }
.zmtw-deconstruction-report-toc-sections a span { color: #a17d1c; font-size: 9px; font-weight: 820; line-height: 1.5; }
.zmtw-deconstruction-report-toc-sections a strong { min-width: 0; font-size: 10px; font-weight: 650; line-height: 1.5; }
.zmtw-deconstruction-report-toc > footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 15px; color: #8a8173; border-top: 1px solid #e8e1d4; font-size: 10px; }
.zmtw-deconstruction-report-toc > footer strong { color: #4e483e; font-size: 11px; }

.zmtw-deconstruction-report-section { scroll-margin-top: 26px; margin-top: 22px; padding: 32px; background: #ffffff; border: 1px solid rgba(83, 62, 25, .08); border-radius: 8px; box-shadow: 0 8px 24px rgba(57, 43, 18, .05); }
.zmtw-deconstruction-report-section > header { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 15px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-deconstruction-report-section > header > span { display: grid; place-items: center; width: 46px; height: 46px; color: #171614; background: #f1c94c; border-radius: 7px; font-size: 12px; font-weight: 850; }
.zmtw-deconstruction-report-section > header h2 { margin: 0; color: var(--zmtw-ink); font-size: 24px; line-height: 1.3; }
.zmtw-deconstruction-report-section > header p { margin: 5px 0 0; color: var(--zmtw-muted); font-size: 13px; line-height: 1.6; }
.zmtw-deconstruction-report-section > h3 { margin: 28px 0 13px; color: var(--zmtw-ink); font-size: 18px; }
.zmtw-deconstruction-executive { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .9fr); gap: 20px; align-items: stretch; }
.zmtw-deconstruction-executive > p { margin: 0; padding: 20px; color: #4e493f; background: #fffdf8; border-left: 4px solid #d4af37; font-size: 15px; line-height: 1.85; }
.zmtw-deconstruction-executive > div { padding: 20px; color: #ffffff; background: #171614; border-top: 3px solid #f1c94c; border-radius: 6px; }
.zmtw-deconstruction-executive > div span { display: block; color: #d5bd70; font-size: 11px; font-weight: 850; }
.zmtw-deconstruction-executive > div strong { display: block; margin-top: 13px; color: #ffffff; font-size: 16px; line-height: 1.75; }

.zmtw-deconstruction-modules { display: grid; gap: 20px; }
.zmtw-deconstruction-modules > article { padding: 24px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 7px; }
.zmtw-deconstruction-modules > article > header { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; margin-bottom: 18px; }
.zmtw-deconstruction-modules > article > header > span { display: grid; place-items: center; width: 34px; height: 34px; color: #6a5317; background: #fff1b7; border-radius: 5px; font-size: 11px; font-weight: 850; }
.zmtw-deconstruction-modules > article > header h3 { margin: 0; color: var(--zmtw-ink); font-size: 18px; }
.zmtw-deconstruction-modules > article > header p { margin: 6px 0 0; color: var(--zmtw-muted); font-size: 14px; line-height: 1.75; }
.zmtw-deconstruction-insights { display: grid; gap: 12px; }
.zmtw-deconstruction-insights > article { padding: 18px; background: #ffffff; border: 1px solid #e8e1d4; border-left: 3px solid #d4af37; border-radius: 6px; }
.zmtw-deconstruction-insights > article > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.zmtw-deconstruction-insights h4 { margin: 0; color: var(--zmtw-ink); font-size: 16px; line-height: 1.45; }
.zmtw-deconstruction-insights > article > header > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.zmtw-deconstruction-insights > article > header span { padding: 4px 7px; color: #5e574c; background: #f1eee7; border-radius: 4px; font-size: 11px; font-weight: 740; white-space: nowrap; }
.zmtw-deconstruction-insights > article > header span.is-observed { color: #176746; background: #e5f5ed; }
.zmtw-deconstruction-insights > article > header span.is-derived { color: #315f8a; background: #e8f2fb; }
.zmtw-deconstruction-insights > article > header span.is-inferred { color: #805d0d; background: #fff2bf; }
.zmtw-deconstruction-insights > article > header span.is-unknown { color: #9b4438; background: #fbe9e6; }
.zmtw-deconstruction-insights > article > p { margin: 12px 0 0; color: #514c43; font-size: 15px; line-height: 1.8; }
.zmtw-deconstruction-insights > article > small { display: block; margin-top: 12px; padding-top: 11px; color: #756d60; border-top: 1px solid #eee7db; font-size: 12px; line-height: 1.7; }
.zmtw-deconstruction-evidence { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 13px; }
.zmtw-deconstruction-evidence b,
.zmtw-deconstruction-conditions > b { margin-right: 3px; color: #776e60; font-size: 11px; }
.zmtw-deconstruction-evidence span { padding: 3px 6px; color: #315f8a; background: #edf5fc; border: 1px solid #d3e5f5; border-radius: 4px; font-size: 10px; font-weight: 760; }
.zmtw-deconstruction-conditions { margin-top: 13px; padding: 12px 14px; background: #f7f3e9; border-radius: 5px; }
.zmtw-deconstruction-conditions .zmtw-report-bullets { margin: 7px 0 0; color: #5f584d; font-size: 13px; line-height: 1.7; }
.zmtw-deconstruction-actions { margin-top: 16px; padding: 16px 18px; color: #ffffff; background: #24221e; border-top: 3px solid #d4af37; border-radius: 6px; }
.zmtw-deconstruction-actions h4 { margin: 0; color: #f3d776; font-size: 14px; }
.zmtw-deconstruction-actions .zmtw-report-bullets { margin: 10px 0 0; color: #ded6c5; font-size: 13px; line-height: 1.75; }
.zmtw-deconstruction-empty { padding: 18px; color: #81796d; background: #f6f3ed; border: 1px dashed #d9d0c0; border-radius: 6px; font-size: 13px; text-align: center; }

.zmtw-deconstruction-table { margin-top: 16px; }
.zmtw-deconstruction-table h4 { margin: 0 0 9px; color: var(--zmtw-ink); font-size: 14px; }
.zmtw-deconstruction-table > div { overflow-x: auto; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-deconstruction-table table { width: 100%; min-width: 620px; border-collapse: collapse; background: #ffffff; }
.zmtw-deconstruction-table th,
.zmtw-deconstruction-table td { padding: 12px 14px; border-bottom: 1px solid #eee8dc; font-size: 13px; line-height: 1.6; text-align: left; vertical-align: top; }
.zmtw-deconstruction-table th { color: #524a3d; background: #f5f1e8; font-weight: 800; }
.zmtw-deconstruction-table td { color: #625c52; }
.zmtw-deconstruction-table tr:last-child td { border-bottom: 0; }

.zmtw-deconstruction-transfer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.zmtw-deconstruction-transfer > article { min-width: 0; padding: 18px; background: #ffffff; border: 1px solid var(--zmtw-line); border-top: 4px solid #d4af37; border-radius: 7px; }
.zmtw-deconstruction-transfer > article.is-direct { border-top-color: #1a9a70; }
.zmtw-deconstruction-transfer > article.is-non_transferable { border-top-color: #bf594b; }
.zmtw-deconstruction-transfer > article header span { display: inline-block; margin-bottom: 9px; padding: 4px 7px; color: #6a5317; background: #fff2bf; border-radius: 4px; font-size: 10px; font-weight: 800; }
.zmtw-deconstruction-transfer > article.is-direct header span { color: #176746; background: #e5f5ed; }
.zmtw-deconstruction-transfer > article.is-non_transferable header span { color: #984237; background: #fbe9e6; }
.zmtw-deconstruction-transfer h3 { margin: 0; color: var(--zmtw-ink); font-size: 16px; }
.zmtw-deconstruction-transfer p { margin: 10px 0 0; color: var(--zmtw-muted); font-size: 13px; line-height: 1.7; }
.zmtw-deconstruction-transfer small { display: block; margin-top: 12px; padding-top: 11px; color: #5f584d; border-top: 1px solid var(--zmtw-line); font-size: 12px; line-height: 1.65; }
.zmtw-deconstruction-method { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.zmtw-deconstruction-method > article { padding: 20px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 7px; }
.zmtw-deconstruction-method h3 { margin: 0; color: var(--zmtw-ink); font-size: 16px; }
.zmtw-deconstruction-method .zmtw-report-bullets { margin: 12px 0 0; color: var(--zmtw-muted); font-size: 13px; line-height: 1.75; }

/* Account deconstruction report v2: decision-first reading, evidence on demand. */
.zmtw-deconstruction-document.is-v2 { --zmtw-report-green: #176f58; --zmtw-report-red: #a5483d; --zmtw-report-blue: #315f8a; }
.zmtw-deconstruction-document.is-v2 .zmtw-deconstruction-v2-chapter { padding: 32px; border: 0; border-top: 5px solid #d4af37; border-radius: 0; box-shadow: none; }
.zmtw-deconstruction-v2-headline > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #e4ddd0; }
.zmtw-deconstruction-v2-headline > div > article { min-width: 0; min-height: 138px; padding: 22px; background: #fffdf8; border-right: 1px solid #e4ddd0; border-bottom: 1px solid #e4ddd0; }
.zmtw-deconstruction-v2-headline > div > article:nth-child(2n) { border-right: 0; }
.zmtw-deconstruction-v2-headline > div > article:nth-last-child(-n + 2) { border-bottom: 0; }
.zmtw-deconstruction-v2-headline > div > article.is-1 { box-shadow: inset 4px 0 0 #d4af37; }
.zmtw-deconstruction-v2-headline > div > article.is-2 { box-shadow: inset 4px 0 0 var(--zmtw-report-green); }
.zmtw-deconstruction-v2-headline > div > article.is-3 { box-shadow: inset 4px 0 0 var(--zmtw-report-red); }
.zmtw-deconstruction-v2-headline > div > article.is-4 { box-shadow: inset 4px 0 0 var(--zmtw-report-blue); }
.zmtw-deconstruction-v2-headline article > span { color: #756a59; font-size: 11px; font-weight: 850; }
.zmtw-deconstruction-v2-headline article > p { margin: 12px 0 0; color: #2d2923; font-size: 16px; font-weight: 680; line-height: 1.75; }
.zmtw-deconstruction-v2-sections { display: grid; }
.zmtw-deconstruction-v2-section { min-width: 0; padding: 28px 2px 30px; border-bottom: 1px solid #e5ded2; }
.zmtw-deconstruction-v2-section:last-child { border-bottom: 0; }
.zmtw-deconstruction-v2-section > header { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; }
.zmtw-deconstruction-v2-section > header > span { display: grid; place-items: center; min-width: 42px; height: 32px; padding: 0 7px; color: #6c5416; background: #fff0b4; border-radius: 5px; font-size: 11px; font-weight: 850; }
.zmtw-deconstruction-v2-section > header h3 { margin: 0; color: #24211c; font-size: 20px; line-height: 1.4; }
.zmtw-deconstruction-v2-conclusion { margin: 18px 0 0; padding: 17px 19px; color: #2f2a22; background: #fff9e7; border-left: 4px solid #d4af37; font-size: 16px; font-weight: 680; line-height: 1.82; }
.zmtw-deconstruction-v2-analysis { margin-top: 17px; }
.zmtw-deconstruction-v2-analysis p { margin: 0; color: #514b41; font-size: 15px; line-height: 1.88; }
.zmtw-deconstruction-v2-analysis p + p { margin-top: 12px; }
.zmtw-deconstruction-v2-actions,
.zmtw-deconstruction-v2-risks { margin-top: 18px; padding: 17px 19px; }
.zmtw-deconstruction-v2-actions { color: #e9e3d6; background: #24221e; border-top: 3px solid #d4af37; }
.zmtw-deconstruction-v2-risks { color: #5d403a; background: #fbefed; border-left: 3px solid var(--zmtw-report-red); }
.zmtw-deconstruction-v2-actions h4,
.zmtw-deconstruction-v2-risks h4 { margin: 0; font-size: 14px; }
.zmtw-deconstruction-v2-actions h4 { color: #f3d776; }
.zmtw-deconstruction-v2-risks h4 { color: #8d3d34; }
.zmtw-deconstruction-v2-actions .zmtw-report-bullets,
.zmtw-deconstruction-v2-risks .zmtw-report-bullets { margin: 10px 0 0; color: inherit; font-size: 13px; line-height: 1.8; }
.zmtw-deconstruction-v2-evidence { margin-top: 15px; }
.zmtw-deconstruction-v2-evidence summary { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; color: #645b4e; background: #f5f1e9; border: 1px solid #ddd5c7; border-radius: 5px; font-size: 11px; font-weight: 780; cursor: pointer; }
.zmtw-deconstruction-v2-evidence > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.zmtw-deconstruction-v2-evidence > div span { padding: 4px 7px; color: #315f8a; background: #edf5fc; border: 1px solid #d3e5f5; border-radius: 4px; font-size: 10px; font-weight: 760; }
.zmtw-deconstruction-v2-mechanisms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.zmtw-deconstruction-v2-mechanisms > article { min-width: 0; padding: 20px; background: #ffffff; border: 1px solid #ddd5c7; border-top: 4px solid #d4af37; border-radius: 7px; }
.zmtw-deconstruction-v2-mechanisms > article > header span { color: #8a6a14; font-size: 10px; font-weight: 850; }
.zmtw-deconstruction-v2-mechanisms > article > header h4 { margin: 8px 0 0; color: #24211c; font-size: 17px; line-height: 1.5; }
.zmtw-deconstruction-v2-mechanisms > article > p { margin: 12px 0 0; color: #5b554b; font-size: 14px; line-height: 1.75; }
.zmtw-deconstruction-v2-mechanisms > article > div { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee7db; }
.zmtw-deconstruction-v2-mechanisms > article > div.is-warning { color: #7f4038; }
.zmtw-deconstruction-v2-mechanisms > article > div b { font-size: 12px; }
.zmtw-deconstruction-v2-mechanisms .zmtw-report-bullets { margin: 7px 0 0; color: inherit; font-size: 12px; line-height: 1.7; }
.zmtw-deconstruction-v2-mechanisms > article > footer { margin-top: 15px; padding: 13px; background: #f6f3ed; }
.zmtw-deconstruction-v2-mechanisms > article > footer span { display: inline-block; margin-right: 5px; padding: 3px 6px; color: #5e5545; background: #ffffff; border: 1px solid #ddd5c7; border-radius: 4px; font-size: 10px; font-weight: 760; }
.zmtw-deconstruction-v2-mechanisms > article > footer p,
.zmtw-deconstruction-v2-mechanisms > article > footer small { display: block; margin: 8px 0 0; color: #6b6357; font-size: 11px; line-height: 1.6; }
.zmtw-deconstruction-v2-plan table { min-width: 760px; }
.zmtw-deconstruction-v2-review { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; border: 1px solid #ddd5c7; }
.zmtw-deconstruction-v2-review > div { min-width: 0; padding: 16px 12px; text-align: center; border-right: 1px solid #ddd5c7; }
.zmtw-deconstruction-v2-review > div:last-child { border-right: 0; }
.zmtw-deconstruction-v2-review span,
.zmtw-deconstruction-v2-review strong { display: block; }
.zmtw-deconstruction-v2-review span { color: #70685c; font-size: 11px; line-height: 1.45; }
.zmtw-deconstruction-v2-review strong { margin-top: 8px; color: var(--zmtw-report-green); font-size: 14px; }
.zmtw-deconstruction-v2-review .is-returned strong { color: var(--zmtw-report-red); }

@media print {
  @page { size: A4; margin: 14mm 12mm 16mm; }
  body.zmtw-deconstruction-export-page,
  body.zmtw-deconstruction-export-page * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body.zmtw-deconstruction-export-page .zmtw-report-export-shell { padding: 0; background: #ffffff; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-document { width: 100%; color: #11100f; orphans: 3; widows: 3; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-report-cover,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-report-toc { min-height: 252mm; margin: 0; box-shadow: none; break-after: page; page-break-after: always; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-report-section { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; break-before: page; page-break-before: always; break-inside: auto; page-break-inside: auto; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-report-section > header,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-report-section > h3,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-modules > article > header,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-table h4 { break-after: avoid-page; page-break-after: avoid; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-executive,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-modules,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-insights,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-transfer,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-method { display: block; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-executive > *,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-insights > article,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-transfer > article,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-method > article,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-actions { break-inside: avoid-page; page-break-inside: avoid; box-shadow: none; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-executive > * + *,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-insights > article + article,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-transfer > article + article,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-method > article + article { margin-top: 12px; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-modules > article { margin: 0 0 8mm; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; break-inside: auto; page-break-inside: auto; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-modules > article > header { padding: 14px 16px; background: #fffdf8; border: 1px solid #e8e1d4; border-left: 4px solid #d4af37; border-radius: 6px; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-table { break-inside: auto; page-break-inside: auto; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-table > div { overflow: visible; border-radius: 0; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-table table { min-width: 0; table-layout: fixed; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-table thead { display: table-header-group; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-table tbody { display: table-row-group; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-table tr { break-inside: avoid-page; page-break-inside: avoid; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-table th,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-table td { overflow-wrap: anywhere; word-break: break-word; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-headline > div > article,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-section > header,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-conclusion,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-actions,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-risks,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-mechanisms > article,
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-review { break-inside: avoid-page; page-break-inside: avoid; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-mechanisms { display: block; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-mechanisms > article + article { margin-top: 5mm; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-evidence summary { display: none; }
  body.zmtw-deconstruction-export-page .zmtw-deconstruction-v2-evidence > div { display: flex !important; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-report-dialog .zmtw-report-body > article { padding: 0; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-document { width: 100%; color: #11100f; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-report-cover { min-height: 0; break-after: page; box-shadow: none; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-report-section { margin-top: 14px; break-inside: auto; box-shadow: none; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-modules > article > header,
  body.zmt-unified-workbench-page .zmtw-deconstruction-table h4 { break-after: avoid-page; page-break-after: avoid; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-insights > article,
  body.zmt-unified-workbench-page .zmtw-deconstruction-transfer > article,
  body.zmt-unified-workbench-page .zmtw-deconstruction-method > article,
  body.zmt-unified-workbench-page .zmtw-deconstruction-actions { break-inside: avoid-page; page-break-inside: avoid; box-shadow: none; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-table > div { overflow: visible; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-table table { min-width: 0; table-layout: fixed; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-table thead { display: table-header-group; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-table tr { break-inside: avoid-page; page-break-inside: avoid; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-v2-headline > div > article,
  body.zmt-unified-workbench-page .zmtw-deconstruction-v2-section > header,
  body.zmt-unified-workbench-page .zmtw-deconstruction-v2-conclusion,
  body.zmt-unified-workbench-page .zmtw-deconstruction-v2-actions,
  body.zmt-unified-workbench-page .zmtw-deconstruction-v2-risks,
  body.zmt-unified-workbench-page .zmtw-deconstruction-v2-mechanisms > article,
  body.zmt-unified-workbench-page .zmtw-deconstruction-v2-review { break-inside: avoid-page; page-break-inside: avoid; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-v2-evidence summary { display: none; }
  body.zmt-unified-workbench-page .zmtw-deconstruction-v2-evidence > div { display: flex !important; }
}

/* Content-planning category and its in-workbench radar detail view. */
.zmtw-planning-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: none; }
.zmtw-planning-feature-card { --zmtw-planning-tone: var(--zmtw-gold); --zmtw-planning-soft: var(--zmtw-gold-soft); --zmtw-planning-ink: #5a4017; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 60px minmax(0, 1fr) auto; gap: 0 12px; align-items: start; width: 100%; min-height: 224px; padding: 20px; overflow: hidden; color: var(--zmtw-ink); background: #ffffff; border: 1px solid color-mix(in srgb, var(--zmtw-planning-tone) 23%, var(--zmtw-line)); border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), inset 0 -1px 0 rgba(24, 33, 31, .025), 0 3px 7px rgba(28, 30, 24, .05), 0 14px 28px rgba(28, 30, 24, .055); text-align: left; cursor: pointer; transition-property: transform, box-shadow, border-color; transition-duration: 180ms; transition-timing-function: cubic-bezier(.2, 0, 0, 1); }
.zmtw-planning-feature-card::before { position: absolute; top: 18px; right: 18px; width: 42px; height: 4px; background: var(--zmtw-planning-tone); box-shadow: -7px 7px 0 color-mix(in srgb, var(--zmtw-planning-tone) 18%, transparent); content: ""; }
.zmtw-planning-feature-card::after { position: absolute; right: 20px; bottom: 0; left: 20px; height: 4px; background: var(--zmtw-planning-tone); clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 10px 100%); content: ""; }
.zmtw-planning-feature-card.is-comment-demand { --zmtw-planning-tone: #167568; --zmtw-planning-soft: #eaf4f1; --zmtw-planning-ink: #146258; }
.zmtw-planning-feature-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; color: var(--zmtw-planning-ink); background: var(--zmtw-planning-soft); border: 1px solid color-mix(in srgb, var(--zmtw-planning-tone) 38%, transparent); clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 0 100%); filter: drop-shadow(4px 4px 0 color-mix(in srgb, var(--zmtw-planning-tone) 72%, transparent)); transition-property: transform, filter; transition-duration: 180ms; transition-timing-function: cubic-bezier(.2, 0, 0, 1); }
.zmtw-planning-feature-icon::before { position: absolute; top: 7px; right: 7px; width: 10px; height: 10px; border-top: 2px solid var(--zmtw-planning-tone); border-right: 2px solid var(--zmtw-planning-tone); content: ""; }
.zmtw-planning-feature-card.is-comment-demand .zmtw-planning-feature-icon { color: var(--zmtw-planning-tone); background: var(--zmtw-planning-soft); }
.zmtw-planning-feature-icon .dashicons { width: 25px; height: 25px; font-size: 25px; }
.zmtw-planning-feature-copy strong,
.zmtw-planning-feature-copy small,
.zmtw-planning-feature-meta b,
.zmtw-planning-feature-meta em { display: block; }
.zmtw-planning-feature-copy { grid-row: 2; grid-column: 1 / -1; align-self: start; min-width: 0; margin-top: 11px; }
.zmtw-planning-feature-copy strong { font-size: 18px; font-weight: 760; line-height: 1.35; }
.zmtw-planning-feature-copy small { display: -webkit-box; overflow: hidden; margin-top: 8px; color: var(--zmtw-muted); font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zmtw-planning-feature-meta { display: flex; grid-row: 3; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-width: 0; margin-top: auto; padding-top: 13px; border-top: 1px solid color-mix(in srgb, var(--zmtw-planning-tone) 16%, var(--zmtw-line)); }
.zmtw-planning-feature-meta b { overflow: hidden; color: var(--zmtw-muted); font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-planning-feature-meta em { display: inline-flex; align-items: center; gap: 5px; color: var(--zmtw-planning-ink); font-size: 13px; font-style: normal; font-weight: 760; white-space: nowrap; }
.zmtw-planning-feature-meta .dashicons { width: 18px; height: 18px; font-size: 18px; transition: transform 160ms cubic-bezier(.2, 0, 0, 1); }
@media (hover: hover) {
  .zmtw-planning-feature-card:hover { border-color: color-mix(in srgb, var(--zmtw-planning-tone) 72%, var(--zmtw-line)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), 0 6px 12px rgba(28, 30, 24, .075), 0 22px 38px rgba(28, 30, 24, .12); transform: translateY(-3px); }
  .zmtw-planning-feature-card:hover .zmtw-planning-feature-icon { filter: drop-shadow(6px 6px 0 color-mix(in srgb, var(--zmtw-planning-tone) 78%, transparent)); transform: translate(1px, -2px) rotate(-2deg); }
  .zmtw-planning-feature-card:hover .zmtw-planning-feature-meta .dashicons { transform: translateX(3px); }
}
.zmtw-planning-detail-head { align-items: flex-start; min-height: 132px !important; margin-bottom: 24px; padding: 24px 28px; }
.zmtw-strategy-view .zmtw-planning-detail-head { color: #ffffff; background: var(--zmtw-dark); border-top: 4px solid var(--zmtw-gold); border-radius: 8px; box-shadow: 0 12px 26px rgba(21, 18, 12, .14); }
.zmtw-strategy-view .zmtw-planning-detail-head h1 { color: #ffffff; }
.zmtw-strategy-view .zmtw-planning-detail-head > div:first-child { min-width: 0; max-width: 860px; }
.zmtw-strategy-view .zmtw-planning-detail-head p { color: #d5c9aa; line-height: 1.65; }
.zmtw-strategy-view .zmtw-planning-detail-head .zmtw-head-actions { flex: 0 0 auto; padding-top: 1px; }
.zmtw-strategy-view .zmtw-planning-detail-head .zmtw-button-secondary { min-height: 44px; padding-right: 18px; padding-left: 16px; color: var(--zmtw-ink) !important; background: #ffffff; box-shadow: 0 1px 0 rgba(255, 255, 255, .28), 0 6px 14px rgba(0, 0, 0, .16); white-space: nowrap; }
.zmtw-strategy-view [data-zmtw-strategy-comment-demand] .zmtcdr-app { max-width: none; margin: 0; padding: 0 0 32px; background: transparent; }
.zmtw-strategy-view [data-zmtw-strategy-comment-demand] .zmtcdr-layout { margin-top: 0; }

@media (max-width: 767px) {
  .zmtw-planning-features { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .zmtw-planning-feature-card { min-height: 206px; padding: 18px; }
  .zmtw-planning-feature-card::after { right: 18px; left: 18px; }
  .zmtw-planning-feature-copy strong { font-size: 18px; }
  .zmtw-planning-feature-copy small { font-size: 14px; }
}
.zmtw-diagnosis-report-section { scroll-margin-top: 18px; }
.zmtw-diagnosis-issues { display: grid; gap: 18px; }
.zmtw-diagnosis-issue { overflow: hidden; background: #ffffff; border: 1px solid #e5ded1; border-left: 4px solid #d4af37; border-radius: 7px; box-shadow: 0 8px 20px rgba(42, 31, 12, .05); }
.zmtw-diagnosis-issue.is-high { border-left-color: #c34e3f; }
.zmtw-diagnosis-issue.is-low { border-left-color: #9a9387; }
.zmtw-diagnosis-issue > header { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 13px; padding: 18px 20px; background: #171614; }
.zmtw-diagnosis-issue > header > span { display: grid; place-items: center; width: 42px; height: 42px; color: #171614; background: #f1c94c; border-radius: 6px; font-size: 13px; font-weight: 850; }
.zmtw-diagnosis-issue > header h3 { color: #ffffff; font-size: 19px; line-height: 1.45; }
.zmtw-diagnosis-issue > header small { display: block; margin-top: 3px; color: #d8c99c; font-size: 12px; }
.zmtw-diagnosis-issue-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid #eee7da; }
.zmtw-diagnosis-issue-lead p { margin: 0; padding: 17px 20px; color: #615b52; font-size: 14px; line-height: 1.75; }
.zmtw-diagnosis-issue-lead p + p { border-left: 1px solid #eee7da; }
.zmtw-diagnosis-issue-lead b,
.zmtw-diagnosis-evidence > strong { display: block; margin-bottom: 6px; color: #2d2923; font-size: 13px; }
.zmtw-diagnosis-evidence { padding: 17px 20px; background: #fffdf8; border-bottom: 1px solid #eee7da; }
.zmtw-diagnosis-evidence > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 8px; }
.zmtw-diagnosis-evidence > div > span,
.zmtw-diagnosis-evidence-id { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-width: 52px; min-height: 25px; padding: 3px 7px; color: #6a5317; background: #fff4ca; border-radius: 4px; font-size: 11px; font-weight: 850; }
.zmtw-diagnosis-evidence > div p { margin: 0; color: #696258; font-size: 13px; line-height: 1.65; }
.zmtw-diagnosis-evidence > div p b { margin-right: 8px; color: #2d2923; }
.zmtw-diagnosis-root-cause { padding: 17px 20px; border-bottom: 1px solid #eee7da; }
.zmtw-diagnosis-root-cause > div { display: flex; align-items: center; gap: 8px; }
.zmtw-diagnosis-root-cause > div span { color: #2d2923; font-size: 13px; font-weight: 800; }
.zmtw-diagnosis-root-cause > div strong { padding: 3px 7px; color: #6a5317; background: #fff4ca; border-radius: 4px; font-size: 11px; }
.zmtw-diagnosis-root-cause p { margin: 8px 0 0; color: #403b34; font-size: 14px; line-height: 1.7; }
.zmtw-diagnosis-root-cause small { display: block; margin-top: 6px; color: #8a8276; font-size: 12px; line-height: 1.6; }
.zmtw-diagnosis-solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid #eee7da; }
.zmtw-diagnosis-solution-grid > div { padding: 17px 20px; }
.zmtw-diagnosis-solution-grid > div + div { border-left: 1px solid #eee7da; }
.zmtw-diagnosis-solution-grid span { color: #9a7311; font-size: 13px; font-weight: 850; }
.zmtw-diagnosis-solution-grid p { margin: 7px 0 0; color: #575149; font-size: 14px; line-height: 1.7; }
.zmtw-diagnosis-issue > footer { display: grid; grid-template-columns: 1.2fr 1.2fr .7fr 1fr; background: #f8f5ef; }
.zmtw-diagnosis-issue > footer > div { min-width: 0; padding: 13px 16px; border-right: 1px solid #e7dfd1; }
.zmtw-diagnosis-issue > footer > div:last-child { border-right: 0; }
.zmtw-diagnosis-issue > footer span,
.zmtw-diagnosis-issue > footer strong { display: block; }
.zmtw-diagnosis-issue > footer span { color: #8c8478; font-size: 11px; }
.zmtw-diagnosis-issue > footer strong { margin-top: 4px; overflow-wrap: anywhere; color: #332f29; font-size: 13px; line-height: 1.5; }

.zmtw-diagnosis-roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.zmtw-diagnosis-roadmap > section { min-width: 0; overflow: hidden; background: #ffffff; border: 1px solid #e4dccd; border-radius: 7px; }
.zmtw-diagnosis-roadmap > section > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 16px; color: #ffffff; background: #171614; border-top: 3px solid #d4af37; }
.zmtw-diagnosis-roadmap > section > header strong { color: #f4d96f; font-size: 17px; }
.zmtw-diagnosis-roadmap > section > header span { color: #c6bda8; font-size: 11px; }
.zmtw-diagnosis-roadmap ol { display: grid; gap: 0; margin: 0; padding: 0 16px; list-style: none; }
.zmtw-diagnosis-roadmap li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 15px 0; border-bottom: 1px solid #eee7da; }
.zmtw-diagnosis-roadmap li:last-child { border-bottom: 0; }
.zmtw-diagnosis-roadmap li > b { display: grid; place-items: center; width: 28px; height: 28px; color: #6a5317; background: #fff4ca; border-radius: 50%; font-size: 10px; }
.zmtw-diagnosis-roadmap h3 { font-size: 14px; }
.zmtw-diagnosis-roadmap p { margin: 5px 0 0; color: #655f56; font-size: 13px; line-height: 1.65; }
.zmtw-diagnosis-roadmap small { display: flex; align-items: flex-start; gap: 5px; margin-top: 8px; color: #816415; font-size: 11px; line-height: 1.55; }
.zmtw-diagnosis-roadmap small .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-diagnosis-content-benchmarks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.zmtw-diagnosis-content-benchmarks article { min-width: 0; overflow: hidden; background: #ffffff; border: 1px solid #e4dccd; border-radius: 7px; }
.zmtw-diagnosis-content-benchmarks header { min-height: 102px; padding: 16px; color: #ffffff; background: #171614; border-top: 3px solid #d4af37; }
.zmtw-diagnosis-content-benchmarks header span { display: inline-block; padding: 3px 7px; color: #171614; background: #f1c94c; border-radius: 4px; font-size: 11px; font-weight: 850; }
.zmtw-diagnosis-content-benchmarks h3 { margin-top: 9px; color: #ffffff; font-size: 15px; line-height: 1.55; }
.zmtw-diagnosis-content-benchmarks dl { display: grid; gap: 0; margin: 0; }
.zmtw-diagnosis-content-benchmarks dl div { padding: 13px 15px; border-bottom: 1px solid #eee7da; }
.zmtw-diagnosis-content-benchmarks dl div:last-child { border-bottom: 0; }
.zmtw-diagnosis-content-benchmarks dt { color: #99740f; font-size: 12px; font-weight: 800; }
.zmtw-diagnosis-content-benchmarks dd { margin: 5px 0 0; color: #625c53; font-size: 13px; line-height: 1.65; }
.zmtw-diagnosis-report-table td:first-child .zmtw-diagnosis-evidence-id { margin: 0 8px 6px 0; vertical-align: middle; }

@media print {
  body.zmt-unified-workbench-page .zmtw-diagnosis-issue,
  body.zmt-unified-workbench-page .zmtw-diagnosis-roadmap > section,
  body.zmt-unified-workbench-page .zmtw-diagnosis-content-benchmarks article { break-inside: avoid; box-shadow: none; }
}

/* Unified data center: desktop-only black-gold operations workspace. */
.zmtw-data-center-view { --zdc-black: #171614; --zdc-gold: #d4af37; --zdc-yellow: #f1c94c; --zdc-soft: #fff8dc; --zdc-line: #e8e1d2; color: #24211c; font-size: 15px; }
.zmtw-data-mode-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 980px; margin: -4px 0 20px; overflow: hidden; background: #fff; border: 1px solid var(--zdc-line); border-top: 3px solid var(--zdc-gold); border-radius: 7px; box-shadow: 0 8px 22px rgba(30, 25, 15, .06); }
.zmtw-data-mode-tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 16px; color: #5f594e; background: #fff; border: 0; border-right: 1px solid #eee8dc; font-size: 15px; font-weight: 780; cursor: pointer; transition: color 150ms ease-out, background-color 150ms ease-out; }
.zmtw-data-mode-tabs button:last-child { border-right: 0; }
.zmtw-data-mode-tabs button:hover { color: #24211c; background: #fff9e7; }
.zmtw-data-mode-tabs button.is-active { color: #201d17; background: var(--zdc-yellow); box-shadow: inset 0 -3px 0 var(--zdc-black); }
.zmtw-data-mode-tabs button .dashicons { width: 19px; height: 19px; color: #8f7b43; font-size: 19px; }
.zmtw-data-mode-tabs button.is-active .dashicons { color: #201d17; }
.zmtw-data-center { min-width: 980px; }
.zmtw-data-loading, .zmtw-data-empty { display: grid; place-items: center; align-content: center; min-height: 360px; padding: 42px; text-align: center; background: #fff; border: 1px solid var(--zdc-line); border-top: 4px solid var(--zdc-gold); border-radius: 7px; }
.zmtw-data-loading .dashicons { width: 34px; height: 34px; margin-bottom: 13px; color: #a57b12; font-size: 34px; animation: zmtw-spin .9s linear infinite; }
.zmtw-data-loading strong { font-size: 16px; }
.zmtw-data-empty > .dashicons { width: 42px; height: 42px; color: #a57b12; font-size: 42px; }
.zmtw-data-empty h3 { margin: 17px 0 7px; font-size: 19px; }
.zmtw-data-empty p { max-width: 520px; margin: 0 0 20px; color: #777064; font-size: 14px; line-height: 1.7; }
.zmtw-data-service-strip { display: flex; justify-content: space-between; gap: 28px; min-height: 100px; margin-bottom: 18px; padding: 20px 24px; color: #fff; background: var(--zdc-black); border-top: 4px solid var(--zdc-gold); border-radius: 7px; box-shadow: 0 12px 28px rgba(30, 25, 15, .12); }
.zmtw-data-service-strip > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.zmtw-data-service-strip > div:first-child { align-content: center; flex: 1; }
.zmtw-data-service-strip > div:last-child { justify-content: flex-end; width: 310px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.13); }
.zmtw-data-service-strip strong { flex-basis: 100%; color: #fff; font-size: 18px; }
.zmtw-data-service-strip small { color: #bdb7aa; font-size: 13px; }
.zmtw-data-service-strip > div:last-child > span { color: #c8c1b4; font-size: 13px; }
.zmtw-data-service-strip > div:last-child > strong { flex-basis: auto; color: #f5d86f; font-size: 22px; font-variant-numeric: tabular-nums; }
.zmtw-data-service-strip button { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: #f5d86f; background: none; border: 0; font-size: 13px; font-weight: 750; cursor: pointer; }
.zmtw-data-live { display: inline-flex; align-items: center; gap: 7px; width: max-content; color: #f5d86f; font-size: 12px; font-weight: 800; }
.zmtw-data-live i { width: 7px; height: 7px; background: #42c991; border-radius: 50%; box-shadow: 0 0 0 4px rgba(66,201,145,.13); }
.zmtw-data-collector-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.zmtw-data-collector { overflow: hidden; background: #fff; border: 1px solid var(--zdc-line); border-radius: 7px; }
.zmtw-data-collector > section { padding: 24px 26px 27px; border-bottom: 1px solid var(--zdc-line); }
.zmtw-data-collector > section:last-child { border-bottom: 0; }
.zmtw-data-collector section > header { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 19px; }
.zmtw-data-collector section > header > div { min-width: 0; }
.zmtw-data-package-guide-button { display: inline-flex; align-items: center; gap: 5px; min-height: 31px; margin-left: auto; padding: 0 10px; color: #755b16; background: #fff8dc; border: 1px solid #e3ca75; border-radius: 5px; font-size: 12px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.zmtw-data-package-guide-button:hover { color: #29220f; background: #fff0b5; border-color: #c89e24; }
.zmtw-data-package-guide-button .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-data-collector section > header > span { display: grid; place-items: center; width: 31px; height: 31px; color: #4d3d10; background: var(--zdc-yellow); border-radius: 5px; font-size: 12px; font-weight: 850; }
.zmtw-data-collector h2 { margin: 0; color: #171614; font-size: 18px; line-height: 1.25; }
.zmtw-data-collector header p { margin: 5px 0 0; color: #777064; font-size: 13px; }
.zmtw-data-platforms { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.zmtw-data-platforms button { display: grid; place-items: center; gap: 8px; min-width: 0; height: 82px; padding: 9px 5px; color: #615b51; background: #fff; border: 1px solid #ded8cc; border-radius: 6px; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.zmtw-data-platforms button:hover { transform: translateY(-1px); border-color: #c3a141; background: #fffdf8; }
.zmtw-data-platforms button.is-active { color: #171614; background: var(--zdc-soft); border-color: #c39b25; box-shadow: inset 0 -3px 0 var(--zdc-gold); }
.zmtw-data-platforms button span { display: grid; place-items: center; width: 29px; height: 29px; color: #fff; background: #292721; border-radius: 5px; font-size: 13px; font-weight: 850; }
.zmtw-data-platforms button.is-active span { color: #332a12; background: var(--zdc-yellow); }
.zmtw-data-platforms button b { overflow: hidden; max-width: 100%; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-data-source-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; }
.zmtw-data-source-row label, .zmtw-data-options label { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.zmtw-data-source-row label > span, .zmtw-data-options label > span { color: #4e4940; font-size: 13px; font-weight: 750; }
.zmtw-data-source-row select, .zmtw-data-source-row input, .zmtw-data-options select { width: 100%; min-height: 46px; padding: 0 13px; color: #26231e; background: #fff; border: 1px solid #d9d2c4; border-radius: 5px; font-size: 15px; outline: none; }
.zmtw-data-source-row select:focus, .zmtw-data-source-row input:focus, .zmtw-data-options select:focus { border-color: #b58a16; box-shadow: 0 0 0 3px rgba(212,175,55,.16); }
.zmtw-data-source-row small { color: #898276; font-size: 12px; }
.zmtw-data-packages { display: grid; gap: 9px; }
.zmtw-data-package { display: grid; grid-template-columns: 28px minmax(0, 1fr) 130px; gap: 13px; align-items: center; width: 100%; min-height: 94px; padding: 15px 17px; text-align: left; color: #26231e; background: #fff; border: 1px solid #ded8cc; border-radius: 6px; cursor: pointer; }
.zmtw-data-package:hover { border-color: #c4a340; background: #fffdf8; }
.zmtw-data-package.is-selected { border-color: #bc921c; background: var(--zdc-soft); box-shadow: inset 3px 0 0 var(--zdc-gold); }
.zmtw-data-package > i { display: grid; place-items: center; width: 24px; height: 24px; color: #8a8378; background: #f4f1eb; border: 1px solid #d5cec1; border-radius: 4px; }
.zmtw-data-package.is-selected > i { color: #28220f; background: var(--zdc-yellow); border-color: #cba528; }
.zmtw-data-package > span { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.zmtw-data-package > span > strong { flex-basis: 100%; font-size: 16px; }
.zmtw-data-package-risk { display: inline-flex; align-items: center; min-height: 19px; margin-left: 7px; padding: 0 5px; color: #8a491c; background: #fff0e6; border: 1px solid #e8c3ab; border-radius: 3px; font-size: 10px; font-style: normal; font-weight: 850; vertical-align: 2px; }
.zmtw-data-package > span > small { flex-basis: 100%; color: #716b61; font-size: 13px; line-height: 1.5; }
.zmtw-data-package em { display: flex; flex-wrap: wrap; gap: 5px; font-style: normal; }
.zmtw-data-package em b { padding: 3px 6px; color: #6a5317; background: #fff; border: 1px solid #e5d8af; border-radius: 3px; font-size: 11px; }
.zmtw-data-package > span > strong .zmtw-data-package-risk { display: inline-flex; width: auto; align-items: center; gap: 0; }
.zmtw-data-package mark { justify-self: end; max-width: 130px; color: #746b5e; background: transparent; font-size: 12px; line-height: 1.55; text-align: right; }
.zmtw-data-package.is-high-cost { border-color: #e1b58f; background: #fffaf6; }
.zmtw-data-package.is-high-cost:hover { border-color: #bd7e43; background: #fff5ec; }
.zmtw-data-package.is-high-cost.is-selected { background: #fff1e4; border-color: #c78342; box-shadow: inset 3px 0 0 #c78342; }
.zmtw-data-options { display: flex; align-items: flex-end; gap: 24px; margin-top: 17px; padding-top: 17px; border-top: 1px solid #eee8dc; }
.zmtw-data-options > label:first-child { width: 210px; }
.zmtw-data-cache-toggle { flex-direction: row !important; align-items: center; gap: 10px !important; padding-bottom: 3px; cursor: pointer; }
.zmtw-data-cache-toggle input { width: 18px; height: 18px; accent-color: #b78b17; }
.zmtw-data-cache-toggle span { display: flex; flex-direction: column; }
.zmtw-data-cache-toggle small { color: #827b70; font-size: 12px; font-weight: 500; }
.zmtw-data-cost-rail { position: sticky; top: 82px; overflow: hidden; background: #fff; border: 1px solid var(--zdc-line); border-top: 4px solid var(--zdc-gold); border-radius: 7px; box-shadow: 0 10px 25px rgba(35,29,17,.08); }
.zmtw-data-cost-rail > header { display: flex; gap: 12px; align-items: center; padding: 19px 20px; background: var(--zdc-black); }
.zmtw-data-cost-rail > header > span { display: grid; place-items: center; width: 35px; height: 35px; color: #362b0b; background: var(--zdc-yellow); border-radius: 5px; }
.zmtw-data-cost-rail h2 { margin: 0; color: #fff; font-size: 17px; }
.zmtw-data-cost-rail header p { margin: 4px 0 0; color: #b8b1a5; font-size: 12px; line-height: 1.4; }
.zmtw-data-quote-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; min-height: 198px; padding: 28px; color: #756e63; text-align: center; font-size: 13px; line-height: 1.6; }
.zmtw-data-quote-empty .dashicons { width: 30px; height: 30px; color: #a57b12; font-size: 30px; }
.zmtw-data-quote-empty.is-loading .dashicons { animation: zmtw-spin .9s linear infinite; }
.zmtw-data-estimate { padding: 22px 20px 13px; text-align: center; }
.zmtw-data-estimate > span { color: #766f64; font-size: 13px; }
.zmtw-data-estimate > strong { display: block; margin: 7px 0 4px; color: #171614; font-size: 34px; font-variant-numeric: tabular-nums; line-height: 1; }
.zmtw-data-estimate > strong small { margin-left: 5px; color: #736b5f; font-size: 13px; }
.zmtw-data-estimate p { margin: 0; color: #81796c; font-size: 12px; }
.zmtw-data-full-content-estimate { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px 8px; align-items: center; margin: 0 18px 12px; padding: 10px 11px; color: #754719; background: #fff3e7; border: 1px solid #ebc8aa; border-radius: 5px; font-size: 12px; }
.zmtw-data-full-content-estimate .dashicons { grid-row: 1 / span 2; width: 18px; height: 18px; color: #a45c1d; font-size: 18px; }
.zmtw-data-full-content-estimate span { min-width: 0; }
.zmtw-data-full-content-estimate small { color: #966f4d; font-size: 11px; }
.zmtw-data-cost-rail > ul { max-height: 230px; overflow: auto; margin: 0; padding: 0 20px 12px; list-style: none; }
.zmtw-data-cost-rail > ul li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eee8dc; font-size: 12px; }
.zmtw-data-cost-rail > ul span { color: #655f55; }
.zmtw-data-cost-rail > ul strong { color: #26231e; white-space: nowrap; }
.zmtw-data-cost-rail > footer { display: grid; grid-template-columns: 1fr; gap: 9px; padding: 17px 20px 19px; background: #fffdf8; border-top: 1px solid #e8e0d0; }
.zmtw-data-cost-rail > footer .zmtw-button { justify-content: center; width: 100%; min-height: 43px; font-size: 14px; }
.zmtw-data-cost-rail > footer p { margin: 3px 0 0; color: #837b6f; font-size: 11px; line-height: 1.5; }
.zmtw-data-list-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; padding: 2px 2px 13px; border-bottom: 1px solid var(--zdc-line); }
.zmtw-data-list-head h2 { margin: 0; font-size: 20px; }
.zmtw-data-list-head p { margin: 5px 0 0; color: #777064; font-size: 13px; }
.zmtw-data-list-head > span { color: #6b6253; font-size: 13px; font-weight: 700; }
.zmtw-data-table-wrap { overflow: auto; background: #fff; border: 1px solid var(--zdc-line); border-radius: 6px; }
.zmtw-data-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 14px; }
.zmtw-data-table th { padding: 12px 14px; color: #5d4b1e; text-align: left; background: #fff8dc; border-bottom: 1px solid #e8dba9; font-size: 12px; font-weight: 800; white-space: nowrap; }
.zmtw-data-table td { max-width: 270px; padding: 13px 14px; color: #4b463e; border-bottom: 1px solid #eee9df; vertical-align: middle; }
.zmtw-data-table tr:last-child td { border-bottom: 0; }
.zmtw-data-table tbody tr:hover { background: #fffdf8; }
.zmtw-data-table td strong, .zmtw-data-table td small { display: block; }
.zmtw-data-table td strong { overflow: hidden; color: #24211c; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-data-table td small { margin-top: 4px; overflow: hidden; color: #888074; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-data-table td button { padding: 0; color: #7d5e0d; background: none; border: 0; font-size: 13px; font-weight: 750; cursor: pointer; }
.zmtw-data-table.is-records tbody tr { cursor: pointer; }
.zmtw-data-table td > span.is-error { display: block; overflow: hidden; max-width: 220px; color: #aa3f3f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-data-table .is-positive { color: #17805d; }
.zmtw-data-table .is-negative { color: #a44a36; }
.zmtw-data-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; color: #5d574d; background: #f2efe9; border-radius: 4px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.zmtw-data-status i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.zmtw-data-status.is-succeeded, .zmtw-data-status.is-cached { color: #167452; background: #e7f5ee; }
.zmtw-data-status.is-failed { color: #a64136; background: #faeae7; }
.zmtw-data-status.is-partial { color: #896713; background: #fff3cf; }
.zmtw-data-status.is-running, .zmtw-data-status.is-queued { color: #32689c; background: #e9f2fa; }
.zmtw-dataset-list { overflow: hidden; background: #fff; border: 1px solid var(--zdc-line); border-radius: 7px; }
.zmtw-dataset-list > button { display: grid; grid-template-columns: 42px minmax(240px, 1.6fr) repeat(3, minmax(88px, .45fr)) 150px 22px; gap: 15px; align-items: center; width: 100%; min-height: 78px; padding: 13px 18px; color: #38342e; text-align: left; background: #fff; border: 0; border-bottom: 1px solid #eee8dc; cursor: pointer; }
.zmtw-dataset-list > button:last-child { border-bottom: 0; }
.zmtw-dataset-list > button:hover { background: #fffaf0; }
.zmtw-dataset-platform { display: grid; place-items: center; width: 38px; height: 38px; color: #31280f; background: var(--zdc-yellow); border-radius: 5px; font-weight: 850; }
.zmtw-dataset-main { min-width: 0; }
.zmtw-dataset-main strong, .zmtw-dataset-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-dataset-main strong { color: #22201c; font-size: 15px; }
.zmtw-dataset-main small, .zmtw-dataset-list time, .zmtw-dataset-list > button > span > small { margin-top: 5px; color: #827a6e; font-size: 12px; }
.zmtw-dataset-list > button > span > strong { display: block; margin-top: 5px; font-size: 14px; font-variant-numeric: tabular-nums; }
.zmtw-dataset-list time { white-space: nowrap; }
.zmtw-dataset-toolbar { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 64px; padding: 10px 16px; color: #fff; background: var(--zdc-black); border-top: 4px solid var(--zdc-gold); border-radius: 7px 7px 0 0; }
.zmtw-dataset-toolbar button { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; padding: 0 10px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.24); border-radius: 4px; font-size: 13px; font-weight: 700; cursor: pointer; }
.zmtw-dataset-toolbar > div:nth-child(2) { min-width: 0; }
.zmtw-dataset-toolbar > div:nth-child(2) strong { display: block; overflow: hidden; margin-top: 5px; color: #fff; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-dataset-toolbar > div:last-child { display: flex; gap: 7px; }
.zmtw-dataset-toolbar > div:last-child button:last-child { color: #30280e; background: var(--zdc-yellow); border-color: var(--zdc-yellow); }
.zmtw-dataset-status { display: grid; grid-template-columns: .78fr 1.7fr repeat(5, .82fr) 1.1fr; gap: 0; background: #fff; border: 1px solid var(--zdc-line); border-top: 0; }
.zmtw-dataset-status > div { min-width: 0; padding: 13px 15px; border-right: 1px solid #eee9df; }
.zmtw-dataset-status > div:last-child { border-right: 0; }
.zmtw-dataset-status span, .zmtw-dataset-status strong, .zmtw-dataset-status small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-dataset-status span { color: #837b70; font-size: 11px; }
.zmtw-dataset-status strong { margin-top: 5px; color: #27241f; font-size: 13px; }
.zmtw-dataset-status small { margin-top: 3px; color: #9a7a25; font-size: 10px; font-weight: 700; }
.zmtw-data-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; padding: 0; }
.zmtw-data-tabs button { display: flex; align-items: center; min-width: 0; min-height: 78px; padding: 11px 12px; color: #514c43; text-align: left; background: #fff; border: 1px solid #e5dcc9; border-radius: 6px; box-shadow: 0 1px 1px rgba(31, 25, 15, .03), 0 8px 22px rgba(31, 25, 15, .035); cursor: pointer; transition-property: transform, color, background-color, border-color, box-shadow; transition-duration: .18s; transition-timing-function: cubic-bezier(.2, 0, 0, 1); }
.zmtw-data-tabs button:hover { color: #28241c; background: #fffaf0; border-color: #d9bc68; box-shadow: 0 2px 3px rgba(31, 25, 15, .05), 0 10px 24px rgba(102, 76, 17, .08); transform: translateY(-1px); }
.zmtw-data-tabs button:active { transform: scale(.96); }
.zmtw-data-tabs button:focus-visible { outline: 3px solid rgba(212, 175, 55, .42); outline-offset: 2px; }
.zmtw-data-tabs button > span:last-child { min-width: 0; }
.zmtw-data-tabs button strong, .zmtw-data-tabs button small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-data-tabs button strong { color: inherit; font-size: 14px; font-weight: 800; }
.zmtw-data-tabs button small { margin-top: 5px; color: #887f70; font-size: 11px; font-weight: 650; }
.zmtw-data-tab-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; margin-right: 10px; color: #836518; background: #fff5d2; border-radius: 5px; }
.zmtw-data-tab-icon .dashicons { width: 19px; height: 19px; font-size: 19px; }
.zmtw-data-tabs button.is-active { color: #fff; background: var(--zdc-black); border-color: var(--zdc-black); box-shadow: 0 2px 3px rgba(31, 25, 15, .14), 0 12px 28px rgba(31, 25, 15, .16); }
.zmtw-data-tabs button.is-active small { color: #e7d389; }
.zmtw-data-tabs button.is-active .zmtw-data-tab-icon { color: #201b0d; background: var(--zdc-yellow); }
.zmtw-dataset-content { padding-top: 17px; }
.zmtw-data-kpis { display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; background: #fff; border: 1px solid var(--zdc-line); border-top: 3px solid var(--zdc-gold); border-radius: 6px; }
.zmtw-data-kpis > div { min-width: 0; padding: 17px 19px; border-right: 1px solid #eee9df; }
.zmtw-data-kpis > div:last-child { border-right: 0; }
.zmtw-data-kpis span, .zmtw-data-kpis strong, .zmtw-data-kpis small { display: block; }
.zmtw-data-kpis span { color: #756e63; font-size: 12px; }
.zmtw-data-kpis strong { margin: 7px 0 4px; color: #1e1c18; font-size: 24px; font-variant-numeric: tabular-nums; }
.zmtw-data-kpis small { color: #958d80; font-size: 11px; }
.zmtw-data-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.zmtw-data-charts > section, .zmtw-data-evidence, .zmtw-data-snapshot, .zmtw-data-source-grid > section, .zmtw-data-source-grid > aside { min-width: 0; padding: 19px; background: #fff; border: 1px solid var(--zdc-line); border-radius: 6px; }
.zmtw-data-charts header, .zmtw-data-evidence > header, .zmtw-data-snapshot > header, .zmtw-data-source-grid section > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.zmtw-data-charts h3, .zmtw-data-evidence h3, .zmtw-data-snapshot h3, .zmtw-data-source-grid h3 { margin: 0; color: #24211d; font-size: 17px; }
.zmtw-data-charts header p, .zmtw-data-evidence header p, .zmtw-data-snapshot header p, .zmtw-data-source-grid header p, .zmtw-data-source-grid aside > p { margin: 4px 0 0; color: #81796e; font-size: 12px; }
.zmtw-data-charts header > span, .zmtw-data-evidence header > span, .zmtw-data-snapshot header > span, .zmtw-data-source-grid header > span { color: #715714; font-size: 12px; font-weight: 750; white-space: nowrap; }
.zmtw-frequency-chart { display: flex; align-items: end; gap: 10px; height: 205px; padding: 20px 6px 0; border-bottom: 1px solid #dcd5c8; }
.zmtw-frequency-chart > div { display: grid; grid-template-rows: 160px 25px; flex: 1; align-items: end; min-width: 0; text-align: center; }
.zmtw-frequency-chart > div > span { position: relative; display: block; min-height: 8px; background: #d4af37; border-radius: 3px 3px 0 0; }
.zmtw-frequency-chart > div > span b { position: absolute; top: -20px; left: 0; width: 100%; color: #574a29; font-size: 11px; }
.zmtw-frequency-chart small { overflow: hidden; padding-top: 7px; color: #867e72; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.zmt-ranking-chart { display: grid; gap: 10px; }
.zmt-ranking-chart button { display: grid; grid-template-columns: 24px minmax(0, 1fr) 54px; gap: 9px; align-items: center; width: 100%; padding: 0; color: #302d27; text-align: left; background: none; border: 0; cursor: pointer; }
.zmt-ranking-chart button > i { display: grid; place-items: center; width: 21px; height: 21px; color: #5b4815; background: #fff4ca; border-radius: 3px; font-size: 10px; font-style: normal; font-weight: 850; }
.zmt-ranking-chart button > span { min-width: 0; }
.zmt-ranking-chart b { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.zmt-ranking-chart em { display: block; height: 5px; margin-top: 5px; overflow: hidden; background: #eee9df; border-radius: 2px; }
.zmt-ranking-chart u { display: block; height: 100%; background: #d4af37; }
.zmt-ranking-chart strong { text-align: right; font-size: 11px; font-variant-numeric: tabular-nums; }
.zmtw-data-evidence { margin-top: 16px; padding: 19px 0 0; }
.zmtw-data-evidence > header { padding: 0 19px; }
.zmtw-data-evidence .zmtw-data-table-wrap { border-right: 0; border-bottom: 0; border-left: 0; border-radius: 0 0 6px 6px; }
.zmtw-data-snapshot { margin-bottom: 16px; }
.zmtw-data-snapshot dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid #eee8dc; border-left: 1px solid #eee8dc; }
.zmtw-data-snapshot dl > div { min-width: 0; padding: 12px 13px; border-right: 1px solid #eee8dc; border-bottom: 1px solid #eee8dc; }
.zmtw-data-snapshot dt { overflow: hidden; color: #7c7468; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-data-snapshot dd { overflow: hidden; margin: 6px 0 0; color: #2e2a24; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-readable-snapshot { min-width: 0; margin-bottom: 16px; padding: 21px; background: #fff; border: 1px solid var(--zdc-line); border-top: 3px solid var(--zdc-gold); border-radius: 6px; box-shadow: 0 1px 1px rgba(31, 25, 15, .03), 0 9px 24px rgba(31, 25, 15, .035); }
.zmtw-readable-snapshot > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.zmtw-readable-snapshot h3, .zmtw-readable-snapshot h4 { margin: 0; color: #24211d; text-wrap: balance; }
.zmtw-readable-snapshot h3 { margin-top: 2px; font-size: 18px; }
.zmtw-readable-snapshot > header p { margin: 5px 0 0; color: #80796e; font-size: 13px; }
.zmtw-readable-eyebrow { display: block; color: #8a6815; font-size: 11px; font-weight: 850; }
.zmtw-readable-platform { display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; color: #5f4b16; background: #fff6d7; border: 1px solid #ead28a; border-radius: 4px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.zmtw-readable-hero { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 17px; align-items: stretch; padding: 14px; background: #fffcf5; border: 1px solid #eee3c6; border-radius: 5px; }
.zmtw-readable-hero > img, .zmtw-readable-cover-placeholder { display: block; width: 144px; height: 118px; object-fit: cover; border-radius: 4px; outline: 1px solid rgba(0, 0, 0, .1); }
.zmtw-readable-cover-placeholder { display: flex; align-items: center; justify-content: center; color: #9b7a25; background: #f7e9b5; outline: 0; }
.zmtw-readable-cover-placeholder .dashicons { width: 29px; height: 29px; font-size: 29px; }
.zmtw-readable-hero h4 { overflow: hidden; font-size: 16px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-readable-hero > div > p { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: #625b50; font-size: 13px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zmtw-readable-hero-meta, .zmtw-account-profile-copy > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; margin-top: 11px; }
.zmtw-readable-hero-meta span, .zmtw-account-profile-copy > div > span { display: inline-flex; align-items: center; gap: 4px; color: #70685b; font-size: 12px; }
.zmtw-readable-hero-meta .dashicons, .zmtw-account-profile-copy .dashicons { width: 14px; height: 14px; color: #9d7a21; font-size: 14px; }
.zmtw-readable-hero-meta a, .zmtw-account-profile-copy a, .zmtw-readable-detail-grid dd a { display: inline-flex; align-items: center; gap: 4px; color: #715712; font-size: 12px; font-weight: 800; text-decoration: none; }
.zmtw-readable-hero-meta a:hover, .zmtw-account-profile-copy a:hover, .zmtw-readable-detail-grid dd a:hover { color: #2d2616; text-decoration: underline; }
.zmtw-readable-hero-meta a .dashicons, .zmtw-account-profile-copy a .dashicons, .zmtw-readable-detail-grid dd a .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-readable-detail-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 16px; margin-top: 16px; }
.zmtw-readable-detail-grid > section { min-width: 0; padding: 16px; background: #fff; border: 1px solid #eee8dc; border-radius: 5px; }
.zmtw-readable-detail-grid h4 { font-size: 14px; }
.zmtw-readable-detail-grid dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 12px 0 0; border-top: 1px solid #eee8dc; border-left: 1px solid #eee8dc; }
.zmtw-readable-detail-grid dl > div { min-width: 0; padding: 10px; border-right: 1px solid #eee8dc; border-bottom: 1px solid #eee8dc; }
.zmtw-readable-detail-grid dt { color: #82796c; font-size: 11px; font-weight: 700; }
.zmtw-readable-detail-grid dd { margin: 5px 0 0; overflow: hidden; color: #2e2a24; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-readable-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.zmtw-readable-metrics > div { min-width: 0; padding: 10px; background: #fffaf0; border: 1px solid #f0e4c8; border-radius: 4px; }
.zmtw-readable-metrics span, .zmtw-readable-metrics small, .zmtw-readable-metrics strong { display: block; }
.zmtw-readable-metrics span { height: 17px; color: #9d7820; }
.zmtw-readable-metrics span .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-readable-metrics small { margin-top: 8px; overflow: hidden; color: #817869; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-readable-metrics strong { margin-top: 3px; overflow: hidden; color: #29251d; font-size: 14px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-account-profile { display: flex; align-items: center; gap: 16px; padding: 16px; color: #fff; background: var(--zdc-black); border-radius: 5px; }
.zmtw-account-avatar { display: flex; flex: 0 0 70px; align-items: center; justify-content: center; width: 70px; height: 70px; overflow: hidden; color: #3a2c09; background: var(--zdc-yellow); border-radius: 50%; }
.zmtw-account-avatar img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid rgba(255, 255, 255, .1); }
.zmtw-account-avatar .dashicons { width: 30px; height: 30px; font-size: 30px; }
.zmtw-account-profile-copy { min-width: 0; }
.zmtw-account-profile-copy h4 { overflow: hidden; color: #fff; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-account-profile-copy > p { display: -webkit-box; margin: 5px 0 0; overflow: hidden; color: #d6d0c5; font-size: 13px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zmtw-account-profile-copy > div > span { color: #d7d0c1; }
.zmtw-account-profile-copy > div > a { color: #f1cf58; }
.zmtw-data-raw-snapshot { margin-top: 16px; background: #fcfaf5; border: 1px solid #e8e0d0; border-radius: 5px; }
.zmtw-data-raw-snapshot summary { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 60px; padding: 10px 14px; cursor: pointer; list-style: none; }
.zmtw-data-raw-snapshot summary::-webkit-details-marker { display: none; }
.zmtw-data-raw-snapshot summary > span:first-child { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; color: #826319; background: #fff1bd; border-radius: 4px; }
.zmtw-data-raw-snapshot summary .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-data-raw-snapshot summary strong, .zmtw-data-raw-snapshot summary small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-data-raw-snapshot summary strong { color: #3b352b; font-size: 13px; }
.zmtw-data-raw-snapshot summary small { margin-top: 3px; color: #847c70; font-size: 11px; }
.zmtw-data-raw-snapshot summary b { color: #80631b; font-size: 11px; white-space: nowrap; }
.zmtw-data-raw-snapshot dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid #e8e0d0; border-left: 1px solid #e8e0d0; }
.zmtw-data-raw-snapshot dl > div { min-width: 0; padding: 11px 12px; background: #fff; border-right: 1px solid #e8e0d0; border-bottom: 1px solid #e8e0d0; }
.zmtw-data-raw-snapshot dt { overflow: hidden; color: #7c7468; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-data-raw-snapshot dd { overflow: hidden; margin: 6px 0 0; color: #2e2a24; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-data-source-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; }
.zmtw-data-source-grid > section { padding: 19px 0 0; }
.zmtw-data-source-grid section > header { padding: 0 19px; }
.zmtw-data-source-grid section .zmtw-data-table-wrap { border-right: 0; border-bottom: 0; border-left: 0; border-radius: 0 0 6px 6px; }
.zmtw-data-source-grid aside ul { margin: 16px 0 0; padding: 0; list-style: none; }
.zmtw-data-source-grid aside li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eee8dc; font-size: 12px; }
.zmtw-data-source-grid aside li strong { color: #9a5b27; }
.zmtw-data-quality-ok { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding: 13px; color: #176d50; background: #e7f5ee; border-radius: 5px; font-weight: 750; }
.zmtw-data-inspector { position: fixed; z-index: 100003; top: 0; right: 0; bottom: 0; width: 440px; overflow: hidden; background: #fff; box-shadow: -18px 0 50px rgba(20,17,10,.2); }
.zmtw-data-inspector > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; min-height: 92px; padding: 21px 22px; color: #fff; background: var(--zdc-black); border-top: 4px solid var(--zdc-gold); }
.zmtw-data-inspector header span { color: #f5d86f; font-size: 11px; font-weight: 800; }
.zmtw-data-inspector h3 { margin: 7px 0 0; color: #fff; font-size: 17px; line-height: 1.4; }
.zmtw-data-inspector header button { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 4px; cursor: pointer; }
.zmtw-data-inspector > div { height: calc(100% - 92px); overflow: auto; padding: 18px 22px 40px; }
.zmtw-data-inspector dl { margin: 0; }
.zmtw-data-inspector dl > div { padding: 12px 0; border-bottom: 1px solid #eee8dc; }
.zmtw-data-inspector dt { color: #867e72; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.zmtw-data-inspector dd { margin: 6px 0 0; overflow-wrap: anywhere; color: #292620; font-size: 14px; line-height: 1.6; }
.zmtw-data-inspector dl > div.is-full-content { padding: 15px; background: #fffcf4; border: 1px solid #eadfc6; border-radius: 5px; }
.zmtw-data-inspector dl > div.is-full-content dd { max-height: 48vh; overflow: auto; white-space: pre-wrap; }
.zmtw-data-inspector-backdrop { position: fixed; z-index: 100002; inset: 0; background: rgba(18,16,12,.32); border: 0; cursor: default; }
.zmtw-data-wallet-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0; align-items: stretch; margin-bottom: 18px; color: #fff; background: var(--zdc-black); border-top: 4px solid var(--zdc-gold); border-radius: 7px; }
.zmtw-data-wallet-band > div { padding: 18px 22px; border-right: 1px solid rgba(255,255,255,.12); }
.zmtw-data-wallet-band span, .zmtw-data-wallet-band strong, .zmtw-data-wallet-band small { display: block; }
.zmtw-data-wallet-band span { color: #bdb6aa; font-size: 12px; }
.zmtw-data-wallet-band strong { margin: 7px 0 4px; color: #f5d86f; font-size: 20px; }
.zmtw-data-wallet-band small { color: #aaa397; font-size: 11px; }
.zmtw-data-wallet-band > .zmtw-button { align-self: center; margin: 0 20px; white-space: nowrap; }
.zmtw-data-handoff-dialog .zmtw-dialog-frame { width: min(620px, calc(100vw - 80px)); }
.zmtw-data-handoff-options { display: grid; gap: 9px; padding: 20px 22px; }
.zmtw-data-handoff-options > label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 11px; align-items: center; padding: 14px 15px; background: #fff; border: 1px solid #ddd6c8; border-radius: 5px; cursor: pointer; }
.zmtw-data-handoff-options > label:has(input:checked) { background: #fff8dc; border-color: #c39b25; }
.zmtw-data-handoff-options input { width: 17px; height: 17px; accent-color: #b58a16; }
.zmtw-data-handoff-options strong, .zmtw-data-handoff-options small { display: block; }
.zmtw-data-handoff-options strong { color: #28251f; font-size: 15px; }
.zmtw-data-handoff-options small { margin-top: 4px; color: #777064; font-size: 12px; line-height: 1.5; }
.zmtw-data-full-content { overflow: hidden; background: #fff; border: 1px solid var(--zdc-line); border-top: 3px solid var(--zdc-gold); border-radius: 6px; }
.zmtw-data-full-content > header { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; background: #fffcf5; border-bottom: 1px solid #eee6d8; }
.zmtw-data-full-content h3 { margin: 0; color: #28231b; font-size: 17px; }
.zmtw-data-full-content p { margin: 5px 0 0; color: #766e61; font-size: 13px; line-height: 1.6; }
.zmtw-data-full-content > header > span { align-self: center; color: #745916; font-size: 12px; font-weight: 800; white-space: nowrap; }

.zmtw-data-package-guide-dialog { width: min(1060px, calc(100vw - 80px)); }
.zmtw-data-package-guide-dialog .zmtw-dialog-frame > footer { justify-content: space-between; color: #7b7365; font-size: 12px; }
.zmtw-data-package-guide-body { max-height: min(67vh, 710px); overflow: auto; padding: 20px 22px 24px; }
.zmtw-data-package-guide-intro { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 13px; align-items: center; padding: 15px 17px; color: #fff; background: #171614; border-top: 3px solid #d4af37; border-radius: 6px; }
.zmtw-data-package-guide-intro > span { display: grid; place-items: center; width: 40px; height: 40px; color: #30260d; background: #f1c94c; border-radius: 5px; }
.zmtw-data-package-guide-intro .dashicons { width: 20px; height: 20px; font-size: 20px; }
.zmtw-data-package-guide-intro strong { display: block; color: #f6dc7c; font-size: 15px; }
.zmtw-data-package-guide-intro p { margin: 4px 0 0; color: #d5cdbd; font-size: 12px; line-height: 1.6; }
.zmtw-data-package-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 14px; }
.zmtw-data-package-guide-card { display: flex; flex-direction: column; min-width: 0; padding: 16px; background: #fff; border: 1px solid #e3dccf; border-top: 3px solid #d4af37; border-radius: 6px; }
.zmtw-data-package-guide-card.is-high-cost { border-top-color: #c78342; }
.zmtw-data-package-guide-card > header { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; }
.zmtw-data-package-guide-card > header > span { display: grid; place-items: center; width: 34px; height: 34px; color: #6f5513; background: #fff1ba; border-radius: 5px; }
.zmtw-data-package-guide-card.is-high-cost > header > span { color: #8f4a19; background: #ffe5d2; }
.zmtw-data-package-guide-card .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-data-package-guide-card h3 { margin: 0; color: #2b261e; font-size: 15px; }
.zmtw-data-package-guide-card header p { margin: 5px 0 0; color: #726a5e; font-size: 12px; line-height: 1.55; }
.zmtw-data-package-guide-card section { margin-top: 14px; }
.zmtw-data-package-guide-card section > b { color: #625536; font-size: 11px; }
.zmtw-data-package-guide-card ul { display: grid; gap: 5px; margin: 7px 0 0; padding: 0; list-style: none; }
.zmtw-data-package-guide-card li { position: relative; padding-left: 12px; color: #5f584e; font-size: 12px; line-height: 1.5; }
.zmtw-data-package-guide-card li::before { position: absolute; left: 0; color: #bc931d; content: "•"; }
.zmtw-data-package-guide-card footer { margin-top: auto; padding-top: 14px; }
.zmtw-data-package-guide-card footer strong, .zmtw-data-package-guide-card footer small { display: block; }
.zmtw-data-package-guide-card footer strong { color: #3b2f11; font-size: 13px; }
.zmtw-data-package-guide-card footer small { margin-top: 4px; color: #867c6d; font-size: 11px; line-height: 1.5; }
.zmtw-full-content-confirm-dialog { width: min(620px, calc(100vw - 80px)); }
.zmtw-full-content-confirm-body { padding: 20px 22px 22px; }
.zmtw-full-content-warning { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 15px; background: #fff2e8; border: 1px solid #edc9ad; border-left: 4px solid #c78342; border-radius: 6px; }
.zmtw-full-content-warning > span { display: grid; place-items: center; width: 38px; height: 38px; color: #8f4c1c; background: #ffdfc6; border-radius: 5px; }
.zmtw-full-content-warning .dashicons { width: 20px; height: 20px; font-size: 20px; }
.zmtw-full-content-warning strong { color: #613516; font-size: 15px; }
.zmtw-full-content-warning p { margin: 5px 0 0; color: #795e49; font-size: 13px; line-height: 1.65; }
.zmtw-full-content-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0; border: 1px solid #e7dfd0; border-radius: 6px; overflow: hidden; }
.zmtw-full-content-facts > div { min-width: 0; padding: 13px; border-right: 1px solid #e7dfd0; }
.zmtw-full-content-facts > div:last-child { border-right: 0; }
.zmtw-full-content-facts dt { color: #81796d; font-size: 11px; }
.zmtw-full-content-facts dd { margin: 6px 0 0; color: #2f281e; font-size: 13px; font-weight: 800; line-height: 1.45; }
.zmtw-full-content-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; color: #4d4539; font-size: 13px; line-height: 1.6; cursor: pointer; }
.zmtw-full-content-check input { position: absolute; opacity: 0; pointer-events: none; }
.zmtw-full-content-check > span { display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; color: transparent; background: #fff; border: 1px solid #cbc1b0; border-radius: 4px; }
.zmtw-full-content-check input:checked + span { color: #2d260f; background: #f1c94c; border-color: #c59b1d; }
.zmtw-full-content-check .dashicons { width: 13px; height: 13px; font-size: 13px; }

@media (max-width: 1180px) {
  .zmtw-data-collector-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .zmtw-data-platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zmtw-dataset-status { grid-template-columns: repeat(4, 1fr); }
  .zmtw-dataset-status > div { border-bottom: 1px solid #eee9df; }
}

/* Membership center: one account ledger shared by every workbench capability. */
.zmtw-compute-balance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 11px;
  color: #594616;
  background: #fff8dc;
  border: 1px solid #e8cf83;
  border-radius: 7px;
  font-size: 12px;
  cursor: pointer;
}
.zmtw-compute-balance:hover { color: var(--zmtw-ink); background: #fff2ba; border-color: var(--zmtw-gold); }
.zmtw-compute-balance .dashicons { width: 17px; height: 17px; color: #a57b12; font-size: 17px; }
.zmtw-compute-balance strong { min-width: 44px; color: var(--zmtw-ink); font-size: 13px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }

.zmtw-membership-center { display: grid; gap: 24px; }
.zmtw-membership-loading,
.zmtw-membership-error,
.zmtw-membership-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 300px;
  padding: 40px;
  color: var(--zmtw-muted);
  background: #fffdf8;
  border: 1px solid var(--zmtw-line);
  border-radius: 8px;
}
.zmtw-membership-loading .dashicons { width: 24px; height: 24px; color: #a57b12; font-size: 24px; animation: zmtw-spin 1s linear infinite; }
.zmtw-membership-error { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; justify-content: stretch; min-height: 150px; }
.zmtw-membership-error > .dashicons { display: grid; place-items: center; width: 44px; height: 44px; color: #a14742; background: #fff0ed; border-radius: 7px; font-size: 21px; }
.zmtw-membership-error h2 { color: var(--zmtw-ink); font-size: 18px; }
.zmtw-membership-error p { margin-top: 5px; font-size: 14px; }
.zmtw-membership-login { flex-direction: column; text-align: center; }
.zmtw-membership-login > .dashicons { width: 36px; height: 36px; color: #a57b12; font-size: 36px; }
.zmtw-membership-login h2 { color: var(--zmtw-ink); font-size: 22px; }
.zmtw-membership-login p { font-size: 14px; }

.zmtw-membership-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
  min-height: 240px;
  overflow: hidden;
  color: #ffffff;
  background: var(--zmtw-dark);
  border-top: 4px solid var(--zmtw-gold);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(21, 18, 12, .16);
}
.zmtw-membership-plan { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-content: center; gap: 18px; min-width: 0; padding: 40px; }
.zmtw-membership-plan > span { display: grid; place-items: center; width: 58px; height: 58px; color: var(--zmtw-dark); background: #f1c94c; border-radius: 8px; }
.zmtw-membership-plan > span .dashicons { width: 27px; height: 27px; font-size: 27px; }
.zmtw-membership-plan p,
.zmtw-wallet-balance p { color: #cbbf9f; font-size: 13px; }
.zmtw-membership-plan h2 { margin-top: 4px; color: #ffffff; font-size: 30px; line-height: 1.25; }
.zmtw-membership-plan small { display: block; margin-top: 7px; color: #d8ceb7; font-size: 14px; }
.zmtw-membership-plan > a { grid-column: 2; display: inline-flex; align-items: center; gap: 5px; width: max-content; margin-top: 20px; color: #f1c94c; font-size: 14px; font-weight: 750; text-decoration: none; }
.zmtw-membership-plan > a.is-primary { padding: 10px 14px; color: var(--zmtw-dark); background: #f1c94c; border-radius: 6px; }
.zmtw-membership-plan > a .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-wallet-balance { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 40px; background: #11100f; border-left: 1px solid rgba(226, 204, 143, .2); }
.zmtw-wallet-balance > strong { margin-top: 4px; overflow: hidden; color: #f1c94c; font-size: 44px; font-weight: 820; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zmtw-wallet-balance > small { margin-top: 6px; color: #d8ceb7; font-size: 13px; }
.zmtw-wallet-balance > span { margin-top: 25px; padding-top: 15px; color: #a99f88; border-top: 1px solid rgba(226, 204, 143, .16); font-size: 12px; }

.zmtw-wallet-breakdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; background: #ffffff; border: 1px solid var(--zmtw-line); border-top: 3px solid var(--zmtw-gold); border-radius: 8px; }
.zmtw-wallet-breakdown > div { min-width: 0; padding: 22px 24px; border-right: 1px solid var(--zmtw-line); }
.zmtw-wallet-breakdown > div:last-child { border-right: 0; }
.zmtw-wallet-breakdown span,
.zmtw-wallet-breakdown strong,
.zmtw-wallet-breakdown small { display: block; }
.zmtw-wallet-breakdown span { color: var(--zmtw-muted); font-size: 13px; }
.zmtw-wallet-breakdown strong { margin-top: 5px; color: var(--zmtw-ink); font-size: 25px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.zmtw-wallet-breakdown small { margin-top: 8px; color: var(--zmtw-faint); font-size: 12px; line-height: 1.55; }

.zmtw-membership-section { scroll-margin-top: 92px; }
.zmtw-membership-section > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.zmtw-membership-section > header h2 { color: var(--zmtw-ink); font-size: 20px; }
.zmtw-membership-section > header p { margin-top: 4px; color: var(--zmtw-muted); font-size: 13px; }
.zmtw-membership-section > header > span { color: var(--zmtw-faint); font-size: 12px; }
.zmtw-service-list { overflow: hidden; background: #ffffff; border: 1px solid var(--zmtw-line); border-radius: 8px; }
.zmtw-service-row { display: grid; grid-template-columns: 46px minmax(260px, 1fr) minmax(310px, .9fr) 150px; align-items: center; gap: 16px; min-height: 98px; padding: 18px 22px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-service-row:last-child { border-bottom: 0; }
.zmtw-service-row:hover { background: #fffdf8; }
.zmtw-service-icon { display: grid; place-items: center; width: 46px; height: 46px; color: #6a5317; background: #fff4ca; border-radius: 7px; }
.zmtw-service-icon .dashicons { width: 22px; height: 22px; font-size: 22px; }
.zmtw-service-row h3 { color: var(--zmtw-ink); font-size: 16px; }
.zmtw-service-row p { margin-top: 4px; color: var(--zmtw-muted); font-size: 13px; line-height: 1.55; }
.zmtw-service-copy { min-width: 0; }
.zmtw-service-platforms { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.zmtw-service-platforms > span { display: inline-flex; align-items: center; gap: 6px; min-height: 27px; padding: 4px 9px; color: #5e584d; background: #fffaf0; border: 1px solid #e4d8bb; border-radius: 5px; font-size: 12px; font-weight: 700; }
.zmtw-service-platforms > span i { width: 6px; height: 6px; flex: 0 0 6px; background: #aaa296; border-radius: 50%; }
.zmtw-service-platforms > span.is-available { color: #654f13; background: #fff4ca; border-color: #e8ce73; }
.zmtw-service-platforms > span.is-available i { background: #20a878; box-shadow: 0 0 0 3px rgba(32, 168, 120, .1); }
.zmtw-service-row.has-platforms { min-height: 126px; }
.zmtw-service-row dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; margin: 0; }
.zmtw-service-row dl > div { min-width: 0; }
.zmtw-service-row dt { color: var(--zmtw-faint); font-size: 11px; }
.zmtw-service-row dd { margin: 4px 0 0; overflow: hidden; color: var(--zmtw-ink); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-service-status { display: inline-flex; align-items: center; justify-self: end; gap: 7px; max-width: 150px; color: var(--zmtw-muted); font-size: 12px; }
.zmtw-service-status i { width: 8px; height: 8px; flex: 0 0 8px; background: #b8b0a1; border-radius: 50%; }
.zmtw-service-status.is-available { color: #177657; font-weight: 700; }
.zmtw-service-status.is-available i { background: #20a878; box-shadow: 0 0 0 4px rgba(32, 168, 120, .1); }

.zmtw-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.zmtw-compute-package { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 25px; background: #ffffff; border: 1px solid var(--zmtw-line); border-top: 3px solid #d8ccb4; border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-compute-package.is-featured { border-color: #d9bc65; border-top-color: var(--zmtw-gold); box-shadow: 0 12px 28px rgba(83, 62, 25, .12); }
.zmtw-package-recommend { position: absolute; top: -1px; right: 20px; padding: 6px 11px; color: var(--zmtw-dark); background: #f1c94c; border-radius: 0 0 5px 5px; font-size: 11px; font-weight: 800; }
.zmtw-package-restricted { position: absolute; top: 13px; right: 16px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; color: #80620f; background: #fff7df; border: 1px solid #ead083; border-radius: 5px; font-size: 11px; font-weight: 800; }
.zmtw-package-restricted .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-compute-package.is-locked { background: #fffdf8; border-top-color: #d4af37; }
.zmtw-compute-package.is-locked .zmtw-package-units { background: #f8f5ed; border-color: #e4d8bb; }
.zmtw-compute-package.is-locked .zmtw-package-gate { color: #654f13 !important; background: #fff4ca; box-shadow: 0 0 0 1px rgba(212, 175, 55, .18); }
.zmtw-compute-package.is-locked .zmtw-package-gate:hover { color: #4f3c0c !important; background: #ffe9a3; box-shadow: 0 8px 18px rgba(83, 62, 25, .12); }
.zmtw-compute-package header h3 { color: var(--zmtw-ink); font-size: 18px; }
.zmtw-compute-package header p { min-height: 42px; margin-top: 7px; color: var(--zmtw-muted); font-size: 13px; line-height: 1.6; }
.zmtw-package-price { display: flex; align-items: flex-end; gap: 9px; margin-top: 22px; }
.zmtw-package-price strong { color: var(--zmtw-ink); font-size: 34px; line-height: 1; }
.zmtw-package-price span { color: var(--zmtw-faint); font-size: 12px; }
.zmtw-package-units { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 11px; margin: 22px 0; padding: 16px; background: #fff8dc; border: 1px solid #ead58f; border-radius: 7px; }
.zmtw-package-units > span { display: grid; place-items: center; width: 38px; height: 38px; color: #6a5317; background: #f1c94c; border-radius: 6px; }
.zmtw-package-units .dashicons { width: 19px; height: 19px; font-size: 19px; }
.zmtw-package-units strong,
.zmtw-package-units small { display: block; }
.zmtw-package-units strong { color: var(--zmtw-ink); font-size: 20px; font-variant-numeric: tabular-nums; }
.zmtw-package-units small { margin-top: 2px; color: var(--zmtw-muted); font-size: 12px; }
.zmtw-compute-package > .zmtw-button { width: 100%; min-height: 46px; margin-top: auto; font-size: 14px; }

.zmtw-transaction-section { padding-bottom: 12px; }
.zmtw-text-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; color: #7b611e; background: transparent; border: 0; font-size: 12px; font-weight: 700; cursor: pointer; }
.zmtw-text-button .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-transaction-table { overflow: hidden; background: #ffffff; border: 1px solid var(--zmtw-line); border-radius: 8px; }
.zmtw-transaction-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.zmtw-transaction-table th { padding: 12px 16px; color: var(--zmtw-faint); background: #fffdf8; border-bottom: 1px solid var(--zmtw-line); font-size: 11px; font-weight: 700; text-align: left; }
.zmtw-transaction-table th:first-child { width: 38%; }
.zmtw-transaction-table th:nth-child(2) { width: 17%; }
.zmtw-transaction-table th:nth-child(3),
.zmtw-transaction-table th:nth-child(4) { width: 14%; }
.zmtw-transaction-table th:last-child { width: 17%; }
.zmtw-transaction-table td { padding: 14px 16px; color: var(--zmtw-muted); border-bottom: 1px solid var(--zmtw-line); font-size: 13px; }
.zmtw-transaction-table tr:last-child td { border-bottom: 0; }
.zmtw-transaction-table td:first-child { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; }
.zmtw-transaction-table td strong,
.zmtw-transaction-table td small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-transaction-table td strong { color: var(--zmtw-ink); font-size: 13px; }
.zmtw-transaction-table td small { margin-top: 2px; color: var(--zmtw-faint); font-size: 11px; }
.zmtw-transaction-type { display: grid; place-items: center; width: 34px; height: 34px; color: #9b4d47; background: #fff0ed; border-radius: 6px; }
.zmtw-transaction-type.is-credit { color: #177657; background: #e8f7f1; }
.zmtw-transaction-type .dashicons { width: 16px; height: 16px; font-size: 16px; }
.zmtw-transaction-units { font-weight: 800; font-variant-numeric: tabular-nums; }
.zmtw-transaction-units.is-positive { color: #177657; }
.zmtw-transaction-units.is-negative { color: #9b4d47; }
.zmtw-membership-empty { padding: 32px; color: var(--zmtw-faint); font-size: 13px; text-align: center; }
.zmtw-inline-link { display: inline-block; margin-top: 9px; color: var(--zmtw-accent); font-weight: 750; text-decoration: none; }
.zmtw-membership-package-notice { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; padding: 15px 17px; color: #654f13; background: #fffaf0; border: 1px solid #ead083; border-radius: 8px; }
.zmtw-membership-package-notice > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; color: #80620f; background: #fff0bd; border-radius: 6px; }
.zmtw-membership-package-notice > span .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-membership-package-notice > div { min-width: 0; flex: 1; }
.zmtw-membership-package-notice strong { color: var(--zmtw-ink); font-size: 13px; }
.zmtw-membership-package-notice p { margin-top: 3px; color: #806f4b; font-size: 12px; line-height: 1.5; }
.zmtw-membership-package-notice .zmtw-button { flex: 0 0 auto; min-height: 38px; }

.zmtw-compute-cost { display: grid; grid-template-columns: 20px auto minmax(0, 1fr); align-items: center; gap: 7px; margin-bottom: 11px; padding: 10px 12px; color: #735b1b; background: #fff8dc; border: 1px solid #ead083; border-radius: 6px; font-size: 12px; }
.zmtw-compute-cost > .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-compute-cost strong { justify-self: end; color: var(--zmtw-ink); font-size: 13px; font-variant-numeric: tabular-nums; }
.zmtw-dialog-compute-cost { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; color: #735b1b; font-size: 13px; }
.zmtw-dialog-compute-cost .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-dialog-compute-cost strong { color: var(--zmtw-ink); }
.zmtw-goal-dialog .zmtw-dialog-frame > footer > div { display: flex; align-items: center; gap: 9px; }

@media (max-width: 767px) {
  .zmtw-membership-overview { grid-template-columns: minmax(0, 1fr); }
  .zmtw-membership-plan { grid-template-columns: 46px minmax(0, 1fr); gap: 13px; padding: 25px 20px; }
  .zmtw-membership-plan > span { width: 46px; height: 46px; }
  .zmtw-membership-plan > span .dashicons { width: 22px; height: 22px; font-size: 22px; }
  .zmtw-membership-plan h2 { font-size: 24px; }
  .zmtw-membership-plan small { font-size: 12px; line-height: 1.5; }
  .zmtw-membership-plan > a { grid-column: 1 / -1; justify-content: center; width: 100%; margin-top: 8px; }
  .zmtw-wallet-balance { padding: 24px 20px; border-top: 1px solid rgba(226, 204, 143, .2); border-left: 0; }
  .zmtw-wallet-balance > strong { font-size: 36px; }
  .zmtw-wallet-breakdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-wallet-breakdown > div { padding: 17px 15px; border-right: 1px solid var(--zmtw-line); border-bottom: 1px solid var(--zmtw-line); }
  .zmtw-wallet-breakdown > div:nth-child(2n) { border-right: 0; }
  .zmtw-wallet-breakdown > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .zmtw-membership-section > header { align-items: flex-start; flex-direction: column; gap: 5px; }
  .zmtw-package-grid { grid-template-columns: minmax(0, 1fr); }
  .zmtw-compute-package { min-height: 0; padding: 21px; }
  .zmtw-membership-package-notice { align-items: flex-start; flex-wrap: wrap; padding: 14px; }
  .zmtw-membership-package-notice > div { flex-basis: calc(100% - 49px); }
  .zmtw-membership-package-notice .zmtw-button { width: 100%; margin-left: 47px; }
}

@media (prefers-reduced-motion: reduce) {
  .zmtw-shell *, .zmtw-shell *::before, .zmtw-shell *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}

/* Account diagnosis stays inside the existing workbench shell. */
.zmtw-diagnosis-view { max-width: 1180px; }
.zmtw-diagnosis-breadcrumb { display: flex; align-items: center; gap: 6px; margin: 1px 0 12px; color: var(--zmtw-muted); font-size: 11px; }
.zmtw-diagnosis-breadcrumb button { min-height: 24px; padding: 0; color: var(--zmtw-muted); background: transparent; border: 0; font-size: 11px; cursor: pointer; }
.zmtw-diagnosis-breadcrumb button:hover { color: var(--zmtw-accent); }
.zmtw-diagnosis-breadcrumb .dashicons { width: 13px; height: 13px; color: var(--zmtw-faint); font-size: 13px; }
.zmtw-diagnosis-breadcrumb strong { color: var(--zmtw-accent); font-weight: 750; }
.zmtw-diagnosis-page-head { min-height: 50px; margin-bottom: 18px; }

.zmtw-diagnosis-context { display: grid; grid-template-columns: 206px minmax(0, 1fr) auto; align-items: center; gap: 15px; min-height: 84px; padding: 15px 18px; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-diagnosis-account { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; }
.zmtw-diagnosis-avatar { display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; color: #fff; background: var(--zmtw-accent); border-radius: 7px; font-size: 16px; font-weight: 760; }
.zmtw-diagnosis-account strong, .zmtw-diagnosis-account small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-account strong { font-size: 13px; }
.zmtw-diagnosis-account small { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; color: var(--zmtw-muted); font-size: 10px; }
.zmtw-diagnosis-account small i { width: 6px; height: 6px; background: #4ba68e; border-radius: 50%; }
.zmtw-diagnosis-input { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); grid-template-rows: 40px auto; align-items: center; gap: 0 8px; min-width: 0; padding: 0 12px; background: var(--zmtw-surface-subtle); border: 1px solid var(--zmtw-line); border-radius: 7px; }
.zmtw-diagnosis-input > .dashicons { grid-column: 1; grid-row: 1; width: 17px; height: 17px; color: var(--zmtw-faint); font-size: 17px; }
.zmtw-diagnosis-input input { grid-column: 2; grid-row: 1; min-width: 0; height: 40px; padding: 0; color: var(--zmtw-ink); background: transparent; border: 0; outline: 0; font-size: 12px; }
.zmtw-diagnosis-input input::placeholder { color: var(--zmtw-faint); }
.zmtw-diagnosis-input:focus-within { background: #fff; border-color: #91beb6; box-shadow: 0 0 0 3px rgba(22, 117, 104, .1); }
.zmtw-diagnosis-input small { grid-column: 2; grid-row: 2; margin: -5px 0 7px; color: var(--zmtw-faint); font-size: 9px; }
.zmtw-diagnosis-context > .zmtw-button { min-width: 108px; }

.zmtw-diagnosis-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 14px 0 0; }
.zmtw-diagnosis-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; color: #687572; background: #f1f4f3; border-radius: 4px; font-size: 9px; font-weight: 680; }
.zmtw-diagnosis-status i { width: 5px; height: 5px; background: #98a4a0; border-radius: 50%; }
.zmtw-diagnosis-status.is-live { color: #287765; background: var(--zmtw-accent-soft); }
.zmtw-diagnosis-status.is-live i { background: #42a18a; }
.zmtw-diagnosis-status.is-ai { color: #5e5b9b; background: #f1f0fa; }
.zmtw-diagnosis-status.is-ai i { background: #7774b4; }

.zmtw-diagnosis-tabs { display: flex; align-items: end; gap: 24px; height: 50px; margin-top: 8px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-tabs button { position: relative; min-height: 50px; padding: 0; color: var(--zmtw-muted); background: transparent; border: 0; font-size: 12px; font-weight: 700; cursor: pointer; }
.zmtw-diagnosis-tabs button::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; border-radius: 2px 2px 0 0; content: ""; }
.zmtw-diagnosis-tabs button:hover { color: var(--zmtw-ink); }
.zmtw-diagnosis-tabs button.is-active { color: var(--zmtw-accent); }
.zmtw-diagnosis-tabs button.is-active::after { background: var(--zmtw-accent); }

.zmtw-diagnosis-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; overflow: hidden; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-diagnosis-metrics article { min-width: 0; padding: 15px 17px; border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-metrics article:last-child { border-right: 0; }
.zmtw-diagnosis-metrics span, .zmtw-diagnosis-metrics strong, .zmtw-diagnosis-metrics small { display: block; }
.zmtw-diagnosis-metrics span { color: var(--zmtw-muted); font-size: 10px; }
.zmtw-diagnosis-metrics strong { margin-top: 3px; color: var(--zmtw-ink); font-size: 22px; font-weight: 760; line-height: 1.25; font-variant-numeric: tabular-nums; }
.zmtw-diagnosis-metrics small { margin-top: 3px; overflow: hidden; color: var(--zmtw-faint); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.zmtw-diagnosis-overview-grid, .zmtw-diagnosis-report-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(320px, .82fr); gap: 16px; margin-top: 16px; }
.zmtw-diagnosis-panel { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-diagnosis-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 14px 17px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-panel > header h2 { margin: 0; font-size: 14px; font-weight: 760; }
.zmtw-diagnosis-panel > header > span, .zmtw-diagnosis-panel > header p { margin: 0; color: var(--zmtw-faint); font-size: 9px; }
.zmtw-diagnosis-health-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 17px; padding: 18px 20px 15px; }
.zmtw-diagnosis-score { display: grid; place-items: center; width: 114px; height: 114px; margin: 0 auto; background: conic-gradient(var(--zmtw-accent) calc(var(--zmtw-score) * 1%), var(--zmtw-accent-soft) 0); border-radius: 50%; transform: rotate(36deg); }
.zmtw-diagnosis-score > div { display: grid; place-items: center; width: 91px; height: 91px; background: #fff; border-radius: 50%; transform: rotate(-36deg); }
.zmtw-diagnosis-score strong { font-size: 27px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.zmtw-diagnosis-score small { margin-top: 4px; color: var(--zmtw-muted); font-size: 9px; }
.zmtw-diagnosis-health-body h3 { margin: 0; font-size: 14px; }
.zmtw-diagnosis-health-body p { margin: 7px 0 10px; color: var(--zmtw-muted); font-size: 10px; line-height: 1.65; }
.zmtw-diagnosis-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.zmtw-diagnosis-tags span { padding: 4px 6px; color: #427d70; background: var(--zmtw-accent-soft); border-radius: 4px; font-size: 9px; font-weight: 700; }
.zmtw-diagnosis-findings { padding: 0 20px 9px; }
.zmtw-diagnosis-findings article { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; padding: 10px 0; border-top: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-findings article > span { display: grid; place-items: center; width: 23px; height: 23px; color: #697774; background: #f0f3f2; border-radius: 5px; }
.zmtw-diagnosis-findings article.is-positive > span { color: var(--zmtw-accent); background: var(--zmtw-accent-soft); }
.zmtw-diagnosis-findings article.is-warning > span { color: var(--zmtw-gold); background: var(--zmtw-gold-soft); }
.zmtw-diagnosis-findings .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-diagnosis-findings strong { display: block; font-size: 10px; }
.zmtw-diagnosis-findings p { margin: 3px 0 0; color: var(--zmtw-muted); font-size: 9px; line-height: 1.55; }

.zmtw-diagnosis-actions ol { display: grid; gap: 0; margin: 0; padding: 4px 17px 0; list-style: none; }
.zmtw-diagnosis-actions li { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 9px; padding: 11px 0; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-actions li:last-child { border-bottom: 0; }
.zmtw-diagnosis-actions li > b { display: grid; place-items: center; width: 22px; height: 22px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 5px; font-size: 8px; }
.zmtw-diagnosis-actions li.is-medium > b { color: var(--zmtw-gold); background: var(--zmtw-gold-soft); }
.zmtw-diagnosis-actions li.is-low > b { color: var(--zmtw-blue); background: var(--zmtw-blue-soft); }
.zmtw-diagnosis-actions strong { display: block; font-size: 10px; }
.zmtw-diagnosis-actions p { margin: 3px 0 0; color: var(--zmtw-muted); font-size: 9px; line-height: 1.55; }
.zmtw-diagnosis-actions footer { padding: 11px 17px 13px; background: var(--zmtw-surface-subtle); border-top: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-actions footer strong { display: block; font-size: 10px; }
.zmtw-diagnosis-actions footer p { margin: 4px 0 0; color: var(--zmtw-muted); font-size: 9px; line-height: 1.5; }

.zmtw-diagnosis-works { margin-top: 16px; }
.zmtw-diagnosis-works > header { min-height: 58px; }
.zmtw-diagnosis-works > header > div h2 { margin: 0; font-size: 14px; }
.zmtw-diagnosis-works > header > div p { margin-top: 3px; }
.zmtw-diagnosis-works .zmtw-button { min-height: 30px; padding: 6px 9px; font-size: 9px; }
.zmtw-diagnosis-table-wrap { overflow-x: auto; }
.zmtw-diagnosis-works table { width: 100%; min-width: 680px; border-collapse: collapse; }
.zmtw-diagnosis-works th { padding: 10px 17px; color: var(--zmtw-faint); background: var(--zmtw-surface-subtle); border-bottom: 1px solid var(--zmtw-line); text-align: left; font-size: 9px; font-weight: 700; }
.zmtw-diagnosis-works td { padding: 10px 17px; color: #5d6965; border-bottom: 1px solid var(--zmtw-line); font-size: 9px; }
.zmtw-diagnosis-works tr:last-child td { border-bottom: 0; }
.zmtw-diagnosis-work-title { display: grid; grid-template-columns: 36px minmax(160px, 1fr); align-items: center; gap: 9px; min-width: 0; color: var(--zmtw-ink); }
.zmtw-diagnosis-work-title img, .zmtw-diagnosis-work-title i { display: grid; place-items: center; width: 36px; height: 28px; overflow: hidden; color: var(--zmtw-blue); background: var(--zmtw-blue-soft); border: 1px solid rgba(0, 0, 0, .1); border-radius: 4px; font-style: normal; object-fit: cover; }
.zmtw-diagnosis-work-title .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-diagnosis-work-title strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-positive { color: var(--zmtw-accent); font-weight: 750; font-variant-numeric: tabular-nums; }

.zmtw-diagnosis-opportunities { margin-top: 16px; }
.zmtw-diagnosis-opportunities > header { display: block; }
.zmtw-diagnosis-opportunities > header p { margin-top: 4px; }
.zmtw-diagnosis-opportunities > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zmtw-diagnosis-opportunities article { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; min-height: 160px; padding: 18px; border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-opportunities article:last-child { border-right: 0; }
.zmtw-diagnosis-opportunities article > span { color: var(--zmtw-accent); font-size: 10px; font-weight: 780; }
.zmtw-diagnosis-opportunities h3 { margin: 0; font-size: 12px; }
.zmtw-diagnosis-opportunities p { margin: 6px 0 13px; color: var(--zmtw-muted); font-size: 10px; line-height: 1.65; }
.zmtw-diagnosis-opportunities small { display: block; color: var(--zmtw-faint); font-size: 9px; line-height: 1.55; }
.zmtw-diagnosis-opportunities small b { display: block; margin-bottom: 2px; color: var(--zmtw-muted); font-size: 9px; }

.zmtw-diagnosis-report-summary > p { margin: 0; padding: 18px; color: var(--zmtw-muted); font-size: 11px; line-height: 1.75; }
.zmtw-diagnosis-report-summary > div { padding: 0 18px 18px; }
.zmtw-diagnosis-report-summary h3 { margin: 0 0 8px; font-size: 11px; }
.zmtw-diagnosis-report-summary ul { display: grid; gap: 7px; margin: 0; padding-left: 17px; color: var(--zmtw-muted); font-size: 10px; line-height: 1.55; }
.zmtw-diagnosis-report-summary li::marker, .zmtw-diagnosis-plan li::marker { color: var(--zmtw-accent); }
.zmtw-diagnosis-plan > div { display: grid; gap: 0; }
.zmtw-diagnosis-plan article { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 13px 17px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-plan article:last-child { border-bottom: 0; }
.zmtw-diagnosis-plan article > span { color: var(--zmtw-accent); font-size: 9px; font-weight: 760; }
.zmtw-diagnosis-plan h3 { margin: 0; font-size: 11px; }
.zmtw-diagnosis-plan ul { display: grid; gap: 3px; margin: 6px 0 0; padding-left: 15px; color: var(--zmtw-muted); font-size: 9px; line-height: 1.5; }

.zmtw-diagnosis-history { margin-top: 10px; overflow: hidden; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-diagnosis-history > header { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-history > header strong { font-size: 11px; }
.zmtw-diagnosis-history > header button { min-height: 25px; padding: 0; color: var(--zmtw-muted); background: transparent; border: 0; font-size: 10px; cursor: pointer; }
.zmtw-diagnosis-history > p { margin: 0; padding: 14px; color: var(--zmtw-muted); font-size: 10px; }
.zmtw-diagnosis-history > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zmtw-diagnosis-history-item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; min-height: 58px; padding: 9px 13px; color: var(--zmtw-ink); background: #fff; border: 0; border-right: 1px solid var(--zmtw-line); text-align: left; cursor: pointer; }
.zmtw-diagnosis-history-item:last-child { border-right: 0; }
.zmtw-diagnosis-history-item:hover, .zmtw-diagnosis-history-item.is-active { background: var(--zmtw-surface-subtle); }
.zmtw-diagnosis-history-item > span:first-child { display: grid; place-items: center; width: 28px; height: 28px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 5px; }
.zmtw-diagnosis-history-item .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-diagnosis-history-item strong, .zmtw-diagnosis-history-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-history-item strong { font-size: 10px; }
.zmtw-diagnosis-history-item small { margin-top: 3px; color: var(--zmtw-faint); font-size: 8px; }
.zmtw-diagnosis-history-item em { color: var(--zmtw-accent); font-size: 9px; font-style: normal; }

.zmtw-diagnosis-notice { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 9px; margin-top: 12px; padding: 10px 12px; color: #7f4a50; background: #fff3f4; border: 1px solid #f0d9dc; border-radius: 7px; }
.zmtw-diagnosis-notice > span { display: grid; place-items: center; width: 22px; height: 22px; color: var(--zmtw-red); background: #fff; border-radius: 5px; }
.zmtw-diagnosis-notice .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-diagnosis-notice p { margin: 0; font-size: 10px; line-height: 1.5; }
.zmtw-diagnosis-notice button { min-height: 28px; padding: 0 8px; color: #7f4a50; background: #fff; border: 1px solid #eccfd3; border-radius: 5px; font-size: 9px; font-weight: 700; cursor: pointer; }
.zmtw-diagnosis-empty, .zmtw-diagnosis-error { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 142px; margin-top: 16px; padding: 21px; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-diagnosis-empty > span, .zmtw-diagnosis-error > span { display: grid; place-items: center; width: 42px; height: 42px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 8px; }
.zmtw-diagnosis-error > span { color: var(--zmtw-red); background: #fff0f1; }
.zmtw-diagnosis-empty .dashicons, .zmtw-diagnosis-error .dashicons { width: 21px; height: 21px; font-size: 21px; }
.zmtw-diagnosis-empty h2, .zmtw-diagnosis-error h2 { margin: 0; font-size: 15px; }
.zmtw-diagnosis-empty p, .zmtw-diagnosis-error p { margin: 5px 0 0; color: var(--zmtw-muted); font-size: 10px; line-height: 1.65; }
.zmtw-diagnosis-empty ul { display: grid; gap: 5px; margin: 0; padding-left: 15px; color: var(--zmtw-muted); font-size: 9px; line-height: 1.45; }
.zmtw-diagnosis-empty li::marker { color: var(--zmtw-accent); }
.zmtw-diagnosis-no-data { display: flex; align-items: center; gap: 8px; padding: 28px 17px; color: var(--zmtw-muted); font-size: 10px; }
.zmtw-diagnosis-no-data .dashicons { width: 16px; height: 16px; color: var(--zmtw-faint); font-size: 16px; }
.zmtw-diagnosis-no-data p { margin: 0; }
.zmtw-diagnosis-loading { display: grid; gap: 14px; }
.zmtw-diagnosis-skeleton { overflow: hidden; background: #e8eeeb; border-radius: 7px; }
.zmtw-diagnosis-skeleton.is-title { width: 170px; height: 28px; }
.zmtw-diagnosis-skeleton.is-copy { width: 340px; height: 15px; }
.zmtw-diagnosis-skeleton.is-form { height: 84px; }
.zmtw-diagnosis-skeleton.is-panel { height: 320px; }

/* Full account-diagnosis modules share the workbench's compact desktop surface. */
.zmtw-diagnosis-profile-card { margin-top: 18px; }
.zmtw-diagnosis-profile-card > header > div p, .zmtw-diagnosis-video-panel > header > div p { margin-top: 3px; color: var(--zmtw-faint); font-size: 9px; }
.zmtw-diagnosis-profile-card > header > span, .zmtw-diagnosis-video-panel > header > span, .zmtw-diagnosis-audience-summary > header > span { padding: 4px 7px; color: #427d70; background: var(--zmtw-accent-soft); border-radius: 4px; font-size: 9px; font-weight: 700; }
.zmtw-diagnosis-profile-body { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(238px, .7fr); align-items: center; gap: 14px; padding: 17px; }
.zmtw-diagnosis-profile-avatar { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; color: #fff; background: var(--zmtw-blue); border-radius: 7px; font-size: 20px; font-weight: 780; }
.zmtw-diagnosis-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.zmtw-diagnosis-profile-body h3 { margin: 0; font-size: 14px; }
.zmtw-diagnosis-profile-body > div:nth-child(2) > p { margin: 5px 0 9px; color: var(--zmtw-muted); font-size: 10px; line-height: 1.55; }
.zmtw-diagnosis-profile-body dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding-left: 15px; border-left: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-profile-body dl div { min-width: 0; padding: 0 10px; }
.zmtw-diagnosis-profile-body dt, .zmtw-diagnosis-profile-body dd, .zmtw-diagnosis-video-grid dt, .zmtw-diagnosis-video-grid dd { margin: 0; }
.zmtw-diagnosis-profile-body dt, .zmtw-diagnosis-video-grid dt { color: var(--zmtw-faint); font-size: 8px; }
.zmtw-diagnosis-profile-body dd, .zmtw-diagnosis-video-grid dd { display: block; margin-top: 4px; overflow: hidden; color: var(--zmtw-ink); font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-inline-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; background: #fff; border: 1px solid var(--zmtw-line); border-radius: 8px; box-shadow: var(--zmtw-shadow-border); }
.zmtw-diagnosis-inline-stats article { min-width: 0; padding: 14px 16px; border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-inline-stats article:last-child { border-right: 0; }
.zmtw-diagnosis-inline-stats span, .zmtw-diagnosis-inline-stats strong, .zmtw-diagnosis-inline-stats small { display: block; }
.zmtw-diagnosis-inline-stats span { color: var(--zmtw-muted); font-size: 9px; }
.zmtw-diagnosis-inline-stats strong { margin-top: 4px; color: var(--zmtw-ink); font-size: 18px; font-weight: 780; font-variant-numeric: tabular-nums; }
.zmtw-diagnosis-inline-stats small { margin-top: 3px; overflow: hidden; color: var(--zmtw-faint); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-health > header button { min-height: 28px; padding: 0; color: var(--zmtw-accent); background: transparent; border: 0; font-size: 9px; font-weight: 700; cursor: pointer; }
.zmtw-diagnosis-health-body small { color: var(--zmtw-faint); font-size: 8px; line-height: 1.5; }
.zmtw-diagnosis-module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.zmtw-diagnosis-module-grid .zmtw-diagnosis-inline-stats { border: 0; border-radius: 0; box-shadow: none; }
.zmtw-diagnosis-module-grid .zmtw-diagnosis-inline-stats article { padding: 15px; }
.zmtw-diagnosis-key-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 15px; }
.zmtw-diagnosis-key-values > div { padding: 9px 10px; border-right: 1px solid var(--zmtw-line); border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-key-values > div:nth-child(2n) { border-right: 0; }
.zmtw-diagnosis-key-values > div:nth-last-child(-n + 2) { border-bottom: 0; }
.zmtw-diagnosis-key-values > div.is-wide { grid-column: 1 / -1; }
.zmtw-diagnosis-key-values span, .zmtw-diagnosis-key-values strong { display: block; }
.zmtw-diagnosis-key-values span { color: var(--zmtw-faint); font-size: 9px; }
.zmtw-diagnosis-key-values strong { margin-top: 4px; font-size: 14px; font-variant-numeric: tabular-nums; }
.zmtw-diagnosis-key-values p { margin: 4px 0 0; color: var(--zmtw-muted); font-size: 10px; line-height: 1.5; }
.zmtw-diagnosis-panel-note, .zmtw-diagnosis-score-panel > footer { padding: 10px 15px; color: var(--zmtw-faint); background: var(--zmtw-surface-subtle); border-top: 1px solid var(--zmtw-line); font-size: 9px; line-height: 1.5; }
.zmtw-diagnosis-bars { display: grid; gap: 12px; padding: 15px 17px; }
.zmtw-diagnosis-bar > div, .zmtw-diagnosis-bar > div > span, .zmtw-diagnosis-bar > div > strong { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.zmtw-diagnosis-bar > div { color: var(--zmtw-muted); font-size: 10px; }
.zmtw-diagnosis-bar > div strong { color: var(--zmtw-ink); font-size: 10px; font-variant-numeric: tabular-nums; }
.zmtw-diagnosis-bar > i, .zmtw-diagnosis-score-bars i, .zmtw-diagnosis-similarity i { display: block; height: 5px; margin-top: 6px; overflow: hidden; background: #e8eeeb; border-radius: 3px; }
.zmtw-diagnosis-bar > i b, .zmtw-diagnosis-score-bars i b, .zmtw-diagnosis-similarity i b { display: block; height: 100%; background: var(--zmtw-accent); border-radius: inherit; }
.zmtw-diagnosis-bar small { display: block; margin-top: 4px; color: var(--zmtw-faint); font-size: 8px; line-height: 1.4; }
.zmtw-diagnosis-score-panel, .zmtw-diagnosis-table-panel { margin-top: 16px; }
.zmtw-diagnosis-score-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 28px; padding: 22px; }
.zmtw-diagnosis-score-layout .zmtw-diagnosis-score { width: 138px; height: 138px; }
.zmtw-diagnosis-score-layout .zmtw-diagnosis-score > div { width: 111px; height: 111px; }
.zmtw-diagnosis-score-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 20px; }
.zmtw-diagnosis-score-bars > div { display: grid; grid-template-columns: 74px minmax(0, 1fr) 34px; align-items: center; gap: 8px; }
.zmtw-diagnosis-score-bars span { color: var(--zmtw-muted); font-size: 10px; }
.zmtw-diagnosis-score-bars i { margin-top: 0; }
.zmtw-diagnosis-score-bars strong { color: var(--zmtw-ink); font-size: 10px; text-align: right; font-variant-numeric: tabular-nums; }
.zmtw-diagnosis-table-panel table { width: 100%; min-width: 700px; border-collapse: collapse; }
.zmtw-diagnosis-table-panel th, .zmtw-diagnosis-table-panel td { padding: 11px 16px; border-bottom: 1px solid var(--zmtw-line); text-align: left; font-size: 9px; }
.zmtw-diagnosis-table-panel th { color: var(--zmtw-faint); background: var(--zmtw-surface-subtle); font-weight: 700; }
.zmtw-diagnosis-table-panel td { color: var(--zmtw-muted); }
.zmtw-diagnosis-table-panel tr:last-child td { border-bottom: 0; }
.zmtw-diagnosis-list-panel { margin-top: 16px; }
.zmtw-diagnosis-bullet-list { display: grid; gap: 8px; margin: 0; padding: 15px 18px 16px 33px; color: var(--zmtw-muted); font-size: 10px; line-height: 1.6; }
.zmtw-diagnosis-bullet-list li::marker { color: var(--zmtw-accent); }
.zmtw-diagnosis-video-panel { margin-top: 16px; }
.zmtw-diagnosis-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.zmtw-diagnosis-video-grid > article { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 13px; min-width: 0; padding: 16px; border-right: 1px solid var(--zmtw-line); border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-video-grid > article:nth-child(2n) { border-right: 0; }
.zmtw-diagnosis-video-grid > article:nth-last-child(-n + 2) { border-bottom: 0; }
.zmtw-diagnosis-video-cover { display: grid; place-items: center; width: 104px; height: 78px; overflow: hidden; color: var(--zmtw-blue); background: var(--zmtw-blue-soft); border-radius: 6px; font-size: 15px; font-weight: 780; }
.zmtw-diagnosis-video-cover img { width: 100%; height: 100%; object-fit: cover; }
.zmtw-diagnosis-video-grid h3 { margin: 0; overflow: hidden; font-size: 11px; line-height: 1.45; }
.zmtw-diagnosis-video-grid p { margin: 5px 0 8px; color: var(--zmtw-muted); font-size: 9px; line-height: 1.5; }
.zmtw-diagnosis-video-grid dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.zmtw-diagnosis-video-grid dd { font-size: 9px; }
.zmtw-diagnosis-video-grid > article > div:last-child > strong { display: inline-block; margin-top: 8px; color: var(--zmtw-accent); font-size: 9px; }
.zmtw-diagnosis-video-grid a { display: block; margin-top: 7px; color: var(--zmtw-blue); font-size: 9px; font-weight: 700; text-decoration: none; }
.zmtw-diagnosis-benchmark-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 16px; margin-top: 16px; }
.zmtw-diagnosis-graph { position: relative; min-height: 306px; overflow: hidden; background: linear-gradient(#f8fbfa 1px, transparent 1px), linear-gradient(90deg, #f8fbfa 1px, transparent 1px); background-size: 24px 24px; }
.zmtw-diagnosis-graph::before, .zmtw-diagnosis-graph::after { position: absolute; top: 50%; left: 50%; width: 35%; height: 1px; background: #c7ded8; content: ""; transform-origin: left center; }
.zmtw-diagnosis-graph::before { transform: rotate(-28deg); }
.zmtw-diagnosis-graph::after { transform: rotate(24deg); }
.zmtw-diagnosis-graph button { position: absolute; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; padding: 0; color: var(--zmtw-blue); background: #fff; border: 1px solid var(--zmtw-line); border-radius: 50%; box-shadow: 0 7px 16px rgba(20, 42, 36, .08); cursor: pointer; transform: translate(-50%, -50%); }
.zmtw-diagnosis-graph button.is-tier-0 { width: 90px; height: 90px; color: var(--zmtw-accent); background: #f8fffc; border-color: #bcded5; }
.zmtw-diagnosis-graph button span { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--zmtw-blue); border-radius: 50%; font-size: 13px; }
.zmtw-diagnosis-graph button.is-tier-0 span { background: var(--zmtw-accent); }
.zmtw-diagnosis-graph button small { width: 72px; margin-top: 3px; overflow: hidden; color: var(--zmtw-ink); font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-graph-panel footer { padding: 12px 16px; background: var(--zmtw-surface-subtle); border-top: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-graph-panel footer strong { font-size: 10px; }
.zmtw-diagnosis-graph-panel footer p { margin: 4px 0 0; color: var(--zmtw-muted); font-size: 9px; line-height: 1.5; }
.zmtw-diagnosis-benchmark-detail > div { padding: 16px; }
.zmtw-diagnosis-benchmark-detail h3 { margin: 0; font-size: 14px; }
.zmtw-diagnosis-benchmark-detail p { margin: 4px 0 0; color: var(--zmtw-muted); font-size: 10px; line-height: 1.55; }
.zmtw-diagnosis-benchmark-detail h4 { margin: 15px 0 0; font-size: 10px; }
.zmtw-diagnosis-benchmark-detail .zmtw-diagnosis-bullet-list { padding: 8px 0 0 15px; }
.zmtw-diagnosis-similarity { display: grid; gap: 10px; margin-top: 16px; }
.zmtw-diagnosis-similarity > div { display: grid; grid-template-columns: 66px minmax(0, 1fr) 34px; align-items: center; gap: 8px; }
.zmtw-diagnosis-similarity span { color: var(--zmtw-muted); font-size: 9px; }
.zmtw-diagnosis-similarity i { margin-top: 0; }
.zmtw-diagnosis-similarity strong { font-size: 9px; text-align: right; }
.zmtw-diagnosis-benchmark-list > div { display: grid; }
.zmtw-diagnosis-benchmark-list button { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; padding: 11px 14px; color: var(--zmtw-ink); background: #fff; border: 0; border-bottom: 1px solid var(--zmtw-line); text-align: left; cursor: pointer; }
.zmtw-diagnosis-benchmark-list button:hover, .zmtw-diagnosis-benchmark-list button.is-active { background: var(--zmtw-surface-subtle); }
.zmtw-diagnosis-benchmark-list button > span { display: grid; place-items: center; width: 30px; height: 30px; color: var(--zmtw-violet); background: var(--zmtw-violet-soft); border-radius: 6px; font-size: 11px; font-weight: 760; }
.zmtw-diagnosis-benchmark-list strong, .zmtw-diagnosis-benchmark-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-benchmark-list strong { font-size: 10px; }
.zmtw-diagnosis-benchmark-list small { margin-top: 2px; color: var(--zmtw-faint); font-size: 8px; }
.zmtw-diagnosis-benchmark-list em { color: var(--zmtw-accent); font-size: 10px; font-style: normal; font-weight: 760; }
.zmtw-diagnosis-audience-summary { margin-top: 16px; }
.zmtw-diagnosis-audience-summary > header { align-items: flex-start; }
.zmtw-diagnosis-audience-summary p { max-width: 760px; margin: 3px 0 0; color: var(--zmtw-muted); font-size: 10px; line-height: 1.6; }
.zmtw-diagnosis-audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.zmtw-diagnosis-report-summary { margin-top: 16px; }
.zmtw-diagnosis-report-summary > header { align-items: center; }
.zmtw-diagnosis-report-summary > header .zmtw-button { min-height: 30px; padding: 6px 9px; font-size: 9px; }
.zmtw-diagnosis-report-summary > p { padding-bottom: 8px; }
.zmtw-diagnosis-report-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-report-columns article { min-width: 0; padding: 15px; border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-report-columns article:last-child { border-right: 0; }
.zmtw-diagnosis-report-columns h3, .zmtw-diagnosis-positioning h3 { margin: 0; font-size: 11px; }
.zmtw-diagnosis-report-columns .zmtw-diagnosis-bullet-list { padding: 8px 0 0 15px; }
.zmtw-diagnosis-positioning > div { padding: 16px; }
.zmtw-diagnosis-positioning h3 { line-height: 1.6; }
.zmtw-diagnosis-positioning p { margin: 9px 0 0; color: var(--zmtw-muted); font-size: 10px; line-height: 1.55; }
.zmtw-diagnosis-positioning p b { color: var(--zmtw-ink); font-weight: 700; }
.zmtw-diagnosis-swot > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zmtw-diagnosis-swot article { min-width: 0; padding: 14px; border-right: 1px solid var(--zmtw-line); border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-swot article:nth-child(2n) { border-right: 0; }
.zmtw-diagnosis-swot article:nth-last-child(-n + 2) { border-bottom: 0; }
.zmtw-diagnosis-swot h3 { margin: 0; font-size: 11px; }
.zmtw-diagnosis-swot .zmtw-diagnosis-bullet-list { padding: 8px 0 0 15px; }
.zmtw-diagnosis-sections, .zmtw-diagnosis-opportunities { margin-top: 16px; }
.zmtw-diagnosis-sections > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zmtw-diagnosis-sections article { min-width: 0; padding: 16px; border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-sections article:last-child { border-right: 0; }
.zmtw-diagnosis-sections h3 { margin: 0; font-size: 11px; }
.zmtw-diagnosis-sections p { margin: 6px 0 0; color: var(--zmtw-muted); font-size: 9px; line-height: 1.6; }
.zmtw-diagnosis-sections .zmtw-diagnosis-bullet-list { padding: 8px 0 0 15px; }
.zmtw-diagnosis-coverage { margin-top: 16px; }
.zmtw-diagnosis-coverage > header > div p { max-width: 760px; margin: 4px 0 0; color: var(--zmtw-muted); font-size: 10px; line-height: 1.6; }
.zmtw-diagnosis-coverage-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 15px; }
.zmtw-diagnosis-coverage-grid article { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 7px; min-width: 0; padding: 8px; border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-coverage-grid article:last-child { border-right: 0; }
.zmtw-diagnosis-coverage-grid article > span { display: grid; place-items: center; width: 24px; height: 24px; color: var(--zmtw-accent); background: var(--zmtw-accent-soft); border-radius: 5px; }
.zmtw-diagnosis-coverage-grid article.is-missing > span { color: var(--zmtw-gold); background: var(--zmtw-gold-soft); }
.zmtw-diagnosis-coverage-grid .dashicons { width: 13px; height: 13px; font-size: 13px; }
.zmtw-diagnosis-coverage-grid strong, .zmtw-diagnosis-coverage-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-coverage-grid strong { font-size: 9px; }
.zmtw-diagnosis-coverage-grid small { margin-top: 2px; color: var(--zmtw-faint); font-size: 8px; }
.zmtw-diagnosis-coverage-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-coverage-details article { min-width: 0; padding: 16px; border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-coverage-details article:last-child { border-right: 0; }
.zmtw-diagnosis-coverage-details h3 { margin: 0; font-size: 11px; }
.zmtw-diagnosis-coverage-details .zmtw-diagnosis-bullet-list { padding: 10px 0 0 15px; }
.zmtw-diagnosis-coverage-details dl { display: grid; gap: 9px; margin: 11px 0 0; }
.zmtw-diagnosis-coverage-details dl div { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 8px; }
.zmtw-diagnosis-coverage-details dt { color: var(--zmtw-faint); font-size: 9px; }
.zmtw-diagnosis-coverage-details dd { min-width: 0; margin: 0; overflow: hidden; color: var(--zmtw-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

@media print {
  .zmtw-sidebar, .zmtw-topbar, .zmtw-diagnosis-breadcrumb, .zmtw-diagnosis-context, .zmtw-diagnosis-status-row, .zmtw-diagnosis-tabs, .zmtw-head-actions, .zmtw-diagnosis-report-summary .zmtw-button { display: none !important; }
  .zmtw-shell { display: block; background: #fff; }
  .zmtw-main { padding: 0; }
  .zmtw-view { max-width: none; }
  .zmtw-diagnosis-panel { break-inside: avoid; box-shadow: none; }
}

@media (max-width: 1380px) {
  .zmtw-diagnosis-context { grid-template-columns: 176px minmax(0, 1fr) auto; gap: 12px; }
  .zmtw-diagnosis-overview-grid, .zmtw-diagnosis-report-grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 14px; }
  .zmtw-diagnosis-metrics article { padding-right: 13px; padding-left: 13px; }
}

.zmtw-mobile-nav-toggle, .zmtw-mobile-nav-close, .zmtw-mobile-nav-backdrop { display: none; }

@media (max-width: 767px) {
  body.zmt-unified-workbench-page { min-width: 0; overflow-x: hidden; }
  .zmtw-shell { grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 100dvh; }
  .zmtw-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 150; width: min(292px, calc(100vw - 48px)); height: 100dvh; padding: 0 12px 14px; box-shadow: 16px 0 34px rgba(20, 42, 36, .16); transform: translateX(-105%); transition: transform 180ms ease-out; }
  body.admin-bar .zmtw-sidebar { top: 0; height: 100dvh; }
  .zmtw-shell.is-mobile-nav-open .zmtw-sidebar { transform: translateX(0); }
  .zmtw-mobile-nav-backdrop { position: fixed; inset: 0; z-index: 140; width: 100%; height: 100%; padding: 0; background: rgba(20, 42, 36, .32); border: 0; opacity: 0; pointer-events: none; transition: opacity 180ms ease-out; }
  .zmtw-shell.is-mobile-nav-open .zmtw-mobile-nav-backdrop { opacity: 1; pointer-events: auto; }
  .zmtw-brand { position: relative; padding-right: 48px; }
  .zmtw-mobile-nav-close { position: absolute; top: 14px; right: 0; display: grid; place-items: center; width: 34px; height: 34px; min-height: 34px; padding: 0; color: var(--zmtw-muted); background: var(--zmtw-surface-subtle); border: 1px solid var(--zmtw-line); border-radius: 6px; }
  .zmtw-mobile-nav-close .dashicons { width: 16px; height: 16px; font-size: 16px; }
  .zmtw-workspace { width: 100%; min-width: 0; }
  .zmtw-topbar { min-height: 60px; gap: 10px; padding: 0 14px; }
  .zmtw-mobile-nav-toggle { display: grid; place-items: center; width: 38px; height: 38px; min-height: 38px; flex: 0 0 38px; padding: 0; color: var(--zmtw-muted); background: #fff; border: 1px solid var(--zmtw-line); border-radius: 6px; }
  .zmtw-mobile-nav-toggle .dashicons { width: 18px; height: 18px; font-size: 18px; }
  .zmtw-account-switcher { width: 100%; min-width: 0; flex: 1; }
  .zmtw-account-switcher-label { display: none; }
  .zmtw-shell .zmtw-subject-picker-trigger { width: 100%; min-width: 0; max-width: 100%; grid-template-columns: 36px minmax(0, 1fr) 18px; }
  .zmtw-subject-picker { width: min(370px, calc(100vw - 28px)); max-width: calc(100vw - 28px); }
  .zmtw-account-switcher > label, .zmtw-top-actions .zmtw-search, .zmtw-top-actions .zmtw-save-state, .zmtw-top-actions [data-zmtw-action="open-help"] { display: none; }
  .zmtw-select-wrap, .zmtw-select-wrap select { width: 100%; }
  .zmtw-select-wrap select { width: min(100%, 182px); height: 38px; font-size: 13px; }
  .zmtw-top-actions { flex: 0 0 auto; gap: 6px; }
  .zmtw-compute-balance { min-width: 0; gap: 5px; padding-inline: 8px; }
  .zmtw-compute-balance > span:not(.dashicons) { display: none; }
  .zmtw-compute-balance strong { min-width: 0; max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .zmtw-icon-button { width: 38px; height: 38px; }
  .zmtw-main { padding: 20px 14px 32px; }
  .zmtw-page-head { align-items: flex-start; flex-direction: column; gap: 10px; min-height: 0; margin-bottom: 16px; }
  .zmtw-page-head h1, .zmtw-home-head h1 { font-size: 24px; }
  .zmtw-page-head p { font-size: 13px; line-height: 1.6; }
  .zmtw-head-actions { width: 100%; }
  .zmtw-head-actions .zmtw-button { width: 100%; }
  .zmtw-diagnosis-breadcrumb { margin-bottom: 10px; }
  .zmtw-diagnosis-context { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; min-height: 0; padding: 12px; }
  .zmtw-diagnosis-account { grid-column: 1 / -1; }
  .zmtw-diagnosis-context > .zmtw-button { min-width: 96px; padding-right: 10px; padding-left: 10px; }
  .zmtw-diagnosis-status-row { gap: 6px; margin-top: 12px; }
  .zmtw-diagnosis-tabs { height: 46px; gap: 20px; margin-top: 6px; overflow-x: auto; }
  .zmtw-diagnosis-tabs button { min-height: 46px; flex: 0 0 auto; }
  .zmtw-diagnosis-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-diagnosis-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
  .zmtw-diagnosis-metrics article { padding: 13px; border-bottom: 1px solid var(--zmtw-line); }
  .zmtw-diagnosis-metrics article:nth-child(2n) { border-right: 0; }
  .zmtw-diagnosis-metrics article:nth-last-child(-n + 2) { border-bottom: 0; }
  .zmtw-diagnosis-metrics strong { font-size: 20px; }
  .zmtw-diagnosis-overview-grid, .zmtw-diagnosis-report-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
  .zmtw-diagnosis-health-body { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 16px 14px 12px; }
  .zmtw-diagnosis-score { width: 96px; height: 96px; }
  .zmtw-diagnosis-score > div { width: 77px; height: 77px; }
  .zmtw-diagnosis-score strong { font-size: 24px; }
  .zmtw-diagnosis-findings { padding: 0 14px 8px; }
  .zmtw-diagnosis-actions ol { padding-right: 14px; padding-left: 14px; }
  .zmtw-diagnosis-actions footer { padding-right: 14px; padding-left: 14px; }
  .zmtw-diagnosis-works, .zmtw-diagnosis-opportunities { margin-top: 14px; }
  .zmtw-diagnosis-works > header { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px; }
  .zmtw-diagnosis-opportunities > div { grid-template-columns: minmax(0, 1fr); }
  .zmtw-diagnosis-opportunities article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--zmtw-line); }
  .zmtw-diagnosis-opportunities article:last-child { border-bottom: 0; }
  .zmtw-diagnosis-history > div { grid-template-columns: minmax(0, 1fr); }
  .zmtw-diagnosis-history-item { border-right: 0; border-bottom: 1px solid var(--zmtw-line); }
  .zmtw-diagnosis-history-item:last-child { border-bottom: 0; }
  .zmtw-dialog { max-width: calc(100vw - 28px); }
  .zmtw-dialog form > header, .zmtw-dialog form > footer, .zmtw-dialog-frame > header, .zmtw-dialog-frame > footer { padding: 14px; }
  .zmtw-dialog-body { grid-template-columns: minmax(0, 1fr); padding: 14px; }

  .zmtw-deconstruction-builder { grid-template-columns: minmax(0, 1fr); overflow: visible; }
  .zmtw-deconstruction-builder .zmtw-diagnosis-builder-main { padding: 18px 14px; }
  .zmtw-deconstruction-result > header { grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 0; padding: 22px 18px; }
  .zmtw-deconstruction-result > header h2 { font-size: 24px; }
  .zmtw-deconstruction-result > header > div:last-child { width: 100%; height: 82px; }
  .zmtw-deconstruction-result-headline { grid-template-columns: minmax(0, 1fr); }
  .zmtw-deconstruction-result-headline > article { padding: 17px 18px; border-right: 0; border-bottom: 1px solid var(--zmtw-line); }
  .zmtw-deconstruction-result-headline > article:last-child { border-bottom: 0; }
  .zmtw-deconstruction-formula { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px; }
  .zmtw-deconstruction-mechanisms { grid-template-columns: minmax(0, 1fr); }
  .zmtw-deconstruction-mechanisms > article { padding: 18px; border-right: 0; border-bottom: 1px solid var(--zmtw-line); }
  .zmtw-deconstruction-mechanisms > article:nth-last-child(-n + 2) { border-bottom: 1px solid var(--zmtw-line); }
  .zmtw-deconstruction-mechanisms > article:last-child { border-bottom: 0; }
  .zmtw-deconstruction-result > footer { align-items: stretch; flex-direction: column; padding: 16px 18px; }
  .zmtw-deconstruction-result > footer .zmtw-button { width: 100%; }

  .zmtw-deconstruction-report-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); }
  .zmtw-deconstruction-report-dialog .zmtw-report-frame { grid-template-rows: auto minmax(0, 1fr); }
  .zmtw-deconstruction-report-dialog .zmtw-report-frame > header { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; padding: 10px 12px; }
  .zmtw-deconstruction-report-dialog .zmtw-report-frame > header > div:first-child { min-width: 0; }
  .zmtw-deconstruction-report-dialog .zmtw-report-frame > header h2 { display: -webkit-box; overflow: hidden; font-size: 14px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .zmtw-deconstruction-report-dialog .zmtw-report-frame > header p { gap: 4px; margin-top: 3px; overflow: hidden; font-size: 9px; white-space: nowrap; }
  .zmtw-deconstruction-report-dialog .zmtw-report-actions { display: grid; grid-template-columns: minmax(0, 1fr) 38px 38px; width: 100%; gap: 6px; }
  .zmtw-deconstruction-report-dialog .zmtw-report-actions .zmtw-button { width: 38px; min-width: 38px; height: 38px; min-height: 38px; padding: 0; overflow: hidden; font-size: 0; }
  .zmtw-deconstruction-report-dialog .zmtw-report-actions .zmtw-button .dashicons { width: 17px; height: 17px; font-size: 17px; }
  .zmtw-deconstruction-report-dialog .zmtw-report-actions .zmtw-icon-button { width: 38px; height: 38px; }
  .zmtw-deconstruction-report-dialog .zmtw-report-frame > footer { display: none; }
  .zmtw-deconstruction-report-dialog .zmtw-report-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .zmtw-deconstruction-report-dialog .zmtw-report-body > nav { display: flex; gap: 6px; padding: 8px 10px; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--zmtw-line); scrollbar-width: thin; }
  .zmtw-deconstruction-report-dialog .zmtw-report-body > nav > strong { display: none; }
  .zmtw-deconstruction-report-dialog .zmtw-report-body > nav button { grid-template-columns: auto auto; width: auto; min-width: max-content; min-height: 36px; flex: 0 0 auto; gap: 5px; padding: 7px 10px; font-size: 11px; }
  .zmtw-deconstruction-report-dialog .zmtw-report-body > nav button span { font-size: 9px; }
  .zmtw-deconstruction-report-dialog .zmtw-report-body > nav .zmtw-deconstruction-report-nav-group { display: flex; align-items: center; flex: 0 0 auto; gap: 4px; margin: 0; padding: 0 0 0 6px; border-top: 0; border-left: 1px solid #ded4c2; }
  .zmtw-deconstruction-report-dialog .zmtw-report-body > nav .zmtw-deconstruction-report-nav-sections { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; border-left: 0; }
  .zmtw-deconstruction-report-dialog .zmtw-report-body > nav .zmtw-deconstruction-report-nav-section { min-height: 36px; padding: 7px 9px; font-size: 10px; white-space: nowrap; }
  .zmtw-deconstruction-report-dialog .zmtw-report-body > article { padding: 12px 10px 32px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-report-cover { min-height: 310px; padding: 26px 20px 20px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-report-cover h1 { margin-top: 20px; font-size: 27px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-report-cover p { margin-top: 10px; font-size: 13px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-report-cover dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-report-cover dl > div { padding: 12px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-report-cover dd { font-size: 13px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-report-section { margin-top: 12px; padding: 18px 16px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-report-section > header { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; margin-bottom: 18px; padding-bottom: 14px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-report-section > header > span { width: 38px; height: 38px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-report-section > header h2 { font-size: 20px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-executive,
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-transfer,
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-method { grid-template-columns: minmax(0, 1fr); }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-modules > article { padding: 16px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-insights > article { padding: 14px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-insights > article > header { align-items: flex-start; flex-direction: column; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-insights > article > header > div { justify-content: flex-start; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-document.is-v2 .zmtw-deconstruction-v2-chapter { padding: 20px 16px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-headline > div { grid-template-columns: minmax(0, 1fr); }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-headline > div > article { min-height: 0; padding: 17px; border-right: 0; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-headline > div > article:nth-last-child(-n + 2) { border-bottom: 1px solid #e4ddd0; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-headline > div > article:last-child { border-bottom: 0; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-section { padding: 22px 0 24px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-section > header { grid-template-columns: 38px minmax(0, 1fr); gap: 9px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-section > header > span { min-width: 38px; height: 30px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-section > header h3 { font-size: 17px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-conclusion { padding: 14px 15px; font-size: 14px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-analysis p { font-size: 14px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-actions,
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-risks { padding: 15px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-mechanisms { grid-template-columns: minmax(0, 1fr); }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-mechanisms > article { padding: 17px; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-review { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-review > div { border-right: 1px solid #ddd5c7; border-bottom: 1px solid #ddd5c7; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-review > div:nth-child(2n) { border-right: 0; }
  .zmtw-deconstruction-report-dialog .zmtw-deconstruction-v2-review > div:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
}

/* Default product theme: white operating canvas with focused black-and-gold surfaces. */
body.zmt-unified-workbench-page { background: #ffffff; }
.zmtw-shell {
  --zmtw-theme: black-gold;
  --zmtw-bg: #ffffff;
  --zmtw-surface: #ffffff;
  --zmtw-surface-subtle: #fffdf8;
  --zmtw-ink: #1b1a18;
  --zmtw-muted: #6f6a60;
  --zmtw-faint: #9a9387;
  --zmtw-line: #e9e2d3;
  --zmtw-line-strong: #dcd0ba;
  --zmtw-accent: #d4af37;
  --zmtw-accent-hover: #b88e22;
  --zmtw-accent-soft: #fff4ca;
  --zmtw-gold: #d4af37;
  --zmtw-gold-soft: #fff4ca;
  --zmtw-blue: #252321;
  --zmtw-blue-soft: #f2eee6;
  --zmtw-violet: #856d3a;
  --zmtw-violet-soft: #f8f0db;
  --zmtw-orange: #c7802e;
  --zmtw-orange-soft: #fff0dc;
  --zmtw-purple: #9a6b42;
  --zmtw-purple-soft: #f9ecdf;
  --zmtw-success: #1a9a70;
  --zmtw-dark: #171614;
  --zmtw-dark-strong: #11100f;
  --zmtw-shadow-border: 0 0 0 1px rgba(83, 62, 25, .06), 0 2px 6px rgba(57, 43, 18, .04), 0 8px 22px rgba(57, 43, 18, .045);
  --zmtw-shadow-hover: 0 0 0 1px rgba(193, 150, 48, .34), 0 10px 24px rgba(57, 43, 18, .1);
  background: #ffffff;
}

.zmtw-shell button:focus-visible,
.zmtw-shell a:focus-visible,
.zmtw-shell input:focus-visible,
.zmtw-shell select:focus-visible,
.zmtw-shell textarea:focus-visible {
  outline-color: rgba(212, 175, 55, .32);
}

.zmtw-sidebar,
.zmtw-topbar,
.zmtw-dialog,
.zmtw-report-dialog,
.zmtw-management-card,
.zmtw-content-panel,
.zmtw-account-summary,
.zmtw-module-card,
.zmtw-readiness,
.zmtw-report-card,
.zmtw-inline-editor,
.zmtw-diagnosis-context,
.zmtw-diagnosis-metrics,
.zmtw-diagnosis-panel,
.zmtw-diagnosis-history {
  background: #ffffff;
  border-color: var(--zmtw-line);
}

.zmtw-sidebar { background: #ffffff; }
.zmtw-brand {
  min-height: 0;
  flex-shrink: 0;
  margin: 14px 0 10px;
  padding: 13px 12px;
  background: var(--zmtw-dark);
  border-top: 4px solid var(--zmtw-gold);
  border-bottom: 0;
  border-radius: 8px;
  box-shadow: 0 9px 20px rgba(21, 18, 12, .16);
}
.zmtw-brand-mark {
  color: var(--zmtw-dark);
  background: #f1c94c;
  box-shadow: none;
}
.zmtw-brand strong { color: #ffffff; }
.zmtw-brand div > span { color: #d9ca9d; }
.zmtw-nav button:hover,
.zmtw-icon-button:hover,
.zmtw-management-edit:hover { color: var(--zmtw-ink); background: #fffaf0; }
.zmtw-nav button.is-active { color: var(--zmtw-ink); background: var(--zmtw-accent-soft); }
.zmtw-nav button.is-active::before { background: var(--zmtw-gold); }
.zmtw-nav button.is-active .dashicons { color: #a57b12; }
.zmtw-avatar { color: #ffffff; background: var(--zmtw-dark); }

.zmtw-topbar { background: rgba(255, 255, 255, .97); border-color: var(--zmtw-line); }
.zmtw-select-wrap i,
.zmtw-save-state i { background: var(--zmtw-success); }
.zmtw-select-wrap select,
.zmtw-search,
.zmtw-icon-button,
.zmtw-content-toolbar > select,
.zmtw-content-search { border-color: var(--zmtw-line); }

.zmtw-view > .zmtw-page-head,
.zmtw-diagnosis-view .zmtw-diagnosis-page-head {
  min-height: 166px;
  margin-bottom: 24px;
  padding: 28px 30px;
  background: var(--zmtw-dark);
  border-top: 4px solid var(--zmtw-gold);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(21, 18, 12, .14);
}
.zmtw-view > .zmtw-page-head h1,
.zmtw-diagnosis-view .zmtw-diagnosis-page-head h1 { color: #ffffff; }
.zmtw-view > .zmtw-page-head p,
.zmtw-diagnosis-view .zmtw-diagnosis-page-head p { color: #d5c9aa; }
.zmtw-view > .zmtw-page-head .zmtw-button-secondary {
  color: var(--zmtw-ink) !important;
  background: #ffffff;
  box-shadow: none;
}
.zmtw-button-primary,
.zmtw-report-actions-row .zmtw-report-generate {
  color: var(--zmtw-ink) !important;
  background: #f1c94c;
  border-color: #f1c94c;
  box-shadow: 0 8px 18px rgba(241, 201, 76, .22);
}
.zmtw-button-primary:hover,
.zmtw-report-actions-row .zmtw-report-generate:hover {
  color: var(--zmtw-ink) !important;
  background: #dcb535;
  border-color: #dcb535;
  box-shadow: 0 10px 22px rgba(241, 201, 76, .28);
}
.zmtw-button-assist { color: #5d4b1e; background: #fff4ca; box-shadow: 0 0 0 1px rgba(212, 175, 55, .18); }
.zmtw-button-secondary,
.zmtw-management-edit,
.zmtw-report-actions-row .zmtw-report-view { color: #453e33 !important; background: #ffffff; border-color: var(--zmtw-line-strong); }

.zmtw-capability-card,
.zmtw-module-card,
.zmtw-feature-capabilities article,
.zmtw-recent,
.zmtw-content-panel,
.zmtw-diagnosis-context,
.zmtw-diagnosis-metrics,
.zmtw-diagnosis-panel,
.zmtw-diagnosis-history { border-color: var(--zmtw-line); }
.zmtw-capability-card:hover,
.zmtw-module-card:hover,
.zmtw-feature-capabilities article:hover { box-shadow: var(--zmtw-shadow-hover); }
.zmtw-module-card.is-active,
.zmtw-tag-option.is-selected,
.zmtw-account-row.is-active {
  background: var(--zmtw-accent-soft);
  border-color: var(--zmtw-gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, .12);
}
.zmtw-progress,
.zmtw-readiness-bar,
.zmtw-management-progress > i,
.zmtw-diagnosis-bar > i,
.zmtw-diagnosis-score-bars i,
.zmtw-diagnosis-similarity i { background: #eee8dc; }
.zmtw-progress i,
.zmtw-readiness-bar i,
.zmtw-management-progress > i > em,
.zmtw-diagnosis-bar > i > b,
.zmtw-diagnosis-score-bars i > b,
.zmtw-diagnosis-similarity i > b { background: var(--zmtw-gold); }

.zmtw-management-card.is-current {
  color: #ffffff;
  background: var(--zmtw-dark);
  border-color: #2c281e;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, .72), 0 12px 26px rgba(21, 18, 12, .15);
}
.zmtw-management-card.is-current h3,
.zmtw-management-card.is-current .zmtw-positioning-status > div strong,
.zmtw-management-card.is-current .zmtw-management-progress > span { color: #ffffff; }
.zmtw-management-card.is-current > header p,
.zmtw-management-card.is-current .zmtw-management-description,
.zmtw-management-card.is-current .zmtw-positioning-status > div small,
.zmtw-management-card.is-current footer > span { color: #d7cdb7; }
.zmtw-management-card.is-current > header p .zmtw-account-profile-state.is-active { color: #dff6e9; background: rgba(70, 155, 104, .24); }
.zmtw-management-card.is-current > header p .zmtw-account-profile-state.is-draft { color: #ffe5a0; background: rgba(214, 158, 35, .24); }
.zmtw-management-card.is-current > header p .zmtw-account-profile-state.is-pending { color: #e0d8c8; background: rgba(255, 255, 255, .1); }
.zmtw-management-card.is-current > header p .zmtw-current-account-state { color: #f1c94c; }
.zmtw-management-card.is-current .zmtw-positioning-status,
.zmtw-management-card.is-current .zmtw-management-progress { border-color: rgba(226, 204, 143, .22); }
.zmtw-management-card.is-current .zmtw-positioning-status > b.is-complete,
.zmtw-management-card.is-current .zmtw-management-progress > strong { color: #f1c94c; }
.zmtw-management-card.is-current .zmtw-management-progress > i { background: rgba(255, 255, 255, .14); }
.zmtw-management-card.is-current .zmtw-management-progress > i > em { background: #f1c94c; }
.zmtw-management-card.is-current > footer { background: var(--zmtw-dark-strong); border-color: rgba(226, 204, 143, .18); }
.zmtw-management-card.is-current .zmtw-management-positioning {
  color: var(--zmtw-ink);
  background: #f1c94c;
  border-color: #f1c94c;
}
.zmtw-management-card.is-current .zmtw-management-edit { color: #ffffff !important; background: transparent; border-color: rgba(255, 255, 255, .35); }
.zmtw-management-card.is-current .zmtw-management-edit:hover { background: rgba(255, 255, 255, .1); }
.zmtw-add-account-card { color: #6f5b27; background: #fffdf8; border-color: #d9bc65; }
.zmtw-add-account-card:hover { color: var(--zmtw-ink); background: #fff7d8; border-color: var(--zmtw-gold); }
.zmtw-add-account-card > span { color: var(--zmtw-ink); background: #f1c94c; }
.zmtw-positioning-status > b.is-complete,
.zmtw-content-row > b.is-complete,
.zmtw-diagnosis-positive { color: var(--zmtw-success); }
.zmtw-positioning-status > b.is-pending,
.zmtw-content-row > b.is-pending { color: #b27616; }
.zmtw-content-panel { border-top: 3px solid var(--zmtw-gold); }
.zmtw-content-segments,
.zmtw-segmented { background: #f3eee5; }
.zmtw-content-segments button.is-active,
.zmtw-segmented button.is-active { color: var(--zmtw-ink); background: #ffffff; box-shadow: 0 1px 4px rgba(83, 62, 25, .12); }
.zmtw-content-table-head,
.zmtw-report-card-footer,
.zmtw-editor-meta { background: #fffdf8; }

.zmtw-report-card.is-warm { --report-tone: var(--zmtw-gold); --report-soft: var(--zmtw-gold-soft); }
.zmtw-report-card.is-cool { --report-tone: var(--zmtw-blue); --report-soft: var(--zmtw-blue-soft); }
.zmtw-report-sections { color: var(--zmtw-muted); background: #fffdf8; }
.zmtw-analysis-note { color: var(--zmtw-muted); }
.zmtw-field input:focus,
.zmtw-field select:focus,
.zmtw-field textarea:focus,
.zmtw-dialog-body input:focus,
.zmtw-dialog-body select:focus,
.zmtw-dialog-body textarea:focus { border-color: var(--zmtw-gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .18); }
.zmtw-account-notice { color: #6f5114; background: #fff8dc; border-color: #ead083; }
.zmtw-dialog::backdrop,
.zmtw-report-dialog::backdrop { background: rgba(17, 16, 15, .58); }
.zmtw-dialog,
.zmtw-report-dialog { box-shadow: 0 28px 80px rgba(17, 16, 15, .3); }

.zmtw-report-frame > header,
.zmtw-report-frame > footer,
.zmtw-report-body > nav { background: #ffffff; border-color: var(--zmtw-line); }
.zmtw-report-body { background: #fffdf8; }
.zmtw-report-body > nav button:hover,
.zmtw-report-body > nav button.is-active { color: var(--zmtw-ink); background: var(--zmtw-accent-soft); }
.zmtw-report-body > nav button.is-active span { color: #a57b12; }
.zmtw-report-nav-status::before { background: var(--zmtw-success); }
.zmtw-report-cover,
.zmtw-report-document.is-account .zmtw-report-cover {
  background: var(--zmtw-dark);
  border-top: 4px solid var(--zmtw-gold);
  box-shadow: 0 18px 44px rgba(21, 18, 12, .2);
}
.zmtw-report-cover-mark { color: var(--zmtw-ink); background: #f1c94c; border-color: #f1c94c; }
.zmtw-report-section { border: 1px solid var(--zmtw-line); box-shadow: 0 8px 24px rgba(57, 43, 18, .05); }
.zmtw-report-section-head { border-color: var(--zmtw-line); }
.zmtw-report-section-head > span,
.zmtw-report-document.is-account .zmtw-report-section-head > span { color: var(--zmtw-ink); background: #f1c94c; }
.zmtw-report-bullets li::marker,
.zmtw-report-document.is-account .zmtw-report-bullets li::marker { color: #a57b12; }
.zmtw-definition-grid > div,
.zmtw-report-split > div,
.zmtw-mix-grid > div { background: #fffdf8; border-color: var(--zmtw-line); }
.zmtw-strategy-list > article { border-color: var(--zmtw-line); border-left-color: var(--zmtw-gold); }
.zmtw-strategy-list > article > header > span,
.zmtw-report-callout { color: #6a5317; background: #fff4ca; border-left-color: var(--zmtw-gold); }
.zmtw-report-document.is-account .zmtw-report-callout { background: #fff4ca; border-left-color: var(--zmtw-gold); }
.zmtw-value-proposition,
.zmtw-canvas-core,
.zmtw-goal-banner,
.zmtw-iteration-grid > div,
.zmtw-iteration-grid > div:nth-child(2),
.zmtw-iteration-grid > div:nth-child(3) { background: var(--zmtw-dark); }
.zmtw-canvas-grid > div { background: #fffdf8; }
.zmtw-canvas-grid > div > span,
.zmtw-account-setup-table strong,
.zmtw-metrics-table em { color: #a57b12; }

.zmtw-diagnosis-tabs button.is-active,
.zmtw-diagnosis-breadcrumb strong,
.zmtw-diagnosis-benchmark-list em,
.zmtw-diagnosis-video-grid > article > div:last-child > strong { color: #a57b12; }
.zmtw-diagnosis-tabs button.is-active::after { background: var(--zmtw-gold); }
.zmtw-diagnosis-tags span,
.zmtw-diagnosis-profile-card > header > span,
.zmtw-diagnosis-video-panel > header > span,
.zmtw-diagnosis-audience-summary > header > span { color: #6a5317; background: var(--zmtw-accent-soft); }
.zmtw-diagnosis-graph { background: #fffdf8; }
.zmtw-diagnosis-graph::before,
.zmtw-diagnosis-graph::after { background: #d9bc65; }
.zmtw-diagnosis-graph button.is-tier-0 { color: #a57b12; background: #fffaf0; border-color: #d9bc65; }
.zmtw-diagnosis-graph button span,
.zmtw-diagnosis-graph button.is-tier-0 span { color: var(--zmtw-ink); background: #f1c94c; }
.zmtw-toast { background: var(--zmtw-dark); box-shadow: 0 12px 34px rgba(17, 16, 15, .2); }

/* Account-homepage overview: one unified surface for profile data and metrics. */
.zmtw-diagnosis-account-overview { margin-top: 18px; }
.zmtw-diagnosis-account-overview > header > div > p { margin-top: 3px; color: var(--zmtw-faint); font-size: 9px; }
.zmtw-diagnosis-account-verification { max-width: 220px; overflow: hidden; padding: 4px 7px; color: #6a5317; background: var(--zmtw-accent-soft); border-radius: 4px; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-account-overview-body { display: grid; grid-template-columns: minmax(420px, .9fr) minmax(0, 1.1fr); background: #fff; }
.zmtw-diagnosis-account-profile { min-width: 0; padding: 22px; border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-account-identity { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 16px; }
.zmtw-diagnosis-account-avatar { position: relative; display: grid; place-items: center; width: 96px; height: 96px; overflow: hidden; color: #fff; background: var(--zmtw-blue); border-radius: 8px; font-size: 32px; font-weight: 780; }
.zmtw-diagnosis-account-avatar > span { position: relative; z-index: 0; }
.zmtw-diagnosis-account-avatar img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zmtw-diagnosis-account-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.zmtw-diagnosis-account-name h3 { overflow: hidden; font-size: 19px; font-weight: 780; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-account-name > span { flex: 0 1 auto; max-width: 128px; overflow: hidden; padding: 3px 6px; color: #6a5317; background: var(--zmtw-gold-soft); border-radius: 4px; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-account-identity p { display: -webkit-box; margin-top: 7px; overflow: hidden; color: var(--zmtw-muted); font-size: 10px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zmtw-diagnosis-account-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 20px 0 14px; padding: 14px 0; border-top: 1px solid var(--zmtw-line); border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-account-facts > div { min-width: 0; padding: 0 10px; border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-account-facts > div:first-child { padding-left: 0; }
.zmtw-diagnosis-account-facts > div:last-child { padding-right: 0; border-right: 0; }
.zmtw-diagnosis-account-facts dt, .zmtw-diagnosis-account-facts dd { margin: 0; }
.zmtw-diagnosis-account-facts dt { color: var(--zmtw-faint); font-size: 8px; }
.zmtw-diagnosis-account-facts dd { display: block; margin-top: 4px; overflow: hidden; color: var(--zmtw-ink); font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-account-tags { min-height: 22px; }
.zmtw-diagnosis-overview-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: stretch; min-width: 0; }
.zmtw-diagnosis-overview-metrics article { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 96px; padding: 14px 16px; }
.zmtw-diagnosis-overview-metrics article:not(:nth-child(4n)) { border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-overview-metrics article:nth-child(-n + 4) { border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-overview-metrics span, .zmtw-diagnosis-overview-metrics strong, .zmtw-diagnosis-overview-metrics small { display: block; }
.zmtw-diagnosis-overview-metrics span { color: var(--zmtw-muted); font-size: 10px; }
.zmtw-diagnosis-overview-metrics strong { margin-top: 4px; color: var(--zmtw-ink); font-size: 22px; font-weight: 780; line-height: 1.2; font-variant-numeric: tabular-nums; }
.zmtw-diagnosis-overview-metrics small { margin-top: 4px; overflow: hidden; color: var(--zmtw-faint); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

/* Default black-gold treatment for account summary surfaces. */
.zmtw-account-summary {
  color: #ffffff;
  background: var(--zmtw-dark);
  border: 1px solid #302c22;
  border-top: 4px solid var(--zmtw-gold);
  box-shadow: 0 12px 26px rgba(21, 18, 12, .16);
}
.zmtw-account-summary .zmtw-account-title,
.zmtw-account-summary .zmtw-account-facts,
.zmtw-account-summary .zmtw-account-facts div { border-color: rgba(226, 204, 143, .2); }
.zmtw-account-summary .zmtw-account-avatar { color: var(--zmtw-ink); background: #f1c94c; }
.zmtw-account-summary .zmtw-account-avatar > i { background: var(--zmtw-success); border-color: var(--zmtw-dark); }
.zmtw-account-summary .zmtw-account-title h2,
.zmtw-account-summary .zmtw-account-facts strong,
.zmtw-account-summary .zmtw-account-empty h2 { color: #ffffff; }
.zmtw-account-summary .zmtw-account-title h2 small { color: #f1c94c; background: rgba(241, 201, 76, .14); }
.zmtw-account-summary .zmtw-account-title h2 small i { background: #f1c94c; }
.zmtw-account-summary .zmtw-account-title p,
.zmtw-account-summary .zmtw-account-facts span,
.zmtw-account-summary .zmtw-account-empty p { color: #d5c9aa; }
.zmtw-account-summary .zmtw-edit-account { color: #ffffff; background: transparent; border-color: rgba(255, 255, 255, .32); }
.zmtw-account-summary .zmtw-edit-account:hover { color: #ffffff; background: rgba(255, 255, 255, .08); }

.zmtw-diagnosis-account-overview {
  color: #ffffff;
  background: var(--zmtw-dark);
  border-color: #302c22;
  border-top: 4px solid var(--zmtw-gold);
  box-shadow: 0 14px 30px rgba(21, 18, 12, .18);
}
.zmtw-diagnosis-account-overview > header { background: #1b1914; border-bottom-color: rgba(226, 204, 143, .18); }
.zmtw-diagnosis-account-overview > header h2 { color: #ffffff; }
.zmtw-diagnosis-account-overview > header > div > p { color: #d5c9aa; }
.zmtw-diagnosis-account-verification { color: var(--zmtw-ink); background: #f1c94c; }
.zmtw-diagnosis-account-overview-body { background: var(--zmtw-dark); }
.zmtw-diagnosis-account-profile { border-right-color: rgba(226, 204, 143, .2); }
.zmtw-diagnosis-account-avatar { color: #f1c94c; background: #100f0d; outline: 1px solid rgba(255, 255, 255, .1); }
.zmtw-diagnosis-account-name h3 { color: #ffffff; }
.zmtw-diagnosis-account-name > span { color: var(--zmtw-ink); background: #f1c94c; }
.zmtw-diagnosis-account-identity p { color: #d5c9aa; }
.zmtw-diagnosis-account-facts { border-color: rgba(226, 204, 143, .2); }
.zmtw-diagnosis-account-facts > div { border-right-color: rgba(226, 204, 143, .2); }
.zmtw-diagnosis-account-facts dt { color: #bdb49c; }
.zmtw-diagnosis-account-facts dd { color: #ffffff; }
.zmtw-diagnosis-account-overview .zmtw-diagnosis-account-tags span { color: #f5d86f; background: rgba(241, 201, 76, .12); }
.zmtw-diagnosis-overview-metrics article:not(:nth-child(4n)),
.zmtw-diagnosis-overview-metrics article:nth-child(-n + 4) { border-color: rgba(226, 204, 143, .2); }
.zmtw-diagnosis-overview-metrics span { color: #c8bea4; }
.zmtw-diagnosis-overview-metrics strong { color: #ffffff; }
.zmtw-diagnosis-overview-metrics small { color: #9f967f; }

/* Desktop readability pass: keep the dense diagnosis workflow legible at normal viewing distance. */
@media (min-width: 1180px) {
  .zmtw-shell {
    --zmtw-type-meta: 12px;
    --zmtw-type-helper: 13px;
    --zmtw-type-body: 15px;
    --zmtw-type-section: 17px;
    --zmtw-type-metric: 28px;
    line-height: 1.6;
  }

  .zmtw-shell .zmtw-diagnosis-breadcrumb,
  .zmtw-shell .zmtw-diagnosis-breadcrumb button {
    font-size: var(--zmtw-type-helper);
  }
  .zmtw-shell .zmtw-diagnosis-context { min-height: 94px; }
  .zmtw-shell .zmtw-diagnosis-account strong { font-size: var(--zmtw-type-body); }
  .zmtw-shell .zmtw-diagnosis-account small,
  .zmtw-shell .zmtw-diagnosis-input small {
    font-size: var(--zmtw-type-helper);
  }
  .zmtw-shell .zmtw-diagnosis-input { grid-template-rows: 44px auto; }
  .zmtw-shell .zmtw-diagnosis-input input { height: 44px; font-size: var(--zmtw-type-body); }
  .zmtw-shell .zmtw-diagnosis-status { padding: 5px 8px; font-size: var(--zmtw-type-meta); }
  .zmtw-shell .zmtw-diagnosis-tabs { height: 54px; }
  .zmtw-shell .zmtw-diagnosis-tabs button { min-height: 54px; font-size: var(--zmtw-type-body); }

  .zmtw-shell .zmtw-diagnosis-metrics span,
  .zmtw-shell .zmtw-diagnosis-metrics small,
  .zmtw-shell .zmtw-diagnosis-inline-stats span,
  .zmtw-shell .zmtw-diagnosis-inline-stats small {
    font-size: var(--zmtw-type-meta);
  }
  .zmtw-shell .zmtw-diagnosis-metrics strong { font-size: var(--zmtw-type-metric); }
  .zmtw-shell .zmtw-diagnosis-inline-stats strong { font-size: 24px; }
  .zmtw-shell .zmtw-diagnosis-panel > header { min-height: 60px; }
  .zmtw-shell .zmtw-diagnosis-panel > header h2,
  .zmtw-shell .zmtw-diagnosis-works > header > div h2,
  .zmtw-shell .zmtw-diagnosis-profile-body h3,
  .zmtw-shell .zmtw-diagnosis-benchmark-detail h3 {
    font-size: var(--zmtw-type-section);
  }
  .zmtw-shell .zmtw-diagnosis-panel > header > span,
  .zmtw-shell .zmtw-diagnosis-panel > header p,
  .zmtw-shell .zmtw-diagnosis-profile-card > header > div p,
  .zmtw-shell .zmtw-diagnosis-video-panel > header > div p {
    font-size: var(--zmtw-type-meta);
  }

  .zmtw-shell .zmtw-diagnosis-health-body h3 { font-size: var(--zmtw-type-section); }
  .zmtw-shell .zmtw-diagnosis-health-body p,
  .zmtw-shell .zmtw-diagnosis-profile-body > div:nth-child(2) > p,
  .zmtw-shell .zmtw-diagnosis-benchmark-detail p,
  .zmtw-shell .zmtw-diagnosis-audience-summary p,
  .zmtw-shell .zmtw-diagnosis-positioning p,
  .zmtw-shell .zmtw-diagnosis-coverage > header > div p {
    font-size: 14px;
    line-height: 1.65;
  }
  .zmtw-shell .zmtw-diagnosis-score small,
  .zmtw-shell .zmtw-diagnosis-health-body small,
  .zmtw-shell .zmtw-diagnosis-panel-note,
  .zmtw-shell .zmtw-diagnosis-score-panel > footer {
    font-size: var(--zmtw-type-meta);
  }
  .zmtw-shell .zmtw-diagnosis-tags span,
  .zmtw-shell .zmtw-diagnosis-profile-card > header > span,
  .zmtw-shell .zmtw-diagnosis-video-panel > header > span,
  .zmtw-shell .zmtw-diagnosis-audience-summary > header > span {
    padding: 5px 8px;
    font-size: var(--zmtw-type-meta);
  }

  .zmtw-shell .zmtw-diagnosis-findings article { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .zmtw-shell .zmtw-diagnosis-findings article > span { width: 27px; height: 27px; }
  .zmtw-shell .zmtw-diagnosis-findings strong,
  .zmtw-shell .zmtw-diagnosis-actions strong,
  .zmtw-shell .zmtw-diagnosis-actions footer strong {
    font-size: 14px;
  }
  .zmtw-shell .zmtw-diagnosis-findings p,
  .zmtw-shell .zmtw-diagnosis-actions p,
  .zmtw-shell .zmtw-diagnosis-actions footer p {
    font-size: var(--zmtw-type-helper);
    line-height: 1.65;
  }
  .zmtw-shell .zmtw-diagnosis-actions li { grid-template-columns: 27px minmax(0, 1fr); gap: 10px; }
  .zmtw-shell .zmtw-diagnosis-actions li > b { width: 26px; height: 26px; font-size: var(--zmtw-type-meta); }

  .zmtw-shell .zmtw-diagnosis-works .zmtw-button,
  .zmtw-shell .zmtw-diagnosis-report-summary > header .zmtw-button {
    min-height: 40px;
    padding: 8px 11px;
    font-size: var(--zmtw-type-helper);
  }
  .zmtw-shell .zmtw-diagnosis-works th,
  .zmtw-shell .zmtw-diagnosis-table-panel th {
    font-size: var(--zmtw-type-meta);
  }
  .zmtw-shell .zmtw-diagnosis-works td,
  .zmtw-shell .zmtw-diagnosis-table-panel td {
    font-size: 14px;
  }
  .zmtw-shell .zmtw-diagnosis-works th,
  .zmtw-shell .zmtw-diagnosis-works td,
  .zmtw-shell .zmtw-diagnosis-table-panel th,
  .zmtw-shell .zmtw-diagnosis-table-panel td {
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .zmtw-shell .zmtw-diagnosis-work-title strong { font-size: 14px; }

  .zmtw-shell .zmtw-diagnosis-opportunities article > span,
  .zmtw-shell .zmtw-diagnosis-opportunities small,
  .zmtw-shell .zmtw-diagnosis-opportunities small b,
  .zmtw-shell .zmtw-diagnosis-plan article > span,
  .zmtw-shell .zmtw-diagnosis-history-item em {
    font-size: var(--zmtw-type-helper);
  }
  .zmtw-shell .zmtw-diagnosis-opportunities h3,
  .zmtw-shell .zmtw-diagnosis-report-summary h3,
  .zmtw-shell .zmtw-diagnosis-plan h3,
  .zmtw-shell .zmtw-diagnosis-swot h3,
  .zmtw-shell .zmtw-diagnosis-sections h3,
  .zmtw-shell .zmtw-diagnosis-coverage-details h3,
  .zmtw-shell .zmtw-diagnosis-report-columns h3,
  .zmtw-shell .zmtw-diagnosis-positioning h3 {
    font-size: 15px;
  }
  .zmtw-shell .zmtw-diagnosis-opportunities p,
  .zmtw-shell .zmtw-diagnosis-report-summary > p,
  .zmtw-shell .zmtw-diagnosis-report-summary ul,
  .zmtw-shell .zmtw-diagnosis-plan ul,
  .zmtw-shell .zmtw-diagnosis-sections p,
  .zmtw-shell .zmtw-diagnosis-bullet-list {
    font-size: var(--zmtw-type-helper);
    line-height: 1.65;
  }

  .zmtw-shell .zmtw-diagnosis-history > header strong { font-size: 14px; }
  .zmtw-shell .zmtw-diagnosis-history > header button,
  .zmtw-shell .zmtw-diagnosis-history > p,
  .zmtw-shell .zmtw-diagnosis-history-item small {
    font-size: var(--zmtw-type-meta);
  }
  .zmtw-shell .zmtw-diagnosis-history-item strong { font-size: 14px; }
  .zmtw-shell .zmtw-diagnosis-notice p,
  .zmtw-shell .zmtw-diagnosis-empty p,
  .zmtw-shell .zmtw-diagnosis-error p,
  .zmtw-shell .zmtw-diagnosis-no-data,
  .zmtw-shell .zmtw-diagnosis-empty ul {
    font-size: var(--zmtw-type-helper);
  }
  .zmtw-shell .zmtw-diagnosis-notice button { min-height: 36px; font-size: var(--zmtw-type-meta); }
  .zmtw-shell .zmtw-diagnosis-empty h2,
  .zmtw-shell .zmtw-diagnosis-error h2 { font-size: var(--zmtw-type-section); }

  .zmtw-shell .zmtw-diagnosis-profile-body dt,
  .zmtw-shell .zmtw-diagnosis-video-grid dt,
  .zmtw-shell .zmtw-diagnosis-key-values span,
  .zmtw-shell .zmtw-diagnosis-bar small,
  .zmtw-shell .zmtw-diagnosis-coverage-details dt,
  .zmtw-shell .zmtw-diagnosis-coverage-details dd {
    font-size: var(--zmtw-type-meta);
  }
  .zmtw-shell .zmtw-diagnosis-profile-body dd,
  .zmtw-shell .zmtw-diagnosis-video-grid dd,
  .zmtw-shell .zmtw-diagnosis-key-values strong,
  .zmtw-shell .zmtw-diagnosis-bar > div,
  .zmtw-shell .zmtw-diagnosis-bar > div strong,
  .zmtw-shell .zmtw-diagnosis-score-bars span,
  .zmtw-shell .zmtw-diagnosis-score-bars strong,
  .zmtw-shell .zmtw-diagnosis-similarity span,
  .zmtw-shell .zmtw-diagnosis-similarity strong {
    font-size: var(--zmtw-type-helper);
  }
  .zmtw-shell .zmtw-diagnosis-key-values p,
  .zmtw-shell .zmtw-diagnosis-video-grid p,
  .zmtw-shell .zmtw-diagnosis-video-grid > article > div:last-child > strong,
  .zmtw-shell .zmtw-diagnosis-video-grid a {
    font-size: var(--zmtw-type-helper);
  }
  .zmtw-shell .zmtw-diagnosis-video-grid h3 { font-size: 14px; line-height: 1.55; }

  .zmtw-shell .zmtw-diagnosis-graph button span { font-size: 14px; }
  .zmtw-shell .zmtw-diagnosis-graph button small,
  .zmtw-shell .zmtw-diagnosis-graph-panel footer strong,
  .zmtw-shell .zmtw-diagnosis-graph-panel footer p,
  .zmtw-shell .zmtw-diagnosis-benchmark-detail h4,
  .zmtw-shell .zmtw-diagnosis-benchmark-list small,
  .zmtw-shell .zmtw-diagnosis-benchmark-list em {
    font-size: var(--zmtw-type-meta);
  }
  .zmtw-shell .zmtw-diagnosis-benchmark-list strong { font-size: 14px; }
  .zmtw-shell .zmtw-diagnosis-benchmark-list button { padding-top: 13px; padding-bottom: 13px; }
  .zmtw-shell .zmtw-diagnosis-coverage-grid strong { font-size: var(--zmtw-type-helper); }
  .zmtw-shell .zmtw-diagnosis-coverage-grid small { font-size: var(--zmtw-type-meta); }

  .zmtw-shell .zmtw-diagnosis-account-overview > header > div > p,
  .zmtw-shell .zmtw-diagnosis-account-verification,
  .zmtw-shell .zmtw-diagnosis-account-name > span,
  .zmtw-shell .zmtw-diagnosis-account-facts dt,
  .zmtw-shell .zmtw-diagnosis-overview-metrics span,
  .zmtw-shell .zmtw-diagnosis-overview-metrics small {
    font-size: var(--zmtw-type-meta);
  }
  .zmtw-shell .zmtw-diagnosis-account-identity p { font-size: 14px; }
  .zmtw-shell .zmtw-diagnosis-account-facts dd { font-size: 14px; }
  .zmtw-shell .zmtw-diagnosis-overview-metrics article { min-height: 110px; }
  .zmtw-shell .zmtw-diagnosis-overview-metrics strong { font-size: 26px; }
}

/* Account diagnosis full report: uses the positioning report shell with its own document rhythm. */
.zmtw-diagnosis-report-dialog .zmtw-report-body > article { padding: 32px 40px 76px; scroll-behavior: auto; }
.zmtw-diagnosis-report-dialog .zmtw-report-body > nav { background: #fffdf8; }
.zmtw-diagnosis-report-dialog .zmtw-report-body > nav button { min-height: 44px; }
.zmtw-diagnosis-report-document { color: var(--zmtw-ink); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
.zmtw-diagnosis-report-document h3,
.zmtw-diagnosis-report-document h4 { text-wrap: balance; }
.zmtw-diagnosis-report-document p { text-wrap: pretty; }
.zmtw-diagnosis-report-cover { min-height: 334px; background: var(--zmtw-dark); border-top: 4px solid var(--zmtw-gold); }
.zmtw-diagnosis-report-cover .zmtw-report-cover-mark { color: var(--zmtw-ink); background: #f1c94c; border-color: #f1c94c; }
.zmtw-diagnosis-report-cover .zmtw-report-cover-meta { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 26px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); }
.zmtw-diagnosis-report-cover .zmtw-report-cover-meta > span:last-child { margin-left: 0; text-align: left; }
.zmtw-diagnosis-report-cover .zmtw-report-cover-meta strong { overflow-wrap: anywhere; }
.zmtw-diagnosis-report-toc { display: none; }
.zmtw-diagnosis-report-section { scroll-margin-top: 26px; }
.zmtw-diagnosis-report-section > .zmtw-report-section-head > span { color: var(--zmtw-ink); background: #f1c94c; }
.zmtw-diagnosis-report-section h3 { margin: 0; color: var(--zmtw-ink); font-size: 17px; line-height: 1.45; }
.zmtw-diagnosis-report-section h4 { margin: 0; color: var(--zmtw-ink); font-size: 14px; line-height: 1.45; }
.zmtw-diagnosis-report-section p { color: var(--zmtw-muted); font-size: 15px; line-height: 1.8; }
.zmtw-diagnosis-report-header-actions { display: flex; align-items: center; gap: 8px; }
.zmtw-diagnosis-report-header-actions .zmtw-button { min-height: 40px; }
.zmtw-diagnosis-report-summary-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.zmtw-diagnosis-report-summary-grid > div { min-width: 0; padding: 18px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-report-summary-grid h3 { margin-bottom: 10px; }
.zmtw-diagnosis-report-summary-grid p { margin: 0; }
.zmtw-diagnosis-report-summary-grid .zmtw-report-bullets { margin: 0; }

.zmtw-diagnosis-report-account { overflow: hidden; color: #ffffff; background: var(--zmtw-dark); border: 1px solid #302c22; border-top: 4px solid var(--zmtw-gold); border-radius: 7px; box-shadow: 0 14px 30px rgba(21, 18, 12, .18); }
.zmtw-diagnosis-report-account > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 22px; background: #1b1914; border-bottom: 1px solid rgba(226, 204, 143, .18); }
.zmtw-diagnosis-report-account > header > span { color: #d5c9aa; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.zmtw-diagnosis-report-account > header > b { max-width: 280px; overflow: hidden; padding: 5px 8px; color: var(--zmtw-ink); background: #f1c94c; border-radius: 4px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-report-account-body { display: grid; grid-template-columns: minmax(400px, .95fr) minmax(0, 1.05fr); }
.zmtw-diagnosis-report-profile { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; min-width: 0; padding: 24px; border-right: 1px solid rgba(226, 204, 143, .2); }
.zmtw-diagnosis-report-avatar { position: relative; display: grid; place-items: center; width: 92px; height: 92px; overflow: hidden; color: #f1c94c; background: #100f0d; outline: 1px solid rgba(255, 255, 255, .1); border-radius: 7px; font-size: 31px; font-weight: 800; }
.zmtw-diagnosis-report-avatar > span { position: relative; z-index: 0; }
.zmtw-diagnosis-report-avatar img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; outline: 1px solid rgba(255, 255, 255, .1); }
.zmtw-diagnosis-report-profile h3 { color: #ffffff; font-size: 20px; }
.zmtw-diagnosis-report-profile > div > p { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: #d5c9aa; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zmtw-diagnosis-report-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 17px 0 13px; padding: 13px 0; border-top: 1px solid rgba(226, 204, 143, .2); border-bottom: 1px solid rgba(226, 204, 143, .2); }
.zmtw-diagnosis-report-facts > div { min-width: 0; padding: 0 9px; border-right: 1px solid rgba(226, 204, 143, .2); }
.zmtw-diagnosis-report-facts > div:first-child { padding-left: 0; }
.zmtw-diagnosis-report-facts > div:last-child { padding-right: 0; border-right: 0; }
.zmtw-diagnosis-report-facts span,
.zmtw-diagnosis-report-facts strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-report-facts span { color: #bdb49c; font-size: 12px; }
.zmtw-diagnosis-report-facts strong { margin-top: 4px; color: #ffffff; font-size: 14px; }
.zmtw-diagnosis-report-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.zmtw-diagnosis-report-tags span { padding: 4px 7px; color: #f5d86f; background: rgba(241, 201, 76, .12); border-radius: 4px; font-size: 12px; font-weight: 700; }
.zmtw-diagnosis-report-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: stretch; min-width: 0; }
.zmtw-diagnosis-report-metrics article { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 112px; padding: 15px 16px; }
.zmtw-diagnosis-report-metrics article:not(:nth-child(4n)) { border-right: 1px solid rgba(226, 204, 143, .2); }
.zmtw-diagnosis-report-metrics article:nth-child(-n + 4) { border-bottom: 1px solid rgba(226, 204, 143, .2); }
.zmtw-diagnosis-report-metrics span,
.zmtw-diagnosis-report-metrics strong,
.zmtw-diagnosis-report-metrics small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-report-metrics span { color: #c8bea4; font-size: 12px; }
.zmtw-diagnosis-report-metrics strong { margin-top: 5px; color: #ffffff; font-size: 27px; font-weight: 780; line-height: 1.2; }
.zmtw-diagnosis-report-metrics small { margin-top: 5px; color: #9f967f; font-size: 12px; }

.zmtw-diagnosis-report-health { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 28px; align-items: center; padding: 8px 0 24px; }
.zmtw-diagnosis-report-score { display: grid; place-items: center; align-content: center; width: 158px; height: 158px; color: var(--zmtw-ink); background: #fff8dc; border: 10px solid #f1c94c; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(164, 119, 18, .18); }
.zmtw-diagnosis-report-score strong { font-size: 38px; line-height: 1; }
.zmtw-diagnosis-report-score span { margin-top: 6px; color: #6a5317; font-size: 13px; font-weight: 800; }
.zmtw-diagnosis-report-score-bars { display: grid; gap: 12px; }
.zmtw-diagnosis-report-score-bars > div,
.zmtw-diagnosis-report-similarity > div { display: grid; grid-template-columns: 92px minmax(0, 1fr) 42px; align-items: center; gap: 10px; }
.zmtw-diagnosis-report-score-bars span,
.zmtw-diagnosis-report-similarity span { color: var(--zmtw-muted); font-size: 13px; }
.zmtw-diagnosis-report-score-bars i,
.zmtw-diagnosis-report-similarity i,
.zmtw-diagnosis-report-bars i { display: block; height: 8px; overflow: hidden; background: #efe7d1; border-radius: 8px; }
.zmtw-diagnosis-report-score-bars b,
.zmtw-diagnosis-report-similarity b,
.zmtw-diagnosis-report-bars b { display: block; height: 100%; background: #d4af37; border-radius: inherit; }
.zmtw-diagnosis-report-score-bars strong,
.zmtw-diagnosis-report-similarity strong { color: var(--zmtw-ink); font-size: 13px; text-align: right; }
.zmtw-diagnosis-report-health > p { grid-column: 1 / -1; margin: 0; padding: 13px 16px; color: #6a5317; background: #fff8dc; border-left: 3px solid #d4af37; }
.zmtw-diagnosis-report-subhead { margin: 24px 0 12px !important; padding-top: 22px; border-top: 1px solid var(--zmtw-line); }

.zmtw-diagnosis-report-two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.zmtw-diagnosis-report-two-columns > div { min-width: 0; padding: 18px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-report-two-columns > div > h3 { margin-bottom: 14px; }
.zmtw-diagnosis-report-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zmtw-diagnosis-report-stats article { min-width: 0; padding: 12px; background: #ffffff; border: 1px solid #eee7d8; border-radius: 5px; }
.zmtw-diagnosis-report-stats span,
.zmtw-diagnosis-report-stats strong,
.zmtw-diagnosis-report-stats small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-report-stats span { color: var(--zmtw-muted); font-size: 12px; }
.zmtw-diagnosis-report-stats strong { margin-top: 6px; color: var(--zmtw-ink); font-size: 20px; line-height: 1.25; }
.zmtw-diagnosis-report-stats small { margin-top: 6px; color: var(--zmtw-faint); font-size: 12px; }
.zmtw-diagnosis-report-note { margin: 12px 0 0 !important; color: #6a5317 !important; font-size: 13px !important; }
.zmtw-diagnosis-report-bars { display: grid; gap: 11px; }
.zmtw-diagnosis-report-bars > div > p { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 5px; font-size: 13px; line-height: 1.4; }
.zmtw-diagnosis-report-bars > div > p strong { color: var(--zmtw-ink); font-size: 13px; }
.zmtw-diagnosis-report-bars small { display: block; margin-top: 5px; color: var(--zmtw-faint); font-size: 12px; }
.zmtw-diagnosis-report-table { overflow-x: auto; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-report-table table { width: 100%; min-width: 680px; border-collapse: collapse; background: #ffffff; }
.zmtw-diagnosis-report-table th,
.zmtw-diagnosis-report-table td { padding: 13px 14px; border-bottom: 1px solid #eee7d8; font-size: 13px; line-height: 1.55; text-align: left; vertical-align: top; }
.zmtw-diagnosis-report-table th { color: #6a5317; background: #fff8dc; font-size: 12px; font-weight: 800; white-space: nowrap; }
.zmtw-diagnosis-report-table tbody tr:last-child td { border-bottom: 0; }
.zmtw-diagnosis-report-table td:first-child { min-width: 180px; }
.zmtw-diagnosis-report-table td strong { color: var(--zmtw-ink); }
.zmtw-diagnosis-report-no-data { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: start; padding: 14px; color: #6a5317; background: #fff8dc; border-left: 3px solid #d4af37; }
.zmtw-diagnosis-report-no-data .dashicons { width: 18px; height: 18px; font-size: 18px; }
.zmtw-diagnosis-report-no-data p { margin: 0; color: #6a5317; font-size: 13px; line-height: 1.65; }

.zmtw-diagnosis-report-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.zmtw-diagnosis-report-video-grid article { min-width: 0; overflow: hidden; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-report-video-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; color: #6a5317; background: #f4ead1; font-size: 21px; font-weight: 800; }
.zmtw-diagnosis-report-video-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; outline: 1px solid rgba(0, 0, 0, .1); }
.zmtw-diagnosis-report-video-grid article > div:last-child { padding: 15px; }
.zmtw-diagnosis-report-video-grid h3 { font-size: 15px; line-height: 1.55; }
.zmtw-diagnosis-report-video-grid p { margin: 7px 0 0; font-size: 13px; line-height: 1.65; }
.zmtw-diagnosis-report-video-grid dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 14px 0 10px; }
.zmtw-diagnosis-report-video-grid dl div { min-width: 0; }
.zmtw-diagnosis-report-video-grid dt,
.zmtw-diagnosis-report-video-grid dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-report-video-grid dt { color: var(--zmtw-faint); font-size: 11px; }
.zmtw-diagnosis-report-video-grid dd { margin-top: 3px; color: var(--zmtw-ink); font-size: 13px; font-weight: 800; }
.zmtw-diagnosis-report-video-grid article > div:last-child > strong { color: #a57b12; font-size: 13px; }

.zmtw-diagnosis-report-callout { margin-bottom: 18px; padding: 15px 17px; color: #6a5317; background: #fff4ca; border-left: 3px solid #d4af37; }
.zmtw-diagnosis-report-callout strong { display: block; color: var(--zmtw-ink); font-size: 14px; }
.zmtw-diagnosis-report-callout p { margin: 4px 0 0; color: #6a5317; }
.zmtw-diagnosis-report-benchmarks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.zmtw-diagnosis-report-benchmarks article { min-width: 0; padding: 19px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-report-benchmarks header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.zmtw-diagnosis-report-benchmarks header span { display: inline-block; padding: 4px 7px; color: #6a5317; background: #fff4ca; border-radius: 4px; font-size: 12px; font-weight: 800; }
.zmtw-diagnosis-report-benchmarks header h3 { margin-top: 8px; }
.zmtw-diagnosis-report-benchmarks header p { margin: 3px 0 0; font-size: 13px; }
.zmtw-diagnosis-report-benchmarks header > strong { display: grid; min-width: 68px; color: var(--zmtw-ink); font-size: 19px; text-align: right; }
.zmtw-diagnosis-report-benchmarks header > strong small { margin-top: 2px; color: var(--zmtw-faint); font-size: 11px; font-weight: 600; }
.zmtw-diagnosis-report-similarity { display: grid; gap: 9px; margin: 17px 0; }
.zmtw-diagnosis-report-benchmarks h4 { margin: 15px 0 7px; }
.zmtw-diagnosis-report-benchmarks > article > p { margin: 0; font-size: 13px; }
.zmtw-diagnosis-report-benchmarks .zmtw-report-bullets { margin-top: 0; }

.zmtw-diagnosis-report-audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.zmtw-diagnosis-report-audience-grid > div { min-width: 0; padding: 18px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-report-audience-grid h3 { margin-bottom: 13px; }
.zmtw-diagnosis-report-strategy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.zmtw-diagnosis-report-strategy-grid > div { min-width: 0; padding: 20px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-report-positioning { color: #ffffff; background: var(--zmtw-dark) !important; border-top: 3px solid #d4af37 !important; }
.zmtw-diagnosis-report-positioning > span { color: #f5d86f; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.zmtw-diagnosis-report-positioning h3 { margin-top: 12px; color: #ffffff; font-size: 19px; }
.zmtw-diagnosis-report-positioning p { margin: 13px 0 0; color: #d5c9aa; font-size: 14px; }
.zmtw-diagnosis-report-actions { display: grid; gap: 13px; margin: 13px 0 0; padding: 0; list-style: none; }
.zmtw-diagnosis-report-actions li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 11px; }
.zmtw-diagnosis-report-actions li > b { display: grid; place-items: center; width: 28px; height: 28px; color: #6a5317; background: #fff4ca; border-radius: 50%; font-size: 11px; }
.zmtw-diagnosis-report-actions li strong { font-size: 14px; }
.zmtw-diagnosis-report-actions li p { margin: 3px 0 0; font-size: 13px; line-height: 1.65; }
.zmtw-diagnosis-report-swot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zmtw-diagnosis-report-swot article,
.zmtw-diagnosis-report-chapters article { min-width: 0; padding: 13px; background: #ffffff; border: 1px solid #eee7d8; border-radius: 5px; }
.zmtw-diagnosis-report-swot h4,
.zmtw-diagnosis-report-chapters h4 { margin-bottom: 8px; }
.zmtw-diagnosis-report-swot .zmtw-report-bullets,
.zmtw-diagnosis-report-chapters .zmtw-report-bullets { margin: 0; }
.zmtw-diagnosis-report-chapters { display: grid; gap: 10px; }
.zmtw-diagnosis-report-chapters p { margin: 0 0 8px; font-size: 13px; line-height: 1.65; }
.zmtw-diagnosis-report-opportunities { display: grid; gap: 10px; }
.zmtw-diagnosis-report-opportunities article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; padding: 15px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-report-opportunities article > span { display: grid; place-items: center; width: 31px; height: 31px; color: #6a5317; background: #fff4ca; border-radius: 50%; font-size: 11px; font-weight: 800; }
.zmtw-diagnosis-report-opportunities h4 { margin-bottom: 4px; }
.zmtw-diagnosis-report-opportunities p { margin: 0; font-size: 13px; line-height: 1.65; }
.zmtw-diagnosis-report-opportunities small { display: block; margin-top: 8px; color: #6a5317; font-size: 12px; line-height: 1.6; }
.zmtw-diagnosis-report-opportunities small b { margin-right: 7px; }
.zmtw-diagnosis-report-plan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.zmtw-diagnosis-report-plan article { min-width: 0; padding: 15px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-top: 3px solid #d4af37; border-radius: 6px; }
.zmtw-diagnosis-report-plan article > span { display: inline-block; margin-bottom: 10px; color: #6a5317; font-size: 12px; font-weight: 800; }
.zmtw-diagnosis-report-plan .zmtw-report-bullets { margin: 8px 0 0; }
.zmtw-diagnosis-report-coverage-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 18px; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-report-coverage-grid article { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; padding: 14px 12px; border-right: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-report-coverage-grid article:last-child { border-right: 0; }
.zmtw-diagnosis-report-coverage-grid article > span { display: grid; place-items: center; width: 26px; height: 26px; color: #6a5317; background: #fff4ca; border-radius: 5px; }
.zmtw-diagnosis-report-coverage-grid article.is-covered > span { color: #126848; background: #ddf4e8; }
.zmtw-diagnosis-report-coverage-grid .dashicons { width: 14px; height: 14px; font-size: 14px; }
.zmtw-diagnosis-report-coverage-grid strong,
.zmtw-diagnosis-report-coverage-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-report-coverage-grid strong { font-size: 13px; }
.zmtw-diagnosis-report-coverage-grid small { margin-top: 3px; color: var(--zmtw-faint); font-size: 12px; }
.zmtw-diagnosis-report-definition { display: grid; gap: 10px; margin: 0; }
.zmtw-diagnosis-report-definition > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #eee7d8; }
.zmtw-diagnosis-report-definition > div:last-child { padding-bottom: 0; border-bottom: 0; }
.zmtw-diagnosis-report-definition dt { color: var(--zmtw-faint); font-size: 12px; }
.zmtw-diagnosis-report-definition dd { min-width: 0; margin: 0; color: var(--zmtw-muted); font-size: 13px; overflow-wrap: anywhere; }

/* Account diagnosis report v3: consultant-style chapters with evidence-led actions. */
.zmtw-diagnosis-report-dialog .zmtw-report-body > nav { padding: 14px 10px 24px; }
.zmtw-diagnosis-report-dialog .zmtw-report-body > nav > strong { display: block; padding: 0 10px 12px; color: var(--zmtw-faint); font-size: 11px; font-weight: 800; }
.zmtw-diagnosis-v3-nav-group { padding: 8px 0; border-top: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-v3-nav-group:first-of-type { border-top: 0; }
.zmtw-diagnosis-v3-nav-group > button,
.zmtw-diagnosis-v3-nav-group > div > button { display: grid; grid-template-columns: 31px minmax(0, 1fr); align-items: start; gap: 8px; width: 100%; height: auto; min-height: 0 !important; margin: 0; border: 0; border-radius: 4px; text-align: left; }
.zmtw-diagnosis-v3-nav-group > button { padding: 9px 10px; color: var(--zmtw-ink); background: transparent; font-size: 13px; }
.zmtw-diagnosis-v3-nav-group > button b { min-width: 0; font-size: inherit; line-height: 1.45; }
.zmtw-diagnosis-v3-nav-group > button span { color: #8b6a14; font-size: 11px; font-weight: 850; }
.zmtw-diagnosis-v3-nav-group > div { display: grid; gap: 1px; padding: 2px 0 4px 31px; }
.zmtw-diagnosis-v3-nav-group > div > button { grid-template-columns: 29px minmax(0, 1fr); padding: 6px 8px; color: var(--zmtw-muted); background: transparent; font-size: 11px; line-height: 1.45; }
.zmtw-diagnosis-v3-nav-group > div > button span { color: var(--zmtw-faint); font-size: 10px; }
.zmtw-diagnosis-v3-nav-group > button:hover,
.zmtw-diagnosis-v3-nav-group > div > button:hover { color: #6a5317; background: #fff8dc; }
.zmtw-diagnosis-v3-nav-group > button.is-active,
.zmtw-diagnosis-v3-nav-group > div > button.is-active,
.zmtw-diagnosis-v3-nav-group.is-current > button { color: #6a5317; background: #fff4ca; }
.zmtw-diagnosis-report-v3 .zmtw-diagnosis-report-cover .zmtw-report-cover-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zmtw-diagnosis-v3-chapter { padding: 32px; }
.zmtw-diagnosis-v3-subsections { display: grid; }
.zmtw-diagnosis-v3-subsection { min-width: 0; padding: 26px 0; scroll-margin-top: 26px; border-top: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-v3-subsection:first-child { padding-top: 0; border-top: 0; }
.zmtw-diagnosis-v3-subsection:last-child { padding-bottom: 0; }
.zmtw-diagnosis-v3-subsection > header { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 11px; margin-bottom: 17px; }
.zmtw-diagnosis-v3-subsection > header > span { display: grid; place-items: center; width: 42px; height: 30px; color: #6a5317; background: #fff4ca; border-radius: 4px; font-size: 11px; font-weight: 850; }
.zmtw-diagnosis-v3-subsection > header h3 { font-size: 18px; line-height: 1.4; }
.zmtw-diagnosis-v3-insight { min-width: 0; }
.zmtw-diagnosis-v3-verdict { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; padding: 15px 17px; background: #fff8dc; border-left: 3px solid #d4af37; }
.zmtw-diagnosis-v3-verdict span { color: #8b6a14; font-size: 12px; font-weight: 800; }
.zmtw-diagnosis-v3-verdict strong { color: var(--zmtw-ink); font-size: 15px; line-height: 1.7; }
.zmtw-diagnosis-v3-insight > p,
.zmtw-diagnosis-v3-lead { margin: 14px 0 0; color: var(--zmtw-muted); font-size: 15px; line-height: 1.85; }
.zmtw-diagnosis-v3-actions { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; margin-top: 14px; padding: 15px 17px; border: 1px solid var(--zmtw-line); border-radius: 5px; }
.zmtw-diagnosis-v3-actions > span { color: var(--zmtw-faint); font-size: 12px; font-weight: 800; }
.zmtw-diagnosis-v3-actions ol { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: var(--zmtw-ink); font-size: 14px; line-height: 1.7; }
.zmtw-diagnosis-v3-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0 0; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-v3-facts > div { min-width: 0; padding: 14px; border-right: 1px solid var(--zmtw-line); border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-v3-facts > div:nth-child(4n) { border-right: 0; }
.zmtw-diagnosis-v3-facts > div:nth-last-child(-n + 4) { border-bottom: 0; }
.zmtw-diagnosis-v3-facts dt,
.zmtw-diagnosis-v3-facts dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-v3-facts dt { color: var(--zmtw-faint); font-size: 11px; }
.zmtw-diagnosis-v3-facts dd { margin-top: 5px; color: var(--zmtw-ink); font-size: 14px; font-weight: 800; }
.zmtw-diagnosis-v3-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.zmtw-diagnosis-v3-metrics article { min-width: 0; padding: 14px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 5px; }
.zmtw-diagnosis-v3-metrics span,
.zmtw-diagnosis-v3-metrics strong,
.zmtw-diagnosis-v3-metrics small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-diagnosis-v3-metrics span { color: var(--zmtw-faint); font-size: 11px; }
.zmtw-diagnosis-v3-metrics strong { margin-top: 6px; color: var(--zmtw-ink); font-size: 20px; }
.zmtw-diagnosis-v3-metrics small { margin-top: 5px; color: var(--zmtw-faint); font-size: 10px; }
.zmtw-diagnosis-v3-quote { margin: 16px 0 0; padding: 15px 17px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-left: 3px solid #22201b; }
.zmtw-diagnosis-v3-quote span { color: var(--zmtw-faint); font-size: 11px; font-weight: 800; }
.zmtw-diagnosis-v3-quote p { margin: 6px 0 0; color: var(--zmtw-ink); font-size: 14px; }
.zmtw-diagnosis-v3-audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.zmtw-diagnosis-v3-audience > div { min-width: 0; padding: 16px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 5px; }
.zmtw-diagnosis-v3-audience h4 { margin-bottom: 12px; }
.zmtw-diagnosis-v3-work-grid,
.zmtw-diagnosis-v3-models,
.zmtw-diagnosis-v3-benchmarks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.zmtw-diagnosis-v3-work-grid article,
.zmtw-diagnosis-v3-models article,
.zmtw-diagnosis-v3-benchmarks article { min-width: 0; padding: 16px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 6px; }
.zmtw-diagnosis-v3-work-grid header,
.zmtw-diagnosis-v3-models header { display: grid; grid-template-columns: 47px minmax(0, 1fr); gap: 9px; align-items: start; }
.zmtw-diagnosis-v3-work-grid header > span,
.zmtw-diagnosis-v3-models header > span { color: #8b6a14; font-size: 10px; font-weight: 850; }
.zmtw-diagnosis-v3-work-grid dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 15px 0 0; }
.zmtw-diagnosis-v3-work-grid dt,
.zmtw-diagnosis-v3-work-grid dd { margin: 0; font-size: 11px; }
.zmtw-diagnosis-v3-work-grid dt { color: var(--zmtw-faint); }
.zmtw-diagnosis-v3-work-grid dd { margin-top: 3px; color: var(--zmtw-ink); font-weight: 800; }
.zmtw-diagnosis-v3-models p { margin: 12px 0 0; font-size: 13px; line-height: 1.7; }
.zmtw-diagnosis-v3-models p b { display: block; margin-bottom: 4px; color: var(--zmtw-ink); font-size: 11px; }
.zmtw-diagnosis-v3-benchmarks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zmtw-diagnosis-v3-benchmarks header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.zmtw-diagnosis-v3-benchmarks header span { color: #8b6a14; font-size: 10px; font-weight: 800; }
.zmtw-diagnosis-v3-benchmarks header h4 { margin-top: 5px; }
.zmtw-diagnosis-v3-benchmarks header > strong { display: grid; color: var(--zmtw-ink); text-align: right; }
.zmtw-diagnosis-v3-benchmarks header > strong small { color: var(--zmtw-faint); font-size: 10px; }
.zmtw-diagnosis-v3-benchmarks > article > p { margin: 12px 0 0; font-size: 13px; line-height: 1.7; }
.zmtw-diagnosis-v3-benchmarks .zmtw-report-bullets { margin: 10px 0 0; }
.zmtw-diagnosis-v3-issues { display: grid; gap: 15px; }
.zmtw-diagnosis-v3-issue { overflow: hidden; border: 1px solid var(--zmtw-line); border-top: 3px solid #b98912; border-radius: 6px; }
.zmtw-diagnosis-v3-issue.is-high { border-top-color: #b44a34; }
.zmtw-diagnosis-v3-issue.is-low { border-top-color: #6e7f76; }
.zmtw-diagnosis-v3-issue > header { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 11px; padding: 15px 17px; background: #fffdf8; border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-v3-issue > header > span { color: #8b6a14; font-size: 11px; font-weight: 850; }
.zmtw-diagnosis-v3-issue-description { margin: 0 !important; padding: 16px 17px 0; color: var(--zmtw-ink) !important; }
.zmtw-diagnosis-v3-issue-evidence { display: grid; gap: 7px; margin: 15px 17px 0; padding: 13px 15px; background: #fff8dc; }
.zmtw-diagnosis-v3-issue-evidence > strong { color: #8b6a14; font-size: 11px; }
.zmtw-diagnosis-v3-issue-evidence p { display: grid; grid-template-columns: 48px 100px minmax(0, 1fr); gap: 7px; margin: 0; color: var(--zmtw-muted); font-size: 12px; line-height: 1.55; }
.zmtw-diagnosis-v3-issue-evidence p span { color: #8b6a14; font-weight: 850; }
.zmtw-diagnosis-v3-issue-evidence p b { color: var(--zmtw-ink); }
.zmtw-diagnosis-v3-issue > dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 17px 17px; border: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-v3-issue > dl > div { min-width: 0; padding: 13px 14px; border-right: 1px solid var(--zmtw-line); border-bottom: 1px solid var(--zmtw-line); }
.zmtw-diagnosis-v3-issue > dl > div:nth-child(2n) { border-right: 0; }
.zmtw-diagnosis-v3-issue > dl > div:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.zmtw-diagnosis-v3-issue dt,
.zmtw-diagnosis-v3-issue dd { margin: 0; }
.zmtw-diagnosis-v3-issue dt { color: var(--zmtw-faint); font-size: 11px; }
.zmtw-diagnosis-v3-issue dd { margin-top: 5px; color: var(--zmtw-ink); font-size: 13px; line-height: 1.65; }
.zmtw-diagnosis-v3-plan { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.zmtw-diagnosis-v3-plan li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 15px 17px; background: #fffdf8; border: 1px solid var(--zmtw-line); border-radius: 5px; }
.zmtw-diagnosis-v3-plan li > span { display: grid; place-items: center; width: 34px; height: 34px; color: #6a5317; background: #fff4ca; border-radius: 4px; font-size: 11px; font-weight: 850; }
.zmtw-diagnosis-v3-plan h4 { margin: 0; }
.zmtw-diagnosis-v3-plan p { margin: 5px 0 0; font-size: 13px; line-height: 1.7; }
.zmtw-diagnosis-v3-plan small { display: block; margin-top: 7px; color: #8b6a14; font-size: 11px; font-weight: 750; }
.zmtw-diagnosis-v3-main-line blockquote { margin: 0; padding: 24px; color: #ffffff; background: var(--zmtw-dark); border-top: 4px solid var(--zmtw-gold); font-size: 20px; font-weight: 760; line-height: 1.8; }

@media (max-width: 767px) {
  .zmtw-diagnosis-report-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); }
  .zmtw-diagnosis-report-dialog .zmtw-report-frame { grid-template-rows: auto minmax(0, 1fr); }
  .zmtw-diagnosis-report-dialog .zmtw-report-frame > header { min-height: 68px; gap: 8px; padding: 10px 12px; }
  .zmtw-diagnosis-report-dialog .zmtw-report-frame > header > div:first-child { min-width: 0; }
  .zmtw-diagnosis-report-dialog .zmtw-report-frame > header h2 { display: -webkit-box; overflow: hidden; font-size: 14px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .zmtw-diagnosis-report-dialog .zmtw-report-frame > header p { gap: 4px; margin-top: 3px; overflow: hidden; font-size: 9px; white-space: nowrap; }
  .zmtw-diagnosis-report-dialog .zmtw-report-actions { flex: 0 0 auto; gap: 6px; }
  .zmtw-diagnosis-report-dialog .zmtw-report-actions .zmtw-button { width: 38px; min-width: 38px; height: 38px; min-height: 38px; padding: 0; overflow: hidden; font-size: 0; }
  .zmtw-diagnosis-report-dialog .zmtw-report-actions .zmtw-button .dashicons { width: 17px; height: 17px; font-size: 17px; }
  .zmtw-diagnosis-report-dialog .zmtw-report-actions .zmtw-icon-button { width: 38px; height: 38px; }
  .zmtw-diagnosis-report-dialog .zmtw-report-frame > footer { display: none; }
  .zmtw-diagnosis-report-dialog .zmtw-report-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .zmtw-diagnosis-report-dialog .zmtw-report-body > nav { display: flex; gap: 6px; padding: 8px 10px; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--zmtw-line); scrollbar-width: thin; }
  .zmtw-diagnosis-report-dialog .zmtw-report-body > nav > strong { display: none; }
  .zmtw-diagnosis-report-dialog .zmtw-report-body > nav button { grid-template-columns: auto auto; width: auto; min-width: max-content; min-height: 36px; flex: 0 0 auto; gap: 5px; padding: 7px 10px; font-size: 11px; }
  .zmtw-diagnosis-report-dialog .zmtw-report-body > nav button span { font-size: 9px; }
  .zmtw-diagnosis-report-dialog .zmtw-report-body > article { padding: 10px 10px 50px; }
  .zmtw-diagnosis-report-document { width: 100%; }
  .zmtw-diagnosis-report-cover { min-height: 0; padding: 28px 22px; }
  .zmtw-diagnosis-report-cover .zmtw-report-cover-mark { top: 22px; right: 20px; width: 40px; height: 40px; }
  .zmtw-diagnosis-report-cover > span { max-width: calc(100% - 52px); font-size: 10px; }
  .zmtw-diagnosis-report-cover h1 { max-width: calc(100% - 34px); margin-top: 22px; font-size: 25px; line-height: 1.3; }
  .zmtw-diagnosis-report-cover > p { margin-top: 13px; font-size: 13px; line-height: 1.75; }
  .zmtw-diagnosis-report-cover .zmtw-report-cover-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-diagnosis-report-section { margin-top: 12px; padding: 20px 16px; }
  .zmtw-diagnosis-report-section > .zmtw-report-section-head { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; margin-bottom: 18px; padding-bottom: 14px; }
  .zmtw-diagnosis-report-section > .zmtw-report-section-head > span { width: 36px; height: 36px; }
  .zmtw-diagnosis-report-section > .zmtw-report-section-head h2 { font-size: 18px; }
  .zmtw-diagnosis-report-section > .zmtw-report-section-head p { font-size: 12px; }
  .zmtw-diagnosis-report-summary-grid,
  .zmtw-diagnosis-report-two-columns,
  .zmtw-diagnosis-report-account-body,
  .zmtw-diagnosis-report-health,
  .zmtw-diagnosis-content-benchmarks,
  .zmtw-diagnosis-report-coverage-grid { grid-template-columns: minmax(0, 1fr); }
  .zmtw-diagnosis-report-summary-grid { gap: 12px; }
  .zmtw-diagnosis-report-profile { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; border-right: 0; border-bottom: 1px solid rgba(226, 204, 143, .2); }
  .zmtw-diagnosis-report-avatar { width: 64px; height: 64px; }
  .zmtw-diagnosis-report-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-diagnosis-report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-diagnosis-report-coverage-grid article { border-right: 0; border-bottom: 1px solid var(--zmtw-line); }
  .zmtw-diagnosis-report-coverage-grid article:last-child { border-bottom: 0; }
  .zmtw-diagnosis-report-table { overflow-x: auto; }
  .zmtw-diagnosis-report-dialog .zmtw-report-body > nav { display: block; max-height: 190px; padding: 8px 8px 12px; overflow-x: hidden; overflow-y: auto; }
  .zmtw-diagnosis-report-dialog .zmtw-report-body > nav > strong { display: block; padding: 0 8px 7px; }
  .zmtw-diagnosis-v3-nav-group { padding: 5px 0; }
  .zmtw-diagnosis-v3-nav-group > button,
  .zmtw-diagnosis-v3-nav-group > div > button { width: 100%; min-width: 0; }
  .zmtw-diagnosis-v3-nav-group > div { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 2px 4px 5px 31px; }
  .zmtw-diagnosis-v3-nav-group > div > button { grid-template-columns: 27px minmax(0, 1fr); padding: 6px; white-space: normal; }
  .zmtw-diagnosis-report-v3 .zmtw-diagnosis-report-cover .zmtw-report-cover-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-diagnosis-v3-chapter { padding: 20px 16px; }
  .zmtw-diagnosis-v3-subsection { padding: 22px 0; }
  .zmtw-diagnosis-v3-subsection > header { grid-template-columns: 38px minmax(0, 1fr); gap: 9px; margin-bottom: 14px; }
  .zmtw-diagnosis-v3-subsection > header > span { width: 38px; height: 28px; }
  .zmtw-diagnosis-v3-subsection > header h3 { font-size: 16px; }
  .zmtw-diagnosis-v3-verdict,
  .zmtw-diagnosis-v3-actions { grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 13px 14px; }
  .zmtw-diagnosis-v3-verdict strong { font-size: 14px; }
  .zmtw-diagnosis-v3-insight > p,
  .zmtw-diagnosis-v3-lead { font-size: 14px; line-height: 1.8; }
  .zmtw-diagnosis-v3-facts,
  .zmtw-diagnosis-v3-metrics,
  .zmtw-diagnosis-v3-audience,
  .zmtw-diagnosis-v3-work-grid,
  .zmtw-diagnosis-v3-models,
  .zmtw-diagnosis-v3-benchmarks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zmtw-diagnosis-v3-facts > div:nth-child(4n) { border-right: 1px solid var(--zmtw-line); }
  .zmtw-diagnosis-v3-facts > div:nth-child(2n) { border-right: 0; }
  .zmtw-diagnosis-v3-facts > div:nth-last-child(-n + 4) { border-bottom: 1px solid var(--zmtw-line); }
  .zmtw-diagnosis-v3-facts > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .zmtw-diagnosis-v3-work-grid,
  .zmtw-diagnosis-v3-models,
  .zmtw-diagnosis-v3-benchmarks { grid-template-columns: minmax(0, 1fr); }
  .zmtw-diagnosis-v3-issue-evidence p { grid-template-columns: 42px minmax(0, 1fr); }
  .zmtw-diagnosis-v3-issue-evidence p b { grid-column: 2; }
  .zmtw-diagnosis-v3-issue-evidence p.is-empty { grid-template-columns: minmax(0, 1fr); }
  .zmtw-diagnosis-v3-issue > dl { grid-template-columns: minmax(0, 1fr); }
  .zmtw-diagnosis-v3-issue > dl > div,
  .zmtw-diagnosis-v3-issue > dl > div:nth-child(2n) { border-right: 0; }
  .zmtw-diagnosis-v3-issue > dl > div:last-child { grid-column: auto; }
  .zmtw-diagnosis-v3-main-line blockquote { padding: 19px 17px; font-size: 17px; }
}

@media print {
  @page { size: A4; margin: 14mm 12mm 16mm; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-dialog .zmtw-report-body > article { padding: 0; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-document { width: 100%; color: #11100f; orphans: 3; widows: 3; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-cover { min-height: 252mm; box-shadow: none; break-after: page; page-break-after: always; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-cover .zmtw-report-cover-meta { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 30px; margin-top: 18mm; padding-top: 7mm; border-top: 1px solid rgba(255, 255, 255, .24); break-inside: avoid-page; page-break-inside: avoid; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-cover .zmtw-report-cover-meta > span:last-child { margin-left: 0; text-align: left; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-cover .zmtw-report-cover-meta b,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-cover .zmtw-report-cover-meta strong { display: block; overflow: visible; white-space: normal; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc { display: grid; grid-template-rows: auto 1fr auto; min-height: 252mm; padding: 14mm 13mm; background: #ffffff; border-top: 5px solid #d4af37; break-after: page; page-break-after: always; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc > header > span { color: #9a7615; font-size: 11px; font-weight: 850; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc > header h2 { margin: 12px 0 0; color: #171614; font-size: 34px; line-height: 1.25; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc > header p { margin: 9px 0 0; color: #746d61; font-size: 14px; line-height: 1.7; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc ol { display: grid; align-content: center; margin: 8mm 0; padding: 0; list-style: none; border-top: 1px solid #e8e1d4; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc li { margin: 0; border-bottom: 1px solid #e8e1d4; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc a { display: grid; grid-template-columns: 12mm minmax(0, 1fr); align-items: center; gap: 4mm; min-height: 14mm; padding: 2mm 1mm; color: inherit; text-decoration: none; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc a > span { color: #9a7615; font-size: 12px; font-weight: 850; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc a strong,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc a small { display: block; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc a strong { color: #24211c; font-size: 15px; line-height: 1.4; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc a small { margin-top: 2px; color: #81796d; font-size: 11px; line-height: 1.4; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc > footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 4mm; color: #8a8173; border-top: 1px solid #e8e1d4; font-size: 10px; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc { display: block; min-height: 252mm; padding: 11mm 10mm; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc > ol { display: block; column-count: 2; column-gap: 8mm; margin: 6mm 0; border-top: 0; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc-chapter { display: inline-block; width: 100%; margin: 0 0 3mm; border: 1px solid #e8e1d4; break-inside: avoid; page-break-inside: avoid; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc-chapter > a { grid-template-columns: 9mm minmax(0, 1fr); min-height: 10mm; padding: 2mm 2.5mm; background: #fff8dc; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc-chapter > a strong { font-size: 11px; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc-chapter > a small { font-size: 8px; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc-chapter > ol { display: grid; gap: 0; margin: 0; padding: 1.5mm 2.5mm; border-top: 1px solid #e8e1d4; list-style: none; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc-chapter > ol li { border: 0; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc-chapter > ol a { grid-template-columns: 9mm minmax(0, 1fr); min-height: 5mm; gap: 1mm; padding: .6mm 0; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc-chapter > ol a > span { font-size: 8px; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-toc-chapter > ol a > strong { font-size: 8.5px; font-weight: 650; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-section { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; break-before: page; page-break-before: always; break-inside: auto; page-break-inside: auto; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-section > .zmtw-report-section-head,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-section > h3,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-table + h3 { break-after: avoid-page; page-break-after: avoid; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-summary-grid,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-two-columns,
  body.zmt-unified-workbench-page .zmtw-diagnosis-issues,
  body.zmt-unified-workbench-page .zmtw-diagnosis-content-benchmarks,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-plan { display: block; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-summary-grid > * + *,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-two-columns > * + *,
  body.zmt-unified-workbench-page .zmtw-diagnosis-issues > * + *,
  body.zmt-unified-workbench-page .zmtw-diagnosis-content-benchmarks > * + *,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-plan > * + * { margin-top: 12px; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-account,
  body.zmt-unified-workbench-page .zmtw-diagnosis-issue,
  body.zmt-unified-workbench-page .zmtw-diagnosis-roadmap li,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-stats article,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-video-grid article,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-benchmarks article,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-plan article { break-inside: avoid-page; page-break-inside: avoid; box-shadow: none; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-table { overflow: visible; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-table table { min-width: 0; table-layout: fixed; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-table thead { display: table-header-group; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-table tbody { display: table-row-group; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-table tr { break-inside: avoid-page; page-break-inside: avoid; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-table th,
  body.zmt-unified-workbench-page .zmtw-diagnosis-report-table td { overflow-wrap: anywhere; word-break: break-word; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-subsection { padding: 6mm 0; scroll-margin-top: 0; break-inside: auto; page-break-inside: auto; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-subsection > header,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-verdict,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-actions { break-inside: avoid-page; page-break-inside: avoid; }
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-facts,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-metrics,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-work-grid,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-models,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-benchmarks,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-issue,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-plan li,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-work-grid article,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-models article,
  body.zmt-unified-workbench-page .zmtw-diagnosis-v3-benchmarks article { break-inside: avoid-page; page-break-inside: avoid; }
}

/* Keep diagnosis typography overrides last in the cascade. */
.zmtw-diagnosis-view { max-width: 1240px; }
.zmtw-diagnosis-view .zmtw-diagnosis-page-head h1 { font-size: 31px; }
.zmtw-diagnosis-view .zmtw-diagnosis-page-head p { font-size: 15px; line-height: 1.7; }
.zmtw-diagnosis-breadcrumb,
.zmtw-diagnosis-breadcrumb button { font-size: 13px; }
.zmtw-diagnosis-status { padding: 6px 9px; font-size: 12px; }
.zmtw-diagnosis-status.is-live,
.zmtw-diagnosis-status.is-cost { color: #6a5317; background: #fff4ca; }
.zmtw-diagnosis-status.is-live i,
.zmtw-diagnosis-status.is-cost i { background: #d4af37; }
.zmtw-diagnosis-tabs { gap: 0; height: 56px; overflow-x: auto; }
.zmtw-diagnosis-tabs button { flex: 0 0 auto; min-height: 56px; padding: 0 13px; font-size: 13px; }
.zmtw-diagnosis-tabs button.is-active { color: #7c5a08; }
.zmtw-diagnosis-tabs button.is-active::after { background: #d4af37; }
.zmtw-diagnosis-panel > header h2 { font-size: 17px; }
.zmtw-diagnosis-panel > header > span,
.zmtw-diagnosis-panel > header p { font-size: 12px; }
.zmtw-diagnosis-health-body h3 { font-size: 16px; }
.zmtw-diagnosis-health-body p,
.zmtw-diagnosis-findings p,
.zmtw-diagnosis-actions p,
.zmtw-diagnosis-actions footer p { font-size: 14px; line-height: 1.7; }
.zmtw-diagnosis-findings strong,
.zmtw-diagnosis-actions strong,
.zmtw-diagnosis-actions footer strong { font-size: 14px; }
.zmtw-diagnosis-findings article { grid-template-columns: 30px minmax(0, 1fr); gap: 11px; padding: 14px 0; }
.zmtw-diagnosis-findings article > span { width: 28px; height: 28px; }
.zmtw-diagnosis-works th,
.zmtw-diagnosis-works td { font-size: 13px; }
.zmtw-diagnosis-report-dialog .zmtw-report-body > article { font-size: 15px; }

/* Keep this tool on its fixed desktop layout even when the shell has legacy responsive rules. */
.zmtw-kv-page .zmtw-kv-head { display: flex; flex-direction: row; align-items: center; gap: 24px; min-height: 62px; margin-bottom: 24px; }
.zmtw-kv-page .zmtw-kv-head h1 { font-size: 28px; }
.zmtw-kv-page .zmtw-kv-head p { font-size: 15px; line-height: 1.7; }
.zmtw-kv-page .zmtw-kv-workspace { grid-template-columns: minmax(0, 1fr) 328px; }
.zmtw-kv-page .zmtw-kv-rail { position: sticky; }

/* Compliance uses the light workbench surface; black and gold only mark identity and primary action. */
.zmtw-compliance-view {
  max-width: 1240px;
  -webkit-font-smoothing: antialiased;
}

.zmtw-compliance-view .zmt-agent-compliance {
  --zmtc-ink: #1d1b17;
  --zmtc-body: #4c463b;
  --zmtc-muted: #766f62;
  --zmtc-line: #e4dccb;
  --zmtc-soft: #f7f5ef;
  --zmtc-teal: #8c690d;
  --zmtc-teal-soft: #fff4ca;
  --zmtc-rose: #c75b4f;
  --zmtc-rose-soft: #fff0ed;
  --zmtv2-ink: #1d1b17;
  --zmtv2-muted: #766f62;
  --zmtv2-line: #e4dccb;
  --zmtv2-soft: #f7f5ef;
  color: var(--zmtc-body);
  font-size: 14px;
}

.zmtw-compliance-view .zmtw-compliance-head {
  align-items: center;
  min-height: 146px;
  margin-bottom: 18px;
  padding: 24px 26px;
  color: var(--zmtc-ink);
  background: #12110f;
  border: 1px solid #49402d;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(10, 8, 4, .16), inset 0 1px 0 rgba(255, 231, 167, .07);
}

.zmtw-compliance-view .zmtw-compliance-head h1 { color: #fff7df; }
.zmtw-compliance-view .zmt-agent-compliance h2,
.zmtw-compliance-view .zmt-agent-compliance h3 {
  color: var(--zmtc-ink);
  text-wrap: balance;
}

.zmtw-compliance-view .zmtw-compliance-head p {
  max-width: 740px;
  margin-top: 6px;
  color: #d1c3a4;
  font-size: 13px;
  line-height: 1.7;
  text-wrap: pretty;
}

.zmtw-compliance-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e6c66f;
  font-size: 11px;
  font-weight: 760;
}

.zmtw-compliance-kicker .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-compliance-view .zmtw-head-actions { gap: 9px; }

.zmtw-compliance-view .zmtw-button,
.zmtw-compliance-view .zmtv2-button {
  min-height: 40px;
  border-radius: 6px;
  transition-property: background-color, border-color, color, box-shadow, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.zmtw-compliance-view .zmtw-button:active:not(:disabled),
.zmtw-compliance-view .zmtv2-button:active:not(:disabled) { scale: .96; }

.zmtw-compliance-view .zmtw-button-primary,
.zmtw-compliance-view .zmtv2-button-primary {
  color: #16120a;
  background: #d6b45c;
  border-color: #e8cf89;
  box-shadow: inset 0 1px 0 rgba(255, 250, 221, .44), 0 6px 16px rgba(0, 0, 0, .18);
}

.zmtw-compliance-view .zmtw-button-primary:hover,
.zmtw-compliance-view .zmtv2-button-primary:hover { color: #0e0c08; background: #e6c66f; }

.zmtw-compliance-view .zmtw-button-secondary,
.zmtw-compliance-view .zmtv2-button-ghost,
.zmtw-compliance-view .zmtv2-button-soft {
  color: #342f25;
  background: #fff;
  border: 1px solid #d8cfbc;
  box-shadow: 0 1px 2px rgba(29, 27, 23, .04);
}

.zmtw-compliance-view .zmtw-button-secondary:hover,
.zmtw-compliance-view .zmtv2-button-ghost:hover,
.zmtw-compliance-view .zmtv2-button-soft:hover { color: #1d1b17; background: #fffaf0; border-color: #bda35b; }

.zmtw-compliance-view .zmtc-disclaimer {
  margin-bottom: 14px;
  color: #69551d;
  background: #fff9e9;
  border-color: #ead69d;
  border-radius: 7px;
  font-size: 13px;
}

.zmtw-compliance-view .zmtc-disclaimer strong { color: #7d5c0a; }

.zmtw-compliance-view .zmtv2-stepbar {
  margin-bottom: 14px;
  padding: 5px;
  background: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
}

.zmtw-compliance-view .zmtv2-stepbar button {
  min-height: 58px;
  color: #746d60;
  background: transparent;
  border-radius: 6px;
  transition-property: background-color, color, box-shadow;
  transition-duration: 160ms;
}

.zmtw-compliance-view .zmtv2-stepbar button.is-active { color: #fff8e7; background: #1d1b17; box-shadow: inset 0 0 0 1px #1d1b17, 0 2px 5px rgba(29, 27, 23, .16); }
.zmtw-compliance-view .zmtv2-stepbar button span { color: #a47711; }
.zmtw-compliance-view .zmtv2-stepbar button.is-active span { color: #f1c94c; }

.zmtw-compliance-view .zmtv2-workspace {
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 14px;
  align-items: start;
}

.zmtw-compliance-view .zmtv2-input-panel,
.zmtw-compliance-view .zmtv2-cockpit,
.zmtw-compliance-view .zmtv2-report-shell,
.zmtw-compliance-view .zmtc-history {
  background: #fff;
  border: 1px solid #e4dccb;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(48, 40, 24, .06);
}

.zmtw-compliance-view .zmtv2-form-panel { background: transparent; }
.zmtw-compliance-view .zmtv2-panel-head,
.zmtw-compliance-view .zmtv2-report-head { border-color: #e4dccb; }
.zmtw-compliance-view .zmtv2-panel-head > span { color: #18140b; background: #d6b45c; }
.zmtw-compliance-view .zmtv2-panel-head p,
.zmtw-compliance-view .zmtv2-field-hint,
.zmtw-compliance-view .zmtv2-panel-actions > span { color: #766f62; }

.zmtw-compliance-view .zmtv2-fill-guide,
.zmtw-compliance-view .zmtc-import-strip,
.zmtw-compliance-view .zmtc-cockpit-note {
  color: #5f5749;
  background: #fbf8ef;
  border-color: #e7dcc0;
  border-radius: 7px;
}

.zmtw-compliance-view .zmtv2-fill-guide h3,
.zmtw-compliance-view .zmtc-import-strip b,
.zmtw-compliance-view .zmtc-cockpit-note b { color: #332d20; }
.zmtw-compliance-view .zmtv2-guide-example { color: #6a604e; background: #fffdf7; border-color: #e5dac4; }
.zmtw-compliance-view .zmtv2-guide-example code { color: #7d5c0a; }

.zmtw-compliance-view .zmtv2-field-grid label,
.zmtw-compliance-view .zmtc-field-label label { color: #3f392d; }

.zmtw-compliance-view .zmtv2-field-grid input,
.zmtw-compliance-view .zmtv2-field-grid select,
.zmtw-compliance-view .zmtv2-field-grid textarea,
.zmtw-compliance-view .zmtc-full-rewrite textarea,
.zmtw-compliance-view .zmtc-handoff select,
.zmtw-compliance-view .zmtc-status-control select {
  color: #29251f;
  background: #fff;
  border-color: #d5cbb7;
  border-radius: 6px;
}

.zmtw-compliance-view .zmtv2-field-grid input:focus,
.zmtw-compliance-view .zmtv2-field-grid select:focus,
.zmtw-compliance-view .zmtv2-field-grid textarea:focus,
.zmtw-compliance-view .zmtc-full-rewrite textarea:focus,
.zmtw-compliance-view .zmtc-handoff select:focus,
.zmtw-compliance-view .zmtc-status-control select:focus {
  border-color: #c79b28;
  box-shadow: 0 0 0 3px rgba(214, 180, 92, .18);
  outline: 0;
}

.zmtw-compliance-view .zmtc-check-field { background: #faf7ef; border-color: #e5dbc8; }
.zmtw-compliance-view .zmtc-check-field:hover { background: #fffaf0; border-color: #c8aa61; }
.zmtw-compliance-view .zmtc-check-field input { accent-color: #d6b45c; }
.zmtw-compliance-view .zmtc-check-field small,
.zmtw-compliance-view .zmtc-import-strip p,
.zmtw-compliance-view .zmtc-cockpit-note p { color: #766f62; }

.zmtw-compliance-view .zmtv2-cockpit { position: sticky; top: 82px; }
.zmtw-compliance-view .zmtv2-ring { color: #926b08; background: conic-gradient(#e6bf43 var(--zmtv2-progress), #eee8da 0); }
.zmtw-compliance-view .zmtv2-ring::before { background: #fff; }
.zmtw-compliance-view .zmtv2-cockpit-copy p,
.zmtw-compliance-view .zmtv2-mini-metrics span { color: #766f62; }
.zmtw-compliance-view .zmtv2-mini-metrics article { border-color: #e8e0d0; }
.zmtw-compliance-view .zmtv2-mini-metrics strong,
.zmtw-compliance-view .zmtv2-ring strong { color: #29251f; font-variant-numeric: tabular-nums; }
.zmtw-compliance-view .zmtv2-checklist span { color: #746d60; background: #f1eee6; }
.zmtw-compliance-view .zmtv2-checklist .is-done { color: #6d5008; background: #fff1c3; }

.zmtw-compliance-view .zmtc-report-shell { margin-top: 16px; overflow: hidden; }
.zmtw-compliance-view .zmtv2-report-head { background: #fcfaf5; }
.zmtw-compliance-view .zmtv2-report-head > div > span,
.zmtw-compliance-view .zmtc-sidebar-heading span,
.zmtw-compliance-view .zmtc-sidebar-section > span { color: #d6b45c; }
.zmtw-compliance-view .zmtc-review-sidebar { border-color: #e4dccb; }
.zmtw-compliance-view .zmtc-result-header,
.zmtw-compliance-view .zmtc-finding-head,
.zmtw-compliance-view .zmtc-ai-review,
.zmtw-compliance-view .zmtc-full-rewrite,
.zmtw-compliance-view .zmtc-checklist-result,
.zmtw-compliance-view .zmtc-status-control { border-color: #e4dccb; }
.zmtw-compliance-view .zmtc-result-header > p,
.zmtw-compliance-view .zmtc-sidebar-section p,
.zmtw-compliance-view .zmtc-result-meta span { color: #766f62; }

.zmtw-compliance-view .zmtc-score-grid article,
.zmtw-compliance-view .zmtc-finding,
.zmtw-compliance-view .zmtc-ai-review,
.zmtw-compliance-view .zmtc-full-rewrite,
.zmtw-compliance-view .zmtc-checklist-result,
.zmtw-compliance-view .zmtc-status-control,
.zmtw-compliance-view .zmtc-history-row { background: #fff; border-color: #e7dfcf; }

.zmtw-compliance-view .zmtc-finding.is-critical { background: #fffafa; border-color: #efc6c2; }
.zmtw-compliance-view .zmtc-finding.is-high { background: #fffdfb; border-color: #efd5c1; }
.zmtw-compliance-view .zmtc-finding.is-medium { background: #fffefb; border-color: #e8dfbd; }

.zmtw-compliance-view .zmtc-score-grid span,
.zmtw-compliance-view .zmtc-finding-copy p,
.zmtw-compliance-view .zmtc-history p,
.zmtw-compliance-view .zmtc-history-row small,
.zmtw-compliance-view .zmtc-status-message { color: #766f62; }
.zmtw-compliance-view .zmtc-score-grid strong,
.zmtw-compliance-view .zmtc-history-row strong { color: #29251f; font-variant-numeric: tabular-nums; }
.zmtw-compliance-view .zmtc-decision-band { background: #fff7df; border-left-color: #d6b45c; }
.zmtw-compliance-view .zmtc-decision-band strong { color: #2d281e; }
.zmtw-compliance-view .zmtc-replacement,
.zmtw-compliance-view .zmtc-ai-rewrite-replacement { background: #fffaf0; border-color: #e5d6ae; }
.zmtw-compliance-view .zmtc-replacement span,
.zmtw-compliance-view .zmtc-replacement strong,
.zmtw-compliance-view .zmtc-ai-review > header span { color: #8c690d; }
.zmtw-compliance-view .zmtc-empty-report { color: #766f62; background: #fcfaf5; border-color: #dfd5c1; }
.zmtw-compliance-view .zmtc-empty-report b { color: #29251f; }
.zmtw-compliance-view .zmtc-history { grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr); margin-top: 16px; }
.zmtw-compliance-view .zmtc-history > div > span { color: #8c690d; }

.zmtw-feature-capabilities .zmtw-feature-card-compliance {
  --zmtw-tile-tone: #b58626;
  --zmtw-tile-soft: #fff4ca;
}

.zmtw-feature-capabilities .zmtw-feature-card-humanizer {
  --zmtw-tile-tone: #7d627f;
  --zmtw-tile-soft: #f5edf4;
}

@media (max-width: 767px) {
  .zmtw-feature-capabilities { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .zmtw-feature-tile { min-height: 206px; padding: 18px; }
  .zmtw-feature-tile::after { right: 18px; left: 18px; }
  .zmtw-feature-tile h2 { font-size: 18px; }
  .zmtw-feature-tile p { font-size: 14px; }
}

/* Native Xiaohongshu creation view. The platform keeps its editorial workflow
   while inheriting the unified workbench's desktop visual language. */
.zmtw-xhs-view { max-width: 1540px; }
.zmtw-xhs-view .zmt-xhs-workbench.is-embedded {
  --xhs-ink: #29251f;
  --xhs-ink-soft: #453e33;
  --xhs-muted: #766f62;
  --xhs-line: #e4dccb;
  --xhs-line-strong: #d8cfbc;
  --xhs-canvas: transparent;
  --xhs-surface: #ffffff;
  --xhs-surface-soft: #fcfaf5;
  --xhs-red: #b84855;
  --xhs-red-dark: #963945;
  --xhs-red-deep: #1d1b17;
  --xhs-red-soft: #fff6f6;
  --xhs-teal: #d6b45c;
  --xhs-teal-dark: #8c690d;
  --xhs-teal-soft: #fff7df;
  --xhs-ready: #4f7667;
  --xhs-ready-soft: #edf6f0;
  --xhs-gold: #9b762f;
  --xhs-gold-soft: #fff7df;
  --xhs-blue: #4f8195;
  --xhs-radius: 8px;
  --xhs-radius-small: 6px;
  --xhs-shadow-panel: 0 0 0 1px rgba(48, 40, 24, .08), 0 6px 16px rgba(48, 40, 24, .045);
  --xhs-shadow-raised: 0 12px 26px rgba(48, 40, 24, .10);
  --xhs-sticky-offset: 84px;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.zmtw-xhs-view .zmtxhs-embedded-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 144px;
  padding: 26px 30px;
  color: #fff;
  background: #1d1b17;
  border-top: 4px solid #d6b45c;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(21, 18, 12, .14);
}
.zmtw-xhs-view .zmtxhs-embedded-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.zmtw-xhs-view .zmtxhs-embedded-title .zmtw-icon-button { flex: 0 0 auto; color: #f1c94c; background: #29251f; border-color: rgba(241, 201, 76, .32); }
.zmtw-xhs-view .zmtxhs-embedded-title .zmtw-icon-button:hover { color: #1d1b17; background: #f1c94c; }
.zmtw-xhs-view .zmtxhs-platform-mark { display: grid; flex: 0 0 auto; width: 46px; height: 46px; place-items: center; color: #fff7df; background: #b84855; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.zmtw-xhs-view .zmtxhs-platform-mark .dashicons { width: 22px; height: 22px; font-size: 22px; }
.zmtw-xhs-view .zmtxhs-embedded-title h1 { margin: 0; color: #fff; font-size: 28px; font-weight: 760; line-height: 1.3; }
.zmtw-xhs-view .zmtxhs-embedded-title p { margin: 7px 0 0; color: #d5c9aa; font-size: 14px; line-height: 1.6; }
.zmtw-xhs-view .zmtxhs-embedded-meta { display: grid; grid-template-columns: repeat(4, minmax(104px, auto)); align-items: stretch; flex: 0 0 auto; }
.zmtw-xhs-view .zmtxhs-embedded-meta > span { display: grid; align-content: center; gap: 4px; min-width: 118px; padding: 4px 16px; border-left: 1px solid rgba(255, 255, 255, .17); }
.zmtw-xhs-view .zmtxhs-embedded-meta small { color: #c7baa0; font-size: 11px; line-height: 1.35; }
.zmtw-xhs-view .zmtxhs-embedded-meta strong { overflow: hidden; color: #fff; font-size: 13px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.zmtw-xhs-view .zmtxhs-embedded-status { min-width: 176px !important; }
.zmtw-xhs-view .zmtxhs-embedded-status small { min-height: 20px; }
.zmtw-xhs-view .zmtxhs-embedded-status em { display: inline-flex; align-items: center; width: max-content; min-height: 20px; padding: 0 7px; color: #315e4f; background: #edf6f0; border-radius: 4px; font-size: 11px; font-style: normal; font-weight: 760; line-height: 1; }
.zmtw-xhs-view .zmtxhs-embedded-status em.is-busy { color: #795c18; background: #fff4cc; }
.zmtw-xhs-view .zmtxhs-embedded-status em.is-error { color: #913744; background: #fff0f1; }
.zmtw-xhs-view .zmtxhs-embedded-status i { overflow: hidden; color: #c7baa0; font-size: 11px; font-style: normal; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }

.zmtw-xhs-view .zmtxhs-sidebar { position: sticky; top: var(--xhs-sticky-offset); display: grid; align-content: start; gap: 14px; max-height: calc(100vh - var(--xhs-sticky-offset) - 22px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d8cfbc transparent; }
.zmtw-xhs-view .zmtxhs-stage-nav { padding: 6px; background: #fff; border: 1px solid #e4dccb; box-shadow: 0 6px 16px rgba(48, 40, 24, .045); }
.zmtw-xhs-view .zmtxhs-stage-nav::before { left: 29px; background: #ddd4c2; }
.zmtw-xhs-view .zmtxhs-stage-nav button { grid-template-columns: 42px minmax(0, 1fr); min-height: 64px; gap: 10px; padding: 8px 9px; color: #453e33; }
.zmtw-xhs-view .zmtxhs-stage-nav button:not(:last-child)::after { right: 12px; left: 58px; background: #eee8dc; }
.zmtw-xhs-view .zmtxhs-stage-nav button:hover { background: #fcfaf5; }
.zmtw-xhs-view .zmtxhs-stage-nav button.is-active { width: 100%; min-height: 66px; margin: 0; color: #fff; background: #1d1b17; border-radius: 6px; box-shadow: inset 3px 0 0 #d6b45c, 0 4px 12px rgba(29, 27, 23, .13); }
.zmtw-xhs-view .zmtxhs-stage-nav button.is-active::after { width: 44px; background: #d6b45c; }
.zmtw-xhs-view .zmtxhs-stage-nav b { width: 38px; height: 38px; color: #80620f; background: #fff7df; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(156, 118, 47, .18); }
.zmtw-xhs-view .zmtxhs-stage-nav b i { border-color: #fff7df; color: #1d1b17; background: #d6b45c; }
.zmtw-xhs-view .zmtxhs-stage-nav button.is-active b { color: #1d1b17; background: #f1c94c; }
.zmtw-xhs-view .zmtxhs-stage-nav button.is-active b i { border-color: #f1c94c; color: #fff; background: #b84855; }
.zmtw-xhs-view .zmtxhs-stage-nav span strong { font-size: 13px; }
.zmtw-xhs-view .zmtxhs-stage-nav small { color: #766f62; font-size: 11px; }
.zmtw-xhs-view .zmtxhs-stage-nav button.is-active small { color: #d5c9aa; }
.zmtw-xhs-view .zmtxhs-projects { margin-top: 0; padding: 14px; background: #fff; border: 1px solid #e4dccb; box-shadow: 0 6px 16px rgba(48, 40, 24, .045); }
.zmtw-xhs-view .zmtxhs-projects-head strong { color: #29251f; font-size: 13px; }
.zmtw-xhs-view .zmtxhs-text-button { min-height: 32px; color: #8c690d; }
.zmtw-xhs-view .zmtxhs-text-button:hover { color: #29251f; background: #fff7df; }
.zmtw-xhs-view .zmtxhs-project-list { max-height: 192px; }
.zmtw-xhs-view .zmtxhs-project-list button { min-height: 52px; background: #fcfaf5; border-radius: 6px; }
.zmtw-xhs-view .zmtxhs-project-list button:hover { background: #fff7df; box-shadow: inset 0 0 0 1px rgba(156, 118, 47, .25); }
.zmtw-xhs-view .zmtxhs-save-button { min-height: 40px; color: #1d1b17; background: #f1c94c; box-shadow: none; }
.zmtw-xhs-view .zmtxhs-save-button:hover { color: #1d1b17; background: #dcb535; }

.zmtw-xhs-view .zmtxhs-workspace { gap: 16px; padding: 0 0 36px; }
.zmtw-xhs-view .zmtxhs-overview { grid-template-columns: minmax(0, 1fr) auto; min-height: 146px; padding: 25px 26px; color: #29251f; background: #fff; border: 1px solid #e4dccb; border-top: 3px solid #d6b45c; box-shadow: 0 8px 20px rgba(48, 40, 24, .06); }
.zmtw-xhs-view .zmtxhs-overview::before,
.zmtw-xhs-view .zmtxhs-overview::after,
.zmtw-xhs-view .zmtxhs-overview-copy::before { display: none; }
.zmtw-xhs-view .zmtxhs-overview h1 { color: #29251f; font-size: 27px; }
.zmtw-xhs-view .zmtxhs-overview-copy > span { margin-top: 9px; color: #766f62; font-size: 14px; }
.zmtw-xhs-view .zmtxhs-overview-actions { display: flex; align-items: center; align-self: center; width: auto; gap: 8px; }
.zmtw-xhs-view .zmtxhs-overview-actions .zmtxhs-button { grid-template-columns: 18px minmax(0, 1fr); width: auto; min-width: 126px; }
.zmtw-xhs-view .zmtxhs-button { min-height: 40px; border-radius: 6px; font-size: 12px; }
.zmtw-xhs-view .zmtxhs-button-primary { color: #1d1b17; background: #f1c94c; box-shadow: none; }
.zmtw-xhs-view .zmtxhs-button-primary:hover:not(:disabled) { color: #1d1b17; background: #dcb535; box-shadow: 0 5px 12px rgba(156, 118, 47, .16); }
.zmtw-xhs-view .zmtxhs-button-soft,
.zmtw-xhs-view .zmtxhs-panel .zmtxhs-button-soft,
.zmtw-xhs-view .zmtxhs-cover-actions .zmtxhs-button-soft { color: #453e33; background: #fff; border-color: #d8cfbc; }
.zmtw-xhs-view .zmtxhs-button-soft:hover:not(:disabled),
.zmtw-xhs-view .zmtxhs-panel .zmtxhs-button-soft:hover:not(:disabled),
.zmtw-xhs-view .zmtxhs-cover-actions .zmtxhs-button-soft:hover:not(:disabled) { color: #29251f; background: #fffaf0; border-color: #bda35b; }
.zmtw-xhs-view .zmtxhs-button-ghost { color: #453e33; background: #fff; border-color: #d8cfbc; }
.zmtw-xhs-view .zmtxhs-metrics { margin: 0; background: #fff; border: 1px solid #e4dccb; border-radius: 8px; box-shadow: 0 6px 16px rgba(48, 40, 24, .045); }
.zmtw-xhs-view .zmtxhs-metrics article { min-height: 84px; padding: 15px; }
.zmtw-xhs-view .zmtxhs-metrics article:first-child { box-shadow: inset 3px 0 0 #d6b45c; }
.zmtw-xhs-view .zmtxhs-metrics article:not(:last-child)::after { background: #e4dccb; }
.zmtw-xhs-view .zmtxhs-metrics strong { color: #29251f; font-size: 27px; }
.zmtw-xhs-view .zmtxhs-metrics span,
.zmtw-xhs-view .zmtxhs-metrics small { color: #766f62; font-size: 11px; }

.zmtw-xhs-view .zmtxhs-panel { padding: 22px; background: #fff; border: 1px solid #e4dccb; box-shadow: 0 6px 16px rgba(48, 40, 24, .045); }
.zmtw-xhs-view .zmtxhs-panel-heading[data-xhs-step-label]::after { color: #8c690d; border-left-color: #d6b45c; }
.zmtw-xhs-view .zmtxhs-panel h2 { color: #29251f; font-size: 18px; }
.zmtw-xhs-view .zmtxhs-panel-heading p { color: #766f62; font-size: 12px; }
.zmtw-xhs-view .zmtxhs-soft-icon.is-mint,
.zmtw-xhs-view .zmtxhs-soft-icon.is-teal { color: #8c690d; background: #fff7df; box-shadow: inset 0 0 0 1px rgba(156, 118, 47, .16); }
.zmtw-xhs-view .zmtxhs-soft-icon.is-lilac,
.zmtw-xhs-view .zmtxhs-soft-icon.is-rose { color: #b84855; background: #fff5f5; box-shadow: inset 0 0 0 1px rgba(184, 72, 85, .14); }
.zmtw-xhs-view .zmtxhs-panel input,
.zmtw-xhs-view .zmtxhs-panel textarea { color: #29251f; border-color: #d8cfbc; background: #fff; font-size: 13px; }
.zmtw-xhs-view .zmtxhs-panel input:focus,
.zmtw-xhs-view .zmtxhs-panel textarea:focus { border-color: #c79b28; box-shadow: 0 0 0 3px rgba(214, 180, 92, .18); }
.zmtw-xhs-view .zmtxhs-panel label { color: #453e33; font-size: 12px; }
.zmtw-xhs-view .zmtxhs-rule { background: #e4dccb; }
.zmtw-xhs-view .zmtxhs-reference-card,
.zmtw-xhs-view .zmtxhs-candidate,
.zmtw-xhs-view .zmtxhs-draft-card,
.zmtw-xhs-view .zmtxhs-prompt-card { background: #fcfaf5; box-shadow: inset 0 0 0 1px rgba(48, 40, 24, .07); }
.zmtw-xhs-view .zmtxhs-reference-card:hover,
.zmtw-xhs-view .zmtxhs-candidate:hover,
.zmtw-xhs-view .zmtxhs-draft-card:hover,
.zmtw-xhs-view .zmtxhs-prompt-card:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(156, 118, 47, .27), 0 8px 18px rgba(48, 40, 24, .07); }
.zmtw-xhs-view .zmtxhs-reference-card.is-selected,
.zmtw-xhs-view .zmtxhs-candidate.is-selected,
.zmtw-xhs-view .zmtxhs-draft-card.is-selected,
.zmtw-xhs-view .zmtxhs-prompt-card.is-selected { background: #fff7df; box-shadow: inset 3px 0 0 #d6b45c, inset 0 0 0 1px rgba(156, 118, 47, .24); }
.zmtw-xhs-view .zmtxhs-candidate > span { color: #1d1b17; background: #f1c94c; }
.zmtw-xhs-view .zmtxhs-rag-item,
.zmtw-xhs-view .zmtxhs-note-preview { background: #fffaf0; box-shadow: inset 3px 0 0 #d6b45c, inset 0 0 0 1px rgba(156, 118, 47, .15); }
.zmtw-xhs-view .zmtxhs-cover-canvas { background: #fcfaf5; box-shadow: inset 0 0 0 1px rgba(156, 118, 47, .2), 0 8px 18px rgba(48, 40, 24, .06); }
.zmtw-xhs-view .zmtxhs-cover-canvas::before { background: #d6b45c; }

/* Account benchmark readability and interaction upgrade. */
.zmtw-benchmark-view {
  --zmtw-benchmark-copy-size: 14px;
  --zmtw-benchmark-meta-size: 12px;
  --zmtw-benchmark-control-height: 48px;
  max-width: 1540px;
}
.zmtw-benchmark-view p,
.zmtw-benchmark-view small { text-wrap: pretty; }
.zmtw-benchmark-view h1,
.zmtw-benchmark-view h2,
.zmtw-benchmark-view h3,
.zmtw-benchmark-view strong { text-wrap: balance; }
.zmtw-benchmark-page-head { margin-bottom: 24px; }
.zmtw-benchmark-page-head p { max-width: 980px; font-size: 15px; line-height: 1.65; }
.zmtw-benchmark-setup { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
.zmtw-benchmark-setup-main { gap: 18px; }
.zmtw-benchmark-rule { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; min-height: 112px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(29, 27, 23, .12), 0 14px 32px rgba(29, 27, 23, .14); }
.zmtw-benchmark-rule > span { width: 48px; height: 48px; }
.zmtw-benchmark-rule .dashicons { width: 22px; height: 22px; font-size: 22px; }
.zmtw-benchmark-rule strong { font-size: 17px; line-height: 1.45; }
.zmtw-benchmark-rule p { margin-top: 7px; font-size: 14px; line-height: 1.7; }
.zmtw-benchmark-rule > b { min-width: 82px; font-size: 28px; }
.zmtw-benchmark-block { padding: 24px; box-shadow: 0 1px 2px rgba(48, 40, 24, .04), 0 10px 26px rgba(48, 40, 24, .06); }
.zmtw-benchmark-block > header { gap: 14px; margin-bottom: 20px; }
.zmtw-benchmark-block > header > span { flex-basis: 40px; width: 40px; height: 40px; font-size: 13px; }
.zmtw-benchmark-block > header strong { font-size: 18px; line-height: 1.4; }
.zmtw-benchmark-block > header small { margin-top: 5px; font-size: 13px; line-height: 1.6; }
.zmtw-benchmark-account-card { box-shadow: 0 1px 2px rgba(48, 40, 24, .035); transition-property: border-color, box-shadow, translate; transition-duration: 160ms; transition-timing-function: ease-out; }
.zmtw-benchmark-account-card:hover { border-color: #cfbf9b; box-shadow: 0 8px 20px rgba(48, 40, 24, .07); translate: 0 -1px; }
.zmtw-benchmark-account-card.is-ready { box-shadow: inset 4px 0 0 #d4af37, 0 6px 18px rgba(48, 40, 24, .055); }
.zmtw-benchmark-account-card > header { min-height: 78px; padding: 15px 17px; }
.zmtw-benchmark-account-card > header > div:first-child { gap: 12px; }
.zmtw-benchmark-account-index { flex-basis: 40px; width: 40px; height: 40px; font-size: 12px; }
.zmtw-benchmark-account-card > header strong { font-size: 16px; line-height: 1.4; }
.zmtw-benchmark-account-card > header small { margin-top: 4px; font-size: 13px; }
.zmtw-benchmark-ready { gap: 6px; min-height: 32px; padding: 0 10px; font-size: 12px; }
.zmtw-benchmark-ready .dashicons { width: 15px; height: 15px; font-size: 15px; }
.zmtw-benchmark-account-card > header .zmtw-icon-button { flex-basis: 40px; width: 40px; height: 40px; min-height: 40px; }
.zmtw-benchmark-account-controls { grid-template-columns: 180px 260px minmax(300px, 1fr); gap: 16px; padding: 18px; }
.zmtw-benchmark-account-field,
.zmtw-benchmark-source,
.zmtw-benchmark-account-role { gap: 8px; }
.zmtw-benchmark-account-field > span,
.zmtw-benchmark-source > span,
.zmtw-benchmark-account-role > span { font-size: 13px; }
.zmtw-benchmark-account-field select,
.zmtw-benchmark-account-field input { height: var(--zmtw-benchmark-control-height); padding: 0 13px; font-size: 14px; }
.zmtw-benchmark-account-field > div { grid-template-columns: 40px minmax(0, 1fr); }
.zmtw-benchmark-account-field > div input { height: 46px; }
.zmtw-benchmark-account-field small { font-size: 12px; line-height: 1.55; }
.zmtw-benchmark-source > div { height: var(--zmtw-benchmark-control-height); padding: 4px; }
.zmtw-benchmark-source button { padding: 0 10px; font-size: 13px; transition-property: color, background-color, box-shadow, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-benchmark-source button:hover { color: #29251f; }
.zmtw-benchmark-source button:focus-visible,
.zmtw-benchmark-depth:focus-visible,
.zmtw-benchmark-packages > button:focus-visible,
.zmtw-benchmark-history-item:focus-visible,
.zmtw-benchmark-report-dialog .zmtw-report-body > nav button:focus-visible { outline: 3px solid rgba(212, 175, 55, .35); outline-offset: 2px; }
.zmtw-benchmark-account-role strong { height: var(--zmtw-benchmark-control-height); padding: 0 13px; font-size: 14px; }
.zmtw-benchmark-account-role .dashicons { width: 17px; height: 17px; font-size: 17px; }
.zmtw-benchmark-depths,
.zmtw-benchmark-packages { gap: 12px; }
.zmtw-benchmark-depth { grid-template-columns: 52px minmax(0, 1fr) 22px; gap: 13px; min-height: 108px; padding: 16px; transition-property: background-color, border-color, box-shadow, scale; transition-duration: 160ms; transition-timing-function: ease-out; }
.zmtw-benchmark-depth:hover { box-shadow: 0 8px 18px rgba(48, 40, 24, .07); }
.zmtw-benchmark-depth:active { scale: .98; }
.zmtw-benchmark-depth.is-active { box-shadow: inset 4px 0 0 #d4af37, 0 7px 18px rgba(156, 118, 47, .09); }
.zmtw-benchmark-depth > span { width: 52px; height: 52px; font-size: 20px; }
.zmtw-benchmark-depth strong { font-size: 15px; line-height: 1.4; }
.zmtw-benchmark-depth small { margin-top: 5px; font-size: 13px; line-height: 1.55; }
.zmtw-benchmark-packages > button { grid-template-columns: 42px minmax(0, 1fr) auto 20px; gap: 11px; min-height: 98px; padding: 15px; transition-property: background-color, border-color, box-shadow, scale; transition-duration: 160ms; transition-timing-function: ease-out; }
.zmtw-benchmark-packages > button:not(:disabled):hover { background: #fffdf8; border-color: #c6b06c; box-shadow: 0 8px 18px rgba(48, 40, 24, .065); }
.zmtw-benchmark-packages > button:not(:disabled):active { scale: .98; }
.zmtw-benchmark-packages > button.is-selected { box-shadow: inset 4px 0 0 #d4af37; }
.zmtw-benchmark-packages > button > span { width: 42px; height: 42px; }
.zmtw-benchmark-packages strong { font-size: 14px; line-height: 1.4; }
.zmtw-benchmark-packages small { margin-top: 4px; font-size: 13px; line-height: 1.5; }
.zmtw-benchmark-packages em { min-height: 26px; padding: 5px 8px; font-size: 11px; }
.zmtw-benchmark-packages > button > .dashicons:last-child { width: 18px; height: 18px; font-size: 18px; }
.zmtw-benchmark-submit { gap: 14px; padding: 24px; box-shadow: 0 2px 4px rgba(29, 27, 23, .14), 0 18px 38px rgba(29, 27, 23, .18); }
.zmtw-benchmark-submit > span { font-size: 12px; }
.zmtw-benchmark-submit > strong { font-size: 21px; line-height: 1.45; }
.zmtw-benchmark-submit dl div { padding: 13px 0; }
.zmtw-benchmark-submit dt,
.zmtw-benchmark-submit dd { font-size: 13px; line-height: 1.5; }
.zmtw-benchmark-submit .zmtw-button { min-height: 50px; font-size: 14px; }
.zmtw-benchmark-submit > small { font-size: 12px; line-height: 1.65; }
.zmtw-benchmark-blueprint,
.zmtw-benchmark-result,
.zmtw-benchmark-history { margin-top: 20px; box-shadow: 0 1px 2px rgba(48, 40, 24, .04), 0 12px 28px rgba(48, 40, 24, .06); }
.zmtw-benchmark-blueprint > header,
.zmtw-benchmark-result > header { padding: 24px 26px; }
.zmtw-benchmark-blueprint > header span,
.zmtw-benchmark-result > header span { font-size: 12px; }
.zmtw-benchmark-blueprint h2,
.zmtw-benchmark-result h2 { margin-top: 6px; font-size: 23px; line-height: 1.35; }
.zmtw-benchmark-blueprint > header p,
.zmtw-benchmark-result > header p { margin-top: 7px; font-size: 14px; line-height: 1.6; }
.zmtw-benchmark-blueprint article { grid-template-columns: 36px minmax(0, 1fr); gap: 11px; min-height: 92px; padding: 18px; align-content: center; }
.zmtw-benchmark-blueprint article > span { font-size: 13px; font-variant-numeric: tabular-nums; }
.zmtw-benchmark-blueprint article strong { font-size: 14px; line-height: 1.45; white-space: normal; }
.zmtw-benchmark-blueprint article small { margin-top: 5px; font-size: 12px; }
.zmtw-benchmark-headlines article { padding: 20px 22px; }
.zmtw-benchmark-headlines span { font-size: 12px; }
.zmtw-benchmark-headlines p { margin-top: 8px; font-size: 14px; line-height: 1.7; }
.zmtw-benchmark-account-strip article { padding: 18px 20px; }
.zmtw-benchmark-account-strip span { font-size: 11px; }
.zmtw-benchmark-account-strip strong { margin-top: 6px; font-size: 14px; }
.zmtw-benchmark-account-strip small { margin-top: 4px; font-size: 12px; }
.zmtw-benchmark-history > header { min-height: 72px; padding: 14px 18px; }
.zmtw-benchmark-history > header strong { font-size: 15px; }
.zmtw-benchmark-history > header small { margin-top: 3px; font-size: 12px; }
.zmtw-benchmark-history-item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; min-height: 104px; padding: 16px 18px; transition-property: background-color, box-shadow, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
.zmtw-benchmark-history-item:active { scale: .99; }
.zmtw-benchmark-history-icon { width: 40px; height: 40px; }
.zmtw-benchmark-history-item strong { font-size: 14px; }
.zmtw-benchmark-history-item small { margin-top: 4px; font-size: 12px; }
.zmtw-benchmark-history-item em { margin-top: 6px; font-size: 12px; }
.zmtw-benchmark-history-item > b { font-size: 12px; }
.zmtw-benchmark-history > button { min-height: 48px; font-size: 13px; }
.zmtw-benchmark-history-empty { gap: 7px; padding: 34px; }
.zmtw-benchmark-history-empty strong { font-size: 15px; }
.zmtw-benchmark-history-empty p { font-size: 13px; }

/* The benchmark report is a reading surface, so it uses a larger independent type scale. */
.zmtw-benchmark-report-dialog .zmtw-report-frame > header h2 { font-size: 22px; }
.zmtw-benchmark-report-dialog .zmtw-report-frame > header p { font-size: 13px; }
.zmtw-benchmark-report-dialog .zmtw-report-body { grid-template-columns: 286px minmax(0, 1fr); }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav { padding: 18px 12px 32px; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav > strong { padding: 0 11px 14px; font-size: 12px; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav > button,
.zmtw-benchmark-nav-chapter { grid-template-columns: 36px minmax(0, 1fr); gap: 8px; min-height: 46px; padding: 9px 10px; font-size: 13px; line-height: 1.45; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav button span { font-size: 11px; font-variant-numeric: tabular-nums; }
.zmtw-benchmark-report-dialog .zmtw-report-body > nav button { transition-property: color, background-color, box-shadow; transition-duration: 140ms; transition-timing-function: ease-out; }
.zmtw-benchmark-nav-group { margin-top: 7px; padding-top: 7px; }
.zmtw-benchmark-nav-group > div { gap: 2px; margin: 3px 3px 10px 21px; padding-left: 10px; }
.zmtw-benchmark-nav-group > div button { grid-template-columns: 40px minmax(0, 1fr); gap: 6px; min-height: 38px; padding: 7px 8px; font-size: 12px; line-height: 1.5; }
.zmtw-benchmark-report-dialog .zmtw-report-body > article { padding: 40px 48px 88px; font-size: 16px; }
.zmtw-benchmark-report-document { width: min(1040px, 100%); }
.zmtw-benchmark-cover-mark > span { width: 42px; height: 42px; font-size: 13px; }
.zmtw-benchmark-cover-mark small { font-size: 12px; }
.zmtw-benchmark-cover-copy > span { font-size: 13px; }
.zmtw-benchmark-cover-copy h1 { font-size: 42px; text-wrap: balance; }
.zmtw-benchmark-cover-copy p { font-size: 17px; }
.zmtw-benchmark-report-cover dt { font-size: 12px; }
.zmtw-benchmark-report-cover dd { margin-top: 7px; font-size: 15px; }
.zmtw-benchmark-report-cover footer { font-size: 11px; }
.zmtw-benchmark-report-toc,
.zmtw-benchmark-report-headline,
.zmtw-benchmark-report-chapter { margin-top: 24px; padding: 34px 36px; box-shadow: 0 1px 2px rgba(43, 36, 25, .05), 0 12px 28px rgba(43, 36, 25, .08); }
.zmtw-benchmark-report-toc > header span,
.zmtw-benchmark-report-headline > header span { font-size: 12px; }
.zmtw-benchmark-report-toc h2,
.zmtw-benchmark-report-headline h2 { margin-top: 8px; font-size: 28px; line-height: 1.35; }
.zmtw-benchmark-report-toc > header p { margin-top: 8px; font-size: 14px; line-height: 1.6; }
.zmtw-benchmark-report-toc > ol { gap: 0 32px; margin-top: 26px; }
.zmtw-benchmark-report-toc > ol > li { padding: 14px 0; }
.zmtw-benchmark-report-toc > ol > li > a { grid-template-columns: 40px minmax(0, 1fr); gap: 9px; }
.zmtw-benchmark-report-toc > ol > li > a span { font-size: 12px; }
.zmtw-benchmark-report-toc > ol > li > a strong { font-size: 14px; line-height: 1.5; }
.zmtw-benchmark-report-toc ol ol { gap: 7px; margin: 11px 0 0 40px; }
.zmtw-benchmark-report-toc ol ol a { grid-template-columns: 44px minmax(0, 1fr); gap: 7px; font-size: 12px; line-height: 1.55; }
.zmtw-benchmark-report-toc ol ol span { font-size: 11px; }
.zmtw-benchmark-report-headline > div { margin-top: 24px; }
.zmtw-benchmark-report-headline article { grid-template-columns: 40px minmax(0, 1fr); gap: 13px; padding: 21px; }
.zmtw-benchmark-report-headline article > span { width: 38px; height: 38px; font-size: 11px; }
.zmtw-benchmark-report-headline strong { font-size: 14px; }
.zmtw-benchmark-report-headline p { margin-top: 8px; font-size: 14px; line-height: 1.75; }
.zmtw-benchmark-report-chapter > header { grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; }
.zmtw-benchmark-report-chapter > header > span { width: 54px; height: 54px; font-size: 16px; }
.zmtw-benchmark-report-chapter > header h2 { font-size: 27px; line-height: 1.35; }
.zmtw-benchmark-report-chapter > header p { margin-top: 6px; font-size: 14px; line-height: 1.6; }
.zmtw-benchmark-report-subsection { padding: 30px 0 34px; }
.zmtw-benchmark-report-subsection > header { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
.zmtw-benchmark-report-subsection > header > span { min-width: 50px; height: 32px; font-size: 12px; }
.zmtw-benchmark-report-subsection > header h3 { font-size: 20px; line-height: 1.45; }
.zmtw-benchmark-report-subsection > blockquote { margin-top: 17px; padding: 17px 19px; font-size: 15px; line-height: 1.85; }
.zmtw-benchmark-section-block { margin-top: 18px; padding: 18px 20px; }
.zmtw-benchmark-section-block > h4 { margin-bottom: 13px; font-size: 14px; line-height: 1.5; }
.zmtw-benchmark-section-block > ul,
.zmtw-benchmark-section-block > ol { gap: 10px; padding-left: 22px; }
.zmtw-benchmark-section-block li { font-size: 15px; line-height: 1.75; }
.zmtw-benchmark-section-block.is-comparison article { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 17px; }
.zmtw-benchmark-section-block.is-comparison article > span { min-height: 29px; font-size: 11px; }
.zmtw-benchmark-section-block.is-comparison strong { font-size: 14px; }
.zmtw-benchmark-section-block.is-comparison p { margin-top: 7px; font-size: 14px; line-height: 1.75; }
.zmtw-benchmark-section-block.is-comparison small { margin-top: 8px; font-size: 13px; line-height: 1.65; }
.zmtw-benchmark-action-table th,
.zmtw-benchmark-action-table td { padding: 13px; font-size: 13px; line-height: 1.65; }
.zmtw-benchmark-action-table td strong { font-size: 14px; }
.zmtw-benchmark-report-subsection > details { margin-top: 16px; padding: 13px 15px; }
.zmtw-benchmark-report-subsection > details summary { min-height: 24px; font-size: 13px; line-height: 1.6; }
.zmtw-benchmark-report-subsection > details > div { gap: 7px; margin-top: 11px; }
.zmtw-benchmark-report-subsection > details span { min-height: 28px; padding: 6px 9px; font-size: 11px; }

@media (max-width: 1480px) {
  .zmtw-benchmark-setup { grid-template-columns: minmax(0, 1fr); }
  .zmtw-benchmark-submit { position: static; }
  .zmtw-benchmark-account-controls { grid-template-columns: 170px 240px minmax(260px, 1fr); }
  .zmtw-benchmark-blueprint > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zmtw-benchmark-blueprint article:nth-child(4n) { border-right: 1px solid #eee8dc; }
  .zmtw-benchmark-blueprint article:nth-child(3n) { border-right: 0; }
}

@media (max-width: 767px) {
  .zmtw-benchmark-view { --zmtw-benchmark-control-height: 48px; }
  .zmtw-benchmark-page-head { margin-bottom: 18px; }
  .zmtw-benchmark-page-head p { font-size: 14px; }
  .zmtw-benchmark-rule { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; min-height: 0; padding: 18px 16px; }
  .zmtw-benchmark-rule > span { width: 42px; height: 42px; }
  .zmtw-benchmark-rule strong { font-size: 16px; }
  .zmtw-benchmark-rule p { font-size: 13px; }
  .zmtw-benchmark-rule > b { padding-top: 12px; font-size: 22px; }
  .zmtw-benchmark-block { padding: 18px 15px; }
  .zmtw-benchmark-block > header { gap: 11px; margin-bottom: 17px; }
  .zmtw-benchmark-block > header > span { flex-basis: 38px; width: 38px; height: 38px; }
  .zmtw-benchmark-block > header strong { font-size: 17px; }
  .zmtw-benchmark-block > header small { font-size: 13px; }
  .zmtw-benchmark-account-card > header { min-height: 0; padding: 14px; }
  .zmtw-benchmark-account-card > header > div:first-child { width: calc(100% - 52px); }
  .zmtw-benchmark-account-card > header strong,
  .zmtw-benchmark-account-card > header small { white-space: normal; }
  .zmtw-benchmark-ready { margin-left: 52px; }
  .zmtw-benchmark-account-controls { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 15px; }
  .zmtw-benchmark-account-field small { white-space: normal; }
  .zmtw-benchmark-depth,
  .zmtw-benchmark-packages > button { min-height: 96px; }
  .zmtw-benchmark-submit { padding: 21px 19px; }
  .zmtw-benchmark-submit > strong { font-size: 20px; }
  .zmtw-benchmark-blueprint > header,
  .zmtw-benchmark-result > header { padding: 20px 18px; }
  .zmtw-benchmark-blueprint h2,
  .zmtw-benchmark-result h2 { font-size: 21px; }
  .zmtw-benchmark-blueprint > header p,
  .zmtw-benchmark-result > header p { font-size: 13px; }
  .zmtw-benchmark-blueprint > div { grid-template-columns: minmax(0, 1fr); }
  .zmtw-benchmark-blueprint article { min-height: 84px; padding: 16px 18px; border-right: 0 !important; }
  .zmtw-benchmark-history-item { min-height: 100px; padding: 15px; }

  .zmtw-report-dialog.zmtw-benchmark-report-dialog { width: calc(100vw - 12px); max-width: calc(100vw - 12px); height: calc(100dvh - 12px); }
  .zmtw-benchmark-report-dialog .zmtw-report-frame > header { gap: 10px; padding: 12px 14px; }
  .zmtw-benchmark-report-dialog .zmtw-report-frame > header h2 { font-size: 17px; }
  .zmtw-benchmark-report-dialog .zmtw-report-frame > header p { font-size: 12px; }
  .zmtw-benchmark-report-dialog .zmtw-report-actions { grid-template-columns: minmax(0, 1fr) 42px; gap: 8px; }
  .zmtw-benchmark-report-dialog .zmtw-report-actions .zmtw-button { min-height: 42px; padding: 0 12px; font-size: 13px; }
  .zmtw-benchmark-report-dialog .zmtw-report-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: 220px minmax(0, 1fr); }
  .zmtw-benchmark-report-dialog .zmtw-report-body > nav { gap: 8px; padding: 10px 12px; }
  .zmtw-benchmark-report-dialog .zmtw-report-body > nav > button { min-width: 104px; height: 42px; }
  .zmtw-benchmark-nav-group { grid-template-rows: 42px minmax(0, 1fr); flex-basis: 206px; width: 206px; padding-left: 8px; }
  .zmtw-benchmark-nav-chapter { min-height: 42px; padding: 7px 9px; font-size: 12px; }
  .zmtw-benchmark-nav-group > div { margin-top: 4px; }
  .zmtw-benchmark-nav-group > div button { min-height: 34px; padding: 6px 7px; font-size: 11px; }
  .zmtw-benchmark-report-dialog .zmtw-report-body > article { padding: 16px 12px 38px; font-size: 15px; }
  .zmtw-benchmark-report-cover { min-height: 430px; padding: 26px 20px 20px; }
  .zmtw-benchmark-cover-mark small { font-size: 11px; }
  .zmtw-benchmark-cover-copy h1 { font-size: 29px; }
  .zmtw-benchmark-cover-copy p { font-size: 14px; }
  .zmtw-benchmark-report-cover dt { font-size: 11px; }
  .zmtw-benchmark-report-cover dd { font-size: 13px; }
  .zmtw-benchmark-report-cover footer { font-size: 10px; }
  .zmtw-benchmark-report-toc,
  .zmtw-benchmark-report-headline,
  .zmtw-benchmark-report-chapter { margin-top: 14px; padding: 21px 17px; }
  .zmtw-benchmark-report-toc h2,
  .zmtw-benchmark-report-headline h2 { font-size: 23px; }
  .zmtw-benchmark-report-toc > header p { font-size: 13px; }
  .zmtw-benchmark-report-toc > ol > li > a strong { font-size: 14px; }
  .zmtw-benchmark-report-toc ol ol a { font-size: 12px; }
  .zmtw-benchmark-report-headline article { padding: 18px 15px; }
  .zmtw-benchmark-report-headline strong,
  .zmtw-benchmark-report-headline p { font-size: 14px; }
  .zmtw-benchmark-report-chapter > header { grid-template-columns: 44px minmax(0, 1fr); gap: 11px; }
  .zmtw-benchmark-report-chapter > header > span { width: 44px; height: 44px; font-size: 14px; }
  .zmtw-benchmark-report-chapter > header h2 { font-size: 22px; }
  .zmtw-benchmark-report-chapter > header p { font-size: 13px; }
  .zmtw-benchmark-report-subsection { padding: 24px 0 27px; }
  .zmtw-benchmark-report-subsection > header { grid-template-columns: 46px minmax(0, 1fr); gap: 9px; }
  .zmtw-benchmark-report-subsection > header > span { min-width: 44px; font-size: 11px; }
  .zmtw-benchmark-report-subsection > header h3 { font-size: 18px; }
  .zmtw-benchmark-report-subsection > blockquote { padding: 15px 16px; font-size: 14px; }
  .zmtw-benchmark-section-block { padding: 16px 14px; }
  .zmtw-benchmark-section-block > h4 { font-size: 14px; }
  .zmtw-benchmark-section-block li { font-size: 14px; }
  .zmtw-benchmark-section-block.is-comparison p { font-size: 14px; }
  .zmtw-benchmark-section-block.is-comparison small { font-size: 12px; }
  .zmtw-benchmark-action-table th,
  .zmtw-benchmark-action-table td { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .zmtw-benchmark-account-card,
  .zmtw-benchmark-source button,
  .zmtw-benchmark-depth,
  .zmtw-benchmark-packages > button,
  .zmtw-benchmark-history-item,
  .zmtw-benchmark-report-dialog .zmtw-report-body > nav button { transition-duration: 0.01ms; }
}
