/* Student area — Figma 201:346 (library), 201:521 (viewer), 201:693 (login). Same visual system as the admin shell. */
body.liel { margin: 0; }
.st, .st-login { --ink: #14100d; --text: #2a211c; --muted: #8a7b6b; --gold: #d8a24a; --gold-d: #b5791a; --gold-l: #f0c56e; --line: #e6dac6; --sand: #f3eadb; --green: #1fa672; --red: #e0494f;
	font-family: 'Heebo', sans-serif; color: var(--text); direction: rtl; }
.st *, .st-login * { box-sizing: border-box; } :where(.st, .st-login) a { color: inherit; text-decoration: none; } .st .ic, .st-login .ic { width: 20px; height: 20px; flex: none; }

/* login */
.st-login { display: flex; min-height: 100vh; background: #fbf7f0; }
.st-login-form { flex: 0 0 min(900px, max(46.9%, 520px)); max-width: 100%; padding: 100px clamp(28px, 6.8vw, 130px) 40px; display: flex; flex-direction: column; gap: 16px; order: 1; overflow-y: auto; }
.st-login-art { flex: 1; background: #0e0b09; background-image: radial-gradient(circle at 20% 80%, rgba(216, 162, 74, .35), transparent 55%); color: #f6efe4; padding: 110px 110px 0; position: relative; overflow: hidden; order: 2; }
.st-login-art h2 { font: 700 54px/1.3 'Heebo', sans-serif; margin: 0 0 12px; text-align: right; color: #fff; }
.st-login-art p { font-size: 19px; line-height: 1.3; color: #d6caba; max-width: 760px; margin: 0; text-align: right; }
.st-art-sheets { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.st-art-sheets img { position: absolute; width: 380px; height: 440px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); } .st-art-sheets img:first-child { left: 250px; top: 331px; transform: rotate(-8deg); } .st-art-sheets img:last-child { left: 496px; top: 499px; transform: rotate(6deg); }
@media (max-width: 1500px) { .st-art-sheets { transform: scale(.7); transform-origin: top left; } .st-login-art h2 { font-size: 40px; } }
.st-login-logo { width: 120px; height: 64px; object-fit: contain; align-self: flex-start; } .st-login-form h1 { margin: 0; font-size: 36px; line-height: 1.3; color: var(--ink); } .st-sub { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.3; }
.st-tabs { display: flex; background: var(--sand); border-radius: 16px; padding: 5px; gap: 5px; } .st-tabs button { flex: 1; height: 46px; border: 0; border-radius: 12px; background: transparent; font: 700 17px 'Heebo'; color: var(--muted); cursor: pointer; } .st-tabs button.on { background: var(--ink); color: var(--gold-l); }
.st-form { display: flex; flex-direction: column; gap: 16px; } .st-form[hidden] { display: none; }
.st-f { display: flex; flex-direction: column; gap: 6px; } .st-f[hidden] { display: none; } .st-f > span { font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--text); }
.st-in { position: relative; } .st-in .ic { position: absolute; right: 14px; top: 17px; color: var(--muted); }
.st-in input { width: 100%; height: 54px; border: 1.2px solid var(--line); border-radius: 14px; background: #fff; padding: 0 48px 0 18px; font: 400 16px 'Heebo'; text-align: right; color: var(--ink); } .st-in input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 162, 74, .18); } .st-in input:disabled { background: var(--sand); }
.st-in:not(:has(.ic)) input { padding-right: 16px; }
.st-hint { margin: -4px 0 0; font-size: 13px; color: var(--gold-d); } .st-msg { margin: 0; font-size: 14px; font-weight: 700; color: var(--red); } .st-msg.ok { color: var(--green); } .st-msg[hidden] { display: none; }
.st-cta { height: 58px; border: 0; border-radius: 14px; background: linear-gradient(to bottom, var(--gold-l), var(--gold)); font: 700 18px 'Heebo'; color: var(--ink); cursor: pointer; box-shadow: 0 8px 20px rgba(216, 162, 74, .4); } .st-cta:disabled { opacity: .6; cursor: wait; }
.st-link { background: none; border: 0; color: var(--gold-d); font: 700 14px 'Heebo'; cursor: pointer; text-align: center; }
.st-note { display: flex; gap: 12px; background: #fff4dc; border: 1px solid rgba(216, 162, 74, .55); border-radius: 14px; padding: 14px 16px; margin-top: 0; } .st-note i { width: 34px; height: 34px; border-radius: 17px; background: var(--gold); display: grid; place-items: center; flex: none; color: var(--ink); } .st-note div { display: flex; flex-direction: column; gap: 3px; } .st-note b { font-size: 15px; } .st-note span { font-size: 13px; }
.st-outline { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; font-size: 17px; border: 1.6px solid var(--gold); border-radius: 14px; font-weight: 700; color: var(--ink); background: #fff; }

/* app shell */
.st { display: flex; gap: 20px; padding: 24px; min-height: 100vh; background: #0e0b09; }
.st-side { width: 312px; flex: none; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 24px; align-self: flex-start; height: calc(100vh - 48px); }
.st-logo { background: #fbf7f0; border-radius: 16px; padding: 10px; display: grid; place-items: center; margin-bottom: 14px; } .st-logo img { width: 120px; height: 56px; object-fit: contain; }
.st-nav { display: flex; flex-direction: column; gap: 6px; }
.st-nav-i { display: flex; flex-direction: row-reverse; align-items: center; gap: 14px; height: 52px; padding: 0 18px; border-radius: 16px; border: 1.2px solid transparent; color: #e8dfd2; font: 500 18px 'Heebo'; background: none; cursor: pointer; width: 100%; }
.st-nav-i span { flex: 1; text-align: right; } .st-nav-i i { width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; flex: none; }
.st .st-nav-i { color: #e8dfd2; }
.st .st-nav-i:hover { background: rgba(255, 255, 255, .05); color: #fff; } .st .st-nav-i.on { background: rgba(216, 162, 74, .14); border-color: rgba(216, 162, 74, .45); color: var(--gold-l); font-weight: 700; } .st-nav-i.on i { background: var(--gold); color: var(--ink); }
.st-buy { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 16px; background: linear-gradient(to bottom, var(--gold-l), var(--gold)); color: var(--ink) !important; font-weight: 700; font-size: 17px; margin-top: 8px; }
.st .st-ask { display: flex; align-items: center; gap: 12px; flex-direction: row-reverse; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; } .st-ask div { flex: 1; text-align: right; display: flex; flex-direction: column; } .st-ask b { font-size: 15px; } .st-ask span { font-size: 12px; color: #cfc4b4; } .st-ask i { width: 34px; height: 34px; border-radius: 17px; background: var(--green); display: grid; place-items: center; }
.st-wa { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 16px; background: #25d366; color: #fff !important; font-weight: 700; font-size: 17px; flex-direction: row-reverse; } .st-wa img { width: 28px; height: 28px; }
.st-grow { flex: 1; } .st-bottom { display: flex; flex-direction: column; gap: 8px; }
.st-built { display: block; background: #f6efe4; border-radius: 12px; padding: 8px 10px; } .st-built img { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto; }
.st-canvas { flex: 1; min-width: 0; background: #f7f0e5; border-radius: 36px; padding: 28px 44px 44px; min-height: calc(100vh - 48px); background-image: radial-gradient(circle at 0 0, rgba(240, 197, 110, .32), transparent 420px), radial-gradient(circle at 100% 100%, rgba(216, 162, 74, .25), transparent 460px); }
.st-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.st-search { position: relative; width: 480px; max-width: 55%; } .st-search input { width: 100%; height: 50px; border-radius: 26px; border: 1px solid var(--line); background: #fff; padding: 0 48px 0 18px; font: 400 15px 'Heebo'; text-align: right; } .st-search .ic { position: absolute; right: 18px; top: 15px; color: var(--muted); }
.st-user { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 5px 18px 5px 10px; } .st-user div { text-align: right; line-height: 1.3; } .st-user b { display: block; font-size: 15px; } .st-user small { color: var(--muted); font-size: 12px; } .st-user i { width: 40px; height: 40px; border-radius: 20px; background: var(--ink); color: var(--gold-l); display: grid; place-items: center; font: 700 18px 'Heebo'; font-style: normal; }
.st-crumb { font-size: 14px; color: var(--muted); margin-bottom: 8px; text-align: right; } .st-crumb b { color: var(--ink); }
.st h1 { margin: 0; font: 700 40px/1.3 'Heebo'; color: var(--ink); } .st h2 { margin: 0; font-size: 26px; color: var(--ink); } .st h3 { margin: 0 0 12px; font-size: 20px; color: var(--ink); } .st .st-sub { margin: 4px 0 22px; font-size: 16px; color: var(--muted); }
.st-year { display: inline-block; background: var(--ink); color: var(--gold-l); border-radius: 12px; padding: 2px 12px; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.st-chip { display: inline-block; background: #fff4dc; color: var(--gold-d); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 8px; } .st-chip.free { background: var(--red); color: #fff; }
.st-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.st-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 24px; height: 108px; padding: 0 20px; display: flex; align-items: center; gap: 14px; } .st-stats i { width: 48px; height: 48px; border-radius: 24px; background: var(--sand); color: var(--gold-d); display: grid; place-items: center; flex: none; } .st-stats div > div { text-align: right; display: flex; flex-direction: column; flex: 1; } .st-stats b { font-size: 34px; color: var(--ink); line-height: 1.2; } .st-stats span { font-size: 14px; color: var(--muted); }
.st-stats > .gold { background: linear-gradient(to right, #d8a24a, #6b3f0e); border: 0; } .st-stats > .gold b { color: #fff; } .st-stats > .gold span { color: #fbe9c6; } .st-stats > .gold i { background: rgba(255, 255, 255, .2); color: #fff; }
.st-resume { display: flex; align-items: center; gap: 24px; background: linear-gradient(to left, #14100d 60%, #6b3f0e); color: #fff; border-radius: 26px; padding: 18px 26px; margin-bottom: 26px; } .st-resume img { width: 110px; height: 136px; object-fit: cover; border-radius: 10px; flex: none; } .st-resume > div { flex: 1; text-align: right; display: flex; flex-direction: column; gap: 6px; } .st-resume small { color: var(--gold-l); font-weight: 700; } .st-resume b { font-size: 32px; } .st-resume span { color: #cfc4b4; font-size: 14px; } .st-resume em { background: var(--gold); color: var(--ink); font-style: normal; font-weight: 700; border-radius: 12px; padding: 12px 22px; white-space: nowrap; }
.st-prog { height: 8px; border-radius: 4px; background: rgba(0, 0, 0, .1); overflow: hidden; direction: rtl; } .st-prog i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(to left, var(--gold-l), var(--gold)); } .st-resume .st-prog { background: rgba(255, 255, 255, .18); }
.st-sect { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 16px; } .st-sect a { color: var(--gold-d); font-weight: 700; }
.st-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .st-sum[hidden] { display: none; }
.st-sum { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 16px; gap: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(128, 89, 26, .07); display: flex; flex-direction: column; } .st-sum-img { display: block; height: 112px; border-radius: 16px; background: #eadfcf; overflow: hidden; } .st-sum-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.st-sum-b { padding: 0; display: flex; flex-direction: column; gap: 12px; } .st-sum-b h3 { margin: 0; font-size: 19px; line-height: 1.3; } .st-sum-b small { color: var(--muted); } .st-tags { display: flex; gap: 6px; justify-content: flex-end; }
.st-open { display: grid; place-items: center; padding: 12px 20px; font-size: 16px; line-height: 1.3; border-radius: 14px; background: var(--ink); color: #f0c56e !important; font-weight: 700; } .st-open.light { background: #fff; color: var(--ink) !important; border: 1.4px solid var(--line); }
.st-empty { color: var(--muted); font-size: 18px; padding: 30px 0; text-align: center; grid-column: 1 / -1; } .st-empty.small { font-size: 15px; padding: 14px 0; } .st-empty a { color: var(--gold-d); font-weight: 700; }
.st-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: 0 10px 30px rgba(128, 89, 26, .07); margin-bottom: 18px; } .st-narrow { max-width: 560px; }
.st-order { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); } .st-order span { flex: 1; } .st-order small { color: var(--muted); } .st-order em { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 8px; background: #fff4dc; color: var(--gold-d); } .st-order em.paid { background: #e4f5ec; color: var(--green); } .st-order em.refunded { background: #fde8e9; color: var(--red); }

/* viewer */
.st-headrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.st-light { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: 700 15px 'Heebo'; color: var(--ink); cursor: pointer; } .st-light.on { background: var(--ink); color: var(--gold-l); }
.st-viewer-grid { display: flex; gap: 18px; align-items: flex-start; } .st-side-col { width: 380px; flex: none; } .st-reader { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 18px; box-shadow: 0 10px 30px rgba(128, 89, 26, .07); }
.st-file { display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; margin-bottom: 8px; font-weight: 500; } .st-file span { flex: 1; text-align: right; } .st-file small { color: var(--muted); } .st-file i { width: 28px; height: 28px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; color: var(--gold-d); } .st-file.on { background: #fff4dc; border: 1px solid rgba(216, 162, 74, .5); font-weight: 700; } .st-file.on i { background: var(--gold); color: var(--ink); }
.st-toc { display: flex; justify-content: space-between; width: 100%; padding: 11px 14px; border: 0; border-radius: 12px; background: none; font: 500 15px 'Heebo'; cursor: pointer; text-align: right; color: var(--text); } .st-toc em { font-style: normal; color: var(--gold-d); font-weight: 700; } .st-toc:hover, .st-toc.on { background: var(--sand); }
.st-bar { display: flex; justify-content: space-between; margin-bottom: 14px; direction: ltr; } .st-pager, .st-zoom { display: flex; align-items: center; gap: 10px; } .st-bar button { width: 36px; height: 36px; border-radius: 18px; border: 0; background: var(--sand); color: var(--gold-d); font-size: 20px; cursor: pointer; } .st-bar b { min-width: 64px; text-align: center; font-size: 15px; }
.st-stage { background: #efe5d3; border-radius: 18px; padding: 24px; height: calc(100vh - 330px); min-height: 460px; overflow: auto; text-align: center; user-select: none; -webkit-user-select: none; } .st-stage canvas { box-shadow: 0 10px 30px rgba(0, 0, 0, .18); background: #fff; max-width: none; }
.st-loading { color: var(--muted); font-size: 17px; } .st-loading[hidden] { display: none; }
@media print { .st { display: none !important; } }
@media (max-width: 1700px) { .st-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1400px) { .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-viewer-grid { flex-direction: column-reverse; } .st-side-col { width: 100%; } .st-stats { grid-template-columns: repeat(2, 1fr); } }

/* logout: clearly visible */
.st .st-logout, .st-logout { background: var(--gold); color: var(--ink) !important; border-color: var(--gold); font-weight: 700; justify-content: center; text-decoration: none; }
.st .st-logout:hover { background: var(--gold-l); color: var(--ink); }
.st-logout i { background: rgba(20, 16, 13, .12); }

/* recommended for you */
.st-rec-h { margin-top: 38px; }
.st-rec-price { display: flex; align-items: baseline; gap: 8px; } .st-rec-price b { font-size: 22px; color: var(--ink); } .st-rec-price s { color: #8a7b6b; font-size: 14px; }

a.st-toc { text-decoration: none; color: inherit; }

/* compact profile button + photo */
a.st-user { color: inherit; cursor: pointer; } .st-user i { position: relative; overflow: hidden; } .st-user i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb-short { display: none; } .st-nav-arrow { display: none; }
.st .st-ask i img { width: 30px; height: 30px; display: block; } .st .st-ask i { background: #fff; }
/* purchase history: back to the exact cart */
a.st-resume-btn { background: var(--gold); color: var(--ink) !important; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 12px; white-space: nowrap; }
/* full view of the summary (works on phones too: it is a full-page layer, not the browser fullscreen API) */
.st-fullbtn svg { display: block; margin: auto; }
.st-reader.st-full { position: fixed; inset: 0; z-index: 100001; border-radius: 0; padding: 8px; display: flex; flex-direction: column; background: #fff; }
.st-reader.st-full .st-stage { flex: 1; height: auto; min-height: 0; border-radius: 12px; padding: 8px; }
body.st-noscroll { overflow: hidden; }

/* screenshot guard layer */
.st-reader { position: relative; }
.st-wmflash { position: absolute; inset: 0; z-index: 6; background-color: #fff; background-repeat: repeat; pointer-events: none; border-radius: inherit; }
.st-wmflash[hidden] { display: none; }
.st-stage.st-hide canvas { visibility: hidden; }
@media print { .st-reader:not(.st-free) .st-stage, .st-reader:not(.st-free) .st-bar { display: none !important; } .st-reader:not(.st-free) .st-wmflash { display: block !important; } }

/* free summaries may be printed: only the page itself is printed */
@media print { .st-side, .st-top, .st-headrow, .st-crumb, .st-side-col, .st-free .st-bar { display: none !important; } .st, .st-canvas, .st-viewer-grid, .st-free { display: block !important; background: #fff !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
	.st-free .st-stage { height: auto !important; overflow: visible !important; background: #fff !important; padding: 0 !important; } .st-free .st-stage canvas { box-shadow: none !important; width: 100% !important; height: auto !important; } }

/* continuous scroll viewer */
.st-stage { position: relative; }
#st-pages { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.st-pg { background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); flex: none; position: relative; max-width: none; }
.st-pg canvas { display: block; width: 100%; height: 100%; box-shadow: none; }
@media print { .st-free .st-pg { box-shadow: none; page-break-after: always; } .st-free .st-pg canvas { width: 100% !important; height: auto !important; } }
