/* Rincón del Estudiante + Mi panel: "Escritorio" design (2026-11-09). */
:root { --rz-ink: #301D50; --rz-accent: #583B8A; --rz-muted: #685078; --rz-soft: #EEE6FF; --rz-hi: #C9A8E1; --rz-paper: #F7F4FE; --rz-sky: #D6EEFB; }
.rz-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; }

.rz-hero { background: var(--rz-hi); color: var(--rz-ink); border-radius: 28px; padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; overflow: hidden; margin: 14px 0 22px; }
.rz-hero h1, .rz-hero h2 { font-family: "Tanker", sans-serif; font-weight: 400; font-size: clamp(38px, 6vw, 62px); line-height: 1.02; letter-spacing: .01em; margin: 0; color: var(--rz-ink); text-shadow: none; }
.rz-hero p { margin: 6px 0 14px; font-size: 17px; }
.rz-hero img { width: 150px; margin-bottom: -40px; }
.rz-actions, .rz-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rz-act { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; background: #FFFFFF; color: var(--rz-ink); border-radius: 14px; padding: 11px 16px; min-height: 46px; }
.rz-act.dark { background: var(--rz-ink); color: #FFFFFF; }
.rz-act:disabled { opacity: .55; cursor: default; }
.rz-h2 { font-family: "Tanker", sans-serif; font-weight: 400; font-size: 30px; letter-spacing: .01em; margin: 8px 0 12px; }

/* Student cards */
.rz-row { list-style: none; margin: 0 -4px 14px; padding: 6px 4px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; }
.rz-row li { scroll-snap-align: start; display: flex; }
.rz-st { position: relative; width: 100%; min-height: 300px; display: block; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; color: #FFFFFF; background: var(--rz-ink); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px rgba(48, 29, 80, .12); transition: transform .15s; }
.rz-st:hover { transform: translateY(-3px); }
.rz-st[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--rz-hi); }
.rz-cover { position: absolute; inset: 0; display: block; }
.rz-cover svg { display: block; width: 100%; height: 100%; }
.rz-st-b { position: absolute; left: 8px; right: 8px; bottom: 8px; display: block; padding: 12px 54px 12px 14px; background: rgba(48, 29, 80, .92); border-radius: 14px; }
.rz-st-b b { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; }
.rz-st-b small { display: block; color: #D9C9EF; font-size: 14px; }
.rz-m { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--rz-hi); }
.rz-go { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: #F1EBFF; color: var(--rz-accent); display: grid; place-items: center; font-weight: 700; }
.rz-st.add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--rz-soft); color: var(--rz-accent); font-weight: 700; box-shadow: none; }
.rz-plus { width: 50px; height: 50px; border-radius: 50%; background: var(--rz-ink); color: #FFFFFF; display: grid; place-items: center; font-size: 26px; }

/* Cards */
.rz-card { background: #FFFFFF; color: var(--rz-ink); border-radius: 22px; padding: 20px; box-shadow: 0 8px 24px rgba(48, 29, 80, .08); margin-bottom: 16px; }
.rz-card h3 { font-family: "Tanker", sans-serif; font-weight: 400; font-size: 26px; letter-spacing: .01em; margin: 0 0 10px; }
.rz-lav { background: var(--rz-soft); }
.rz-sky { background: var(--rz-sky); }
.rz-k { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rz-muted); }
.rz-detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; align-items: start; }
.rz-detail[hidden] { display: none; }
.rz-col { display: grid; gap: 0; min-width: 0; }
.rz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none; border-radius: 12px; padding: 10px 16px; min-height: 44px; white-space: nowrap; }
.rz-btn.dark { background: var(--rz-ink); color: #FFFFFF; }
.rz-btn.soft { background: var(--rz-soft); color: var(--rz-ink); }
.rz-btn.hi { background: var(--rz-hi); color: var(--rz-ink); }

/* Next class */
.rz-next { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.rz-next[hidden] { display: none; }
.rz-big { display: block; font-family: "Tanker", sans-serif; font-weight: 400; font-size: 34px; line-height: 1.05; }

/* Sliders */
.rz-shead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rz-shead h3 { margin: 0; }
.rz-right { display: flex; align-items: center; gap: 8px; flex: none; }
.rz-count { font-weight: 700; color: var(--rz-accent); white-space: nowrap; }
.rz-nav { width: 44px; height: 44px; flex: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; border-radius: 50%; background: var(--rz-soft); color: var(--rz-ink); }
.rz-meter { height: 12px; background: var(--rz-soft); border-radius: 99px; overflow: hidden; }
.rz-meter i { display: block; height: 100%; background: var(--rz-accent); border-radius: 99px; transition: width .3s; }
.rz-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 320px); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 12px 2px 10px; }
.rz-track > * { scroll-snap-align: start; }
.rz-stamp { background: var(--rz-paper); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.rz-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--rz-soft); color: var(--rz-muted); display: grid; place-items: center; font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.rz-stamp b { font-weight: 700; line-height: 1.25; }
.rz-stamp small { color: var(--rz-muted); font-size: 14px; }
.rz-stamp.on { background: var(--rz-ink); color: #FFFFFF; }
.rz-stamp.on .rz-mark { background: var(--rz-hi); color: var(--rz-ink); }
.rz-stamp.on small { color: #C9B6E6; }

/* Class cards */
.rz-cc { background: var(--rz-paper); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; }
.rz-cc h3 { font-size: 24px; margin: 4px 0 8px; }
.rz-cc p { margin: 0 0 8px; font-size: 15px; }
.rz-cc p strong { display: block; font-weight: 700; font-size: 13px; color: var(--rz-muted); }
.rz-cc-act { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.rz-cc-act .rz-btn { flex: 1 1 auto; }

/* Preview banner */
.rz-preview { background: var(--rz-ink); color: #FFFFFF; border-radius: 16px; padding: 10px 16px; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; font-weight: 500; margin: 10px 0 0; }
.rz-preview[hidden] { display: none; }
.rz-preview button { border: 0; cursor: pointer; font: inherit; font-weight: 700; background: var(--rz-hi); color: var(--rz-ink); border-radius: 10px; padding: 8px 14px; min-height: 40px; }

/* Teacher class list */
.rz-se { max-height: 440px; overflow-y: auto; padding-right: 4px; }
.rz-se li { flex-wrap: wrap; background: #FFFFFF; }
.rz-goal { display: block; margin-top: 3px; color: var(--rz-muted); font-size: 14px; }
.rz-se .acts button.done { background: #CFF3DC; color: #14532D; }

/* Calendar */
.rz-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rz-cal-head h3 { margin: 0; }
.rz-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 12px; }
.rz-cal i { font-style: normal; text-align: center; font-weight: 700; font-size: 13px; color: var(--rz-muted); }
.rz-day { min-height: 54px; border: 0; cursor: pointer; font: inherit; color: var(--rz-ink); border-radius: 12px; background: var(--rz-paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 2px; }
.rz-day b { font-weight: 700; }
.rz-day small { font-size: 11px; line-height: 1; }
.rz-day.past { background: var(--rz-hi); }
.rz-day.up { background: var(--rz-ink); color: #FFFFFF; }
.rz-day.today { box-shadow: inset 0 0 0 2px var(--rz-accent); }

/* PDF */
.rz-drop { display: flex; align-items: center; gap: 12px; background: #FFFFFF; border-radius: 16px; padding: 14px; cursor: pointer; }
.rz-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--rz-ink); color: #FFFFFF; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.rz-drop b { display: block; font-weight: 700; word-break: break-word; }
.rz-drop small { display: block; color: var(--rz-muted); font-size: 14px; }
.rz-link { align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--rz-accent); text-decoration: underline; }
.rz-link[hidden] { display: none; }

/* Dialogs */
.rz-dlg { border: 0; border-radius: 22px; padding: 22px; width: min(520px, calc(100vw - 32px)); color: var(--rz-ink); }
.rz-dlg::backdrop { background: rgba(32, 18, 56, .55); }
.rz-dlg h3 { font-family: "Tanker", sans-serif; font-weight: 400; font-size: 28px; margin: 0 0 6px; }
.rz-dlg h4 { font-family: "Tanker", sans-serif; font-weight: 400; font-size: 22px; margin: 12px 0 0; }
.rz-hw { background: var(--rz-sky); border-radius: 12px; padding: 10px 12px; font-weight: 500; }
.rz-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.rz-ph { font-family: "Tanker", sans-serif; font-size: 22px; letter-spacing: .02em; text-align: center; }
.rz-pairs button { border: 0; cursor: pointer; font: inherit; font-weight: 500; text-align: center; background: var(--rz-soft); color: var(--rz-ink); border-radius: 12px; padding: 12px; min-height: 58px; }
.rz-pairs button.mean { background: var(--rz-sky); }
.rz-pairs button.sel { background: var(--rz-hi); }
.rz-pairs button.ok, .rz-pairs button.mean.ok { background: #CFF3DC; color: #14532D; }
.rz-pairs button.no, .rz-pairs button.mean.no { background: #F9D5D5; }
.rz-gm { font-weight: 700; min-height: 24px; }

/* Edit-the-page mode */
.rz-editbar { position: fixed; left: 50%; top: 10px; transform: translateX(-50%); z-index: 120; width: min(640px, calc(100vw - 24px)); background: var(--rz-accent); color: #FFFFFF; border-radius: 16px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 500; box-shadow: 0 12px 30px rgba(20, 10, 40, .35); }
.rz-editbar button { border: 0; cursor: pointer; font: inherit; font-weight: 700; background: #FFFFFF; color: var(--rz-ink); border-radius: 10px; padding: 8px 14px; min-height: 40px; white-space: nowrap; }
body.rz-editing .rz-editable { background: var(--rz-sky) !important; color: var(--rz-ink) !important; border-radius: 6px; cursor: text; outline: none; }
body.rz-editing .rz-editable:focus { box-shadow: 0 0 0 2px var(--rz-accent); }
body.rz-editing img.rz-editimg { outline: 3px solid var(--rz-sky); cursor: pointer; }

@media (max-width: 820px) {
  .rz-hero { grid-template-columns: 1fr; }
  .rz-hero img { display: none; }
  .rz-detail { grid-template-columns: minmax(0, 1fr); }
  .rz-row { grid-auto-columns: minmax(210px, 72%); }
  .rz-act, .rz-chips .rz-btn { flex: 1 1 auto; }
}
.rz-inline { display: flex; gap: 8px; flex-wrap: wrap; } .rz-inline input { flex: 1 1 200px; min-width: 0; }
.rz-track:has(.rz-empty) { grid-auto-flow: row; grid-auto-columns: auto; }
.rz-empty { margin: 0; color: var(--rz-muted); }

/* Agenda, groups, search, vocabulary, questions, self-check (2026-11-10) */
.rz-btn.sky { background: var(--rz-sky); color: var(--rz-ink); }
.rz-headrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rz-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--rz-soft); border-radius: 14px; padding: 4px; }
.rz-seg button { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px; color: var(--rz-muted); background: transparent; border-radius: 10px; padding: 8px 12px; min-height: 40px; }
.rz-seg button[aria-pressed="true"] { background: var(--rz-ink); color: #FFFFFF; }
.rz-seg.rz-wide { display: flex; }
.rz-seg.rz-wide button { flex: 1 1 auto; }
.rz-seg button.ok { background: #CFF3DC; color: #14532D; }
.rz-seg button.no { background: #F9D5D5; color: #7F1D1D; }
.rz-search { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.rz-search input { flex: 1 1 160px; min-width: 0; border: 0; background: #FFFFFF; border-radius: 12px; padding: 11px 12px; font: inherit; }
#rz-classes-box .rz-search input { background: var(--rz-paper); }
.rz-se li[hidden] { display: none; }
.rz-week { display: grid; grid-template-columns: repeat(7, minmax(92px, 1fr)); gap: 6px; overflow-x: auto; padding-bottom: 6px; }
.rz-agday { background: var(--rz-paper); border-radius: 14px; padding: 8px; min-height: 130px; display: flex; flex-direction: column; gap: 5px; }
.rz-agday.today { box-shadow: inset 0 0 0 2px var(--rz-accent); }
.rz-agh { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: var(--rz-muted); text-transform: capitalize; }
.rz-agh b { font-family: "Tanker", sans-serif; font-weight: 400; font-size: 20px; color: var(--rz-ink); }
.rz-ag { border: 0; cursor: pointer; font: inherit; text-align: left; background: var(--rz-ink); color: #FFFFFF; border-radius: 9px; padding: 6px 8px; display: flex; flex-direction: column; line-height: 1.2; }
.rz-ag b { font-size: 13px; }
.rz-ag span { font-size: 13px; }
.rz-ag.clash { background: #B3202D; }
.rz-ag.draft { background: var(--rz-hi); color: var(--rz-ink); }
.rz-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.rz-tiles .rz-card[hidden], #rz-family[hidden], #rz-ask[hidden], #rz-vocab-box[hidden], #rz-questions[hidden] { display: none; }
.rz-wow { background: var(--rz-ink); color: #FFFFFF; }
.rz-wow .rz-k { color: var(--rz-hi); }
.rz-wowb { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.rz-wowb img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.rz-wowb p { margin: 4px 0 0; }
.rz-ex { font-style: italic; }
.rz-chal { font-size: 19px; font-weight: 700; margin: 6px 0 0; }
.rz-fam { margin: 6px 0 0; }
.rz-notebook { grid-auto-columns: minmax(250px, 300px); }
.rz-page { position: relative; min-height: 210px; padding: 14px 16px 16px 40px; border-radius: 6px 16px 16px 6px; color: var(--rz-ink); font-family: "Patrick Hand", "Chubbo", sans-serif; font-size: 19px; line-height: 28px; background-color: #FFFEF8; background-image: radial-gradient(circle at 16px 14px, var(--rz-hi) 5px, transparent 6px), linear-gradient(transparent 27px, #D6EEFB 27px, #D6EEFB 28px); background-size: 100% 42px, 100% 28px; box-shadow: 0 4px 14px rgba(48, 29, 80, .14); }
.rz-pagehead { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; min-height: 56px; }
.rz-pagehead b { font-size: 26px; line-height: 28px; font-weight: 400; color: var(--rz-accent); }
.rz-pagehead img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.rz-page p { margin: 0; }
.rz-books { grid-auto-columns: 190px; }
.rz-book { position: relative; height: 240px; border: 0; cursor: pointer; font: inherit; text-align: left; color: #FFFFFF; background: var(--rz-accent); border-radius: 6px 16px 16px 6px; padding: 18px 16px 16px 34px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 8px 18px rgba(48, 29, 80, .22); background-image: linear-gradient(90deg, var(--rz-ink) 0 18px, transparent 18px); transition: transform .15s; }
.rz-book:hover { transform: translateY(-4px) rotate(-1deg); }
.rz-book:nth-child(3n+2) { background-color: #7D5BB8; }
.rz-book:nth-child(3n) { background-color: #3F8A9C; }
.rz-label { background: #FFFEF8; color: var(--rz-ink); border-radius: 8px; padding: 10px; display: block; }
.rz-label small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--rz-muted); }
.rz-label b { display: block; font-family: "Patrick Hand", "Chubbo", sans-serif; font-weight: 400; font-size: 23px; line-height: 1.08; margin-top: 2px; }
.rz-open { font-weight: 700; font-size: 14px; }
.rz-bookdlg { width: min(860px, calc(100vw - 32px)); background: var(--rz-paper); }
.rz-bookdlg .rz-track { grid-auto-columns: minmax(250px, 300px); }
#rz-ask textarea { width: 100%; border: 0; background: var(--rz-paper); border-radius: 12px; padding: 12px; font: inherit; margin-bottom: 8px; box-sizing: border-box; }
.rz-q { background: var(--rz-paper); border-radius: 12px; padding: 10px 12px; margin-top: 8px; }
.rz-q b { font-weight: 700; }
.rz-q p { margin: 4px 0 0; }
.rz-q small { color: var(--rz-muted); display: block; }
.rz-sky .rz-q { background: #FFFFFF; }
.rz-q .rz-inline { margin-top: 6px; }
.rz-q .rz-inline input { flex: 1 1 200px; min-width: 0; border: 0; background: var(--rz-paper); border-radius: 10px; padding: 10px; font: inherit; }
.rz-lbl { font-weight: 600; font-size: 14px; }
.rz-vrow { display: grid; gap: 6px; background: #FFFFFF; border-radius: 12px; padding: 10px; margin: 6px 0; }
.rz-vfoot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rz-dlg h4 { font-size: 20px; }
#rz-reflect input#rz-next-text { width: 100%; box-sizing: border-box; border: 0; background: var(--rz-paper); border-radius: 12px; padding: 12px; font: inherit; margin-top: 6px; }

