/* Jadwal – school timetable system */
#jadwal-root, .jd-modal-back, .jd-toasts {
	--jd-ink: #1f2a37;
	--jd-ink-2: #5b6876;
	--jd-paper: #f3f5f7;
	--jd-surface: #ffffff;
	--jd-board: #1e5b4f;
	--jd-board-2: #174a40;
	--jd-board-tint: #e3efec;
	--jd-bell: #e0a526;
	--jd-bell-tint: #fdf4dd;
	--jd-rule: #d9dee3;
	--jd-alert: #c2412d;
	--jd-alert-tint: #fbe9e5;
	--jd-ok: #2f7d4f;
	--jd-radius: 10px;
}
#jadwal-root {
	font-family: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: var(--jd-ink);
	background: var(--jd-paper);
	box-sizing: border-box;
	text-align: start;
}
#jadwal-root *, #jadwal-root *::before, #jadwal-root *::after, .jd-modal-back *, .jd-modal-back *::before, .jd-modal-back *::after { box-sizing: border-box; }
.jd-modal-back { text-align: start; }
.jd-modal-back button, .jd-modal-back input, .jd-modal-back select, .jd-modal-back textarea { font: inherit; color: inherit; }
.jd-modal-back p { margin: 0 0 10px; }
.jd-modal-back h3 { font-weight: 700; }
#jadwal-root button, #jadwal-root input, #jadwal-root select, #jadwal-root textarea { font: inherit; color: inherit; }
body.jadwal-full { margin: 0; background: #f3f5f7; }
.jadwal-fullpage { min-height: 100vh; }
.jadwal-admin { margin: 10px 0 0 0; border-radius: var(--jd-radius); overflow: hidden; border: 1px solid #d9dee3; min-height: 80vh; }
.jadwal-embed { border-radius: var(--jd-radius); overflow: hidden; border: 1px solid #d9dee3; }

/* Shell */
.jd-shell { display: grid; grid-template-columns: 236px 1fr; min-height: inherit; }
.jadwal-fullpage .jd-shell { min-height: 100vh; }
.jd-side { background: var(--jd-board); color: #e9f2ef; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.jd-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; }
.jd-brand-mark { width: 38px; height: 38px; border-radius: 9px; background: #fff; color: var(--jd-board); display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none; overflow: hidden; }
.jd-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.jd-brand-name { font-weight: 700; font-size: 16px; line-height: 1.25; }
.jd-brand-sub { font-size: 12px; opacity: .75; }
.jd-nav-group { font-size: 12px; opacity: .6; padding: 14px 10px 4px; }
.jd-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 14.5px; }
.jd-nav a:hover { background: rgba(255,255,255,.08); }
.jd-nav a.active { background: #fff; color: var(--jd-board); font-weight: 600; }
.jd-nav svg { width: 18px; height: 18px; flex: none; }
.jd-side-foot { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
.jd-side-foot a, .jd-side-foot button { color: #e9f2ef; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-align: start; }
.jd-main { min-width: 0; display: flex; flex-direction: column; }
.jd-top { display: flex; align-items: center; gap: 12px; padding: 14px 24px; background: var(--jd-surface); border-bottom: 1px solid var(--jd-rule); flex-wrap: wrap; }
.jd-top h1 { font-size: 21px; margin: 0; font-weight: 700; line-height: 1.3; }
.jd-top .jd-spacer { flex: 1; }
.jd-content { padding: 22px 24px 40px; flex: 1; min-width: 0; }
.jd-btn.jd-menu-btn { display: none; }

/* Typography */
#jadwal-root h2 { font-size: 18px; margin: 0 0 10px; font-weight: 700; line-height: 1.35; }
#jadwal-root h3 { font-size: 15.5px; margin: 0 0 8px; font-weight: 700; }
#jadwal-root p { margin: 0 0 10px; }
.jd-muted { color: var(--jd-ink-2); }
.jd-small { font-size: 13px; }
.jd-num { font-variant-numeric: tabular-nums; }

/* Panels */
.jd-panel { background: var(--jd-surface); border: 1px solid var(--jd-rule); border-radius: var(--jd-radius); padding: 18px; margin-bottom: 18px; }
.jd-panel-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.jd-panel-head h2 { margin: 0; }
.jd-panel-head .jd-spacer { flex: 1; }
.jd-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.jd-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.jd-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* Buttons */
.jd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--jd-rule); background: var(--jd-surface); color: var(--jd-ink); border-radius: 8px; padding: 7px 14px; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.4; white-space: nowrap; text-decoration: none; }
.jd-btn:hover { border-color: #b8c1ca; background: #f8fafb; }
.jd-btn:disabled { opacity: .5; cursor: not-allowed; }
.jd-btn.primary { background: var(--jd-board); border-color: var(--jd-board); color: #fff; }
.jd-btn.primary:hover { background: var(--jd-board-2); }
.jd-btn.bell { background: var(--jd-bell); border-color: var(--jd-bell); color: #2b2006; }
.jd-btn.danger { color: var(--jd-alert); border-color: #e9c3bb; }
.jd-btn.danger:hover { background: var(--jd-alert-tint); }
.jd-btn.ghost { border-color: transparent; background: transparent; }
.jd-btn.sm { padding: 4px 9px; font-size: 13px; }
.jd-btn svg { width: 16px; height: 16px; }
#jadwal-root :focus-visible, .jd-modal-back :focus-visible { outline: 2px solid var(--jd-bell); outline-offset: 2px; }

/* Forms */
.jd-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; min-width: 0; }
.jd-field > span { font-size: 13px; color: var(--jd-ink-2); font-weight: 500; }
.jd-field small { color: var(--jd-ink-2); font-size: 12px; }
.jd-input, #jadwal-root select.jd-input, #jadwal-root textarea.jd-input, .jd-modal-back select.jd-input, .jd-modal-back textarea.jd-input { width: 100%; border: 1px solid var(--jd-rule); border-radius: 8px; padding: 7px 10px; background: #fff; min-height: 36px; font-size: 14px; max-width: none; box-shadow: none; }
.jd-input:focus { border-color: var(--jd-board); outline: none; box-shadow: 0 0 0 3px var(--jd-board-tint); }
#jadwal-root .jd-input.sm, .jd-modal-back .jd-input.sm { min-height: 30px; padding: 4px 8px; font-size: 13px; width: auto; max-width: 100%; }
.jd-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.jd-check input { width: 16px; height: 16px; accent-color: var(--jd-board); margin: 0; }
.jd-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.jd-chips-select { display: flex; flex-wrap: wrap; gap: 6px; }
.jd-chips-select label { border: 1px solid var(--jd-rule); border-radius: 999px; padding: 3px 11px; cursor: pointer; font-size: 13px; user-select: none; }
.jd-chips-select input { display: none; }
.jd-chips-select label.on { background: var(--jd-board); color: #fff; border-color: var(--jd-board); }

/* Tables */
.jd-table-wrap { overflow-x: auto; border: 1px solid var(--jd-rule); border-radius: var(--jd-radius); background: #fff; }
table.jd-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.jd-table th { background: #f6f8f9; text-align: start; font-weight: 600; font-size: 13px; color: var(--jd-ink-2); padding: 9px 12px; border-bottom: 1px solid var(--jd-rule); white-space: nowrap; }
.jd-table td { padding: 8px 12px; border-bottom: 1px solid #edf0f2; vertical-align: middle; }
.jd-table tr:last-child td { border-bottom: 0; }
.jd-table tr:hover td { background: #fafbfc; }
.jd-table td.jd-actions { white-space: nowrap; text-align: end; width: 1%; }
.jd-empty { padding: 36px 16px; text-align: center; color: var(--jd-ink-2); }
.jd-empty strong { display: block; color: var(--jd-ink); font-size: 16px; margin-bottom: 6px; }

/* Tags */
.jd-tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; background: #eef1f4; color: var(--jd-ink-2); white-space: nowrap; }
.jd-tag.green { background: var(--jd-board-tint); color: var(--jd-board); }
.jd-tag.bell { background: var(--jd-bell-tint); color: #8a6206; }
.jd-tag.red { background: var(--jd-alert-tint); color: var(--jd-alert); }
.jd-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }

/* Stat strip */
.jd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); background: #fff; border: 1px solid var(--jd-rule); border-radius: var(--jd-radius); margin-bottom: 18px; }
.jd-stat { padding: 14px 18px; border-inline-start: 1px solid var(--jd-rule); }
.jd-stat:first-child { border-inline-start: 0; }
.jd-stat b { display: block; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.jd-stat span { font-size: 13px; color: var(--jd-ink-2); }
.jd-checklist { list-style: none; margin: 0; padding: 0; }
.jd-checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed #e4e8ec; }
.jd-checklist li:last-child { border-bottom: 0; }
.jd-checklist .ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 700; }
.jd-checklist .ok .ic { background: var(--jd-board-tint); color: var(--jd-board); }
.jd-checklist .warn .ic { background: var(--jd-bell-tint); color: #8a6206; }
.jd-checklist .err .ic { background: var(--jd-alert-tint); color: var(--jd-alert); }

/* Timetable grid (the centrepiece) */
.jd-tt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; align-items: start; }
.jd-tt-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--jd-rule); border-radius: var(--jd-radius); }
table.jd-tt { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; table-layout: fixed; margin: 0; }
.jd-tt th { background: var(--jd-board); color: #fff; font-weight: 600; font-size: 13px; padding: 8px 6px; text-align: center; border: 0; }
.jd-tt th .t { display: block; font-weight: 400; font-size: 11.5px; opacity: .8; }
.jd-tt th.day { width: 92px; background: var(--jd-board-2); }
.jd-tt td { border-bottom: 1px solid #e6eaee; border-inline-start: 1px solid #e6eaee; padding: 4px; height: 66px; vertical-align: top; position: relative; }
.jd-tt td.day { background: #f6f8f9; font-weight: 600; text-align: center; vertical-align: middle; border-inline-start: 0; }
.jd-tt td.off { background: repeating-linear-gradient(135deg, #f3f5f7 0 6px, #eceff2 6px 12px); }
.jd-tt td.blocked { background: repeating-linear-gradient(135deg, #fbefec 0 6px, #f7e2dd 6px 12px); }
.jd-tt td.drop-ok { background: #e6f4ee; }
.jd-tt td.drop-bad { background: #fbe9e5; }
.jd-tt td.drop-over { outline: 2px dashed var(--jd-board); outline-offset: -3px; }
.jd-tt td.can-add { cursor: pointer; }
.jd-tt td.can-add:hover::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; color: #9aa6b2; }
.jd-card { border-radius: 6px; padding: 4px 7px; font-size: 12.5px; line-height: 1.35; background: #f4f6f8; border-inline-start: 4px solid var(--c, #8a97a5); margin-bottom: 3px; cursor: default; position: relative; overflow: hidden; }
.jd-card[draggable="true"] { cursor: grab; }
.jd-card b { display: block; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jd-card i { font-style: normal; color: var(--jd-ink-2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jd-card.conflict { background: var(--jd-alert-tint); box-shadow: inset 0 0 0 1px var(--jd-alert); }
.jd-card.locked { padding-inline-end: 18px; }
.jd-card.locked::before { content: "🔒"; position: absolute; inset-inline-end: 4px; top: 2px; font-size: 10px; }
.jd-card.sub { border-inline-start-color: var(--jd-bell); background: var(--jd-bell-tint); }
.jd-card.dragging { opacity: .4; }
.jd-pool { background: #fff; border: 1px solid var(--jd-rule); border-radius: var(--jd-radius); padding: 12px; position: sticky; top: 10px; max-height: 80vh; overflow: auto; }
.jd-pool .jd-card { cursor: grab; }
.jd-pool .count { float: inline-end; font-weight: 700; color: var(--jd-board); }
.jd-conflicts { font-size: 13px; }
.jd-conflicts li { color: var(--jd-alert); margin-bottom: 4px; }
.jd-master { font-size: 11.5px; }
.jd-master table { border-collapse: collapse; }
.jd-master th, .jd-master td { border: 1px solid #e3e7eb; padding: 3px 4px; text-align: center; white-space: nowrap; }
.jd-master th { background: #f6f8f9; position: sticky; top: 0; }
.jd-master td.name { text-align: start; font-weight: 600; background: #fff; position: sticky; inset-inline-start: 0; z-index: 1; cursor: pointer; }
.jd-master td.cell { min-width: 44px; }
.jd-master td.c0 { border-inline-start: 2px solid var(--jd-board); }

/* Progress */
.jd-progress { height: 10px; background: #e8ecef; border-radius: 99px; overflow: hidden; }
.jd-progress div { height: 100%; background: var(--jd-board); transition: width .25s; }
.jd-gen-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; text-align: center; }
.jd-gen-stats b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.jd-gen-stats span { font-size: 12px; color: var(--jd-ink-2); }

/* Unavailability grid */
table.jd-ugrid { border-collapse: collapse; font-size: 12px; user-select: none; margin: 0; }
.jd-ugrid th, .jd-ugrid td { border: 1px solid var(--jd-rule); padding: 0; text-align: center; }
.jd-ugrid th { padding: 3px 6px; background: #f6f8f9; font-weight: 600; }
.jd-ugrid td { width: 34px; height: 28px; cursor: pointer; }
.jd-ugrid td.on { background: var(--jd-alert); }
.jd-ugrid td.na { background: #eceff2; cursor: not-allowed; }

/* Subs */
.jd-slot-row.uncovered td { background: #fffaf0; }
.jd-cand { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 12px; border: 1px solid var(--jd-rule); border-radius: 8px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.jd-cand:hover { border-color: var(--jd-board); }
.jd-cand.best { border-color: var(--jd-board); box-shadow: 0 0 0 2px var(--jd-board-tint); }
.jd-cand.inel { opacity: .6; }
.jd-cand .meta { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.jd-bars { display: flex; flex-direction: column; gap: 6px; }
.jd-bar { display: grid; grid-template-columns: 160px 1fr 56px; align-items: center; gap: 10px; font-size: 13px; }
.jd-bar .track { background: #edf0f2; border-radius: 4px; height: 14px; overflow: hidden; }
.jd-bar .fill { height: 100%; background: var(--jd-board); border-radius: 4px; }
.jd-bar .fill.hi { background: var(--jd-bell); }
.jd-bar .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Modal & toast */
.jd-modal-back { position: fixed; inset: 0; background: rgba(20, 30, 40, .45); display: grid; place-items: center; z-index: 100000; padding: 16px; }
.jd-modal { background: #fff; border-radius: 12px; width: min(560px, 100%); max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(10, 25, 35, .3); font-family: "Readex Pro", system-ui, sans-serif; color: #1f2a37; font-size: 15px; line-height: 1.55; }
.jd-modal.wide { width: min(900px, 100%); }
.jd-modal-head { padding: 16px 20px; border-bottom: 1px solid #e6eaee; display: flex; align-items: center; gap: 10px; }
.jd-modal-head h3 { margin: 0; font-size: 17px; flex: 1; }
.jd-modal-body { padding: 18px 20px; overflow: auto; }
.jd-modal-foot { padding: 12px 20px; border-top: 1px solid #e6eaee; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.jd-toasts { position: fixed; bottom: 20px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 100001; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
[dir="rtl"] .jd-toasts { transform: translateX(50%); }
.jd-toast { background: #1f2a37; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.2); font-family: "Readex Pro", system-ui, sans-serif; }
.jd-toast.err { background: var(--jd-alert, #c2412d); }
.jd-toast.ok { background: #1e5b4f; }
.jd-loading { padding: 60px; text-align: center; color: var(--jd-ink-2); }
.jd-spinner { width: 26px; height: 26px; border: 3px solid #d9dee3; border-top-color: #1e5b4f; border-radius: 50%; animation: jdspin .8s linear infinite; margin: 0 auto 12px; }
@keyframes jdspin { to { transform: rotate(360deg); } }
.jd-onboard { max-width: 560px; margin: 8vh auto; background: #fff; border: 1px solid var(--jd-rule); border-radius: 14px; padding: 32px; }
.jd-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--jd-rule); margin-bottom: 16px; flex-wrap: wrap; }
.jd-tabs button { border: 0; background: none; padding: 9px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--jd-ink-2); font-weight: 500; }
.jd-tabs button.on { border-bottom-color: var(--jd-board); color: var(--jd-board); font-weight: 600; }
.jd-seg { display: inline-flex; border: 1px solid var(--jd-rule); border-radius: 8px; overflow: hidden; background: #fff; }
.jd-seg button { border: 0; background: none; padding: 6px 12px; cursor: pointer; font-size: 13.5px; border-inline-start: 1px solid var(--jd-rule); }
.jd-seg button:first-child { border-inline-start: 0; }
.jd-seg button.on { background: var(--jd-board); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	#jadwal-root *, .jd-progress div { transition: none !important; animation: none !important; }
}
@media (max-width: 900px) {
	.jd-shell { grid-template-columns: 1fr; }
	.jd-side { display: none; position: fixed; inset: 0; z-index: 99999; overflow: auto; }
	.jd-shell.menu-open .jd-side { display: flex; }
	.jd-btn.jd-menu-btn { display: inline-flex; }
	.jd-tt-layout, .jd-grid2, .jd-grid3, .jd-form-grid { grid-template-columns: 1fr; }
	.jd-content { padding: 16px; }
	.jd-top { padding: 12px 16px; }
	.jd-pool { position: static; max-height: none; }
	.jd-bar { grid-template-columns: 110px 1fr 44px; }
}

/* ---------------- Sign in / account screens ---------------- */
.jd-auth { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 100vh; background: #fff; }
.jadwal-embed .jd-auth, .jadwal-admin .jd-auth { min-height: 640px; }
.jd-auth-side { position: relative; background-color: var(--jd-board); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; color: #fff; padding: 36px 44px; display: flex; flex-direction: column; overflow: hidden; }
.jd-auth-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 24px; font-weight: 700; }
.jd-auth-brand .jd-brand-mark { width: 42px; height: 42px; font-size: 23px; }
.jd-auth-pitch { margin: auto 0; padding: 40px 0; max-width: 460px; }
.jd-auth-big { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.35; margin: 0 0 28px !important; }
.jd-auth-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; max-width: 380px; padding: 14px; background: rgba(255,255,255,.08); border-radius: 14px; }
.jd-auth-grid i { display: block; height: 30px; border-radius: 6px; background: rgba(255,255,255,.15); opacity: 0; transform: scale(.6); animation: jdpop .3s cubic-bezier(.2,.9,.3,1.3) forwards; }
.jd-auth-grid i.off { background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 5px, rgba(255,255,255,.14) 5px 10px); animation-delay: 0s; }
@keyframes jdpop { to { opacity: 1; transform: none; } }
.jd-auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: 15.5px; color: rgba(255,255,255,.88); }
.jd-auth-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--jd-bell); margin-inline-end: 10px; vertical-align: middle; }
.jd-auth-site { font-size: 13px; opacity: .65; }
.jd-auth-main { display: flex; flex-direction: column; padding: 24px 40px 40px; background: var(--jd-paper); }
.jd-auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.jd-auth-back { color: var(--jd-ink-2); text-decoration: none; }
.jd-auth-back:hover { color: var(--jd-board); text-decoration: underline; }
.jd-auth-lang { border: 1px solid var(--jd-rule); background: #fff; border-radius: 8px; padding: 5px 12px; cursor: pointer; font-size: 14px; }
.jd-auth-center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 0; }
.jd-auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--jd-rule); border-radius: 16px; padding: 32px; box-shadow: 0 24px 48px -28px rgba(20, 40, 50, .35); }
.jd-auth-card h1 { font-size: 26px; margin: 0 0 6px; font-weight: 700; line-height: 1.3; }
.jd-auth-card > p.jd-muted { margin: 0 0 22px; font-size: 14.5px; }
.jd-auth-card .jd-field > span { font-size: 14px; color: var(--jd-ink); }
.jd-auth-card .jd-input { min-height: 46px; font-size: 15.5px; border-radius: 10px; padding: 9px 14px; }
.jd-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--jd-paper); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.jd-auth-tabs button { border: 0; background: none; padding: 9px; border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--jd-ink-2); font-size: 15px; }
.jd-auth-tabs button.on { background: #fff; color: var(--jd-board); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.jd-pass { position: relative; display: block; }
.jd-pass .jd-input { padding-inline-end: 46px; }
.jd-eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--jd-ink-2); display: grid; place-items: center; }
.jd-eye svg { width: 20px; height: 20px; }
.jd-eye.on { color: var(--jd-board); }
.jd-auth-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 0 18px; font-size: 14px; flex-wrap: wrap; }
.jd-auth-row a, .jd-auth-foot a { color: var(--jd-board); font-weight: 600; text-decoration: none; }
.jd-auth-row a:hover, .jd-auth-foot a:hover { text-decoration: underline; }
.jd-auth-submit { width: 100%; min-height: 48px; font-size: 16px; font-weight: 700; border-radius: 10px; margin-top: 6px; }
.jd-auth-note { border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; line-height: 1.6; }
.jd-auth-note.err { background: var(--jd-alert-tint); color: var(--jd-alert); }
.jd-auth-note.ok { background: var(--jd-board-tint); color: var(--jd-board); }
.jd-auth-note[hidden] { display: none; }
.jd-auth-foot { text-align: center; margin: 20px 0 0 !important; font-size: 14px; color: var(--jd-ink-2); }
.jd-hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.jd-auth-card form { position: relative; }
@media (max-width: 860px) {
	.jd-auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
	.jd-auth-side { padding: 22px 20px; }
	.jd-auth-pitch, .jd-auth-site { display: none; }
	.jd-auth-main { padding: 16px; }
	.jd-auth-center { align-items: flex-start; padding: 20px 0; }
	.jd-auth-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { .jd-auth-grid i { animation: none; opacity: 1; transform: none; } }
#jadwal-root .jd-btn.primary, .jd-modal-back .jd-btn.primary { color: #fff; }
#jadwal-root .jd-btn.bell, .jd-modal-back .jd-btn.bell { color: #2b2006; }
#jadwal-root .jd-btn.danger, .jd-modal-back .jd-btn.danger { color: var(--jd-alert); }
.jd-auth-google { margin-bottom: 6px; }
.jd-google-btn { display: flex; justify-content: center; min-height: 44px; max-width: none !important; }
.jd-auth-or { display: flex; align-items: center; gap: 12px; color: var(--jd-ink-2); font-size: 13px; margin: 16px 0 14px; }
.jd-auth-or::before, .jd-auth-or::after { content: ""; flex: 1; height: 1px; background: var(--jd-rule); }

/* Trial, verification and read-only */
.jd-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 24px; font-size: 14px; border-bottom: 1px solid var(--jd-rule); }
.jd-banner svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.jd-banner-txt { flex: 1 1 260px; }
.jd-banner.trial { background: var(--jd-bell-tint); color: #5a4206; }
.jd-banner.locked { background: var(--jd-alert-tint); color: #7a2416; }
.jd-trial-note { display: flex; gap: 12px; align-items: flex-start; background: var(--jd-board-tint); color: var(--jd-board-2); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.jd-trial-note svg { width: 22px; height: 22px; fill: currentColor; flex: none; margin-top: 2px; }
.jd-verify { text-align: center; padding: 8px 0 14px; }
.jd-verify-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--jd-board-tint); color: var(--jd-board); display: grid; place-items: center; margin: 0 auto 10px; }
.jd-verify-ico svg { width: 28px; height: 28px; fill: currentColor; }
.jd-verify h3 { margin: 0 0 8px; }
.jd-btn.ghost { border-color: transparent; background: transparent; }
.jd-badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.jd-badge.active { background: #e2f2e8; color: var(--jd-ok); }
.jd-badge.trial { background: var(--jd-bell-tint); color: #7a5a08; }
.jd-badge.expired, .jd-badge.suspended { background: var(--jd-alert-tint); color: var(--jd-alert); }
.jd-schools td { vertical-align: top; }
.jd-schools .jd-small { line-height: 1.5; }
