:root {
  color-scheme: light;
  --paper: #f5f6fb;
  --surface: #fff;
  --ink: #172036;
  --muted: #566278;
  --line: #dce1eb;
  --accent: #4238ae;
  --soft: #eceafe;
  --track: #e8ebf4;
  --rail: 216px;
  font: 15px/1.55 "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #7266e1; outline-offset: 2px; }
button, a { touch-action: manipulation; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, .brand strong { font-family: "Instrument Sans", "PingFang SC", system-ui, sans-serif; }
svg { width: 19px; height: 19px; flex: none; vertical-align: middle; }
.skip { position: fixed; left: 8px; top: -100px; z-index: 999; background: white; padding: 12px; }
.skip:focus { top: 8px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--rail); background: #fbfcff; border-right: 1px solid var(--line); padding: 30px 16px 18px; display: flex; flex-direction: column; z-index: 1; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 9px; margin-bottom: 35px; }
.brand strong { font-size: 23px; letter-spacing: -.035em; line-height: 1.25; display: block; }
.brand small, .eyebrow, .mono { font-family: "IBM Plex Mono", "SFMono-Regular", monospace; font-variant-numeric: tabular-nums; }
.brand small { font-size: 9px; letter-spacing: .11em; color: var(--muted); white-space: nowrap; }
.brand-symbol { width: 44px; height: 44px; flex: none; }
.brand strong { color: #142c36; }
.brand small { letter-spacing: .2em; }
.red-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ca3e4b; flex: none; }
.nav-unread { margin-left: auto; min-width: 17px; height: 17px; display: inline-grid; place-items: center; border-radius: 9px; background: #c74450; color: white; font-size: 9px; padding: 0 4px; }
.updates-button { font-size: 12px; }
.updates-summary:empty { display: none; }
.updates-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e4dccb; background: #fbf9f3; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; }
.updates-summary > div:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; font-size: 12px; }
.updates-summary small { color: var(--muted); font-size: 10px; }
.updates-summary .button, .updates-summary .table-link { font-size: 11px; }
.update-schedule { font-size: 10px; letter-spacing: .04em; color: #736044; }
.update-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; padding: 2px 6px; color: var(--muted); background: #f1f2f5; border-radius: 5px; }
.update-tag.unread { color: #865a21; background: #fff1d9; }
.has-update { border-color: #d4b98a; box-shadow: 0 0 0 1px #eddfc8; }
.matrix-product { display: flex; gap: 9px; align-items: center; min-width: 180px; }
.matrix-product .app-icon { width: 33px; height: 33px; border-radius: 8px; }
.matrix-product > div { display: grid; gap: 5px; }
.matrix-product .table-link { text-align: left; }
.matrix-product .update-tag { width: fit-content; }
.matrix .matrix-cell { font-size: 18px; min-width: 32px; height: 30px; padding: 0 5px; }
.matrix .evidence-mentioned, .matrix .evidence-observed, .matrix .evidence-verified { color: #206a50; background: #e8f4ed; }
.matrix .evidence-absent { color: #a74450; background: #fbeef0; }
.matrix-unread > th { border-left: 3px solid #c7aa7c; }
.section-title small { font-size: 12px; color: var(--muted); font-weight: 400; }
.evidence-references blockquote a { display: block; margin-top: 8px; font-size: 11px; }
@media (max-width: 720px) {
  .brand-symbol { width: 29px; height: 29px; }
  .updates-summary { align-items: start; flex-direction: column; padding: 12px; }
  .updates-summary > .actions { gap: 12px; }
  .nav-unread { margin-left: 0; min-width: 13px; height: 13px; font-size: 8px; }
  .header-actions { flex-wrap: wrap; }
}
.mark { background: var(--accent); color: white; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; flex: none; }
.mark svg { width: 26px; height: 26px; }
.nav-btn { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; border: 0; background: none; color: var(--muted); border-radius: 9px; padding: 10px 12px; margin: 3px 0; white-space: nowrap; }
.nav-btn:hover, .ghost:hover { background: var(--track); }
.nav-btn[aria-current] { background: var(--soft); color: var(--accent); font-weight: 700; }
.sidebar-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 14px 8px 0; color: var(--muted); font-size: 12px; }
.sidebar-foot a { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; text-decoration: none; font-weight: 650; }
.sidebar-foot svg { width: 16px; height: 16px; }
main { margin-left: var(--rail); padding: 41px clamp(20px, 3vw, 50px) 112px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.eyebrow { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .13em; margin-bottom: 8px; }
h1 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -.055em; line-height: 1.14; margin-bottom: 9px; }
#subtitle, .muted { color: var(--muted); }
.header-actions, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.header-actions { flex: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 13px; background: var(--surface); color: var(--ink); white-space: nowrap; text-decoration: none; }
.button svg { width: 16px; height: 16px; }
.button:hover { border-color: #aaa4d8; }
.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 650; }
.primary:hover { background: #352b91; }
.ghost { border: 0; background: transparent; padding: 7px; border-radius: 8px; color: var(--muted); }
.ghost.active { color: var(--accent); background: var(--soft); }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 23px; }
.summary:empty, .filters:empty { display: none; }
.metric { display: flex; align-items: baseline; gap: 9px; padding: 9px 14px; background: #fbfcff; font-size: 12px; color: var(--muted); }
.metric strong { color: var(--ink); font-size: 19px; }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.search { display: flex; align-items: center; gap: 8px; flex: 1 1 235px; max-width: 420px; min-width: 0; padding: 0 12px; background: white; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; }
.search:focus-within { border-color: var(--accent); }
.search input { background: transparent; height: 40px; border: 0; min-width: 0; width: 100%; color: var(--ink); }
.search input:focus-visible { outline: 0; }
select, textarea, .text-field { color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
select { max-width: 100%; min-height: 41px; }
.filters select { max-width: min(185px, 100%); }
.result-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px 14px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.result-head b { color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.card, .panel { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.card { padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.card > * { min-width: 0; }
.card-top > .actions { flex: 0 0 auto; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.app-name { display: flex; gap: 10px; align-items: center; min-width: 0; text-align: left; color: var(--ink); padding: 0; border: 0; background: none; }
.app-name > span:last-child { min-width: 0; }
.app-name strong, .app-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-name strong { font-size: 15px; }
.app-name:hover strong { color: var(--accent); }
.app-name small { color: var(--muted); font-size: 11px; }
.app-icon { display: inline-grid; place-items: center; width: 42px; aspect-ratio: 1; object-fit: cover; border-radius: 11px; font-weight: 700; background: var(--soft); color: var(--accent); flex: none; }
.contact-sheet { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 4); align-items: start; gap: 8px; overflow: auto; padding: 8px; border-radius: 9px; background: var(--track); scrollbar-width: thin; scroll-snap-type: inline proximity; }
.contact-sheet.full { grid-auto-columns: clamp(100px, 24%, 164px); }
.shot { display: grid; gap: 4px; min-width: 0; background: none; border: 0; padding: 0; color: var(--muted); text-align: left; scroll-snap-align: start; }
.shot img { width: 100%; aspect-ratio: 9 / 17.9; object-fit: contain; border-radius: 6px; background: #f7f8fc; display: block; transition: filter .18s ease; }
.shot:hover img { filter: brightness(.9); }
.shot small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.card-foot { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.tag { display: inline-block; border-radius: 5px; padding: 2px 6px; background: var(--track); font-size: 11px; color: var(--muted); white-space: nowrap; }
.tag.accent { background: var(--soft); color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.gallery figcaption { margin-top: 4px; font-size: 12px; display: grid; min-width: 0; }
.gallery figcaption .app-name { text-overflow: ellipsis; overflow: hidden; display: block; white-space: nowrap; }
.empty { text-align: center; color: var(--muted); border: 1px dashed #cbd1e3; background: #fafbff; border-radius: 12px; padding: 32px 16px; grid-column: 1 / -1; }
.empty .button { margin-top: 10px; }
.panel { padding: 16px; margin-bottom: 12px; overflow: auto; }
.panel h2 { font-size: 19px; margin-bottom: 9px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th, td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 650; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.table-link { border: 0; background: none; padding: 0; color: var(--accent); text-align: left; }
.tray { position: fixed; z-index: 2; inset: auto 18px 16px calc(var(--rail) + 18px); margin-inline: auto; width: fit-content; max-width: calc(100% - var(--rail) - 36px); background: #242344; color: white; border-radius: 12px; padding: 10px 12px; display: flex; gap: 9px; align-items: center; box-shadow: 0 8px 36px #21185245; }
.tray .tags { min-width: 0; }
.tray-name { border: 0; background: #444064; color: white; border-radius: 6px; padding: 4px 7px; white-space: nowrap; max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.tray .ghost { color: white; }
.tray .ghost:hover { color: var(--ink); }
dialog { width: min(100% - 24px, 550px); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 17px; padding: 0; max-height: min(90dvh, 100% - 18px); box-shadow: 0 18px 66px #1414374d; }
dialog::backdrop { background: #10172d75; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-head { position: sticky; top: 0; z-index: 1; background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dialog-head h2 { font-size: 19px; }
.dialog-body { padding: 18px; }
.drawer { margin: 0 0 0 auto; width: min(96vw, 750px); max-width: none; height: 100dvh; max-height: 100dvh; border-radius: 17px 0 0 17px; }
.detail-identity { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.detail-identity h2 { line-height: 1.25; overflow-wrap: anywhere; }
.detail-identity small { color: var(--muted); }
.detail-identity .app-icon { width: 58px; }
.deck-links { margin: 12px 0; }
.description { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 270px; overflow: auto; margin-top: 8px; }
.details-block { margin: 15px 0; }
.details-block > h3 { font-size: 15px; margin-bottom: 7px; }
.details-block .muted, .muted.small { font-size: 12px; }
.elements { display: grid; gap: 7px; padding: 0; list-style: none; margin: 10px 0; }
.elements li { border-left: 2px solid #aba6ef; padding: 7px 10px; background: #f5f4ff; border-radius: 0 8px 8px 0; overflow-wrap: anywhere; }
.elements li p { margin: 3px 0 5px; }
.evidence { display: flex; gap: 5px; flex-wrap: wrap; }
.evidence .button { padding: 3px 6px; font-size: 11px; }
.analysis ul:not(.elements) { padding-left: 18px; margin: 4px 0; }
.form-stack { display: grid; gap: 10px; }
.form-stack label { display: grid; gap: 5px; font-weight: 600; }
.form-stack textarea { width: 100%; min-height: 86px; resize: vertical; }
.form-error { color: #9b283d; font-size: 13px; min-height: 1em; }
.compare { width: min(97vw, 1260px); }
.compare-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 10px; overflow: auto; align-items: start; padding: 3px; }
.compare-grid .panel { padding: 11px; }
.compare-grid .contact-sheet { grid-auto-columns: calc((100% - 8px) / 2); }
.lightbox { margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; border-radius: 0; border: 0; background: #121626; color: white; }
.lightbox .dialog-head { background: #1e2438; border-color: #39415b; flex-wrap: wrap; }
.lightbox .ghost, .lightbox a { color: #e0dcff; }
.lightbox .ghost:hover { color: var(--ink); }
.lightbox img { display: block; width: min(100%, 1300px); height: calc(100dvh - 99px); object-fit: contain; margin: 7px auto 0; }
.toast { position: fixed; z-index: 5; bottom: 20px; right: 20px; max-width: calc(100vw - 40px); padding: 11px 15px; border-radius: 9px; background: #211d49; color: white; box-shadow: 0 6px 24px #20184f45; }
.toast[data-error] { background: #81273b; }
@media (min-width: 1550px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { :root { --rail: 176px; } .sidebar { padding-inline: 11px; } }
@media (max-width: 720px) {
  :root { --rail: 0px; }
  .sidebar { position: sticky; top: 0; width: 100%; margin: 0; border: 0; border-bottom: 1px solid var(--line); padding: 8px 12px; }
  .brand { margin: 0 0 6px; padding: 0; }
  .brand strong { font-size: 17px; display: inline; margin-right: 5px; }
  .brand small { font-size: 8px; }
  .mark { width: 27px; height: 27px; border-radius: 8px; }
  .mark svg { width: 18px; height: 18px; }
  #nav { display: flex; overflow: auto; }
  .nav-btn { margin: 0; width: auto; padding: 6px 9px; font-size: 12px; gap: 5px; }
  .nav-btn svg { width: 14px; height: 14px; }
  .sidebar-foot { display: none; }
  main { margin: 0; padding: 22px 13px 110px; }
  .page-head { align-items: start; flex-direction: column; gap: 14px; }
  .summary { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 5px 10px; }
  .cards { grid-template-columns: 1fr; }
  .search { flex-basis: 100%; max-width: none; }
  .tray { flex-wrap: wrap; width: auto; }
  .drawer { width: 100%; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.light-source .button { background: #353151; border-color: #565174; }
.shot-error { display: grid; place-items: center; text-align: center; width: 100%; aspect-ratio: 9 / 17.9; color: var(--muted); background: #f7f8fc; border-radius: 6px; font-size: 11px; padding: 5px; }
.lightbox .shot-error { aspect-ratio: auto; min-height: 40vh; background: transparent; color: white; }
.shot:focus-visible { outline-offset: -2px; }
.analysis, td, .details-block { overflow-wrap: anywhere; }
.mobile-export { display: none; }
@media (max-width: 720px) { .mobile-export { display: inline-flex; margin-bottom: 10px; } }
@media (max-width: 720px) {
  .ghost { padding: 10px; }
  .card-top, .card-foot { gap: 3px; }
}
.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.insight-grid .panel { margin-bottom: 0; }
.insight-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; margin-bottom: 6px; }
.insight-count { font-size: 11px; color: var(--muted); font-weight: 500; }
.design-heading { padding: 12px 0 20px; }
.design-heading h2 { font-size: clamp(23px, 2.6vw, 32px); letter-spacing: -.035em; margin-bottom: 8px; }
.design-heading p:last-child { color: var(--muted); font-size: 13px; }
.design-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 13px; margin-bottom: 20px; }
.design-tabs button { border: 1px solid var(--line); border-radius: 8px; padding: 9px 15px; background: white; color: var(--muted); font-weight: 650; }
.design-tabs button[aria-pressed="true"] { color: white; background: var(--accent); border-color: var(--accent); }
.design-tabs > span { font-size: 12px; color: var(--muted); margin-left: auto; }
.design-case-grid, .market-study-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.design-case { min-width: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: white; }
.design-preview { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 40px 22px 12px; background: #edf0f8; }
.design-preview figure { margin: 0; min-width: 0; }
.design-preview .shot { width: 100%; }
.design-preview .shot img { aspect-ratio: auto; height: 265px; object-fit: contain; background: transparent; border-radius: 0; }
.design-preview figcaption { text-align: center; font-size: 10px; color: var(--muted); padding-top: 8px; }
.design-proof { position: absolute; top: 11px; left: 14px; font-size: 10px; color: #526078; }
.design-proof::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #8290aa; margin-right: 6px; }
.design-proof.verified { color: #186548; }
.design-proof.verified::before { background: #248364; }
.design-card-body { padding: 20px; }
.design-card-body h2 { font-size: 21px; line-height: 1.45; margin: 10px 0 7px; }
.design-card-body h2 button { font: inherit; text-align: left; background: transparent; border: 0; padding: 0; color: inherit; }
.design-card-body h2 button:hover { color: var(--accent); }
.design-thesis { color: var(--muted); font-size: 13px; }
.design-reason { padding: 12px 0 12px 12px; border-left: 2px solid #c8c2f0; margin: 17px 0; }
.design-reason b { font-size: 11px; color: var(--accent); }
.design-reason p { font-size: 13px; margin-top: 5px; }
.design-card-product { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); padding-top: 13px; }
.design-card-product > div:first-of-type { min-width: 0; flex: 1; }
.design-card-product .app-icon { width: 32px; height: 32px; border-radius: 8px; }
.design-card-product .table-link { text-align: left; overflow-wrap: anywhere; font-size: 12px; }
.design-card-product small { display: block; font-size: 10px; color: var(--muted); }
.design-card-product .actions { gap: 2px; flex-wrap: nowrap; }
.design-read { margin-top: 15px; width: 100%; justify-content: space-between; font-size: 12px; }
.design-index { margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--line); }
.design-index > summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.design-index > h3 { font-size: 16px; margin: 20px 0 10px; }
#design-detail { width: min(1150px, 96vw); max-width: 96vw; }
.design-detail-layout { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.3fr); align-items: start; }
.design-evidence { min-width: 0; padding: 24px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 16px; background: #edf0f8; }
.design-evidence > .tags, .design-evidence > p { grid-column: 1 / -1; }
.design-evidence figure { margin: 0; min-width: 0; }
.design-evidence .shot img { background: transparent; aspect-ratio: auto; height: 300px; object-fit: contain; }
.design-evidence figcaption { font-size: 11px; margin-top: 8px; color: #48536c; }
.design-evidence figcaption b { display: block; color: var(--ink); margin-bottom: 3px; }
.design-evidence figure > a { font-size: 10px; display: inline-flex; align-items: center; gap: 3px; margin-top: 7px; }
.design-evidence figure > a svg { width: 12px; height: 12px; }
.design-detail-copy { padding: 24px 26px; min-width: 0; font-size: 13px; }
.design-detail-thesis { font-size: 19px; font-weight: 600; line-height: 1.7; margin-top: 12px; }
.design-detail-copy section { padding-top: 22px; margin-top: 20px; border-top: 1px solid var(--line); }
.design-detail-copy h3 { font-size: 15px; margin-bottom: 11px; }
.design-detail-copy dl, .market-study dl { margin: 0; }
.design-detail-copy dl > div, .market-study dl > div { margin-top: 10px; }
.design-detail-copy dt, .market-study dt { font-size: 11px; font-weight: 650; color: var(--muted); }
.design-detail-copy dd, .market-study dd { margin: 4px 0 0; line-height: 1.8; }
.design-detail-copy section > .button { margin-top: 14px; }
.design-principle { margin-bottom: 17px; }
.design-principle h4 { font-size: 14px; margin: 15px 0 8px; display: flex; align-items: center; gap: 8px; }
.design-principle h4 > span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--soft); color: var(--accent); font-size: 11px; }
.design-flow { padding-left: 23px; border-left: 2px solid var(--line); list-style-position: outside; }
.design-flow li { padding: 4px 0 7px 4px; }
.design-transfer { background: #f7f6ff; padding: 18px !important; border: 1px solid #e3dff5 !important; border-radius: 10px; }
.design-detail-footer { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.design-detail-footer a { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; }
.design-method { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 20px; }
.design-method h2 { font-size: 21px; }
.design-method ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 22px 0 15px; list-style: none; gap: 15px; counter-reset: method; }
.design-method li { counter-increment: method; border-top: 2px solid #c8c2ef; padding-top: 10px; }
.design-method li b::before { content: counter(method) ' · '; color: var(--accent); }
.design-method li b, .design-method li span { display: block; font-size: 12px; }
.design-method li span { color: var(--muted); font-size: 11px; margin-top: 4px; }
.design-method > p { font-size: 12px; color: var(--muted); }
.market-study { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 23px; min-width: 0; }
.market-study header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.market-study header h2 { font-size: 22px; margin-right: auto; }
.market-study header > span:last-child { width: 100%; font-size: 11px; color: var(--muted); }
.market-study h3 { font-size: 17px; margin-top: 17px; }
.market-study dd { font-size: 13px; }
.design-market-evidence { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 18px; display: grid; gap: 7px; }
.design-market-evidence > b { font-size: 11px; color: var(--muted); }
.design-market-evidence .table-link { text-align: left; font-size: 12px; }
.market-study > .evidence { margin-top: 15px; }
.rank-context { margin: 12px 0 16px; font-size: 12px; color: var(--muted); }
.rank-method { margin-top: 7px; }
.rank-method summary { cursor: pointer; color: var(--accent); }
.rank-method p { max-width: 1000px; margin: 7px 0; line-height: 1.8; }
.ranking-panel { padding: 8px 14px; max-height: min(68vh, 760px); }
.ranking-table { min-width: 1120px; font-size: 12px; }
.ranking-table thead th { position: sticky; top: -8px; background: white; z-index: 2; white-space: nowrap; font-size: 11px; }
.ranking-table thead th:first-child { z-index: 3; }
.ranking-table td { vertical-align: middle; }
.ranking-table td small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.ranking-table th:first-child, .ranking-table td:first-child { position: sticky; left: 0; z-index: 1; background: white; min-width: 230px; max-width: 250px; }
.ranking-table td:first-child::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rank-app { display: flex; align-items: center; gap: 10px; padding: 5px 10px 5px 0; text-align: left; border: 0; background: transparent; color: var(--ink); width: 100%; }
.rank-app > span { min-width: 0; }
.rank-app strong { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.rank-app:hover strong { color: var(--accent); }
.rank-app .app-icon { width: 36px; height: 36px; border-radius: 9px; }
.rank-number { display: inline-grid; place-items: center; min-width: 29px; height: 29px; font-family: 'SFMono-Regular', monospace; font-size: 13px; }
.rank-number.leading { color: var(--accent); background: var(--soft); border-radius: 8px; font-weight: 700; }
.rank-pending { color: #8a6630; font-size: 11px; }
.rank-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) and (min-width: 721px) {
  .design-case-grid, .market-study-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .design-preview { gap: 10px; padding-inline: 12px; }
  .design-preview .shot img { height: 285px; }
  .design-card-body { padding: 16px; }
  .design-card-body h2 { font-size: 19px; }
}
@media (max-width: 720px) {
  .design-case-grid, .market-study-grid, .design-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .design-tabs > span { width: 100%; margin: 4px 0 0; }
  .design-heading { padding-top: 5px; }
  .design-card-body { padding: 17px; }
  .design-preview { padding-inline: 14px; gap: 12px; }
  .design-preview .shot img { height: 255px; }
  .design-method { padding: 18px; }
  .design-method ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-detail-copy { padding: 20px 17px; }
  .design-evidence { padding: 20px 14px; gap: 12px; }
  .design-evidence .shot img { height: 265px; }
  .ranking-table th:first-child, .ranking-table td:first-child { min-width: 180px; max-width: 190px; }
  .rank-app { gap: 7px; }
  .rank-app .app-icon { width: 30px; height: 30px; }
}
@media (max-width: 720px) { .insight-grid { grid-template-columns: 1fr; } }
.load-more { display: flex; justify-content: center; margin: 20px 0 10px; }
.portrait .detail-identity { margin: 0; min-width: 0; }
.portrait .portrait-summary { margin: 10px 0; }
.portrait .card-top + .tags { margin-top: 7px; }
.brief-fields { margin: 10px 0; }
.brief-fields > div { display: grid; grid-template-columns: minmax(5.5rem, .25fr) 1fr; border-top: 1px solid var(--line); gap: 9px; padding: 7px 0; }
.brief-fields dt { color: var(--muted); font-weight: 650; }
.brief-fields dd { margin: 0; overflow-wrap: anywhere; }
.quote { margin-top: 4px; font-size: .86rem; color: var(--accent); }
.quote summary { cursor: pointer; width: fit-content; }
blockquote { margin: 6px 0 8px; padding: 8px 10px; border-left: 2px solid #aba6ef; border-radius: 0 5px 5px 0; background: #f4f3fe; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.reference-section { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.topic-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; margin-bottom: 13px; }
.topic-toolbar label { display: grid; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 650; }
.topic-toolbar input { width: 120px; min-height: 41px; }
.topic-overview p + p, .topic-overview p + .tags { margin-top: 8px; }
.matrix .legend { margin: 4px 0 9px; }
.matrix tr > :first-child { min-width: 140px; }
.matrix th small { display: block; color: var(--muted); font-weight: 400; }
.matrix-cell { border: 1px solid transparent; font-weight: 650; }
.matrix-cell:hover { border-color: currentColor; }
.evidence-mentioned { color: #44358c; background: #ede9ff; }
.evidence-observed { color: #19536d; background: #dff4fb; }
.evidence-verified { color: #176047; background: #dff3e8; }
.evidence-unconfirmed { color: #556278; background: #edf0f5; }
.row-between { display: flex; justify-content: space-between; gap: 8px; }
.coverage-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px 16px; margin-top: 10px; }
.coverage-bars progress { width: 100%; accent-color: var(--accent); }
.opportunities { display: grid; gap: 10px; }
.opportunities article { border: 1px solid var(--line); border-radius: 9px; padding: 10px; }
.section-title { font-size: 19px; margin: 10px 0; }
@media (max-width: 890px) and (min-width: 721px) { .portrait .brief-fields > div { display: block; } }
