:root{--brand:#59365e}
.report-tools,.schedule-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.report-tools>*{flex:1;min-width:140px}
.editor-layout{display:grid;gap:24px}.report-editor{display:grid;gap:14px}.report-editor textarea{min-height:240px}.a4-preview{background:#e9e5eb;padding:20px;border-radius:18px;overflow:auto}.report-paper{background:white;color:#25212a;width:100%;max-width:210mm;min-height:270mm;padding:18mm 15mm;margin:auto;box-shadow:0 4px 24px #20132418;font-family:Georgia,'Times New Roman',serif;line-height:1.65;overflow-wrap:anywhere}.report-letterhead{display:flex;gap:18px;align-items:center;border-bottom:2px solid #704675;padding-bottom:18px;margin-bottom:25px;break-inside:avoid}.report-letterhead img{width:75px;height:75px;object-fit:contain}.report-letterhead h2{color:#59365e;font-family:system-ui,sans-serif;font-size:19px;line-height:1.35;margin:0}.report-letterhead small{font-family:system-ui,sans-serif;color:#746c77}.report-paper h1{text-align:center;font-size:21px;letter-spacing:.03em;margin:24px 0}.report-meta{font-family:system-ui,sans-serif;font-size:13px;display:grid;grid-template-columns:1fr 1fr;gap:7px 20px;padding-bottom:18px;border-bottom:1px solid #e5dfe7;margin-bottom:24px}.report-body{white-space:pre-wrap;font-size:16px}.report-signature{text-align:right;margin-top:36px;break-inside:avoid}.report-footer{font-family:system-ui,sans-serif;color:#777;font-size:11px;margin-top:30px;border-top:1px solid #eee;padding-top:10px}.report-caption{font-size:13px;color:#746c77;margin:10px 0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.calendar-day{min-height:105px;background:white;border:1px solid var(--line);border-radius:12px;padding:8px;text-align:left;overflow:hidden}.calendar-day strong{display:block;color:var(--brand)}.calendar-day span{font-size:13px;display:block;white-space:pre-wrap;overflow-wrap:anywhere}.calendar-day.is-today{border:2px solid var(--brand)}.calendar-day.blank{background:transparent;border:none}.calendar-weekday{text-align:center;font-size:13px;font-weight:bold;padding:8px 0}.slot{display:grid;grid-template-columns:90px 1fr 44px;gap:8px;margin-bottom:10px;align-items:start}.slot input{min-width:0}.slot textarea{min-height:48px}.save-status{font-size:14px;color:var(--brand);min-height:22px}.report-list{display:grid;gap:8px;margin-top:18px}.report-list button{text-align:left}.storage-warning{margin:12px}.print-surface{display:none}.report-meta span{overflow-wrap:anywhere}.report-list .record{width:100%;background:white}.tracking-hint{font-size:13px;color:var(--muted);margin-bottom:8px}
@media(min-width:1200px){.editor-layout{grid-template-columns:minmax(290px,.8fr) minmax(440px,1.2fr)}}
@media(max-width:600px){.page-head{flex-wrap:wrap}.page-head .btn{flex-shrink:0}.topbar-inner{height:auto;min-height:68px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.top-status{margin-left:auto}.week-pill{font-size:11px}.connection-pill{font-size:11px}.brand-mobile span{font-size:14px}.a4-preview{padding:8px}.report-paper{padding:24px 18px;min-height:0}.report-meta{grid-template-columns:1fr}.report-letterhead{gap:10px}.report-letterhead h2{font-size:16px}.report-letterhead img{width:55px;height:55px}.calendar-grid{gap:3px}.calendar-day{min-height:84px;padding:5px;border-radius:7px}.calendar-day span{font-size:11px}.calendar-weekday{font-size:11px}.slot{grid-template-columns:85px 1fr 36px}.slot .icon-btn{width:36px}.modal-actions{position:static}.domain-options{gap:4px}.level{font-size:12px}.report-tools .btn{min-width:120px}}
@page{size:A4;margin:16mm 16mm 18mm}
@media print{html,body{background:#fff!important}}
@media print{body.print-report .app,body.print-report .bottom-nav,body.print-report .modal-backdrop,body.print-report .toast{display:none!important}body.print-report .print-surface{display:block!important}body.print-report .report-paper{width:auto;max-width:none;min-height:0;padding:0;margin:0;box-shadow:none;font-size:11pt}body.print-report .report-body{font-size:11pt;line-height:1.65;orphans:3;widows:3}body.print-report .report-letterhead{break-inside:avoid}body.print-report .report-meta{grid-template-columns:1fr 1fr}body.print-report .report-paper h1{font-size:17pt}body.print-report .report-footer{display:block}.calendar-day{break-inside:avoid}.schedule-tools,.slot button{display:none!important}}

/* Renkli keşif: bright framing around an uncluttered writing surface. */
.report-paper{position:relative;isolation:isolate;padding:21mm 17mm 20mm;border-radius:6px;color:#303946;background:#fff;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.report-paper>*:not(.report-frame){position:relative;z-index:1}
.report-frame{position:absolute;inset:0;z-index:0;pointer-events:none;border:11px solid #fff5d6;border-radius:6px;overflow:hidden;background:linear-gradient(90deg,#f4aa9b 0 25%,#ebc950 25% 50%,#7fc9bc 50% 75%,#baa6d6 75% 100%) center top / 100% 4px no-repeat,linear-gradient(90deg,#baa6d6 0 25%,#7fc9bc 25% 50%,#ebc950 50% 75%,#f4aa9b 75% 100%) center bottom / 100% 4px no-repeat}
.frame-arc{position:absolute;width:96px;height:96px;border:13px solid #ef9d90;border-radius:50%;box-shadow:0 0 0 10px #f1d56f,0 0 0 20px #a8d6cb}
.arc-top{top:-57px;left:-45px;transform:rotate(12deg)}
.arc-bottom{bottom:-62px;right:-37px;border-color:#ab96c8;box-shadow:0 0 0 10px #f4b7ae,0 0 0 20px #f1d56f}
.frame-tab{position:absolute;display:block;width:22px;height:64px;border-radius:30px;transform:rotate(24deg)}
.tab-one{right:-8px;top:23%;background:#a8d6cb}
.tab-two{left:-10px;bottom:24%;background:#c7b8df;transform:rotate(-24deg)}
.frame-dot{position:absolute;display:block;width:15px;height:15px;border-radius:50%}
.dot-one{right:10%;top:10px;background:#f4b7ae}
.dot-two{left:9px;top:44%;background:#ecc54a;width:10px;height:10px}
.dot-three{right:8px;bottom:35%;background:#ef9d90;width:10px;height:10px}
.dot-four{left:18%;bottom:11px;background:#83bfb0}
.report-letterhead{border-bottom:0;padding-bottom:20px;margin-bottom:0;gap:16px}
.report-letterhead img{width:76px;height:76px;border-radius:12px;background:#fff;padding:4px}
.report-letterhead h2{color:#28645d;font-size:19px;font-weight:750;letter-spacing:-.025em}
.report-letterhead small{display:block;margin-top:5px;letter-spacing:.035em;font-size:11px;color:#73827d}
.report-paper h1{font-family:system-ui,sans-serif;font-weight:800;color:#614874;letter-spacing:.075em;font-size:23px;text-align:left;margin:4px 0 22px;padding:13px 0 13px 17px;border-left:5px solid #eabd43;background:linear-gradient(90deg,#fff8e5,rgba(255,248,229,0));border-radius:0 14px 14px 0;break-after:avoid}
.report-meta{background:#f0f8f5;border:1px solid #dceee6;border-radius:14px;padding:14px 17px;gap:12px 20px;font-size:13px;margin-bottom:26px;break-inside:avoid}
.report-meta b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#497a6d;margin-bottom:2px}
.report-salutation{color:#614874;font-weight:bold;margin-bottom:14px;break-after:avoid}
.report-body{line-height:1.8;color:#303946}
.report-signature{color:#614874;font-size:15px;margin-top:28px}
.report-signature b{font-family:system-ui,sans-serif;font-size:14px}
.signature-line{display:inline-block;min-width:110px;margin-top:9px;padding-top:7px;border-top:1px solid #dfd2e8;font:11px system-ui,sans-serif;color:#8d8195}
.report-footer{border-top:1px solid #e8e3d7;color:#78837e;font-size:10px;line-height:1.5;padding-top:12px;margin-top:26px;break-inside:avoid}
.report-title-wrap{display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,#fff8e5 0%,#fffdf7 67%,#f4fbf8 100%);padding:12px 16px 12px 13px;border:1px solid #f5e6bb;border-radius:18px;margin:4px 0 18px;break-inside:avoid}.report-title-wrap h1{background:transparent;border:0;margin:0;padding:0;font-size:22px;letter-spacing:.06em}.report-kicker{margin:0 0 2px;font:800 9px system-ui,sans-serif;letter-spacing:.18em;color:#548d7e}.report-sun{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#ffd766;color:#7d5a20;font-size:19px;flex:0 0 auto}.report-stars{margin-left:auto;color:#ec9a88;letter-spacing:4px;font-size:17px;white-space:nowrap}.report-tags{display:flex;gap:7px;flex-wrap:wrap;margin:-16px 0 17px;padding-left:2px;break-inside:avoid}.report-tags span{padding:5px 9px;border-radius:99px;font:700 9px system-ui,sans-serif;color:#4e7e71;background:#eef8f4;border:1px solid #dceee6}.report-tags span+span{color:#7b5b8c;background:#f4eef9;border-color:#e6dcef}

/* Aylık planın sınıf panosu yüzü. */
.calendar-board{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff9e9 0%,#fff 53%,#f4fbf8 100%);border:1px solid #f0e7cf;border-radius:24px;padding:18px;box-shadow:0 10px 30px rgba(81,63,76,.06)}.calendar-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;background:linear-gradient(120deg,#f19b91,#efb663 49%,#a4cfbd);color:#fff;border-radius:19px;margin-bottom:16px}.calendar-hero .eyebrow{color:#fff1cd;margin-bottom:3px}.calendar-hero h2{font-size:1.5rem;line-height:1.1;letter-spacing:-.04em;margin:0 0 5px;text-transform:capitalize}.calendar-hero p{margin:0;font-size:.86rem;color:#fffaf2}.calendar-sun{display:grid;place-items:center;flex:0 0 auto;width:58px;height:58px;border-radius:50%;background:#fff4c1;color:#e38342;font-size:29px;box-shadow:0 0 0 8px rgba(255,255,255,.17)}.calendar-spark{position:absolute;color:#fff8d5;font-weight:900}.spark-a{right:103px;top:12px;font-size:18px}.spark-b{left:48%;bottom:5px;font-size:30px}.calendar-toolbar{align-items:end;margin:0 0 14px}.calendar-picker{max-width:215px;font-size:.8rem;font-weight:800;color:#5d365f}.calendar-picker span{display:block;margin:0 0 5px}.calendar-picker input{background:#fff}.calendar-tip{padding:9px 12px;border-radius:99px;background:#f3eaf4;color:#76547d;font-size:.78rem;font-weight:750}.calendar-grid{position:relative}.calendar-weekday{border-radius:10px;color:#fff;padding:9px 4px;font-size:.78rem}.weekday-0{background:#d88b84}.weekday-1{background:#dca850}.weekday-2{background:#77b7aa}.weekday-3{background:#9184bd}.weekday-4{background:#da9aaf}.weekday-5{background:#7db1c3}.weekday-6{background:#b995b7}.calendar-day{position:relative;border-color:#eee2db;background:#fffdf9;transition:transform .16s,box-shadow .16s,border-color .16s}.calendar-day:hover{transform:translateY(-2px);box-shadow:0 7px 15px rgba(82,59,74,.1)}.calendar-day strong{display:grid;place-items:center;width:27px;height:27px;border-radius:10px;color:#62436b;background:#f5eaf4;font-size:.85rem;margin-bottom:6px}.calendar-day.day-tone-1 strong{color:#906129;background:#fff0ce}.calendar-day.day-tone-2 strong{color:#387c6e;background:#e6f4ef}.calendar-day.day-tone-3 strong{color:#456d9a;background:#e9f2fb}.calendar-day.day-tone-4 strong{color:#a8526a;background:#fcecf0}.calendar-day.has-note{border-color:#eed7c1;background:linear-gradient(160deg,#fffdf8,#fff)}.calendar-day.has-note:after{content:"";position:absolute;right:8px;top:8px;width:7px;height:7px;border-radius:99px;background:#ed9e70}.calendar-day.is-today{border:2px solid #7d5b8c;box-shadow:0 4px 14px rgba(125,91,140,.17)}.calendar-day .badge{font-size:.64rem;padding:3px 6px;margin-top:5px}.calendar-footer-note{text-align:center;margin:16px 0 0;color:#7c747a;font-size:.76rem}
@media(max-width:600px){.report-paper{padding:42px 26px}.report-frame{border-width:7px}.report-letterhead{gap:10px}.report-letterhead img{width:50px;height:50px}.report-letterhead h2{font-size:15px}.report-paper h1{font-size:18px;padding-left:10px;letter-spacing:.025em}.report-meta{padding:12px;gap:10px}.report-body{font-size:15px}.frame-arc{width:65px;height:65px;border-width:10px}.arc-top{top:-42px;left:-35px}.arc-bottom{bottom:-48px;right:-30px}.frame-tab{width:15px}.report-letterhead small{font-size:10px}.report-title-wrap{padding:10px}.report-title-wrap h1{font-size:17px}.report-sun{width:31px;height:31px;font-size:15px}.report-stars{display:none}.report-tags span{font-size:8px}.calendar-board{padding:10px;border-radius:18px}.calendar-hero{padding:16px 15px;border-radius:14px}.calendar-hero h2{font-size:1.23rem}.calendar-hero p{font-size:.75rem;max-width:200px}.calendar-sun{width:42px;height:42px;font-size:21px}.spark-a{right:67px;top:6px}.calendar-toolbar{gap:8px}.calendar-picker{max-width:170px}.calendar-tip{font-size:.68rem;padding:8px}.calendar-weekday{font-size:.62rem;padding:7px 1px}.calendar-day{min-height:92px}.calendar-day strong{width:23px;height:23px;border-radius:8px;font-size:.76rem;margin-bottom:3px}.calendar-day span{font-size:.65rem}.calendar-footer-note{font-size:.68rem}}
@page{size:A4;margin:23mm 23mm 24mm}
@media print{
  body.print-report .report-paper{isolation:auto;border-radius:0;background:transparent}
  body.print-report .report-frame{position:fixed;inset:-16mm -16mm -17mm;border-width:3mm;z-index:0;border-radius:3mm}
  body.print-report .report-letterhead{padding-bottom:6mm}
  body.print-report .report-letterhead h2{font-size:15pt}
  body.print-report .report-letterhead img{width:19mm;height:19mm}
  body.print-report .report-paper h1{font-size:17pt;margin:0 0 6mm}
  body.print-report .report-title-wrap{padding:4mm 5mm;margin:0 0 5mm}
  body.print-report .report-title-wrap h1{font-size:17pt;margin:0}
  body.print-report .report-tags{margin:-3mm 0 4mm}
  body.print-report .report-body{font-size:11pt;line-height:1.72}
  body.print-report .report-meta{font-size:10pt;margin-bottom:6mm}
  body.print-report .report-meta b{font-size:8pt}
  body.print-report .report-signature{font-size:11pt}
  body.print-report .report-signature b{font-size:10pt}
  body.print-report .report-footer{font-size:8pt}
}
