@font-face {
  font-family: 'Assistant Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/assistant-hebrew-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}
@font-face {
  font-family: 'Assistant Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/assistant-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

html:has(body.fc-canvas) { margin: 0 !important; }

body.fc-canvas {
    margin: 0;
    background: #f7f6f2;
    color: var(--fc-ink);
}

.fc-portal {
    --fc-deep: var(--fc-ink);
    --fc-muted: #55534e;
    --fc-border: #cbc8c2;
    --fc-gutter: clamp(1rem, 4vw, 4.5rem);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--fc-deep);
    font: 400 1rem/1.65 "Assistant Variable", "Arial Hebrew", Arial, sans-serif;
    text-align: start;
}
.fc-portal *, .fc-portal *::before, .fc-portal *::after { box-sizing: border-box; }
.fc-portal h1, .fc-portal h2, .fc-portal h3 { color: inherit; line-height: 1.15; margin: 0 0 .55em; font-weight: 600; }
.fc-portal h1 { font-size: clamp(2.1rem, 5vw, 4.4rem); letter-spacing: -.025em; }
.fc-portal h2 { font-size: clamp(1.35rem, 2.3vw, 2rem); }
.fc-portal h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
.fc-portal p { margin: 0 0 1rem; }
.fc-portal a { color: inherit; text-underline-offset: .18em; }
.fc-portal :is(a, button, input):focus-visible { outline: 3px solid #385e70; outline-offset: 4px; }
.fc-skip { position: absolute; inset-block-start: 0; inset-inline-start: 1rem; z-index: 10; transform: translateY(-150%); background: #fff; padding: .6rem 1rem; }
.fc-skip:focus { transform: translateY(0); }

.fc-portal .fc-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: .85rem var(--fc-gutter);
    border-bottom: 1px solid var(--fc-border);
    background: #f7f6f2;
}
.fc-portal .fc-brand {
    color: var(--fc-deep);
    width: fit-content;
    font: 650 clamp(1.25rem, 2vw, 1.7rem)/1 "Assistant Variable", Arial, sans-serif;
    letter-spacing: -.015em;
    text-decoration: none;
    white-space: nowrap;
}
.fc-portal .fc-nav {
    display: flex;
    gap: .25rem;
    padding: 0;
}
.fc-portal .fc-nav a, .fc-portal .fc-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .45rem clamp(.6rem, 1.5vw, 1.15rem);
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: .92rem;
}
.fc-portal .fc-nav [aria-current="page"] { box-shadow: inset 0 -2px var(--fc-blue); }
.fc-portal .fc-nav a:hover, .fc-portal .fc-logout:hover { background: #d4e3e6; }
.fc-portal .fc-logout { grid-column: 3; justify-self: end; }

.fc-portal .fc-main { flex: 1; padding: clamp(1rem, 3vw, 3rem) var(--fc-gutter) clamp(2rem, 5vw, 5rem); min-width: 0; }
.fc-portal .fc-hero {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
    align-items: center;
    gap: clamp(1.4rem, 5vw, 5rem);
    padding: clamp(1.8rem, 5vw, 4.5rem) 0;
    border-bottom: 1px solid var(--fc-border);
}
.fc-portal .fc-hero h1 { margin: 0; }
.fc-portal .fc-hero-copy > .fc-button { margin-top: 1.3rem; }
.fc-portal .fc-greeting { color: var(--fc-muted); font-size: 1.12rem; margin-bottom: .55rem; }
.fc-portal .fc-feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.7rem);
    border: 1px solid var(--fc-border);
    border-inline-start: 3px solid var(--fc-blue);
    background: #eeede8;
}
.fc-portal .fc-feature p { color: var(--fc-muted); font-size: .9rem; margin-bottom: .35rem; }
.fc-portal .fc-feature-copy { min-width: 0; overflow-wrap: anywhere; }
.fc-portal .fc-ring {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: clamp(4.25rem, 8vw, 6.75rem);
    aspect-ratio: 1;
    padding: .45rem;
    border-radius: 50%;
    background: conic-gradient(var(--fc-blue) var(--value), #d5d2cc 0);
}
.fc-portal .fc-ring span { display: grid; width: 100%; height: 100%; place-items: center; background: #eeede8; border-radius: 50%; color: var(--fc-ink); font-weight: 700; }

.fc-portal .fc-section { margin-top: clamp(1.8rem, 4vw, 4rem); }
.fc-portal .fc-section > h2 { margin-bottom: 1.1rem; }
.fc-portal .fc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: clamp(1rem, 2vw, 1.65rem);
}
.fc-portal .fc-card {
    min-width: 0;
    padding: clamp(1.15rem, 2.6vw, 2rem);
    border: 1px solid var(--fc-border);
    background: #fbfaf7;
    overflow-wrap: anywhere;
}
.fc-portal .fc-empty { display: flex; align-items: center; gap: 1.2rem; margin-top: clamp(1rem, 2.5vw, 2.2rem); }
.fc-portal .fc-empty :is(h2, p) { margin-bottom: 0; }
.fc-portal .fc-empty h2 + p { margin-top: .35rem; }
.fc-portal .fc-empty-icon {
    flex: 0 0 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    border-radius: 2px;
    background: var(--fc-blue);
}
.fc-portal .fc-empty-icon::before {
    content: "";
    width: 1.4rem;
    aspect-ratio: 1.25;
    border: 2px solid #355763;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent 46%, #355763 46% 54%, transparent 54%);
}
.fc-portal .fc-grid > .fc-card:only-child { width: min(100%, 33rem); }
.fc-portal .fc-course { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.fc-portal .fc-course-body { padding: clamp(1.15rem, 2.2vw, 1.8rem); flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.fc-portal .fc-course-body .fc-progress { margin-top: auto; padding-top: .8rem; }
.fc-portal .fc-cover { display: block; width: 100%; aspect-ratio: 2; height: auto; object-fit: cover; }

.fc-portal .fc-audit { background: #edf1f1; }
.fc-portal .fc-price { font-weight: 700; }

.fc-portal .fc-button, .fc-portal input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: .58em 1.25em;
    border: 1px solid transparent;
    border-radius: 2px;
    background: var(--fc-blue);
    color: #182f37;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.fc-portal .fc-outline { background: rgba(255, 255, 255, .4); border-color: #829aa0; }
.fc-portal .fc-button:hover, .fc-portal input[type="submit"]:hover { background: #294752; color: #fff; }
.fc-portal .fc-hero .fc-button:hover { background: #d6e8ed; color: #182f37; }

.fc-portal .fc-progress { width: 100%; margin-bottom: 1rem; font-size: .88rem; color: var(--fc-muted); }
.fc-portal .fc-progress-label { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .35rem; }
.fc-portal .fc-progress strong { color: var(--fc-deep); }
.fc-portal progress { display: block; appearance: none; width: 100%; height: .52rem; border: 0; border-radius: 2px; overflow: hidden; background: var(--fc-ash); }
.fc-portal progress::-webkit-progress-bar { background: var(--fc-ash); }
.fc-portal progress::-webkit-progress-value { background: #527f90; border-radius: 2px; }
.fc-portal progress::-moz-progress-bar { background: #527f90; border-radius: 2px; }

.fc-portal .fc-login-layout {
    max-width: 33rem;
    margin: clamp(1rem, 5vh, 4rem) auto;
}
.fc-portal .fc-login {
    border-top: 3px solid var(--fc-blue);
    padding: clamp(1.4rem, 5vw, 3.3rem);
}
.fc-portal .fc-login h1 { font-size: clamp(2rem, 4vw, 3.75rem); }
.fc-portal .fc-login label { display: block; margin-bottom: .25rem; font-weight: 600; }
.fc-portal .fc-login :is(input[type="text"], input[type="password"]) {
    width: 100%;
    min-height: 2.95rem;
    border: 1px solid #839397;
    background: #fbfcfb;
    color: var(--fc-deep);
    border-radius: 2px;
    padding: .55rem .8rem;
    font: inherit;
}
.fc-portal .fc-login input[type="submit"] { width: 100%; }

.fc-portal .fc-page-heading { margin-bottom: clamp(1.2rem, 3vw, 2.4rem); }
.fc-portal .fc-page-heading h1 { font-size: clamp(2rem, 4vw, 3.55rem); }
.fc-portal .fc-page-heading .fc-progress { max-width: 26rem; }
.fc-portal .fc-back { display: inline-block; margin-bottom: .7rem; }
.fc-portal .fc-player { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 3fr); gap: clamp(1rem, 2.5vw, 2.2rem); align-items: start; }
.fc-portal .fc-curriculum ol { padding-inline-start: 1.5rem; margin: .2rem 0 1rem; }
.fc-portal .fc-curriculum li { padding-block: .3rem; }
.fc-portal .fc-curriculum li a { display: inline-block; padding: .18rem .4rem; }
.fc-portal .fc-curriculum [aria-current="page"] { background: #d2e5ea; border-radius: 2px; font-weight: 700; }
.fc-portal .fc-done { color: #355763; font-weight: 700; }
.fc-portal .fc-topic { margin-block: 1.1rem .35rem; }
.fc-portal .fc-lesson :is(iframe, video, img) { max-width: 100%; }
.fc-portal .fc-lesson iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.fc-portal .fc-video { display: block; border: 0; border-radius: 2px; margin-block-end: 1.2rem; }
.fc-portal .fc-lesson form { margin-top: 1.4rem; }
.fc-portal .fc-materials { margin-top: 1.5rem; padding: 1rem; border-radius: 2px; background: #e1eaeb; }
.fc-portal .fc-materials ul { margin-bottom: 0; padding-inline-start: 1.3rem; }
.fc-portal .fc-table { overflow-x: auto; border: 1px solid var(--fc-border); background: #fbfaf7; }
.fc-portal .fc-table table { width: 100%; min-width: 37rem; margin: 0; border-collapse: collapse; }
.fc-portal .fc-table :is(th, td) { padding: .95rem 1.1rem; text-align: start; border-bottom: 1px solid var(--fc-border); }
.fc-portal .fc-table th { background: #dbe8eb; }
.fc-portal .fc-status { display: inline-block; padding: .15rem .65rem; border-radius: 2px; background: #dbe8eb; white-space: nowrap; }
.fc-portal .fc-footer { padding: 0 var(--fc-gutter) 1.6rem; color: var(--fc-muted); }

@media (max-width: 720px) {
    .fc-portal .fc-topbar { grid-template-columns: 1fr auto; gap: .35rem .75rem; }
    .fc-portal .fc-logout { grid-column: 2; grid-row: 1; }
    .fc-portal .fc-nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-bottom: .25rem; }
    .fc-portal .fc-hero, .fc-portal .fc-player { grid-template-columns: minmax(0, 1fr); }
    .fc-portal .fc-curriculum { max-height: 15rem; overflow: auto; }
}
.fc-portal video.fc-video { width: 100%; max-height: 70vh; background: #171717; }
