:root{font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "PingFang SC", "Noto Sans CJK SC", sans-serif;}
body{margin:0;background:#f6f7f9;color:#111;}

.topbar{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:12px 16px;background:#fff;border-bottom:1px solid #e6e8ee;position:sticky;top:0;z-index:50;}
.brand{font-weight:800;}
.nav{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.nav a{color:#111;text-decoration:none;padding:6px 8px;border-radius:8px;}
.nav a:hover{background:#f0f2f6;}
.nav a.muted{color:#666;}
.nav-form{margin:0;}
.nav-button{
  border:0;
  padding:6px 8px;
  border-radius:8px;
  background:transparent;
  color:#111;
  cursor:pointer;
  font-size:14px;
  font-family:inherit;
  font-weight:inherit;
  line-height:inherit;
}
.nav-button:hover{background:#f0f2f6;opacity:1;}

.container{max-width:1100px;margin:16px auto;padding:0 12px;}
.container.narrow{max-width:600px;}
.auth-submit{margin-top:25px;}
.auth-alt{margin:14px 0 0;color:#666;font-size:14px;}
.auth-alt a{color:#111;font-weight:700;}

h1{margin:10px 0 14px 0;font-size:24px;}
.meta{color:#666;font-size:14px;margin-bottom:10px;}
.flash{background:#fff7e6;border:1px solid #ffe2a8;padding:10px 12px;border-radius:10px;margin:10px 0;}

.card{background:#fff;border:1px solid #e6e8ee;border-radius:14px;padding:14px; overflow: visible;}
.card.empty{padding:18px;}

.word{font-size:22px;font-weight:800;line-height:1.25;margin-bottom:6px;}
.word-context{font-size:16px;line-height:1.5;white-space:pre-wrap;color:#444;margin-bottom:10px;}
.explain{font-size:16px;line-height:1.5;white-space:pre-wrap;}
.reading{font-size:15px;line-height:1.6;}

.kv{margin:10px 0;}
.kv > div:first-child{color:#666;font-size:13px;margin-bottom:4px;}
.kv > div:last-child{white-space:pre-wrap;}

.sub{display:flex;gap:14px;flex-wrap:wrap;color:#666;font-size:13px;margin-top:10px;}

label{display:block;margin:10px 0 6px 0;color:#666;font-size:13px;}
input,textarea,select{width:100%;box-sizing:border-box;border:1px solid #d8dbe3;border-radius:10px;padding:10px 10px;background:#fff;font-size:15px;}
textarea{resize:none; overflow:hidden; min-height:96px;}
button{border:0;border-radius:10px;padding:10px 12px;background:#111;color:#fff;cursor:pointer;}
button:hover{opacity:.92;}
button[disabled]{opacity:.5;cursor:not-allowed;}
.form-submit-status{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  color:#666;
  font-size:14px;
  font-weight:700;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
  margin-bottom:18px;
}
.pager{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:14px;margin-bottom:18px;}

.btn{display:inline-block;text-decoration:none;border-radius:14px;padding:12px 16px;background:#111;color:#fff;}
.btn:hover{opacity:.92;}
.btn.ghost{background:#f0f2f6;color:#111;}
.btn.ok{background:#0b6b2f;}
.btn.danger{background:#b42318;}

.mini{padding:6px 10px;border-radius:10px;font-size:12px;background:#111;color:#fff;}
.mini.ghost{background:#f0f2f6;color:#111;}
.mini.ok{background:#0b6b2f;}
.mini.danger{background:#b42318;}

.inline{display:inline-block;margin-right:6px;}

.table-wrap{
  background:#fff;
  border:1px solid #e6e8ee;
  border-radius:14px;
  overflow:auto;
  margin-top:14px;
}
table{border-collapse:collapse;width:100%;min-width:900px;}
th,td{border-bottom:1px solid #eef0f4;padding:10px 10px;text-align:left;vertical-align:top;}
th{background:#fafbfc;color:#666;font-weight:700;font-size:13px;}

.cell{max-width:420px;white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word;}
.search{display:flex;gap:8px;align-items:center;margin:10px 0 10px 0;}
.search input{flex:1;}

pre.reading, .reading, .explain{
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
  margin: 0;
}

/* --- rating stars --- */
.topmeta{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
.rating-wrap{display:flex;align-items:center;gap:10px;min-width:260px;flex:0 0 auto;}
.rating-stars{display:inline-flex;gap:6px;margin:0;padding:0;white-space:nowrap;}
.star-btn{border:none;background:transparent;padding:0;cursor:pointer;font-size:18px;line-height:1;}
.star-btn.is-off{color:#bbb;}
.star-btn.is-on{color:#f5b301;}

/* ✅ Restore item_detail button layout (do not break it) */
.btn-row{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:12px;
  margin-bottom:12px;
}
.btn-row form{margin:0;min-width:0;}
.btn-row .btn{width:100%;text-align:center;white-space:nowrap;padding:12px 0;}

.nav-buttons{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:12px;
  margin-bottom:12px;
}
.nav-buttons > a,
.nav-buttons > span{
  grid-column:span 2;
  display:block;
  text-align:center;
  padding:12px 0;
  border-radius:14px;
}

/* --- note block (existing item/reading note editor) --- */
.note-block{margin-top:18px;}
.note-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.note-display{
  margin-top:10px;
  border:1px solid #e6e8ee;
  border-radius:12px;
  padding:10px;
  background:#fff;
}
.note-editor{margin-top:12px;}
.note-editor textarea{width:100%;}

.rich-editor{
  border:1px solid #d8dbe3;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
  font-weight:400;
}
.rich-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  padding:8px;
  border-bottom:1px solid #e6e8ee;
  background:#f8fafb;
  font-weight:400;
}
.rich-toolbar button,
.rich-toolbar label{
  width:auto;
  margin:0;
  border:1px solid #dfe3e8;
  border-radius:8px;
  background:#fff;
  color:#111;
  padding:6px 8px;
  font-size:13px;
  line-height:1;
}
.rich-palette{display:flex;gap:5px;align-items:center;}
.rich-toolbar .rich-swatch{
  flex:0 0 24px;
  width:24px;
  height:24px;
  min-width:24px;
  min-height:24px;
  aspect-ratio:1;
  box-sizing:border-box;
  padding:0;
  border-radius:50%;
  border:2px solid #fff;
  box-shadow:0 0 0 1px #cfd5dc;
}
.rich-toolbar .rich-swatch:hover{box-shadow:0 0 0 2px #111;opacity:1;}
.rich-toolbar button:disabled,
.rich-toolbar select:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.rich-toolbar .rich-swatch:disabled{
  opacity:.35;
  box-shadow:0 0 0 1px #cfd5dc;
}
.rich-toolbar .rich-swatch:disabled:hover{
  box-shadow:0 0 0 1px #cfd5dc;
  opacity:.35;
}
.rich-toolbar button.is-active{
  border-color:#2f6f62;
  background:#e8f2eb;
  box-shadow:inset 0 0 0 1px #2f6f62;
}
.rich-toolbar .rich-swatch.is-active{
  box-shadow:0 0 0 3px #111;
}
.rich-toolbar select{
  width:auto;
  min-width:62px;
  margin-left:4px;
  padding:3px 4px;
  font-size:13px;
}
.rich-editor-area{
  min-height:96px;
  padding:10px;
  outline:none;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-weight:400;
}
.rich-editor-area.is-invalid{
  box-shadow:inset 0 0 0 2px #b42318;
}
.rich-text-display{
  overflow-wrap:anywhere;
  white-space:pre-wrap;
  line-height:1.6;
}
.rich-text-display p,
.rich-text-display div{
  margin:0 0 .65em;
}
.rich-text-display ul,
.rich-text-display ol{
  margin:.35em 0 .65em 1.3em;
  padding:0;
}

.note-toggle{
  border:1px solid #e6e8ee;
  background:#f3f4f6;
  color:#666;
  border-radius:10px;
  padding:6px 10px;
  font-weight:800;
}
.note-toggle:hover{background:#eef0f4;}
.note-toggle .chev{display:inline-block;margin-left:6px;transition:.15s ease;color:#666;}
.note-block:not(.is-collapsed) .note-toggle .chev{transform: rotate(180deg);}

/* --- reading view: ensure nav isn't cramped --- */
.reading-nav{
  margin-top:14px !important;
  margin-bottom:22px !important;
}
.reading-nav + .card{
  margin-top:0 !important;
}

/* --- editable 24-month teaching plan --- */
.plan-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px;}
.plan-progress-panel{
  margin-bottom:14px;
  padding:16px;
  border:1px solid #dfe3e8;
  border-radius:8px;
  background:#fff;
}
.plan-progress-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.plan-progress-head h2{font-size:18px;margin:0 0 4px;}
.plan-child-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.plan-child-list a,
.plan-child-list span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  background:#f5f7f8;
  color:#444;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}
.plan-child-list a:hover{background:#e9eeec;color:#24594f;opacity:1;}
.plan-child-form{margin-top:12px;}
.plan-child-form.is-collapsed{display:none;}
.plan-child-form textarea{min-height:110px;resize:vertical;}
.plan-month-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.plan-month{
  display:flex;
  flex-direction:column;
  min-width:0;
  scroll-margin-top:86px;
  padding:16px;
  border:1px solid #dfe3e8;
  border-left:4px solid #2f6f62;
  border-radius:8px;
  background:#fff;
  color:#111;
  text-decoration:none;
}
.plan-month:nth-child(4n+2){border-left-color:#b76b22;}
.plan-month:nth-child(4n+3){border-left-color:#a44c68;}
.plan-month:nth-child(4n){border-left-color:#3976a8;}
.plan-month:hover{border-color:#aeb7c2;box-shadow:0 4px 12px rgba(17,24,39,.06);}
.plan-month:target{box-shadow:0 0 0 3px rgba(47,111,98,.18),0 8px 22px rgba(17,24,39,.08);}
.plan-month-top,.plan-section-head,.plan-resource-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.plan-month-number,.plan-code,.plan-resource-kind{
  color:#2f6f62;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.plan-year{font-size:12px;color:#666;}
.plan-month h2{font-size:17px;line-height:1.35;margin:8px 0 16px;}
.plan-month h2 a{color:#111;text-decoration:none;}
.plan-month h2 a:hover{text-decoration:underline;}
.plan-month-meta{display:flex;gap:12px;flex-wrap:wrap;color:#666;font-size:12px;}
.plan-outcome-line,.plan-outcome-detail{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:8px;
  margin:0 0 12px;
  padding:8px;
  border-radius:6px;
  background:#eef5f3;
  color:#222;
  font-size:13px;
  line-height:1.35;
}
.plan-outcome-detail{
  max-width:760px;
  margin-top:12px;
}
.plan-outcome-line strong,.plan-outcome-detail strong{color:#2f6f62;}
.plan-month-subgoals{display:grid;gap:6px;margin:0 0 16px;}
.plan-month-subgoals a{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:8px;
  padding:7px 8px;
  border-radius:6px;
  background:#f5f7f8;
  color:#222;
  text-decoration:none;
  font-size:13px;
  line-height:1.35;
}
.plan-month-subgoals a:hover{background:#e9eeec;}
.plan-month-subgoals strong{color:#2f6f62;}
.plan-note-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid #e4e7eb;
  font-weight:700;
  color:#444;
}
.plan-note-preview{
  margin-top:8px;
  padding:10px;
  border-radius:8px;
  background:#f7f8fa;
  font-size:14px;
}
.plan-inline-note{margin-top:8px;}
.plan-inline-note.is-collapsed{display:none;}
.plan-inline-note label{margin-top:0;font-weight:700;color:#444;}
.plan-inline-note textarea{min-height:92px;resize:vertical;}
.plan-inline-note-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;}
.plan-inline-note-actions a{font-size:12px;color:#555;}
.plan-back{display:inline-block;margin:4px 0 16px;color:#555;text-decoration:none;}
.plan-month-header{padding-bottom:16px;border-bottom:1px solid #dfe3e8;}
.plan-month-kicker{font-size:13px;font-weight:800;color:#2f6f62;text-transform:uppercase;}
.plan-month-header h1{font-size:30px;margin-top:6px;}
.plan-month-note,.plan-photo-section{padding:20px 0;border-bottom:1px solid #dfe3e8;}
.plan-section-head h2{font-size:18px;margin:0;}
.plan-prose{white-space:pre-wrap;line-height:1.65;overflow-wrap:anywhere;}
.plan-prose p{margin:0 0 .75em;}
.plan-prose p:last-child{margin-bottom:0;}
.plan-prose.is-empty{color:#888;font-style:italic;}
.plan-edit-form{display:none;margin-top:14px;padding-top:14px;border-top:1px solid #e6e8ee;}
.plan-edit-form.is-open{display:block;}
.plan-upload{display:flex;align-items:center;gap:8px;margin:0;}
.plan-file-label{display:inline-block;margin:0;cursor:pointer;}
.plan-file-label input{display:none;}
.plan-subgoals{margin-top:8px;}
.plan-subgoal{padding:26px 0;border-bottom:1px solid #cfd5dc;}
.plan-subgoal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
.plan-subgoal-heading h2{font-size:21px;margin:4px 0 6px;}
.plan-subgoal-heading h2 a{color:#111;text-decoration:none;}
.plan-subgoal-heading h2 a:hover{text-decoration:underline;}
.plan-week-summary{
  margin-top:14px;
  padding:12px;
  border-radius:8px;
  background:#f7f8fa;
}
.plan-week-summary h3{
  font-size:14px;
  margin:0 0 6px;
  color:#444;
}
.plan-week-summary h3:not(:first-child){margin-top:12px;}
.plan-resource-list{display:grid;gap:10px;margin-top:18px;}
.plan-resource{
  padding:14px 16px;
  border-left:3px solid #9aa4b2;
  border-radius:0 6px 6px 0;
  background:#fff;
}
.plan-resource-book{border-left-color:#d28a13;background:#fffaf0;}
.plan-resource-activity{border-left-color:#3b8a57;background:#f3faf5;}
.plan-resource-card{border-left-color:#3976a8;background:#f3f8fc;}
.plan-resource h3{font-size:16px;margin:8px 0 6px;line-height:1.4;}
.plan-delete-form{display:none;margin-top:8px;}
.plan-edit-form.is-open + .plan-delete-form{display:block;}
.plan-add-resource{margin-top:14px;}
.plan-add-resource summary{cursor:pointer;font-weight:700;color:#444;}
.plan-add-resource form{margin-top:12px;padding:14px;background:#fff;border:1px solid #dfe3e8;border-radius:8px;}
.plan-linked-months{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;}
.plan-linked-months a{
  padding:7px 10px;
  border-radius:6px;
  background:#eef2f1;
  color:#24594f;
  text-decoration:none;
  font-size:13px;
}
.plan-subgoal-editor{padding:20px 0;border-bottom:1px solid #dfe3e8;}
.plan-subgoal-editor h2{font-size:18px;margin:0 0 12px;}
.plan-resource-page-list{margin-top:20px;}
.plan-resource-page-list .plan-resource{padding:18px;}
.plan-resource-delete{margin-top:12px;padding-top:12px;border-top:1px solid rgba(0,0,0,.08);}
.plan-add-new{margin-top:10px;}
.plan-subgoal-card{
  max-width:760px;
  margin:20px 0;
  padding:16px;
  border:1px solid #dfe3e8;
  border-radius:8px;
  background:#fff;
}
.plan-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.plan-card-head h2{font-size:18px;margin:0;}
.plan-resource-board{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:14px;
}
.plan-resource-column{
  min-width:0;
  padding:16px;
  border:1px solid #dfe3e8;
  border-radius:8px;
  background:#fff;
}
.plan-resource-card-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:12px;
  margin-top:14px;
}
.plan-resource-card{
  min-width:0;
  padding:14px;
  border:1px solid #e3e7eb;
  border-top:3px solid #9aa4b2;
  border-radius:8px;
  background:#fff;
}
.plan-resource-card-book{border-top-color:#d28a13;background:#fffaf0;}
.plan-resource-card-activity{border-top-color:#3b8a57;background:#f5fbf7;}
.plan-resource-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.plan-resource-card-top span{
  color:#2f6f62;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.plan-resource-card h3{font-size:17px;line-height:1.35;margin:12px 0 8px;}
.plan-resource.is-editing,
.plan-resource-card.is-editing{
  background:#fff;
}
.plan-resource.is-editing > h3,
.plan-resource.is-editing > .rich-text-display,
.plan-resource.is-editing > .plan-gallery,
.plan-resource-card.is-editing > h3,
.plan-resource-card.is-editing > .rich-text-display,
.plan-resource-card.is-editing > .plan-gallery{
  display:none;
}
.plan-resource-edit-form{
  margin:16px 0 0;
  padding:16px;
  border:1px solid #dfe5ea;
  border-radius:10px;
  background:#fff;
  box-shadow:0 1px 3px rgba(17,24,39,.06);
}
.plan-resource-edit-form.is-open{
  display:grid;
  gap:9px;
}
.plan-resource-edit-form label{
  margin:0;
  color:#5c6570;
  font-weight:700;
}
.plan-resource-edit-form input,
.plan-resource-edit-form select{
  min-width:0;
}
.plan-resource-edit-form input[name="title"]{
  min-height:44px;
  font-size:16px;
  line-height:1.35;
}
.plan-resource-edit-form input[type="file"]{
  min-height:44px;
  padding:8px 10px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
}
.plan-resource-edit-form input[type="file"]::file-selector-button{
  margin-right:10px;
  padding:7px 11px;
  border:1px solid #cfd5dc;
  border-radius:6px;
  background:#fff;
  color:#111;
  font:inherit;
  cursor:pointer;
}
.plan-resource-edit-form .rich-editor{
  border-radius:10px;
}
.plan-resource-edit-form .rich-toolbar{
  gap:8px;
  padding:10px;
  background:#f7f8fa;
}
.plan-resource-edit-form .rich-toolbar button,
.plan-resource-edit-form .rich-toolbar label{
  min-height:34px;
  padding:7px 9px;
}
.plan-resource-edit-form .rich-palette{
  flex-wrap:wrap;
  gap:7px;
}
.plan-resource-edit-form .rich-toolbar .rich-swatch{
  flex-basis:28px;
  width:28px;
  height:28px;
  min-width:28px;
  min-height:28px;
  padding:0;
  border-radius:50%;
}
.plan-resource-edit-form .rich-toolbar .rich-size{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
}
.plan-resource-edit-form .rich-toolbar select{
  min-width:64px;
  margin-left:0;
}
.plan-resource-edit-form .rich-editor-area{
  min-height:128px;
  max-height:360px;
  overflow:auto;
  padding:13px 14px;
  line-height:1.45;
}
.plan-resource-edit-form .actions{
  margin:6px 0 0;
}
.plan-add-compact{
  padding:12px;
  border:1px solid #e3e7eb;
  border-radius:8px;
  background:#f9fafb;
}
.te-whariki-plan,
.te-whariki-month-page,
.te-whariki-week-page{
  --tw-bg-page:#f5f0ea;
  --tw-bg-card:#fffdf8;
  --tw-bg-soft:#ede8e0;
  --tw-bg-hover:#faf7f2;
  --tw-text:#2c2416;
  --tw-muted:#7a6b5a;
  --tw-faint:#a89888;
  --tw-green:#4a7c59;
  --tw-green-soft:#eaf3ec;
  --tw-orange:#c87a3e;
  --tw-orange-soft:#f8ede3;
  --tw-teal:#5a8a8a;
  --tw-teal-soft:#e8f0f0;
  --tw-border:#e5ddd3;
  --tw-shadow:0 10px 28px rgba(44,36,22,.07);
  color:var(--tw-text);
}
.te-whariki-plan,
.te-whariki-month-page,
.te-whariki-week-page{
  margin:-16px -12px 0;
  padding:24px 12px 34px;
  background:var(--tw-bg-page);
}
.te-whariki-plan > *,
.te-whariki-month-page > *,
.te-whariki-week-page > *{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}
.te-whariki-plan .plan-page-head{
  align-items:flex-start;
  margin-bottom:18px;
}
.te-whariki-plan .plan-page-head h1{
  margin:0 0 6px;
  font-size:34px;
  line-height:1.08;
  letter-spacing:0;
}
.te-whariki-plan .meta,
.te-whariki-month-page .meta,
.te-whariki-week-page .meta{
  color:var(--tw-muted);
}
.te-whariki-plan .plan-progress-panel{
  margin-bottom:20px;
  padding:20px;
  border:0;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:var(--tw-shadow);
}
.te-whariki-plan .plan-progress-head h2{
  color:var(--tw-text);
  font-size:19px;
}
.te-whariki-plan .plan-child-list span{
  background:var(--tw-bg-soft);
  color:var(--tw-muted);
}
.te-whariki-plan .plan-child-list a{
  background:var(--tw-bg-soft);
  color:var(--tw-muted);
}
.te-whariki-plan .plan-child-list a:hover{
  background:var(--tw-green-soft);
  color:var(--tw-green);
}
.te-whariki-plan .plan-month-grid{
  gap:20px;
}
.te-whariki-plan .plan-month{
  padding:20px;
  border:0;
  border-radius:10px;
  background:var(--tw-bg-card);
  color:var(--tw-text);
  box-shadow:0 1px 3px rgba(44,36,22,.06);
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
.te-whariki-plan .plan-month::before{
  content:"";
  width:40px;
  height:3px;
  margin:-4px 0 14px;
  border-radius:999px;
  background:var(--tw-green);
}
.te-whariki-plan .plan-month:nth-child(4n+2)::before{background:var(--tw-orange);}
.te-whariki-plan .plan-month:nth-child(4n+3)::before{background:var(--tw-teal);}
.te-whariki-plan .plan-month:nth-child(4n)::before{background:#7f6aa3;}
.te-whariki-plan .plan-month:hover{
  background:#fff;
  border-color:transparent;
  box-shadow:0 12px 28px rgba(44,36,22,.10);
  transform:translateY(-1px);
}
.te-whariki-plan .plan-month-top,
.te-whariki-month-page .plan-section-head,
.te-whariki-week-page .plan-resource-head,
.te-whariki-week-page .plan-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.te-whariki-plan .plan-month-number{
  color:var(--tw-text);
  font-size:16px;
  font-weight:800;
  letter-spacing:0;
  text-transform:none;
}
.te-whariki-plan .plan-year{
  color:var(--tw-muted);
  font-size:13px;
}
.te-whariki-plan .plan-month h2{
  margin:8px 0 14px;
  font-size:23px;
  line-height:1.15;
  letter-spacing:0;
}
.te-whariki-plan .plan-month h2 a{
  color:var(--tw-text);
}
.te-whariki-plan .plan-month h2 a:hover{
  color:var(--tw-green);
  text-decoration:none;
}
.te-whariki-plan .plan-month-meta{
  gap:8px;
  margin:0 0 18px;
}
.te-whariki-plan .plan-month-meta span,
.te-whariki-month-page .meta,
.te-whariki-month-page .plan-month-kicker,
.te-whariki-week-page .plan-month-kicker{
  border-radius:6px;
}
.te-whariki-plan .plan-month-meta span{
  padding:5px 9px;
  background:var(--tw-bg-soft);
  color:var(--tw-muted);
  font-size:13px;
  font-weight:650;
}
.plan-section-label{
  display:flex;
  align-items:center;
  gap:10px;
  margin:12px 0 8px;
  color:var(--tw-faint,#888);
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.plan-section-label::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--tw-border,#e5e7eb);
}
.plan-section-label-plain::after{
  display:none;
}
.te-whariki-plan .plan-outcome-line,
.te-whariki-month-page .plan-outcome-detail,
.te-whariki-week-page .plan-outcome-detail{
  align-items:start;
  grid-template-columns:minmax(48px,max-content) minmax(0,1fr);
  gap:12px;
  margin:0 0 18px;
  padding:12px 14px;
  border-left:3px solid var(--tw-green);
  border-radius:0 8px 8px 0;
  background:var(--tw-green-soft);
  color:var(--tw-text);
  font-size:15px;
  line-height:1.46;
}
.te-whariki-plan .plan-outcome-line strong,
.te-whariki-month-page .plan-outcome-detail strong,
.te-whariki-week-page .plan-outcome-detail strong{
  color:var(--tw-green);
}
.te-whariki-plan .plan-month-subgoals{
  display:grid;
  grid-template-columns:1fr;
  justify-items:start;
  gap:9px;
  margin:0 0 20px;
  padding-left:24px;
}
.te-whariki-plan .plan-month-subgoals a{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  max-width:100%;
  min-height:0;
  padding:7px 11px;
  gap:9px;
  border-radius:7px;
  background:var(--tw-bg-soft);
  color:var(--tw-text);
  font-size:14px;
}
.te-whariki-plan .plan-month-subgoals a:hover{
  background:var(--tw-green-soft);
  color:var(--tw-green);
  text-decoration:none;
}
.te-whariki-plan .plan-month-subgoals strong{
  color:var(--tw-green);
  font-size:13px;
}
.te-whariki-plan .plan-month-subgoals a span{
  min-width:0;
}
.te-whariki-plan .plan-note-row{
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid var(--tw-border);
  color:var(--tw-muted);
}
.te-whariki-plan .plan-note-row span::before{
  content:"Monthly note";
}
.te-whariki-plan .plan-note-row > span{
  font-size:0;
}
.te-whariki-plan .plan-note-row > span::before{
  font-size:15px;
}
.te-whariki-plan .plan-note-preview{
  margin-top:10px;
  padding:12px 14px;
  border-left:3px solid var(--tw-teal);
  border-radius:0 8px 8px 0;
  background:var(--tw-teal-soft);
}
.te-whariki-month-page .plan-back,
.te-whariki-week-page .plan-back{
  color:var(--tw-muted);
  font-weight:700;
}
.te-whariki-month-page .plan-month-header,
.te-whariki-week-page .plan-month-header{
  padding:4px 0 22px;
  border-bottom:1px solid var(--tw-border);
}
.te-whariki-month-page .plan-month-kicker,
.te-whariki-week-page .plan-month-kicker{
  display:inline-flex;
  padding:6px 9px;
  background:var(--tw-bg-soft);
  color:var(--tw-muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.te-whariki-month-page .plan-month-header h1,
.te-whariki-week-page .plan-month-header h1{
  max-width:980px;
  margin:12px 0 10px;
  color:var(--tw-text);
  font-size:36px;
  line-height:1.1;
  letter-spacing:0;
}
.te-whariki-month-page .plan-month-note,
.te-whariki-month-page .plan-photo-section{
  margin-top:18px;
  padding:20px;
  border:0;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:0 1px 3px rgba(44,36,22,.06);
}
.te-whariki-month-page .plan-month-note{
  border-left:3px solid var(--tw-teal);
  background:linear-gradient(90deg,var(--tw-teal-soft),var(--tw-bg-card) 42%);
}
.te-whariki-month-page .plan-month-note .plan-goal-copy,
.te-whariki-month-page .plan-month-note .plan-month-note-copy{
  margin-top:18px;
  white-space:normal;
  line-height:1.5;
  font-size:16px;
}
.te-whariki-month-page .plan-month-note .plan-goal-copy p{
  margin:0 0 12px;
}
.te-whariki-month-page .plan-month-note .plan-goal-copy p:last-child{
  margin-bottom:0;
}
.te-whariki-month-page .plan-month-note .plan-month-note-copy{
  margin-top:16px;
}
.te-whariki-month-page .plan-month-note .plan-month-note-copy.is-empty{
  color:#8d8478;
}
.te-whariki-month-page .plan-photo-section{
  border-left:3px solid var(--tw-orange);
}
.te-whariki-month-page .plan-subgoals{
  display:grid;
  gap:16px;
  margin-top:18px;
}
.te-whariki-month-page .plan-subgoal{
  padding:18px 20px;
  border:0;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:0 1px 3px rgba(44,36,22,.06);
}
.te-whariki-month-page .plan-subgoal-heading h2{
  font-size:22px;
  line-height:1.25;
}
.te-whariki-month-page .plan-code{
  color:var(--tw-green);
}
.te-whariki-month-page .plan-week-summary,
.te-whariki-week-page .plan-week-summary{
  display:grid;
  gap:8px;
  margin-top:18px;
  padding:16px 18px;
  border-radius:10px;
  background:#fbf8f2;
}
.te-whariki-month-page .plan-week-summary h3,
.te-whariki-week-page .plan-week-summary h3{
  margin:0;
  color:var(--tw-muted);
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
}
.te-whariki-month-page .plan-week-summary h3:not(:first-child),
.te-whariki-week-page .plan-week-summary h3:not(:first-child){
  margin-top:10px;
}
.te-whariki-week-page .plan-subgoal-card{
  max-width:none;
  margin:22px 0;
  padding:24px;
  border:0;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:var(--tw-shadow);
}
.te-whariki-week-page .plan-card-head{
  margin-bottom:16px;
}
.plan-outcome-copy{
  display:grid;
  gap:14px;
  max-width:1160px;
  color:var(--tw-text,#111);
  font-size:17px;
  line-height:1.58;
  overflow-wrap:anywhere;
}
.plan-outcome-copy p{margin:0;}
.te-whariki-week-page .plan-week-summary .plan-prose{
  line-height:1.58;
  font-size:17px;
}
.te-whariki-week-page .plan-resource-board{
  gap:20px;
  margin-top:18px;
}
.te-whariki-week-page .plan-resource-column{
  padding:20px;
  border:0;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:0 1px 3px rgba(44,36,22,.06);
}
.te-whariki-week-page .plan-resource-card{
  padding:16px;
  border:0;
  border-top:3px solid #9aa4b2;
  border-radius:10px;
  box-shadow:0 1px 2px rgba(44,36,22,.04);
}
.te-whariki-week-page .plan-resource-card-book{
  border-top-color:var(--tw-orange);
  background:var(--tw-orange-soft);
}
.te-whariki-week-page .plan-resource-card-activity{
  border-top-color:var(--tw-green);
  background:var(--tw-green-soft);
}
.te-whariki-week-page .plan-resource-card-top span{
  color:var(--tw-muted);
}
.te-whariki-week-page .plan-resource-card h3{
  color:var(--tw-text);
  font-size:18px;
  line-height:1.35;
}
.te-whariki-month-page .plan-resource.is-editing,
.te-whariki-week-page .plan-resource-card.is-editing{
  background:#fffdfb;
  box-shadow:0 2px 8px rgba(44,36,22,.06);
}
.te-whariki-month-page .plan-edit-form.plan-resource-edit-form,
.te-whariki-week-page .plan-edit-form.plan-resource-edit-form{
  border-color:rgba(168,152,136,.38);
  background:#fffdfb;
  box-shadow:0 1px 4px rgba(44,36,22,.07);
}
.te-whariki-month-page .plan-edit-form.plan-resource-edit-form .rich-toolbar,
.te-whariki-week-page .plan-edit-form.plan-resource-edit-form .rich-toolbar{
  background:#faf8f4;
}
.te-whariki-week-page .plan-add-compact,
.te-whariki-month-page .plan-add-resource form,
.te-whariki-month-page .plan-edit-form,
.te-whariki-week-page .plan-edit-form{
  border-color:var(--tw-border);
  border-radius:10px;
  background:#fff;
}
.te-whariki-plan .mini,
.te-whariki-month-page .mini,
.te-whariki-week-page .mini{
  border-radius:7px;
}
.te-whariki-plan .mini.ghost,
.te-whariki-month-page .mini.ghost,
.te-whariki-week-page .mini.ghost{
  background:var(--tw-bg-soft);
  color:var(--tw-text);
}
.te-whariki-plan button:not(.ghost):not(.danger):not(.plan-image-delete),
.te-whariki-month-page button:not(.ghost):not(.danger):not(.plan-image-delete),
.te-whariki-week-page button:not(.ghost):not(.danger):not(.plan-image-delete){
  background:var(--tw-green);
}
.te-whariki-plan .rich-toolbar button:not(.rich-swatch):not(.ghost):not(.danger):not(.plan-image-delete),
.te-whariki-month-page .rich-toolbar button:not(.rich-swatch):not(.ghost):not(.danger):not(.plan-image-delete),
.te-whariki-week-page .rich-toolbar button:not(.rich-swatch):not(.ghost):not(.danger):not(.plan-image-delete){
  background:#fff;
  color:#111;
}
.te-whariki-plan .rich-toolbar button:not(.rich-swatch):not(.ghost):not(.danger):not(.plan-image-delete):hover,
.te-whariki-month-page .rich-toolbar button:not(.rich-swatch):not(.ghost):not(.danger):not(.plan-image-delete):hover,
.te-whariki-week-page .rich-toolbar button:not(.rich-swatch):not(.ghost):not(.danger):not(.plan-image-delete):hover{
  background:#f0f2f6;
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.te-whariki-children-page,
.te-whariki-child-page{
  --tw-bg-page:#f5f0ea;
  --tw-bg-card:#fffdf8;
  --tw-bg-soft:#ede8e0;
  --tw-bg-hover:#faf7f2;
  --tw-text:#2c2416;
  --tw-muted:#7a6b5a;
  --tw-faint:#a89888;
  --tw-green:#4a7c59;
  --tw-green-soft:#eaf3ec;
  --tw-stage-1:#4b7c9a;
  --tw-stage-2:#3d6d91;
  --tw-stage-3:#2b5d82;
  --tw-stage-soft-1:#f2f6f8;
  --tw-stage-soft-2:#e7eff4;
  --tw-stage-soft-3:#dbe7ef;
  --tw-orange:#c87a3e;
  --tw-border:#e5ddd3;
  --tw-shadow:0 10px 28px rgba(44,36,22,.07);
  margin:-16px -12px 0;
  padding:24px 12px 34px;
  background:var(--tw-bg-page);
  color:var(--tw-text);
}
.te-whariki-children-page > *,
.te-whariki-child-page > *{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}
.children-page-head,
.child-detail-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.children-page-head h1,
.child-detail-head h1{
  margin:0 0 6px;
  color:var(--tw-text);
  font-size:34px;
  line-height:1.08;
  letter-spacing:0;
}
.te-whariki-children-page .meta,
.te-whariki-child-page .meta{
  color:var(--tw-muted);
}
.children-search{
  display:flex;
  gap:8px;
  align-items:center;
  margin:0 auto 16px;
}
.children-search input{
  flex:1;
  min-width:0;
  border-color:var(--tw-border);
  background:#fffdfb;
}
.te-whariki-children-page .mini,
.te-whariki-child-page .mini{
  border-radius:7px;
  background:var(--tw-green);
}
.children-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
}
.child-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
  padding:18px;
  border:1px solid rgba(229,221,211,.78);
  border-radius:10px;
  background:var(--tw-bg-card);
  color:var(--tw-text);
  text-decoration:none;
  box-shadow:0 1px 3px rgba(44,36,22,.06);
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
.child-card:hover{
  background:#fff;
  box-shadow:0 12px 28px rgba(44,36,22,.10);
  transform:translateY(-1px);
  opacity:1;
}
.child-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.child-card h2{
  min-width:0;
  margin:0;
  color:var(--tw-text);
  font-size:22px;
  line-height:1.15;
  overflow-wrap:anywhere;
}
.child-card-top span{
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:7px;
  background:var(--tw-bg-soft);
  color:var(--tw-muted);
  font-size:13px;
  font-weight:800;
}
.child-progress-track{
  height:9px;
  overflow:hidden;
  border-radius:999px;
  background:var(--tw-bg-soft);
}
.child-progress-track span{
  display:block;
  width:var(--progress,0%);
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--tw-stage-1),var(--tw-stage-3));
}
.child-progress-track-large{
  height:12px;
  margin-bottom:18px;
}
.child-card-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  color:var(--tw-muted);
  font-size:13px;
  font-weight:700;
}
.child-card-meta span{
  padding:5px 8px;
  border-radius:6px;
  background:#fbf8f2;
}
.child-activities-card{
  min-height:150px;
}
.child-activities-card .child-card-meta{
  flex:1;
  align-content:flex-start;
}
.child-card-open{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:12px;
  border-top:1px solid var(--tw-border);
  color:var(--tw-green);
  font-size:13px;
}
.children-empty{
  padding:22px;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:var(--tw-shadow);
}
.children-empty h2{
  margin:0 0 6px;
  font-size:20px;
}
.children-empty .btn{
  margin-top:14px;
}
.child-manage-panel{
  margin-bottom:18px;
  padding:20px;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:0 1px 3px rgba(44,36,22,.06);
}
.child-manage-panel h2{
  margin:0;
  color:var(--tw-text);
  font-size:22px;
  line-height:1.2;
}
.child-manage-form{
  min-width:0;
}
.child-manage-form label{
  color:var(--tw-muted);
  font-weight:800;
}
.child-manage-inline{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:end;
}
.child-manage-inline input{
  border-color:var(--tw-border);
  background:#fffdfb;
}
.child-manage-list{
  display:grid;
  gap:12px;
  margin-top:14px;
}
.child-manage-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:end;
  padding:14px;
  border:1px solid var(--tw-border);
  border-radius:10px;
  background:#fbf8f2;
}
.child-manage-row .btn{
  min-width:86px;
  text-align:center;
}
.te-whariki-child-page .plan-back{
  display:inline-block;
  margin:4px auto 16px;
  color:var(--tw-muted);
  font-weight:700;
  text-decoration:none;
}
.te-whariki-child-page .plan-month-kicker{
  display:inline-flex;
  padding:6px 9px;
  border-radius:6px;
  background:var(--tw-bg-soft);
  color:var(--tw-muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.child-summary-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:12px;
}
.child-summary-strip div{
  min-width:0;
  padding:16px;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:0 1px 3px rgba(44,36,22,.06);
}
.child-summary-strip strong,
.child-summary-strip span{
  display:block;
}
.child-summary-strip strong{
  color:var(--tw-text);
  font-size:28px;
  line-height:1;
}
.child-summary-strip span{
  margin-top:6px;
  color:var(--tw-muted);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
}
.child-status-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 auto 16px;
}
.child-status-tabs a{
  padding:8px 12px;
  border-radius:7px;
  background:var(--tw-bg-soft);
  color:var(--tw-muted);
  text-decoration:none;
  font-size:14px;
  font-weight:800;
}
.child-status-tabs a:hover,
.child-status-tabs a.is-active{
  background:var(--tw-text);
  color:#fff;
  opacity:1;
}
.child-activity-timeline{
  display:grid;
  gap:24px;
}
.child-activity-week{
  overflow:hidden;
  border:1px solid var(--tw-border);
  border-radius:12px;
  background:var(--tw-bg-card);
  box-shadow:var(--tw-shadow);
}
.child-activity-week-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  border-bottom:1px solid var(--tw-border);
  background:#f3eee7;
}
.child-activity-week-head span{
  color:var(--tw-green);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.child-activity-week-head h2{
  margin:4px 0 0;
  color:var(--tw-text);
  font-size:23px;
  line-height:1.15;
}
.child-planned-activity-list{
  display:grid;
  gap:14px;
  padding:16px;
}
.child-planned-activity-card{
  overflow:hidden;
  border:1px solid #dbe7dd;
  border-left:5px solid var(--tw-green);
  border-radius:10px;
  background:#fbfdfb;
}
.child-planned-activity-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  border-bottom:1px solid #e3ebe4;
  background:var(--tw-green-soft);
}
.child-planned-activity-head div>span{
  color:var(--tw-green);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.child-planned-activity-head h3{
  margin:4px 0 0;
  color:var(--tw-text);
  font-size:20px;
  line-height:1.2;
}
.activity-audience-pill{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  background:#fff;
  color:var(--tw-green);
  font-size:12px;
  font-weight:900;
}
.planned-activity-primary{
  padding:18px;
}
.planned-activity-primary h4,
.planned-activity-details h4{
  margin:0 0 7px;
  color:var(--tw-muted);
  font-size:11px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.planned-activity-primary p,
.planned-activity-details p{
  margin:0;
  color:var(--tw-text);
  line-height:1.55;
  white-space:pre-wrap;
}
.planned-activity-primary p{
  font-size:17px;
  font-weight:700;
}
.planned-activity-details{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  border-top:1px solid #e3ebe4;
  background:#e3ebe4;
}
.planned-activity-details>section{
  min-width:0;
  padding:15px 18px;
  background:#fff;
}
.planned-activity-details .activity-outcomes-section{
  grid-column:1/-1;
  padding:11px 18px;
  background:#fff;
}
.activity-outcomes-section+section:last-child,
.planned-activity-details>section:only-child{
  grid-column:1/-1;
}
.activity-outcome-list{
  display:grid;
  gap:9px;
}
.activity-outcome-item{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  align-items:start;
  gap:12px;
  min-height:36px;
  padding:3px 0;
}
.activity-outcome-item strong{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  min-height:36px;
  padding:0 7px;
  box-sizing:border-box;
  border-radius:6px;
  background:var(--tw-stage-soft-2);
  color:var(--tw-stage-3);
  font-size:13px;
  font-weight:800;
}
.activity-outcome-item span{
  padding:6px 0 4px;
  color:var(--tw-text);
  font-size:14px;
  line-height:1.4;
}
.child-background-panel{
  margin:0 0 18px;
  overflow:hidden;
  border:1px solid #dfd8ce;
  border-radius:14px;
  background:var(--tw-bg-card);
  box-shadow:0 5px 16px rgba(44,36,22,.05);
}
.child-background-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:14px 18px;
  border-bottom:1px solid #e9e1d8;
  background:linear-gradient(135deg,#f6efe5 0%,#f9f5ee 55%,#eef5ef 100%);
}
.child-background-head>div>span{
  color:#a46736;
  font-size:11px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.child-background-head h2{
  margin:3px 0 0;
  color:var(--tw-text);
  font-size:20px;
  line-height:1.15;
}
.child-background-head p{
  max-width:680px;
  margin:4px 0 0;
  color:var(--tw-muted);
  font-size:13px;
  line-height:1.4;
}
.child-background-privacy{
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  color:var(--tw-muted);
  font-size:11px;
  font-weight:800;
}
.child-background-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  background:#ebe5dc;
}
.child-background-grid>section{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:10px;
  min-width:0;
  min-height:66px;
  padding:11px 14px;
  background:#fff;
}
.child-background-grid>section.is-empty{background:#fffdf9;}
.child-background-icon{
  display:flex;
  width:32px;
  height:32px;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:#f4eadf;
  color:#9a6034;
  font-size:12px;
  font-weight:900;
}
.child-background-grid h3{
  margin:0;
  color:var(--tw-text);
  font-size:13px;
  line-height:1.3;
}
.child-background-summary{min-width:0;}
.child-background-summary p{
  display:-webkit-box;
  margin:3px 0 0;
  overflow:hidden;
  color:#51483d;
  font-size:12px;
  line-height:1.35;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.child-background-summary p.is-expanded{display:block;overflow:visible;-webkit-line-clamp:unset;}
.child-background-summary p.child-background-status{
  display:block;
  color:#9a8e7e;
  font-size:11px;
  font-style:normal;
  white-space:normal;
}
.child-background-summary [data-background-toggle]{margin:3px 0 0;padding:0;border:0;background:transparent;color:var(--tw-green);font:inherit;font-size:10px;font-weight:900;text-decoration:underline;text-underline-offset:2px;cursor:pointer;}
.child-background-edit{
  border-top:1px solid #e8e1d8;
  background:#faf7f2;
}
.child-background-edit>summary{
  padding:9px 14px;
  color:var(--tw-green);
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  list-style:none;
}
.child-background-edit>summary::-webkit-details-marker{display:none;}
.child-background-edit>summary::after{
  content:" +";
}
.child-background-edit[open]>summary::after{
  content:" −";
}
.child-background-form{
  padding:16px 18px 18px;
  border-top:1px solid #e8e1d8;
  background:#fff;
}
.child-background-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.child-background-form label{
  margin:0;
  color:var(--tw-muted);
  font-weight:800;
}
.child-background-field,
.child-cycle-field{
  display:grid;
  min-width:0;
  gap:6px;
  margin-bottom:13px;
}
.child-background-field label,
.child-cycle-field label{
  margin:0;
}
.child-background-form textarea{
  min-height:94px;
  margin-top:6px;
  border-color:#d9d3ca;
  background:#fffdf9;
  color:var(--tw-text);
  line-height:1.5;
  resize:vertical;
}
.child-background-form textarea:focus{
  border-color:var(--tw-green);
  outline:3px solid rgba(74,124,89,.12);
}
.child-background-form .child-cycle-form-actions{
  margin-top:16px;
}
.child-background-form .child-cycle-form-actions>button{
  background:var(--tw-green);
  font-weight:800;
}
.child-background-form .rich-editor,
.child-cycle-form .rich-editor{
  margin-top:0;
  border-color:#d9d3ca;
  background:#fffdf9;
}
.child-background-form .rich-toolbar,
.child-cycle-form .rich-toolbar{
  gap:6px;
  padding:7px 8px;
  background:#f7f8f6;
}
.child-background-form .rich-toolbar button:not(.rich-swatch),
.child-cycle-form .rich-toolbar button:not(.rich-swatch){
  display:inline-flex;
  width:auto;
  min-width:32px;
  height:32px;
  min-height:32px;
  align-items:center;
  justify-content:center;
  padding:5px 8px;
  border:1px solid #dfe3e0;
  background:#fff;
  color:#283229;
  box-shadow:none;
}
.child-background-form .rich-toolbar button.is-active:not(.rich-swatch),
.child-cycle-form .rich-toolbar button.is-active:not(.rich-swatch){
  border-color:var(--tw-green);
  background:var(--tw-green);
  color:#fff;
  box-shadow:0 0 0 2px rgba(74,124,89,.14);
}
.child-background-form .rich-toolbar .rich-swatch,
.child-cycle-form .rich-toolbar .rich-swatch{
  flex-basis:28px;
  width:28px;
  min-width:28px;
  height:28px;
  min-height:28px;
}
.child-background-form .rich-editor-area,
.child-cycle-form .rich-editor-area{
  min-height:92px;
  padding:12px 13px;
  background:#fff;
  color:var(--tw-text);
  line-height:1.55;
}
.child-learning-workspace{
  margin:0 0 28px;
  overflow:hidden;
  border:1px solid var(--tw-border);
  border-radius:14px;
  background:var(--tw-bg-card);
  box-shadow:var(--tw-shadow);
}
.child-learning-workspace-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  padding:22px 24px;
  border-bottom:1px solid var(--tw-border);
  background:linear-gradient(135deg,#edf5ef 0%,#f7f2e9 100%);
}
.child-learning-workspace-head>div:first-child>span,
.child-activities-section-head span{
  color:var(--tw-green);
  font-size:11px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.child-learning-workspace-head h2,
.child-activities-section-head h2{
  margin:5px 0 0;
  color:var(--tw-text);
  font-size:26px;
  line-height:1.15;
}
.child-learning-workspace-head p{
  max-width:650px;
  margin:7px 0 0;
  color:var(--tw-muted);
  line-height:1.5;
}
.child-cycle-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(86px,1fr));
  gap:8px;
  flex:0 0 auto;
}
.child-cycle-summary div{
  min-width:86px;
  padding:10px 12px;
  border:1px solid rgba(74,124,89,.15);
  border-radius:9px;
  background:rgba(255,255,255,.72);
  text-align:center;
}
.child-cycle-summary strong,
.child-cycle-summary span{
  display:block;
}
.child-cycle-summary strong{
  color:var(--tw-green);
  font-size:22px;
  line-height:1;
}
.child-cycle-summary span{
  margin-top:5px;
  color:var(--tw-muted);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}
.child-cycle-create{
  margin:18px;
  border:1px dashed #b8cdbd;
  border-radius:11px;
  background:#fbfdfb;
}
.child-cycle-create>summary{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  color:var(--tw-green);
  cursor:pointer;
  list-style:none;
}
.child-cycle-create>summary::-webkit-details-marker,
.child-cycle-manage summary::-webkit-details-marker{
  display:none;
}
.child-cycle-add-icon{
  display:flex;
  flex:0 0 34px;
  width:34px;
  height:34px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--tw-green);
  color:#fff;
  font-size:22px;
  font-weight:500;
}
.child-cycle-create>summary strong,
.child-cycle-create>summary small{
  display:block;
}
.child-cycle-create>summary strong{
  font-size:15px;
}
.child-cycle-create>summary small{
  margin-top:3px;
  color:var(--tw-muted);
  font-size:12px;
  font-weight:600;
}
.child-cycle-form{
  padding:16px;
  border-top:1px solid #dfe9e1;
  background:#fff;
}
.child-cycle-form label{
  margin:0 0 13px;
  color:var(--tw-muted);
  font-weight:800;
}
.child-cycle-form .child-cycle-field>label{
  margin:0;
}
.child-cycle-form label>span{
  font-weight:600;
}
.child-cycle-form input,
.child-cycle-form textarea{
  margin-top:6px;
  border-color:#d9d3ca;
  background:#fffdf9;
  color:var(--tw-text);
}
.child-cycle-form textarea{
  min-height:74px;
  line-height:1.5;
  resize:vertical;
}
.child-cycle-form input:focus,
.child-cycle-form textarea:focus{
  border-color:var(--tw-green);
  outline:3px solid rgba(74,124,89,.12);
}
.child-cycle-form-dates{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.child-cycle-form-actions{
  display:flex;
  justify-content:flex-end;
}
.child-cycle-form-actions button{
  min-width:156px;
  background:var(--tw-green);
  font-weight:800;
}
.child-cycle-list{
  display:grid;
  gap:16px;
  padding:0 18px 18px;
}
.child-cycle-card{
  overflow:hidden;
  border:1px solid #d8e4da;
  border-radius:11px;
  background:#fff;
}
.child-cycle-card.is-evaluated{
  border-color:#ddd8ca;
}
.child-cycle-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 16px;
  border-bottom:1px solid #e5ece6;
  background:#f4f8f4;
}
.child-cycle-card.is-evaluated .child-cycle-card-head{
  background:#f7f5ef;
}
.child-cycle-card-head div>span{
  color:var(--tw-muted);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.child-cycle-card-head h3{
  margin:3px 0 0;
  color:var(--tw-text);
  font-size:18px;
}
.child-cycle-status{
  padding:6px 10px;
  border-radius:999px;
  background:#e4f1e7;
  color:#356a44;
  font-size:12px;
  font-weight:900;
}
.child-cycle-card.is-evaluated .child-cycle-status{
  background:#eee9df;
  color:#716553;
}
.child-cycle-flow{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  background:#e7e2da;
}
.child-cycle-step{
  min-width:0;
  padding:17px;
  background:#fff;
}
.child-cycle-current{background:#fbfdfb;}
.child-cycle-evaluate{background:#fcfbf7;}
.child-cycle-step-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--tw-green);
  font-size:11px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.child-cycle-step-label b{
  display:flex;
  width:23px;
  height:23px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--tw-green-soft);
  font-size:11px;
}
.child-cycle-step h4{
  margin:11px 0 7px;
  color:var(--tw-text);
  font-size:15px;
}
.child-cycle-step p,
.child-cycle-step>.rich-text-display{
  margin:0;
  color:#4f463a;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.child-cycle-focus{
  margin-top:14px;
  padding:10px 11px;
  border-radius:8px;
  background:#eef5ef;
}
.child-cycle-focus strong,
.child-cycle-focus span{
  display:block;
}
.child-cycle-focus strong{
  color:var(--tw-green);
  font-size:10px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.child-cycle-focus span,
.child-cycle-focus .rich-text-display{
  margin-top:4px;
  color:var(--tw-text);
  font-size:13px;
  line-height:1.45;
}
.child-cycle-pending{
  color:var(--tw-muted)!important;
  font-style:italic;
}
.child-cycle-review-date{
  display:inline-flex;
  margin-top:14px;
  padding:6px 8px;
  border-radius:6px;
  background:#f1ede6;
  color:var(--tw-muted);
  font-size:12px;
  font-weight:800;
}
.child-cycle-manage{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:8px;
  padding:11px 14px;
  border-top:1px solid #ebe6df;
  background:#faf8f4;
}
.child-cycle-manage details{
  min-width:0;
}
.child-cycle-manage details[open]{
  flex:1 0 100%;
  order:2;
}
.child-cycle-manage summary,
.child-cycle-delete button{
  display:inline-flex;
  padding:7px 10px;
  border:0;
  border-radius:7px;
  background:#ece8e1;
  color:var(--tw-text);
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  list-style:none;
}
.child-cycle-evaluation-form summary{
  background:var(--tw-green);
  color:#fff;
}
.child-cycle-manage .child-cycle-form{
  margin-top:9px;
  border:1px solid #ddd7ce;
  border-radius:9px;
}
.child-cycle-delete{
  margin:0 0 0 auto;
}
.child-cycle-delete button{
  background:#f6e9e5;
  color:#9b3c2d;
}
.child-cycle-empty{
  margin:0 18px 18px;
  padding:14px 16px;
  border-radius:9px;
  background:#f5f2ec;
  color:var(--tw-muted);
  line-height:1.5;
}
.child-activities-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 2px 14px;
}
.child-activities-section-head strong{
  display:flex;
  width:38px;
  height:38px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--tw-bg-soft);
  color:var(--tw-muted);
  font-size:15px;
}
.child-activities-empty .btn{
  margin-top:14px;
}
.child-specific-section-head{margin-top:34px;}
.child-specific-section-head span{color:#9a6034;}
.child-specific-activity-timeline .child-activity-week-head{
  background:linear-gradient(135deg,#f8efe4,#eef5ef);
}
.child-specific-activity-card{
  border-color:#dfd2c1;
  border-left-color:#a76b3c;
  background:#fffdf9;
}
.child-specific-activity-card .child-planned-activity-head{background:#f8f0e6;}
.child-specific-empty{border:1px dashed #d8c7b3;background:#fffdf9;}
.child-outcome-sections{
  display:grid;
  gap:20px;
}
.child-outcome-section{
  display:grid;
  gap:12px;
}
.child-strand-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 2px 8px;
  border-bottom:1px solid var(--tw-border);
}
.child-strand-head h2{
  margin:0;
  color:var(--tw-text);
  font-size:24px;
  line-height:1.15;
}
.child-strand-head span{
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:7px;
  background:var(--tw-bg-soft);
  color:var(--tw-muted);
  font-size:13px;
  font-weight:800;
}
.child-outcome-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.child-outcome-card{
  --status:#4a7c59;
  --status-soft:#eaf3ec;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
  padding:18px;
  border:1px solid rgba(229,221,211,.78);
  border-left:5px solid var(--status);
  border-radius:0 10px 10px 0;
  background:var(--status-soft);
  color:var(--tw-text);
  text-decoration:none;
  box-shadow:0 1px 3px rgba(44,36,22,.05);
  cursor:pointer;
}
.child-outcome-card:focus-visible{
  outline:3px solid rgba(44,36,22,.22);
  outline-offset:3px;
}
.child-outcome-card.is-done{
  --status:var(--tw-stage-1);
  --status-soft:var(--tw-stage-soft-1);
}
.child-outcome-card.is-done-level-2{
  --status:var(--tw-stage-2);
  --status-soft:var(--tw-stage-soft-2);
}
.child-outcome-card.is-done-level-3{
  --status:var(--tw-stage-3);
  --status-soft:var(--tw-stage-soft-3);
}
.child-outcome-card.is-not-yet{
  --status:var(--tw-green);
  --status-soft:var(--tw-green-soft);
}
.child-outcome-card:hover{
  box-shadow:0 10px 24px rgba(44,36,22,.10);
  transform:translateY(-1px);
  opacity:1;
}
.child-outcome-top,
.child-outcome-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
}
.child-outcome-top{
  color:var(--tw-muted);
  font-size:13px;
  font-weight:800;
}
.child-status-pill{
  padding:5px 9px;
  border-radius:999px;
  background:#fff;
  color:var(--status);
  box-shadow:inset 0 0 0 1px rgba(44,36,22,.08);
}
.child-outcome-heading{
  display:grid;
  grid-template-columns:minmax(54px,max-content) minmax(0,1fr);
  gap:12px;
  align-items:start;
}
.child-outcome-heading h3{
  margin:0;
  color:var(--tw-text);
  font-size:28px;
  line-height:1;
  letter-spacing:0;
}
.child-outcome-heading p{
  min-width:0;
  margin:0;
  color:var(--tw-text);
  font-size:17px;
  line-height:1.42;
  overflow-wrap:anywhere;
}
.child-outcome-meta{
  justify-content:flex-start;
}
.child-outcome-meta span{
  padding:5px 8px;
  border-radius:6px;
  background:rgba(255,255,255,.64);
  color:var(--tw-muted);
  font-size:12px;
  font-weight:800;
}
.child-outcome-focus{
  display:grid;
  gap:5px;
  margin-top:auto;
  padding:12px 14px;
  border-radius:8px;
  background:rgba(255,255,255,.62);
  color:var(--tw-text);
  font-size:15px;
  line-height:1.35;
}
.child-outcome-focus strong{
  color:var(--status);
}
.child-outcome-focus span{
  min-width:0;
  overflow-wrap:anywhere;
}
.child-outcome-actions{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(92px,.6fr);
  gap:8px;
  margin:2px 0 0;
  cursor:default;
}
.child-mark-btn{
  min-height:38px;
  padding:8px 10px;
  border:1px solid rgba(44,36,22,.12);
  border-radius:8px;
  background:#fff;
  color:var(--tw-muted);
  font:inherit;
  font-size:14px;
  font-weight:800;
}
.child-mark-btn:hover{
  opacity:1;
  border-color:var(--status);
}
.child-mark-btn.is-selected{
  border-color:var(--status);
  background:var(--status);
  color:#fff;
}
.child-outcome-card.is-not-yet .child-mark-btn[value="done"].is-selected{
  background:var(--tw-stage-1);
  border-color:var(--tw-stage-1);
}
.child-outcome-card.is-done .child-mark-btn[value="not-yet"].is-selected,
.child-outcome-card.is-not-yet .child-mark-btn[value="not-yet"].is-selected{
  background:var(--tw-green);
  border-color:var(--tw-green);
}
.child-plan-panel{
  margin-bottom:18px;
  padding:20px;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:0 1px 3px rgba(44,36,22,.06);
}
.child-plan-summary{
  --status:var(--tw-green);
  --status-soft:var(--tw-green-soft);
  display:grid;
  gap:14px;
  justify-items:start;
  padding:18px;
  border-left:5px solid var(--status);
  border-radius:0 10px 10px 0;
  background:var(--status-soft);
}
.child-plan-summary.is-done{
  --status:var(--tw-stage-1);
  --status-soft:var(--tw-stage-soft-1);
}
.child-plan-summary.is-done-level-2{
  --status:var(--tw-stage-2);
  --status-soft:var(--tw-stage-soft-2);
}
.child-plan-summary.is-done-level-3{
  --status:var(--tw-stage-3);
  --status-soft:var(--tw-stage-soft-3);
}
.child-plan-summary.is-not-yet{
  --status:var(--tw-green);
  --status-soft:var(--tw-green-soft);
}
.child-plan-summary .child-status-pill,
.child-plan-summary .child-outcome-meta,
.child-plan-summary .child-outcome-focus{
  justify-self:start;
  width:fit-content;
  max-width:100%;
}
.child-plan-summary .child-outcome-heading{
  justify-self:stretch;
  width:100%;
}
.child-plan-summary .child-outcome-focus{
  margin-top:0;
}
.child-plan-summary .child-outcome-heading h2{
  margin:0;
  color:var(--tw-text);
  font-size:30px;
  line-height:1;
}
.child-plan-columns{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,.92fr);
  gap:18px;
  align-items:start;
}
.child-plan-column{
  margin-bottom:0;
}
.child-plan-note{
  margin-top:12px;
  padding:14px;
  border-radius:8px;
  background:#fbf8f2;
  line-height:1.55;
}
.child-plan-note.is-empty{
  color:var(--tw-muted);
  font-style:italic;
}
.child-plan-form{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--tw-border);
}
.child-plan-form textarea{
  resize:vertical;
}
.child-activities-head,
.child-activity-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.child-activities-head{
  margin-bottom:18px;
}
.child-activities-head h2{
  margin:0;
  color:var(--tw-text);
  font-size:24px;
  line-height:1.15;
}
.child-activities-head .btn,
.child-activity-card-top .btn{
  border-radius:8px;
  background:var(--tw-bg-soft);
  color:var(--tw-text);
}
.child-activity-form{
  display:none;
  margin:14px 0 18px;
  padding:14px;
  border:1px solid var(--tw-border);
  border-radius:10px;
  background:#fffdfb;
}
.child-activity-form.is-open{
  display:block;
}
.child-activity-form label{
  color:var(--tw-muted);
  font-weight:800;
}
.child-activity-list{
  display:grid;
  gap:16px;
}
.child-activity-card{
  padding:18px;
  border-top:4px solid var(--tw-green);
  border-radius:10px;
  background:var(--tw-green-soft);
  box-shadow:0 2px 8px rgba(44,36,22,.06);
}
.child-activity-card-top span{
  color:var(--tw-muted);
  font-size:13px;
  font-weight:900;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.child-activity-card h3{
  margin:20px 0 12px;
  color:var(--tw-text);
  font-size:22px;
  line-height:1.24;
}
.child-activity-description{
  color:var(--tw-text);
  font-size:17px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.child-activity-description p{
  margin:0 0 .75em;
}
.child-activity-description p:last-child{
  margin-bottom:0;
}
.child-activity-edit-form{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(74,124,89,.18);
}
.child-activity-delete{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(74,124,89,.18);
}
.child-activity-delete .btn{
  border-radius:8px;
}
.head-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.te-whariki-children-page .plan-back{
  display:inline-block;
  margin:4px auto 16px;
  color:var(--tw-muted);
  font-weight:700;
  text-decoration:none;
}
.teacher-workspace-strip{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
  margin-bottom:18px;
}
.teacher-workspace-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  padding:13px 14px;
  border:1px solid var(--tw-border);
  border-radius:8px;
  background:var(--tw-bg-card);
  color:var(--tw-text);
  text-decoration:none;
  box-shadow:0 1px 3px rgba(44,36,22,.04);
}
.teacher-workspace-card span{
  min-width:0;
  color:var(--tw-muted);
  font-size:13px;
  font-weight:800;
  line-height:1.25;
}
.teacher-workspace-card strong{
  flex:0 0 auto;
  min-width:30px;
  padding:4px 8px;
  border-radius:999px;
  background:var(--tw-bg-soft);
  color:var(--tw-text);
  text-align:center;
}
.teacher-entry-composer{
  margin-bottom:22px;
  padding:20px;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:0 1px 3px rgba(44,36,22,.06);
}
.teacher-entry-form{
  display:grid;
  gap:14px;
}
.teacher-entry-form label,
.my-child-profile-form label,
.my-child-post-form label{
  display:grid;
  gap:6px;
  color:var(--tw-muted);
  font-weight:800;
}
.teacher-entry-form label span,
.my-child-profile-form label span,
.my-child-post-form label span{
  color:var(--tw-muted);
  font-size:13px;
}
.teacher-entry-form .rich-toolbar label.rich-size,
.my-child-profile-form .rich-toolbar label.rich-size,
.my-child-post-form .rich-toolbar label.rich-size,
.rich-toolbar label.rich-size{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:auto;
  height:32px;
  min-height:32px;
  margin:0;
  padding:3px 8px;
  border:1px solid #dfe3e8;
  border-radius:8px;
  background:#fff;
  color:#111;
  font-size:13px;
  font-weight:700;
  line-height:1;
  box-sizing:border-box;
}
.teacher-entry-form .rich-toolbar button:not(.rich-swatch),
.my-child-profile-form .rich-toolbar button:not(.rich-swatch),
.my-child-post-form .rich-toolbar button:not(.rich-swatch),
.teacher-entry-form .rich-toolbar .rich-swatch,
.my-child-profile-form .rich-toolbar .rich-swatch,
.my-child-post-form .rich-toolbar .rich-swatch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  min-height:32px;
  box-sizing:border-box;
}
.teacher-entry-form .rich-toolbar .rich-swatch,
.my-child-profile-form .rich-toolbar .rich-swatch,
.my-child-post-form .rich-toolbar .rich-swatch{
  flex:0 0 32px;
  width:32px;
  min-width:32px;
}
.teacher-entry-form .rich-toolbar label.rich-size select,
.my-child-profile-form .rich-toolbar label.rich-size select,
.my-child-post-form .rich-toolbar label.rich-size select,
.rich-toolbar label.rich-size select{
  height:22px;
  min-height:22px;
  width:54px;
  min-width:54px;
  margin-left:0;
  padding:0 3px;
  font-size:13px;
  line-height:1;
  border-radius:6px;
  box-sizing:border-box;
}
.teacher-entry-fields{
  display:grid;
  grid-template-columns:minmax(180px,.42fr) minmax(0,1fr);
  gap:12px;
}
.my-child-journal-fields{
  grid-template-columns:minmax(145px,.2fr) minmax(160px,.24fr) minmax(0,1fr);
}
.teacher-entry-fields-three{
  grid-template-columns:minmax(180px,.45fr) minmax(140px,.22fr) minmax(0,1fr);
}
.teacher-entry-sections{
  display:grid;
  gap:22px;
}
.teacher-entry-section{
  display:grid;
  gap:12px;
}
.teacher-entry-list,
.local-entry-list,
.my-child-post-list{
  display:grid;
  gap:14px;
}
.teacher-entry-card,
.local-entry-card,
.my-child-post-card,
.child-learning-record-card{
  padding:18px;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:0 2px 8px rgba(44,36,22,.06);
}
.teacher-entry-card{
  border-left:5px solid var(--tw-orange);
}
.local-entry-card,
.my-child-post-card{
  border-left:5px solid var(--tw-green);
}
.child-learning-record-card{
  border-top:4px solid var(--tw-stage-2);
  background:#f8fbfd;
}
.child-learning-record-card.is-weekly-plan{
  border-top-color:var(--tw-green);
  background:var(--tw-green-soft);
}
.child-learning-record-card.is-weekly-plan .child-activity-card-top{
  align-items:center;
  min-height:64px;
  padding:8px 0 18px;
}
.child-learning-record-card.is-weekly-plan .child-record-section:first-of-type{
  margin-top:0;
}
.teacher-entry-card h3,
.local-entry-card h3,
.my-child-post-card h3{
  margin:16px 0 10px;
  color:var(--tw-text);
  font-size:22px;
  line-height:1.24;
}
.child-record-section{
  display:grid;
  gap:8px;
  padding:14px 0;
  border-top:1px solid var(--tw-border);
}
.child-record-section:first-of-type{
  margin-top:14px;
}
.child-record-section h3{
  margin:0;
  color:var(--tw-stage-3);
  font-size:16px;
  line-height:1.2;
}
.child-record-section .child-activity-description{
  margin:0;
  white-space:pre-line;
  line-height:1.45;
}
.child-record-section .rich-text-display p,
.child-record-section .rich-text-display div{
  margin:0 0 .35em;
}
.child-record-section .rich-text-display p:last-child,
.child-record-section .rich-text-display div:last-child{
  margin-bottom:0;
}
.child-record-section .child-plan-note{
  margin-top:0;
}
.child-latest-plan{
  display:inline-flex;
  align-self:flex-start;
  max-width:100%;
  padding:5px 8px;
  border-radius:6px;
  background:rgba(255,255,255,.66);
  color:var(--tw-muted);
  font-size:12px;
  font-weight:800;
}
.my-child-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
}
.my-child-card{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:12px;
  min-width:0;
  padding:18px;
  border:1px solid rgba(229,221,211,.78);
  border-radius:10px;
  background:var(--tw-bg-card);
  color:var(--tw-text);
  text-decoration:none;
  box-shadow:0 1px 3px rgba(44,36,22,.06);
  transition:transform .16s ease, box-shadow .16s ease;
}
.my-child-card:hover{
  box-shadow:0 12px 28px rgba(44,36,22,.10);
  transform:translateY(-1px);
  opacity:1;
}
.my-child-photo,
.my-child-profile-photo{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:var(--tw-green-soft);
  color:var(--tw-green);
  font-weight:900;
  text-transform:uppercase;
}
.my-child-photo{
  width:64px;
  height:64px;
  border-radius:8px;
}
.my-child-photo img,
.my-child-profile-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.my-child-card-body{
  display:grid;
  gap:12px;
  min-width:0;
}
.my-child-card h2{
  min-width:0;
  margin:0;
  color:var(--tw-text);
  font-size:22px;
  line-height:1.15;
  overflow-wrap:anywhere;
}
.my-child-profile{
  display:grid;
  grid-template-columns:minmax(190px,260px) minmax(0,1fr);
  gap:18px;
  align-items:start;
  margin-bottom:20px;
}
.my-child-profile-photo{
  aspect-ratio:1;
  border-radius:12px;
  background:#edf4ed;
  box-shadow:0 1px 3px rgba(44,36,22,.06);
  font-size:40px;
}
.my-child-profile-form,
.my-child-journal{
  padding:20px;
  border-radius:10px;
  background:var(--tw-bg-card);
  box-shadow:0 1px 3px rgba(44,36,22,.06);
}
.my-child-profile-form .plan-section-head{
  margin-bottom:14px;
}
.my-child-info-single{
  min-width:0;
  padding:14px 16px;
  border-left:4px solid var(--tw-green);
  border-radius:0 8px 8px 0;
  background:#fbf8f2;
}
.my-child-info-single h3{
  max-width:920px;
  margin:0 0 10px;
  color:var(--tw-muted);
  font-size:14px;
  font-weight:600;
  line-height:1.35;
}
.my-child-info-single .rich-text-display{
  margin:0;
  color:var(--tw-text);
  font-size:15px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.my-child-info-empty{
  padding:18px;
  border-radius:8px;
  background:#fbf8f2;
  color:var(--tw-faint);
  font-style:italic;
}
.my-child-profile-edit-form{
  margin-bottom:0;
}
.my-child-profile-edit-form textarea{
  min-height:180px;
  resize:vertical;
}
.my-child-profile-edit-form label > span{
  color:var(--tw-muted);
  font-size:14px;
  font-weight:600;
  line-height:1.35;
}
.my-child-profile-edit-form input[type="file"]{
  padding:10px;
  border:1px solid var(--tw-border);
  border-radius:8px;
  background:#fff;
}
.my-child-info-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.linked-outcome-picker{
  display:grid;
  gap:8px;
}
.linked-outcome-picker > span{
  color:var(--tw-muted);
  font-size:13px;
  font-weight:800;
}
.linked-outcome-picker > div{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.linked-outcome-picker label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 9px;
  border:1px solid var(--tw-border);
  border-radius:999px;
  background:#fffdfb;
  color:var(--tw-muted);
  font-size:13px;
  font-weight:800;
}
.linked-outcome-picker input{
  margin:0;
}
.my-child-post-card .child-card-meta{
  margin-top:12px;
}
.my-child-journal .children-empty{
  padding:18px;
  box-shadow:none;
  background:#fbf8f2;
}
.my-child-journal .children-empty h2{
  color:var(--tw-muted);
  font-size:18px;
}
.child-status-pill{
  display:inline-flex;
  width:auto;
  max-width:100%;
}
.child-plan-summary .child-status-pill,
.child-plan-summary .child-outcome-meta,
.child-plan-summary .child-outcome-focus{
  justify-self:start;
  align-self:start;
  width:auto;
  max-width:100%;
}
.child-plan-summary .child-outcome-focus{
  display:inline-grid;
}
.plan-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;}
.plan-gallery-small{grid-template-columns:repeat(5,minmax(0,1fr));}
.plan-gallery figure{position:relative;margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:6px;background:#e8ebef;}
.plan-image-link{display:block;width:100%;height:100%;color:#111;text-decoration:none;}
.plan-gallery img{display:block;width:100%;height:100%;object-fit:cover;}
.plan-file-thumb{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  padding:10px;
  box-sizing:border-box;
  text-align:center;
  font-size:12px;
  line-height:1.25;
  overflow-wrap:anywhere;
  background:#eef1f5;
}
.plan-image-delete{
  position:absolute;
  top:6px;
  right:6px;
  width:28px;
  height:28px;
  padding:0;
  border-radius:50%;
  background:rgba(17,17,17,.82);
  font-size:20px;
  line-height:1;
}

/* =============================
   Highlights + Kindle-like UI
   ============================= */
.hl-area{
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  line-height: 1.85;
}

.hl { padding: 0 .08em; border-radius: .25em; }
.hl-yellow { background: #ffe58f; }
.hl-green  { background: #b7eb8f; }
.hl-red    { background: #ffccc7; }
.hl-blue   { background: #91d5ff; }

/* Floating Action Bar (desktop + mobile) */
.hl-ubar{
  position: fixed;
  z-index: 9999;
  display: flex;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}

.hl-ubar .hl-ubtn{
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid #e6e8ee;
  background: #f3f4f6;
}

.hl-ubar .hl-ubtn.hl-yellow{ background:#ffe58f; }
.hl-ubar .hl-ubtn.hl-red{ background:#ffccc7; }
.hl-ubar .hl-ubtn.hl-green{ background:#b7eb8f; }
.hl-ubar .hl-ubtn.hl-blue{ background:#91d5ff; }

.hl-ubar .hl-xbtn{
  width: 34px;
  height: 28px;
  border-radius: 10px;
  background: #f3f4f6 !important;
  color: #d92d20 !important;
  font-weight: 900;
  border: 1px solid #e6e8ee !important;
}

.hl-ubar .hl-notebtn{
  width: 34px;
  height: 28px;
  border-radius: 10px;
  background: #f3f4f6 !important;
  color: #111 !important;
  font-weight: 900;
  border: 1px solid #e6e8ee !important;
}

/* ✅ Note popover (renamed to avoid class conflict) */
.hl-note-pop{
  position: fixed;
  z-index: 9999;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
  padding: 12px;

  max-width: min(520px, calc(100vw - 16px));
  max-height: 65vh;
  overflow: auto;
}
.hl-note-title{ font-weight: 800; margin-bottom: 8px; }
.hl-note-ta{
  width: 100%;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  resize: vertical;
  min-height: 90px;
  max-height: 40vh;
}
.hl-note-actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* Mobile tuning: toolbar a bit larger; note is bottom-sheet with nicer margin */
@media (max-width: 980px) {
  .child-outcome-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .child-plan-columns{
    grid-template-columns:1fr;
  }
  .my-child-profile{
    grid-template-columns:1fr;
  }
  .my-child-profile-photo{
    max-width:260px;
  }
  .teacher-entry-fields-three{
    grid-template-columns:1fr 1fr;
  }
  .child-cycle-flow{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px) {
  .plan-month-grid{grid-template-columns:1fr;}
  .te-whariki-plan .plan-month-subgoals{padding-left:14px;}
  .plan-month-header h1{font-size:25px;}
  .plan-section-head{align-items:flex-start;}
  .plan-upload{align-items:flex-end;flex-direction:column;}
  .plan-subgoal-heading{align-items:flex-start;}
  .plan-resource-board{grid-template-columns:1fr;}
  .plan-subgoal-card{max-width:none;}
  .plan-gallery,.plan-gallery-small{grid-template-columns:repeat(2,minmax(0,1fr));}
  .children-page-head,
  .child-detail-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .children-page-head h1,
  .child-detail-head h1{
    font-size:30px;
  }
  .children-search{
    align-items:stretch;
    flex-direction:column;
  }
  .children-search .mini{
    width:100%;
  }
  .children-grid,
  .child-outcome-grid,
  .child-summary-strip{
    grid-template-columns:1fr;
  }
  .child-status-tabs a{
    flex:1 1 auto;
    text-align:center;
  }
  .child-activity-week-head,
  .child-planned-activity-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .child-activity-week-head .btn{
    width:100%;
  }
  .child-background-head,
  .child-learning-workspace-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .child-background-privacy{
    display:none;
  }
  .child-background-grid,
  .child-background-form-grid,
  .child-cycle-form-dates{
    grid-template-columns:1fr;
  }
  .child-learning-workspace-head,
  .child-background-head{
    padding:14px;
  }
  .child-cycle-summary{
    width:100%;
  }
  .child-cycle-create{
    margin:14px;
  }
  .child-cycle-list{
    padding:0 14px 14px;
  }
  .child-cycle-card-head{
    align-items:flex-start;
  }
  .child-cycle-delete{
    margin-left:0;
  }
  .planned-activity-details{
    grid-template-columns:1fr;
  }
  .planned-activity-details .activity-evaluation{
    grid-column:auto;
  }
  .child-manage-inline,
  .child-manage-row,
  .teacher-entry-fields,
  .teacher-entry-fields-three,
  .my-child-journal-fields,
  .my-child-info-grid{
    grid-template-columns:1fr;
  }
  .head-actions{
    justify-content:flex-start;
  }
  .my-child-photo{
    width:64px;
    height:64px;
    aspect-ratio:1;
  }
  .child-manage-row .btn{
    width:100%;
  }
  .child-card-top{
    align-items:flex-start;
  }
  .child-strand-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .child-outcome-heading{
    grid-template-columns:1fr;
    gap:8px;
  }
  .child-outcome-heading h3{
    font-size:26px;
  }
  .child-activity-card h3{
    font-size:20px;
  }

  table { min-width: 0 !important; }
  th, td { padding: 8px 8px !important; }
  td, th, a { word-break: break-word; overflow-wrap: anywhere; }
  .cell { max-width: none !important; }
  .table-wrap { border-radius: 12px; }

  .hl-ubar{
    padding: 10px 10px;
    gap: 10px;
    border-radius: 16px;
  }
  .hl-ubar .hl-ubtn{
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
  .hl-ubar .hl-notebtn,
  .hl-ubar .hl-xbtn{
    width: 38px;
    height: 34px;
    border-radius: 12px;
  }

  /* ✅ Note: fixed bottom, but leave a nice margin */
  .hl-note-pop{
    left: 12px !important;
    right: 12px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    max-height: 62vh !important;
    overflow: auto !important;
  }
  .hl-note-ta{
    max-height: 32vh !important;
  }
}

/* Weekly intentional teaching plan */
.weekly-plan-page{max-width:1460px;margin:0 auto 80px;font-family:Arial,Helvetica,sans-serif;}
.weekly-plan-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:12px 0 22px;}
.weekly-plan-eyebrow{margin:0;color:#4d7d5d;font-size:13px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;}
.weekly-plan-head h1{margin:5px 0 4px;color:#25221e;font-size:38px;line-height:1.15;}
.weekly-plan-date{margin:0;color:#756e65;font-size:16px;}
.weekly-week-controls{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #d8d3cb;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(45,38,29,.06);}
.weekly-saved-weeks{display:block;margin:0;}
.weekly-saved-weeks select{width:270px;height:48px;min-height:48px;padding:6px 44px 6px 11px;border:1px solid #c9c4bc;border-radius:6px;background-color:#fff;font-size:14px;}
.weekly-plan-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;min-width:330px;white-space:nowrap;}
.weekly-plan-nav a{display:flex;align-items:center;justify-content:center;gap:5px;height:48px;min-height:48px;padding:6px 8px;border-radius:6px;background:#f4f2ee;color:#4d4943;text-decoration:none;font-size:13px;font-weight:700;box-sizing:border-box;}
.weekly-plan-nav a:hover{background:#e9e6e0;}
.weekly-plan-nav a.is-current{background:#e4efe7;color:#376143;}
.weekly-day-section{margin-bottom:30px;border:1px solid #c9c9c9;background:#fff;}
.weekly-day-head{display:flex;align-items:baseline;gap:12px;padding:15px 22px;border-bottom:1px solid #c9c9c9;background:#f1f1f1;}
.weekly-day-head h2{margin:0;color:#181818;font-size:25px;}
.weekly-day-head span{color:#686868;font-size:15px;}
.weekly-day-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
.weekly-activity-form{min-width:0;padding:20px 36px 32px;}
.weekly-activity-form+.weekly-activity-form{border-left:1px solid #d0d0d0;}
.weekly-activity-form h3,.weekly-activity-form>label:not(.weekly-all-students){display:block;margin:0 0 8px;color:#171717;font-size:16px;font-weight:800;line-height:1.35;}
.weekly-activity-form h3 span,.weekly-activity-form>label b{color:#d92d20;}
.weekly-activity-form>label span{font-weight:800;}
.weekly-activity-form>textarea,.weekly-activity-form>select{box-sizing:border-box;width:100%;max-width:100%;margin:0 0 24px;border:1px solid #bdbdbd;border-radius:3px;background:#fff;color:#171717;font:14px Arial,Helvetica,sans-serif;box-shadow:none;}
.weekly-activity-form>textarea{min-height:104px;padding:10px;resize:vertical;overflow:auto;}
.weekly-activity-form>select{height:44px;min-height:44px;max-height:44px;padding:7px 44px 7px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.weekly-saved-weeks select,.weekly-activity-form select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 7.5L10 13.5L16 7.5' stroke='%234a4640' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 13px center;background-repeat:no-repeat;background-size:18px;}
.weekly-activity-form>select[multiple]{min-height:104px;padding:5px;}
.weekly-activity-form select option{max-width:520px;padding:7px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.weekly-activity-form>textarea:focus,.weekly-activity-form>select:focus{border-color:#1877f2;outline:1px solid #1877f2;}
.weekly-activity-form small{display:block;margin:-28px 0 34px;color:#666;font-size:12px;}
.weekly-scheduled-revisits{display:grid;gap:8px;margin:-12px 0 24px;}
.weekly-scheduled-revisits article{position:relative;padding:12px 84px 12px 14px;border-left:4px solid #6f9a7b;border-radius:5px;background:#eef5f0;color:#304638;}
.weekly-scheduled-revisits span{display:block;margin-bottom:4px;color:#4a7658;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;}
.weekly-scheduled-revisits p{margin:0;white-space:pre-wrap;font-size:13px;line-height:1.45;}
.weekly-revisit-origin{margin:6px 0 0;color:#68756c;font-size:11px;line-height:1.35;}
.weekly-revisit-evaluation{margin-top:10px;padding:9px 10px;border:1px solid #d9e5dc;border-radius:5px;background:rgba(255,255,255,.68);}
.weekly-revisit-evaluation strong{display:block;margin-bottom:4px;color:#42684e;font-size:10px;letter-spacing:.04em;text-transform:uppercase;}
.weekly-revisit-evaluation p{color:#425047;font-size:12px;line-height:1.5;}
.weekly-scheduled-revisits a{position:absolute;top:12px;right:12px;color:#356847;font-size:11px;font-weight:800;}
.weekly-child-dropdown{position:relative;box-sizing:border-box;width:100%;max-width:100%;height:44px;margin:0 0 24px;border:1px solid #bdbdbd;border-radius:3px;background:#fff;}
.weekly-child-dropdown summary{display:flex;align-items:center;justify-content:space-between;height:42px;min-height:42px;padding:0 12px;list-style:none;cursor:pointer;font-size:14px;}
.weekly-child-dropdown summary::-webkit-details-marker{display:none;}
.weekly-child-dropdown summary i{flex:0 0 18px;width:18px;height:18px;margin-left:14px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 7.5L10 13.5L16 7.5' stroke='%234a4640' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:18px;transition:transform .16s ease;}
.weekly-child-dropdown[open] summary i{transform:rotate(180deg);}
.weekly-child-summary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.weekly-child-menu{position:absolute;z-index:20;top:calc(100% + 1px);right:-1px;left:-1px;max-height:230px;overflow:auto;border:1px solid #aaa;background:#fff;box-shadow:0 5px 14px rgba(0,0,0,.18);}
.weekly-native-select{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden!important;white-space:nowrap!important;}
.weekly-fixed-dropdown{position:relative;box-sizing:border-box;width:100%;max-width:100%;height:44px;margin:0 0 24px;border:1px solid #bdbdbd;border-radius:3px;background:#fff;}
.weekly-fixed-dropdown summary{display:flex;box-sizing:border-box;width:100%;height:42px;min-height:42px;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;list-style:none;cursor:pointer;color:#171717;font-size:14px;}
.weekly-fixed-dropdown summary::-webkit-details-marker{display:none;}
.weekly-fixed-dropdown summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.weekly-fixed-dropdown summary i{flex:0 0 18px;width:18px;height:18px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 7.5L10 13.5L16 7.5' stroke='%234a4640' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:18px;transition:transform .16s ease;}
.weekly-fixed-dropdown[open] summary i{transform:rotate(180deg);}
.weekly-fixed-dropdown summary:focus{border-radius:2px;outline:2px solid #1877f2;outline-offset:1px;}
.weekly-child-specific-hint{margin:-14px 0 24px;padding:9px 11px;border-left:3px solid var(--tw-green);border-radius:0 6px 6px 0;background:#eef5ef;color:#4f6657;font-size:12px;line-height:1.45;}
.weekly-child-specific-hint[hidden]{display:none;}
.weekly-fixed-menu{position:absolute;z-index:30;top:calc(100% + 2px);right:-1px;left:-1px;box-sizing:border-box;height:220px;max-height:220px;padding:5px 0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:1px solid #8d8d8d;border-radius:5px;background:#fff;box-shadow:0 7px 18px rgba(0,0,0,.2);}
.weekly-fixed-menu button{display:block;width:100%;height:38px;min-height:38px;padding:0 12px;border:0;background:#fff;color:#202020;font:14px Arial,Helvetica,sans-serif;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;}
.weekly-fixed-menu button:hover,.weekly-fixed-menu button:focus{background:#edf4ef;outline:0;}
.weekly-fixed-menu button.is-selected{background:#dfece3;color:#244f32;font-weight:800;}
.weekly-child-option{display:flex!important;align-items:center;gap:9px;margin:0!important;padding:8px 12px;border-bottom:1px solid #eee;cursor:pointer;font-size:14px!important;font-weight:500!important;}
.weekly-child-option:hover{background:#f2f6f3;}
.weekly-child-option input{width:17px;height:17px;margin:0;accent-color:#527c5d;}
.weekly-child-option input:disabled+span{color:#aaa;}
.weekly-child-all{background:#f4f4f4;font-weight:800!important;}
.weekly-all-students{display:flex!important;align-items:center;gap:9px;width:max-content;margin:0 0 9px!important;padding:6px 10px;border:1px solid #d2d2d2;background:#f7f7f7;cursor:pointer;font-size:14px!important;font-weight:700!important;}
.weekly-all-students input{width:17px;height:17px;margin:0;accent-color:#527c5d;}
.weekly-activity-form>select:disabled{background:#eee;color:#777;}
.weekly-form-actions{display:flex;align-items:center;gap:12px;margin-top:-8px;}
.weekly-form-actions .btn{min-width:150px;border:0;border-radius:3px;padding:11px 18px;background:#4f795a;font-weight:700;text-align:center;cursor:pointer;}
.weekly-form-actions span{padding:4px 7px;background:#e4f1e7;color:#356141;font-size:12px;font-weight:700;}
.weekly-revisit{margin-top:-9px;border:1px solid #d9dfda;border-radius:8px;background:#f8faf8;overflow:hidden;}
.weekly-revisit>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:0 13px;list-style:none;cursor:pointer;color:#355e42;font-size:13px;font-weight:800;}
.weekly-revisit>summary::-webkit-details-marker{display:none;}
.weekly-revisit>summary b{display:inline-grid;width:22px;height:22px;margin-right:6px;place-items:center;border-radius:99px;background:#e5efe7;font-size:15px;}
.weekly-revisit>summary em{padding:3px 7px;border-radius:99px;background:#e9eeea;color:#718078;font-size:10px;font-style:normal;text-transform:uppercase;}
.weekly-revisit[open]>summary{border-bottom:1px solid #dde4df;background:#edf4ef;}
.weekly-revisit-body{display:grid;gap:14px;padding:15px;}
.weekly-revisit-child-option input{width:17px;height:17px;margin:0;accent-color:#4f795a;}
.weekly-revisit-controls{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;}
.weekly-revisit-controls label{margin:0;color:#4f514e;font-size:11px;font-weight:800;}
.weekly-revisit-controls span{display:block;margin-bottom:5px;}
.weekly-revisit-controls input,.weekly-revisit-controls select{box-sizing:border-box;width:100%;height:40px;margin:0;padding:7px 10px;border:1px solid #bdc6bf;border-radius:5px;background:#fff;font:13px Arial,Helvetica,sans-serif;}
.weekly-revisit fieldset{min-width:0;margin:0;padding:0;border:0;}
.weekly-revisit legend{margin-bottom:7px;color:#4f514e;font-size:11px;font-weight:800;}
.weekly-revisit-child-list{display:flex;flex-wrap:wrap;gap:6px;}
.weekly-revisit-child-option{display:flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #d7ddd8;border-radius:99px;background:#fff;font-size:12px;cursor:pointer;}
.weekly-revisit-all{width:max-content;margin-bottom:7px;background:#e9f1eb;font-weight:800;}
.weekly-revisit [hidden]{display:none!important;}
.weekly-save-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 0;padding:16px 18px;border:1px solid #d8d3cb;border-radius:9px;background:#fff;}
.weekly-save-bar p{margin:0;color:#6e675e;font-size:13px;}
.weekly-save-bar>div{display:flex;gap:9px;}
.weekly-save-bar .btn{min-width:150px;border:0;border-radius:4px;background:#4f795a;font-weight:800;text-align:center;cursor:pointer;}
.weekly-save-bar .btn.ghost{border:1px solid #cfd7d1;background:#f1f4f2;color:#345b41;}
@media (max-width:760px){
  .weekly-plan-page{margin-bottom:45px;}
  .weekly-plan-head{align-items:flex-start;flex-direction:column;}
  .weekly-plan-head h1{font-size:31px;}
  .weekly-plan-nav{width:100%;}
  .weekly-week-controls{width:100%;align-items:stretch;flex-direction:column;}
  .weekly-saved-weeks select{width:100%;}
  .weekly-day-columns{grid-template-columns:1fr;}
  .weekly-activity-form{padding:24px 18px 28px;}
  .weekly-activity-form+.weekly-activity-form{border-top:1px solid #d0d0d0;border-left:0;}
  .weekly-revisit-controls{grid-template-columns:1fr;}
  .weekly-form-actions .btn{width:100%;}
  .weekly-save-bar{align-items:stretch;flex-direction:column;}
  .weekly-save-bar>div{flex-direction:column;}
  .weekly-save-bar .btn{width:100%;}
  .weekly-fixed-menu{height:200px;max-height:200px;}
}

/* 52-week primary school readiness programme */
.readiness-page{max-width:1320px;margin:0 auto 80px;color:#29251f;}
.readiness-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:34px 0 28px;}
.readiness-kicker{color:#4f7f5f;font-size:13px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;}
.readiness-hero h1{margin:7px 0 10px;font-size:46px;line-height:1.05;}
.readiness-hero p{max-width:760px;margin:0;color:#6e675d;font-size:17px;line-height:1.55;}
.readiness-progress{min-width:190px;padding:17px;border:1px solid #d8d1c6;border-radius:12px;background:#fff;}
.readiness-progress strong{display:block;font-size:28px;}.readiness-progress span{color:#746d63;font-size:13px;}
.readiness-progress div{height:7px;margin-top:12px;border-radius:99px;background:#e8e3dc;overflow:hidden;}.readiness-progress i{display:block;height:100%;background:#4f805f;}
.readiness-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px;padding:20px;border-left:4px solid #4f805f;background:#eef5f0;line-height:1.45;}.readiness-principles div{display:flex;flex-direction:column;gap:6px;}.readiness-principles strong{font-size:16px;}.readiness-principles span{color:#655f56;}
.readiness-month-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:30px;}.readiness-month-nav a{position:relative;display:flex;min-height:105px;flex-direction:column;justify-content:center;gap:8px;padding:20px 48px 20px 20px;border:1px solid #d8d1c7;border-radius:12px;background:#fff;color:#302b25;text-decoration:none;box-shadow:0 2px 7px rgba(45,38,29,.04);}.readiness-month-nav a:hover{border-color:#83a68c;transform:translateY(-1px);}.readiness-month-nav strong{font-size:17px;line-height:1.3;}.readiness-month-nav span{color:#777067;font-size:12px;font-weight:700;text-transform:none;}.readiness-month-nav i{position:absolute;right:20px;color:#4f805f;font-size:22px;font-style:normal;}
.readiness-month{margin-bottom:30px;scroll-margin-top:90px;border:1px solid #d9d2c8;border-radius:14px;background:#fff;overflow:hidden;}
.readiness-month-head{display:flex;align-items:center;gap:18px;padding:22px 25px;background:#f3f0eb;}.readiness-month-number{display:grid;place-items:center;width:58px;height:58px;border-radius:14px;background:#4f805f;color:#fff;font-size:22px;font-weight:900;}.readiness-month-head span{color:#777067;font-size:11px;font-weight:800;text-transform:uppercase;}.readiness-month-head h2{margin:2px 0;font-size:25px;}.readiness-month-head p{margin:0;color:#716a60;}
.readiness-week-list{padding:12px 20px 20px;}.readiness-week{scroll-margin-top:90px;border-bottom:1px solid #e5dfd7;}.readiness-week summary{display:grid;grid-template-columns:1fr auto 20px;align-items:center;gap:12px;min-height:62px;padding:8px 5px;list-style:none;cursor:pointer;}.readiness-week summary::-webkit-details-marker{display:none;}.readiness-week summary strong{font-size:17px;}.readiness-week summary em{padding:4px 7px;border-radius:99px;background:#e3f0e6;color:#3e704d;font-size:11px;font-style:normal;font-weight:800;}.readiness-week summary i{width:11px;height:11px;border-right:2px solid #59534b;border-bottom:2px solid #59534b;transform:rotate(45deg);transition:.15s;}.readiness-week[open] summary i{transform:rotate(225deg);}.readiness-week.is-complete summary strong{text-decoration:line-through;text-decoration-color:#94ac9a;}
.readiness-week-body{padding:0 5px 24px;}.readiness-focus{padding:15px 17px;border-left:3px solid #4f805f;background:#f2f7f3;line-height:1.5;}.readiness-focus span{display:block;color:#4b7658;font-size:11px;font-weight:900;text-transform:uppercase;}.readiness-focus p{margin:4px 0 8px;font-size:16px;}
.readiness-detail-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:15px;margin:16px 0;}.readiness-detail-grid section{padding:16px;border:1px solid #e1dbd2;border-radius:9px;background:#fffdfa;}.readiness-detail-grid h3{margin:0 0 8px;font-size:14px;}.readiness-detail-grid h3:not(:first-child){margin-top:17px;}.readiness-detail-grid p,.readiness-detail-grid li{font-size:14px;line-height:1.5;}.readiness-detail-grid ol{margin:0;padding-left:20px;}.readiness-detail-grid li+li{margin-top:7px;}.readiness-resource{display:inline-block;margin-top:8px;color:#3f704f;font-weight:800;text-decoration:none;}
.readiness-week-form{display:grid;grid-template-columns:1fr auto auto;align-items:end;gap:14px;padding:16px;border-radius:9px;background:#f4f1ec;}.readiness-week-form>label:first-child{font-size:13px;font-weight:800;}.readiness-week-form textarea{margin-top:6px;min-height:82px;resize:vertical;overflow:auto;}.readiness-complete{display:flex;align-items:center;gap:8px;padding-bottom:12px;white-space:nowrap;font-size:13px;font-weight:800;}.readiness-complete input{width:18px;height:18px;accent-color:#4f805f;}.readiness-week-form .btn{border:0;border-radius:6px;background:#4f805f;}
.readiness-edit-grid{grid-column:1/-1;display:grid;grid-template-columns:2fr 1fr;gap:15px;}.readiness-experiences{font-size:14px;font-weight:900;}.readiness-experiences>span{display:block;margin-bottom:6px;}.readiness-experiences textarea{min-height:285px;margin:0;font-weight:400;line-height:1.5;}.readiness-curriculum-links{padding:16px;border:1px solid #ded7ce;border-radius:9px;background:#fff;}.readiness-curriculum-links h3{margin:0 0 12px;}.readiness-curriculum-links p{font-size:14px;line-height:1.5;}.readiness-curriculum-links a{display:inline-block;margin-bottom:12px;color:#3f704f;font-size:13px;font-weight:900;}
.readiness-sources{display:flex;flex-wrap:wrap;gap:9px 16px;padding:22px;border:1px solid #ddd6cc;border-radius:12px;background:#fff;}.readiness-sources h2,.readiness-sources p{width:100%;margin:0;}.readiness-sources p{color:#716a60;}.readiness-sources a{color:#3f704f;font-size:13px;font-weight:800;}
@media(max-width:900px){.readiness-principles{grid-template-columns:auto 1fr;}.readiness-month-nav{grid-template-columns:repeat(2,1fr);}.readiness-detail-grid,.readiness-edit-grid{grid-template-columns:1fr;}.readiness-week-form{grid-template-columns:1fr;}.readiness-complete{padding:0;}}
@media(max-width:600px){.readiness-hero{align-items:flex-start;flex-direction:column;}.readiness-hero h1{font-size:34px;}.readiness-progress{width:100%;box-sizing:border-box;}.readiness-month-nav{grid-template-columns:1fr;}.readiness-week summary{grid-template-columns:1fr 16px;}.readiness-week summary em{display:none;}.readiness-month-head{align-items:flex-start;padding:18px;}.readiness-week-list{padding:8px 14px 16px;}}

.readiness-theme-page{max-width:1220px;margin:0 auto 80px;}.readiness-theme-page>.plan-back{margin-bottom:6px;}.readiness-theme-hero{padding:8px 0 22px;}.readiness-theme-hero h1{margin:6px 0 8px;font-size:40px;}.readiness-theme-hero p{margin:0;color:#70695f;font-size:16px;}.readiness-topic-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;}.readiness-topic-nav a{padding:9px 12px;border:1px solid #d9d2c8;border-radius:99px;background:#fff;color:#413b34;font-size:13px;font-weight:800;text-decoration:none;}.readiness-topic{scroll-margin-top:90px;margin-bottom:28px;padding:24px;border:1px solid #dcd5cb;border-radius:14px;background:#fff;}.readiness-topic-head{margin-bottom:18px;padding-bottom:17px;border-bottom:1px solid #e5dfd7;}.readiness-topic-head span{color:#4f7f5f;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}.readiness-topic-head h2{margin:3px 0 5px;font-size:27px;}.readiness-topic-head p{margin:0;color:#716a61;}
.readiness-activity-panel{margin-bottom:18px;padding:20px;border-radius:12px;background:#f5f2ed;}.readiness-activity-head,.readiness-activity-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;}.readiness-activity-head h3{margin:0;font-size:23px;}.readiness-activity-head .btn,.readiness-activity-card-top .btn{border-radius:7px;background:#e9e4dc;color:#2e2923;}.readiness-activity-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;}.readiness-activity-card{padding:17px;border-top:4px solid #4f805f;border-radius:10px;background:#eaf3ed;}.readiness-activity-card-top span{color:#756d62;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;}.readiness-activity-card h4{margin:15px 0 8px;font-size:19px;}.readiness-activity-card>p{margin:0;white-space:pre-line;line-height:1.55;}.readiness-activity-form{display:none;margin-top:14px;padding:15px;border:1px solid #d8d1c7;border-radius:9px;background:#fff;}.readiness-activity-form.is-open{display:grid;gap:11px;}.readiness-activity-form label{font-size:13px;font-weight:800;}.readiness-activity-form input,.readiness-activity-form textarea{margin-top:5px;}.readiness-activity-form textarea{resize:vertical;overflow:auto;}.readiness-activity-form input[type=file]{padding:8px;}.readiness-delete{margin-top:14px;padding-top:12px;border-top:1px solid #d4ddd6;}.readiness-delete .btn{padding:8px 10px;border:0;border-radius:6px;}.readiness-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px;}.readiness-gallery figure{position:relative;margin:0;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#fff;}.readiness-gallery img{width:100%;height:100%;object-fit:cover;}.readiness-gallery figure form{position:absolute;top:5px;right:5px;}.readiness-gallery figure button{display:grid;place-items:center;width:25px;height:25px;border:0;border-radius:99px;background:rgba(0,0,0,.68);color:#fff;cursor:pointer;}.readiness-note-panel{display:grid;grid-template-columns:1fr auto;gap:12px;padding:20px;border:1px solid #ddd6cc;border-radius:12px;background:#fffdfa;}.readiness-note-panel h3{grid-column:1/-1;margin:0;font-size:21px;}.readiness-note-panel textarea{min-height:110px;resize:vertical;overflow:auto;}.readiness-note-panel .btn{align-self:end;border:0;border-radius:7px;background:#4f805f;}
@media(max-width:850px){.readiness-principles{grid-template-columns:1fr;}.readiness-month-nav{grid-template-columns:repeat(2,1fr);}.readiness-activity-list{grid-template-columns:1fr;}}
@media(max-width:600px){.readiness-month-nav{grid-template-columns:1fr;}.readiness-topic{padding:16px;}.readiness-activity-panel{padding:14px;}.readiness-note-panel{grid-template-columns:1fr;}.readiness-note-panel .btn{width:100%;}.readiness-theme-hero h1{font-size:32px;}}

/* Learning theme library */
.learning-themes-page,
.learning-theme-detail{
  --theme-ink:#24372e;
  --theme-muted:#68786f;
  --theme-green:#2f6f52;
  --theme-green-dark:#245840;
  --theme-cream:#f5f2e9;
  --theme-card:#fffefa;
  --theme-line:#dfe5dc;
  margin:-16px -12px 0;
  padding:0 12px 64px;
  background:linear-gradient(180deg,#edf4ed 0,#f7f4ec 420px,#f7f6f1 100%);
  color:var(--theme-ink);
}
.learning-themes-page > *,
.learning-theme-detail > *{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}
.themes-hero{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(270px,.75fr);
  gap:32px;
  align-items:end;
  padding:56px 0 44px;
}
.themes-eyebrow,
.themes-kicker{
  display:block;
  margin-bottom:10px;
  color:var(--theme-green);
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.themes-hero h1,
.theme-detail-hero h1{
  max-width:760px;
  margin:0 0 16px;
  color:var(--theme-ink);
  font-size:clamp(42px,6vw,68px);
  line-height:.98;
  letter-spacing:-.045em;
}
.themes-hero-copy > p,
.theme-detail-hero > div > p{
  max-width:720px;
  margin:0;
  color:#55665c;
  font-size:18px;
  line-height:1.65;
}
.themes-hero-note,
.theme-detail-hero aside{
  padding:22px;
  border:1px solid rgba(47,111,82,.16);
  border-radius:22px;
  background:rgba(255,255,255,.68);
  box-shadow:0 18px 48px rgba(36,55,46,.08);
  backdrop-filter:blur(8px);
}
.themes-hero-note > span,
.theme-detail-hero aside > span{
  display:block;
  margin-bottom:8px;
  color:var(--theme-green);
  font-size:30px;
  font-weight:900;
  letter-spacing:-.03em;
}
.themes-hero-note strong,
.theme-detail-hero aside strong{
  display:block;
  font-size:16px;
}
.themes-hero-note p,
.theme-detail-hero aside p{
  margin:8px 0 0;
  color:var(--theme-muted);
  font-size:14px;
  line-height:1.55;
}
.themes-browser,
.theme-detail-content{
  padding:28px;
  border:1px solid rgba(47,65,54,.09);
  border-radius:28px;
  background:rgba(255,255,255,.72);
  box-shadow:0 18px 54px rgba(36,55,46,.07);
}
.themes-browser-head{
  display:flex;
  gap:24px;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:24px;
}
.themes-browser-head h2,
.theme-detail-intro h2{
  margin:0;
  color:var(--theme-ink);
  font-size:clamp(26px,3vw,36px);
  letter-spacing:-.03em;
}
.themes-search{
  position:relative;
  width:min(100%,340px);
  margin:0;
}
.themes-search svg{
  position:absolute;
  top:50%;
  left:14px;
  width:20px;
  height:20px;
  fill:none;
  stroke:#718078;
  stroke-linecap:round;
  stroke-width:1.8;
  transform:translateY(-50%);
  pointer-events:none;
}
.themes-search input{
  min-height:48px;
  padding:12px 14px 12px 43px;
  border-color:#d8e0d7;
  border-radius:14px;
  background:#fff;
  color:var(--theme-ink);
}
.themes-search input:focus{
  border-color:#5d8e72;
  outline:3px solid rgba(47,111,82,.12);
}
.theme-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.theme-library-card{
  --card-accent:#5f8874;
  --card-soft:#e7f0e9;
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:250px;
  overflow:hidden;
  padding:22px;
  border:1px solid rgba(51,74,61,.12);
  border-radius:20px;
  background:var(--theme-card);
  color:var(--theme-ink);
  text-decoration:none;
  box-shadow:0 3px 12px rgba(36,55,46,.045);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.theme-library-card:hover{
  border-color:color-mix(in srgb,var(--card-accent) 35%,transparent);
  box-shadow:0 18px 34px rgba(36,55,46,.11);
  transform:translateY(-3px);
  opacity:1;
}
.theme-library-card:focus-visible{
  outline:3px solid color-mix(in srgb,var(--card-accent) 35%,transparent);
  outline-offset:3px;
}
.theme-library-card[hidden]{display:none;}
.theme-card-art{
  display:grid;
  width:48px;
  height:48px;
  margin-bottom:20px;
  place-items:center;
  border-radius:15px;
  background:var(--card-soft);
  color:var(--card-accent);
  font-size:23px;
  font-weight:900;
}
.theme-card-type{
  margin-bottom:7px;
  color:var(--card-accent);
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.theme-library-card h3{
  margin:0 0 8px;
  color:var(--theme-ink);
  font-size:22px;
  line-height:1.12;
  letter-spacing:-.02em;
}
.theme-library-card > p{
  margin:0 0 22px;
  color:var(--theme-muted);
  font-size:14px;
  line-height:1.55;
}
.theme-card-footer{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid #edf0eb;
  color:#53635a;
  font-size:12px;
  font-weight:800;
}
.theme-card-footer span:last-child{
  color:var(--card-accent);
  font-size:20px;
  transition:transform .18s ease;
}
.theme-library-card:hover .theme-card-footer span:last-child{transform:translateX(4px);}
.theme-accent-local{--card-accent:#9a6239;--card-soft:#f4e9dc;}
.theme-accent-animals{--card-accent:#3b7281;--card-soft:#e2f0f2;}
.theme-accent-plants{--card-accent:#3c7650;--card-soft:#e4f1e6;}
.theme-accent-culture{--card-accent:#8a5b80;--card-soft:#f2e7ef;}
.theme-accent-emotional{--card-accent:#b25e62;--card-soft:#f8e8e6;}
.theme-accent-social{--card-accent:#4f6fa2;--card-soft:#e7ecf6;}
.theme-accent-weather{--card-accent:#957526;--card-soft:#f7efd5;}
.theme-accent-food{--card-accent:#a9533d;--card-soft:#f7e7df;}
.theme-accent-creative{--card-accent:#6c5c9d;--card-soft:#ece9f7;}
.theme-accent-others{--card-accent:#536c64;--card-soft:#e8efec;}
.theme-accent-personal{--card-accent:#246342;--card-soft:#dff0e5;}
.personal-theme-card{border:2px solid rgba(36,99,66,.24);background:linear-gradient(145deg,#fff 0%,#f1f8f3 100%);}
.themes-empty{
  padding:54px 20px;
  text-align:center;
}
.themes-empty > span{color:#87a091;font-size:36px;}
.themes-empty h3{margin:8px 0 6px;font-size:22px;}
.themes-empty p{margin:0;color:var(--theme-muted);}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}
.theme-back-link{
  display:table;
  padding-top:24px;
  color:#42624f;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
}
.theme-back-link:hover{color:#234a36;opacity:1;}
.theme-detail-hero{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(260px,.7fr);
  gap:36px;
  align-items:end;
  padding:34px 0 38px;
}
.theme-strands{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}
.theme-strand{
  padding:7px 11px;
  border:1px solid rgba(47,111,82,.17);
  border-radius:999px;
  background:rgba(255,255,255,.65);
  color:#3b634c;
  font-size:12px;
  font-weight:800;
}
.theme-detail-intro{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 24px;
  align-items:end;
  margin-bottom:24px;
}
.theme-detail-intro .themes-kicker{grid-column:1/-1;margin-bottom:0;}
.theme-detail-intro p{
  margin:0;
  color:var(--theme-muted);
  line-height:1.55;
}
.theme-pathway-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.theme-pathway-card{
  position:relative;
  padding:24px;
  border:1px solid var(--theme-line);
  border-radius:19px;
  background:#fffefa;
}
.theme-pathway-number{
  position:absolute;
  top:20px;
  right:20px;
  color:#aebbb3;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}
.theme-pathway-subtitle{
  max-width:85%;
  margin:0 0 7px;
  color:#587562;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.theme-pathway-card h2{
  margin:0 0 18px;
  color:var(--theme-ink);
  font-size:24px;
  line-height:1.12;
  letter-spacing:-.025em;
}
.theme-activity-list{
  display:grid;
  gap:11px;
  margin:0;
  padding:0;
  list-style:none;
}
.theme-activity-list li{
  display:grid;
  grid-template-columns:20px minmax(0,1fr);
  gap:9px;
  color:#55655b;
  font-size:14px;
  line-height:1.5;
}
.theme-activity-list li > span:first-child{
  display:grid;
  width:18px;
  height:18px;
  margin-top:1px;
  place-items:center;
  border-radius:50%;
  background:#e8f1ea;
  color:#397052;
  font-size:10px;
  font-weight:900;
}
.theme-activity-copy{min-width:0;}
.theme-activity-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;}
.theme-activity-edit-button{
  margin-top:5px;
  padding:2px 0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#47705a;
  font-size:12px;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}
.theme-activity-edit-button:hover{color:#234a36;opacity:1;}
.theme-activity-editor{
  display:grid;
  gap:8px;
  margin-top:7px;
  padding:12px;
  border:1px solid #d6e0d7;
  border-radius:12px;
  background:#f7faf7;
}
.theme-activity-editor[hidden]{display:none;}
.theme-activity-editor label{margin:0;color:#3e5f4b;font-size:12px;font-weight:900;}
.theme-activity-editor textarea{
  min-height:96px;
  padding:10px;
  border-color:#cad8cc;
  border-radius:9px;
  background:#fff;
  color:#35483d;
  font:inherit;
  line-height:1.5;
  resize:vertical;
  overflow:auto;
}
.theme-activity-editor textarea:focus{border-color:#5d8e72;outline:3px solid rgba(47,111,82,.12);}
.theme-activity-editor-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.theme-activity-save,
.theme-activity-cancel{padding:7px 11px;border-radius:8px;font-size:12px;font-weight:800;}
.theme-activity-save{background:#2f6f52;color:#fff;}
.theme-activity-cancel{border:1px solid #d1dbd3;background:#fff;color:#46584d;}
.theme-activity-status{color:#5f7066;font-size:12px;font-weight:700;}
.theme-loading{padding:80px 0;color:var(--theme-muted);text-align:center;}
.local-curriculum-page .theme-back-link{margin:0 0 18px;padding-top:0;}
.local-curriculum-page .theme-detail-heading{margin-bottom:22px;}

@media (max-width:900px){
  .theme-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .themes-hero,.theme-detail-hero{grid-template-columns:1fr;align-items:start;}
  .themes-hero-note,.theme-detail-hero aside{max-width:520px;}
}
@media (max-width:640px){
  .learning-themes-page,.learning-theme-detail{padding-bottom:38px;}
  .themes-hero{gap:22px;padding:38px 4px 30px;}
  .themes-hero h1,.theme-detail-hero h1{font-size:36px;overflow-wrap:anywhere;}
  .themes-hero-copy > p,.theme-detail-hero > div > p{font-size:16px;}
  .themes-browser,.theme-detail-content{padding:17px;border-radius:20px;}
  .themes-browser-head{align-items:stretch;flex-direction:column;}
  .themes-search{width:100%;}
  .theme-card-grid,.theme-pathway-grid{grid-template-columns:1fr;}
  .theme-library-card{min-height:230px;}
  .theme-detail-hero{gap:22px;padding:28px 4px 28px;}
  .theme-detail-intro{grid-template-columns:1fr;}
  .theme-pathway-card{padding:20px;}
  .theme-activity-editor-actions{align-items:stretch;flex-direction:column;}
  .theme-activity-save,.theme-activity-cancel{width:100%;}
}
@media (max-width:700px){
  .topbar{align-items:flex-start;flex-direction:column;gap:8px;padding:10px 12px;}
  .nav{width:100%;flex-wrap:nowrap;gap:4px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin;}
  .nav a,.nav-button{flex:0 0 auto;white-space:nowrap;}
}
@media (prefers-reduced-motion:reduce){
  .theme-library-card,.theme-card-footer span:last-child{transition:none;}
}

/* Theme details aligned with the School Readiness monthly experience */
.learning-theme-detail .theme-back-link{margin:0 0 14px;padding-top:24px;}
.learning-theme-detail .theme-detail-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;overflow:hidden;padding:36px 42px;border-radius:22px;background:linear-gradient(135deg,#143c2c 0%,#2e6a4a 100%);color:#fff;box-shadow:0 18px 48px rgba(21,63,46,.16)}
.learning-theme-detail .theme-detail-hero:after{position:absolute;right:-80px;bottom:-110px;width:300px;height:300px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.02);content:""}
.theme-detail-hero-copy{position:relative;z-index:1;min-width:0}.theme-detail-hero-copy>p{margin:0 0 7px;color:#bcd8c7;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.learning-theme-detail .theme-detail-hero h1{max-width:900px;margin:0 0 10px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(31px,3.25vw,46px);font-weight:500;letter-spacing:-.035em;line-height:1.06}
.theme-detail-summary{max-width:900px;color:#d8e7de;font-size:15px;line-height:1.5}.learning-theme-detail .theme-strands{position:relative;z-index:1;margin-top:15px}.learning-theme-detail .theme-strand{padding:6px 9px;border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.08);color:#fff;font-size:11px}
.theme-pathway-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:7px;margin:16px auto 20px;padding:9px;border:1px solid var(--theme-line);border-radius:14px;background:#f9fcfa;box-shadow:0 8px 25px rgba(22,60,44,.055)}
.theme-pathway-tabs a{display:flex;min-height:58px;flex-direction:column;justify-content:center;padding:10px 12px;border-radius:9px;background:#fff;color:#45594d;font-size:13px;font-weight:750;line-height:1.3;text-decoration:none}.theme-pathway-tabs a:hover{background:#e8f1ea;color:#173d2c;opacity:1}.theme-pathway-tabs span{margin-bottom:4px;color:#2f6f52;font-size:10px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}
.learning-theme-detail .theme-pathway-grid{display:grid;grid-template-columns:1fr;gap:22px}.learning-theme-detail .theme-pathway-card{scroll-margin-top:24px;padding:30px;border:1px solid var(--theme-line);border-radius:21px;background:#fff;box-shadow:0 8px 32px rgba(24,58,44,.055)}
.theme-pathway-header{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:20px;align-items:center;margin-bottom:21px}.theme-pathway-badge{display:grid;width:68px;height:68px;place-items:center;border-radius:17px;background:#173d2c;color:#fff}.theme-pathway-badge span{font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.theme-pathway-badge strong{font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:500;line-height:1}
.learning-theme-detail .theme-pathway-subtitle{max-width:none;margin:0 0 5px;color:#577063;font-size:12px;line-height:1.4;letter-spacing:.06em}.learning-theme-detail .theme-pathway-card h2{margin:0;color:#173d2c;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500}
.theme-pathway-heading{min-width:0}.theme-pathway-meta{display:flex;flex-wrap:wrap;gap:7px 10px;margin-top:8px;color:#718077;font-size:11px}.theme-pathway-owner{color:#2b6548;font-weight:850}.theme-pathway-actions{align-self:start}.theme-pathway-delete{margin:0}.theme-pathway-delete button{padding:8px 10px;border:1px solid #e1c4bf;border-radius:8px;background:#fff8f7;color:#9a423b;font:inherit;font-size:12px;font-weight:850;cursor:pointer}.theme-pathway-delete button:hover{border-color:#c98f87;background:#fbecea}
.theme-pathway-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:16px 0 12px;padding:16px 18px;border:1px solid #d5e1d8;border-radius:14px;background:linear-gradient(135deg,#f8fbf9,#eef5f0);box-shadow:0 6px 18px rgba(22,60,44,.05)}.theme-pathway-toolbar>div{display:grid;gap:3px}.theme-pathway-toolbar span{color:#2f6f52;font-size:10px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.theme-pathway-toolbar strong{color:#29483a;font-size:15px}.theme-add-pathway{flex:0 0 auto;padding:11px 16px;border:0;border-radius:10px;background:#173d2c;color:#fff;font:inherit;font-size:14px;font-weight:850;box-shadow:0 5px 14px rgba(23,61,44,.16);cursor:pointer}.theme-add-pathway:hover{background:#285d43;transform:translateY(-1px)}.theme-empty-pathways{margin:16px 0 20px;padding:32px;border:1px dashed #bfcfc4;border-radius:14px;background:#fff;color:#65766c;text-align:center}.theme-pathway-dialog-intro{margin:0;padding:13px 14px;border-radius:10px;background:#eef6f0;color:#4d6256;font-size:14px;line-height:1.5}.theme-pathway-dialog label>span{color:#758078;font-size:13px;font-weight:600}.theme-edit-dialog input[type=text]{box-sizing:border-box;width:100%;padding:13px 14px;border:1px solid #cfd8d1;border-radius:9px;background:#fff;color:#203b2e;font:inherit;font-size:17px;font-weight:400}.theme-edit-dialog input[type=text]:focus{border-color:#5d8e72;outline:3px solid rgba(47,111,82,.12)}
.theme-activity-panel{padding:24px;border-radius:15px;background:#f6f1e6}.theme-activity-panel>header{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}.theme-activity-panel>header span{color:#2f6f52;font-size:11px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.theme-activity-panel>header h3{margin:4px 0 0;color:#173d2c;font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:500}.theme-activity-panel>header p{max-width:420px;margin:0;color:#68756d;font-size:14px;line-height:1.5}
.learning-theme-detail .theme-activity-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.learning-theme-detail .theme-activity-list .theme-activity-item{display:flex;min-width:0;min-height:190px;flex-direction:column;gap:0;padding:20px;border:1px solid #e0d7c5;border-radius:12px;background:#fff;color:#56685e;box-shadow:0 3px 12px rgba(54,46,30,.04)}
.theme-activity-card-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.theme-activity-card-top>span,.theme-activity-identity>span{color:#98772e;font-size:11px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.theme-activity-identity{display:flex;min-width:0;align-items:baseline;gap:7px;white-space:nowrap}.theme-activity-identity small{display:flex;min-width:0;align-items:baseline;gap:5px;color:#78837c;font-size:clamp(8px,.72vw,10px);font-weight:650;letter-spacing:0;line-height:1;white-space:nowrap}.theme-activity-identity small strong{color:#2b6548;font-weight:850}.theme-activity-identity time{white-space:nowrap}.learning-theme-detail .theme-activity-edit-button{margin:0;padding:0;border:0;background:transparent;color:#2f6f52;font-size:13px;font-weight:850;text-decoration:none;cursor:pointer}.learning-theme-detail .theme-activity-edit-button:hover{color:#173d2c;text-decoration:underline;text-underline-offset:3px}.learning-theme-detail .theme-activity-text{flex:1;margin:16px 0 0;color:#56685e;font-size:16px;line-height:1.62}
.theme-shared-activity{padding:4px 7px;border-radius:999px;background:#edf4ef;color:#527063!important;font-size:9px!important;letter-spacing:.08em!important;}
.theme-add-activity{flex:0 0 auto;padding:11px 15px;border:0;border-radius:10px;background:#fff;color:#173d2c;font:inherit;font-size:14px;font-weight:850;box-shadow:0 2px 9px rgba(54,46,30,.06);cursor:pointer}.theme-add-activity:hover{background:#e8f1ea}
.theme-note-preview{margin-top:18px;padding:13px 14px;border-left:4px solid #2f6f52;border-radius:0 9px 9px 0;background:#edf4ef}.theme-note-preview span{color:#2f6f52;font-size:11px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.theme-note-preview p{margin:6px 0 0;color:#455c4f;font-size:14px;line-height:1.58;white-space:pre-wrap}
.theme-activity-attachments{display:grid;gap:5px;margin-top:13px}.theme-attachment-row{display:grid;grid-template-columns:34px minmax(0,1fr) 16px;align-items:center;gap:9px;min-height:42px;padding:4px 8px 4px 5px;border:1px solid #dde6df;border-radius:8px;background:#f7faf8;color:#285f46;text-decoration:none}.theme-attachment-row:hover{border-color:#a9c2b2;background:#eef5f0;opacity:1}.theme-attachment-preview{display:grid;width:32px;height:32px;overflow:hidden;place-items:center;border-radius:6px;background:#e3ede6;color:#356a50;font-size:8px;font-weight:950;letter-spacing:.03em}.theme-attachment-preview img{width:100%;height:100%;object-fit:cover}.theme-attachment-name{min-width:0;overflow:hidden;font-size:12px;font-weight:750;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.theme-attachment-open{color:#779085;font-size:13px;text-align:center}
.theme-edit-existing-files{display:grid;gap:8px;margin-top:-3px;padding:12px;border:1px solid #dbe5dd;border-radius:10px;background:#f7faf8}.theme-edit-existing-files>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 1px 3px;border:0}.theme-edit-existing-files>header span{color:#43554b;font-size:13px;font-weight:850;letter-spacing:0;text-transform:none}.theme-edit-existing-files>header small{color:#78877e;font-size:11px;font-weight:750}.theme-edit-existing-files>div{display:grid;gap:5px}.theme-edit-file-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:44px;padding:5px 7px 5px 5px;border:1px solid #e0e7e2;border-radius:8px;background:#fff}.theme-edit-file-row>a{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;min-width:0;color:#285f46;text-decoration:none}.theme-edit-file-row>a:hover .theme-attachment-name{text-decoration:underline;text-underline-offset:2px}.theme-edit-file-delete{padding:6px 9px;border:1px solid #e0beb9;border-radius:7px;background:#fff8f7;color:#9b4940;font:inherit;font-size:11px;font-weight:850;cursor:pointer}.theme-edit-file-delete:hover{border-color:#c98f87;background:#fbecea}
.theme-selected-files{display:grid;gap:8px;margin-top:8px;padding:11px 12px;border:1px solid #cfe0d4;border-radius:9px;background:#f4f9f5;color:#294b39;font-weight:400}.theme-selected-files>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 1px 3px;border:0}.theme-selected-files>header span{color:#2f6f52;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.theme-selected-files>header small{color:#718077;font-size:11px;font-weight:750}.theme-selected-files>div{display:grid;gap:5px}.theme-selected-file-row{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;min-height:42px;padding:5px;border:1px solid #dfe8e1;border-radius:8px;background:#fff}.theme-selected-file-details{display:grid;min-width:0;gap:2px}.theme-selected-file-details strong{min-width:0;overflow:hidden;color:#285f46;font-size:12px;font-weight:800;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.theme-selected-file-details small{color:#7a887f;font-size:10px;font-weight:650;line-height:1.2}
.theme-edit-file-delete:disabled{cursor:wait;opacity:.62}.theme-file-delete-status{margin:2px 1px 0;color:#47705a;font-size:11px;font-weight:750;line-height:1.4}.theme-file-delete-status.is-error{color:#a1423b}
.learning-theme-detail .theme-activity-list .theme-activity-item,.my-activity-card{box-sizing:border-box;height:360px}.learning-theme-detail .theme-activity-list .theme-activity-item.is-content-expanded,.my-activity-card.is-content-expanded{height:auto;min-height:360px}.theme-activity-collapsible{position:relative;max-height:145px;overflow:hidden}.is-content-expanded>.theme-activity-collapsible{max-height:none;overflow:visible}.is-content-collapsible:not(.is-content-expanded)>.theme-activity-collapsible:after{position:absolute;right:0;bottom:0;left:0;height:42px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 82%);content:"";pointer-events:none}.theme-activity-content-toggle{align-self:flex-start;margin:7px 0 0;padding:4px 0;border:0;background:transparent;color:#2f6f52;font:inherit;font-size:11px;font-weight:900;text-decoration:underline;text-decoration-color:#aec7b5;text-underline-offset:3px;cursor:pointer}.theme-activity-content-toggle:hover{color:#173d2c;text-decoration-color:#5e8e70}.theme-activity-content-toggle:focus-visible{outline:3px solid rgba(51,115,79,.22);outline-offset:3px}.learning-theme-detail .theme-activity-item>.theme-activity-delete,.my-activity-card>.theme-activity-delete{margin-top:auto}.is-content-expanded>.theme-activity-delete{margin-top:18px}
.theme-activity-delete{margin-top:18px;padding-top:13px;border-top:1px solid #eee8dc}.theme-activity-delete button{padding:0;border:0;background:transparent;color:#9b4940;font:inherit;font-size:13px;font-weight:850;cursor:pointer}.theme-activity-delete button:hover{text-decoration:underline;text-underline-offset:3px}.theme-empty-activities{margin:0;padding:28px;border:1px dashed #d7cdbb;border-radius:12px;background:#fff;color:#68756d;text-align:center}
.theme-edit-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:0;border:0;border-radius:18px;background:#fff;color:#203b2e;box-shadow:0 26px 90px rgba(12,31,22,.35);overflow:auto}.theme-edit-dialog::backdrop{background:rgba(14,31,23,.58);backdrop-filter:blur(4px)}.theme-edit-dialog>form{display:grid;gap:19px;margin:0;padding:32px;border:0;background:#fff}.theme-edit-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:19px;border-bottom:1px solid #d9e2da}.theme-edit-dialog header span{color:#2f6f52;font-size:12px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.theme-edit-dialog h3{margin:5px 0 0;color:#173d2c;font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:500;line-height:1.2}.theme-edit-dialog label{display:grid;gap:9px;color:#43554b;font-size:16px;font-weight:850}.theme-edit-dialog textarea,.theme-edit-dialog input[type=file]{box-sizing:border-box;width:100%;padding:13px 14px;border:1px solid #cfd8d1;border-radius:9px;background:#fff;color:#203b2e;font:inherit;font-size:16px;font-weight:400}.theme-edit-dialog textarea{min-height:0;max-height:320px;font-size:17px;line-height:1.5;resize:vertical;overflow-y:auto}.theme-edit-dialog textarea:focus,.theme-edit-dialog input[type=file]:focus{border-color:#5d8e72;outline:3px solid rgba(47,111,82,.12)}.theme-dialog-close{display:grid;flex:0 0 auto;width:39px;height:39px;place-items:center;padding:0;border:0;border-radius:50%;background:#edf4ef;color:#173d2c;font-size:26px;cursor:pointer}.theme-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:3px}.theme-edit-dialog .theme-activity-save,.theme-edit-dialog .theme-activity-cancel{padding:11px 16px;border-radius:9px;font-size:16px;font-weight:800;cursor:pointer}.theme-edit-dialog .theme-activity-save{border:0;background:#111;color:#fff}.theme-edit-dialog .theme-activity-cancel{border:0;background:#f0f2f4;color:#111}.theme-edit-dialog .theme-activity-status{margin-right:auto;color:#5f7066;font-size:13px;font-weight:700}
@media(max-width:1000px){.learning-theme-detail .theme-activity-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.learning-theme-detail .theme-detail-hero{grid-template-columns:1fr;padding:28px 22px}.learning-theme-detail .theme-pathway-card{padding:20px}.theme-pathway-header{grid-template-columns:1fr;gap:14px}.theme-pathway-badge{width:56px;height:56px}.theme-pathway-actions{width:100%}.theme-pathway-delete button{width:100%;padding:10px}.theme-pathway-toolbar{align-items:stretch;flex-direction:column}.theme-add-pathway{width:100%}.theme-activity-panel{padding:17px}.theme-activity-panel>header{align-items:flex-start;flex-direction:column}.theme-add-activity{width:100%}.learning-theme-detail .theme-activity-list{grid-template-columns:1fr}.learning-theme-detail .theme-activity-list .theme-activity-item{min-height:0;padding:18px}.theme-edit-dialog>form{gap:16px;padding:22px}.theme-edit-dialog h3{font-size:27px}.theme-edit-dialog label{font-size:15px}.theme-edit-dialog textarea{max-height:260px;font-size:16px}.theme-edit-dialog input[type=text]{font-size:16px}.theme-dialog-actions{align-items:stretch;flex-direction:column}.theme-dialog-actions .theme-activity-status{margin:0}.theme-dialog-actions button{width:100%}}

/* Flat per-teacher activity collection */
.my-theme-activities{max-width:1180px;margin:0 auto 64px;color:#203b2e}.my-theme-activities .theme-back-link{margin-bottom:14px}.my-activities-hero{position:relative;display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:22px;align-items:center;overflow:hidden;padding:30px 34px;border-radius:22px;background:linear-gradient(135deg,#143c2c 0%,#2e6a4a 100%);color:#fff;box-shadow:0 18px 48px rgba(21,63,46,.16)}.my-activities-avatar{display:grid;width:74px;height:74px;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:20px;background:rgba(255,255,255,.1);color:#d8e7de;font-size:28px}.my-activities-hero>div:nth-child(2)>p{margin:0 0 6px;color:#bcd8c7;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.my-activities-hero h1{margin:0 0 8px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(31px,3.8vw,47px);font-weight:500;letter-spacing:-.035em}.my-activities-hero>div:nth-child(2)>div{color:#d8e7de;font-size:15px;line-height:1.5}.my-activities-hero aside{display:grid;min-width:116px;place-items:center;padding:18px;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:rgba(255,255,255,.08)}.my-activities-hero aside strong{font-family:Georgia,"Times New Roman",serif;font-size:36px;font-weight:500}.my-activities-hero aside span{font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.my-activities-actions{display:flex;justify-content:flex-end;margin:18px 0 -2px}.my-activities-actions .theme-add-activity,.my-activities-empty .theme-add-activity{background:#173d2c;color:#fff;box-shadow:0 4px 14px rgba(23,61,44,.14)}.my-activities-actions .theme-add-activity:hover,.my-activities-empty .theme-add-activity:hover{background:#285d43}.my-private-activity-hint{margin:0;padding:12px 14px;border-radius:10px;background:#eef6f0;color:#4d6256;font-size:14px;line-height:1.5}
.my-activities-section{margin-top:20px;padding:28px;border:1px solid var(--theme-line);border-radius:21px;background:#f6f1e6;box-shadow:0 8px 32px rgba(24,58,44,.055)}.my-activities-section>header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}.my-activities-section>header span{color:#2f6f52;font-size:11px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.my-activities-section>header h2{margin:4px 0 0;color:#173d2c;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500}.my-activities-section>header>p{max-width:430px;margin:0;color:#68756d;font-size:14px;line-height:1.5}.my-activities-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.my-activity-card{display:flex;min-width:0;min-height:230px;flex-direction:column;padding:20px;border:1px solid #e0d7c5;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(54,46,30,.04)}.my-activity-card .theme-activity-edit-button{margin:0;padding:0;border:0;background:transparent;color:#2f6f52;font-size:13px;font-weight:850;cursor:pointer}.my-activity-card .theme-activity-text{flex:1;margin:16px 0 0;color:#56685e;font-size:16px;line-height:1.62}.my-activities-empty{margin-top:20px;padding:64px 24px;border:1px dashed #bfcfc4;border-radius:21px;background:#fff;text-align:center}.my-activities-empty>span{display:grid;width:56px;height:56px;margin:0 auto 16px;place-items:center;border-radius:16px;background:#e5f1e8;color:#2f6f52;font-size:28px}.my-activities-empty h2{margin:0 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500}.my-activities-empty p{max-width:580px;margin:0 auto 20px;color:#68756d;line-height:1.6}.my-activities-empty a{display:inline-flex;padding:11px 15px;border-radius:9px;background:#173d2c;color:#fff;font-weight:800;text-decoration:none}
@media(max-width:1000px){.my-activities-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.my-activities-hero{grid-template-columns:1fr;padding:26px 22px}.my-activities-avatar{width:58px;height:58px}.my-activities-hero aside{justify-self:start}.my-activities-actions .theme-add-activity{width:100%}.my-activities-section{padding:18px}.my-activities-section>header{align-items:flex-start;flex-direction:column}.my-activities-grid{grid-template-columns:1fr}.my-activity-card{min-height:0;padding:18px}}

/* Activity note history */
.activity-note-thread{margin-top:16px;padding-top:15px;border-top:1px solid #e7dfd0}.activity-note-thread>span{display:block;margin-bottom:9px;color:#2f6f52;font-size:11px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.activity-note-thread ol{display:grid;gap:8px;max-height:260px;margin:0;padding:0;overflow-y:auto;list-style:none}.activity-note-thread li{padding:10px 11px;border-left:3px solid #83a690;border-radius:0 9px 9px 0;background:#f4f8f5}.activity-note-thread p{margin:0;color:#40564a;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.activity-note-thread small{display:flex;flex-wrap:wrap;gap:4px 9px;margin-top:7px;color:#6c7b72;font-size:11px}.activity-note-thread small strong{color:#315b43}.activity-note-thread time{white-space:nowrap}.activity-add-note-button{align-self:flex-start;margin-top:14px;padding:8px 11px;border:1px solid #b9cdbf;border-radius:8px;background:#edf5ef;color:#245d3e;font:inherit;font-size:13px;font-weight:850;cursor:pointer}.activity-add-note-button:hover{background:#deede2}.activity-note-dialog>form{max-width:760px}

/* Editable activity notes */
.learning-theme-detail .theme-activity-list,.my-activities-grid{align-items:start}.activity-note-thread{margin-top:20px;padding-top:17px;border-top:1px solid #e8dfcf}.activity-note-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;margin:0 0 11px}.activity-note-heading>span{color:#2b6548;font-size:12px;font-weight:950;letter-spacing:.11em;text-transform:uppercase}.activity-note-heading>button{flex:0 0 auto;padding:5px 8px;border:1px solid #c8d9cd;border-radius:7px;background:#fff;color:#2d6849;font:inherit;font-size:11px;font-weight:850;cursor:pointer}.activity-note-heading>button:hover{border-color:#9fbea9;background:#edf5ef}.activity-note-heading>button:focus-visible{outline:3px solid rgba(51,115,79,.22);outline-offset:2px}.activity-note-thread ol{display:grid;gap:10px;max-height:none;margin:0;padding:1px 3px 3px 0;overflow:visible;list-style:none}.activity-note-thread.is-collapsed ol .activity-note-item{display:none}.activity-note-thread.is-collapsed ol .activity-note-item:nth-last-child(-n+2){display:block}.activity-note-thread .activity-note-item{position:relative;display:block;min-width:0;padding:16px 52px 14px 17px;border:1px solid #dce7df;border-left:4px solid #75a082;border-radius:12px;background:linear-gradient(135deg,#f8fbf9 0%,#f0f6f2 100%);box-shadow:0 2px 9px rgba(25,62,43,.045);overflow:visible;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.activity-note-thread .activity-note-item:hover{border-color:#c3d7c8;box-shadow:0 6px 18px rgba(25,62,43,.08);transform:translateY(-1px)}.activity-note-thread .activity-note-item:has(.activity-note-menu[open]){z-index:30}.activity-note-body{min-width:0}.activity-note-body>p{display:-webkit-box;width:100%;min-width:0;margin:0;color:#344f40;font-size:15px;line-height:1.58;white-space:pre-wrap;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:5}.activity-note-item.is-body-expanded .activity-note-body>p{display:block;overflow:visible;-webkit-line-clamp:unset}.activity-note-body>button{margin-top:8px;padding:4px 0;border:0;background:transparent;color:#2e6a4a;font:inherit;font-size:11px;font-weight:900;text-decoration:underline;text-decoration-color:#afc8b7;text-underline-offset:3px;cursor:pointer}.activity-note-body>button:hover{color:#173d2c;text-decoration-color:#5e8e70}.activity-note-body>button:focus-visible{outline:3px solid rgba(51,115,79,.22);outline-offset:3px}.activity-note-meta{display:flex;align-items:center;clear:both;width:100%;min-width:0;flex-wrap:wrap;gap:5px 10px;margin-top:11px;padding-top:9px;border-top:1px solid rgba(80,117,94,.13);color:#718077;font-size:12px;line-height:1.35}.activity-note-meta strong{color:#285c40;font-weight:850}.activity-note-meta time{white-space:nowrap}.activity-note-meta span{padding:2px 6px;border-radius:99px;background:#e2eee5;color:#52705e;font-size:9px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.activity-note-menu{position:absolute;z-index:40;top:9px;right:9px}.activity-note-menu>summary{display:grid;width:34px;height:34px;padding:0;place-items:center;border:1px solid transparent;border-radius:10px;color:#547060;font-size:13px;font-weight:900;letter-spacing:1px;line-height:1;cursor:pointer;list-style:none;transition:.18s ease}.activity-note-menu>summary::-webkit-details-marker{display:none}.activity-note-menu>summary:hover,.activity-note-menu[open]>summary{border-color:#bdd2c3;background:#fff;color:#1f583a;box-shadow:0 3px 10px rgba(23,61,44,.1)}.activity-note-menu>div{position:absolute;z-index:50;top:40px;right:0;width:154px;padding:6px;border:1px solid #d5dfd8;border-radius:11px;background:#fff;box-shadow:0 16px 36px rgba(18,49,34,.2)}.activity-note-menu button{box-sizing:border-box;width:100%;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:#315642;font:inherit;font-size:13px;font-weight:800;text-align:left;cursor:pointer}.activity-note-menu button:hover{background:#edf5ef}.activity-note-menu form{margin:0}.activity-note-menu form button{color:#a1423b}.activity-note-menu form button:hover{background:#fbefed}.activity-note-menu>summary:focus-visible,.activity-note-menu button:focus-visible{outline:3px solid rgba(51,115,79,.25);outline-offset:2px}.activity-add-note-button{margin-top:16px;padding:9px 13px;border-color:#b7cebd;border-radius:9px;background:#eff6f1;transition:.18s ease}.activity-add-note-button:hover{border-color:#91b19b;background:#e1eee5;transform:translateY(-1px)}
@media(max-width:720px){.activity-note-heading{align-items:flex-start;flex-direction:column;gap:7px}.activity-note-thread .activity-note-item{padding:14px 48px 13px 15px}.activity-note-body>p{font-size:14px}.activity-note-meta{gap:4px 8px;font-size:11px}.activity-note-menu>div{width:146px}.activity-note-dialog>form{padding:22px}}

/* Shared activity ownership and collaborative notes */
.readiness-idea-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.readiness-idea-identity{display:flex;min-width:0;align-items:baseline;gap:7px;white-space:nowrap}.readiness-idea-identity>span{color:#98772e;font-size:11px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.readiness-idea-identity small{display:flex;min-width:0;align-items:baseline;gap:5px;color:#78837c;font-size:clamp(8px,.72vw,10px);font-weight:650;letter-spacing:0;line-height:1;white-space:nowrap}.readiness-idea-identity small strong{color:#2b6548;font-weight:850}.readiness-idea-identity time{white-space:nowrap}.readiness-shared-activity{padding:4px 7px;border-radius:999px;background:#edf4ef;color:#527063!important;font-size:9px!important;letter-spacing:.08em!important}.readiness-add-note{align-self:flex-start;margin-top:15px;padding:8px 11px;border:1px solid #b9cdbf;border-radius:8px;background:#edf5ef;color:#245d3e;font:inherit;font-size:13px;font-weight:850;cursor:pointer}.readiness-add-note:hover{background:#deede2}.readiness-note-hint{margin:0;padding:12px 14px;border-radius:10px;background:#eef6f0;color:#4d6256;font-size:14px;line-height:1.5}.readiness-idea-card .activity-note-thread{width:100%}.readiness-idea-card .activity-note-item{box-sizing:border-box}.readiness-idea-card .activity-note-menu button{font-size:13px}.readiness-idea-card .readiness-delete{margin-top:15px}

.admin-page{max-width:1100px;margin:0 auto 70px;}.admin-page>header{padding:28px 0 20px;}.admin-page h1{margin:5px 0;font-size:38px;}.admin-page header p{color:#70695f;}.admin-panel{margin-bottom:20px;padding:22px;border:1px solid #ddd6cc;border-radius:12px;background:#fff;}.admin-panel h2{margin:0 0 16px;}.admin-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;}.admin-panel table{width:100%;min-width:650px;border-collapse:collapse;}.admin-panel th,.admin-panel td{text-align:left;border-bottom:1px solid #eee8df;}.admin-panel form{margin:0;}

.teacher-profile-page{
  --profile-ink:#2c2416;
  --profile-muted:#7a6b5a;
  --profile-green:#4a7c59;
  --profile-green-soft:#eaf3ec;
  --profile-line:#e2ddd5;
  max-width:1120px;
  margin:0 auto 64px;
  color:var(--profile-ink);
}
.teacher-profile-head{
  padding:24px 2px 18px;
}
.teacher-profile-eyebrow{
  color:var(--profile-green);
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.teacher-profile-head h1{
  margin:5px 0 4px;
  font-size:35px;
  line-height:1.08;
}
.teacher-profile-head p{
  margin:0;
  color:var(--profile-muted);
  font-size:15px;
}
.teacher-profile-grid{
  display:grid;
  grid-template-columns:minmax(300px,.85fr) minmax(0,1.45fr);
  gap:16px;
  align-items:stretch;
}
.teacher-profile-card{
  min-width:0;
  padding:20px;
  border:1px solid var(--profile-line);
  border-radius:15px;
  background:#fff;
  box-shadow:0 5px 18px rgba(44,36,22,.045);
}
.teacher-profile-person{
  display:flex;
  align-items:center;
  gap:13px;
  padding-bottom:16px;
  border-bottom:1px solid #eee8e0;
}
.teacher-profile-avatar{
  display:flex;
  flex:0 0 48px;
  width:48px;
  height:48px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--profile-green-soft);
  color:var(--profile-green);
  font-size:20px;
  font-weight:800;
}
.teacher-profile-person h2,
.teacher-profile-section-head h2{
  margin:0 0 4px;
  font-size:21px;
  line-height:1.25;
}
.teacher-profile-person p,
.teacher-profile-section-head p{
  margin:0;
  color:var(--profile-muted);
  line-height:1.45;
  overflow-wrap:anywhere;
}
.teacher-profile-details{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:14px 0 0;
}
.teacher-profile-details>div{
  display:block;
  min-width:0;
  padding:0 10px;
  border-left:1px solid #eee8e0;
}
.teacher-profile-details>div:first-child{padding-left:0;border-left:0;}
.teacher-profile-details dt{
  color:var(--profile-muted);
  font-size:10px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.teacher-profile-details dd{
  margin:4px 0 0;
  font-size:13px;
  font-weight:750;
  overflow-wrap:anywhere;
}
.teacher-profile-section-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
.teacher-profile-lock{
  display:flex;
  flex:0 0 38px;
  width:38px;
  height:38px;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:var(--profile-green-soft);
  color:var(--profile-green);
  font-size:18px;
  font-weight:900;
  letter-spacing:1px;
}
.teacher-password-fields{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.teacher-password-fields label{
  display:grid;
  gap:6px;
  color:#5e5447;
  font-size:11px;
  font-weight:800;
}
.teacher-password-form input{
  box-sizing:border-box;
  width:100%;
  min-height:40px;
  border-color:#d8d1c8;
  background:#fffdf9;
}
.teacher-password-form input:focus{
  border-color:var(--profile-green);
  outline:3px solid rgba(74,124,89,.13);
}
.teacher-password-submit{
  width:auto;
  margin-top:12px;
  padding:9px 14px;
  border-radius:9px;
  background:var(--profile-green);
  font-weight:800;
}
.teacher-plan-archives{margin-top:24px;border:1px solid var(--profile-line);border-radius:17px;background:#fff;box-shadow:0 6px 22px rgba(44,36,22,.045);overflow:hidden;scroll-margin-top:84px;}
.teacher-plan-archives>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid #e2e9e4;background:linear-gradient(135deg,#f3f8f4 0%,#fbf9f5 100%);}
.teacher-plan-archives h2{margin:4px 0;color:var(--profile-ink);font-size:22px;}
.teacher-plan-archives header p{margin:0;color:var(--profile-muted);font-size:13px;}
.teacher-plan-archives header .btn{flex:0 0 auto;border-radius:9px;background:#edf3ee;color:#356046;font-size:12px;font-weight:850;}
.teacher-plan-archive-list{display:grid;gap:0;padding:0 24px;}
.teacher-plan-archive-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid #eee9e2;scroll-margin-top:84px;}
.teacher-plan-archive-list article:last-child{border-bottom:0;}
.teacher-plan-pdf-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:10px;background:#e9f1eb;color:#3e714e;font-size:10px;font-weight:950;letter-spacing:.04em;}
.teacher-plan-archive-list h3{margin:0;color:var(--profile-ink);font-size:15px;}
.teacher-plan-archive-list p{margin:3px 0 0;color:var(--profile-muted);font-size:11px;}
.teacher-plan-archive-list .btn{padding:8px 11px;border-radius:8px;background:var(--profile-green);font-size:11px;font-weight:850;}
.teacher-plan-archive-list form{margin:0;}
.teacher-plan-archive-list form button{padding:7px 2px;border:0;background:transparent;color:#9a4d45;font:inherit;font-size:11px;font-weight:800;cursor:pointer;}
.teacher-plan-archive-empty{padding:24px;text-align:center;}
.teacher-plan-archive-empty strong{display:block;font-size:15px;}
.teacher-plan-archive-empty p{margin:5px 0 0;color:var(--profile-muted);font-size:12px;}
.teacher-children-card{
  margin-top:24px;
  border:1px solid var(--profile-line);
  border-radius:17px;
  background:#fff;
  box-shadow:0 6px 22px rgba(44,36,22,.045);
  scroll-margin-top:84px;
}
.teacher-children-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px 18px;
  border-bottom:1px solid #e2e9e4;
  background:linear-gradient(135deg,#f7faf7 0%,#fbf9f5 100%);
}
.teacher-children-head h2{
  margin:5px 0 5px;
  color:var(--profile-ink);
  font-size:22px;
  line-height:1.2;
}
.teacher-children-head p{
  margin:0;
  color:var(--profile-muted);
  font-size:13px;
}
.teacher-children-head p strong{color:var(--profile-ink);font-weight:850;}
.teacher-add-child-button{flex:0 0 auto;padding:10px 14px;border-radius:9px;background:var(--profile-green);font-size:13px;font-weight:850;}
.teacher-add-child-button span{margin-right:4px;font-size:18px;font-weight:500;line-height:0;}
.teacher-child-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  padding:20px 24px 24px;
}
.teacher-child-card{
  position:relative;
  display:flex;
  min-width:0;
  min-height:132px;
  flex-direction:column;
  padding:16px;
  border:1px solid #e2ddd5;
  border-radius:13px;
  background:#fffdf9;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.teacher-child-card:hover{border-color:#c8d7cc;box-shadow:0 7px 18px rgba(34,58,42,.07);transform:translateY(-1px);}
.teacher-child-card:focus-within{border-color:#a9c2af;box-shadow:0 0 0 3px rgba(74,124,89,.1);}
.teacher-child-card:has(.teacher-child-menu[open]){z-index:5;}
.teacher-child-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.teacher-child-avatar{
  display:grid;
  flex:0 0 42px;
  width:42px;
  height:42px;
  place-items:center;
  border-radius:11px;
  background:var(--profile-green-soft);
  color:var(--profile-green);
  font-size:16px;
  font-weight:900;
}
.teacher-child-card-name{margin:13px 0 11px;}
.teacher-child-card-name h3{margin:0;color:var(--profile-ink);font-size:18px;line-height:1.25;overflow-wrap:anywhere;}
.teacher-child-card-name span{display:inline-flex;align-items:center;gap:5px;margin-top:5px;color:#8a7d6d;font-size:11px;font-weight:700;}
.teacher-child-latest-note{margin:0;padding:9px 10px;border-left:3px solid #7da287;border-radius:0 8px 8px 0;background:#f1f6f2;}
.teacher-child-latest-note p{display:-webkit-box;margin:0;overflow:hidden;color:#4f5f55;font-size:11px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
.teacher-child-latest-note.is-expanded p{display:block;overflow:visible;-webkit-line-clamp:unset;}
.teacher-child-latest-note button{margin:5px 0 0;padding:0;border:0;background:transparent;color:#356b4b;font:inherit;font-size:10px;font-weight:900;text-decoration:underline;text-underline-offset:2px;cursor:pointer;}
.teacher-child-latest-note button:focus-visible{outline:3px solid rgba(74,124,89,.2);outline-offset:2px;}
.teacher-child-menu summary:focus-visible,.teacher-child-menu button:focus-visible{outline:3px solid rgba(74,124,89,.2);outline-offset:2px;}
.teacher-child-menu{position:relative;}
.teacher-child-menu summary{display:grid;width:32px;height:32px;place-items:center;border:1px solid transparent;border-radius:9px;color:#746c61;font-size:11px;letter-spacing:1px;cursor:pointer;list-style:none;}
.teacher-child-menu summary::-webkit-details-marker{display:none;}
.teacher-child-menu summary:hover,.teacher-child-menu[open] summary{border-color:#d2ddd5;background:#f1f6f2;color:#2f6044;}
.teacher-child-menu>div{position:absolute;z-index:20;top:37px;right:0;width:160px;padding:6px;border:1px solid #d8ded9;border-radius:11px;background:#fff;box-shadow:0 14px 34px rgba(25,42,32,.18);}
.teacher-child-menu button{box-sizing:border-box;width:100%;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:#374b40;font:inherit;font-size:12px;font-weight:750;text-align:left;cursor:pointer;}
.teacher-child-menu button:hover{background:#edf4ef;}
.teacher-child-menu button.danger{color:#9b4740;}
.teacher-child-menu button.danger:hover{background:#fbefed;}
.teacher-child-menu form{margin:0;}
.teacher-child-rename{display:grid;gap:8px;margin:12px 0 0;}
.teacher-child-rename[hidden],.teacher-child-card-name[hidden],.teacher-child-latest-note[hidden]{display:none!important;}
.teacher-child-rename label{color:#655b4d;font-size:11px;font-weight:850;}
.teacher-child-rename input{box-sizing:border-box;width:100%;min-width:0;min-height:39px;border-color:#cfd8d1;background:#fff;}
.teacher-child-rename input:focus{border-color:var(--profile-green);outline:3px solid rgba(74,124,89,.13);}
.teacher-child-rename>div{display:flex;gap:6px;}
.teacher-child-rename .btn{flex:1;padding:8px 9px;border-radius:8px;font-size:11px;}
.teacher-child-rename .btn:first-child{background:var(--profile-green);}
.teacher-children-empty{display:grid;max-width:440px;gap:7px;margin:34px auto;padding:28px;place-items:center;border:1px dashed #cbd8ce;border-radius:14px;background:#f8fbf9;text-align:center;}
.teacher-children-empty>span{display:grid;width:44px;height:44px;place-items:center;border-radius:12px;background:var(--profile-green-soft);color:var(--profile-green);font-weight:900;}
.teacher-children-empty strong{font-size:18px;}
.teacher-children-empty p{margin:0 0 8px;color:var(--profile-muted);font-size:13px;}
.teacher-add-child-dialog,.teacher-note-drawer{box-sizing:border-box;padding:0;border:0;background:#fff;color:var(--profile-ink);box-shadow:0 24px 72px rgba(20,35,26,.28);}
.teacher-add-child-dialog::backdrop,.teacher-note-drawer::backdrop{background:rgba(24,35,29,.46);backdrop-filter:blur(3px);}
.teacher-add-child-dialog{width:min(440px,calc(100vw - 30px));border-radius:16px;}
.teacher-add-child-dialog>form{display:grid;gap:16px;margin:0;padding:24px;}
.teacher-add-child-dialog header,.teacher-note-drawer header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #e6e1da;}
.teacher-add-child-dialog header span,.teacher-note-drawer header span{color:var(--profile-green);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;}
.teacher-add-child-dialog h2,.teacher-note-drawer h3{margin:4px 0 3px;color:var(--profile-ink);font-size:24px;}
.teacher-add-child-dialog header p,.teacher-note-drawer header p{margin:0;color:var(--profile-muted);font-size:13px;line-height:1.45;}
.teacher-add-child-dialog header>button,.teacher-note-drawer header>button{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;padding:0;border:0;border-radius:50%;background:#eef4ef;color:#315a41;font-size:22px;cursor:pointer;}
.teacher-add-child-dialog label,.teacher-note-drawer>form>label{color:#554d43;font-size:12px;font-weight:850;}
.teacher-add-child-dialog input,.teacher-note-drawer textarea{box-sizing:border-box;width:100%;border:1px solid #cfd6d0;border-radius:9px;background:#fffdf9;color:var(--profile-ink);font:inherit;}
.teacher-add-child-dialog input{min-height:44px;padding:10px 12px;}
.teacher-note-drawer textarea{min-height:220px;max-height:45vh;padding:13px;line-height:1.55;resize:vertical;}
.teacher-add-child-dialog input:focus,.teacher-note-drawer textarea:focus{border-color:var(--profile-green);outline:3px solid rgba(74,124,89,.13);}
.teacher-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;}
.teacher-dialog-actions .btn{min-width:94px;border-radius:9px;font-weight:800;}
.teacher-dialog-actions .btn:not(.ghost){background:var(--profile-green);}
.teacher-note-drawer{width:min(620px,calc(100vw - 32px));max-width:none;height:auto;max-height:calc(100dvh - 48px);margin:auto;overflow:auto;border-radius:18px;}
.teacher-note-drawer>form{display:grid;box-sizing:border-box;grid-template-rows:auto auto auto auto auto;gap:15px;margin:0;padding:28px;}
.teacher-note-help{margin:0;padding:10px 12px;border-radius:8px;background:#f1f5f2;color:#637168;font-size:12px;line-height:1.45;}
.teacher-note-save{background:var(--profile-green);}

@media (max-width:980px){
  .teacher-profile-grid{grid-template-columns:1fr;}
  .teacher-child-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:720px){
  .teacher-profile-head{padding-top:18px;}
  .teacher-profile-head h1{font-size:31px;}
  .teacher-profile-card{padding:18px;}
  .teacher-password-fields{grid-template-columns:1fr;}
  .teacher-plan-archives>header{align-items:flex-start;flex-direction:column;padding:18px;}
  .teacher-plan-archives header .btn{width:100%;text-align:center;}
  .teacher-plan-archive-list{padding:0 18px;}
  .teacher-plan-archive-list article{grid-template-columns:auto minmax(0,1fr) auto;}
  .teacher-plan-archive-list article form{grid-column:2/-1;justify-self:end;}
  .teacher-children-head{align-items:center;padding:18px;}
  .teacher-children-head h2{font-size:19px;}
  .teacher-child-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 18px 20px;}
}
@media (max-width:420px){
  .teacher-profile-details{grid-template-columns:1fr;gap:8px;}
  .teacher-profile-details>div,.teacher-profile-details>div:first-child{padding:0 0 8px;border:0;border-bottom:1px solid #eee8e0;}
  .teacher-profile-details>div:last-child{padding-bottom:0;border-bottom:0;}
  .teacher-children-head{align-items:flex-start;flex-direction:column;}
  .teacher-add-child-button{width:100%;}
  .teacher-child-grid{gap:9px;padding:14px;}
  .teacher-child-card{min-height:126px;padding:13px;}
  .teacher-child-avatar{width:38px;height:38px;}
  .teacher-child-card-name h3{font-size:16px;}
  .teacher-note-drawer{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px;}
  .teacher-note-drawer>form{padding:20px;}
  .teacher-note-drawer textarea{min-height:190px;max-height:42vh;}
}
@media (max-width:350px){.teacher-child-grid{grid-template-columns:1fr;}}
.admin-child-list{display:grid;gap:10px;}.admin-child-access{display:grid;grid-template-columns:160px 1fr auto;align-items:center;gap:14px;padding:13px;border:1px solid #e2dcd3;border-radius:8px;background:#fdfbf8;}.admin-child-access>div{display:flex;flex-wrap:wrap;gap:8px 14px;}.admin-child-access label{display:flex;align-items:center;gap:6px;}.admin-child-access input{width:17px;height:17px;}.admin-child-access .btn{border:0;border-radius:6px;background:#4f805f;}@media(max-width:700px){.admin-child-access{grid-template-columns:1fr;}}

/* Refreshed Ako Rolleston Rua School Readiness programme */
.refreshed-readiness{--rr-ink:#203129;--rr-deep:#173e2d;--rr-green:#397254;--rr-mint:#e8f2eb;--rr-cream:#f7f3ea;--rr-gold:#d7a841;--rr-line:#d7dfd9;color:var(--rr-ink);}
.readiness-hero-refreshed{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);align-items:stretch;gap:28px;margin:0 0 18px;padding:48px;border-radius:24px;background:linear-gradient(135deg,#173e2d 0%,#275a41 100%);color:#fff;overflow:hidden;}
.readiness-hero-refreshed h1{max-width:760px;margin:10px 0 18px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,6vw,72px);font-weight:500;letter-spacing:-.045em;}
.readiness-hero-refreshed .readiness-kicker{color:#c6ddce;}.readiness-hero-refreshed>div>p{max-width:780px;color:#dce9e0;}.readiness-hero-refreshed .readiness-hero-lead{max-width:850px;color:#fff;font-size:21px;font-weight:700;}
.readiness-hero-pills,.readiness-theme-status{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px;}.readiness-hero-pills span,.readiness-theme-status span{padding:7px 11px;border:1px solid rgba(255,255,255,.25);border-radius:99px;background:rgba(255,255,255,.08);font-size:12px;font-weight:800;}
.readiness-whakatauki{display:flex;flex-direction:column;justify-content:flex-end;padding:28px;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:rgba(255,255,255,.08);}.readiness-whakatauki span,.readiness-section-label,.readiness-section-heading span,.readiness-transition-model .readiness-section-heading span,.readiness-evidence-grid>article>span,.readiness-avoid>div>span{color:#9fceaf;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;}.readiness-whakatauki blockquote{margin:18px 0 12px;font-family:Georgia,"Times New Roman",serif;font-size:25px;line-height:1.3;}.readiness-whakatauki p{margin:0;color:#dce9e0;font-size:13px;}
.readiness-section-nav{position:sticky;top:66px;z-index:7;display:flex;gap:8px;margin:0 0 34px;padding:10px;border:1px solid var(--rr-line);border-radius:13px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(23,62,45,.07);backdrop-filter:blur(10px);}.readiness-section-nav a{padding:9px 12px;border-radius:8px;color:var(--rr-deep);font-size:12px;font-weight:850;text-decoration:none;}.readiness-section-nav a:hover{background:var(--rr-mint);}
.readiness-vision{display:grid;grid-template-columns:180px 1fr;gap:10px 40px;margin:0 0 34px;padding:34px 38px;border-left:5px solid var(--rr-gold);border-radius:0 18px 18px 0;background:#fff;box-shadow:0 12px 34px rgba(32,49,41,.06);}.readiness-vision .readiness-section-label{grid-row:1/4;color:var(--rr-green);}.readiness-vision h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:500;}.readiness-vision p{margin:8px 0;color:#4f5e56;font-size:17px;line-height:1.7;}.readiness-vision small{color:#6c796f;}
.readiness-overview-section{padding:46px 0;scroll-margin-top:125px;}.readiness-section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:24px;}.readiness-section-heading>div>span{color:var(--rr-green);}.readiness-section-heading h2{max-width:720px;margin:6px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,4vw,45px);font-weight:500;line-height:1.08;}.readiness-section-heading>p{max-width:520px;margin:0;color:#69766e;line-height:1.6;}
.readiness-principle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.readiness-principle-grid article{display:grid;grid-template-columns:42px 1fr;gap:15px;padding:20px;border:1px solid var(--rr-line);border-radius:14px;background:#fff;}.readiness-principle-grid article>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--rr-mint);color:var(--rr-green);font-family:Georgia,serif;font-weight:800;}.readiness-principle-grid h3{margin:0 0 5px;font-size:17px;}.readiness-principle-grid p{margin:0;color:#647168;font-size:14px;line-height:1.55;}
.readiness-area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}.readiness-area-card{border:1px solid var(--rr-line);border-radius:15px;background:#fff;overflow:hidden;}.readiness-area-card summary{display:grid;grid-template-columns:42px 1fr 20px;align-items:center;gap:14px;padding:20px;cursor:pointer;list-style:none;}.readiness-area-card summary::-webkit-details-marker,.readiness-topic-guidance summary::-webkit-details-marker{display:none;}.readiness-area-card summary b{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--rr-deep);color:#fff;font-family:Georgia,serif;font-size:19px;}.readiness-area-card summary span{font-family:Georgia,"Times New Roman",serif;font-size:21px;}.readiness-area-card summary i,.readiness-topic-guidance summary i{color:var(--rr-green);font-size:22px;font-style:normal;transition:.2s;}.readiness-area-card[open] summary i,.readiness-topic-guidance[open] summary i{transform:rotate(45deg);}.readiness-area-card>div{padding:0 22px 22px;border-top:1px solid #edf0ee;}.readiness-area-card h4{margin:18px 0 8px;color:var(--rr-green);font-size:12px;text-transform:uppercase;}.readiness-area-card p,.readiness-area-card li{color:#59675f;font-size:14px;}.readiness-area-card ul{margin:0;padding-left:20px;columns:2;}.readiness-area-card li{margin-bottom:5px;break-inside:avoid;}
.readiness-tag-list{display:flex;flex-wrap:wrap;gap:7px;}.readiness-tag-list span{padding:6px 9px;border-radius:99px;background:var(--rr-mint);color:#365c46;font-size:12px;font-weight:750;}
.readiness-transition-model{margin:28px 0;padding:42px;border-radius:22px;background:var(--rr-deep);color:#fff;}.readiness-transition-model .readiness-section-heading.light h2{color:#fff;}.readiness-transition-model .readiness-section-heading.light p{color:#c8dace;}.readiness-partner-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;}.readiness-partner-grid article{padding:17px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(255,255,255,.06);}.readiness-partner-grid h3{margin:0 0 8px;color:#fff;font-size:15px;}.readiness-partner-grid p{margin:0;color:#cfe0d5;font-size:13px;line-height:1.5;}
.readiness-practice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;}.readiness-practice-grid>article{padding:24px;border:1px solid var(--rr-line);border-radius:16px;background:#fff;}.readiness-practice-grid h3{margin:0 0 20px;padding-bottom:13px;border-bottom:2px solid var(--rr-green);font-family:Georgia,"Times New Roman",serif;font-size:26px;font-weight:500;}.readiness-practice-grid article>div+div{margin-top:14px;}.readiness-practice-grid strong{color:var(--rr-deep);}.readiness-practice-grid p{margin:3px 0 0;color:#657168;font-size:13px;line-height:1.5;}
.readiness-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px 0 44px;}.readiness-evidence-grid>article{padding:30px;border:1px solid var(--rr-line);border-radius:18px;background:#fff;}.readiness-evidence-grid>article>span{color:var(--rr-green);}.readiness-evidence-grid h2{margin:7px 0 9px;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500;}.readiness-evidence-grid h3{margin:24px 0 9px;font-size:15px;}.readiness-evidence-grid p,.readiness-evidence-grid li{color:#5f6d64;line-height:1.55;}.readiness-evidence-grid ul{padding-left:20px;}.readiness-evidence-grid .readiness-caution{margin-top:20px;padding:13px;border-radius:10px;background:#fff5d8;color:#6d5924;font-weight:750;}
.readiness-avoid{display:grid;grid-template-columns:1fr 1.35fr;gap:35px;padding:34px;border-radius:18px;background:#f8e9e5;}.readiness-avoid>div>span{color:#a24e3c;}.readiness-avoid h2{margin:7px 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:33px;font-weight:500;}.readiness-avoid p{color:#775f59;}.readiness-avoid ul{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;list-style:none;}.readiness-avoid li{padding:12px 14px;border-radius:9px;background:rgba(255,255,255,.7);color:#6d453b;font-weight:750;}
.readiness-planning-guidance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:24px;}.readiness-planning-guidance p{display:grid;grid-template-columns:24px 1fr;gap:8px;margin:0;padding:12px 14px;border-radius:10px;background:var(--rr-mint);color:#496154;font-size:13px;}.readiness-planning-guidance span{color:var(--rr-green);font-weight:900;}.refreshed-readiness .readiness-month-nav a{min-height:150px;padding:22px 50px 22px 22px;border-color:var(--rr-line);border-radius:15px;}.refreshed-readiness .readiness-month-nav small{color:var(--rr-green);font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;}.refreshed-readiness .readiness-month-nav strong{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:500;}.refreshed-readiness .readiness-month-nav span{font-weight:650;}.refreshed-readiness .readiness-sources{border-radius:17px;background:var(--rr-deep);color:#fff;}.refreshed-readiness .readiness-sources p{color:#ccddd2;}.refreshed-readiness .readiness-sources a{color:#fff;}

.refreshed-readiness-theme{--rr-ink:#203129;--rr-deep:#173e2d;--rr-green:#397254;--rr-mint:#e8f2eb;--rr-cream:#f7f3ea;--rr-gold:#d7a841;--rr-line:#d7dfd9;color:var(--rr-ink);}.refreshed-readiness-theme .plan-back{display:inline-block;padding-top:16px;color:var(--rr-green);font-size:13px;font-weight:850;text-decoration:none;}.refreshed-readiness-theme .readiness-theme-hero{margin:16px 0 20px;padding:38px 42px;border-radius:20px;background:linear-gradient(135deg,#173e2d,#2d6548);color:#fff;}.refreshed-readiness-theme .readiness-theme-hero h1{max-width:850px;margin:8px 0 10px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,5vw,58px);font-weight:500;letter-spacing:-.035em;}.refreshed-readiness-theme .readiness-theme-hero p{color:#dce9e0;font-size:18px;}.refreshed-readiness-theme .readiness-kicker{color:#b8d5c2;}
.readiness-theme-framework{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:20px;}.readiness-theme-framework article{padding:18px;border:1px solid var(--rr-line);border-radius:12px;background:#fff;}.readiness-theme-framework article.wide{grid-column:1/-1;border-left:5px solid var(--rr-gold);}.readiness-theme-framework span,.readiness-topic-guidance article span,.readiness-note-panel>div>span{color:var(--rr-green);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}.readiness-theme-framework p,.readiness-topic-guidance article p{margin:7px 0 0;color:#55645b;line-height:1.55;}
.readiness-practice-note{display:grid;grid-template-columns:minmax(240px,.8fr) 1.2fr;gap:25px;margin:20px 0;padding:25px;border-radius:15px;background:#fff4d8;}.readiness-practice-note>div>span{color:#946f1d;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;}.readiness-practice-note h2{margin:5px 0;font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:500;}.readiness-practice-note p{color:#6d5a2d;line-height:1.55;}.readiness-practice-note ul{margin:0;padding-left:20px;color:#6d5a2d;}.readiness-practice-note li+li{margin-top:7px;}.readiness-practice-note .footer{grid-column:1/-1;margin:0;padding-top:12px;border-top:1px solid rgba(148,111,29,.22);font-weight:750;}
.refreshed-readiness-theme .readiness-topic-nav{position:sticky;top:66px;z-index:6;padding:10px;border:1px solid var(--rr-line);border-radius:12px;background:rgba(255,255,255,.95);box-shadow:0 7px 22px rgba(23,62,45,.07);backdrop-filter:blur(10px);}.refreshed-readiness-theme .readiness-topic-nav a{display:flex;align-items:center;gap:7px;background:#fff;}.refreshed-readiness-theme .readiness-topic-nav a span{color:var(--rr-green);font-family:Georgia,serif;}.refreshed-readiness-theme .readiness-topic{padding:30px;border-color:var(--rr-line);border-radius:18px;box-shadow:0 8px 28px rgba(32,49,41,.05);}.refreshed-readiness-theme .readiness-topic-head h2{font-family:Georgia,"Times New Roman",serif;font-size:32px;font-weight:500;}.refreshed-readiness-theme .readiness-topic-head p{max-width:900px;font-size:15px;line-height:1.6;}
.readiness-topic-guidance{margin-bottom:18px;border:1px solid var(--rr-line);border-radius:11px;background:#fbfdfb;overflow:hidden;}.readiness-topic-guidance summary{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;color:var(--rr-deep);font-size:13px;font-weight:850;cursor:pointer;list-style:none;}.readiness-topic-guidance>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 14px 14px;}.readiness-topic-guidance article{padding:13px;border-radius:9px;background:#fff;}.readiness-topic-guidance a{color:var(--rr-green);font-weight:850;}
.refreshed-readiness-theme .readiness-activity-panel{padding:22px;border-radius:14px;background:#f3f1e9;}.refreshed-readiness-theme .readiness-activity-head>div>span{color:#806627;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}.refreshed-readiness-theme .readiness-activity-head h3{margin:4px 0;font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:500;}.refreshed-readiness-theme .readiness-activity-head p{margin:0;color:#746e62;font-size:13px;}.refreshed-readiness-theme .readiness-activity-card{border-top-color:var(--rr-green);background:#fff;box-shadow:0 3px 12px rgba(32,49,41,.05);}.refreshed-readiness-theme .readiness-activity-card>p{color:#55625a;}.refreshed-readiness-theme .readiness-note-panel{grid-template-columns:minmax(220px,.45fr) 1fr auto;align-items:end;border-color:var(--rr-line);background:#f9fcfa;}.refreshed-readiness-theme .readiness-note-panel h3{grid-column:auto;margin:3px 0;font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:500;}.refreshed-readiness-theme .readiness-note-panel>div>p{margin:0;color:#718077;font-size:12px;}.refreshed-readiness-theme .readiness-note-panel textarea{min-height:120px;}
@media(max-width:1000px){.readiness-partner-grid{grid-template-columns:repeat(2,1fr);}.readiness-practice-grid{grid-template-columns:1fr;}.readiness-theme-framework{grid-template-columns:1fr;}.readiness-theme-framework article.wide{grid-column:auto;}.refreshed-readiness-theme .readiness-note-panel{grid-template-columns:1fr;}.refreshed-readiness-theme .readiness-note-panel .btn{width:100%;}}
@media(max-width:780px){.readiness-hero-refreshed{grid-template-columns:1fr;padding:30px 24px;}.readiness-section-nav{top:108px;overflow-x:auto;white-space:nowrap;}.readiness-vision{grid-template-columns:1fr;padding:25px;}.readiness-vision .readiness-section-label{grid-row:auto;}.readiness-section-heading{align-items:start;flex-direction:column;}.readiness-principle-grid,.readiness-area-grid,.readiness-evidence-grid,.readiness-avoid{grid-template-columns:1fr;}.readiness-area-card ul{columns:1;}.readiness-avoid ul,.readiness-planning-guidance{grid-template-columns:1fr;}.readiness-practice-note{grid-template-columns:1fr;}.readiness-practice-note .footer{grid-column:auto;}.readiness-topic-guidance>div{grid-template-columns:1fr;}}
@media(max-width:520px){.readiness-hero-refreshed h1{font-size:40px;}.readiness-transition-model{padding:25px 20px;}.readiness-partner-grid{grid-template-columns:1fr;}.refreshed-readiness-theme .readiness-theme-hero{padding:28px 22px;}.refreshed-readiness-theme .readiness-topic{padding:18px;}.refreshed-readiness-theme .readiness-activity-head{align-items:flex-start;flex-direction:column;}.refreshed-readiness-theme .readiness-activity-head .btn{width:100%;}}

/* 2026 month-by-month Primary School Readiness redesign */
.readiness-year-page,.readiness-month-page{--sr-ink:#193228;--sr-deep:#153f2e;--sr-green:#3f765a;--sr-sage:#dce9df;--sr-mist:#f2f7f3;--sr-cream:#f7f2e8;--sr-gold:#d7a744;--sr-line:#d8e1da;max-width:1240px;margin:0 auto 80px;color:var(--sr-ink)}
.readiness-year-hero{max-width:910px;padding:70px 0 54px}.readiness-year-kicker,.readiness-year-heading>div>p,.readiness-month-hero>div>p{margin:0 0 12px;color:var(--sr-green);font-size:12px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.readiness-year-hero h1{margin:0 0 22px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(48px,7vw,82px);font-weight:500;letter-spacing:-.055em;line-height:.96}.readiness-year-intro{max-width:880px;margin:0;color:#5c6b62;font-size:19px;line-height:1.7}
.readiness-year-programme{padding:38px;border:1px solid var(--sr-line);border-radius:26px;background:linear-gradient(145deg,#fff 0%,#f5f8f5 100%);box-shadow:0 18px 60px rgba(27,62,46,.08)}.readiness-year-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}.readiness-year-heading h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:36px;font-weight:500;letter-spacing:-.03em}.readiness-year-heading h2 span{color:var(--sr-gold)}.readiness-year-heading>p{max-width:390px;margin:0;color:#64736a;font-size:14px;line-height:1.55}
.readiness-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.readiness-month-card{position:relative;display:grid;grid-template-columns:54px 1fr 24px;align-items:start;gap:15px;min-height:150px;padding:23px;border:1px solid var(--sr-line);border-radius:17px;background:#fff;color:var(--sr-ink);text-decoration:none;box-shadow:0 4px 16px rgba(26,54,42,.045);transition:transform .2s,border-color .2s,box-shadow .2s}.readiness-month-card:hover{border-color:#8eb09a;box-shadow:0 12px 28px rgba(26,54,42,.1);transform:translateY(-3px)}.readiness-month-number{display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:var(--sr-mist);color:var(--sr-green);font-family:Georgia,"Times New Roman",serif;font-size:22px}.readiness-month-card strong{display:block;margin:2px 0 9px;color:var(--sr-green);font-size:13px;font-weight:950;letter-spacing:.11em;text-transform:uppercase}.readiness-month-card h3{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:21px;font-weight:500;line-height:1.25}.readiness-month-card p{margin:13px 0 0;color:#7b877f;font-size:12px;font-weight:750}.readiness-month-card i{align-self:center;color:var(--sr-green);font-size:24px;font-style:normal}.readiness-month-card:nth-child(4n+1){border-top:4px solid #4f8464}.readiness-month-card:nth-child(4n+2){border-top:4px solid #d0a44c}.readiness-month-card:nth-child(4n+3){border-top:4px solid #6992a1}.readiness-month-card:nth-child(4n){border-top:4px solid #9b745e}
.readiness-month-back{display:inline-flex;margin:24px 0 14px;color:var(--sr-green);font-size:13px;font-weight:850;text-decoration:none}.readiness-month-hero{position:relative;display:grid;grid-template-columns:94px 1fr;align-items:center;gap:24px;overflow:hidden;padding:32px 36px;border-radius:22px;background:linear-gradient(135deg,#143c2c 0%,#2e6a4a 100%);color:#fff;box-shadow:0 18px 48px rgba(21,63,46,.16)}.readiness-month-hero:after{position:absolute;right:-80px;bottom:-110px;width:300px;height:300px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.02);content:""}.readiness-month-hero-number{display:grid;place-items:center;width:84px;height:84px;border:1px solid rgba(255,255,255,.25);border-radius:21px;background:rgba(255,255,255,.1);font-family:Georgia,"Times New Roman",serif;font-size:34px}.readiness-month-hero>div:not(.readiness-month-hero-number){position:relative;z-index:1}.readiness-month-hero>div>p{color:#bcd8c7}.readiness-month-hero h1{max-width:900px;margin:0 0 10px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(31px,3.25vw,46px);font-weight:500;letter-spacing:-.035em;line-height:1.06}.readiness-month-goal{max-width:900px;color:#d8e7de;font-size:15px;line-height:1.5}.readiness-month-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.readiness-month-tags span{padding:6px 9px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.08);font-size:10px;font-weight:800}
.readiness-month-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 22px}.readiness-month-context article{padding:18px;border:1px solid var(--sr-line);border-radius:13px;background:#fff}.readiness-month-context span,.readiness-kaiako-grid span,.readiness-ideas-panel>header span,.readiness-observation-panel>div>span,.readiness-flex-week>span{color:var(--sr-green);font-size:10px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.readiness-month-context p{margin:7px 0 0;color:#596960;font-size:13px;line-height:1.55}
.readiness-week-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:16px 0 20px;padding:9px;border:1px solid var(--sr-line);border-radius:14px;background:#f9fcfa;box-shadow:0 8px 25px rgba(22,60,44,.055)}.readiness-week-tabs a{display:flex;min-height:58px;flex-direction:column;justify-content:center;padding:10px 12px;border-radius:9px;background:#fff;color:#45594d;font-size:12px;font-weight:750;line-height:1.3;text-decoration:none}.readiness-week-tabs a:hover{background:var(--sr-mist);color:var(--sr-deep)}.readiness-week-tabs span{margin-bottom:3px;color:var(--sr-green);font-size:9px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}
.readiness-week-stack{display:grid;gap:22px}.readiness-week-card{scroll-margin-top:155px;padding:30px;border:1px solid var(--sr-line);border-radius:21px;background:#fff;box-shadow:0 8px 32px rgba(24,58,44,.055)}.readiness-week-header{display:grid;grid-template-columns:76px 1fr;align-items:start;gap:20px;margin-bottom:21px}.readiness-week-badge{display:grid;place-items:center;width:68px;height:68px;border-radius:17px;background:var(--sr-deep);color:#fff}.readiness-week-badge span{font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.readiness-week-badge strong{font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:500;line-height:1}.readiness-week-header h2{margin:2px 0 7px;font-family:Georgia,"Times New Roman",serif;font-size:32px;font-weight:500;letter-spacing:-.025em}.readiness-week-header p{max-width:900px;margin:0;color:#617168;font-size:15px;line-height:1.6}
.readiness-kaiako-drawer{margin-bottom:18px;border:1px solid var(--sr-line);border-radius:12px;background:#f9fcfa;overflow:hidden}.readiness-kaiako-drawer summary{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;color:var(--sr-deep);font-size:13px;font-weight:850;cursor:pointer;list-style:none}.readiness-kaiako-drawer summary::-webkit-details-marker{display:none}.readiness-kaiako-drawer summary i{color:var(--sr-green);font-size:21px;font-style:normal;transition:.2s}.readiness-kaiako-drawer[open] summary i{transform:rotate(45deg)}.readiness-kaiako-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 12px}.readiness-kaiako-grid article{padding:15px;border-radius:9px;background:#fff}.readiness-kaiako-grid p,.readiness-kaiako-grid li{color:#59685f;font-size:13px;line-height:1.52}.readiness-kaiako-grid p{margin:7px 0 0}.readiness-kaiako-grid ul{margin:8px 0 0;padding-left:18px;columns:2}.readiness-kaiako-grid li{margin-bottom:4px;break-inside:avoid}
.readiness-ideas-panel{padding:22px;border-radius:15px;background:var(--sr-cream)}.readiness-ideas-panel>header{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}.readiness-ideas-panel h3{margin:3px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:27px;font-weight:500}.readiness-idea-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.readiness-idea-card{position:relative;display:flex;min-width:0;flex-direction:column;padding:18px;border:1px solid #e0d7c5;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(54,46,30,.04)}.readiness-idea-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.readiness-idea-top>span{color:#98772e;font-size:9px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.readiness-edit-button,.readiness-delete-button{padding:0;border:0;background:transparent;color:var(--sr-green);font:inherit;font-size:11px;font-weight:850;cursor:pointer}.readiness-idea-card h4{margin:13px 0 7px;color:var(--sr-deep);font-size:16px;line-height:1.3}.readiness-idea-card>p{flex:1;margin:0;color:#657168;font-size:13px;line-height:1.55}.readiness-idea-card .readiness-delete{margin-top:14px;padding-top:10px;border-top:1px solid #eee8dc}.readiness-delete-button{color:#9b4940}.readiness-ideas-panel>.readiness-activity-form,.readiness-idea-card>.readiness-activity-form{margin:0 0 14px;padding:16px;border:1px solid #d7cdbb;border-radius:10px;background:#fff}.readiness-idea-card>.readiness-activity-form{margin-top:14px}.readiness-gallery{margin-top:14px}
.readiness-observation-panel{display:grid;grid-template-columns:minmax(230px,.55fr) 1fr auto;align-items:end;gap:15px;margin-top:16px;padding:20px;border:1px solid var(--sr-line);border-radius:14px;background:var(--sr-mist)}.readiness-observation-panel h3{margin:3px 0 5px;font-family:Georgia,"Times New Roman",serif;font-size:23px;font-weight:500}.readiness-observation-panel p{margin:0;color:#6a786f;font-size:12px;line-height:1.45}.readiness-observation-panel textarea{min-height:112px;resize:vertical}.readiness-flex-week{margin-top:24px;padding:30px;border:1px solid #dccb9f;border-radius:18px;background:#fbf6e9}.readiness-flex-week h2{margin:5px 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:27px;font-weight:500}.readiness-flex-week p{max-width:880px;margin:0;color:#696355;line-height:1.6}.readiness-month-guardrail{margin:18px 0 0;padding:18px;border-left:4px solid var(--sr-green);background:#f4f7f4;color:#637168;font-size:13px;line-height:1.55}
.readiness-activity-notes{display:grid;gap:7px;margin-top:16px;padding-top:14px;border-top:1px solid #e8e2d7}.readiness-activity-notes label{color:var(--sr-green);font-size:10px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.readiness-activity-notes textarea{box-sizing:border-box;width:100%;min-height:74px;padding:10px;border:1px solid #d8d5cc;border-radius:8px;background:#fbfcfb;color:var(--sr-ink);font:inherit;font-size:12px;line-height:1.45;resize:vertical}.readiness-activity-notes button{justify-self:start;padding:7px 10px;border:0;border-radius:7px;background:var(--sr-deep);color:#fff;font:inherit;font-size:11px;font-weight:850;cursor:pointer}.readiness-edit-dialog{box-sizing:border-box;width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:0;border:0;border-radius:18px;background:#fff;color:var(--sr-ink);box-shadow:0 26px 90px rgba(12,31,22,.35);overflow:auto}.readiness-edit-dialog::backdrop{background:rgba(14,31,23,.58);backdrop-filter:blur(4px)}.readiness-edit-dialog>form{display:grid;gap:15px;padding:26px}.readiness-edit-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--sr-line)}.readiness-edit-dialog header span{color:var(--sr-green);font-size:10px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.readiness-edit-dialog h3{margin:4px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:26px;font-weight:500}.readiness-edit-dialog label{display:grid;gap:7px;color:#43554b;font-size:12px;font-weight:850}.readiness-edit-dialog input,.readiness-edit-dialog textarea{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #cfd8d1;border-radius:9px;background:#fff;color:var(--sr-ink);font:inherit;font-weight:400}.readiness-edit-dialog textarea{min-height:150px;resize:vertical}.readiness-dialog-close{display:grid;flex:0 0 auto;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:var(--sr-mist);color:var(--sr-deep);font-size:23px;cursor:pointer}.readiness-edit-dialog .actions{display:flex;justify-content:flex-end;gap:9px;margin-top:3px}
@media(max-width:1000px){.readiness-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.readiness-month-context{grid-template-columns:1fr}.readiness-week-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.readiness-idea-grid{grid-template-columns:1fr}.readiness-observation-panel{grid-template-columns:1fr}.readiness-observation-panel .btn{width:100%}}
@media(max-width:720px){.readiness-year-hero{padding:45px 0 38px}.readiness-year-programme{padding:22px}.readiness-year-heading{align-items:flex-start;flex-direction:column}.readiness-year-grid{grid-template-columns:1fr}.readiness-month-hero{grid-template-columns:1fr;padding:26px 22px}.readiness-month-hero-number{width:64px;height:64px;border-radius:16px;font-size:27px}.readiness-week-card{padding:20px}.readiness-week-header{grid-template-columns:1fr}.readiness-week-badge{width:56px;height:56px}.readiness-kaiako-grid{grid-template-columns:1fr}.readiness-kaiako-grid ul{columns:1}.readiness-ideas-panel>header{align-items:flex-start;flex-direction:column}.readiness-ideas-panel>header .btn{width:100%}.readiness-edit-dialog>form{padding:20px}.readiness-edit-dialog .actions{align-items:stretch;flex-direction:column}.readiness-edit-dialog .actions .btn{width:100%}}
@media(max-width:480px){.readiness-year-hero h1{font-size:43px}.readiness-year-intro{font-size:16px}.readiness-year-programme{margin:0 -6px;padding:18px;border-radius:18px}.readiness-month-card{grid-template-columns:45px 1fr 18px;min-height:135px;padding:18px}.readiness-month-number{width:42px;height:42px}.readiness-week-tabs{grid-template-columns:1fr}.readiness-week-header h2{font-size:27px}.readiness-ideas-panel{padding:15px}.readiness-flex-week{padding:22px}}

/* Balanced monthly-page type scale */
.readiness-week-tabs a{min-height:66px;padding:12px 14px;font-size:14px;line-height:1.35}.readiness-week-tabs span{margin-bottom:4px;font-size:11px}.readiness-week-badge span{font-size:10px}.readiness-week-badge strong{font-size:27px}.readiness-week-header h2{margin-bottom:8px;font-size:29px;letter-spacing:-.02em}.readiness-week-header p{max-width:980px;color:#586b60;font-size:17px;line-height:1.62}.readiness-kaiako-drawer summary{padding:16px 18px;font-size:15px}.readiness-kaiako-grid article{padding:17px}.readiness-kaiako-grid p,.readiness-kaiako-grid li{color:#52665a;font-size:15px;line-height:1.58}.readiness-kaiako-grid p{margin-top:8px}.readiness-kaiako-grid li{margin-bottom:5px}.readiness-ideas-panel{padding:24px}.readiness-ideas-panel>header{margin-bottom:16px}.readiness-ideas-panel h3{font-size:25px}.readiness-idea-grid{gap:12px}.readiness-idea-card{padding:20px}.readiness-idea-top>span{font-size:11px}.readiness-edit-button,.readiness-delete-button{font-size:13px}.readiness-idea-card h4{margin:14px 0 9px;font-size:19px;line-height:1.35}.readiness-idea-card>p{color:#56685e;font-size:16px;line-height:1.62}.readiness-idea-card .readiness-delete{margin-top:16px;padding-top:12px}.readiness-activity-notes{gap:8px;margin-top:18px;padding-top:16px}.readiness-activity-notes label{font-size:12px}.readiness-activity-notes textarea{min-height:86px;padding:11px;font-size:14px;line-height:1.5}.readiness-activity-notes button{padding:8px 12px;font-size:13px}
@media(max-width:720px){.readiness-week-tabs a{font-size:15px}.readiness-week-header h2{font-size:27px}.readiness-week-header p{font-size:16px}.readiness-ideas-panel{padding:17px}.readiness-idea-card{padding:18px}.readiness-idea-card h4{font-size:19px}.readiness-idea-card>p{font-size:16px}}

/* Larger edit dialog and notes edited in one place */
.readiness-note-preview{margin-top:18px;padding:14px 15px;border-left:4px solid var(--sr-green);border-radius:0 9px 9px 0;background:var(--sr-mist)}.readiness-note-preview span{color:var(--sr-green);font-size:12px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.readiness-note-preview p{margin:6px 0 0;color:#455c4f;font-size:15px;line-height:1.58;white-space:pre-wrap}.readiness-edit-dialog{width:min(760px,calc(100vw - 32px))}.readiness-edit-dialog>form{gap:19px;padding:32px}.readiness-edit-dialog header{padding-bottom:19px}.readiness-edit-dialog header span{font-size:12px}.readiness-edit-dialog h3{margin-top:5px;font-size:31px}.readiness-edit-dialog label{gap:9px;font-size:16px}.readiness-edit-dialog input,.readiness-edit-dialog textarea{padding:13px 14px;font-size:17px;line-height:1.5}.readiness-edit-dialog textarea{min-height:170px}.readiness-edit-dialog label:nth-of-type(3) textarea{min-height:120px}.readiness-edit-dialog input[type=file]{font-size:16px}.readiness-dialog-close{width:39px;height:39px;font-size:26px}.readiness-edit-dialog .actions .btn{font-size:16px}
@media(max-width:720px){.readiness-edit-dialog>form{gap:16px;padding:22px}.readiness-edit-dialog h3{font-size:27px}.readiness-edit-dialog label{font-size:15px}.readiness-edit-dialog input,.readiness-edit-dialog textarea{font-size:16px}.readiness-edit-dialog textarea{min-height:145px}.readiness-edit-dialog label:nth-of-type(3) textarea{min-height:105px}}

/* Content-aware edit fields: content height plus two comfortable lines */
.readiness-edit-dialog textarea.readiness-auto-textarea{min-height:0;max-height:320px;overflow-y:auto;resize:vertical}.readiness-edit-dialog label:nth-of-type(3) textarea.readiness-auto-textarea{min-height:0}
@media(max-width:720px){.readiness-edit-dialog textarea.readiness-auto-textarea,.readiness-edit-dialog label:nth-of-type(3) textarea.readiness-auto-textarea{min-height:0;max-height:260px}}

/* More restrained landing-page title */
.readiness-year-hero{padding:54px 0 44px}.readiness-year-hero h1{font-size:clamp(40px,5vw,64px);line-height:1.02}
@media(max-width:480px){.readiness-year-hero{padding:38px 0 32px}.readiness-year-hero h1{font-size:36px;line-height:1.06}}

/* v24 owner activity catalogue: classified, collapsible and destination-aware */
.my-theme-activities{max-width:1280px}.my-activities-actions{align-items:center;justify-content:space-between;gap:14px;margin:20px 0}.owned-activity-search{position:relative;display:block;width:min(520px,100%)}.owned-activity-search svg{position:absolute;top:50%;left:15px;width:20px;fill:none;stroke:#698075;stroke-linecap:round;stroke-width:1.8;transform:translateY(-50%)}.owned-activity-search input{box-sizing:border-box;width:100%;padding:13px 16px 13px 45px;border:1px solid #cbd9cf;border-radius:12px;background:#fff;color:#203b2e;font:inherit;font-size:15px;outline:none}.owned-activity-search input:focus{border-color:#70a082;box-shadow:0 0 0 3px rgba(74,126,94,.11)}
.owned-activity-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 28px}.owned-activity-overview a{display:grid;grid-template-columns:1fr auto;gap:5px 16px;padding:20px 22px;border:1px solid #d5e1d8;border-radius:16px;background:#fff;color:#254536;text-decoration:none;box-shadow:0 5px 18px rgba(25,58,44,.045);transition:.2s}.owned-activity-overview a:hover{border-color:#8eb09a;box-shadow:0 11px 26px rgba(25,58,44,.09);transform:translateY(-2px)}.owned-activity-overview span{align-self:end;color:#46735a;font-size:11px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.owned-activity-overview strong{grid-row:1/3;grid-column:2;align-self:center;font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:500}.owned-activity-overview small{color:#718078;font-size:13px}
.owned-catalog-section{scroll-margin-top:90px;margin:0 0 26px;padding:28px;border:1px solid #d7e0d9;border-radius:22px;background:#f8fbf9;box-shadow:0 10px 35px rgba(24,58,44,.055)}.readiness-owned-catalog{background:#fbf8f1}.owned-catalog-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:18px}.owned-catalog-heading>div>span{color:#397254;font-size:11px;font-weight:950;letter-spacing:.11em;text-transform:uppercase}.owned-catalog-heading h2{margin:5px 0 0;color:#173d2c;font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,3vw,36px);font-weight:500;letter-spacing:-.025em}.owned-catalog-heading>p{max-width:460px;margin:0;color:#66766d;font-size:14px;line-height:1.55}.owned-group-stack,.owned-subgroup-stack{display:grid;gap:10px}
.owned-theme-group{border:1px solid #d6e1d9;border-radius:15px;background:#fff;overflow:hidden}.owned-theme-group>summary{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px 50px 18px 18px;cursor:pointer;list-style:none}.owned-theme-group>summary::-webkit-details-marker,.owned-pathway-group>summary::-webkit-details-marker{display:none}.owned-theme-group>summary:after{position:absolute;right:20px;color:#4d7a61;font-size:22px;content:"+"}.owned-theme-group[open]>summary:after{content:"−"}.owned-group-number{display:grid;width:48px;height:48px;place-items:center;border-radius:13px;background:#eaf3ed;color:#2f6f52;font-family:Georgia,"Times New Roman",serif;font-size:20px}.owned-readiness-group .owned-group-number{background:#f4ead6;color:#906f2b}.owned-theme-group>summary>span:nth-child(2){display:grid;gap:3px;min-width:0}.owned-theme-group>summary small{color:#48745c;font-size:9px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.owned-theme-group>summary strong{color:#213f31;font-size:18px}.owned-theme-group>summary em{overflow:hidden;color:#748078;font-size:12px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.owned-group-count{padding:7px 10px;border-radius:999px;background:#edf4ef;color:#3e6751;font-size:11px;font-weight:850;white-space:nowrap}.owned-subgroup-stack{padding:0 12px 12px;border-top:1px solid #edf1ee;background:#f8faf8}
.owned-pathway-group{margin-top:10px;border:1px solid #dfe6e1;border-radius:11px;background:#fff;overflow:hidden}.owned-pathway-group>summary{position:relative;display:grid;grid-template-columns:105px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 42px 14px 16px;cursor:pointer;list-style:none}.owned-pathway-group>summary:after{position:absolute;right:16px;color:#5d7a68;content:"⌄";transition:.2s}.owned-pathway-group[open]>summary:after{transform:rotate(180deg)}.owned-pathway-group>summary>span{color:#397254;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.owned-pathway-group>summary>strong{overflow:hidden;color:#294737;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.owned-pathway-group>summary>small{color:#758279;font-size:11px;font-weight:750;white-space:nowrap}
.owned-activity-list{display:grid;gap:8px;margin:0;padding:10px 12px 12px;border-top:1px solid #edf1ee;background:#f8faf8;list-style:none}.owned-activity-list>li{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:start;gap:14px;padding:16px;border:1px solid #e0e7e2;border-radius:10px;background:#fff}.owned-activity-index{display:grid;place-items:center;padding:8px 4px;border-radius:9px;background:#f0f5f1;color:#416b54}.owned-activity-index span{font-size:8px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.owned-activity-index strong{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:500}.owned-activity-copy{min-width:0}.owned-activity-meta{display:flex;align-items:center;gap:10px;margin-bottom:5px;font-size:10px;white-space:nowrap}.owned-activity-meta strong{color:#2f6f52}.owned-activity-meta time{color:#7a877f}.owned-activity-copy h4{margin:0 0 5px;color:#244334;font-size:15px}.owned-activity-copy p{display:-webkit-box;margin:0;color:#596a61;font-size:14px;line-height:1.55;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;white-space:pre-wrap}.owned-activity-source{align-self:center;padding:8px 10px;border-radius:8px;background:#edf4ef;color:#2f6f52;font-size:11px;font-weight:850;text-decoration:none;white-space:nowrap}.owned-activity-source:hover{background:#dfece3}.owned-personal-empty{margin-top:0}
.owned-activity-add-dialog{width:min(780px,calc(100vw - 32px))}.owned-destination-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.owned-destination-choice label{display:block}.owned-destination-choice input{position:absolute;opacity:0;pointer-events:none}.owned-destination-choice label>span{display:grid;gap:4px;min-height:62px;padding:13px;border:1px solid #d2ddd5;border-radius:10px;background:#fff;cursor:pointer}.owned-destination-choice label>span strong{color:#294737;font-size:13px}.owned-destination-choice label>span small{color:#78847d;font-size:11px;font-weight:500}.owned-destination-choice input:checked+span{border-color:#3f765a;background:#edf5ef;box-shadow:0 0 0 2px rgba(63,118,90,.1)}.owned-destination-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.owned-destination-fields select{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #cbd7ce;border-radius:9px;background:#fff;color:#294737;font:inherit}.owned-destination-fields[hidden],[data-readiness-title][hidden]{display:none}
@media(max-width:850px){.owned-activity-overview{grid-template-columns:1fr}.owned-catalog-heading{align-items:flex-start;flex-direction:column}.owned-theme-group>summary{grid-template-columns:46px minmax(0,1fr)}.owned-group-count{grid-column:2;justify-self:start}.owned-destination-choice{grid-template-columns:1fr}.owned-activity-list>li{grid-template-columns:52px minmax(0,1fr)}.owned-activity-source{grid-column:2;justify-self:start}.owned-destination-fields{grid-template-columns:1fr}}
@media(max-width:720px){.my-activities-actions{align-items:stretch;flex-direction:column}.owned-activity-search{width:100%}.owned-catalog-section{padding:18px 14px;border-radius:17px}.owned-theme-group>summary{gap:11px;padding:15px 40px 15px 12px}.owned-theme-group>summary:after{right:14px}.owned-group-number{width:42px;height:42px}.owned-theme-group>summary em{display:none}.owned-pathway-group>summary{grid-template-columns:1fr;padding:13px 36px 13px 14px}.owned-pathway-group>summary>small{justify-self:start}.owned-activity-list{padding:8px}.owned-activity-list>li{gap:10px;padding:13px}.owned-activity-meta{align-items:flex-start;flex-direction:column;gap:2px;white-space:normal}.owned-activity-copy p{-webkit-line-clamp:4}}

/* v35 School Readiness activity parity with Learning Themes */
.readiness-idea-card{box-sizing:border-box;height:360px;gap:0}.readiness-idea-card.is-content-expanded{height:auto;min-height:360px}.readiness-idea-card>.theme-activity-delete{margin-top:auto}.readiness-idea-card.is-content-expanded>.theme-activity-delete{margin-top:18px}.readiness-idea-card .theme-activity-collapsible h4{margin:14px 0 9px;color:#173d2c;font-size:19px;line-height:1.35}.readiness-idea-card .readiness-activity-description{margin:0;color:#56685e;font-size:16px;line-height:1.62;white-space:pre-wrap}.readiness-idea-card .theme-activity-attachments{margin-top:13px}.readiness-idea-card>.activity-add-note-button{margin-top:11px}.readiness-ideas-panel>header .theme-add-activity{background:#fff}.readiness-ideas-panel>header .theme-add-activity:hover{background:#e8f1ea}
@media(max-width:720px){.readiness-ideas-panel>header .theme-add-activity{width:100%}.readiness-idea-card{padding:18px}.readiness-idea-card .theme-activity-collapsible h4{font-size:19px}.readiness-idea-card .readiness-activity-description{font-size:16px}}

/* v37 Resources navigation and shared Books / Mat Time libraries */
.nav-resource-menu{position:relative;margin:0;color:#111}.nav-resource-menu>summary{display:flex;align-items:center;gap:5px;padding:6px 8px;border-radius:8px;cursor:pointer;list-style:none;white-space:nowrap}.nav-resource-menu>summary::-webkit-details-marker{display:none}.nav-resource-menu>summary:hover,.nav-resource-menu[open]>summary,.nav-resource-menu:focus-within>summary{background:#f0f2f6}.nav-resource-menu>summary span{color:#657168;font-size:12px;transition:transform .18s}.nav-resource-menu[open]>summary span,.nav-resource-menu:hover>summary span{transform:rotate(180deg)}.nav-resource-dropdown{position:absolute;top:calc(100% + 8px);left:50%;z-index:80;display:none;min-width:180px;gap:4px;padding:8px;border:1px solid #dce4de;border-radius:12px;background:#fff;box-shadow:0 16px 40px rgba(18,45,32,.16);transform:translateX(-50%)}.nav-resource-menu[open]>.nav-resource-dropdown,.nav-resource-menu:hover>.nav-resource-dropdown,.nav-resource-menu:focus-within>.nav-resource-dropdown{display:grid}.nav-resource-dropdown:before{position:absolute;top:-6px;left:50%;width:10px;height:10px;border-top:1px solid #dce4de;border-left:1px solid #dce4de;background:#fff;content:"";transform:translateX(-50%) rotate(45deg)}.nav .nav-resource-dropdown a{position:relative;padding:10px 12px;color:#244334;font-size:14px;font-weight:750}.nav .nav-resource-dropdown a:hover,.nav .nav-resource-dropdown a:focus-visible{background:#edf4ef;outline:0}
.resource-library-page{--resource-deep:#173d2c;--resource-green:#2f6f52;--resource-mist:#edf4ef;max-width:1280px;margin:0 auto 80px;color:#203b2e}.resource-library-back{display:inline-flex;margin:22px 0 14px;color:var(--resource-green);font-size:13px;font-weight:850;text-decoration:none}.resource-library-hero{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:25px;overflow:hidden;padding:36px 40px;border-radius:23px;background:linear-gradient(135deg,#173d2c,#2f6f52);color:#fff;box-shadow:0 18px 45px rgba(23,61,44,.15)}.resource-library-mat-time .resource-library-hero{background:linear-gradient(135deg,#4c3528,#916a43)}.resource-library-hero:after{position:absolute;right:-90px;bottom:-150px;width:330px;height:330px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 52px rgba(255,255,255,.025);content:""}.resource-library-mark{display:grid;width:78px;height:78px;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:20px;background:rgba(255,255,255,.1);font-family:Georgia,"Times New Roman",serif;font-size:34px}.resource-library-hero>div:nth-child(2){position:relative;z-index:1}.resource-library-hero p{margin:0 0 7px;color:#bcd8c7;font-size:11px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.resource-library-mat-time .resource-library-hero p{color:#ead5bf}.resource-library-hero h1{margin:0 0 8px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,5vw,58px);font-weight:500;letter-spacing:-.04em}.resource-library-description{max-width:800px;color:#dce9e0;font-size:16px;line-height:1.6}.resource-library-mat-time .resource-library-description{color:#f2e6d8}.resource-library-hero aside{position:relative;z-index:1;display:grid;min-width:120px;place-items:center;padding:18px;border:1px solid rgba(255,255,255,.2);border-radius:17px;background:rgba(255,255,255,.09)}.resource-library-hero aside strong{font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:500}.resource-library-hero aside span{font-size:9px;font-weight:900;letter-spacing:.1em;text-align:center;text-transform:uppercase}.resource-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.resource-library-search{position:relative;display:block;width:min(560px,100%);margin:0}.resource-library-search svg{position:absolute;top:50%;left:15px;width:21px;fill:none;stroke:#698075;stroke-linecap:round;stroke-width:1.8;transform:translateY(-50%)}.resource-library-search input{padding:14px 16px 14px 47px;border-color:#cbd9cf;border-radius:12px;outline:0}.resource-library-search input:focus{border-color:#70a082;box-shadow:0 0 0 3px rgba(74,126,94,.11)}.resource-library-add{flex:0 0 auto;padding:13px 17px;border-radius:11px;background:var(--resource-deep);font:inherit;font-size:14px;font-weight:850;box-shadow:0 5px 16px rgba(23,61,44,.15)}.resource-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.resource-library-card{box-sizing:border-box;display:flex;height:390px;min-width:0;flex-direction:column;padding:21px;border:1px solid #d9e2da;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(25,58,44,.055)}.resource-library-card.is-expanded{height:auto;min-height:390px}.resource-library-card-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.resource-library-card-top>div{display:flex;min-width:0;align-items:baseline;gap:7px;white-space:nowrap}.resource-library-card-top>div>span{color:#98772e;font-size:10px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.resource-library-card-top small{display:flex;min-width:0;align-items:baseline;gap:5px;color:#78837c;font-size:clamp(8px,.7vw,10px)}.resource-library-card-top small strong{color:#2b6548}.resource-library-edit{padding:0;background:transparent;color:var(--resource-green);font:inherit;font-size:13px;font-weight:850}.resource-library-card-content{position:relative;max-height:226px;overflow:hidden}.resource-library-card.is-expanded .resource-library-card-content{max-height:none;overflow:visible}.resource-library-card.is-collapsible:not(.is-expanded) .resource-library-card-content:after{position:absolute;right:0;bottom:0;left:0;height:44px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 82%);content:"";pointer-events:none}.resource-library-card h2{margin:16px 0 9px;color:var(--resource-deep);font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:500;line-height:1.24}.resource-library-card-content>p{margin:0;color:#586b60;font-size:15px;line-height:1.6;white-space:pre-wrap}.resource-library-card .theme-activity-attachments{margin-top:14px}.resource-library-more{align-self:flex-start;margin:7px 0 0;padding:3px 0;background:transparent;color:var(--resource-green);font:inherit;font-size:11px;font-weight:900;text-decoration:underline;text-underline-offset:3px}.resource-library-delete{margin-top:auto;padding-top:13px;border-top:1px solid #e9eee9}.resource-library-card.is-expanded .resource-library-delete{margin-top:18px}.resource-library-delete button{padding:0;background:transparent;color:#9b4940;font:inherit;font-size:13px;font-weight:850}.resource-library-empty{display:grid;min-height:340px;place-items:center;align-content:center;margin-top:20px;padding:35px;border:1px dashed #bfcfc4;border-radius:20px;background:#fff;text-align:center}.resource-library-empty>div{display:grid;width:70px;height:70px;place-items:center;border-radius:18px;background:var(--resource-mist);color:var(--resource-green);font-family:Georgia,"Times New Roman",serif;font-size:29px}.resource-library-empty h2{margin:20px 0 8px;color:var(--resource-deep);font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500}.resource-library-empty p{max-width:600px;margin:0 0 20px;color:#66766d;line-height:1.6}.resource-library-no-results{padding:45px;border:1px dashed #c7d3ca;border-radius:16px;background:#fff;color:#66766d;text-align:center}
@media(max-width:1000px){.resource-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-library-hero{grid-template-columns:72px minmax(0,1fr)}.resource-library-mark{width:64px;height:64px}.resource-library-hero aside{grid-column:2;justify-self:start;grid-auto-flow:column;gap:7px;padding:8px 12px}.resource-library-hero aside strong{font-size:24px}}
@media(max-width:720px){.nav-resource-dropdown{position:fixed;top:58px;right:12px;left:12px;min-width:0;transform:none}.nav-resource-dropdown:before{display:none}.resource-library-hero{grid-template-columns:1fr;padding:28px 23px}.resource-library-mark{width:58px;height:58px}.resource-library-hero aside{grid-column:1}.resource-library-toolbar{align-items:stretch;flex-direction:column}.resource-library-add{width:100%}.resource-library-grid{grid-template-columns:1fr}.resource-library-card{padding:18px}}

/* 20260812-book-theme-shelves-v38 */
.resource-library-toolbar-actions{display:flex;flex:0 0 auto;align-items:center;gap:9px}.resource-library-add-secondary{border:1px solid #a9c4b2;background:#fff;color:var(--resource-deep);box-shadow:none}.resource-theme-help{margin:-4px 0 3px;color:#65776c;font-size:14px;line-height:1.55}.resource-theme-index{display:flex;gap:9px;margin:4px 0 24px;padding:2px 0 8px;overflow-x:auto;scrollbar-width:thin}.resource-theme-index a{display:flex;flex:0 0 auto;align-items:center;gap:9px;padding:10px 13px;border:1px solid #cfddd3;border-radius:999px;background:#fff;color:#315e48;font-size:12px;font-weight:800;text-decoration:none;transition:border-color .15s,background .15s}.resource-theme-index a:hover{border-color:#80aa8f;background:#f2f7f3}.resource-theme-index strong{display:grid;min-width:22px;height:22px;place-items:center;border-radius:999px;background:#e6f0e9;color:#285f45;font-size:10px}.resource-theme-shelves{display:grid;gap:22px}.resource-theme-shelf{scroll-margin-top:90px;padding:22px;border:1px solid #d4e0d7;border-radius:20px;background:#f6f9f6;box-shadow:0 8px 26px rgba(23,61,44,.045)}.resource-theme-shelf-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px;padding:0 3px}.resource-theme-shelf-header>div:first-child>span{color:#367456;font-size:10px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.resource-theme-shelf-header h2{margin:3px 0 1px;color:#173d2c;font-family:Georgia,"Times New Roman",serif;font-size:27px;font-weight:500}.resource-theme-shelf-header small{color:#718078;font-size:11px}.resource-theme-actions{display:flex;align-items:center;gap:7px}.resource-theme-actions button{padding:8px 10px;border:1px solid #b8cdbf;border-radius:8px;background:#fff;color:#2f6f52;font:inherit;font-size:11px;font-weight:850}.resource-theme-actions form button{border-color:#e6c3bf;color:#9b4940}.resource-theme-empty{padding:24px;border:1px dashed #c8d6cc;border-radius:13px;background:rgba(255,255,255,.7);color:#748279;font-size:13px;text-align:center}.resource-theme-shelf .resource-library-card{height:360px}.resource-theme-shelf .resource-library-card.is-expanded{height:auto;min-height:360px}.resource-theme-shelf .resource-library-card-content{max-height:198px}.theme-edit-dialog select{box-sizing:border-box;width:100%;min-height:48px;padding:10px 12px;border:1px solid #c4d4c9;border-radius:9px;background:#fff;color:#284334;font:inherit;font-size:14px}
@media(max-width:720px){.resource-library-toolbar-actions{align-items:stretch;flex-direction:column}.resource-theme-index{margin-top:0}.resource-theme-shelf{padding:15px}.resource-theme-shelf-header{align-items:flex-start;flex-direction:column}.resource-theme-actions{width:100%}.resource-theme-actions>button,.resource-theme-actions form,.resource-theme-actions form button{width:100%}}

/* 20260812-book-theme-cards-v39 */
.resource-books-browser{--theme-ink:#24372e;--theme-muted:#68786f;--theme-green:#2f6f52;--theme-card:#fffefa;margin-top:24px}.resource-books-browser .themes-browser-head{margin-bottom:22px}.resource-book-theme-grid{align-items:stretch}.resource-book-theme-wrap{position:relative;min-width:0}.resource-book-theme-wrap[hidden]{display:none}.resource-book-theme-card{box-sizing:border-box;height:100%;min-height:250px}.resource-book-theme-manage{position:absolute;z-index:2;top:18px;right:18px;display:flex;gap:5px;padding:4px;border:1px solid #d8e2da;border-radius:10px;background:rgba(255,255,255,.94);box-shadow:0 3px 10px rgba(30,57,43,.08)}.resource-book-theme-manage button{padding:5px 7px;border:0;background:transparent;color:#2f6f52;font:inherit;font-size:10px;font-weight:850}.resource-book-theme-manage form button{color:#9b4940}.resource-theme-detail-empty{margin-top:0}.resource-library-books .resource-library-no-results{margin-top:20px}
.mat-time-themes-page>.theme-back-link{display:inline-flex;margin-top:18px}.mat-time-theme-tools{display:flex;align-items:center;gap:12px}.mat-time-theme-tools .theme-add-pathway{flex:0 0 auto;white-space:nowrap}.mat-time-themes-page .resource-book-theme-wrap>.theme-library-card{box-sizing:border-box;height:100%}.mat-time-themes-page .themes-empty .theme-add-pathway{margin-top:12px}@media(max-width:760px){.mat-time-theme-tools{align-items:stretch;flex-direction:column}.mat-time-theme-tools .themes-search{width:100%}.mat-time-theme-tools .theme-add-pathway{width:100%}}
@media(max-width:1000px){.resource-book-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.resource-books-browser{padding:18px;border-radius:20px}.resource-book-theme-grid{grid-template-columns:1fr}.resource-book-theme-card{min-height:230px}}

/* 20260813-everything-v42 */
.everything-page{--everything-ink:#1d3c2d;--everything-green:#2f6f52;--everything-soft:#edf4ef;--everything-gold:#d4a758;max-width:1280px;margin:0 auto 80px;color:var(--everything-ink)}
.everything-back{display:inline-flex;margin:22px 0 14px;color:var(--everything-green);font-size:13px;font-weight:850;text-decoration:none}
.everything-hero{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:25px;overflow:hidden;padding:38px 40px;border-radius:24px;background:linear-gradient(130deg,#173d2c 0%,#2e684d 57%,#7a6a3c 135%);color:#fff;box-shadow:0 18px 45px rgba(23,61,44,.16)}
.everything-hero:after{position:absolute;right:-100px;bottom:-180px;width:360px;height:360px;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 58px rgba(255,255,255,.025);content:""}
.everything-hero-mark{display:grid;width:78px;height:78px;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:20px;background:rgba(255,255,255,.1);font-family:Georgia,"Times New Roman",serif;font-size:34px}
.everything-hero>div:nth-child(2){position:relative;z-index:1;min-width:0}.everything-hero p{margin:0 0 7px;color:#c6dfcf;font-size:11px;font-weight:950;letter-spacing:.13em;text-transform:uppercase}.everything-hero h1{margin:0 0 8px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(40px,5vw,59px);font-weight:500;letter-spacing:-.04em}.everything-hero>div:nth-child(2)>div{max-width:790px;color:#e1ece5;font-size:16px;line-height:1.6}.everything-hero aside{position:relative;z-index:1;display:grid;min-width:116px;place-items:center;padding:18px;border:1px solid rgba(255,255,255,.22);border-radius:17px;background:rgba(255,255,255,.09)}.everything-hero aside strong{font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:500}.everything-hero aside span{font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.everything-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.everything-search{position:relative;display:block;width:min(590px,100%);margin:0}.everything-search svg{position:absolute;top:50%;left:16px;width:21px;fill:none;stroke:#698075;stroke-linecap:round;stroke-width:1.8;transform:translateY(-50%)}.everything-search input{box-sizing:border-box;width:100%;padding:14px 16px 14px 48px;border:1px solid #cbd9cf;border-radius:12px;background:#fff;font:inherit;outline:0}.everything-search input:focus{border-color:#70a082;box-shadow:0 0 0 3px rgba(74,126,94,.11)}.everything-add{flex:0 0 auto;padding:13px 18px;border:0;border-radius:11px;background:#173d2c;color:#fff;font:inherit;font-size:14px;font-weight:850;box-shadow:0 6px 17px rgba(23,61,44,.16)}.everything-add:hover{background:#25563f}
.everything-category-filters{display:flex;gap:8px;margin:-2px 0 20px;padding:2px 0 7px;overflow-x:auto;scrollbar-width:thin}.everything-category-filters button{flex:0 0 auto;padding:9px 14px;border:1px solid #cddbd1;border-radius:999px;background:#fff;color:#466454;font:inherit;font-size:12px;font-weight:800}.everything-category-filters button:hover{border-color:#84a891;background:#f3f7f4}.everything-category-filters button.is-active{border-color:#2f6f52;background:#2f6f52;color:#fff}
.everything-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.everything-card{box-sizing:border-box;display:flex;height:300px;min-width:0;flex-direction:column;padding:22px;border:1px solid #d8e2da;border-radius:17px;background:#fffefa;box-shadow:0 6px 20px rgba(25,58,44,.06)}.everything-card[hidden]{display:none}.everything-card.is-expanded{height:auto;min-height:300px}.everything-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.everything-card-head>div{display:grid;gap:5px;min-width:0}.everything-card-head>div>span{color:#a07332;font-size:10px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.everything-card-head small{display:flex;min-width:0;flex-wrap:wrap;align-items:baseline;gap:4px 8px;color:#7c877f;font-size:10px}.everything-card-head small strong{color:#2f6f52}.everything-edit{padding:7px 10px;border:1px solid #c8d8cd;border-radius:8px;background:#fff;color:#2f6f52;font:inherit;font-size:11px;font-weight:850}.everything-edit:hover{background:#eef5f0}.everything-category{align-self:flex-start;max-width:100%;margin-top:12px;padding:5px 10px;overflow:hidden;border-radius:999px;background:#edf4ef;color:#2f6f52;font-size:10px;font-weight:900;letter-spacing:.035em;text-overflow:ellipsis;white-space:nowrap}.everything-card-content{position:relative;max-height:145px;overflow:hidden}.everything-card.is-expanded .everything-card-content{max-height:none;overflow:visible}.everything-card.is-collapsible:not(.is-expanded) .everything-card-content:after{position:absolute;right:0;bottom:0;left:0;height:43px;background:linear-gradient(180deg,rgba(255,254,250,0),#fffefa 84%);content:"";pointer-events:none}.everything-card-content h2{margin:13px 0 7px;color:#173d2c;font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:500;line-height:1.2;overflow-wrap:anywhere}.everything-card-content>p{margin:0;color:#596b61;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.everything-card .theme-activity-attachments{margin-top:11px}.everything-more{align-self:flex-start;margin:5px 0 0;padding:2px 0;border:0;background:transparent;color:#2f6f52;font:inherit;font-size:11px;font-weight:900;text-decoration:underline;text-underline-offset:3px}.everything-delete{margin-top:auto;padding-top:10px;border-top:1px solid #e8ede8}.everything-card.is-expanded .everything-delete{margin-top:15px}.everything-delete button{padding:0;border:0;background:transparent;color:#9b4940;font:inherit;font-size:12px;font-weight:850}.everything-empty{display:grid;min-height:350px;place-items:center;align-content:center;padding:36px;border:1px dashed #becfc3;border-radius:20px;background:#fff;text-align:center}.everything-empty>div{display:grid;width:70px;height:70px;place-items:center;border-radius:18px;background:#edf4ef;color:#2f6f52;font-family:Georgia,"Times New Roman",serif;font-size:29px}.everything-empty h2{margin:20px 0 8px;color:#173d2c;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500}.everything-empty p{max-width:610px;margin:0 0 20px;color:#66766d;line-height:1.6}.everything-no-results{padding:46px;border:1px dashed #c7d3ca;border-radius:16px;background:#fff;color:#66766d;text-align:center}.everything-dialog{width:min(700px,calc(100vw - 32px))}.everything-dialog .everything-category-help{margin:-4px 0 2px;color:#728078;font-size:11px;line-height:1.45}.everything-dialog select{box-sizing:border-box;width:100%;min-height:48px;padding:10px 12px;border:1px solid #c4d4c9;border-radius:9px;background:#fff;color:#284334;font:inherit;font-size:14px}
@media(max-width:1000px){.everything-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.everything-hero{grid-template-columns:72px minmax(0,1fr)}.everything-hero-mark{width:64px;height:64px}.everything-hero aside{grid-column:2;justify-self:start;grid-auto-flow:column;gap:7px;padding:8px 12px}.everything-hero aside strong{font-size:24px}}
@media(max-width:720px){.everything-hero{grid-template-columns:1fr;padding:28px 23px}.everything-hero-mark{width:58px;height:58px}.everything-hero aside{grid-column:1}.everything-toolbar{align-items:stretch;flex-direction:column}.everything-add{width:100%}.everything-grid{grid-template-columns:1fr}.everything-card{height:310px;padding:18px}.everything-card.is-expanded{min-height:310px}.everything-card-content h2{font-size:24px}.everything-empty{min-height:310px;padding:28px 20px}}
/* Shared Yearly Curriculum Overview */
.yearly-overview-page{max-width:1280px;margin:0 auto;padding:28px 22px 72px;color:#2c2416}
.learning-outcomes-mode{display:inline-flex;gap:4px;padding:4px;margin-bottom:22px;border:1px solid #d9e4dc;border-radius:999px;background:#fff}
.learning-outcomes-mode a{padding:9px 18px;border-radius:999px;color:#56685e;font-weight:800;text-decoration:none}
.learning-outcomes-mode a.is-active{background:#2f6f52;color:#fff}
.yearly-overview-hero{display:flex;justify-content:space-between;gap:30px;padding:38px 42px;border:1px solid #d9e4dc;border-radius:24px;background:linear-gradient(135deg,#173d2c,#2f6f52);color:#fff;box-shadow:0 20px 46px rgba(23,61,44,.13)}
.yearly-eyebrow{display:block;margin-bottom:10px;color:#d9eadf;font-size:.78rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.yearly-overview-hero h1{margin:0;font:700 clamp(2rem,4vw,3.4rem)/1.04 Georgia,serif}
.yearly-overview-hero p{max-width:760px;margin:15px 0 0;color:#e9f2ec;font-size:1.05rem;line-height:1.65}
.yearly-plan-status{align-self:flex-start;display:grid;gap:7px;min-width:150px;padding:14px 16px;border:1px solid rgba(255,255,255,.2);border-radius:15px;background:rgba(255,255,255,.09)}
.yearly-plan-status>span{font-weight:900}.yearly-plan-status small{color:#e2ece6}
.yearly-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0}
.year-switcher,.yearly-view-tabs{display:flex;align-items:center;gap:5px;padding:4px;border:1px solid #dce5df;border-radius:999px;background:#fff}
.year-switcher a{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#2f6f52;font-size:1.7rem;text-decoration:none}.year-switcher a:hover{background:#edf4ef}.year-switcher strong{padding:0 16px;font-size:1.1rem}
.yearly-view-tabs a{padding:9px 17px;border-radius:999px;color:#627168;font-weight:800;text-decoration:none}.yearly-view-tabs a.is-active{background:#e7f0e9;color:#2f6f52}
.yearly-owner-actions{display:flex;align-items:center;gap:9px}.yearly-owner-actions form{margin:0}
.yearly-plan-menu,.month-card-menu{position:relative}.yearly-plan-menu>summary,.month-card-menu>summary{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;cursor:pointer;list-style:none;color:#496153;font-weight:900}.yearly-plan-menu>summary::-webkit-details-marker,.month-card-menu>summary::-webkit-details-marker{display:none}.yearly-plan-menu[open]>summary,.month-card-menu[open]>summary{background:#eaf3ec;color:#2f6f52}
.yearly-plan-menu>form,.yearly-plan-menu>details,.yearly-plan-menu[open]::after{position:relative}.yearly-plan-menu[open]{padding:12px;min-width:230px;border:1px solid #d9e1db;border-radius:14px;background:#fff;box-shadow:0 16px 34px rgba(27,44,34,.16)}.yearly-plan-menu[open]>summary{position:absolute;right:6px;top:6px}.yearly-plan-menu label{display:grid;gap:6px;font-weight:800}.yearly-plan-menu select{max-width:185px}.yearly-plan-menu button{margin-top:8px}
.danger-text{color:#9b4940!important;background:transparent!important;border:0!important;font-weight:900!important}
.yearly-principle{margin:0 0 22px;padding:15px 18px;border-left:4px solid #73a284;border-radius:0 14px 14px 0;background:#edf4ef;color:#4f6257;line-height:1.55}
.yearly-empty{text-align:center;padding:70px 24px;border:1px dashed #bfd0c4;border-radius:22px;background:#fffdf8}.yearly-empty>span{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 18px;border-radius:20px;background:#eaf3ec;color:#2f6f52;font-size:1.8rem;font-weight:900}.yearly-empty h2{margin:0 0 9px;font:700 2rem Georgia,serif}.yearly-empty p{color:#718078}.yearly-create-actions{display:flex;justify-content:center;gap:10px;margin-top:22px}
.yearly-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.yearly-month-card{position:relative;display:flex;flex-direction:column;min-height:390px;padding:24px;border:1px solid #ded7cd;border-radius:20px;background:#fffefa;box-shadow:0 9px 24px rgba(45,37,24,.05)}.yearly-month-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(45,37,24,.08)}.yearly-month-card>header{display:flex;align-items:flex-start;justify-content:space-between}.yearly-month-card>header>div{display:flex;align-items:center;gap:10px}.yearly-month-card>header span:first-child{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eaf3ec;color:#2f6f52;font-size:.78rem;font-weight:900}.yearly-month-card h2{margin:0;font-size:1.08rem}.yearly-month-card>h3{margin:22px 0 15px;font:700 1.38rem/1.25 Georgia,serif}.month-chip-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:9px}.month-chip-row b{margin-right:2px;color:#53655a;font-size:.75rem;text-transform:uppercase}.month-chip-row span{padding:4px 8px;border-radius:999px;background:#2f6f52;color:#fff;font-size:.76rem;font-weight:900}.month-chip-row.is-revisit span{background:#edf4ef;color:#2f6f52;border:1px solid #cbdcd0}.month-boundary-row{display:flex;flex-wrap:wrap;gap:5px;margin:3px 0 10px}.month-boundary-row span{padding:4px 7px;border-radius:7px;background:#f5f0ea;color:#6c5d49;font-size:.72rem}.yearly-month-card ul{margin:8px 0 5px;padding-left:20px;color:#55655c;line-height:1.55}.yearly-month-card small{color:#718078}.month-view-button{margin-top:auto;padding:16px 0 0;border:0;background:transparent;color:#2f6f52;font-weight:900;text-align:left}.month-view-button span{float:right}.month-card-menu[open]{position:absolute;right:17px;top:18px;z-index:4;width:190px;padding:8px;border:1px solid #d8e1da;border-radius:13px;background:#fff;box-shadow:0 16px 32px rgba(31,48,38,.16)}.month-card-menu[open]>summary{margin-left:auto}.month-card-menu button{width:100%;padding:10px;border:0;border-radius:8px;background:transparent;color:#344a3d;text-align:left;font-weight:800}.month-card-menu button:hover{background:#edf4ef}
.yearly-month-dialog,.yearly-duplicate-dialog{width:min(1050px,calc(100vw - 32px));max-height:90vh;padding:0;border:0;border-radius:22px;background:#fff;box-shadow:0 28px 80px rgba(18,35,26,.3);color:#2c2416}.yearly-duplicate-dialog{width:min(520px,calc(100vw - 32px));padding-bottom:22px}.yearly-month-dialog::backdrop,.yearly-duplicate-dialog::backdrop{background:rgba(22,31,26,.56);backdrop-filter:blur(5px)}.yearly-dialog-head{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:25px 28px;border-bottom:1px solid #e1e7e2;background:#fff}.yearly-dialog-head span{color:#4a7c59;font-size:.75rem;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.yearly-dialog-head h2{margin:6px 0 0;font:700 1.8rem Georgia,serif}.yearly-dialog-close{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border:0;border-radius:50%;background:#edf4ef;color:#2f6f52;font-size:1.7rem}.yearly-dialog-view,.yearly-month-edit{padding:26px 28px 34px;overflow:auto}.yearly-dialog-view section{margin-bottom:24px}.yearly-dialog-view h3{margin:0 0 10px;font-size:1rem}.yearly-dialog-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-chip-list{display:flex;flex-wrap:wrap;gap:7px}.detail-chip-list span{padding:7px 10px;border:1px solid #ccddd1;border-radius:9px;background:#edf4ef;color:#315943;font-size:.84rem}.detail-chip-list b{margin-right:4px}.boundary-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.boundary-detail-grid article{padding:14px;border-radius:13px;background:#f7f3ed}.boundary-detail-grid h4{margin:0 0 8px}.boundary-detail-grid p{margin:0;color:#6d665b;font-size:.86rem;line-height:1.5}.experience-detail-list{columns:2;gap:28px;padding-left:20px}.experience-detail-list li{break-inside:avoid;margin:0 0 8px}.preserve-lines{white-space:pre-line;line-height:1.65}.yearly-month-edit{display:none}.yearly-month-dialog.is-editing .yearly-dialog-view{display:none}.yearly-month-dialog.is-editing .yearly-month-edit{display:grid;gap:18px}.yearly-month-edit>label,.yearly-duplicate-dialog label{display:grid;gap:7px;font-weight:900}.yearly-month-edit label small{font-weight:500;color:#718078}.yearly-month-edit fieldset{min-width:0;padding:14px;border:1px solid #dbe4de;border-radius:14px}.yearly-month-edit legend{padding:0 6px;color:#365642;font-weight:900}.yearly-outcome-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:280px;overflow:auto}.yearly-outcome-selector label{display:grid;grid-template-columns:auto 45px 1fr;align-items:start;gap:7px;padding:9px;border-radius:9px;background:#f8faf8;font-weight:500}.yearly-outcome-selector span{color:#58665e;font-size:.8rem}.yearly-boundary-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.yearly-boundary-selector label{display:flex;align-items:flex-start;gap:8px;padding:10px;border-radius:10px;background:#f7f3ed}.yearly-boundary-selector span{display:grid}.yearly-boundary-selector small{color:#72685b;font-weight:500}.yearly-dialog-actions{display:flex;justify-content:flex-end;gap:9px}.yearly-duplicate-dialog form{display:grid;gap:14px;padding:22px 28px}.yearly-duplicate-dialog p{color:#68736d;line-height:1.5}
.yearly-coverage>header{display:flex;justify-content:space-between;gap:24px;margin-bottom:18px}.yearly-coverage>header span{color:#4a7c59;font-size:.75rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.yearly-coverage>header h2{margin:5px 0 0;font:700 1.8rem Georgia,serif}.yearly-coverage>header p{max-width:420px;color:#68766e;line-height:1.55}.coverage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.coverage-card{padding:18px;border:1px solid #e0d9cf;border-radius:15px;background:#fffefa}.coverage-card>div{display:flex;align-items:center;justify-content:space-between}.coverage-card>div strong{display:grid;place-items:center;min-width:43px;height:34px;border-radius:9px;background:#ecebe7;color:#6e6a62}.coverage-card.is-represented>div strong{background:#e2efe5;color:#2f6f52}.coverage-card>div span{color:#79827c;font-size:.78rem}.coverage-card h3{margin:12px 0;color:#352e22;font-size:1rem}.coverage-card p{margin:5px 0;color:#667269;font-size:.86rem}
@media (max-width:1000px){.yearly-month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yearly-toolbar{flex-wrap:wrap}.yearly-owner-actions{margin-left:auto}.yearly-overview-hero{padding:32px}.yearly-outcome-selector,.yearly-boundary-selector{grid-template-columns:1fr}}
@media (max-width:720px){.yearly-overview-page{padding:18px 12px 48px}.yearly-overview-hero{display:block;padding:26px 22px;border-radius:19px}.yearly-plan-status{margin-top:20px}.yearly-toolbar{align-items:stretch}.yearly-view-tabs{order:3;width:100%}.yearly-view-tabs a{flex:1;text-align:center}.yearly-owner-actions{margin-left:0}.yearly-month-grid,.coverage-grid{grid-template-columns:1fr}.yearly-month-card{min-height:360px}.yearly-month-dialog,.yearly-duplicate-dialog{width:calc(100vw - 24px);max-height:calc(100vh - 24px);border-radius:18px}.yearly-dialog-head{padding:20px}.yearly-dialog-view,.yearly-month-edit{padding:21px}.yearly-dialog-columns,.boundary-detail-grid{grid-template-columns:1fr}.experience-detail-list{columns:1}.yearly-coverage>header{display:block}.yearly-create-actions{flex-direction:column;align-items:stretch}.yearly-create-actions form,.yearly-create-actions button{width:100%}}

/* Yearly curriculum integration with child and weekly planning */
.yearly-outcome-search{width:100%;margin-bottom:9px}.yearly-outcome-selector{grid-template-columns:1fr;gap:9px;max-height:300px}.yearly-outcome-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.yearly-outcome-group h4{grid-column:1/-1;margin:5px 0 0;color:#4a7c59;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase}@media(max-width:1000px){.yearly-outcome-group{grid-template-columns:1fr}}
/* v66 — independent 52-week Te Reo Māori resource directory */
.te-reo-programme-page{--reo-deep:#153f31;--reo-green:#2f6b55;--reo-koru:#8eb49d;--reo-soft:#eef5f0;--reo-warm:#f8f4ec;--reo-ink:#26342e;max-width:1280px;margin:0 auto 80px;color:var(--reo-ink)}
.te-reo-back{display:inline-flex;margin:22px 0 14px;color:var(--reo-green);font-size:13px;font-weight:850;text-decoration:none}
.te-reo-hero{position:relative;display:grid;grid-template-columns:86px minmax(0,1fr) 130px;align-items:center;gap:25px;overflow:hidden;padding:38px 42px;border-radius:23px;background:linear-gradient(135deg,#123a2c,#34745a);color:#fff;box-shadow:0 18px 46px rgba(21,63,49,.18)}
.te-reo-hero:after{position:absolute;right:-90px;bottom:-155px;width:340px;height:340px;border:1px solid rgba(255,255,255,.15);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.03);content:""}
.te-reo-hero-mark{position:relative;z-index:1;display:grid;width:76px;height:76px;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:21px;background:rgba(255,255,255,.1);font:500 31px Georgia,"Times New Roman",serif}
.te-reo-hero>div:nth-child(2){position:relative;z-index:1;min-width:0}.te-reo-hero p{margin:0 0 7px;color:#c3ddcc;font-size:11px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}.te-reo-hero h1{margin:0 0 9px;color:#fff;font:500 clamp(36px,4.7vw,58px)/1.07 Georgia,"Times New Roman",serif;letter-spacing:-.045em}.te-reo-hero-intro{max-width:800px;color:#dcebe1;font-size:16px;line-height:1.58}
.te-reo-hero aside{position:relative;z-index:1;display:grid;place-items:center;padding:18px;border:1px solid rgba(255,255,255,.22);border-radius:17px;background:rgba(255,255,255,.09)}.te-reo-hero aside strong{font:500 35px Georgia,"Times New Roman",serif}.te-reo-hero aside span{font-size:9px;font-weight:900;letter-spacing:.1em;text-align:center;text-transform:uppercase}
.te-reo-principle{display:grid;grid-template-columns:130px minmax(0,1fr);gap:4px 20px;margin:18px 0;padding:20px 23px;border:1px solid #d5e1d8;border-left:5px solid var(--reo-green);border-radius:14px;background:linear-gradient(120deg,#edf5f0,#fbfaf6)}.te-reo-principle span{grid-row:1/3;color:var(--reo-green);font-size:11px;font-weight:950;letter-spacing:.11em;text-transform:uppercase}.te-reo-principle p{margin:0;color:#2b493a;font-size:15px;font-weight:750;line-height:1.5}.te-reo-principle small{color:#64766c;font-size:12px;line-height:1.55}
.te-reo-toolbar{position:sticky;top:69px;z-index:12;display:grid;grid-template-columns:minmax(280px,1fr) 220px auto;align-items:center;gap:12px;margin:18px 0 22px;padding:11px;border:1px solid #d5e0d8;border-radius:15px;background:rgba(250,251,249,.96);box-shadow:0 7px 22px rgba(28,62,47,.08);backdrop-filter:blur(10px)}
.te-reo-search{position:relative;display:block;margin:0}.te-reo-search svg{position:absolute;top:50%;left:14px;width:20px;fill:none;stroke:#668073;stroke-linecap:round;stroke-width:1.8;transform:translateY(-50%)}.te-reo-search input{box-sizing:border-box;width:100%;height:45px;padding:10px 14px 10px 44px;border:1px solid #cbd8cf;border-radius:10px;background:#fff;color:var(--reo-ink);font:inherit;font-size:14px;outline:0}.te-reo-search input:focus,.te-reo-cycle-filter select:focus{border-color:#6d9a7e;box-shadow:0 0 0 3px rgba(47,107,85,.1)}
.te-reo-cycle-filter{position:relative;display:block;margin:0}.te-reo-cycle-filter>span{position:absolute;top:6px;left:12px;z-index:1;color:#708078;font-size:8px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.te-reo-cycle-filter select{box-sizing:border-box;width:100%;height:45px;padding:17px 36px 4px 11px;border:1px solid #cbd8cf;border-radius:10px;background:#fff;color:#254536;font:inherit;font-size:13px;font-weight:750;outline:0}.te-reo-toolbar>strong{padding:0 8px;color:var(--reo-green);font-size:12px;white-space:nowrap}
.te-reo-layout{display:grid;grid-template-columns:224px minmax(0,1fr);align-items:start;gap:20px}.te-reo-cycle-nav{position:sticky;top:151px;display:grid;overflow:hidden;border:1px solid #d8e2da;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(28,62,47,.06)}.te-reo-cycle-nav>span{padding:15px 16px 10px;color:#7b887f;font-size:9px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.te-reo-cycle-nav a{display:grid;grid-template-columns:27px minmax(0,1fr);align-items:center;gap:8px;padding:9px 14px;border-top:1px solid #edf0ed;color:#42574c;font-size:11px;font-weight:750;line-height:1.25;text-decoration:none}.te-reo-cycle-nav a:hover,.te-reo-cycle-nav a:focus{background:var(--reo-soft);color:var(--reo-deep)}.te-reo-cycle-nav b{color:var(--reo-green);font-size:9px;letter-spacing:.04em}
.te-reo-programme{min-width:0}.te-reo-programme>h2{scroll-margin-top:150px;margin:26px 0 12px;padding-bottom:8px;border-bottom:2px solid #dce9df;color:var(--reo-deep);font:500 27px/1.2 Georgia,"Times New Roman",serif}.te-reo-programme>h2:first-child{margin-top:0}.te-reo-programme>p,.te-reo-programme>ul{color:#566a5f;font-size:14px;line-height:1.68}.te-reo-programme>ul{padding-left:22px}.te-reo-programme>blockquote{margin:14px 0;padding:18px 20px;border-left:5px solid var(--reo-green);border-radius:0 12px 12px 0;background:var(--reo-soft);color:#315342;font:500 18px/1.55 Georgia,"Times New Roman",serif}
.te-reo-programme .note,.te-reo-programme .principle,.te-reo-programme .reflection{margin:14px 0;padding:15px 17px;border-left:4px solid var(--reo-green);border-radius:9px;background:var(--reo-soft);color:#3d584a;font-size:13px;line-height:1.62}.te-reo-programme>.note{margin-bottom:25px}.te-reo-programme .small{color:#6b7b72;font-size:12px}
.te-reo-programme .cycle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;scroll-margin-top:150px;margin:0 0 28px}.te-reo-programme .cycle[hidden],.te-reo-programme .week[hidden],.te-reo-no-results[hidden]{display:none}.te-reo-programme .cycle>h2{grid-column:1/-1;margin:4px 0 2px;padding:13px 17px;border-radius:12px;background:linear-gradient(105deg,#dfece3,#f6f8f5);color:var(--reo-deep);font:500 24px/1.25 Georgia,"Times New Roman",serif}.te-reo-programme .week{min-width:0;padding:18px;border:1px solid #d9e3db;border-radius:15px;background:#fffdfa;box-shadow:0 5px 17px rgba(31,66,50,.05)}.te-reo-programme .week h3{margin:0 0 11px;color:var(--reo-deep);font:500 20px/1.25 Georgia,"Times New Roman",serif}.te-reo-programme .week p{margin:9px 0 0;color:#586a60;font-size:13px;line-height:1.58}.te-reo-programme .week p strong{color:#324f40}.te-reo-programme .lang{padding:11px 12px;border:1px solid #d9e4dc;border-radius:9px;background:#f4f8f5;color:#4c6055;font-size:13px;line-height:1.65}.te-reo-programme .lang strong{color:#236044}.te-reo-programme em{color:#345c48}
.te-reo-no-results{display:grid;min-height:230px;place-items:center;align-content:center;gap:7px;padding:30px;border:1px dashed #bdcec2;border-radius:16px;background:#fff;text-align:center}.te-reo-no-results strong{color:var(--reo-deep);font:500 25px Georgia,"Times New Roman",serif}.te-reo-no-results span{color:#738078;font-size:13px}
@media(max-width:900px){.te-reo-hero{grid-template-columns:68px minmax(0,1fr);padding:30px}.te-reo-hero-mark{width:62px;height:62px}.te-reo-hero aside{display:none}.te-reo-layout{grid-template-columns:1fr}.te-reo-cycle-nav{position:static;display:flex;overflow-x:auto;border-radius:12px;scrollbar-width:thin}.te-reo-cycle-nav>span{display:none}.te-reo-cycle-nav a{flex:0 0 auto;grid-template-columns:auto auto;padding:11px 13px;border-top:0;border-left:1px solid #edf0ed;white-space:nowrap}.te-reo-cycle-nav b{font-size:10px}}
@media(max-width:680px){.te-reo-programme-page{margin-bottom:50px}.te-reo-back{margin-top:14px}.te-reo-hero{grid-template-columns:1fr;gap:14px;padding:25px 21px;border-radius:18px}.te-reo-hero-mark{width:52px;height:52px;border-radius:14px;font-size:23px}.te-reo-hero h1{font-size:36px}.te-reo-hero-intro{font-size:14px}.te-reo-principle{grid-template-columns:1fr;padding:17px}.te-reo-principle span{grid-row:auto}.te-reo-toolbar{position:static;grid-template-columns:1fr auto}.te-reo-search{grid-column:1/-1}.te-reo-cycle-filter{min-width:180px}.te-reo-programme .cycle{grid-template-columns:1fr}.te-reo-programme .cycle>h2{font-size:21px}.te-reo-programme>h2{font-size:24px}}
@media print{.topbar,.te-reo-back,.te-reo-toolbar,.te-reo-cycle-nav{display:none!important}.te-reo-programme-page{max-width:none;margin:0}.te-reo-hero{box-shadow:none}.te-reo-layout{display:block}.te-reo-programme .cycle{display:block}.te-reo-programme .week{break-inside:avoid;margin:0 0 12px;box-shadow:none}}

/* v68 — Te Reo programme uses the Theme Pathway and Activity Card components */
.te-reo-programme-page .te-reo-cycle-nav.theme-pathway-tabs{position:static;display:grid;overflow:visible;margin:16px auto 22px}
.te-reo-programme-page .te-reo-cycle-nav.theme-pathway-tabs a{display:flex;min-width:0;white-space:normal}
.te-reo-programme-page .te-reo-cycle-nav.theme-pathway-tabs span{margin-bottom:4px;font-size:10px;font-weight:950}
.te-reo-layout{display:block}.te-reo-programme{display:grid;gap:22px}.te-reo-programme .cycle.theme-pathway-card{display:block;scroll-margin-top:150px;margin:0;padding:30px;border:1px solid var(--theme-line);border-radius:21px;background:#fff;box-shadow:0 8px 32px rgba(24,58,44,.055)}
.te-reo-programme .te-reo-cycle-header{grid-template-columns:68px minmax(0,1fr);gap:18px;margin-bottom:20px}.te-reo-programme .te-reo-cycle-header .theme-pathway-badge{width:62px;height:62px;border-radius:15px}.te-reo-programme .te-reo-cycle-header .theme-pathway-badge strong{font-size:22px}.te-reo-programme .te-reo-cycle-header .theme-pathway-subtitle{margin:0 0 4px;font-size:11px}.te-reo-programme .te-reo-cycle-header h2{margin:0;padding:0;background:transparent;color:#173d2c;font-family:inherit;font-size:20px;font-weight:850;line-height:1.35;letter-spacing:-.01em}
.te-reo-programme .te-reo-week-grid.theme-activity-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px}.te-reo-programme .te-reo-week-grid .week.theme-activity-item{box-sizing:border-box;display:flex;height:360px;min-height:360px;min-width:0;flex-direction:column;padding:20px;border:1px solid #e0d7c5;border-radius:12px;background:#fff;color:#56685e;box-shadow:0 3px 12px rgba(54,46,30,.04);scroll-margin-top:150px}.te-reo-programme .te-reo-week-grid .week.theme-activity-item.is-content-expanded{height:auto;min-height:360px}
.te-reo-week-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;margin-bottom:12px}.te-reo-programme .te-reo-week-grid .week .te-reo-week-head h3{margin:3px 0 0;color:#173d2c;font-family:inherit;font-size:16px;font-weight:850;line-height:1.4;letter-spacing:0}
.te-reo-week-body{color:#56685e;font-size:14px;line-height:1.6}.te-reo-programme .te-reo-week-body p{margin:9px 0 0;color:#56685e;font-size:14px;line-height:1.6}.te-reo-programme .te-reo-week-body .lang{padding:11px 12px;font-size:14px}.te-reo-programme .te-reo-week-body .reflection,.te-reo-programme .te-reo-week-body .note,.te-reo-programme .te-reo-week-body .principle{font-size:14px}
.te-reo-week-menu{position:relative;z-index:5}.te-reo-week-menu>summary{display:grid;width:36px;height:36px;place-items:center;border-radius:9px;color:#62736a;font-size:13px;font-weight:950;letter-spacing:2px;cursor:pointer;list-style:none}.te-reo-week-menu>summary::-webkit-details-marker{display:none}.te-reo-week-menu[open]>summary,.te-reo-week-menu>summary:hover{background:#e9f2ec;color:#24563f}.te-reo-week-menu>div{position:absolute;top:40px;right:0;display:grid;width:190px;padding:7px;border:1px solid #d5e0d8;border-radius:12px;background:#fff;box-shadow:0 15px 35px rgba(26,50,38,.18)}.te-reo-week-menu button{padding:10px 11px;border:0;border-radius:8px;background:transparent;color:#345244;font:inherit;font-size:13px;font-weight:800;text-align:left;cursor:pointer}.te-reo-week-menu button:hover{background:#edf4ef;color:#173d2c}
.te-reo-week-attachments{margin-top:14px}.te-reo-programme .te-reo-week-grid .theme-activity-content-toggle{margin-top:8px}.te-reo-week-updated{display:block;margin-top:auto;padding-top:10px;color:#7a877f;font-size:11px;font-weight:700}.te-reo-week-dialog{width:min(800px,calc(100vw - 32px))}.te-reo-week-dialog h3{font-family:inherit;font-size:23px;font-weight:850}.te-reo-week-dialog .theme-edit-file-row>.theme-attachment-row{border:0;background:transparent}.te-reo-week-dialog .theme-edit-file-row>.theme-attachment-row:hover{background:#f4f8f5}
@media(max-width:1000px){.te-reo-programme .te-reo-week-grid.theme-activity-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.te-reo-programme-page .te-reo-cycle-nav.theme-pathway-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;padding:7px}.te-reo-programme-page .te-reo-cycle-nav.theme-pathway-tabs a{min-height:54px;padding:9px 10px}.te-reo-programme .cycle.theme-pathway-card{padding:18px}.te-reo-programme .te-reo-cycle-header{grid-template-columns:54px minmax(0,1fr);gap:12px}.te-reo-programme .te-reo-cycle-header .theme-pathway-badge{width:52px;height:52px}.te-reo-programme .te-reo-cycle-header h2{font-size:18px}.te-reo-programme .te-reo-week-grid.theme-activity-list{grid-template-columns:1fr}.te-reo-programme .te-reo-week-grid .week.theme-activity-item{padding:18px}.te-reo-week-menu>div{position:fixed;top:auto;right:14px;left:14px;width:auto}.te-reo-week-dialog h3{font-size:21px}}
@media print{.te-reo-week-menu,.te-reo-week-updated,.te-reo-week-dialog{display:none!important}.te-reo-programme .cycle.theme-pathway-card{padding:0;border:0;box-shadow:none}.te-reo-programme .te-reo-week-grid.theme-activity-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
