    :root {
      --bg: #f5f0ff;
      --bg-soft: #efe6ff;
      --surface: #ffffff;
      --surface-soft: #faf7ff;
      --primary: #9a7fe7;
      --primary-deep: #6a49c8;
      --text: #2b1f4a;
      --text-soft: #5a4b82;
      --line: #dbcfff;
      --ok: #22a166;
      --shadow: 0 20px 40px rgba(106, 73, 200, 0.12);
      --radius: 18px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 0% 0%, rgba(154, 127, 231, 0.2), transparent 45%),
        radial-gradient(circle at 100% 10%, rgba(106, 73, 200, 0.16), transparent 38%),
        linear-gradient(180deg, #f8f4ff 0%, #f2ebff 45%, #f8f4ff 100%);
      min-height: 100vh;
      line-height: 1.6;
    }

    h1,
    h2,
    h3 {
      font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", "Noto Serif SC", serif;
      letter-spacing: 0.02em;
      line-height: 1.22;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      width: min(1160px, 92vw);
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(10px);
      background: rgba(248, 244, 255, 0.75);
      border-bottom: 1px solid rgba(219, 207, 255, 0.7);
    }

    .header-inner {
      min-height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      font-size: 1.12rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: var(--primary-deep);
      white-space: nowrap;
    }

    .nav {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: flex-end;
    }

    .nav a {
      padding: 8px 12px;
      border-radius: 999px;
      color: var(--text-soft);
      font-size: 0.92rem;
      font-weight: 600;
      transition: 0.2s ease;
    }

    .nav a:hover {
      background: rgba(154, 127, 231, 0.16);
      color: var(--primary-deep);
    }

    .menu-btn {
      display: none;
      border: 1px solid var(--line);
      color: var(--primary-deep);
      background: var(--surface);
      border-radius: 12px;
      padding: 8px 10px;
      font-weight: 700;
      cursor: pointer;
    }

    .hero {
      position: relative;
      overflow: hidden;
      border-radius: 26px;
      margin: 30px auto 18px;
      padding: clamp(28px, 4vw, 48px);
      display: grid;
      grid-template-columns: minmax(0, 1fr) 220px;
      grid-template-areas: "copy vision";
      align-items: center;
      gap: clamp(20px, 4vw, 42px);
      background:
        radial-gradient(circle at 22% 20%, rgba(216, 202, 255, 0.42), transparent 44%),
        linear-gradient(130deg, #ffffff 0%, #f3ebff 48%, #ede1ff 100%);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .hero::after {
      content: "";
      position: absolute;
      right: -70px;
      top: -78px;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(154, 127, 231, 0.2), rgba(154, 127, 231, 0));
    }

    .hero-copy,
    .hero-vision {
      position: relative;
      z-index: 1;
    }

    .hero-copy {
      grid-area: copy;
    }

    .hero-vision {
      grid-area: vision;
      margin: 0;
      width: 220px !important;
      min-width: 220px;
      max-width: 220px !important;
      height: 220px !important;
      min-height: 220px;
      max-height: 220px;
      justify-self: end;
      align-self: center;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(219, 207, 255, 0.9);
      background: #fff;
      box-shadow: 0 18px 36px rgba(106, 73, 200, 0.16);
    }

    .hero-vision img {
      width: 220px !important;
      height: 220px !important;
      max-width: 220px !important;
      max-height: 220px !important;
      object-fit: cover;
      display: block;
    }

    .kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #fff;
      font-size: 0.85rem;
      color: var(--text-soft);
      margin-bottom: 12px;
    }

    .hero h1 {
      font-size: clamp(2.05rem, 4.8vw, 3.45rem);
      margin-bottom: 12px;
      max-width: 720px;
    }

    .hero p {
      max-width: 780px;
      color: var(--text-soft);
      font-size: clamp(0.98rem, 2.15vw, 1.1rem);
    }

    .hero-actions {
      margin-top: 22px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .btn {
      padding: 10px 18px;
      border-radius: 12px;
      font-weight: 700;
      font-size: 0.95rem;
      border: 1px solid var(--line);
      transition: 0.2s ease;
      display: inline-block;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--primary-deep));
      color: #fff;
      border-color: transparent;
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      filter: brightness(1.05);
    }

    .btn-ghost {
      background: var(--surface);
      color: var(--primary-deep);
    }

    .btn-danger {
      background: #fff2f2;
      color: #a23434;
      border-color: #f1caca;
      cursor: pointer;
    }

    .btn-danger:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .section {
      margin: 42px 0;
    }

    .section-head {
      margin-bottom: 16px;
    }

    .section-head h2 {
      font-size: clamp(1.55rem, 2.9vw, 2.1rem);
      margin-bottom: 6px;
    }

    .section-head p {
      color: var(--text-soft);
      font-size: 0.98rem;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 18px;
    }

    .stat strong {
      font-size: clamp(1.45rem, 3vw, 2rem);
      display: block;
      color: var(--primary-deep);
      line-height: 1.1;
      margin-bottom: 3px;
    }

    .stat span {
      color: var(--text-soft);
      font-size: 0.9rem;
    }

    .stat-link {
      display: block;
      cursor: pointer;
      font: inherit;
      text-align: left;
      width: 100%;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .stat-link:hover {
      transform: translateY(-2px);
      border-color: #bea6ff;
      box-shadow: 0 16px 32px rgba(106, 73, 200, 0.16);
    }

    .anchor-target {
      scroll-margin-top: 92px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 14px;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .bl72-symmetric-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      align-items: stretch;
    }

    .bl72-symmetric-grid .card {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .triptych-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      flex: 1;
    }

    .triptych-card {
      border: 1px dashed var(--line);
      background: var(--surface-soft);
      border-radius: 12px;
      padding: 12px;
    }

    .triptych-title {
      margin-bottom: 8px;
      font-size: 1rem;
      color: var(--primary-deep);
    }

    .triptych-list {
      margin-left: 1.1em;
      display: grid;
      gap: 6px;
      color: var(--text-soft);
      font-size: 0.92rem;
    }

    .triptych-list li {
      line-height: 1.52;
    }

    .triptych-list-bullet {
      list-style: disc;
    }

    .split-title {
      margin-bottom: 10px;
      font-size: 1.1rem;
      color: var(--primary-deep);
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .chip {
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 6px 12px;
      background: var(--surface-soft);
      font-size: 0.88rem;
      color: #4d3b78;
      font-weight: 600;
    }

    .remark {
      margin-top: 10px;
      color: var(--text-soft);
      font-size: 0.85rem;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .gallery figure {
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid var(--line);
      background: var(--surface);
      box-shadow: 0 10px 28px rgba(106, 73, 200, 0.09);
      display: flex;
      flex-direction: column;
      cursor: zoom-in;
    }

    .gallery img {
      width: 100%;
      height: 220px;
      object-fit: contain;
      object-position: center;
      background: #f4efff;
      padding: 6px;
      display: block;
      transition: none;
    }

    .gallery figure:hover img {
      transform: none;
    }

    .gallery figcaption {
      padding: 8px 10px;
      color: var(--text-soft);
      font-size: 0.85rem;
      min-height: 46px;
    }

    .video-gallery {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .video-card {
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid var(--line);
      background: var(--surface);
      box-shadow: 0 10px 28px rgba(106, 73, 200, 0.09);
      display: flex;
      flex-direction: column;
      cursor: pointer;
    }

    .video-card video {
      width: 100%;
      height: 260px;
      object-fit: cover;
      display: block;
      background: #f4efff;
    }

    .video-card figcaption {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      padding: 10px;
    }

    .video-card-title {
      color: var(--text-soft);
      font-size: 0.88rem;
      font-weight: 600;
    }

    .video-expand-btn {
      border: 1px solid var(--line);
      background: var(--surface-soft);
      color: var(--primary-deep);
      font-size: 0.82rem;
      font-weight: 700;
      padding: 6px 10px;
      border-radius: 999px;
      cursor: pointer;
      white-space: nowrap;
    }

    .video-expand-btn:hover {
      border-color: #bea6ff;
      background: #f2e9ff;
    }

    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: grid;
      place-items: center;
      padding: 18px;
      background: rgba(15, 10, 29, 0.88);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.24s ease;
    }

    .lightbox.open {
      opacity: 1;
      pointer-events: auto;
    }

    .lightbox-content {
      width: min(1180px, 96vw);
      max-height: 92vh;
      background: #f7f2ff;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 14px;
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    }

    .lightbox-content img {
      width: 100%;
      max-height: calc(92vh - 88px);
      object-fit: contain;
      border-radius: 10px;
      background: #efe6ff;
      display: block;
    }

    .lightbox-content video {
      width: 100%;
      max-height: calc(92vh - 88px);
      object-fit: contain;
      border-radius: 10px;
      background: #140f26;
      display: block;
    }

    .media-hidden {
      display: none !important;
    }

    .lightbox-content p {
      color: var(--text);
      font-size: 0.92rem;
      text-align: center;
    }

    .lightbox-close {
      position: absolute;
      top: 14px;
      right: 16px;
      width: 40px;
      height: 40px;
      border: 1px solid rgba(255, 255, 255, 0.45);
      background: rgba(255, 255, 255, 0.14);
      color: #fff;
      border-radius: 999px;
      font-size: 1.65rem;
      line-height: 1;
      cursor: pointer;
    }

    .metric-list {
      list-style: none;
      display: grid;
      gap: 8px;
      margin-top: 8px;
    }

    .metric-list li {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      font-size: 0.92rem;
      color: var(--text-soft);
      border-bottom: 1px dashed var(--line);
      padding-bottom: 6px;
    }

    .metric-list li b {
      color: var(--primary-deep);
      font-size: 1rem;
      font-weight: 800;
    }

    .flow {
      list-style: none;
      display: grid;
      gap: 10px;
      margin-top: 8px;
    }

    .flow li {
      background: var(--surface-soft);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 10px 12px;
      color: var(--text-soft);
      font-size: 0.93rem;
    }

    .quote {
      background: linear-gradient(145deg, #fff, #f6f0ff);
      border-left: 4px solid var(--primary);
      border-radius: 12px;
      border: 1px solid var(--line);
      padding: 12px 12px 11px;
      color: #4f3f79;
      font-size: 0.93rem;
    }

    .quote strong {
      display: block;
      margin-top: 8px;
      color: var(--primary-deep);
      font-size: 0.85rem;
    }

    .doa-entry {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .shared-doc-list {
      display: grid;
      gap: 12px;
    }

    .shared-doc-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
      align-items: center;
    }

    .shared-doc-desc {
      margin-top: 8px;
      color: var(--text-soft);
      font-size: 0.92rem;
    }

    .empty-state {
      color: var(--text-soft);
      border-style: dashed;
      box-shadow: none;
    }

    .footer {
      margin: 42px 0 26px;
      padding: 14px 0;
      border-top: 1px solid var(--line);
      font-size: 0.86rem;
      color: var(--text-soft);
      text-align: center;
    }

    .reveal {
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .reveal.show {
      opacity: 1;
      transform: translateY(0);
    }

    .records-modal {
      position: fixed;
      inset: 0;
      z-index: 95;
      display: grid;
      place-items: center;
      padding: 14px;
      background: rgba(17, 10, 36, 0.78);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
    }

    .records-modal.open {
      opacity: 1;
      pointer-events: auto;
    }

    .records-modal-dialog {
      width: min(1080px, 96vw);
      max-height: 92vh;
      background: #f7f1ff;
      border-radius: 16px;
      border: 1px solid var(--line);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .records-modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
      background: #f0e6ff;
    }

    .records-modal-head h3 {
      font-size: 1.2rem;
      color: var(--primary-deep);
    }

    .records-modal-close {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid #c9b5ff;
      background: #fff;
      color: var(--primary-deep);
      font-size: 1.4rem;
      line-height: 1;
      cursor: pointer;
    }

    .records-modal-body {
      padding: 12px;
      overflow: auto;
      display: grid;
      gap: 12px;
    }

    .txt-panel {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 10px;
      display: grid;
      gap: 8px;
    }

    .txt-panel h4 {
      color: var(--primary-deep);
      font-size: 1rem;
    }

    .txt-frame {
      width: 100%;
      height: min(54vh, 420px);
      border: 1px solid #d8cbff;
      border-radius: 10px;
      background: #fff;
    }

    .txt-open-link {
      font-size: 0.86rem;
      color: var(--primary-deep);
      text-decoration: underline;
      justify-self: start;
    }

    .records-main {
      min-height: 100vh;
      padding: 26px 0 34px;
    }

    .records-shell {
      width: min(980px, 92vw);
      margin: 0 auto;
    }

    .records-head {
      margin-bottom: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .records-back {
      border: 1px solid var(--line);
      background: var(--surface);
      color: var(--primary-deep);
      padding: 8px 12px;
      border-radius: 10px;
      font-size: 0.9rem;
      font-weight: 700;
    }

    .records-desc {
      color: var(--text-soft);
      font-size: 0.95rem;
    }

    .records-list {
      display: grid;
      gap: 12px;
    }

    .record-title {
      font-size: 1rem;
      margin-bottom: 8px;
      color: var(--primary-deep);
    }

    .record-body {
      white-space: pre-wrap;
      word-break: break-word;
      color: var(--text);
      font-size: 0.93rem;
      line-height: 1.62;
      font-family: "SFMono-Regular", "Menlo", "Consolas", "PingFang SC", "Microsoft YaHei", sans-serif;
      background: var(--surface-soft);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 12px;
    }

    .record-state {
      color: var(--text-soft);
      font-size: 0.92rem;
      padding: 14px;
      border: 1px dashed var(--line);
      border-radius: 12px;
      background: var(--surface-soft);
    }

    .doa-page {
      width: min(1220px, 94vw);
      margin: 0 auto;
      padding: 24px 0 34px;
    }

    .doa-topbar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 260px;
      gap: 18px;
      align-items: end;
      margin-bottom: 18px;
    }

    .doa-topbar h1 {
      font-size: clamp(2rem, 4vw, 3rem);
      margin: 12px 0 8px;
    }

    .doa-eyebrow {
      margin-top: 14px;
      color: var(--primary-deep);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .doa-summary-card,
    .doa-tabs,
    .doa-upload-card,
    .doa-toolbar,
    .doa-list-panel,
    .doa-preview-panel {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 14px;
      box-shadow: var(--shadow);
    }

    .doa-summary-card {
      padding: 16px;
      display: grid;
      gap: 4px;
      align-content: center;
      min-height: 150px;
    }

    .doa-summary-card span {
      color: var(--primary-deep);
      font-size: 2.4rem;
      font-weight: 900;
      line-height: 1;
    }

    .doa-summary-card strong {
      color: var(--text);
      font-size: 1rem;
    }

    .doa-summary-card p {
      color: var(--text-soft);
      font-size: 0.86rem;
    }

    .doa-tabs {
      margin-bottom: 14px;
      padding: 8px;
      display: flex;
      gap: 8px;
      overflow-x: auto;
    }

    .doa-tab {
      min-width: 150px;
      border: 1px solid var(--line);
      background: var(--surface-soft);
      border-radius: 12px;
      padding: 10px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: var(--text);
      cursor: pointer;
      white-space: nowrap;
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }

    .doa-tab:hover,
    .doa-tab.active {
      border-color: #b59bff;
      background: #f1e8ff;
    }

    .doa-tab:hover {
      transform: translateY(-1px);
    }

    .doa-tab span {
      font-weight: 800;
    }

    .doa-tab b {
      color: var(--primary-deep);
      font-size: 0.82rem;
    }

    .doa-upload-card {
      padding: 14px;
    }

    .doa-upload-card h2 {
      font-size: 1.05rem;
      color: var(--primary-deep);
      margin-bottom: 10px;
    }

    .doa-login-form,
    .doa-upload-form {
      display: grid;
      gap: 10px;
    }

    .doa-field {
      display: grid;
      gap: 6px;
      color: var(--text-soft);
      font-size: 0.88rem;
      font-weight: 700;
    }

    .doa-field input,
    .doa-field select {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 10px 12px;
      background: var(--surface-soft);
      color: var(--text);
      font: inherit;
      outline: none;
    }

    .doa-field input:focus,
    .doa-field select:focus {
      border-color: #b59bff;
      box-shadow: 0 0 0 3px rgba(154, 127, 231, 0.14);
    }

    .doa-auth-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--surface-soft);
      color: var(--primary-deep);
      font-size: 0.9rem;
      font-weight: 800;
      padding: 10px 12px;
    }

    .doa-auth-bar[hidden],
    .doa-login-form[hidden],
    .doa-upload-form[hidden] {
      display: none;
    }

    .doa-file-picker {
      border: 1px dashed #bea6ff;
      background: var(--surface-soft);
      color: var(--primary-deep);
      border-radius: 12px;
      min-height: 44px;
      display: grid;
      place-items: center;
      padding: 10px;
      font-weight: 700;
      cursor: pointer;
      text-align: center;
    }

    .doa-file-picker input {
      display: none;
    }

    .doa-checkbox {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-soft);
      font-size: 0.9rem;
    }

    .doa-api-note {
      margin-top: 9px;
      color: var(--text-soft);
      font-size: 0.84rem;
    }

    .doa-api-note[data-type="success"] {
      color: var(--ok);
    }

    .doa-api-note[data-type="error"] {
      color: #a23434;
    }

    .doa-toolbar {
      margin-bottom: 14px;
      padding: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .doa-search {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-soft);
      font-size: 0.9rem;
    }

    .doa-search input {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 10px 12px;
      color: var(--text);
      background: var(--surface-soft);
      outline: none;
    }

    .doa-search input:focus {
      border-color: #b59bff;
      box-shadow: 0 0 0 3px rgba(154, 127, 231, 0.14);
    }

    .doa-count {
      color: var(--primary-deep);
      font-weight: 800;
      white-space: nowrap;
    }

    .doa-layout {
      display: grid;
      grid-template-columns: 360px minmax(0, 1fr);
      gap: 14px;
      align-items: start;
    }

    .doa-list-panel {
      padding: 10px;
      max-height: calc(100vh - 192px);
      overflow: auto;
      position: sticky;
      top: 16px;
    }

    .doa-list {
      display: grid;
      gap: 8px;
    }

    .doa-list-item {
      width: 100%;
      border: 1px solid var(--line);
      background: var(--surface-soft);
      color: var(--text);
      border-radius: 12px;
      padding: 10px;
      display: grid;
      gap: 3px;
      text-align: left;
      cursor: pointer;
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }

    .doa-list-item:hover,
    .doa-list-item.active {
      border-color: #b59bff;
      background: #f1e8ff;
    }

    .doa-list-item:hover {
      transform: translateY(-1px);
    }

    .doa-person {
      color: var(--primary-deep);
      font-weight: 800;
      font-size: 1rem;
    }

    .doa-title,
    .doa-meta {
      color: var(--text-soft);
      font-size: 0.84rem;
      overflow-wrap: anywhere;
    }

    .doa-preview-panel {
      overflow: hidden;
      min-height: 72vh;
    }

    .doa-preview-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
      background: #f0e6ff;
    }

    .doa-preview-head h2 {
      font-size: clamp(1.15rem, 2vw, 1.45rem);
      color: var(--primary-deep);
      overflow-wrap: anywhere;
    }

    .doa-preview-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .doa-preview-frame-wrap {
      position: relative;
      min-height: calc(72vh - 82px);
      background: #ece4f9;
      padding: 12px;
    }

    .doa-preview-frame {
      width: 100%;
      height: calc(72vh - 106px);
      min-height: 560px;
      border: 1px solid #d8cbff;
      border-radius: 10px;
      background: #fff;
      display: block;
    }

    .doa-upload-section {
      display: grid;
    }

    .doa-upload-section[hidden] {
      display: none;
    }

    .doa-upload-section .doa-upload-card {
      width: 100%;
      display: grid;
      gap: 16px;
    }

    .doa-page.is-upload-view .doa-toolbar,
    .doa-page.is-upload-view .doa-layout {
      display: none !important;
    }

    .doa-page.is-upload-view .doa-upload-section {
      display: grid !important;
    }

    @media (max-width: 980px) {
      .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .grid-2 {
        grid-template-columns: 1fr;
      }

      .grid-3 {
        grid-template-columns: 1fr;
      }

      .bl72-symmetric-grid {
        grid-template-columns: 1fr;
      }

      .triptych-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .video-gallery {
        grid-template-columns: 1fr;
      }

      .hero {
        grid-template-columns: 1fr;
        grid-template-areas:
          "copy"
          "vision";
      }

      .hero-vision {
        justify-self: start;
        width: 220px !important;
        max-width: 220px !important;
      }

      .hero-vision img {
        width: 220px !important;
        height: 220px !important;
      }

      .doa-entry {
        align-items: flex-start;
        flex-direction: column;
      }

      .shared-doc-card {
        grid-template-columns: 1fr;
        align-items: flex-start;
      }

      .doa-topbar,
      .doa-layout {
        grid-template-columns: 1fr;
      }

      .doa-list-panel {
        position: static;
        max-height: 360px;
      }
    }

    @media (max-width: 760px) {
      .menu-btn {
        display: inline-flex;
      }

      .nav {
        display: none;
      }

      .nav.open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-bottom: 14px;
      }

      .header-inner {
        flex-wrap: wrap;
        align-items: flex-start;
        padding-top: 12px;
      }

      .hero {
        margin-top: 20px;
      }
    }

    @media (max-width: 560px) {
      .stats {
        grid-template-columns: 1fr;
      }

      .triptych-grid {
        grid-template-columns: 1fr;
      }

      .gallery {
        grid-template-columns: 1fr;
      }

      .video-card video {
        height: 220px;
      }

      .doa-toolbar,
      .doa-preview-head {
        align-items: stretch;
        flex-direction: column;
      }

      .doa-search {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
      }

      .doa-preview-frame {
        min-height: 480px;
      }

      .doa-tab {
        min-width: 132px;
      }
    }
