body[data-portal-mode=connected] .asmm-account-card,
body[data-portal-mode=connected] .portal-after-audition{grid-column:1/-1;background:#fff;border:1px solid #d2d2d2;padding:30px;border-radius:6px;color:#202020}
body[data-portal-mode=connected] .asmm-account-card{border-top:4px solid #1078ef}
body[data-portal-mode=connected] .asmm-account-card h2{font-size:28px;margin:8px 0 14px}
body[data-portal-mode=connected] .asmm-account-form{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:520px;min-width:0;margin-top:24px}
body[data-portal-mode=connected] .asmm-account-form label{font-size:16px;font-weight:800;margin:8px 0 0}
body[data-portal-mode=connected] .asmm-account-form input{box-sizing:border-box;width:100%;min-width:0;min-height:50px;border:1px solid #888;border-radius:5px;background:#fff;color:#202020;font:400 17px/1.4 "Nunito Sans",Arial,sans-serif;padding:11px 14px}
body[data-portal-mode=connected] .asmm-account-form input:focus-visible{outline:2px solid #1078ef;outline-offset:3px}
body[data-portal-mode=connected] .asmm-account-form .portal-primary{margin-top:10px;min-height:50px;width:fit-content;max-width:100%;white-space:normal;text-align:left}
body[data-portal-mode=connected] .asmm-account-link{background:transparent;border:0;min-height:44px;padding:8px 0;text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;color:#1078ef;text-decoration:underline;font:700 15px/1.5 "Nunito Sans",Arial,sans-serif;cursor:pointer}
body[data-portal-mode=connected] .asmm-account-hint{font-size:14px;line-height:1.5;color:#555;margin:0}
body[data-portal-mode=connected] #portal-access-feedback,
body[data-portal-mode=connected] #portal-setup-feedback{padding:14px 16px;border-left:3px solid #1078ef;background:#f4f4f4;line-height:1.6;max-width:520px;overflow-wrap:anywhere}
body[data-portal-mode=connected] [data-account-error=true]{border-left-color:#a02030!important;color:#8b1d2b}
body[data-portal-mode=connected] #portal-reset-passwords{display:grid;gap:12px}
body[data-portal-mode=connected] #portal-verification-code{letter-spacing:.3em;max-width:240px;font-size:24px}
body[data-portal-mode=connected] [hidden]{display:none!important}
body[data-portal-mode=connected] .portal-after-audition>p{color:#555;line-height:1.6;font-size:16px;max-width:760px}
body[data-portal-mode=connected] .portal-future-menu{list-style:none;padding:0;margin:24px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
body[data-portal-mode=connected] .portal-future-menu li{display:flex;gap:14px;align-items:flex-start;padding:20px;background:#f3f3f3;color:#686868;border:1px solid #ddd}
body[data-portal-mode=connected] .portal-future-menu strong{display:block;font-size:18px;line-height:1.4}
body[data-portal-mode=connected] .portal-future-menu small{display:block;font-size:13px;line-height:1.5;margin-top:8px;color:#666}
body[data-portal-mode=connected] .portal-future-lock{display:block;width:18px;height:14px;border:1.5px solid #888;border-radius:3px;margin-top:9px;position:relative;font-size:0;flex:0 0 18px}
body[data-portal-mode=connected] .portal-future-lock:before{content:"";position:absolute;width:9px;height:9px;border:1.5px solid #888;border-bottom:0;border-radius:8px 8px 0 0;left:3px;top:-9px}
body[data-portal-mode=connected] .portal-account-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:14px}
body[data-portal-mode=connected] .portal-future-navigation{display:flex;justify-content:center;gap:24px;padding:12px 20px;border-bottom:1px solid #ddd;background:#f4f4f4}
body[data-portal-mode=connected] .portal-future-navigation button{border:0;background:transparent;color:#777;font:700 14px/1.5 "Nunito Sans",Arial,sans-serif;cursor:default;padding:6px 0;text-align:left}
body[data-portal-mode=connected] .portal-future-navigation button:before{content:"○";margin-right:8px;color:#888}
@media(max-width:600px){body[data-portal-mode=connected] .portal-future-navigation{justify-content:flex-start;gap:20px;overflow-x:auto}body[data-portal-mode=connected] .portal-future-navigation button{flex:0 0 auto;font-size:12px}}
body[data-portal-mode=connected] .portal-audition-aside button.portal-text-link{background:transparent;border:0;border-bottom:1px solid #999;border-radius:0;width:100%;white-space:normal;text-align:left;padding:0 0 10px;color:#202020;cursor:pointer;font:700 16px/1.5 "Nunito Sans",Arial,sans-serif}
body[data-portal-mode=connected] .portal-audition-guide{padding:28px 24px 36px;max-width:950px}
body[data-portal-mode=connected] .portal-guide-intro{margin:26px 0 0;padding:30px 32px;background:#fff;border:1px solid #d2d2d2;border-top:4px solid #1078ef;border-radius:6px 6px 0 0}
body[data-portal-mode=connected] .portal-guide-intro h2{font:900 32px/1.2 "Nunito Sans",Arial,sans-serif;margin:12px 0 18px;color:#202020}
body[data-portal-mode=connected] .portal-guide-intro p{font-size:16px;line-height:1.65}
body[data-portal-mode=connected] .portal-guide-online{color:#555;font-size:14px!important;border-top:1px solid #ddd;padding-top:16px}
body[data-portal-mode=connected] .portal-guide-appointment{font-weight:800;color:#202020}
body[data-portal-mode=connected] .portal-guide-steps{list-style:none;padding:0;margin:0;background:#fff;border:1px solid #d2d2d2;border-top:0}
body[data-portal-mode=connected] .portal-guide-steps > li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:20px;padding:28px 32px;border-bottom:1px solid #ddd}
body[data-portal-mode=connected] .portal-guide-steps > li:last-child{border-bottom:0}
body[data-portal-mode=connected] .portal-guide-number{font-weight:900;color:#1078ef;font-size:20px}
body[data-portal-mode=connected] .portal-guide-steps h3{font:900 22px/1.3 "Nunito Sans",Arial,sans-serif;color:#202020;margin:0 0 12px}
body[data-portal-mode=connected] .portal-guide-steps p{font-size:16px;line-height:1.75;margin:0 0 16px}
body[data-portal-mode=connected] .portal-guide-links{display:flex;gap:14px 24px;flex-wrap:wrap;margin:20px 0}
body[data-portal-mode=connected] .portal-guide-links a{color:#1078ef;text-underline-offset:4px;font-weight:800;font-size:15px}
body[data-portal-mode=connected] .portal-guide-footer{display:flex;gap:16px 30px;flex-wrap:wrap;font-size:14px;line-height:1.6;margin-top:24px}
@media(max-width:640px){body[data-portal-mode=connected] .portal-audition-guide{padding:22px 16px 30px}body[data-portal-mode=connected] .portal-guide-intro{padding:24px 20px}body[data-portal-mode=connected] .portal-guide-intro h2{font-size:27px}body[data-portal-mode=connected] .portal-guide-steps > li{padding:24px 20px;gap:12px;grid-template-columns:28px minmax(0,1fr)}body[data-portal-mode=connected] .portal-guide-steps h3{font-size:21px}}
@media(max-width:700px){body[data-portal-mode=connected] .portal-future-menu{grid-template-columns:1fr}body[data-portal-mode=connected] .asmm-account-card,body[data-portal-mode=connected] .portal-after-audition{padding:22px}body[data-portal-mode=connected] .asmm-account-form .portal-primary{width:100%}body[data-portal-mode=connected] .asmm-account-card h2{font-size:25px}}
/* Audition preparation and owned repertoire: ASMM Studio, mobile first. */
body[data-portal-mode=connected] .portal-audition-guide{max-width:1080px}
body[data-portal-mode=connected] .portal-guide-intro{border-radius:6px;margin-bottom:24px}
body[data-portal-mode=connected] .portal-guide-facts{display:flex;flex-wrap:wrap;gap:10px 24px;padding-top:16px;border-top:1px solid #ddd;font-size:14px;font-weight:800}
body[data-portal-mode=connected] .portal-guide-facts span:first-child{color:#1078ef}
body[data-portal-mode=connected] .portal-prep-section{padding:30px 32px;margin:24px 0;background:#fff;border:1px solid #d2d2d2;border-radius:6px}
body[data-portal-mode=connected] .portal-prep-section h3{font:900 25px/1.25 "Nunito Sans",Arial,sans-serif;margin:10px 0 20px;color:#202020}
body[data-portal-mode=connected] .portal-prep-section p,body[data-portal-mode=connected] .portal-prep-details{font-size:16px;line-height:1.7}
body[data-portal-mode=connected] .portal-prep-section .portal-eyebrow{font-size:12px;font-weight:800;letter-spacing:1.4px;color:#555;margin:0}
body[data-portal-mode=connected] .portal-venue{display:flex;justify-content:space-between;gap:24px;align-items:center;border-left:4px solid #1078ef}
body[data-portal-mode=connected] .portal-venue h3{margin-bottom:8px}
body[data-portal-mode=connected] .portal-venue p:last-child{margin-bottom:0}
body[data-portal-mode=connected] .portal-arrival{font-weight:800;max-width:240px;font-size:19px!important}
body[data-portal-mode=connected] .portal-guide-steps{border-top:1px solid #d2d2d2;border-radius:6px;overflow:hidden}
body[data-portal-mode=connected] .portal-guide-steps > li:nth-child(even){background:#fafafa}
body[data-portal-mode=connected] .portal-guide-steps > li p:last-child{margin-bottom:0}
body[data-portal-mode=connected] .portal-backing-note{border-left:3px solid #1078ef;padding:16px 20px;margin-top:24px;background:#f3f4f5}
body[data-portal-mode=connected] .portal-backing-note strong{font-size:17px}
body[data-portal-mode=connected] .portal-backing-note p{margin-top:10px}
body[data-portal-mode=connected] .portal-online-timeline{list-style:none;padding:0;margin:22px 0}
body[data-portal-mode=connected] .portal-online-timeline li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:18px;padding:24px 0;border-top:1px solid #ddd}
body[data-portal-mode=connected] .portal-online-timeline b{color:#1078ef;font-size:20px;font-weight:900}
body[data-portal-mode=connected] .portal-online-timeline li[data-complete=true] > b{color:#126544}
body[data-portal-mode=connected] .portal-online-timeline strong{font-size:20px;font-weight:900}
body[data-portal-mode=connected] .portal-online-timeline p{margin:8px 0 0}
body[data-portal-mode=connected] .portal-prep-details{border-top:1px solid #ddd;padding:18px 0 0;margin:22px 0 0}
body[data-portal-mode=connected] .portal-prep-details summary{font-weight:800;font-size:17px;cursor:pointer;min-height:32px}
body[data-portal-mode=connected] .portal-prep-details li{margin:10px 0;padding-left:6px}
body[data-portal-mode=connected] .portal-prerequisites{padding:24px 32px;background:#eee;border:1px solid #d2d2d2;border-radius:6px}
body[data-portal-mode=connected] .portal-repertoire-downloads{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}
body[data-portal-mode=connected] .portal-repertoire-downloads a{display:flex;flex-direction:column;gap:9px;border:1px solid #b8b8b8;border-left:3px solid #1078ef;border-radius:3px;padding:20px;text-decoration:none;color:#202020;font-size:19px;font-weight:800}
body[data-portal-mode=connected] .portal-repertoire-downloads small{font-size:14px;color:#555;font-weight:600}
body[data-portal-mode=connected] .portal-resource-link{color:#1078ef;font:800 16px/1.6 "Nunito Sans",Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;display:inline-block;border:0;background:none;padding:4px 0;cursor:pointer}
body[data-portal-mode=connected] .portal-materials{border-top:4px solid #1078ef}
body[data-portal-mode=connected] .portal-materials-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin:24px 0}
body[data-portal-mode=connected] .portal-materials-grid>div{min-width:0}
body[data-portal-mode=connected] .portal-materials label{display:block;font-size:16px;line-height:1.5;font-weight:800;margin-bottom:10px}
body[data-portal-mode=connected] .portal-materials input,body[data-portal-mode=connected] .portal-materials select{font:400 16px/1.5 "Nunito Sans",Arial,sans-serif;min-height:52px;width:100%;border:1px solid #a9a9a9;background:#fff;color:#202020;border-radius:4px;padding:12px;box-sizing:border-box;max-width:100%}
body[data-portal-mode=connected] .portal-materials input:focus,body[data-portal-mode=connected] .portal-materials select:focus{outline:2px solid #1078ef;outline-offset:2px}
body[data-portal-mode=connected] .portal-materials input::placeholder{color:#777;opacity:1}
body[data-portal-mode=connected] .portal-materials [disabled]{opacity:.65;cursor:default}
body[data-portal-mode=connected] #portal-materials-videos > p:first-child{margin-top:0}
body[data-portal-mode=connected] #portal-materials-videos h4{font-size:22px;font-weight:900;margin:22px 0 14px;color:#202020}
body[data-portal-mode=connected] .portal-materials-grid a{display:inline-block;margin-top:10px;font-size:14px;color:#1078ef;overflow-wrap:anywhere}
body[data-portal-mode=connected] .portal-deadline{font-size:14px!important;font-weight:800;line-height:1.6}
body[data-portal-mode=connected] .portal-materials-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:28px}
body[data-portal-mode=connected] #portal-materials-count{font-size:14px;line-height:1.6;color:#555}
body[data-portal-mode=connected] #portal-materials-feedback:not(:empty){border-left:3px solid #888;padding:12px 16px;margin:20px 0 0;font-size:15px;background:#f4f5f7;overflow-wrap:anywhere}
body[data-portal-mode=connected] #portal-materials-feedback.is-saved{border-color:#178653;background:#f3f5f4}
body[data-portal-mode=connected] #portal-materials-feedback.has-error{border-color:#a52339;background:#fff5f6;color:#822034}
body[data-portal-mode=connected] .portal-materials-help{font-size:14px!important;color:#555;margin-top:20px}
@media(max-width:640px){body[data-portal-mode=connected] .portal-prep-section{padding:24px 20px;margin:20px 0}body[data-portal-mode=connected] .portal-venue{display:block}body[data-portal-mode=connected] .portal-arrival{max-width:none;margin-top:18px}body[data-portal-mode=connected] .portal-prep-section h3{font-size:23px}body[data-portal-mode=connected] .portal-materials-grid,body[data-portal-mode=connected] .portal-repertoire-downloads{grid-template-columns:minmax(0,1fr)}body[data-portal-mode=connected] .portal-materials-actions{align-items:stretch;flex-direction:column}body[data-portal-mode=connected] .portal-materials-actions button{justify-content:space-between;min-height:52px}body[data-portal-mode=connected] .portal-prerequisites{padding:22px 20px}body[data-portal-mode=connected] .portal-online-timeline li{grid-template-columns:28px minmax(0,1fr);gap:12px}body[data-portal-mode=connected] .portal-backing-note{padding:14px 16px}}

body[data-portal-mode=connected] .portal-guide-steps h4 {
  font-size: 17px;
  font-weight: 900;
  margin: 20px 0 8px;
}
body[data-portal-mode=connected] .portal-guide-list {
  list-style: disc;
  padding-left: 21px;
  margin: 0 0 16px;
}
body[data-portal-mode=connected] .portal-guide-list li {
  line-height: 1.65;
  padding: 0 0 6px 3px;
}
body[data-portal-mode=connected] .portal-guide-repertoires {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin: 0 0 18px;
}
body[data-portal-mode=connected] .portal-guide-repertoires a,
body[data-portal-mode=connected] #portal-written-practice {
  display: flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid #c4c4c4;
  border-left: 3px solid var(--portal-blue);
  border-radius: 4px;
  background: #fff;
  color: #202020;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body[data-portal-mode=connected] #portal-written-practice {
  display: inline-flex;
}

@media (max-width:640px) {
  body[data-portal-mode=connected] .portal-guide-repertoires {grid-template-columns:minmax(0,1fr)}
}

body[data-portal-mode=connected] .portal-guide-standard{margin-top:16px}

/* Keep each online repertoire with its printable PDF. */
body[data-portal-mode=connected] .portal-guide-repertoire {
  min-width: 0;
  border: 1px solid var(--portal-line);
  border-left: 3px solid var(--portal-blue);
  background: #fff;
  border-radius: 4px;
  padding: 12px 14px 3px;
}
body[data-portal-mode=connected] .portal-guide-repertoire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
body[data-portal-mode=connected] .portal-guide-repertoire-actions a {
  display: inline-flex;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 14px;
}

/* Status markers belong to the inscription follow-up list. */
body[data-portal-mode=connected] .portal-milestone-state[data-validation="done"],
body[data-portal-mode=connected] .portal-milestone-state[data-validation="action"] {
  font-weight: 800;
  white-space: normal;
}
body[data-portal-mode=connected] .portal-milestone-state[data-validation="done"] {
  color: #126544;
}
body[data-portal-mode=connected] .portal-milestone-state[data-validation="done"]::before {
  content: "";
  display: inline-block;
  box-sizing: content-box;
  width: .57em;
  height: .31em;
  margin: 0 .5em .14em 0;
  border-left: .12em solid currentColor;
  border-bottom: .12em solid currentColor;
  transform: rotate(-45deg);
}
body[data-portal-mode=connected] .portal-milestone-state[data-validation="action"] {
  color: #754600;
}


/* A compact status for saved video links. */
body[data-portal-mode=connected] .portal-materials-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 10px 0 20px;
}
body[data-portal-mode=connected] .portal-materials .portal-materials-title-row h3 {
  margin: 0;
}
body[data-portal-mode=connected] .portal-materials[data-video-status="missing"] {
  --video-accent: #a52339;
  --video-label: #822034;
  --video-fill: #fff2f3;
  --video-line: #e3b9bf;
}
body[data-portal-mode=connected] .portal-materials[data-video-status="partial"] {
  --video-accent: #b36b13;
  --video-label: #754600;
  --video-fill: #fff4de;
  --video-line: #e2c58c;
}
body[data-portal-mode=connected] .portal-materials[data-video-status="complete"] {
  --video-accent: #188257;
  --video-label: #126544;
  --video-fill: #e8f4ed;
  --video-line: #a7d5bb;
}
body[data-portal-mode=connected] .portal-materials[data-video-status] {
  border-top-color: var(--video-accent);
}
body[data-portal-mode=connected] .portal-video-progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  color: var(--video-label);
  background: var(--video-fill);
  border: 1px solid var(--video-line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}
body[data-portal-mode=connected] .portal-materials[data-video-status="complete"] .portal-video-progress::before {
  content: "";
  box-sizing: content-box;
  width: .57em;
  height: .31em;
  border-left: .12em solid currentColor;
  border-bottom: .12em solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}

/* Candidate activation and account menu. */
body[data-portal-mode=connected] #portal-activation {
  max-width: 690px;
  padding: 24px;
}
body[data-portal-mode=connected] .portal-booking-ok {
  margin: 0 0 18px;
  color: #126544;
  font-weight: 800;
}
body[data-portal-mode=connected] .portal-account-menu {
  position: relative;
  align-self: center;
  color: #fff;
}
body[data-portal-mode=connected] .portal-account-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
body[data-portal-mode=connected] .portal-account-menu summary::-webkit-details-marker { display: none; }
body[data-portal-mode=connected] .portal-account-menu summary::after { content: '⌄'; }
body[data-portal-mode=connected] .portal-account-menu summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}
body[data-portal-mode=connected] .portal-account-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 12;
  min-width: 172px;
  padding: 6px;
  background: #fff;
  color: #202020;
  border: 1px solid #d9dde2;
  border-radius: 5px;
  box-shadow: 0 5px 14px #0002;
}
body[data-portal-mode=connected] .portal-account-dropdown button {
  width: 100%;
  text-align: left;
  color: #202020;
  background: #fff;
}
body[data-portal-mode=connected] .portal-account-dropdown button:hover { background: #f4f5f7; }
body[data-portal-mode=connected] .portal-account-dropdown p { padding: 2px 10px; font-size: 13px; }
@media (max-width:720px) {
  body[data-portal-mode=connected] .portal-account-menu { flex: 1; min-width: 0; }
  body[data-portal-mode=connected] .portal-account-menu summary {
    min-height: 44px;
    padding: 8px 4px;
    font-size: 13px;
  }
  body[data-portal-mode=connected] #portal-activation { padding: 20px 16px; }
}

.portal-paid-checklist { border-top: 4px solid var(--portal-asmm-blue, #1476eb); margin-block: 1.25rem; }
.portal-paid-checklist .portal-booking-ok { display: inline-flex; margin: 0 0 1rem; }
.portal-paid-checklist h3 { margin: 0 0 .5rem; }
.portal-paid-checklist > p:last-child { margin-bottom: 0; }

body[data-portal-mode=connected]:not([data-portal-signed-in=true]) .portal-navigation [data-screen=home],
body[data-portal-mode=connected]:is([data-portal-screen=access],[data-portal-screen=activation]) :is(.portal-navigation,.portal-access-link,.portal-future-navigation) {
  display: none;
}

#portal-backing-track .portal-backing-status:empty { display: none; }
#portal-backing-track .portal-backing-status.is-saved { color: #176544; font-weight: 700; }
#portal-backing-track .portal-backing-status.has-error { color: #942333; font-weight: 700; }
#portal-backing-track input[type=file] { min-height: 0; }
#portal-backing-track progress { accent-color: #1078ef; max-width: 100%; }


body[data-portal-mode=connected] #asmm_pro_capture_test:not([data-asmm-step="1"]) .asmm-admissions-intro { display: none; }
body[data-portal-mode=connected] .asmm-admissions-intro { font-size: 16px; line-height: 1.65; margin: .8rem 0 1.25rem; max-width: 65ch; }
.portal-preparation-flow-heading { margin: .15rem 0 .75rem; font-size: clamp(23px,2.75vw,30px); }
#portal-audition[data-preparation-ready=true] :is(#portal-guide-onsite-intro,#portal-guide-online-intro,#portal-guide-onsite-deadline) { display: none; }

#portal-materials-titles .portal-materials-grid > div > input + label,
#portal-materials-titles .portal-materials-grid > div > select + label { margin-top: .85rem; }
.portal-accompaniment-options { border: 0; margin: 0 0 1rem; padding: 0; }
.portal-accompaniment-options legend { margin-bottom: .65rem; font-weight: 700; }
#portal-backing-form label:has(input:is([type=radio],[type=checkbox])) {
  display: flex; gap: .65rem; align-items: flex-start; padding: .65rem;
  border: 1px solid #d0d5dc; border-radius: 5px; font-weight: 500; cursor: pointer;
}
#portal-backing-form label:has(input:checked) { border-color: #1078ef; background: #f0f6fe; }
#portal-backing-form input:is([type=radio],[type=checkbox]) {
  flex: 0 0 1rem; box-sizing: border-box; width: 1rem; min-height: 1rem; height: 1rem;
  margin: .2rem 0 0; padding: 0; accent-color: #1078ef;
}
.portal-accompaniment-options small { display: block; margin-top: .2rem; color: #4b535e; font-size: .85rem; line-height: 1.4; }
#portal-backing-form label strong { font-weight: 800; }

body[data-portal-mode=connected] .portal-audition-guide { max-width: 1260px; }
.portal-audition-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(16px,2.5vw,30px); }
.portal-audition-layout:has(.portal-preparation-progress:not([hidden])) { grid-template-columns: 236px minmax(0,1fr); }
.portal-audition-content { min-width: 0; }
.portal-preparation-progress {
  position: sticky; top: 16px; align-self: start; padding: 16px; border-radius: 6px;
  background: #3d3d3d; color: #fff;
}
.portal-preparation-progress h3 { margin: 0 0 12px; font-size: 18px; color: inherit; }
.portal-preparation-progress ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.portal-guide-progress-item a {
  color: inherit; text-decoration: none; display: grid; grid-template-columns: 22px minmax(0,1fr);
  gap: 9px; align-items: start; border-radius: 5px; padding: 8px;
}
.portal-guide-progress-item a:hover { background: #4b4b4b; }
.portal-guide-progress-item a:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.portal-guide-progress-item a[aria-current="location"] { background: #1078ef; }
.portal-guide-progress-item strong, .portal-guide-progress-item small { display: block; line-height: 1.35; }
.portal-guide-progress-item small { margin-top: 3px; color: #ebebeb; font-size: .82rem; }
.portal-guide-progress-item[data-state=done] small { color: #a9ecc7; }
.portal-guide-progress-item a[aria-current="location"] small { color: #fff; }
.portal-guide-progress-mark { display: grid; place-items: center; height: 22px; border-radius: 50%; border: 1px solid #d6d6d6; font-size: .84rem; font-weight: 800; }
.portal-guide-progress-item[data-state=done] .portal-guide-progress-mark { border-color: #a9ecc7; background: #176544; }
.portal-guide-fields {
  margin: 18px 0 0; padding: 16px;
  border: 1px solid #d2d8df; border-radius: 5px; background: #f7f9fb;
}
.portal-guide-fields .portal-materials-grid { margin: 0 0 14px; gap: 14px; }
.portal-guide-fields button[type=submit] { min-height: 44px; }
.portal-guide-fields input, .portal-guide-fields select { min-width: 0; }
.portal-guide-steps > li > div { min-width: 0; }
.portal-guide-fields .portal-piece-feedback { margin: .65rem 0 0; font-size: .9rem; font-weight: 600; }
#portal-materials-form {
  padding: 0;
  border: 0;
  background: transparent;
}
#portal-materials-form .portal-materials-grid { gap: 20px; margin-bottom: 20px; }
.portal-video-piece {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d2d8df;
  border-radius: 5px;
  background: #f7f9fb;
}
.portal-video-piece h4 {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #d2d8df;
  font-size: 1.2rem;
  font-weight: 900;
}
#portal-materials-form .portal-video-instrument { margin: 0; color: #484f58; font-size: .9rem; font-weight: 700; }
#portal-online-repertoire { grid-template-columns: minmax(0,1fr); margin: 0; }
#portal-online-repertoire a { margin: 0; }
.portal-piece-feedback.has-error { color: #942333; }
.portal-piece-feedback.is-saved { color: #176544; }
#portal-guide-overview, #portal-guide-required-piece, #portal-guide-free-piece, #portal-backing-title, #portal-materials-title { scroll-margin-top: 24px; }
#portal-backing-piece { font-weight: 700; margin-bottom: .5rem; }
@media(max-width:870px) {
  .portal-audition-layout:has(.portal-preparation-progress:not([hidden])) { grid-template-columns: minmax(0,1fr); }
  .portal-preparation-progress { position: static; }
  .portal-preparation-progress ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:390px) {
  .portal-preparation-progress a { grid-template-columns: 18px minmax(0,1fr); gap: 6px; padding: 7px 5px; font-size: .9rem; }
  .portal-guide-progress-mark { height: 18px; font-size: .7rem; }
}
