.ce-hero {
  background: radial-gradient(ellipse at 96% 0%, #234247 0%, #151a1a 54%, #111414 100%);
  color: var(--white);
}

.ce-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  align-items: end;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(3.6rem, 7vw, 7.25rem);
}

.ce-hero h1 { font-size: clamp(3rem, 7vw, 6.7rem); }
.ce-intro { max-width: 32rem; margin-top: 1.3rem; color: #e2e8e7; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.ce-model-tip { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #697879; border-radius: 10px; background: #ffffff0a; }
.ce-model-tip h2 { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.25; letter-spacing: -0.035em; margin-top: 0.9rem; }
.ce-model-tip p { margin-top: 0.5rem; color: #e2e8e7; }
.ce-model-tip strong { color: var(--white); }
.ce-sheet { position: relative; display: block; width: 34px; height: 43px; border: 2px solid var(--orange); border-radius: 5px; }
.ce-sheet::before { content: ''; position: absolute; top: 8px; inset-inline: 6px; height: 2px; background: var(--orange); box-shadow: 0 7px var(--orange), 0 14px var(--orange); }

.ce-library { padding-block: clamp(3rem, 6vw, 6rem); }
.ce-library-heading, .ce-support-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.35rem 2rem; }
.ce-library-heading { margin-bottom: 1.5rem; }
.ce-library h2 { font-size: clamp(2rem, 4.4vw, 3.75rem); }
.ce-muted { color: var(--muted); }
#ce-result-count { margin-top: 0.5rem; }
.ce-filter { flex: 0 1 23rem; }
.ce-filter label { display: block; margin-bottom: 0.45rem; font-size: 0.875rem; font-weight: 600; }
.ce-search-box { display: flex; align-items: center; gap: 0.75rem; min-height: 52px; padding-inline: 0.9rem 0.35rem; border: 1px solid #9e9892; border-radius: 7px; background: var(--white); }
.ce-search-box:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.ce-search-icon { position: relative; flex: none; width: 13px; height: 13px; margin-right: 3px; border: 1.5px solid var(--ink); border-radius: 50%; }
.ce-search-icon::after { position: absolute; right: -5px; bottom: -2px; width: 6px; height: 1.5px; background: var(--ink); transform: rotate(45deg); content: ''; }
.ce-search-box input { flex: 1; min-width: 0; min-height: 48px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; }
.ce-search-box input::-webkit-search-cancel-button { display: none; }
.ce-search-box button, .ce-inline-button { min-height: 44px; padding-inline: 0.55rem; border: 0; background: transparent; color: var(--ink); font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.28em; cursor: pointer; }

.ce-table-wrap { border: 1px solid var(--line); border-radius: 10px; }
.ce-table { width: 100%; border-spacing: 0; text-align: left; }
.ce-table th, .ce-table td { padding: 0.65rem clamp(0.9rem, 3vw, 2.25rem); }
.ce-table thead th { padding-block: 0.85rem; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 0.875rem; font-weight: 600; }
.ce-table thead th:first-child { border-top-left-radius: 10px; }
.ce-table thead th:last-child { border-top-right-radius: 10px; }
.ce-table :is(th, td):last-child { text-align: right; }
.ce-table tbody th { font-size: clamp(1rem, 1.65vw, 1.25rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.ce-table tbody :is(th, td) { border-top: 1px solid var(--line); }
.ce-table tbody tr.is-first-result > * { border-top: 0; }
.ce-table tbody tr:first-child > * { border-top: 0; }
.ce-table tbody tr:hover { background: #f9f7f4; }
.ce-table a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.9rem;
  border: 1px solid #d8a78c;
  border-radius: 6px;
  background: #fff1e7;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.ce-table a:hover { border-color: var(--orange); background: var(--orange); }
.ce-empty { padding: 2.5rem 1rem; text-align: center; }
.ce-empty p { margin-top: 0.4rem; }
.ce-inline-button { margin-top: 0.45rem; }
.ce-file-note { margin-top: 0.85rem; font-size: 0.875rem; }
.ce-support { background: #fcf3ed; }
.ce-support-inner { align-items: center; padding-block: clamp(2.35rem, 5vw, 4.25rem); }
.ce-support h2 { font-size: clamp(1.8rem, 3.7vw, 3rem); }
.ce-support p { margin-top: 0.65rem; }
.ce-support .button { flex: none; }
.ce-page .footer-inner nav a[aria-current] { text-decoration: underline; text-decoration-color: #f06a1e; text-underline-offset: 0.35em; }

@media (max-width: 800px) {
  .ce-hero-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .ce-model-tip { max-width: 33rem; }
}

@media (max-width: 680px) {
  .ce-hero-inner { gap: 1.45rem; padding-block: 2.5rem; }
  .ce-library-heading, .ce-support-inner { display: grid; align-items: start; justify-items: start; }
  .ce-library { padding-top: 2.4rem; }
  .ce-filter { width: 100%; }
  .ce-hero h1 { font-size: clamp(2.65rem, 11.2vw, 4.5rem); }
  .ce-model-tip { display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; padding: 1rem 1.1rem; }
  .ce-model-tip h2 { margin-top: 0; }
  .ce-model-tip p { grid-column: 2; margin-top: 0.3rem; font-size: 0.9rem; }
  .ce-sheet { grid-row: span 2; width: 25px; height: 33px; }
  .ce-sheet::before { top: 6px; inset-inline: 4px; box-shadow: 0 5px var(--orange), 0 10px var(--orange); }
  .ce-support .button { justify-self: start; }
}
