/* Mobile student area (223:*) and admin (224:*). Loaded with media="(max-width:767px)". */
@media (max-width: 767px) {
	/* ---- student ---- */
	.st-login { flex-direction: column; } .st-login-art { display: none; } .st-login-form { flex: 1 1 auto; padding: 32px 20px; order: 1; }
	.st-login-form h1 { font-size: 28px; }
	.st { flex-direction: column; padding: 10px; gap: 12px; }
	.st-side { width: 100%; position: static; height: auto; gap: 10px; border-radius: 0; }
	.st-logo { margin: 0; padding: 8px; } .st-logo img { width: 90px; height: 42px; }
	.st-nav { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; } .st-nav::-webkit-scrollbar { display: none; }
	.st-nav-i { flex: none; width: auto; height: 46px; padding: 0 12px; font-size: 15px; gap: 8px; } .st-nav-i i { width: 28px; height: 28px; }
	.st-grow { display: none; } .st-bottom { flex-direction: row; align-items: center; justify-content: space-between; } .st-bottom .st-logout { width: auto; }
	.st-built { display: none; }
	.st-canvas { border-radius: 26px; padding: 18px 16px 30px; min-height: 0; }
	.st-top { flex-direction: column-reverse; align-items: stretch; gap: 12px; } .st-search { width: 100%; max-width: none; } .st-user { align-self: flex-start; }
	.st h1 { font-size: 28px; }
	.st-stats { grid-template-columns: 1fr 1fr; gap: 10px; } .st-stats > div { height: 88px; padding: 0 12px; gap: 8px; } .st-stats b { font-size: 26px; } .st-stats i { width: 38px; height: 38px; }
	.st-resume { flex-direction: column; text-align: center; padding: 18px; } .st-resume b { font-size: 24px; } .st-resume img { width: 90px; height: 112px; }
	.st-grid { grid-template-columns: 1fr; }
	.st-headrow { flex-direction: column; gap: 10px; }
	.st-viewer-grid { flex-direction: column-reverse; } .st-side-col { width: 100%; }
	.st-reader { padding: 12px; } .st-stage { height: 70vh; min-height: 360px; padding: 10px; }

	/* ---- admin ---- */
	.la { flex-direction: column; padding: 8px; gap: 10px; }
	.la-side { width: 100%; position: static; height: auto; flex-direction: column; gap: 8px; }
	.la-logo { margin: 0; padding: 8px; } .la-logo span { display: none; }
	.la-nav { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; } .la-nav::-webkit-scrollbar { display: none; }
	.la-nav-i { flex: none; height: 44px; padding: 0 10px; font-size: 14px; gap: 8px; } .la-nav-i i { width: 28px; height: 28px; }
	.la-grow, .la-built { display: none; } .la-view { height: 44px; font-size: 15px; }
	.la-canvas { border-radius: 24px; padding: 16px 14px 30px; min-height: 0; }
	.la-top { flex-direction: column-reverse; align-items: stretch; gap: 10px; } .la-search { width: 100%; max-width: none; } .la-top-r { justify-content: space-between; }
	.la-range a { padding: 6px 8px; font-size: 12px; } .la-user div { display: none; }
	.la-h1 { font-size: 28px; } .la-sub { font-size: 14px; }
	.la-headrow { flex-direction: column; } .la-actions { width: 100%; }
	.la-stats { grid-template-columns: 1fr 1fr; gap: 10px; } .la-stat { height: 96px; padding: 0 12px; gap: 8px; } .la-stat b { font-size: 24px; } .la-stat i { width: 36px; height: 36px; }
	.la-mid, .la-cols, .la-edit-grid { flex-direction: column; } .la-w640, .la-w560, .la-drawer, .la-edit-side { width: 100%; position: static; }
	.la-card { padding: 16px; overflow-x: auto; } .la-table { min-width: 560px; }
	.la-fields.two { grid-template-columns: 1fr; } .la-split { flex-wrap: wrap; } .la-split > div { min-width: 40%; }
	.la-toolbar { flex-direction: column; align-items: stretch; } .la-inline-search input { width: 100%; }
	.la-donut-row { flex-direction: column; } .la-best .rev { width: 70px; } .la-proofgrid { grid-template-columns: 1fr 1fr; }
	.la-tocrow, .la-faqrow { flex-wrap: wrap; } .la-faqrow input, .la-faqrow textarea { flex: 1 1 100%; }
}

