:root {
  --c1-orange: #cc5500;
  --c1-orange-dark: #9e4100;
  --c1-ink: #211b17;
  --c1-muted: #70665f;
  --c1-cream: #fff8f1;
  --c1-line: #eadfd5;
  --c1-shadow: 0 18px 50px rgba(48, 32, 19, .08);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--c1-ink); background: #fff; font-family: "Poppins", "Segoe UI", Arial, sans-serif; line-height: 1.65; }
a { color: var(--c1-orange-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #e99554; outline-offset: 3px; }
.ufa-site-nav .ufa-nav-links { gap: 20px; }
.ufa-site-nav .ufa-nav-links > li > a { white-space: nowrap; }
.ufa-site-nav .nav-logout { margin: 0; }
.ufa-site-nav .nav-logout button { padding: 9px 12px; border: 0; background: transparent; color: #333; font: inherit; cursor: pointer; }
.ufa-site-nav .nav-logout button:hover { color: var(--c1-orange); }
.c1-main { width: min(1160px, calc(100% - 40px)); min-height: 68vh; margin: 28px auto 64px; }
.c1-back { display: inline-block; margin: 0 0 22px; color: var(--c1-muted); font-size: .88rem; text-decoration: none; }
.c1-back:hover { color: var(--c1-orange); }
.c1-footer { padding: 28px 20px; background: #251c16; color: #fff; text-align: center; font-size: .9rem; }
.c1-footer p { margin: 4px; }
.c1-footer a { color: #ffd3b0; }
.c1-card { min-width: 0; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--c1-line); border-radius: 16px; background: #fff; box-shadow: var(--c1-shadow); }
.c1-card h2 { margin: 0 0 18px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.25; }
.c1-card h3 { margin: 4px 0 8px; }
.c1-auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.c1-auth-copy { padding: clamp(16px, 4vw, 50px) 0; }
.c1-auth-copy h1, .c1-dashboard-heading h1 { margin: 8px 0 14px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; }
.c1-auth-copy > p:not(.c1-eyebrow) { color: var(--c1-muted); font-size: 1.15rem; }
.c1-eyebrow { margin: 0 0 8px; color: var(--c1-orange); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.c1-facts { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.c1-facts li { padding-left: 20px; position: relative; }
.c1-facts li::before { position: absolute; left: 0; color: var(--c1-orange); content: "✓"; font-weight: 800; }
.c1-auth-layout .c1-card h2 { margin-bottom: 20px; }
.c1-form { display: grid; gap: 15px; margin: 14px 0; }
.c1-field { display: grid; gap: 6px; color: #40372f; font-size: .88rem; font-weight: 650; }
.c1-field input, .c1-field textarea, .c1-field select, .c1-search input { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #d8c9bc; border-radius: 8px; background: #fff; color: var(--c1-ink); font: inherit; }
.c1-field textarea { min-height: 135px; resize: vertical; }
.c1-field input:focus, .c1-field textarea:focus, .c1-field select:focus, .c1-search input:focus { border-color: var(--c1-orange); outline: 2px solid rgba(204, 85, 0, .15); }
.c1-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid var(--c1-orange); border-radius: 8px; background: var(--c1-orange); color: #fff; font: inherit; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; }
.c1-button:hover { border-color: var(--c1-orange-dark); background: var(--c1-orange-dark); color: #fff; }
.c1-button--light { background: #fff; color: var(--c1-orange-dark); }
.c1-button--light:hover { background: var(--c1-cream); color: var(--c1-orange-dark); }
.c1-button--link { margin-top: 12px; }
.c1-button--small { min-height: 36px; padding: 7px 10px; font-size: .8rem; }
.c1-consent { display: flex; align-items: flex-start; gap: 9px; color: #514940; font-size: .87rem; }
.c1-consent input { margin-top: 5px; accent-color: var(--c1-orange); }
.c1-hint, .c1-auth-switch { color: var(--c1-muted); font-size: .86rem; }
.c1-narrow { width: min(520px, 100%); margin: 40px auto; }
.c1-payment-progress { margin: 22px 0; padding: 18px; border: 1px solid var(--c1-line); border-radius: 10px; background: var(--c1-cream); }
.c1-payment-progress p { margin: 4px 0; }
.c1-payment-progress progress { display: block; width: 100%; height: 16px; accent-color: var(--c1-orange); }
.c1-payment-page h2 { margin: 22px 0 8px; font-size: 1.1rem; }
.c1-alert { margin: 0 0 18px; padding: 14px 17px; border: 1px solid #e7d0bd; border-radius: 9px; background: #fff8f1; color: #633512; }
.c1-alert--error { border-color: #e6b5a9; background: #fff3f1; color: #7d2617; }
.c1-alert--success { border-color: #b9d8be; background: #f2fbf3; color: #24643b; }
.c1-dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 25px; }
.c1-dashboard-heading h1 { margin-bottom: 6px; font-size: clamp(2rem, 4vw, 3rem); }
.c1-dashboard-heading p:not(.c1-eyebrow) { margin: 0; color: var(--c1-muted); }
.c1-status { padding: 8px 13px; border: 1px solid #edc6a9; border-radius: 999px; background: #fff5ec; color: var(--c1-orange-dark); font-size: .75rem; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.c1-status--preview { border-color: #efcfaa; background: #fff7ed; color: #8b4400; }
.c1-student-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 18px; }
.c1-student-shortcuts a { padding: 6px 10px; border: 1px solid var(--c1-line); border-radius: 999px; background: #fff; color: var(--c1-ink); font-size: .75rem; text-decoration: none; }
.c1-student-shortcuts a:hover { border-color: var(--c1-orange); color: var(--c1-orange-dark); }
.c1-preview-ticket { position: relative; overflow: hidden; width: min(780px, 100%); margin: 24px auto; }
.c1-preview-ticket__brand { position: relative; display: flex; align-items: center; gap: 10px; color: var(--c1-orange-dark); font-weight: 800; }
.c1-preview-ticket__brand img { width: 42px; height: 42px; border-radius: 6px; object-fit: contain; }
.c1-preview-ticket__watermark { position: absolute; top: 43%; left: 50%; color: rgba(204, 85, 0, .09); font-size: clamp(2.5rem, 10vw, 5.5rem); font-weight: 900; white-space: nowrap; transform: translate(-50%, -50%) rotate(-22deg); pointer-events: none; }
.c1-preview-ticket__warning { position: relative; padding: 10px 12px; border: 1px solid #efcfaa; border-radius: 7px; background: #fff7ed; color: #8b4400; font-size: .8rem; font-weight: 800; text-align: center; }
.c1-countdown { display: flex; min-height: 205px; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 22px; padding: clamp(22px, 5vw, 42px); border-radius: 17px; background: linear-gradient(125deg, #a94200, #cc5500 58%, #e77a25); color: #fff; box-shadow: 0 16px 42px rgba(153, 64, 0, .2); }
.c1-countdown .c1-eyebrow, .c1-countdown-note { color: #ffe1ca; }
.c1-countdown h2 { margin: 0; font-size: clamp(1.6rem, 3.8vw, 2.4rem); }
.c1-countdown-note { margin: 6px 0 0; }
.c1-days { display: grid; text-align: center; }
.c1-days span { font-size: clamp(3rem, 8vw, 5rem); font-weight: 850; line-height: 1; }
.c1-days small { font-weight: 700; }
.c1-time-units { display: flex; align-items: center; gap: 12px; }
.c1-time-units strong { display: grid; min-width: 58px; text-align: center; }
.c1-time-units strong span { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1; }
.c1-time-units small { margin-top: 8px; font-size: .65rem; letter-spacing: .08em; }
.c1-time-units b { font-size: 1.5rem; }
.c1-countdown-display { max-width: 340px; font-size: 1.35rem; }
.c1-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 20px 0; }
.c1-details { display: grid; grid-template-columns: minmax(100px, .7fr) 1.3fr; gap: 10px 16px; margin: 0; }
.c1-details dt { color: var(--c1-muted); }
.c1-details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.c1-doc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.c1-preview { margin-top: 14px; border: 1px solid var(--c1-line); border-radius: 9px; overflow: hidden; }
.c1-preview summary { padding: 12px 15px; background: var(--c1-cream); color: var(--c1-orange-dark); font-weight: 700; cursor: pointer; }
.c1-preview iframe { display: block; width: 100%; height: 460px; border: 0; }
.c1-inline-form { margin-top: 22px; }
.c1-checklist { display: grid; gap: 11px; padding-left: 0; list-style: none; }
.c1-checklist li { padding: 10px 12px; border-radius: 8px; background: var(--c1-cream); }
.c1-roadmap { margin: 22px 0; }
.c1-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 22px; }
.c1-level { min-height: 180px; padding: 18px; border: 1px solid var(--c1-line); border-top: 4px solid var(--c1-orange); border-radius: 10px; background: #fffdfb; }
.c1-level > span { color: var(--c1-orange); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.c1-level h3 { margin: 12px 0 8px; font-size: 1.03rem; }
.c1-level p, .c1-announcement p { color: var(--c1-muted); font-size: .9rem; }
.c1-project-stage { margin: 20px 0 0; padding: 15px; border-radius: 9px; background: var(--c1-cream); }
.c1-announcement { padding: 15px 0; border-bottom: 1px solid var(--c1-line); }
.c1-announcement:last-child { border-bottom: 0; }
.c1-announcement small { color: var(--c1-muted); }
.c1-payment-result { width: min(700px, 100%); margin: 40px auto; text-align: center; }
.c1-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 12px auto; border-radius: 50%; background: #fff0e5; color: var(--c1-orange); font-size: 2rem; font-weight: 800; }
.c1-icon--success { background: #edf8ef; color: #24743e; }
.c1-admin-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.c1-search { display: flex; flex-wrap: wrap; gap: 8px; }
.c1-search input { width: min(300px, 100%); }
.c1-table-wrap { overflow-x: auto; margin-top: 18px; }
.c1-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.c1-table th, .c1-table td { padding: 12px; border-bottom: 1px solid var(--c1-line); text-align: left; vertical-align: top; }
.c1-table th { background: var(--c1-cream); }
.c1-table code { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.cohort-announcement { max-width: 680px; margin: 28px auto 0; padding: 22px; border: 1px solid rgba(255,255,255,.34); border-radius: 14px; background: rgba(33, 20, 11, .75); color: #fff; text-align: center; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.cohort-announcement__eyebrow { margin: 0 0 5px !important; color: #ffc18f !important; font-size: .76rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cohort-announcement h2 { margin: 0 0 6px; color: #fff; font-size: clamp(1.2rem, 2.8vw, 1.7rem); }
.cohort-announcement p { margin: 4px 0; font-size: .96rem; }
.cohort-announcement .cohort-announcement__price { margin: 12px 0; color: #ffd2b1; font-size: 1.2rem; font-weight: 800; }
.cohort-announcement__button { display: inline-flex; min-width: 170px; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 7px; background: var(--c1-orange); color: #fff; font-weight: 800; text-decoration: none; }
.cohort-announcement__button:hover { background: #a64200; color: #fff; }

@media (max-width: 850px) {
  .c1-auth-layout { grid-template-columns: 1fr; gap: 10px; }
  .c1-auth-copy { padding-bottom: 10px; }
  .c1-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .c1-main { width: min(100% - 28px, 1160px); margin-top: 18px; }
  .c1-dashboard-grid { grid-template-columns: 1fr; }
  .c1-countdown { align-items: flex-start; flex-direction: column; }
  .c1-time-units { gap: 7px; }
  .c1-time-units strong { min-width: 49px; }
  .c1-details { grid-template-columns: 1fr; gap: 3px; }
  .c1-details dd { margin-bottom: 9px; }
  .c1-dashboard-heading { align-items: flex-start; flex-direction: column; }
  .c1-student-shortcuts { gap: 6px; }
  .c1-doc-links { flex-direction: column; }
  .c1-doc-links .c1-button { width: 100%; }
  .c1-search { width: 100%; }
  .c1-search input { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .c1-levels { grid-template-columns: 1fr; }
  .c1-level { min-height: 0; }
  .c1-time-units { gap: 5px; }
  .c1-time-units strong { min-width: 43px; }
  .c1-time-units small { font-size: .55rem; }
}

@media print {
  .ufa-site-nav, .c1-back, .c1-footer, .c1-preview-ticket__print { display: none !important; }
  .c1-main { width: 100%; margin: 0; }
  .c1-preview-ticket { box-shadow: none; }
}
