/* Pasajeen My Classroom 0.1.2 — sections inside the Mobile App Shell learning view; uses the shell's tokens.
 * 0.1.2 (Owner 2026-10-14 "ตัวอักษรไทยตัวเล็กเกินไป"): Thai text 16–18px, meta no smaller than 15px, round 30px arrows. */
.pzc { display: grid; gap: 18px; margin-top: 18px; }
.pzc-section h2 { margin: 0 0 10px; color: var(--pz-mobile-text, #17352f); font-size: 21px; line-height: 1.35; }
.pzc-card { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--pz-mobile-border, #dfe9e5); border-radius: var(--pz-mobile-radius, 20px); background: var(--pz-mobile-surface, #fff); }
.pzc-card strong { color: var(--pz-mobile-text, #17352f); font-size: 18px; line-height: 1.45; }
.pzc-card p { margin: 0; color: var(--pz-mobile-muted, #63746f); font-size: 17px; line-height: 1.6; }
.pzc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
.pzc-link { display: inline-flex; align-items: center; gap: 8px; color: var(--pz-mobile-primary, #247261) !important; font-size: 17px; font-weight: 800; text-decoration: none; }

/* round arrow used on every link row (bigger tap affordance than the old "›" text) */
.pzc-arrow { display: inline-grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e6f1ed; color: var(--pz-mobile-primary, #247261); font-size: 24px; font-weight: 800; line-height: 1; }

.pzc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.pzc-tile { display: grid; align-content: start; gap: 4px; padding: 14px 15px; border: 1px solid var(--pz-mobile-border, #dfe9e5); border-radius: 16px; background: var(--pz-mobile-surface, #fff); color: var(--pz-mobile-muted, #63746f) !important; font-size: 16px; line-height: 1.45; text-decoration: none; }
.pzc-tile-go { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--pz-mobile-primary, #247261); font-weight: 800; }
.pzc-n { color: var(--pz-mobile-text, #17352f); font-size: 32px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pzc-hint { margin: 10px 2px 0; color: var(--pz-mobile-muted, #63746f); font-size: 16px; line-height: 1.55; }

.pzc-routes { display: grid; gap: 18px; }
.pzc-route { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.pzc-char { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #f4e9dc; color: #b9623e; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 20px; font-weight: 800; }
.pzc-route-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px !important; }
.pzc-route-top strong { font-size: 18px; }
.pzc-route-top strong a { color: inherit; text-decoration: none; }
.pzc-route-top span { flex: none; color: var(--pz-mobile-muted, #63746f); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pzc-bar { height: 9px; border-radius: 5px; background: #ece5dc; overflow: hidden; }
.pzc-bar i { display: block; height: 100%; border-radius: 5px; background: var(--pz-mobile-primary, #247261); }
.pzc-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin-top: 10px; padding: 9px 10px 9px 13px; border-radius: 14px; background: #f3f8f6; color: var(--pz-mobile-text, #17352f) !important; font-size: 16px; font-weight: 700; line-height: 1.45; text-decoration: none; }
.pzc-next b { display: block; color: var(--pz-mobile-primary, #247261); font-size: 15px; font-weight: 800; }
.pzc-next .pzc-arrow { background: var(--pz-mobile-primary, #247261); color: #fff; }
.pzc-next--done { color: var(--pz-mobile-muted, #63746f) !important; }

.pzc-recent-card { padding: 4px 16px 14px; }
.pzc-recent { display: grid; margin: 0; padding: 0; list-style: none; }
.pzc-recent li { margin: 0; }
.pzc-recent li + li { border-top: 1px solid var(--pz-mobile-border, #dfe9e5); }
.pzc-recent a { display: grid; grid-template-columns: minmax(0, 1fr) auto 30px; align-items: center; gap: 10px; min-height: 56px; padding: 10px 0; color: var(--pz-mobile-text, #17352f) !important; text-decoration: none; }
.pzc-recent-title { font-size: 17px; line-height: 1.5; }
.pzc-recent-when { color: var(--pz-mobile-muted, #63746f); font-size: 15px; white-space: nowrap; }

.pzc-future { display: grid; gap: 4px; padding: 15px 16px; border: 1.5px dashed #b9623e; border-radius: 18px; background: #fff8f3; }
.pzc-future strong { color: #b9623e; font-size: 18px; }
.pzc-future span { color: var(--pz-mobile-muted, #63746f); font-size: 16px; line-height: 1.55; }
.pzc a:focus-visible { outline: 3px solid #efb46f; outline-offset: 2px; border-radius: 6px; }

/* 0.1.1: ห้องเรียนของฉัน is its own screen; the home page's introduction (main.pj3) stays on the home page only */
body.pz-mobile-learning-view main.pj3 { display: none; }
