/* A playful cover for the same notebook. Printing keeps its separate layout. */
@media screen {
  :root{background:#eef7ff;color:#25375b;font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif}
  body{background:radial-gradient(circle at 12% 20%,#d2eafb 1px,transparent 2px) 0 0/22px 22px,#eef7ff}
  header{height:100px;padding:15px 30px;background:#fffdf7;border-bottom:0;gap:18px}
  .brand{gap:14px;font-size:25px;color:#243960}
  .monogram{display:flex;align-items:center;justify-content:center;background:#ffdb67;border:3px solid #fff;border-radius:20px;box-shadow:0 4px 0 #e6b844;width:65px;height:65px;padding:0;transform:rotate(-7deg)}
  .notebook-friend{width:54px;height:54px;display:block}
  .brand-name{display:block;font-weight:800;letter-spacing:-.7px}
  .brand-caption{display:block;font-size:13px;font-weight:400;letter-spacing:0;color:#647295;margin-top:6px}
  .preview{background:#edf3fc;color:#536587;font-size:10px;padding:5px 8px}
  #save{color:#657696;font-size:11px;max-width:180px;text-align:right;line-height:1.5}
  #notebooks{padding:13px 28px 0;background:#fffdf7;gap:9px;border-bottom:4px solid #d3e2f1;align-items:stretch}
  #notebooks button{--tab:#b8d9fc;position:relative;display:flex;align-items:center;gap:9px;background:var(--tab);color:#294064;font-weight:700;font-size:16px;padding:14px 19px;border:2px solid transparent;border-bottom:0;border-radius:16px 16px 0 0;box-shadow:inset 0 3px 0 #ffffff80;min-height:59px}
  #notebooks button:before{font-size:23px;line-height:1;content:'📒'}
  #notebooks [data-notebook=arabic]{--tab:#bce4cf}#notebooks [data-notebook=arabic]:before{content:'أ';font:700 29px/1 Arial;color:#216448}
  #notebooks [data-notebook=islamic]{--tab:#d9cff5}#notebooks [data-notebook=islamic]:before{content:'☾';font-size:29px;color:#66529e}
  #notebooks [data-notebook=french]{--tab:#ffd2be}#notebooks [data-notebook=french]:before{content:'Aa';font-size:18px;color:#a45033}
  #notebooks [data-notebook=reading]{--tab:#ffe597}#notebooks [data-notebook=reading]:before{content:'📖'}
  #notebooks button[aria-current=true],#notebooks button[aria-current=true]:hover{background:var(--tab);color:#203457;border:2px solid #526d98;border-bottom:0;box-shadow:0 -4px 0 #fffdf7,inset 0 -5px 0 #ffffff90}
  #notebooks button:hover{background:var(--tab);filter:brightness(1.035)}
  .workspace{grid-template-columns:265px minmax(0,1fr);max-width:1650px;min-height:calc(100vh - 176px)}
  aside{background:#fff8e6;padding:28px 18px;border-right:2px solid #efe5c9}
  .section-label{font-size:18px;color:#52613e;font-weight:800;letter-spacing:0;text-transform:none;margin:0 10px 20px}
  .date-label{font-size:12px;color:#7e806e}#packDate{border:1px solid #d9d4bf;border-radius:10px;background:#fffdf8;padding:12px;font-weight:600;font-size:14px;color:#52613e}
  #pages{gap:9px;margin-top:24px}#pages button{font-size:15px;line-height:1.5;align-items:flex-start;padding:14px 10px;border-radius:12px;color:#415371;border:1px solid transparent}
  #pages button:hover{background:#fffdf5;border-color:#ded5b7}#pages button[aria-current=page]{background:#fff;border:2px solid #84b4e7;box-shadow:0 4px 0 #d5e3e9;color:#24446f;font-weight:700}
  .page-number{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:25px;height:25px;border-radius:8px;background:#e6ecd5;color:#60724c;font-weight:700;font-size:12px}
  #pages button[aria-current=page] .page-number{background:#477bbd;color:white}
  .aside-note{font-size:14px;color:#7c8065;background:#fffdf4;border-radius:13px;padding:15px;margin:30px 0 0;line-height:1.7}
  main{padding-top:20px}.page-toolbar{max-width:900px;gap:12px;margin-bottom:22px;font-size:14px}#subject{color:#62789a;font-weight:700}
  #tools>summary{background:#7959b0;color:white;font-weight:700;border-radius:12px;padding:12px 17px;box-shadow:0 3px 0 #62428f;min-height:46px}
  #tools>summary:hover{background:#6d4da4}.file-menu>summary{font-weight:600;color:#51698f}#print{background:#fff;color:#386bab;border:1px solid #b6cde6;border-radius:12px;font-weight:700}
  #tools .tool-popover{top:55px;border-radius:15px;border:2px solid #dbceeb;box-shadow:0 10px 30px #3e2e5522}
  #paper{max-width:900px;border:1px solid #e4dbcb;border-radius:7px 22px 22px 7px;background:var(--paper,#fffdf6);padding:28px clamp(25px,4vw,60px) 45px;box-shadow:5px 6px 0 #d4e2ee,8px 10px 0 #fffdf7,11px 14px 0 #cbdbe8,0 18px 36px #44617e12}
  #paper:before{content:'';position:absolute;left:17px;top:55px;bottom:35px;width:2px;background:#edbac177;pointer-events:none}
  .page-heading{font-size:13px;font-weight:600;color:#70809b;margin-bottom:34px;padding-bottom:15px;border-bottom:1px solid #e0dfd4}
  .page-heading span:last-child{background:#fff0bb;color:#8a6b27;padding:6px 14px;border-radius:20px;transform:rotate(3deg)}
  h1,.practice-heading{font-family:'Trebuchet MS','Segoe UI',sans-serif;font-weight:800;color:#2e4871;letter-spacing:-.7px}h1{font-size:32px}.practice-heading{font-size:29px}
  .glued{border:1px solid #ded9cc;box-shadow:0 3px 6px #403a2010;border-radius:2px;padding:24px 18px 17px}.glued:before,.glued:after{background:#f3d979a6;top:-10px;height:23px}
  .eyebrow{font-size:10px;letter-spacing:1px;color:#7e8068}.cut-controls{font-size:12px}.cut-controls button{border-radius:9px}
  .all-work>p,.sounds-work>p,.sight-work>p,.thaa-writing-work>p,.thurayya-work>p{color:#60728c;line-height:1.8}
  .work-question{background:#fffefa;border:1px solid #e3e8eb;border-radius:14px;padding:18px;margin:0;box-shadow:0 2px 0 #edf0e8}
  .all-questions{gap:17px}.question-title{font-size:20px;color:#344c70;align-items:center;line-height:1.7}.question-number{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:#ffe6a3;color:#8a6420;font-weight:700;flex-shrink:0}
  #paper textarea{border:1px solid #bccfe3;border-radius:11px;background-color:#f8fbff;padding:10px 14px}
  .choices button{border-radius:11px;border-color:#c3d6e8;color:#365b87;box-shadow:0 3px 0 #e2ebf4}.choices button[aria-pressed=true]{background:#e7f3d8;border-color:#80aa56;color:#385e26;box-shadow:0 3px 0 #cddfba}
  .primary{background:#477bbd;border-color:#477bbd;border-radius:12px;box-shadow:0 3px 0 #345c90}.primary:hover{background:#386ba9}
  .french-letter-bar{background:#eaf2ff;border-color:#c6d8ef;border-radius:14px;box-shadow:none}.french-letter-keys button{background:#fff;border:1px solid #c0d1e7;border-radius:9px;color:#345b8b}
  .sight-word,.thaa-card{border-radius:13px;border-color:#bdd2e5;background:#fff;box-shadow:0 3px 0 #e4edf4}.thaa-rating-buttons button{border-radius:11px}.handwriting-options{background:#eaf2ff;border:1px solid #d0e0f2}.thaa-writing-canvas{border-radius:12px;border:2px solid #c5d8eb}
  .arabic-help-intro{color:#6b7c94;border-bottom-color:#dae5ef}.arabic-help-intro button{border-radius:10px;color:#567097}.arabic-help-panel{border-color:#c3d5e6;background:#fffefa}
  .preview-note{color:#8491a4;font-size:11px}
  @media(max-width:900px){header{padding:14px 20px}.brand{font-size:22px}.brand-caption{font-size:11px}#save{display:none}#notebooks{padding-inline:16px;gap:6px}#notebooks button{font-size:14px;padding:12px 15px}.workspace{grid-template-columns:230px minmax(0,1fr)}main{padding-inline:20px}#paper{padding-inline:28px}.page-toolbar{gap:8px}}
  @media(max-width:760px){header{height:auto;min-height:86px;gap:10px;padding:12px 15px}.monogram{width:52px;height:52px;border-radius:16px}.notebook-friend{width:44px;height:44px}.brand{font-size:20px}.brand-caption{font-size:10px}.preview{margin-left:auto;font-size:9px}.workspace{display:block}#notebooks{padding-top:6px;gap:5px}#notebooks button{font-size:13px;padding:11px 13px;min-height:52px}#notebooks button:before{font-size:19px}main{padding:16px 12px 30px}#paper{padding:24px 23px;border-radius:5px 17px 17px 5px}#paper:before{left:10px}.page-toolbar{font-size:12px;gap:8px}#tools>summary{padding:10px 12px;font-size:12px}.file-menu>summary{font-size:12px}#print{font-size:12px;padding:10px}.question-title{font-size:18px}.work-question{padding:15px}h1{font-size:28px}.section-label{font-size:18px}.page-heading{margin-bottom:29px}}
}
