:root {
  --bg: #edf2f2;
  --panel: #f9fbfb;
  --line: rgba(33, 52, 58, .14);
  --line-strong: rgba(33, 52, 58, .22);
  --text: #21343a;
  --muted: #5f747b;
  --accent: #117c82;
  --accent-2: #375a67;
  --accent-3: #d19a45;
  --shadow: 0 18px 42px rgba(33, 52, 58, .08);
  --radius: 18px;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.68;
  background:
    linear-gradient(90deg, rgba(17,124,130,.06) 1px, transparent 1px),
    linear-gradient(rgba(17,124,130,.04) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbfb 0%, #edf2f2 100%);
  background-size: 28px 28px, 28px 28px, auto;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; transition: .22s ease; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { border: 0; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.compact-shell { width: min(1060px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(237,242,242,.92);
  backdrop-filter: blur(12px);
}
.header-bar { min-height: 54px; display: flex; align-items: center; gap: 18px; }
.brand-flag {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.78);
  font-size: .92rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
}
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  border: 1px solid transparent; color: var(--muted); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.nav-link:hover, .nav-link.is-active { border-color: var(--accent); color: var(--accent); background: rgba(17,124,130,.08); }
.menu-toggle {
  display: none; width: 40px; height: 40px; margin-left: auto; padding: 0;
  border: 1px solid var(--line); background: var(--panel);
  flex-direction: column; justify-content: center; align-items: center; gap: 4px; cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--text); transition: .22s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main { padding: 30px 0 84px; }
.page-shell { padding-top: 24px; }
.board-stage, .matrix-section, .record-section, .author-register, .case-related { margin-top: 52px; }
.board-stage { margin-top: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) 320px; gap: 24px; }

.hero-record, .watchlist, .matrix-item, .record-row, .register-row, .report-sheet, .utility-card, .profile-file, .single-file, .archive-register-row, .case-card, .case-switch-card, .comment-file, .share-rack {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(246,250,250,.96));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-record, .watchlist, .report-sheet, .utility-card, .profile-file, .single-file, .comment-file { padding: 26px; }
.panel-head, .page-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
  margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong);
}
.panel-head-tight { margin-bottom: 18px; }
.eyebrow {
  margin: 0 0 10px; color: var(--accent); font-size: .74rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase;
}
.panel-head h1, .panel-head h2, .page-heading h1, .page-heading h2, .report-head h1, .profile-grid h1 {
  margin: 0; font-weight: 900; line-height: 1.08; letter-spacing: -.04em;
}
.panel-head h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
.panel-head h2, .page-heading h2 { font-size: clamp(1.34rem, 2.1vw, 1.8rem); }
.page-heading h1, .report-head h1 { font-size: clamp(2rem, 3vw, 2.9rem); }
.panel-code {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
  border: 1px solid rgba(17,124,130,.24); color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
}

.crumbs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--muted);
  font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

.hero-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; align-items: center; }
.hero-copy { display: grid; gap: 14px; }
.hero-copy h2, .watch-row h3, .record-cell-main h3, .register-col-main h2, .case-card h2, .case-card h3, .archive-register-row h2 {
  margin: 0; font-weight: 900; line-height: 1.14; letter-spacing: -.04em;
}
.hero-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.hero-copy p, .record-cell-main p, .register-col-main p, .case-card p, .profile-grid p:last-child, .editor-file p { margin: 0; color: var(--muted); line-height: 1.72; }

