:root{--yellow:#FFD83D;--blue:#24A9E8;--green:#65B84A;--orange:#FF9F43;--ink:#19324A;--muted:#617184}
*{box-sizing:border-box}
body{margin:0;background:#eef1f4;color:var(--ink);font-family:Nunito,Arial,sans-serif}
h1,h2,h3{font-family:"Baloo 2",cursive;margin:0;line-height:1.05}
.toolbar{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:14px 22px;background:#fffdf5;border-bottom:1px solid #e6e2d4}
.toolbar p{margin:0;color:var(--muted);font-weight:700}
.toolbar .actions{display:flex;gap:10px}
.btn{border:0;border-radius:999px;padding:12px 22px;font:800 1rem Nunito,Arial,sans-serif;cursor:pointer;text-decoration:none;color:var(--ink);background:white;border:2px solid #e4e9ec}
.btn-primary{background:var(--yellow);border-color:var(--yellow)}
.sheet{width:210mm;min-height:297mm;margin:24px auto;padding:14mm 14mm 12mm;background:white;box-shadow:0 10px 30px rgba(25,50,74,.12);display:flex;flex-direction:column}
.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:3px dashed var(--yellow);padding-bottom:8px;margin-bottom:10mm}
.sheet-head img{height:16mm;width:auto}
.sheet-head h1{font-size:2.1rem}
.sheet-head .sub{margin:2px 0 0;color:var(--muted);font-weight:700}
.name-line{font-weight:800;white-space:nowrap}
.name-line span{display:inline-block;width:52mm;border-bottom:2px solid var(--ink);margin-left:6px}
.sheet-body{flex:1;display:flex;flex-direction:column}
.sheet-foot{margin-top:8mm;display:flex;justify-content:space-between;font-size:.8rem;color:var(--muted);font-weight:700}
.word{text-align:center;font:800 2.6rem "Baloo 2",cursive;margin-top:6mm}
.word small{display:block;font:700 1rem Nunito,Arial,sans-serif;color:var(--muted)}
@page{size:A4;margin:0}
@media print{
  body{background:white}
  .toolbar{display:none}
  .sheet{margin:0;box-shadow:none;width:210mm;height:297mm;min-height:0;page-break-after:always;break-after:page;overflow:hidden}
  .sheet:last-of-type{page-break-after:auto;break-after:auto}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
@media screen and (max-width:820px){.sheet{zoom:.45}}