/* ---- student area, phone: tiny header so the summary is the first thing you see ---- */
@media (max-width: 767px) {
	.st { padding: 8px; gap: 8px; }
	.st-side { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0; height: auto; }
	.st-logo { order: 1; margin: 0; padding: 3px 8px; border-radius: 12px; } .st-logo img { width: 56px; height: 28px; }
	.st-buy, .st .st-ask, .st-wa { order: 2; flex: none; width: auto; height: 38px; margin: 0; padding: 0 10px; border-radius: 12px; font-size: 13px; gap: 6px; }
	.st-buy .ic { width: 16px; height: 16px; } .st .st-ask div { display: none; } .st .st-ask i { width: 24px; height: 24px; border-radius: 12px; } .st .st-ask i img { width: 24px; height: 24px; } .st-ask { flex-direction: row; }
	.st-wa img { width: 20px; height: 20px; }
	.lb-long { display: none; } .lb-short { display: inline; }
	.st-bottom { order: 3; margin-inline-start: auto; width: auto; } .st .st-logout { height: 38px; width: auto; padding: 0 10px; font-size: 13px; gap: 6px; } .st-logout i { width: 24px; height: 24px; }
	.st-navwrap { order: 5; width: 100%; position: relative; }
	.st-nav { gap: 6px; padding-bottom: 0; } .st-nav-i { height: 38px; padding: 0 10px; font-size: 14px; gap: 6px; } .st-nav-i i { width: 24px; height: 24px; }
	.st-nav-arrow { display: block; position: absolute; left: 0; top: 0; height: 38px; width: 36px; border: 0; padding: 0 0 2px; color: var(--gold-l); font-size: 26px; line-height: 1; background: linear-gradient(to right, #0e0b09 45%, transparent); cursor: pointer; }
	.st-navwrap.at-end .st-nav-arrow { display: none; }
	.st-canvas { border-radius: 22px; padding: 10px 10px 22px; }
	.st-top { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
	.st-search { width: 44px; max-width: none; flex: none; transition: width .2s; } .st-search input { height: 44px; padding: 0; cursor: pointer; } .st-search input::placeholder { color: transparent; } .st-search .ic { right: 12px; top: 12px; }
	.st-search:focus-within { width: calc(100% - 56px); flex: 1; } .st-search:focus-within input { padding: 0 44px 0 14px; cursor: text; } .st-search:focus-within input::placeholder { color: var(--muted); }
	.st-user { padding: 3px; gap: 0; } .st-user div { display: none; }
	.st-year, .st-stats { display: none; } .st h1 { font-size: 24px; } .st .st-sub { margin: 2px 0 12px; font-size: 14px; }
	.st-crumb { display: none; } .st-headrow { flex-direction: row; align-items: center; gap: 8px; } .st-headrow h1 { font-size: 20px; } .st-headrow .st-sub { margin: 2px 0 0; font-size: 13px; }
	.st-headrow .st-light { height: 40px; padding: 0 14px; font-size: 14px; }
	.st-reader { padding: 8px; } .st-stage { height: calc(100svh - 190px); min-height: 380px; padding: 6px; }
	.st-order { flex-wrap: wrap; }
	.st .st-logout span { display: none; } .st .st-logout { padding: 0 6px; } .st .st-ask { padding: 0 8px; font-size: 12.5px; } .st-logo { padding: 3px 6px; } .st-logo img { width: 50px; }
	.st-bar { gap: 6px; } .st-pager, .st-zoom { gap: 4px; } .st-bar button { width: 34px; height: 34px; font-size: 18px; } .st-bar b { min-width: 42px; font-size: 13px; }
	.st-search input { height: 40px; } .st-search { width: 40px; } .st-search .ic { top: 10px; right: 10px; } .st-user i { width: 36px; height: 36px; }
	.st-viewer-grid { align-items: stretch; } .st-reader { width: 100%; max-width: 100%; } .st-stage { width: 100%; }
}