.data-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.data-tags a {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px;
  border: 1px solid rgba(17,124,130,.22); color: var(--accent); background: rgba(17,124,130,.08);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.data-tags a:hover { color: #fff; background: var(--accent); }
.data-meta, .report-stats {
  display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted);
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

.hero-thumb, .record-thumb, .register-thumb, .case-media {
  display: block; overflow: hidden; background: #d7e3e3; border: 1px solid var(--line);
}
.hero-thumb { aspect-ratio: 4 / 3; }
.hero-thumb img, .record-thumb img, .register-thumb img, .case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }

.watch-items { display: grid; gap: 12px; }
.watch-row {
  display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 14px; align-items: start;
  padding-bottom: 12px; border-bottom: 1px dashed var(--line);
}
.watch-row:last-child { padding-bottom: 0; border-bottom: 0; }
.watch-row span, .register-col-index, .record-cell-no, .case-card-top span, .matrix-item span, .register-link span {
  color: var(--accent); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
}
.watch-row time, .log-item time, .register-col-date, .record-cell-date, .case-card-top time { color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.matrix-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.matrix-item { display: grid; gap: 12px; min-height: 124px; padding: 18px; }
.matrix-item strong { font-size: 1rem; line-height: 1.32; }

.page-home-1785 .board-stage-home {
  grid-template-columns: 1fr;
}

.primary-grid-shell {
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(246,250,250,.98));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.panel-head-primary-grid {
  align-items: center;
  margin-bottom: 20px;
}

.panel-head-primary-grid .eyebrow {
  margin-bottom: 0;
}

.primary-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.primary-grid-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 18px;
  background: #d7e3e3;
  box-shadow: 0 18px 32px rgba(33, 52, 58, .12);
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease;
}

.primary-grid-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(15, 27, 31, 0) 14%, rgba(15, 27, 31, .14) 42%, rgba(15, 27, 31, .88) 100%);
}

.primary-grid-card-feature {
  grid-column: span 6;
  min-height: 392px;
}

.primary-grid-card-support {
  grid-column: span 3;
  min-height: 188px;
}

.primary-grid-card-regular {
  grid-column: span 4;
  min-height: 230px;
}

.primary-grid-media {
  position: absolute;
  inset: 0;
  display: block;
}

.primary-grid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .38s ease;
}

.primary-grid-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 18px;
  color: #fff;
}

.primary-grid-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.primary-grid-tags {
  flex: 1;
  min-width: 0;
}

.primary-grid-tags a {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.2);
  color: #fff;
  backdrop-filter: blur(10px);
}

.primary-grid-tags a:hover {
  background: rgba(255,255,255,.92);
  color: var(--text);
  border-color: transparent;
}

.primary-grid-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.primary-grid-copy h2,
.primary-grid-copy h3 {
  margin: 0;
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.04em;
  text-shadow: 0 12px 20px rgba(0, 0, 0, .24);
}

.primary-grid-card-feature .primary-grid-copy h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  max-width: 11ch;
}

.primary-grid-card-support .primary-grid-copy h3 {
  font-size: 1rem;
}

.primary-grid-card-regular .primary-grid-copy h3 {
  font-size: 1.14rem;
}

