.crtr-portal-page {
  margin: 0;
  background: #fcfbf8;
  color: #102a37;
  font: 16px/1.55 system-ui, sans-serif;
}

.crtr-portal-page * { box-sizing: border-box; }
.crtr-portal-page [hidden] { display: none !important; }

.crtr-portal {
  width: min(100% - 32px, 580px);
  margin: clamp(28px, 8vh, 90px) auto;
  padding-bottom: env(safe-area-inset-bottom);
}

.crtr-portal h1, .crtr-page-heading h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.08;
  margin: .2em 0 .45em;
}

.crtr-kicker {
  font-size: .83rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #285b62;
  margin: 0 0 .5rem;
}

.crtr-form, .crtr-editor {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.crtr-form label, .crtr-form legend { font-weight: 700; }
.crtr-form :is(input:not([type=checkbox],[type=radio],[type=hidden]), textarea, select) {
  width: 100%;
  min-height: 46px;
  border: 1px solid #79949a;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.crtr-form textarea { resize: vertical; }
.crtr-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.crtr-form legend { padding: 0; margin-bottom: 8px; }
.crtr-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.crtr-pills label { position: relative; }
.crtr-pills input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.crtr-pills span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid #79949a;
  border-radius: 24px;
  background: white;
  cursor: pointer;
}

.crtr-pills input:checked + span { color: white; background: #195260; border-color: #195260; }
.crtr-pills input:checked + span::before { content: '✓'; margin-right: .4em; }
.crtr-pills input:focus-visible + span, .crtr-portal :focus-visible { outline: 3px solid #157c8d; outline-offset: 2px; }

.crtr-portal button, .crtr-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid #06333f;
  border-radius: 10px;
  background: #06333f;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.crtr-portal button:disabled { opacity: .65; cursor: wait; }
.crtr-portal button.crtr-secondary, .crtr-portal button.crtr-record { background: #e4f1ef; color: #06333f; }
.crtr-signout { border-top: 1px solid #cddadb; padding-top: 20px; }
.crtr-hint { margin: 0; color: #385961; font-size: .93rem; }
.crtr-hint:empty { display: none; }
.crtr-notice { border-left: 4px solid #1b6b76; padding: 10px 12px; background: #e4f1ef; }
#crtr-preview-notes { white-space: pre-wrap; }
#crtr-review button { width: 100%; margin-top: 12px; }

.crtr-social-icon { display: inline-flex; align-items: center; justify-content: center; }
.crtr-social-icon svg { display: block; flex: none; }
.crtr-content { width: min(100% - 36px, 1180px); margin: 0 auto; padding: clamp(32px, 6vw, 82px) 0; color: #102a37; }
.crtr-public { background: #fcfbf8; }
.crtr-page-heading { margin-bottom: 2rem; }
.crtr-page-heading > p:last-child { font-size: 1.12rem; }
.crtr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.crtr-card { overflow: hidden; border: 1px solid #d5e2e1; border-radius: 14px; background: white; }
.crtr-card > img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.crtr-card-body { padding: 20px; }
.crtr-card h3 { margin: .3rem 0 .7rem; }
.crtr-card a, .crtr-history a, .crtr-home a, .crtr-single a { color: #144e5e; text-underline-offset: 3px; }
.crtr-card-body p:last-child { margin-bottom: 0; }
.crtr-home { padding: clamp(28px, 5vw, 64px) 0; background: #edf4f2; color: #102a37; }
.crtr-home h2 { margin-top: 0; }
.crtr-history, .crtr-book { border-top: 1px solid #cddadb; padding-top: 24px; margin-top: 48px; }
.crtr-history-list { list-style: none; padding-left: 0; margin: 15px 0 22px; }
.crtr-history-list li { padding: 9px 0; border-bottom: 1px solid #d5e2e1; }
.crtr-history-list time { color: #385961; margin-left: .45em; font-size: .92em; white-space: nowrap; }
.crtr-single { max-width: 760px; }
.crtr-facts { display: flex; flex-wrap: wrap; gap: 16px 30px; background: #e4f1ef; padding: 15px; border-radius: 10px; }
.crtr-facts dt { font-weight: 750; }
.crtr-facts dd { margin: 0; }
.crtr-report-notes { font-size: 1.1rem; line-height: 1.7; }
.crtr-preview-media, .crtr-report-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 12px; }
.crtr-preview-media :is(img, video), .crtr-report-media :is(img, video) { display: block; width: 100%; height: auto; border-radius: 10px; }
.crtr-fallback { display: flex; flex-wrap: wrap; gap: 15px; padding: 22px; color: white; background: #06333f; }
.crtr-fallback a, .crtr-book .crtr-button { color: white; }
