:root {
  font-family:
    "Avenir Next",
    Avenir,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #253730;
  background: #f6f4ee;
  font-synthesis: none;
  line-height: 1.6;
  --paper: #f6f4ee;
  --ink: #253730;
  --accent: #276453;
  --muted: #526558;
  --line: #dddfd5;
  --white: #fffef9;
  --selection: #e9eee5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bdc7bb;
  border-radius: 7px;
  padding: 9px 15px;
  min-height: 44px;
  font-weight: 600;
}
button:hover {
  background: #e9eee5;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
button.primary:hover {
  background: #1e5142;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button.quiet,
.back {
  background: transparent;
  border-color: transparent;
}
.back {
  padding-left: 0;
  margin-bottom: 18px;
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #ad691e;
  outline-offset: 3px;
}
::selection {
  background: #ccdfce;
  color: #173d2e;
}
input,
textarea {
  caret-color: var(--accent);
}
* {
  scrollbar-color: #aebcae var(--paper);
  scrollbar-width: thin;
}
[hidden] {
  display: none !important;
}
.topbar {
  height: 96px;
  padding: 0 44px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.2;
}
.brand svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-detail {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 5px;
  color: var(--muted);
}
#session-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 42px 44px 64px;
  min-height: calc(100vh - 170px);
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 36px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 650;
}
p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 70ch;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 22px 0 7px;
}
input:not([type="checkbox"]),
textarea,
select {
  width: 100%;
  border: 1px solid #b8c2b7;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
  min-height: 44px;
}
input::placeholder,
textarea::placeholder {
  color: #697669;
  opacity: 1;
}
textarea {
  resize: vertical;
}
.entry {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10%;
  align-items: center;
  max-width: 1120px;
  margin: 9vh auto 10vh;
}
.entry h1 {
  font-size: clamp(36px, 4.3vw, 61px);
  line-height: 1.08;
}
.entry-copy > p {
  font-size: 17px;
  margin-top: 26px;
  line-height: 1.8;
}
.privacy-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 55px;
  font-size: 13px;
  color: var(--muted);
}
.privacy-note svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.entry-form {
  border-left: 1px solid var(--line);
  padding: 34px 0 34px 48px;
}
.entry-form h2 {
  font-size: 24px;
}
.entry-form .primary {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.check input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
}
.error {
  color: #a13326;
  font-size: 14px;
  min-height: 0;
}
.error:empty {
  display: none;
}
.page-heading,
.review-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}
.page-heading {
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--line);
}
.empty {
  padding: 80px 24px;
  text-align: center;
}
.empty h2 {
  font-size: 27px;
}
.empty p {
  margin: 12px auto 24px;
}
.empty .empty-mark {
  margin: 0 auto 24px;
  width: 66px;
  height: 66px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.2;
}
.draft-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.draft-number {
  color: var(--muted);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.draft-row h2 {
  font-size: 23px;
}
.draft-row p {
  font-size: 14px;
  margin-top: 6px;
}
.state {
  font-size: 12px;
  padding: 4px 8px;
  background: #e9eee5;
  color: #315642;
  border-radius: 4px;
  margin-right: 12px;
}
.upload-view {
  max-width: 740px;
  margin: 0 auto;
}
.upload-view form {
  margin-top: 32px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.file-label {
  border: 1px dashed #a2b29f;
  padding: 24px;
  border-radius: 8px;
  margin-top: 28px;
}
.file-label input {
  margin: 12px 0;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.file-label span,
.upload-view form > p {
  font-size: 13px;
  font-weight: 400;
}
.upload-view .primary {
  margin-top: 26px;
}
progress {
  display: block;
  width: 100%;
  height: 10px;
  accent-color: var(--accent);
  margin-top: 26px;
}
.review-heading {
  align-items: flex-start;
  margin-bottom: 27px;
}
.review-heading h1 {
  font-size: 30px;
}
.review-heading p {
  font-size: 14px;
}
.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
}
.player-box {
  aspect-ratio: 16/9;
  background: #192a24;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eef4e9;
}
.player-box iframe,
.player-box video {
  border: 0;
  width: 100%;
  height: 100%;
}
.player-box p {
  color: #e1ebdf;
  padding: 30px;
  text-align: center;
}
.under-player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 0 23px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.under-player button {
  font-size: 13px;
}
.composer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
}
.timecode {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--accent);
  background: var(--selection);
  padding: 5px 10px;
  border-radius: 4px;
}
#reviewer-name {
  max-width: 390px;
}
#comment-form label {
  margin-top: 16px;
}
.composer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}
#save-status {
  font-size: 13px;
  color: var(--accent);
}
.notes-column {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  min-width: 0;
}
.notes-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notes-heading h2 {
  font-size: 21px;
}
.notes-heading h2 span {
  font-size: 13px;
  color: var(--muted);
  margin-left: 7px;
}
.notes-heading button {
  padding: 5px;
  font-size: 12px;
}
.notes-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0 22px;
  font-size: 12px;
}
.notes-tools select {
  flex: 1;
  min-width: 0;
  padding: 8px;
}
.notes-tools a {
  white-space: nowrap;
}
.note {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.note-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.note-top strong {
  font-size: 14px;
}
.note-time {
  border: 0;
  background: var(--selection);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding: 4px 9px;
  min-height: 34px;
  font-size: 12px;
  white-space: nowrap;
}
.note p {
  font-size: 14px;
  white-space: pre-wrap;
  color: var(--ink);
}
.note-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.note-bottom button {
  font-size: 11px;
  padding: 4px 8px;
  min-height: 32px;
}
.notes-empty {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.notes-empty h3 {
  font-size: 17px;
  margin: 0;
}
.notes-empty p {
  font-size: 14px;
}
.global-status {
  font-size: 14px;
  color: var(--muted);
}
footer {
  padding: 23px 44px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1600px) {
  main {
    padding-top: 56px;
  }
  .review-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 40px;
  }
}
@media (max-width: 1050px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
  .notes-column {
    border-left: 0;
    padding: 28px 0 0;
    border-top: 1px solid var(--line);
  }
  .entry {
    gap: 5%;
  }
  .entry-form {
    padding-left: 28px;
  }
  .entry h1 {
    font-size: 42px;
  }
}
@media (max-width: 640px) {
  .topbar {
    height: 78px;
    padding: 0 20px;
  }
  .brand {
    font-size: 17px;
  }
  .brand svg {
    width: 30px;
  }
  .brand-detail {
    font-size: 11px;
  }
  #role-label {
    display: none;
  }
  main {
    padding: 26px 20px 44px;
    min-height: calc(100vh - 150px);
  }
  h1 {
    font-size: 30px;
  }
  .entry {
    display: block;
    margin: 25px 0;
  }
  .entry h1 {
    font-size: 38px;
  }
  .entry-copy > p {
    font-size: 15px;
    margin-top: 20px;
  }
  .privacy-note {
    margin-top: 25px;
  }
  .entry-form {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
    margin-top: 34px;
  }
  .page-heading,
  .review-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .page-heading {
    padding-top: 5px;
  }
  .review-heading h1 {
    font-size: 27px;
  }
  .review-grid {
    gap: 20px;
  }
  .under-player {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .form-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .draft-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .draft-number {
    display: none;
  }
  .draft-row > div:last-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .empty {
    padding: 45px 0;
  }
  .empty h2 {
    font-size: 24px;
  }
  footer {
    padding: 20px;
    gap: 16px;
    font-size: 11px;
  }
  .composer-actions {
    align-items: flex-end;
  }
  .file-label {
    padding: 15px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .entry-copy {
    animation: arrive 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes arrive {
    from {
      transform: translateY(7px);
    }
    to {
      transform: translateY(0);
    }
  }
}