.primary-grid-copy p {
  display: -webkit-box;
  margin: 0;
  max-width: 42ch;
  color: rgba(255,255,255,.86);
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.primary-grid-meta {
  color: rgba(255,255,255,.86);
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.primary-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(33, 52, 58, .18);
}

.primary-grid-card:hover img {
  transform: scale(1.04);
}

.page-home-1785 .matrix-section-home {
  margin-top: 38px;
}

.page-home-1785 .matrix-grid-home {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.page-home-1785 .matrix-item-home {
  min-height: 88px;
  padding: 14px;
  gap: 8px;
}

.page-home-1785 .matrix-item-home span {
  font-size: .68rem;
  letter-spacing: .14em;
}

.page-home-1785 .matrix-item-home strong {
  font-size: .94rem;
  line-height: 1.24;
}

.record-list, .register-table { display: grid; gap: 14px; }
.record-row, .register-row {
  display: grid; grid-template-columns: 70px 120px minmax(0,1fr) 150px 150px; gap: 14px; align-items: center; padding: 16px 18px;
}
.register-row { grid-template-columns: 70px 130px minmax(0,1fr) 160px; }
.record-cell-main, .register-col-main { display: grid; gap: 10px; }
.record-cell-main h3, .register-col-main h2 { font-size: 1.2rem; }
.record-thumb, .register-thumb { aspect-ratio: 4 / 3; }
.register-col-date { font-size: .78rem; }

.page-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 30px; align-items: start; }
.content-column, .sidebar-column { min-width: 0; }
.utility-stack { position: sticky; top: 78px; display: grid; gap: 18px; }
.utility-head { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }
.utility-head span { display: block; margin-bottom: 6px; color: var(--accent); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.utility-head h2 { margin: 0; font-size: 1rem; line-height: 1.2; font-weight: 900; }
.editor-file { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 14px; align-items: center; }
.editor-file img { width: 74px; height: 74px; object-fit: cover; }
.editor-file strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.register-links, .log-list { display: grid; gap: 12px; }
.register-link {
  display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 12px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line); background: rgba(255,255,255,.74);
}
.register-link strong { font-size: .96rem; line-height: 1.3; }
.log-item { padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.log-item:last-child { padding-bottom: 0; border-bottom: 0; }
.log-item a { display: block; margin-top: 6px; font-weight: 800; line-height: 1.4; }

.report-sheet { padding: 28px; }
.report-head { padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.report-stats { margin-top: 20px; white-space: nowrap; overflow-x: auto; flex-wrap: nowrap; }
.report-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
}
.report-author img { width: 26px; height: 26px; object-fit: cover; border-radius: 50%; }
.report-author-prefix {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.report-author span:last-child {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(17,124,130,.26);
}
.report-author:hover span:last-child {
  color: var(--text);
  border-bottom-color: var(--text);
}
.article-content {
  margin-top: 28px; font-size: .985rem; letter-spacing: .2px; color: #171717; line-height: 1.75;
  word-break: normal; overflow-wrap: normal;
}
.article-content p { margin: 0 0 1.2em; }
.article-content h2, .article-content h3, .article-content h4 {
  margin: 1.55em 0 .65em; color: var(--text); font-weight: 900; line-height: 1.14; letter-spacing: -.03em;
}
.article-content h2 { font-size: 1.7rem; }
.article-content h3 { font-size: 1.32rem; }
.article-content h4 { font-size: 1.12rem; }
.article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-content ul, .article-content ol { margin: 0 0 1.2em; padding-left: 1.35em; }
.article-content blockquote { margin: 1.5em 0; padding: 18px 20px; border-left: 4px solid var(--accent); background: rgba(17,124,130,.08); }
.article-content img { height: auto; margin: 28px auto; box-shadow: var(--shadow); }

.author-file {
  display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 18px; align-items: center;
  margin-top: 28px; padding: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.76);
}
.author-file-media { display: block; width: 110px; height: 110px; overflow: hidden; }
.author-file-media img { width: 100%; height: 100%; object-fit: cover; }
.author-file h2 { margin: 0; font-size: 1.18rem; font-weight: 900; line-height: 1.2; }
.author-file p:last-child { margin: 10px 0 0; color: var(--muted); }

.share-rack {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; margin-top: 28px; padding: 22px 24px;
}
.share-rack h2 { margin: 0; font-size: 1.18rem; font-weight: 900; line-height: 1.2; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.share-btn, .submit-btn {
  min-height: 44px; padding: 0 18px; background: var(--text); color: #fff; font-weight: 800; cursor: pointer;
}
.case-switch { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.case-switch-card { display: grid; gap: 10px; padding: 20px 22px; }
.case-switch-card span { color: var(--accent); font-size: .74rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.case-switch-card strong { line-height: 1.34; }
.comment-file { margin-top: 28px; }
.comment-form-static { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.comment-form-static input, .comment-form-static textarea {
  width: 100%; padding: 15px 16px; border: 1px solid var(--line); background: rgba(255,255,255,.84); color: var(--text); outline: none;
}
.comment-form-static input:focus, .comment-form-static textarea:focus { border-color: rgba(17,124,130,.42); box-shadow: 0 0 0 4px rgba(17,124,130,.08); }

.profile-file, .single-file { padding: 28px; }
.profile-grid { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 24px; align-items: center; }
.profile-grid img { width: 210px; height: 210px; object-fit: cover; }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.case-grid-small { grid-template-columns: repeat(3, minmax(0,1fr)); }
.case-card { display: grid; gap: 14px; padding: 18px; }
.case-card-bar { width: 100%; height: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-3)); }
.case-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-card h2 { font-size: 1.24rem; }
.case-card h3 { font-size: 1.06rem; }
.case-media { aspect-ratio: 4 / 3; }

.archive-register { display: grid; gap: 14px; }
.archive-register-row { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 18px; align-items: center; padding: 18px 20px; }
.archive-register-row time { color: var(--accent); font-size: .8rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.archive-register-row h2 { font-size: 1.14rem; line-height: 1.32; }

.control-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.control-chip {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 16px;
  border: 1px solid var(--line); background: rgba(255,255,255,.86); color: var(--text);
  font-size: .84rem; font-weight: 900; letter-spacing: .08em; line-height: 1;
}
.control-chip:hover, .control-chip.is-current { background: var(--text); color: #fff; border-color: var(--text); }
.control-chip.is-disabled, .control-chip.is-gap { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: rgba(237,242,242,.92); }
.footer-bar { padding: 24px 0 34px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-link { color: var(--muted); }
.back-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 46px; height: 46px;
  background: var(--text); color: #fff; font-weight: 900; box-shadow: 0 16px 28px rgba(33,52,58,.16);
  opacity: 0; pointer-events: none; cursor: pointer; transition: .22s ease;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }

.hero-copy h2 a:hover, .primary-grid-copy h2 a:hover, .primary-grid-copy h3 a:hover, .watch-row h3 a:hover, .record-cell-main h3 a:hover, .register-col-main h2 a:hover, .case-card h2 a:hover, .case-card h3 a:hover, .archive-register-row h2 a:hover, .log-item a:hover, .footer-link:hover { color: var(--accent); }
.hero-thumb:hover img, .record-row:hover img, .register-row:hover img, .case-card:hover img { transform: scale(1.04); }
.matrix-item:hover, .record-row:hover, .register-row:hover, .case-card:hover, .case-switch-card:hover, .archive-register-row:hover, .register-link:hover { transform: translateY(-3px); border-color: rgba(17,124,130,.24); }

@media (max-width: 1180px) {
  .board-stage, .page-grid { grid-template-columns: 1fr; }
  .utility-stack { position: static; }
  .matrix-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .case-grid-small { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .page-home-1785 .primary-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-home-1785 .primary-grid-card-feature {
    grid-column: span 6;
    min-height: 340px;
  }

  .page-home-1785 .primary-grid-card-support,
  .page-home-1785 .primary-grid-card-regular {
    grid-column: span 3;
    min-height: 220px;
  }

  .page-home-1785 .matrix-grid-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero-layout, .profile-grid, .author-file { grid-template-columns: 1fr; }
  .hero-thumb, .profile-grid img, .author-file-media { margin: 0 auto; }
  .record-row, .register-row { grid-template-columns: 70px 110px minmax(0,1fr); }
  .record-cell-meta, .record-thumb, .register-thumb { grid-column: 3; }
  .case-grid, .case-switch, .share-rack { grid-template-columns: 1fr; }
  .share-actions { justify-content: flex-start; }

  .page-home-1785 .primary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home-1785 .primary-grid-card-feature {
    grid-column: span 2;
    min-height: 300px;
  }

  .page-home-1785 .primary-grid-card-support,
  .page-home-1785 .primary-grid-card-regular {
    grid-column: span 1;
    min-height: 232px;
  }

  .page-home-1785 .primary-grid-card-feature .primary-grid-copy h2 {
    max-width: none;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
  }

  .page-home-1785 .matrix-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .shell, .compact-shell { width: min(100%, calc(100% - 20px)); }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 10px; right: 10px; top: calc(100% + 8px); margin-left: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .22s ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list {
    flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow);
  }
  main { padding: 22px 0 74px; }
  .panel-head, .page-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .panel-head h1, .page-heading h1, .report-head h1, .profile-grid h1 { font-size: clamp(1.34rem, 6vw, 1.56rem); }
  .panel-head h2, .page-heading h2 { font-size: clamp(1.24rem, 5.4vw, 1.46rem); }
  .matrix-grid, .case-grid, .case-grid-small, .form-grid { grid-template-columns: 1fr; }
  .hero-record, .watchlist, .report-sheet, .utility-card, .profile-file, .single-file, .comment-file { padding: 20px; }
  .record-row, .register-row { grid-template-columns: 1fr; gap: 12px; }
  .record-cell-meta, .record-thumb, .register-thumb { grid-column: auto; }
  .report-stats { padding-bottom: 6px; }
  .archive-register-row { grid-template-columns: 1fr; gap: 8px; }
  .back-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }

  .page-home-1785 .primary-grid-shell {
    padding: 20px;
  }

  .page-home-1785 .panel-head-primary-grid {
    align-items: flex-start;
  }

  .page-home-1785 .primary-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-home-1785 .primary-grid-card-feature,
  .page-home-1785 .primary-grid-card-support,
  .page-home-1785 .primary-grid-card-regular {
    grid-column: span 1;
    min-height: 258px;
  }

  .page-home-1785 .primary-grid-card-feature .primary-grid-copy h2,
  .page-home-1785 .primary-grid-card-support .primary-grid-copy h3,
  .page-home-1785 .primary-grid-card-regular .primary-grid-copy h3 {
    font-size: 1.2rem;
    max-width: none;
  }

  .page-home-1785 .matrix-section-home {
    margin-top: 32px;
  }

  .page-home-1785 .matrix-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-home-1785 .matrix-item-home {
    min-height: 74px;
    padding: 12px;
  }

  .page-home-1785 .record-section-home .record-list-home {
    gap: 16px;
  }

  .page-home-1785 .record-section-home .record-row-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "thumb thumb"
      "no date"
      "main main"
      "meta meta";
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(243,248,248,.98));
  }

  .page-home-1785 .record-section-home .record-thumb-home {
    grid-area: thumb;
    width: 100%;
    aspect-ratio: 4 / 2.65;
    border-radius: 14px;
  }

  .page-home-1785 .record-section-home .record-cell-no-home {
    grid-area: no;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    width: fit-content;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(17,124,130,.08);
    border: 1px solid rgba(17,124,130,.16);
  }

  .page-home-1785 .record-section-home .record-cell-date-home {
    grid-area: date;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: .74rem;
    text-align: right;
  }

  .page-home-1785 .record-section-home .record-cell-main-home {
    grid-area: main;
    gap: 10px;
  }

  .page-home-1785 .record-section-home .record-cell-main-home h3 {
    font-size: 1.08rem;
    line-height: 1.22;
  }

  .page-home-1785 .record-section-home .record-cell-main-home p {
    display: -webkit-box;
    font-size: .92rem;
    line-height: 1.66;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .page-home-1785 .record-section-home .record-cell-meta-home {
    grid-area: meta;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: .74rem;
  }

  .page-home-1785 .record-section-home .record-cell-meta-home span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(17,124,130,.06);
  }
}


/* detail-and-author-tune-1785 */
.page-grid,
.content-column,
.sidebar-column,
.report-sheet,
.article-content,
.case-grid,
.case-card,
.record-list,
.record-row,
.record-cell-main {
  min-width: 0;
}

.report-author-prefix {
  color: var(--muted);
}

.article-content {
  overflow-wrap: anywhere;
}

.article-content table,
.article-content pre,
.article-content iframe,
.article-content video,
.article-content embed,
.article-content object {
  max-width: 100%;
}

.article-content table,
.article-content pre {
  display: block;
  overflow-x: auto;
}

.article-content pre {
  white-space: pre-wrap;
}

.page-author-1785 .author-register .record-row {
  grid-template-columns: 70px 120px minmax(0, 1fr);
}

.page-author-1785 .author-register .record-cell-main {
  gap: 6px;
}

@media (max-width: 767px) {
  .detail-crumbs {
    display: none;
  }

  .report-stats {
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
    padding-bottom: 0;
    gap: 8px 12px;
  }

  .page-author-1785 .author-register-mobile-fix .author-record-list {
    gap: 16px;
  }

  .page-author-1785 .author-register-mobile-fix .author-record-row {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas:
      "no date"
      "main main";
    gap: 10px 14px;
    padding: 16px 16px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,249,249,.98));
  }

  .page-author-1785 .author-register-mobile-fix .author-record-no {
    grid-area: no;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    width: fit-content;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(17,124,130,.08);
    border: 1px solid rgba(17,124,130,.14);
  }

  .page-author-1785 .author-register-mobile-fix .author-record-date {
    grid-area: date;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: .74rem;
    text-align: right;
  }

  .page-author-1785 .author-register-mobile-fix .author-record-main {
    grid-area: main;
    gap: 0;
  }

  .page-author-1785 .author-register-mobile-fix .author-record-main h3 {
    font-size: 1.14rem;
    line-height: 1.2;
  }
}


/* meta-pill-fix-1785 */
.report-author {
  padding-left: 0;
}
