/* ZAAD ACADEMY — Assignment Marking · © Zaadh Holdings Private Limited */
.am-tabs { margin-bottom: 18px; }
.am-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; margin-bottom: 22px; }
.am-ccard { text-align: start; background: #ffffff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-1); border-top: 4px solid var(--gold); transition: transform .15s, box-shadow .2s; font: inherit; color: inherit; }
button.am-ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); cursor: pointer; }
.am-ccard b { color: var(--blue-900); font-size: 1.02rem; line-height: 1.6; }
.am-ccard small { color: var(--muted); line-height: 1.7; }
.am-cc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.am-cc-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--blue-800); align-items: center; }
.am-cc-foot span { display: inline-flex; gap: 5px; align-items: center; }
.am-lv { display: inline-block; font-size: .72rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: #e9ecf4; color: var(--blue-900); }
.am-lv-master { background: linear-gradient(135deg, #3b1f63, #6a3fa0); color: #fff; }
.am-lv-degree { background: linear-gradient(135deg, #0d326d, #2b5aa6); color: #fff; }
.am-lv-cert { background: linear-gradient(135deg, #1f6f4a, #2e9b68); color: #fff; }
.am-empty { text-align: center; padding: 50px 20px; color: var(--muted); background: #fff; border-radius: 16px; border: 1px dashed var(--line); }
.am-empty i { font-size: 2.6rem; color: var(--gold); }
.am-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.am-head h2 { margin: 4px 0 2px; color: var(--blue-900); font-size: 1.25rem; }
.am-head small { color: var(--muted); }
.am-ctabs { margin-bottom: 16px; }
.am-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.am-tbl input, .am-tbl select { border: 1px solid var(--line); border-radius: 8px; padding: 5px 7px; font: inherit; max-width: 170px; }
.am-tbl tr.am-out td { opacity: .55; }
.am-tbl th small { display: block; font-weight: 600; opacity: .7; }
.am-sheet td, .am-sheet th { text-align: center; } .am-sheet td:nth-child(3), .am-sheet th:nth-child(3) { text-align: start; }
.am-sheet input.am-ex { width: 70px; text-align: center; }
.am-dist { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.am-dist h4 { margin: 0 8px 0 0; color: var(--blue-900); }
.am-dist span { background: var(--gold-50); border: 1px solid var(--gold-200); border-radius: 10px; padding: 4px 10px; display: inline-flex; gap: 6px; }
.am-sum { display: flex; gap: 10px; flex-wrap: wrap; font-size: 1.05rem; } .am-sum b { background: var(--blue-900); color: var(--gold-200); border-radius: 8px; padding: 2px 10px; margin-inline-start: 8px; }
.am-chklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px; max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin: 10px 0; }
.am-asg textarea, .am-asg select { width: 100%; }
.am-miss { color: #b83232; }
.am-tpls { display: flex; flex-wrap: wrap; gap: 10px; }
.am-tpls .btn { white-space: normal; text-align: start; }
.btn.xs { padding: 4px 10px; font-size: .76rem; }

/* marking */
.am-mk { display: grid; grid-template-columns: 270px 1fr; gap: 16px; align-items: start; }
.am-mk-list { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; position: sticky; top: 76px; max-height: calc(100vh - 100px); overflow: auto; }
.am-mk-list input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; }
.am-mk-list button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: start; background: none; border: 0; border-radius: 10px; padding: 8px 10px; font: inherit; color: var(--ink); cursor: pointer; }
.am-mk-list button small { display: block; color: var(--muted); font-size: .74rem; }
.am-mk-list button:hover { background: var(--gold-50); }
.am-mk-list button.on { background: var(--blue-900); color: #fff; } .am-mk-list button.on small { color: var(--gold-200); }
.am-pg { font-style: normal; font: 800 .72rem Inter, sans-serif; min-width: 44px; text-align: center; padding: 3px 6px; border-radius: 999px; background: conic-gradient(var(--gold) var(--p), #e3e6ee 0); color: var(--blue-950); }
.am-mk-main { min-width: 0; }
.am-mh { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--royal-grad); color: #fff; border-radius: 16px; padding: 14px 18px; margin-bottom: 12px; }
.am-mh h3 { margin: 0; color: #fff; } .am-mh small { color: var(--gold-200); }
.am-mh-b { display: flex; gap: 6px; align-items: center; } .am-mh-b .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.am-comps-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; } .am-comps-nav a { background: var(--gold-50); border: 1px solid var(--gold-200); border-radius: 999px; padding: 4px 12px; font-size: .8rem; color: var(--blue-900); text-decoration: none; }
.am-comp { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; border-inline-start: 5px solid var(--gold); scroll-margin-top: 80px; }
.am-comp-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.am-comp-h h4 { margin: 0; color: var(--blue-900); }
.am-comp-t { font: 700 .9rem Inter, sans-serif; color: var(--blue-800); }
.am-bad { color: #b83232; font-style: normal; }
.am-crit { border-top: 1px dashed var(--line); padding: 10px 0; }
.am-crit-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; } .am-crit-h small { color: var(--muted); white-space: nowrap; }
.am-lvls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.am-lvb { display: inline-flex; flex-direction: column; align-items: center; min-width: 74px; padding: 6px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfbfd; font: inherit; cursor: pointer; transition: .15s; }
.am-lvb b { font: 800 1.05rem Inter, sans-serif; color: var(--blue-900); } .am-lvb span { font-size: .72rem; color: var(--muted); }
.am-lvb:hover { border-color: var(--gold); background: var(--gold-50); }
.am-lvb.on { background: var(--blue-900); border-color: var(--blue-900); } .am-lvb.on b { color: var(--gold-200); } .am-lvb.on span { color: #fff; }
.am-lvb.am-clr { min-width: 36px; color: #b83232; justify-content: center; font-weight: 800; }
.am-note { background: #f3f7fc; border-inline-start: 4px solid var(--blue-800); border-radius: 10px; padding: 6px 12px; margin: 8px 0; line-height: 1.9; color: #2b3a55; font-size: .92rem; }
.am-sub { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; } .am-sub:empty { display: none; }
.am-sub button { min-width: 40px; padding: 5px 8px; border-radius: 10px; border: 1.5px solid var(--gold); background: #fff; font: 800 .95rem Inter, sans-serif; color: var(--blue-900); cursor: pointer; } .am-sub button.on { background: var(--gold-grad); }
.am-desc { margin-top: 6px; font-size: .88rem; color: #3d4a63; background: #f6f7fb; border-radius: 10px; padding: 0 10px; line-height: 1.9; }
.am-desc:not(:empty) { padding: 6px 10px; }
.am-num { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.am-num input { width: 80px; border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 8px; font: 700 1rem Inter, sans-serif; text-align: center; }
.am-qk { display: flex; gap: 4px; flex-wrap: wrap; } .am-qk button { border: 1px solid var(--line); background: #fff; border-radius: 8px; min-width: 32px; padding: 3px 6px; font: 700 .8rem Inter, sans-serif; cursor: pointer; } .am-qk button:hover { background: var(--gold-50); }
.am-comp-f { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-top: 10px; }
.am-comp-f .fld input { width: 110px; } .am-cmt { flex: 1; min-width: 220px; } .am-cmt textarea { width: 100%; }
.am-total { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--gold-50); border: 1.5px solid var(--gold); border-radius: 14px; padding: 12px 16px; font-size: .95rem; }
.am-total b { font: 800 1.15rem Inter, sans-serif; color: var(--blue-900); }
.am-gr { margin-inline-start: auto; background: var(--royal-grad); color: var(--gold-200); font: 800 1.3rem Inter, sans-serif; border-radius: 12px; padding: 4px 16px; }

/* scheme editor */
.am-ce h4 { color: var(--blue-900); margin: 14px 0 4px; }
.am-ce-flags { display: flex; gap: 14px; align-items: flex-end; }
.am-cr { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 6px 0; background: #fcfcfe; }
.am-cr summary { cursor: pointer; line-height: 1.8; }
.am-cr textarea { width: 100%; margin: 8px 0; font-family: Faruma, Inter, sans-serif; line-height: 1.9; }
.am-bf { display: flex; gap: 6px; flex-wrap: wrap; }
.za-modal.wide { width: min(980px, 96vw); }
.am-bvm .am-bv iframe { width: 100%; height: 78vh; border: 0; border-radius: 12px; background: #fff; }

/* time slots & wheel */
.am-slots-ed { display: grid; gap: 8px; margin-bottom: 12px; }
.am-sl { display: grid; grid-template-columns: 150px 110px 110px 80px 1fr 40px; gap: 6px; align-items: center; }
.am-sl input { border: 1px solid var(--line); border-radius: 9px; padding: 7px 8px; font: inherit; min-width: 0; }
.am-link { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; background: var(--gold-50); border: 1px dashed var(--gold); border-radius: 12px; padding: 10px; }
.am-link input { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: .82rem Inter, monospace; direction: ltr; }
.am-link #sl-qr { grid-column: 1 / -1; text-align: center; } .am-link #sl-qr svg { width: 120px; height: 120px; }
.am-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.am-slot { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; border-top: 4px solid var(--blue-800); }
.am-slot.full { border-top-color: #b83232; } .am-slot.am-free { border-top-color: var(--gold); background: var(--gold-50); }
.am-slot h4 { margin: 0 0 4px; display: flex; justify-content: space-between; gap: 6px; color: var(--blue-900); font-size: .92rem; }
.am-slot h4 span { font: 700 .74rem Inter, sans-serif; background: #eef1f7; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.am-slot ol { margin: 6px 0 0; padding-inline-start: 22px; line-height: 2; }
.am-slot li .ib.sm { width: 24px; height: 24px; font-size: .7rem; }
.am-mvl { display: grid; gap: 6px; }
.am-ra canvas { display: block; margin: 0 auto; max-width: 100%; }
.am-ralog { max-height: 160px; overflow: auto; margin-top: 10px; font-size: .9rem; line-height: 1.9; }
.am-wheel .toolbar { justify-content: space-between; }
.am-wh { position: relative; width: min(460px, 100%); margin: 0 auto; }
.am-wh canvas { width: 100%; height: auto; display: block; filter: drop-shadow(0 12px 24px rgba(13, 50, 109, .25)); }
.am-spin { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; border: 4px solid #fff; background: var(--royal-grad); color: var(--gold-200); font: 800 .85rem Inter, Faruma, sans-serif; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.am-spin:disabled { opacity: .7; cursor: wait; }
.am-whn { text-align: center; color: var(--muted); margin-top: 10px; }
.am-win { text-align: center; } .am-win h2 { font-size: 1.8rem; color: var(--blue-900); margin: 6px 0; }
.am-win-i { width: 74px; height: 74px; margin: 0 auto 8px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; font-size: 2rem; color: var(--blue-950); animation: amPop .6s ease; }
.am-win small { color: var(--gold-700); font-weight: 800; font-size: 1rem; }
@keyframes amPop { 0% { transform: scale(.3); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

@media (max-width: 860px) {
  .am-mk { grid-template-columns: 1fr; }
  .am-mk-list { position: static; max-height: 240px; }
  .am-sl { grid-template-columns: 1fr 1fr 1fr; }
  .am-sl .sl-r { grid-column: span 2; }
  .am-link { grid-template-columns: 1fr; }
}

/* ---------- printable result sheet (royal blue & green) ---------- */
.amc { --nb: #0a2a5e; --nb2: #12408a; --gr: #0b5a3a; --gr2: #138a5a; --au: #aa8946; width: 190mm; margin: 0 auto 8mm; page-break-after: always; break-after: page; font-family: Faruma, Inter, sans-serif; color: #172a4a; border-radius: 16px; overflow: hidden; background: #fff; border: 1.5px solid var(--au); box-shadow: 0 0 0 4px var(--nb); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.amc:last-child { page-break-after: auto; break-after: auto; }
.amc-h { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: linear-gradient(120deg, var(--nb) 0%, var(--nb2) 48%, var(--gr) 100%); color: #fff; padding: 16px 20px; border-bottom: 4px solid var(--au); position: relative; }
.amc-h::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 120%, rgba(170,137,70,.25), transparent 40%); pointer-events: none; }
.amc-crest img { width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 50%; padding: 5px; box-shadow: 0 0 0 3px var(--au); }
.amc-ht small { color: #ddc491; font-size: 9.5pt; font-weight: 700; letter-spacing: .03em; } .amc-ht h1 { margin: 2px 0; font-size: 15pt; color: #fff; line-height: 1.5; } .amc-ht span { color: #cfe8dc; font-size: 9pt; }
.amc-gbadge { text-align: center; background: rgba(255,255,255,.12); border: 2px solid var(--au); border-radius: 14px; padding: 6px 14px; } .amc-gbadge small { display: block; color: #ddc491; font-size: 8pt; } .amc-gbadge b { font: 800 22pt Inter, sans-serif; color: #fff; }
.amc-st { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 14px; padding: 12px 20px; background: linear-gradient(90deg, #eef4fb, #eef8f2); border-bottom: 1px solid #d9e3ee; }
.amc-st small { display: block; color: var(--gr); font-size: 8pt; font-weight: 700; } .amc-st b { font-size: 10.5pt; } .amc-st .amc-wide { grid-column: 1 / -1; } .amc-st .amc-wide b { font-size: 9pt; font-weight: 600; }
.amc-tot { display: grid; grid-template-columns: repeat(auto-fit, minmax(30mm, 1fr)); gap: 8px; padding: 12px 20px 4px; }
.amc-tot div { border-radius: 12px; text-align: center; padding: 6px; background: #f3f7fc; border: 1.5px solid #c8d6ea; } .amc-tot div:nth-child(2) { background: #eff8f3; border-color: #bfe0cd; }
.amc-tot small { display: block; color: var(--nb2); font-size: 8pt; font-weight: 700; } .amc-tot b { font: 800 15pt Inter, sans-serif; color: var(--nb); } .amc-tot span { font: 9pt Inter, sans-serif; color: #6b7a90; }
.amc-tot div.amc-g { background: linear-gradient(135deg, var(--gr), var(--gr2)); border-color: var(--gr); } .amc-tot .amc-g b { color: #fff; } .amc-tot .amc-g small { color: #ddc491; }
.amc-comp { padding: 6px 20px; }
.amc-comp h2 { font-size: 11pt; margin: 8px 0 4px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; color: var(--nb); }
.amc-cs { font: 800 10.5pt Inter, sans-serif; color: var(--gr); white-space: nowrap; }
.amc-bar { height: 6px; border-radius: 6px; background: #e3e9f2; overflow: hidden; margin-bottom: 4px; } .amc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--nb2), var(--gr2)); border-radius: 6px; }
.amc-comp table { width: 100%; border-collapse: collapse; font-size: 9pt; }
.amc-comp td { border-bottom: 1px solid #e8edf4; padding: 3px 4px; line-height: 1.75; }
.amc-comp tr:nth-child(even) td { background: #f8fafd; }
.amc-lv { display: inline-block; background: #e9f5ee; color: var(--gr); border-radius: 999px; padding: 0 8px; font-size: 8pt; white-space: nowrap; }
.amc-comp td:last-child { text-align: center; white-space: nowrap; font-family: Inter, sans-serif; width: 18mm; }
.amc-pen { color: #b83232; font-size: 9pt; margin: 4px 0; } .amc-cmt { font-size: 9.5pt; background: #f2f6fb; border-inline-start: 3px solid var(--nb2); border-radius: 8px; padding: 4px 10px; margin: 4px 0; line-height: 1.8; }
.amc-imp { margin: 8px 20px 4px; border: 1.5px solid #bfe0cd; background: linear-gradient(135deg, #f1f9f4, #f3f7fd); border-radius: 14px; padding: 8px 14px; }
.amc-imp h2 { margin: 0 0 4px; font-size: 11pt; color: var(--gr); }
.amc-imp ol { margin: 0; padding-inline-start: 20px; font-size: 9.5pt; line-height: 1.8; } .amc-imp li { margin-bottom: 3px; } .amc-imp li small { font-family: Inter, sans-serif; color: #888; }
.amc-aim { display: block; color: #3b4a63; font-size: 9pt; } .amc-good { margin: 0; font-size: 9.5pt; color: var(--gr); }
.amc-f { display: flex; justify-content: space-between; align-items: flex-end; padding: 10px 20px 12px; font-size: 9pt; }
.amc-f div { display: flex; flex-direction: column; min-width: 200px; } .amc-f i { border-bottom: 1px solid #333; height: 26px; margin: 2px 0; } .amc-f > small { color: #888; }
.amtt { font-family: Faruma, Inter, sans-serif; padding: 10mm; } .amtt h1 { color: #002D62; } .amtt h2 { font-size: 12pt; border-bottom: 2px solid #aa8946; color: #002D62; margin-top: 14px; } .amtt li { line-height: 1.9; }
@media print { .amc { border-radius: 0; } }
.am-slot-h { cursor: pointer; } .am-slot-h:hover { color: var(--gold-700); }
.am-dr .grid2 { align-items: end; }
.am-stabs { margin-bottom: 14px; } .am-stabs button { font-size: .9rem; }
/* student rows: number + name, each name in its own direction */
.am-rows { display: grid; gap: 5px; margin-top: 8px; }
.am-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e3e7ef; border-radius: 10px; padding: 5px 8px; }
.am-free .am-row { background: #fffdf6; }
.am-rn { flex: none; min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-900); color: var(--gold-200); font: 800 .78rem Inter, sans-serif; }
.am-rnm { flex: 1; min-width: 0; font-size: .95rem; line-height: 1.5; color: var(--ink); unicode-bidi: plaintext; text-align: start; }
.am-rnm small { display: block; font: .72rem Inter, monospace; color: var(--muted); }
.am-row .ib.sm { flex: none; width: 28px; height: 28px; margin: 0; }
/* practical tests: rubric row as cards */
.am-lvls.big { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.am-lvls.big .am-lvb { align-items: stretch; text-align: start; padding: 10px 12px; gap: 4px; border-width: 2px; }
.am-lvls.big .am-lvb .am-lvh { font-weight: 800; font-size: .92rem; color: var(--blue-900); }
.am-lvls.big .am-lvb b { font-size: 1.25rem; align-self: flex-start; background: var(--gold-50); border-radius: 999px; padding: 0 10px; }
.am-lvls.big .am-lvb em { font-style: normal; font-size: .82rem; line-height: 1.8; color: #3d4a63; }
.am-lvls.big .am-lvb.lv0 { border-color: #9ed4b4; } .am-lvls.big .am-lvb.lv1 { border-color: #9fb6d9; } .am-lvls.big .am-lvb.lv2 { border-color: #ddc89d; } .am-lvls.big .am-lvb.lv3 { border-color: #f3b0b0; }
.am-lvls.big .am-lvb.on { background: linear-gradient(135deg, #0a2a5e, #0b5a3a); } .am-lvls.big .am-lvb.on .am-lvh, .am-lvls.big .am-lvb.on em { color: #fff; } .am-lvls.big .am-lvb.on b { background: var(--gold-grad); color: var(--blue-950); }
.am-lvls.big .am-clr { min-height: 44px; }
.am-lvb .am-lvh { font-size: .72rem; color: var(--muted); }
.am-link1 { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); word-break: break-all; }
.am-mv-cur { background: #f3f7fc; border-radius: 10px; padding: 8px 12px; }
.am-mvl { display: grid; gap: 8px; }
.am-mvb { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; text-align: start; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 14px; font: inherit; cursor: pointer; }
.am-mvb bdi { font: 700 .95rem Inter, sans-serif; color: var(--blue-900); } .am-mvb small { grid-column: 1; color: var(--muted); }
.am-mv-left { grid-row: 1 / span 2; grid-column: 2; font: 800 .8rem Inter, Faruma, sans-serif; background: #e7f4ec; color: #0b5a3a; border-radius: 999px; padding: 3px 10px; }
.am-mvb i { position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: var(--f); background: linear-gradient(90deg, var(--blue-800), #138a5a); }
.am-mvb:hover:not(:disabled) { border-color: var(--gold); background: var(--gold-50); } .am-mvb:disabled { opacity: .5; cursor: not-allowed; } .am-mvb.on { border-color: #138a5a; background: #eef9f2; }
/* queue: now presenting / finished */
.am-row.done { background: #e3f6ea; border-color: #8fd1a8; } .am-row.done .am-rn { background: #0b7a49; color: #fff; }
.am-row.cur { background: #f7efde; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(170,137,70,.25); } .am-row.cur .am-rn { background: #d6362c; color: #fff; }
.am-row .ib.sm.sl-now.on { background: #d6362c; color: #fff; border-color: #d6362c; } .am-row .ib.sm.sl-done.on { background: #0b7a49; color: #fff; border-color: #0b7a49; }
.am-sl { grid-template-columns: 150px 110px 110px 70px 80px 1fr 40px; }
.am-ccard { position: relative; } .am-cc-link { position: absolute; top: 10px; inset-inline-end: 10px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-50); border: 1px solid var(--gold-200); color: var(--blue-900); }
.am-cc-link:hover { background: var(--gold-grad); } .am-ccard .am-cc-top { padding-inline-end: 36px; }
@media (max-width: 860px) { .am-sl { grid-template-columns: 1fr 1fr 1fr; } }
/* Turnitin-style indicator */
.am-slider { position: relative; margin: 10px 0 4px; padding: 6px 4px 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.am-rng { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #d9e2ef, #c8d6ea); outline: none; cursor: pointer; }
.am-rng::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #1f6fb5; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(13,50,109,.4); }
.am-rng::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #1f6fb5; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(13,50,109,.4); }
.am-slider.unset .am-rng::-webkit-slider-thumb { background: #9aa8bd; } .am-slider.unset .am-rng::-moz-range-thumb { background: #9aa8bd; } .am-slider.unset .am-rv { color: #9aa8bd; }
.am-rv { font: 800 1.05rem Inter, sans-serif; color: var(--blue-900); min-width: 70px; text-align: center; background: #eef4fb; border-radius: 10px; padding: 2px 8px; }
.am-ticks { position: absolute; left: 15px; right: 100px; bottom: 0; height: 18px; } .am-ticks[dir="rtl"] { right: 15px; left: 100px; }
.am-ticks span { position: absolute; inset-inline-start: var(--x); transform: translateX(-50%); font: 600 .7rem Inter, sans-serif; color: #6b7a90; white-space: nowrap; }
.am-ticks[dir="rtl"] span { transform: translateX(50%); } .am-ticks span::before { content: ""; position: absolute; top: -9px; left: 50%; width: 1px; height: 6px; background: #9aa8bd; }
.am-miss { grid-column: 1 / -1; font-size: .84rem; color: #634a17; background: #faf5eb; border-radius: 10px; padding: 0 10px; line-height: 1.9; } .am-miss:not(:empty) { padding: 6px 10px; margin-top: 18px; }
.am-mk-main .am-total { position: sticky; top: 64px; z-index: 5; box-shadow: 0 6px 16px rgba(13,50,109,.12); }
.am-lvls:not(.big) .am-lvb { min-width: 64px; padding: 4px 8px; }

/* ---- v25: bank, CSV, logo, grid rubric editor ---- */
.btn-green { background: linear-gradient(135deg, #0b5a3a, #138a5a); color: #fff; }
.am-bank { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.am-cc-csv { margin-inline-start: auto; }
.am-ccard.arch { opacity: .82; border-style: dashed; }
.am-logo-set { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px; border: 1.5px dashed #c8d6ea; border-radius: 14px; background: #f7f9fd; }
.am-logo-set img { height: 64px; max-width: 200px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; border: 1px solid #e3e9f2; }
.am-implog { max-height: 50vh; overflow: auto; font-size: .9rem; line-height: 1.9; } .am-implog li { margin-bottom: 4px; }
.am-grid { width: 100%; border-collapse: separate; border-spacing: 6px; }
.am-grid th { font-size: .8rem; color: var(--royal, #12408a); text-align: start; }
.am-grid td { vertical-align: top; background: #f6f8fc; border: 1px solid #dfe6f1; border-radius: 10px; padding: 6px; min-width: 150px; }
.am-grid input, .am-grid textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: .85rem; border: 1px solid #d3dbe8; border-radius: 7px; padding: 4px 6px; margin-bottom: 4px; background: #fff; }
.am-grid .lp { font: 700 .9rem Inter, sans-serif; text-align: center; color: #0b5a3a; }
.am-grid td.crc { min-width: 190px; background: #eef4fb; }
.am-help { color: #5a6b85; font-size: .88rem; line-height: 1.8; margin: 4px 0 10px; }
.am-empty { color: #7a879c; text-align: center; padding: 18px; }
.am-ok { color: #0b5a3a; } .am-warn { color: #70531a; background: #faf5eb; border-radius: 10px; padding: 6px 10px; }
.am-link { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #f3f7fc; border-radius: 10px; padding: 8px; } .am-link code { flex: 1; word-break: break-all; font-size: .82rem; }

/* ---- result sheet header: Bismillah at the very top, logo in the middle ---- */
.amc-bis { text-align: center; font-family: Amiri, "Traditional Arabic", serif; font-size: 20pt; color: #0b5a3a; padding: 10px 0 2px; line-height: 1.6; }
.amc-h2 { text-align: center; padding: 4px 20px 12px; border-bottom: 4px solid var(--au); background: linear-gradient(180deg, #fff 0%, #f4f8fd 100%); }
.amc-logo { display: block; margin: 2px auto 6px; height: 64px; max-height: 64px; width: auto; max-width: 220px; object-fit: contain; }
.amc-uni { font: 700 10.5pt Inter, Faruma, sans-serif; color: var(--nb); letter-spacing: .02em; } .amc-uni span { display: block; font-family: Faruma, sans-serif; font-size: 10pt; color: var(--gr); }
.amc-h2 h1 { margin: 6px 0 0; font-size: 14pt; color: var(--nb); line-height: 1.6; } .amc-h2 p { margin: 0; font: 9pt Inter, sans-serif; color: #5a6b85; }
.amc-tag { display: inline-block; margin-top: 6px; background: linear-gradient(120deg, var(--nb), var(--nb2) 50%, var(--gr)); color: #fff; border-radius: 999px; padding: 3px 16px; font-size: 9.5pt; }
.amc-why { display: block; color: #4b5a72; font-size: 8.3pt; line-height: 1.7; }
.amc-fb { padding: 2px 0 4px; }
.amc-good-b, .amc-adv { margin: 8px 20px 4px; border-radius: 14px; padding: 8px 14px; }
.amc-good-b { border: 1.5px solid #d1bb8f; background: linear-gradient(135deg, #fffaf0, #f7f1e6); } .amc-good-b h2 { margin: 0 0 4px; font-size: 11pt; color: #70531a; } .amc-good-b ul { margin: 0; padding-inline-start: 20px; font-size: 9.5pt; line-height: 1.8; }
.amc-adv { border: 1.5px solid #c8d6ea; background: #f3f7fc; } .amc-adv h2 { margin: 0 0 4px; font-size: 11pt; color: var(--nb); } .amc-adv p { margin: 0; font-size: 9.5pt; line-height: 1.9; }
.amq { width: 100%; } .amq th { font-size: 8.5pt; color: var(--nb2); text-align: start; padding: 3px 4px; border-bottom: 2px solid #d9e3ee; }
.amq-b { width: 34mm; } .amq-b i { display: block; height: 5px; border-radius: 4px; margin: 2px 0; } .amq-b i.me, .amq-k i.me { background: linear-gradient(90deg, var(--nb2), var(--gr2)); } .amq-b i.cl, .amq-k i.cl { background: #aa8946; }
.amq-k { font-size: 8.5pt; color: #5a6b85; } .amq-k i { display: inline-block; width: 18px; height: 6px; border-radius: 4px; vertical-align: middle; }
.am-print .amc { box-shadow: none; }

/* ---- test papers ---- */
.am-tcard.fin { border-color: #aa8946; } .am-tpaper { font-size: .85rem; color: #5a6b85; margin: 6px 0; }
.am-tm { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px; align-items: start; }
.am-tm.side { grid-template-columns: 220px minmax(0, 1fr) minmax(320px, 42%); }
.am-tm .am-paper { display: none; } .am-tm.side .am-paper { display: block; position: sticky; top: 8px; }
.am-tm-h { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; } .am-tm #tm-q { width: 100%; box-sizing: border-box; margin-bottom: 6px; }
.am-pv { height: calc(100vh - 90px); border: 1px solid #dfe6f1; border-radius: 12px; overflow: auto; background: #f6f8fc; margin-top: 6px; }
.am-pv iframe { width: 100%; height: 100%; border: 0; } .am-pv img { width: 100%; display: block; }
.am-tm-st { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: linear-gradient(120deg, #0a2a5e, #12408a 55%, #0b5a3a); color: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 8px; }
.am-tm-st small { display: block; opacity: .85; font: .8rem Inter, sans-serif; } .am-tm-st b { font-size: 1.05rem; }
.am-q { border: 1.5px solid #dfe6f1; border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; background: #fff; }
.am-q h4 { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; color: #0a2a5e; } .am-qs { font: 800 1rem Inter, sans-serif; color: #0b5a3a; white-space: nowrap; }
.am-q .am-crit { border-top: 1px dashed #e3e9f2; padding-top: 6px; margin-top: 6px; }
.am-lvs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; } .am-lvs .am-lvb { flex: 1 1 140px; text-align: start; }
.am-lvs .am-lvb small { display: block; font-size: .72rem; color: #5a6b85; line-height: 1.6; } .am-lvs .am-lvb.on { border-color: #0b5a3a; background: #e9f5ee; }
.am-why { font-size: .82rem; color: #0b5a3a; min-height: 1.2em; margin-top: 4px; line-height: 1.7; }
.am-qn { width: 100%; box-sizing: border-box; margin-top: 6px; font: inherit; font-size: .88rem; border: 1px solid #d3dbe8; border-radius: 8px; padding: 6px; }
.am-fin { position: sticky; bottom: 0; background: rgba(255,255,255,.95); padding: 8px 0; }
.am-pg.fin { outline: 2px solid #0b5a3a; }
.am-stats h4 { margin: 14px 0 6px; color: #0a2a5e; }
.am-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; } .am-kpis div { background: #f3f7fc; border: 1.5px solid #c8d6ea; border-radius: 12px; padding: 8px; text-align: center; } .am-kpis small { display: block; font-size: .75rem; color: #12408a; } .am-kpis b { font: 800 1.2rem Inter, sans-serif; color: #0a2a5e; }
.am-sbox { border-radius: 12px; padding: 8px 12px; } .am-sbox.ok { background: #eef8f2; border: 1.5px solid #bfe0cd; } .am-sbox.bad { background: #fdf1f1; border: 1.5px solid #f0c9c9; } .am-sbox h4 { margin: 0 0 4px; } .am-sbox ol { margin: 0; padding-inline-start: 20px; line-height: 1.9; }
.am-sbar { min-width: 90px; } .am-sbar i { display: block; height: 8px; border-radius: 6px; background: linear-gradient(90deg, #12408a, #138a5a); }
.am-hist { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; align-items: end; height: 140px; border-bottom: 2px solid #c8d6ea; direction: ltr; }
.am-hist div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; } .am-hist i { display: block; background: linear-gradient(180deg, #12408a, #138a5a); border-radius: 6px 6px 0 0; min-height: 2px; } .am-hist b { font: 700 .75rem Inter, sans-serif; } .am-hist small { font: .7rem Inter, sans-serif; color: #667; }
td.up { color: #0b5a3a; font-weight: 700; } td.dn { color: #b83232; font-weight: 700; }
.amc-wide-p .am-acts { display: none; }
.am-rc { border: 1.5px solid #ddc89d; background: #fffbf0; border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; } .am-rc.done { border-color: #bfe0cd; background: #f3faf6; }
.am-rc-h { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .am-rc-h .am-lv { margin-inline-start: auto; } .am-rc-r { background: #fff; border-radius: 8px; padding: 6px 10px; white-space: pre-wrap; }
.am-eu { min-width: 240px; }
@media (max-width: 900px) { .am-tm, .am-tm.side { grid-template-columns: 1fr; } .am-tm.side .am-paper { position: static; } .am-pv { height: 70vh; } .am-tm .am-ml { max-height: 30vh; overflow: auto; } }
@media print { .amc-bis { padding-top: 0; } }
.am-tm .am-ml button span small { display: block; font: .75rem Inter, sans-serif; color: #667; }
.am-tm .am-ml button { display: flex; justify-content: space-between; align-items: center; gap: 6px; width: 100%; text-align: start; }

/* v26: class card actions, change-of-time requests */
.am-cc-acts { display: flex; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #dfe6f1; width: 100%; }
.am-cc-acts span { flex: 1; text-align: center; font-size: .78rem; padding: 6px 4px; border-radius: 9px; background: #eef2f9; color: #12408a; cursor: pointer; white-space: nowrap; }
.am-cc-acts span:hover { background: #dfe8f6; } .am-cc-acts span.del { flex: 0 0 38px; background: #fdecec; color: #b83232; }
.am-rs { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.am-rq { border: 2px solid #aa8946; } .am-badge { background: #b83232; color: #fff; border-radius: 999px; padding: 0 8px; font: 700 .8rem Inter, sans-serif; }
.am-rqi { border: 1.5px solid #ddc89d; background: #fffbf0; border-radius: 12px; padding: 10px; margin-bottom: 8px; } .am-rq-t { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .88rem; margin: 6px 0; }
.am-rqi .rq-n { width: 100%; box-sizing: border-box; border: 1px solid #d3dbe8; border-radius: 8px; padding: 6px 8px; margin-bottom: 6px; font: inherit; }
.am-mvb.want { outline: 3px solid #aa8946; }

/* ---------- lock bar · autosave chip · draft / published ---------- */
.am-lockbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid #dcd7ea; background: #f7f5fc; }
.am-lockbar.shut { background: #f3f1f8; }
.am-lockbar.open { background: #eef8f2; border-color: #bfe2cd; }
.am-lockbar.pub.shut { background: #f1ecf9; border-color: #cbbbe8; }
.am-lk-i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #0b1a4a; color: #e9dcbe; }
.am-lockbar.open .am-lk-i { background: #0b6b45; color: #fff; }
.am-lk-t { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 1px; }
.am-lk-t b { color: #1a1440; font-size: .92rem; } .am-lk-t small { color: #5d6077; font-size: .78rem; }
.am-chip { font-size: .78rem; color: #5d6077; white-space: nowrap; }
.am-chip.ok { color: #0b6b45; } .am-chip.busy { color: #3b1866; } .am-chip.off { color: #8a5a00; }
.am-locked .am-comp { opacity: .78; }
.am-locked .am-comp .am-slider, .am-locked .am-comp .am-lvls { filter: grayscale(.35); }
.am-mk-list button.am-is-draft span::after { content: "•"; color: #8a6a1c; margin-inline-start: 6px; }
.am-mk-list button.am-is-pub span::after { content: "✓"; color: #0b6b45; font-weight: 700; margin-inline-start: 6px; }
.am-rest { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* publishing in two stages */
.am-stages { display: grid; gap: 12px; margin-top: 12px; }
.am-stg { display: flex; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid #dcd7ea; background: #fbfaff; }
.am-stg > b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #3b1866; color: #fff; font-size: 1rem; }
.am-stg + .am-stg > b { background: #0b4a36; }
.am-stg.done { border-color: #bfe2cd; background: #f1faf5; }
.am-stg h4 { margin: 2px 0 6px; } .am-stg > div { flex: 1; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
/* the module's assessments */
.am-asr-w { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.am-asr { border: 1px solid #e3e0ee; border-radius: 10px; padding: 10px 12px; background: #fff; }
.am-asr-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; } .am-asr-h span { font-size: .78rem; color: #3b1866; white-space: nowrap; }
.am-asr-c { margin: 6px 0 0; padding-inline-start: 18px; font-size: .86rem; color: #3d4256; } .am-asr-c small { color: #0b6b45; margin-inline-start: 4px; }

/* v29: rooms */
.am-room { border: 1.5px solid #c8d6ea; border-radius: 14px; padding: 10px 12px; margin: 8px 0; background: #f7f9fd; display: grid; gap: 6px; }
.am-room > div:first-child small { display: block; color: #5a6b85; font-size: .82rem; } .am-room .am-lv { justify-self: start; }
.ib.sl-rc { color: #c62828; } .ib.sl-rc.rec { background: #c62828; color: #fff; animation: amblink 1.2s infinite; } @keyframes amblink { 50% { opacity: .45; } }
.am-sl .sl-m { min-width: 110px; }
.am-tbl td small { display: block; color: #667; font-size: .75rem; }
/* v33: 🎙 / 🎥 beside every student in the marking list */
.am-mk-list button .am-rbs { display: inline-flex; gap: 4px; margin-inline-start: auto; flex: 0 0 auto; }
.am-rb { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #eaf5ef; color: #0a7a49; font-size: .85rem; border: 1.5px solid #bfe0cd; cursor: pointer; }
.am-rb.v { background: #eef2f9; color: #12408a; border-color: #c8d6ea; width: 26px; height: 26px; font-size: .72rem; }
.am-rb:hover { filter: brightness(.95); transform: scale(1.06); }
.am-rb.on { background: #c62828; color: #fff; border-color: #c62828; animation: amblink 1.2s infinite; }
.am-mk-list button.on .am-rb { border-color: rgba(255,255,255,.5); }
/* v34 — online classes, meetings & booking */
.onl-hero { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; flex-wrap:wrap; background:linear-gradient(135deg,#0b2a4a,#0f766e); color:#fff; border-radius:16px; padding:18px 20px; margin-bottom:14px; }
.onl-hero h2 { margin:0 0 4px; color:#fff; } .onl-hero p { margin:0; opacity:.85; max-width:640px; line-height:1.7; }
.onl-hero select { border-radius:10px; padding:7px 10px; border:0; }
.onl-main { padding:12px 14px; margin-bottom:10px; }
.onl-h { margin:18px 0 8px; display:flex; align-items:center; gap:8px; } .onl-h small { opacity:.6; font-weight:400; }
.onl-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:12px; }
.onl-card { background:var(--card,#fff); border:1px solid rgba(0,0,0,.08); border-radius:14px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.04); }
.onl-ch { padding:10px 14px; background:rgba(15,118,110,.08); display:flex; flex-direction:column; gap:2px; } .onl-ch small { opacity:.7; }
.onl-cb { padding:10px 14px; display:flex; flex-direction:column; gap:8px; }
.onl-l { display:grid; grid-template-columns:1fr auto; gap:4px 8px; align-items:center; }
.onl-li { grid-column:1/-1; font-weight:600; font-size:.92em; }
.onl-l code { background:rgba(0,0,0,.05); border-radius:8px; padding:5px 8px; font-size:.78em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.onl-la { display:flex; gap:4px; } .onl-la .ib { width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; border:1px solid rgba(0,0,0,.1); background:#fff; color:inherit; text-decoration:none; cursor:pointer; }
.onl-la .ib.g { background:#0f766e; color:#fff; border-color:#0f766e; }
.onl-st { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.onl-acts { flex-wrap:wrap; gap:6px; } .onl-acts .btn { font-size:.85em; } .onl-acts small { opacity:.7; }
@media (max-width:560px){ .onl-grid { grid-template-columns:1fr; } }
/* v36 — online meetings */
.mt-hero { background:linear-gradient(135deg,#3b0764,#0b2a4a 60%,#0f766e); }
.mt-cap { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; margin-bottom:14px; }
.mt-cap > div { background:var(--card,#fff); border:1px solid rgba(0,0,0,.08); border-radius:12px; padding:10px 12px; display:grid; grid-template-columns:auto 1fr; gap:2px 8px; align-items:center; }
.mt-cap i { grid-row:span 2; font-size:1.3em; color:#0f766e; } .mt-cap span { font-size:.85em; opacity:.75; line-height:1.6; }
.mt-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(360px,1fr)); gap:12px; }
.mt-card { display:flex; gap:12px; background:var(--card,#fff); border:1px solid rgba(0,0,0,.08); border-radius:14px; padding:12px; box-shadow:0 2px 10px rgba(0,0,0,.04); }
.mt-ic { width:46px; height:46px; flex:0 0 46px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:#0f766e; color:#fff; font-size:1.2em; }
.mt-card.au .mt-ic { background:#6d28d9; }
.mt-b { flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; } .mt-h { display:flex; justify-content:space-between; gap:8px; align-items:center; } .mt-b > small { opacity:.7; }
.mt-b .am-acts { flex-wrap:wrap; gap:6px; } .mt-b .am-acts .btn { font-size:.85em; }
.mt-chk { display:flex; align-items:center; gap:8px; margin:8px 0; cursor:pointer; }
@media (max-width:560px){ .mt-list { grid-template-columns:1fr; } }

/* "?" beside the mark → why this mark (from the rubric) */
.am-wq { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #1956b3, #0b2a6b); color: #fff; font: 800 15px/30px Inter, sans-serif; cursor: pointer; box-shadow: 0 4px 12px rgba(25, 86, 179, .35); animation: amwq .35s ease; }
.am-wq:hover { transform: scale(1.08); } .am-wq[hidden] { display: none; }
@keyframes amwq { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.am-whym h3 { display: flex; gap: 8px; align-items: center; } .am-whym h3 i { color: #1956b3; }
.am-whym-m { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .am-whym-m b { font: 800 1.6rem Inter, sans-serif; color: #0b2a6b; background: #eef4fb; border-radius: 12px; padding: 4px 14px; }
.am-whym-l { font-weight: 700; color: #0b6b45; background: #eafaf2; border-radius: 999px; padding: 4px 12px; }
.am-whym-d, .am-whym-n { border-radius: 14px; padding: 10px 14px; } .am-whym-d { background: #f7f9fd; border: 1px solid #dfe7f3; } .am-whym-n { background: #fffaf0; border: 1px dashed #e0b25c; }
.am-whym-d small, .am-whym-n small { color: #6b7280; } .am-whym-d p, .am-whym-n p { margin: 4px 0 0; line-height: 1.8; }
.am-whym-r { padding: 6px 8px; border-radius: 10px; } .am-whym-r.on { background: #eafaf2; outline: 1px solid #0b6b4555; } .am-whym-r p { margin: 2px 0 0; color: #4b5563; font-size: .92em; }
.am-slider { grid-template-columns: 1fr auto auto; }
.am-slider:has(.am-wq:not([hidden])) .am-ticks { right: 142px; } .am-slider:has(.am-wq:not([hidden])) .am-ticks[dir="rtl"] { right: 15px; left: 142px; }
