/* Atfaly shared website and staff workspace. Canonical fonts/tokens load first. */
:root {
    color-scheme: light;
    font-family: "Nunito Sans", "Noto Sans Arabic", system-ui, sans-serif;
    color: #172b4d;
    background: #faf8f3;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #147d79; text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible { outline: 3px solid #147d79; outline-offset: 4px; }
.scaffold-shell { max-width: 960px; margin-inline: auto; padding: 24px; min-height: 100dvh; display: flex; flex-direction: column; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 8px 28px; }
nav { display: flex; flex-wrap: wrap; gap: 18px; }
.brand { font-size: 1.5rem; font-weight: 800; text-decoration: none; }
main { flex: 1; background: #fff; border: 1px solid #dfe7e9; border-radius: 18px; padding: clamp(20px, 4vw, 36px); }
.marketing-root { padding:0; border:0; border-radius:0; background:#faf8f3; }
.portal-root { padding:0; border:0; border-radius:0; }
/* Blazor moves focus to the heading after navigation; it is not an interactive control. */
h1[tabindex="-1"]:focus { outline:none; }
h1 { font-size: clamp(1.6rem, 5vw, 2rem); line-height: 1.3; }
p, li { line-height: 1.7; }
.scaffold-label { font-weight: 700; color: #147d79; }
.scaffold-actions { display: flex; flex-wrap: wrap; gap: 16px; }
button { font: inherit; padding: 10px 16px; border: 0; border-radius: 8px; background: #147d79; color: #fff; cursor: pointer; }
.sofco-credit { padding-block: 24px 4px; justify-content: center; width: 100%; }
.sofco-brand { font-size: 1.3em; text-decoration: none; }
.sofco-brand:hover { text-decoration: none; }
.sidebar-credit { flex: 0 0 auto; display: flex; justify-content: center; align-items: baseline; gap: .3em; padding: 16px 8px 0; font-size: .75rem; color: #526579; direction: ltr; unicode-bidi: isolate; }
.sidebar-credit .sofco-brand { color: #147d79; white-space: nowrap; }
code { overflow-wrap: anywhere; }

html { scroll-behavior:smooth; scroll-padding-top:100px; }
body { overflow-x:hidden; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { letter-spacing:-.035em; }
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3 { letter-spacing:0; }
h2 { font-size:clamp(2rem,3.5vw,3.25rem); line-height:1.15; font-weight:800; margin-bottom:22px; }
h2 em { color:var(--atfaly-action); font-style:normal; }
button,input,select,textarea { font:inherit; }
button:disabled { cursor:not-allowed; opacity:.55; }
img { max-width:100%; }
.skip-link { position:fixed; top:8px; inset-inline-start:16px; padding:12px; z-index:100; background:white; transform:translateY(-150%); }
.skip-link:focus { transform:translateY(0); }
.section-wrap { max-width:1200px; margin-inline:auto; padding-inline:40px; }
.site-header { position:relative; z-index:5; padding:0; background:rgba(250,248,243,.94); border-bottom:1px solid rgba(223,231,233,.55); }
.site-header-inner { width:100%; max-width:1280px; margin:auto; padding:18px 40px; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.site-header .brand { display:flex; width:151px; flex-shrink:0; }
.site-header .brand img { display:block; width:151px; height:68px; object-fit:contain; }
.site-sign-in { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:.5rem; min-width:0; }
.site-header .site-sign-in .button { min-height:2.75rem; gap:.35rem; text-align:center; line-height:1.25; }
@media(max-width:1024px){.site-header-inner{gap:1rem}.site-header .desktop-nav{gap:.7rem 1rem}}
.desktop-nav { gap:30px; align-items:center; }
.desktop-nav a,.mobile-nav a { color:#526579; text-decoration:none; font-weight:700; font-size:.94rem; }
.desktop-nav a:hover,.mobile-nav a:hover { color:#147d79; }
.mobile-nav { display:none; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:16px; min-height:52px; padding:14px 23px; color:#fff; background:#147d79; border:1px solid #147d79; border-radius:13px; font-weight:800; text-decoration:none; box-shadow:0 6px 15px #147d7914; transition:transform .18s,background .18s; }
.button:hover { background:#106c68; transform:translateY(-2px); }
.button-small { padding:12px 18px; min-height:45px; font-size:.88rem; }
.button-secondary { background:white; color:#147d79; box-shadow:none; }
.button-secondary:hover { background:#e8f5f1; }
.text-link { font-weight:800; text-decoration:none; display:inline-flex; align-items:center; gap:10px; }
.eyebrow { display:inline-flex; align-items:center; gap:10px; font-size:.76rem; font-weight:800; letter-spacing:.11em; text-transform:uppercase; color:#147d79; margin-bottom:23px; }
[dir=rtl] .eyebrow { letter-spacing:0; font-size:.86rem; }
.tiny-sun { color:#f28a73; font-size:25px; }
.hero { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:40px; min-height:730px; padding-top:55px; padding-bottom:75px; }
.hero h1 { font-size:clamp(3.2rem,5.2vw,4.75rem); line-height:1.08; font-weight:900; margin-bottom:27px; }
.hero h1 span { display:block; color:#147d79; }
.hero-description { font-size:1.08rem; line-height:1.85; color:#526579; max-width:495px; margin-bottom:32px; }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:25px; }
.hero-reassurance { display:flex; flex-wrap:wrap; gap:24px; margin-top:29px; color:#526579; font-size:.78rem; font-weight:700; }
.hero-reassurance span { display:flex; align-items:center; gap:7px; }
.hero-reassurance img { width:17px; height:17px; }
.hero-scene { min-height:590px; display:flex; justify-content:center; align-items:center; position:relative; }
.scene-orbit { position:absolute; width:460px; height:460px; border-radius:50%; background:#e8f0e7; z-index:0; }
.orbit-two { width:390px; height:390px; border:1px solid #c4dcd0; background:transparent; transform:translate(23px,20px); }
.scene-spark { position:absolute; z-index:1; color:#f3c969; font-size:56px; }
.spark-one { top:20px; inset-inline-end:30px; }.spark-two { bottom:55px; inset-inline-start:35px; font-size:70px; color:#8b83cb; }
.phone-preview { width:277px; background:#fffdf9; border:7px solid white; border-radius:39px; position:relative; z-index:2; padding:14px 15px 10px; box-shadow:0 30px 70px #172b4d18,0 0 0 1px #dfe7e9; transform:rotate(4deg); }
[dir=rtl] .phone-preview { transform:rotate(-4deg); }
.phone-top { display:flex; justify-content:space-between; font-size:.64rem; font-weight:900; margin-bottom:25px; padding-inline:6px; }
.phone-greeting { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:17px; }
.phone-greeting img { width:42px; height:42px; }.phone-greeting small { font-size:.55rem; color:#526579; display:block; margin-bottom:4px; }.phone-greeting strong { font-size:.75rem; display:block; }
.phone-day { background:#e8f5f1; border-radius:15px; padding:17px 13px; }.phone-day>span { font-size:.48rem; font-weight:800; letter-spacing:.08em; color:#147d79; }.phone-day strong { display:block; font-size:1.02rem; line-height:1.35; margin-block:9px 12px; }.phone-day>div { display:flex; gap:8px; }.phone-day>div span { padding:4px 8px; border-radius:6px; background:#fff9; font-size:.56rem; color:#147d79; font-weight:800; }
.phone-moment { margin-top:15px; padding:0 12px 13px; border:1px solid #eee9e0; border-radius:15px; background:white; }.phone-moment img { width:100%; height:127px; object-fit:contain; }.phone-moment small { font-size:.46rem; font-weight:900; color:#147d79; letter-spacing:.08em; display:block; }.phone-moment strong { display:block; font-size:.85rem; margin-block:8px 6px; }.phone-moment p { font-size:.56rem; color:#526579; margin-bottom:0; }
.phone-tabs { display:flex; justify-content:space-around; padding-top:16px; font-size:1.2rem; color:#99a1a7; }.phone-tabs span { display:flex; flex-direction:column; align-items:center; gap:2px; }.phone-tabs small { font-size:.43rem; }.phone-tabs .selected { color:#147d79; }
.floating-note { position:absolute; z-index:3; background:#fff; border:1px solid #f2eee6; border-radius:15px; padding:15px 18px; display:flex; align-items:center; gap:11px; box-shadow:0 12px 40px #172b4d0c; transform:rotate(-5deg); }
.note-arrival { top:94px; inset-inline-start:-20px; }.note-report { bottom:95px; inset-inline-end:-12px; transform:rotate(4deg); }.floating-note strong { font-size:.76rem; display:block; }.floating-note small { font-size:.61rem; color:#526579; display:block; margin-top:4px; }.note-icon { width:35px; height:35px; display:grid; place-items:center; background:#e8f5f1; border-radius:11px; }.note-icon img { width:19px; }.note-icon.coral { background:#fff0e8; }
.sample-label { position:absolute; bottom:4px; color:#526579; font-size:.61rem; text-align:center; }
.promise-strip { display:flex; justify-content:center; align-items:center; gap:40px; background:#e8f5f1; border-block:1px solid #d5e8df; padding:25px; color:#31655e; font-weight:800; font-size:1rem; }.promise-strip i { color:#f28a73; font-style:normal; }
.feature-section { padding-block:100px; }.section-intro { max-width:620px; margin-bottom:44px; }.section-intro p { color:#526579; max-width:485px; font-size:1.02rem; }.section-intro .eyebrow { margin-bottom:18px; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }.feature-card { background:white; padding:28px; border:1px solid #eeeae2; border-radius:22px; transition:transform .18s,border-color .18s; }.feature-card:hover { transform:translateY(-4px); border-color:#c2dcd3; }.feature-icon { width:49px; height:49px; display:grid; place-items:center; border-radius:15px; margin-bottom:23px; }.feature-icon img { width:24px; height:24px; }.mint{background:#e8f5f1}.peach{background:#feeee6}.lilac{background:#efecfb}.butter{background:#fff6d9}.feature-card h3 { font-size:1.17rem; margin-bottom:11px; }.feature-card p { color:#526579; font-size:.9rem; margin-bottom:18px; }.feature-state { display:inline-block; font-size:.66rem; font-weight:800; color:#687a7c; padding:5px 8px; background:#f6f7f5; border-radius:6px; }
.nursery-section { background:#eff3ec; padding-block:85px; }.nursery-inner { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:85px; }.nursery-art { position:relative; min-height:380px; display:grid; place-items:center; }.nursery-art>img { width:100%; }.team-note { display:flex; gap:13px; align-items:center; background:white; border-radius:16px; padding:18px 24px; box-shadow:0 16px 38px #172b4d0a; position:absolute; bottom:2px; inset-inline-start:20px; }.team-note>span { background:#e8f5f1; border-radius:50%; width:35px; height:35px; display:grid; place-items:center; color:#147d79; }.team-note strong { display:block; font-size:.88rem; }.team-note small { display:block; color:#526579; margin-top:5px; font-size:.72rem; }.nursery-inner>div>p { color:#526579; }.check-list { list-style:none; padding:0; margin-block:26px; }.check-list li { display:flex; gap:10px; color:#3a555a; font-size:.91rem; padding-block:7px; }.check-list li::before { content:'✓'; color:#147d79; font-weight:800; }
.how-section { padding-block:100px; }.centered { text-align:center; margin-inline:auto; }.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:50px; margin-top:45px; }.step-number { display:inline-flex; background:#fff0e8; color:#a95f43; width:46px; height:46px; align-items:center; justify-content:center; border-radius:50%; font-size:.84rem; font-weight:800; margin-bottom:20px; }.steps-grid h3 { font-size:1.13rem; }.steps-grid p { color:#526579; font-size:.92rem; }
.trust-section { display:flex; align-items:center; gap:35px; background:#e8f5f1; border:1px solid #d3e6dc; border-radius:28px; padding:40px 50px; }.trust-section h2 { font-size:2rem; }.trust-section .eyebrow { margin-bottom:16px; }.trust-section p { color:#526579; margin:0; max-width:790px; font-size:.94rem; }.trust-icon { width:100px; height:100px; border-radius:50%; background:#fafffb; display:grid; place-items:center; flex-shrink:0; }.trust-icon img { width:42px; }
.faq-section { padding-block:100px; display:grid; grid-template-columns:1fr 1.4fr; gap:70px; }.faq-list details { border-bottom:1px solid #dfe7e9; padding-block:21px; }.faq-list summary { cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:18px; font-size:1rem; font-weight:800; list-style:none; }.faq-list summary::-webkit-details-marker { display:none; }.faq-list summary span { font-size:1.4rem; color:#147d79; font-weight:400; }.faq-list p { font-size:.9rem; color:#526579; margin-block:15px 0; padding-inline-end:20px; }
.closing-cta { text-align:center; padding:65px 24px 75px; background:#e8f0e7; }.closing-cta .tiny-sun { font-size:40px; }.closing-cta h2 { margin-top:14px; }.closing-cta p { color:#526579; }.closing-cta .button { margin-top:10px; }
.site-footer { max-width:1200px; margin:auto; padding:48px 40px 26px; display:grid; grid-template-columns:1fr auto; align-items:center; gap:20px; }.footer-name { font-size:1.5rem; font-weight:900; color:#147d79; }.footer-brand p { font-size:.85rem; color:#526579; margin-block:8px 0; }.footer-links { display:flex; gap:25px; }.footer-links a { text-decoration:none; font-size:.85rem; color:#526579; }.site-footer .sofco-credit { grid-column:1/-1; font-size:.76rem; color:#526579; padding-top:22px; }.info-page { padding-block:60px; min-height:65vh; max-width:850px; }.info-page h1 { font-size:2.7rem; }.info-page p { color:#526579; }.notice { padding:16px 20px; border:1px solid #d5e8df; background:#e8f5f1; border-radius:12px; margin-block:18px; }

/* Staff workspace */
.portal-root { min-height:80vh; }.portal-page { min-height:100vh; display:grid; grid-template-columns:224px minmax(0,1fr); background:#f7f8f5; }.portal-sidebar { background:#fff; border-inline-end:1px solid #e5eae6; padding:23px 18px; display:flex; flex-direction:column; gap:30px; }.portal-brand img { width:132px; height:63px; object-fit:contain; }.portal-sidebar nav { display:flex; flex-direction:column; gap:7px; }.portal-nav-item { display:flex; align-items:center; gap:11px; color:#64756f; border:0; background:transparent; width:100%; padding:12px 13px; border-radius:10px; text-align:start; font-size:.88rem; text-decoration:none; font-weight:700; }.portal-nav-item img { width:19px; height:19px; opacity:.72; }.portal-nav-item.active { color:#147d79; background:#e8f5f1; }.portal-nav-item:disabled { opacity:.65; cursor:not-allowed; }.nav-soon { margin-inline-start:auto; font-size:.55rem; background:#f2f3f0; padding:3px 5px; border-radius:5px; }.sidebar-bottom { margin-top:auto; font-size:.73rem; color:#6a7d72; padding-inline:13px; }.portal-main { min-width:0; }.portal-topbar { min-height:81px; border-bottom:1px solid #e5eae6; background:#fff; padding:20px 32px; display:flex; justify-content:space-between; align-items:center; gap:18px; }.portal-topbar .context-label { font-size:.65rem; color:#87958c; display:block; margin-bottom:4px; text-transform:uppercase; letter-spacing:.08em; }.portal-topbar select { border:0; color:#172b4d; font-weight:800; font-size:.95rem; background:#fff; max-width:280px; }.account-controls { display:flex; align-items:center; gap:18px; font-size:.78rem; }.account-controls button { background:none; color:#526579; padding:4px; font-size:.78rem; }.account-role { padding:5px 9px; border-radius:6px; font-size:.65rem; background:#e8f5f1; color:#147d79; text-transform:capitalize; }.portal-content { max-width:1400px; padding:30px 32px 50px; }.portal-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:27px; }.portal-heading h1 { font-size:1.8rem; margin-bottom:9px; font-weight:900; }.portal-heading p { margin:0; color:#6c7b73; font-size:.86rem; }.small-date { color:#728378; font-size:.77rem; }.workspace-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-block:22px; }.metric-card { background:#fff; border:1px solid #e4e9e5; padding:21px; border-radius:16px; }.metric-card .metric-label { display:flex; justify-content:space-between; gap:8px; color:#728078; font-size:.73rem; }.metric-card img { width:19px; height:19px; }.metric-card strong { display:block; font-size:1.9rem; color:#172b4d; margin-top:12px; line-height:1.1; }.metric-card small { display:block; color:#829087; font-size:.65rem; margin-top:8px; }.workspace-panel { background:#fff; border:1px solid #e4e9e5; border-radius:18px; overflow:hidden; margin-block:22px; }.panel-heading { padding:22px 24px; display:flex; justify-content:space-between; align-items:center; gap:18px; border-bottom:1px solid #edf0ec; }.panel-heading h2 { font-size:1rem; margin:0; letter-spacing:0; }.panel-heading p { font-size:.75rem; color:#728078; margin:5px 0 0; }.filters { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:18px 24px; }.field { display:flex; flex-direction:column; gap:6px; font-size:.72rem; color:#66786c; }.field input,.field select,.field textarea { width:100%; padding:10px 12px; border:1px solid #dce4df; border-radius:9px; background:#fff; color:#172b4d; font-size:.86rem; outline-offset:3px; }.search-field { flex:1; min-width:170px; }.field textarea { min-height:95px; resize:vertical; }.compact-select { min-width:140px; }.table-wrap { overflow:auto; }.data-table { width:100%; border-collapse:collapse; font-size:.8rem; white-space:nowrap; }.data-table th { text-align:start; color:#879489; font-size:.63rem; text-transform:uppercase; letter-spacing:.06em; background:#fafbf9; font-weight:800; padding:13px 24px; border-block:1px solid #edf0ec; }.data-table td { padding:15px 24px; border-bottom:1px solid #f0f3ef; }.data-table tbody tr:last-child td { border-bottom:0; }.child-cell { display:flex; align-items:center; gap:11px; }.child-avatar { width:35px; height:35px; background:#e8f5f1; color:#147d79; display:grid; place-items:center; border-radius:11px; font-weight:900; font-size:.77rem; flex-shrink:0; }.child-avatar.coral { background:#ffefe7; color:#b7765a; }.child-cell strong { font-size:.8rem; display:block; }.child-cell small { display:block; font-size:.65rem; color:#87948b; margin-top:4px; }.status { padding:5px 9px; border-radius:6px; display:inline-flex; font-size:.65rem; font-weight:800; background:#f1f3ef; color:#7a857c; }.status.present,.status.published { color:#237155; background:#e8f5ee; }.status.absent { color:#a95846; background:#fff0ea; }.status.excused { color:#7160a5; background:#f0ecfa; }.status.draft { color:#9c7939; background:#fff7e6; }.table-action { border:1px solid #dce7df; color:#147d79; font-size:.69rem; background:#fff; border-radius:7px; padding:6px 10px; }.attendance-toggle { display:flex; gap:4px; }.attendance-toggle button { font-size:.62rem; padding:6px 8px; border:1px solid #e2e7e2; background:white; color:#819087; border-radius:6px; }.attendance-toggle button.selected { border-color:#147d79; color:#147d79; background:#e8f5f1; font-weight:800; }.panel-footer { padding:16px 24px; border-top:1px solid #edf0ec; display:flex; justify-content:space-between; gap:15px; align-items:center; font-size:.73rem; color:#829087; }.empty-state { padding:45px 24px; text-align:center; color:#728078; }.empty-state img { width:120px; height:88px; object-fit:contain; margin-bottom:16px; }.empty-state h3 { color:#172b4d; font-size:1.1rem; }.empty-state p { margin:0 auto 18px; max-width:430px; font-size:.85rem; }.flash { padding:12px 17px; border:1px solid #c6dfcf; color:#2f6c4c; border-radius:10px; font-size:.82rem; margin-bottom:18px; background:#edf8f0; }.flash.error { background:#fff0eb; color:#9c4a3e; border-color:#f1d5c8; }.workspace-columns { display:grid; grid-template-columns: minmax(280px,1fr) minmax(300px,1fr); gap:22px; }.report-form { padding:22px 24px; display:grid; gap:16px; }.field-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }.preview-card { margin:22px; background:#fafbf8; border:1px solid #e1e8df; border-radius:16px; padding:24px; }.preview-card h3 { font-size:1.05rem; }.preview-values { display:grid; grid-template-columns:1fr 1fr; gap:13px; }.preview-values div { padding:13px; border-radius:10px; background:white; }.preview-values dt { font-size:.65rem; color:#829087; }.preview-values dd { font-size:.85rem; margin:7px 0 0; }.preview-card p { font-size:.84rem; color:#526579; }.preview-author { display:block; color:#7a8a7e; font-size:.65rem; margin-top:18px; }.login-page { padding:45px 24px 70px; min-height:85vh; background:radial-gradient(ellipse at 90% 5%,#e4efe5,transparent 48%),#faf8f3; }.login-card { margin:auto; max-width:540px; border:1px solid #e0e8df; padding:35px; border-radius:24px; background:#fff; box-shadow:0 15px 45px #172b4d06; }.login-card .login-logo { width:150px; display:block; margin-bottom:27px; }.login-card h1 { font-size:1.8rem; }.login-card>p { color:#728078; font-size:.89rem; }.login-account { display:flex; align-items:center; width:100%; gap:13px; padding:15px; border-radius:11px; border:1px solid #e0e7df; background:white; color:#172b4d; text-align:start; margin-block:10px; }.login-account:hover { background:#f4f8f2; border-color:#bfd7c7; }.login-account strong { display:block; font-size:.86rem; }.login-account small { display:block; font-size:.71rem; color:#829087; margin-top:4px; }.login-notice { padding:12px 15px; background:#fff8e8; border:1px solid #f0e4c8; border-radius:10px; font-size:.71rem; color:#91753c; margin-block:23px; line-height:1.7; }.login-footer { display:flex; justify-content:space-between; font-size:.78rem; margin-top:24px; }.mobile-workspace-tabs { display:none; }

@media(max-width:1100px){.hero{gap:10px}.hero-scene{transform:scale(.91);transform-origin:center}.note-arrival{inset-inline-start:-3px}.note-report{inset-inline-end:-2px}.desktop-nav{gap:18px}.nursery-inner{gap:40px}.portal-sidebar{padding-inline:12px}.portal-page{grid-template-columns:195px minmax(0,1fr)}.portal-content{padding-inline:24px}.workspace-metrics{grid-template-columns:repeat(2,1fr)}.workspace-columns{grid-template-columns:1fr}}
@media(max-width:800px){.section-wrap{padding-inline:24px}.site-header-inner{padding:13px 24px;gap:15px}.site-header .brand,.site-header .brand img{width:123px;height:56px}.desktop-nav{display:none}.mobile-nav{display:flex;justify-content:center;gap:30px;padding:8px 20px 14px}.mobile-nav a{font-size:.8rem}.hero{grid-template-columns:1fr;text-align:center;padding-top:43px;padding-bottom:35px;gap:5px}.hero h1{font-size:clamp(2.8rem,8vw,4.5rem)}.hero-copy{max-width:600px;margin:auto}.hero-description{margin-inline:auto}.hero-actions,.hero-reassurance{justify-content:center}.hero-scene{max-width:500px;width:100%;margin:auto;min-height:585px;transform:scale(.95)}.promise-strip{gap:18px;font-size:.82rem;padding:22px 16px;flex-wrap:wrap}.promise-strip i{font-size:.8rem}.feature-grid{grid-template-columns:repeat(2,1fr)}.feature-section,.how-section{padding-block:65px}.nursery-inner{grid-template-columns:1fr;gap:38px}.nursery-art{max-width:470px;margin:auto;min-height:330px;order:2}.nursery-section{padding-block:55px}.steps-grid{gap:25px}.trust-section{border-radius:0;gap:20px;padding:30px 24px}.trust-icon{width:65px;height:65px}.trust-icon img{width:29px}.trust-section h2{font-size:1.7rem}.faq-section{grid-template-columns:1fr;gap:0;padding-block:65px}.faq-section .section-intro{margin-bottom:8px}.site-footer{padding:32px 24px 20px}.footer-links{gap:18px}.portal-page{grid-template-columns:1fr}.portal-sidebar{display:none}.portal-topbar{padding:15px 20px;min-height:78px}.portal-topbar select{max-width:200px;font-size:.85rem}.account-controls{gap:9px}.account-controls .user-name{display:none}.portal-content{padding:23px 18px}.portal-heading{align-items:flex-start;flex-wrap:wrap}.portal-heading h1{font-size:1.6rem}.workspace-metrics{gap:10px}.metric-card{padding:17px}.mobile-workspace-tabs{display:flex;gap:7px;overflow:auto;margin-block:18px}.mobile-workspace-tabs button{flex-shrink:0;font-size:.78rem;background:#fff;color:#64756b;border:1px solid #dfe6dd;padding:10px 13px}.mobile-workspace-tabs button.active{background:#147d79;color:#fff;border-color:#147d79}.filters{padding:16px;gap:10px}.panel-heading{padding:18px 16px;flex-wrap:wrap}.data-table th,.data-table td{padding-inline:16px}.attendance-toggle button{padding:7px}.panel-footer{padding:15px 16px;flex-wrap:wrap}.account-role{display:none}.login-card{padding:27px 23px}.login-page{padding-inline:18px}.portal-topbar .context-label{font-size:.58rem}}
@media(max-width:480px){.site-header .button-small{font-size:.72rem;padding:10px 12px;min-height:40px}.hero h1{font-size:2.95rem}.hero-description{font-size:.97rem}.hero-actions{gap:19px}.hero-actions .button{font-size:.87rem;padding:13px 18px}.hero-scene{transform:scale(.83);width:calc(100% + 40px);margin-inline:-20px;min-height:540px;margin-block:-20px}.scene-orbit{width:370px;height:370px}.orbit-two{width:330px;height:330px}.floating-note{padding:12px;gap:8px}.floating-note strong{font-size:.67rem}.floating-note small{font-size:.54rem}.note-arrival{inset-inline-start:-8px;top:74px}.note-report{inset-inline-end:-8px;bottom:79px}.sample-label{bottom:-8px}.feature-grid{grid-template-columns:1fr}.feature-card{padding:24px}.steps-grid{grid-template-columns:1fr;gap:22px}.steps-grid article{display:grid;grid-template-columns:45px 1fr;column-gap:17px}.step-number{grid-row:1/3;margin-bottom:0}.steps-grid h3{margin-bottom:9px}.trust-section{align-items:flex-start;flex-direction:column}.site-footer{grid-template-columns:1fr}.footer-links{flex-wrap:wrap}.site-footer .sofco-credit{grid-column:1}.closing-cta h2{font-size:2.3rem}.field-row{grid-template-columns:1fr}.preview-values{grid-template-columns:1fr}.portal-topbar select{max-width:155px}.metric-card strong{font-size:1.65rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.login-roles{display:flex;gap:7px;margin-bottom:17px}.login-roles button{flex:1;background:#f5f7f2;color:#728078;font-size:.77rem;padding:10px 8px;border:1px solid #e4e9df;border-radius:8px}.login-roles button.selected{background:#e8f5f1;border-color:#bad5c5;color:#147d79;font-weight:800}.login-search{margin-bottom:12px}.account-count{font-size:.66rem!important;color:#87948b!important;margin-block:13px 9px}.account-more{width:100%;margin-top:12px}
.workspace-boot-state{min-height:75vh;max-width:600px;margin:auto;padding:65px 25px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.workspace-boot-state>img{width:170px;height:77px;object-fit:contain;margin-bottom:14px}.workspace-boot-state h1{font-size:1.65rem;margin:0}.workspace-boot-state p{font-size:.92rem;color:#728078;margin:0;max-width:425px}.workspace-boot-state>a{font-size:.82rem;margin-top:9px}.boot-progress{width:35px;height:35px;border:3px solid #dcebe2;border-top-color:#147d79;border-radius:50%;animation:boot-spin .9s linear infinite}.portal-root:has(.login-page,.portal-page) .workspace-boot-state{display:none}#main-content:focus-visible{outline:3px solid #147d79;outline-offset:-3px}#blazor-error-ui{display:none;background:#fff4e9;border-top:1px solid #ebd5bd;color:#7d4a30;padding:16px 56px 16px 22px;position:fixed;bottom:0;inset-inline:0;z-index:1000;font-size:.86rem;box-shadow:0 -4px 15px #172b4d0a}#blazor-error-ui .reload{margin-inline-start:16px;font-weight:800}#blazor-error-ui .dismiss{position:absolute;inset-inline-end:12px;top:8px;background:transparent;color:#7d4a30;font-size:1.3rem;padding:4px 9px}@keyframes boot-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.boot-progress{animation:none;border-color:#147d79}}

/* Approved visual reference65: warm editorial family hero and a compact phone. */
.hero{padding-top:54px;padding-bottom:38px;gap:32px;min-height:535px}.hero-copy h1{font-size:clamp(2.25rem,4.1vw,3.6rem);line-height:1.13;letter-spacing:-.045em;max-width:580px}.hero-description{max-width:440px;font-size:1.06rem;line-height:1.65}.hero .eyebrow{font-size:.78rem;letter-spacing:.07em}.hero-copy h1 span{color:var(--ink)}
.reference-hero-art{position:relative;min-height:450px;isolation:isolate;display:flex;align-items:flex-end;justify-content:center}.reference-hero-blob{position:absolute;inset:28px 4px 18px 0;background:#E8F5F1;border-radius:45% 55% 48% 52%;z-index:-1}.reference-family{position:absolute;bottom:22px;inset-inline-start:-25px;width:82%;max-height:410px;object-fit:contain;object-position:bottom}.reference-marketing-phone{position:relative;margin-inline-start:auto;margin-inline-end:0;margin-bottom:27px;width:188px;min-height:359px;padding:12px;background:#fffefa;border:5px solid #172B4D;border-radius:28px;box-shadow:0 20px 34px #172b4d20;transform:rotate(3deg);z-index:2}.reference-phone-status{display:flex;justify-content:space-between;font-size:8px;line-height:12px}.reference-phone-logo{width:70px;height:36px;object-fit:contain;display:block;margin:7px auto 9px}.reference-marketing-phone h2{font-size:13px;line-height:1.3;margin:0 0 12px;letter-spacing:-.02em}.reference-phone-row{display:flex;gap:7px;align-items:center;border-top:1px solid #e8e7e3;padding:10px 0}.reference-phone-row strong{font-size:10px;display:block}.reference-phone-row small{font-size:7.5px;display:block;line-height:1.6;color:#526579}.reference-phone-row b{font-size:15px;margin-inline-start:auto;font-weight:500}.reference-mini-icon{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;flex:none}.reference-mini-icon img{width:16px;height:16px}.reference-mini-icon.mint{background:#e8f5f1}.reference-mini-icon.coral{background:#fce2d8}.reference-mini-icon.lilac{background:#ede8fa}.reference-phone-book{display:block;width:92px;height:66px;object-fit:contain;margin:2px auto}.reference-phone-tabs{display:flex;justify-content:space-around;border-top:1px solid #e8e7e3;padding-top:7px;color:#147D79;font-size:13px}.reference-preview-label{position:absolute;bottom:0;inset-inline-end:0;font-size:10px;color:#526579}.reference-step-art{display:block;width:126px;height:100px;object-fit:contain;margin:0 auto 12px}.how-section .steps-grid{gap:34px}.steps-grid article{position:relative;text-align:center}.steps-grid .step-number{width:24px;height:24px;display:inline-grid;place-items:center;border-radius:50%;background:#147D79;color:white;font-size:11px;margin-bottom:8px}.steps-grid h3{font-size:1.15rem}.promise-strip{font-size:.86rem;padding-block:16px}.feature-grid{gap:15px}.feature-card{border-radius:19px}.feature-card p{font-size:.9rem}.hero-actions .button{border-radius:999px}.hero-reassurance{font-size:.75rem}.reference-family,.reference-step-art{user-select:none}
@media(min-width:1050px){.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-section{padding-top:38px}.reference-hero-art{margin-inline-start:-12px}.hero-copy{align-self:center}}
@media(max-width:780px){.hero{padding-top:32px;gap:4px}.hero-copy h1{font-size:2.4rem;max-width:520px}.hero-description{font-size:.98rem}.reference-hero-art{min-height:390px;max-width:540px;width:100%;margin:auto}.reference-family{width:83%;bottom:20px;inset-inline-start:-12px;max-height:350px}.reference-marketing-phone{width:167px;min-height:325px;border-width:4px;padding:10px;border-radius:24px}.reference-marketing-phone h2{font-size:12px}.reference-phone-row{padding:8px 0}.reference-hero-blob{inset:35px 6px 18px}.reference-phone-book{height:54px}.reference-preview-label{font-size:9px}.hero-actions{flex-wrap:wrap}}
@media(max-width:380px){.reference-hero-art{min-height:350px}.reference-marketing-phone{width:153px}.reference-family{width:80%;max-height:310px}.hero-copy h1{font-size:2.15rem}}

/* Approved manager reference64: ink navigation, light editorial workspace. */
.portal-sidebar{background:#172B4D;color:#e5eff5;border-inline-end:0;padding:23px 14px;gap:25px}.portal-brand{display:flex;align-items:center;gap:8px;color:white!important;padding:0 8px;text-decoration:none}.portal-sidebar .portal-brand img{width:42px;height:42px;object-fit:contain}.portal-brand span{font:900 23px/1.02 'Nunito Sans',sans-serif;letter-spacing:-.045em}.portal-brand b{display:block;font:800 17px/1.2 'Noto Sans Arabic',sans-serif;letter-spacing:0}.portal-sidebar .portal-nav-item{color:#e1eaf2;border-radius:11px;padding:10px 11px;font-size:.82rem;min-height:42px}.portal-sidebar .portal-nav-item img{filter:brightness(0) invert(1);opacity:.85;width:19px;height:19px}.portal-sidebar .portal-nav-item.active{background:#ffffff20;color:white;box-shadow:inset 3px 0 #8B83CB}.portal-sidebar .portal-nav-item:hover:not(:disabled){background:#ffffff16;color:white}.portal-sidebar .sidebar-bottom{color:#b9c9d7;font-size:.73rem}.portal-sidebar .sidebar-bottom a{color:#d6eee8}.portal-sidebar .sidebar-bottom>img{filter:brightness(0) invert(1);opacity:.7}.portal-sidebar .nav-soon{color:#c7d6e2;background:#ffffff18}.portal-topbar{background:#fffefa;min-height:72px;padding:15px 26px}.portal-topbar select{background:#E8F5F1;border-color:transparent;border-radius:9px;font-size:.82rem;font-weight:800;max-width:340px;padding:9px 34px 9px 11px}.portal-topbar .context-label{font-size:.61rem;letter-spacing:.06em}.portal-topbar .account-role{background:#EDE8FA;border-radius:8px;color:#574E8A;font-size:.68rem;padding:6px 9px}.portal-content{padding:24px 27px 32px}.portal-heading{margin-bottom:18px}.portal-heading h1{font-size:1.75rem;letter-spacing:-.035em;margin-bottom:5px}.portal-heading p{font-size:.86rem;line-height:1.6}.portal-heading .eyebrow{font-size:.66rem;letter-spacing:.055em}.portal-page{background:#FAF8F3}.portal-topbar .user-name{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem}.workspace-panel{border-radius:16px;border-color:#e6e8e5}.panel-heading{padding:17px 18px}.panel-heading h2{font-size:1rem}.panel-heading p{font-size:.78rem}.workspace-metrics .metric-card{border-radius:14px}.data-table th{font-size:.72rem}.data-table td{font-size:.8rem}.portal-main .button-small{border-radius:11px;font-size:.8rem}
@media(min-width:1000px){.portal-page{grid-template-columns:208px minmax(0,1fr)}}
@media(max-width:760px){.portal-content{padding:18px 14px 28px}.portal-topbar{padding:12px 14px;gap:9px;flex-wrap:wrap}.portal-topbar select{max-width:min(320px,calc(100vw - 28px))}.portal-heading h1{font-size:1.5rem}.portal-topbar .user-name{max-width:155px}.portal-topbar .account-controls{gap:8px;flex-wrap:wrap}}

[dir=rtl] .hero-copy h1{line-height:1.48;letter-spacing:0}[dir=rtl] .reference-marketing-phone h2{line-height:1.65}[dir=rtl] .portal-heading h1{letter-spacing:0;line-height:1.55}[dir=rtl] .portal-brand span{letter-spacing:0}

/* Keep the illustrated steps readable after the artwork was added to each card. */
@media(max-width:480px){
    .steps-grid article{display:flex;flex-direction:column;align-items:center}
    .steps-grid h3,.steps-grid p{align-self:stretch}
}


/* First-party app availability and a deliberate, user-opened support channel. */
.app-downloads{display:flex;flex-wrap:wrap;gap:12px;margin-block:22px 10px;align-items:stretch}
.store-button{display:inline-flex;gap:12px;align-items:center;justify-content:flex-start;min-height:66px;padding:11px 18px;border-radius:14px;border:1px solid #173746;background:#173746;color:#fff;text-decoration:none;text-align:start;line-height:1.4;font:inherit;max-width:100%}
.store-button svg{width:27px;height:30px;flex-shrink:0}.store-button span{min-width:0}.store-button small,.store-button strong{display:block}.store-button small{font-size:.7rem;font-weight:600}.store-button strong{font-size:1.05rem;font-weight:800}.store-os{font-weight:800;font-size:1.1rem}.store-unavailable{background:#eef1ed;color:#64736c;border-color:#d7e0d8;cursor:not-allowed}.store-button:focus-visible,.whatsapp-float:focus-visible{outline:3px solid #e7b94a;outline-offset:4px}.download-note{font-size:.8rem!important;color:#66796e;line-height:1.65!important;margin-block:8px 20px!important;max-width:530px}.app-downloads.compact{justify-content:center;margin-block:16px}.app-downloads.compact .store-button{min-height:58px}.whatsapp-float{position:fixed;inset-inline-end:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:30;display:flex;align-items:center;gap:9px;min-height:52px;padding:12px 18px;background:#147d79;color:#fff;border:2px solid #fff;border-radius:30px;box-shadow:0 5px 22px #17374630;text-decoration:none;font-weight:800;font-size:.85rem}.whatsapp-float svg{width:26px;height:26px}.info-page{max-width:900px;padding-bottom:100px}.info-page h2{font-size:1.35rem;margin-top:34px}.info-page p,.info-page li{line-height:1.85}.info-page ul{padding-inline-start:24px}.legal-updated{font-size:.85rem;color:#64736c}.legal-links,.contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-block:20px}.contact-card{padding:24px;background:#fff;border:1px solid #dce6df;border-radius:18px;margin-block:20px;overflow-wrap:anywhere}.contact-card a{color:#147d79}.site-footer{padding-bottom:95px}.footer-links{flex-wrap:wrap}
@media(max-width:600px){.app-downloads{flex-direction:column}.store-button{width:100%;justify-content:center}.whatsapp-float{inset-inline-end:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:10px 14px}.whatsapp-float span{font-size:.8rem}.desktop-nav{gap:14px}.mobile-nav{flex-wrap:wrap}.info-page h1{font-size:2rem}.info-page h2{font-size:1.18rem}.contact-card{padding:18px}}

/* On wide workspace screens the sidebar stays in view while its own contents
   scroll. The shared footer remains for sign-in, small screens and public pages. */
@media (min-width:801px) {
    .portal-page { align-items: start; }
    .portal-sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; gap: 0; }
    .portal-brand { flex: 0 0 auto; margin-bottom: 24px; }
    .portal-sidebar-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
    .portal-sidebar-scroll:focus-visible { outline: 3px solid #147d79; outline-offset: -3px; }
    .portal-sidebar-scroll .sidebar-bottom { margin-top: 24px; }
    body:has(.portal-page .portal-sidebar) .site-footer { display: none; }
}
@media (min-width:851px) {
    body:has(.admin-layout .admin-sidebar) .site-footer,
    body:has(.nursery-page .detail-sidebar) .site-footer { display: none; }
}
.portal-root:has(.admin-login, .admin-layout, .class-detail, .class-editor, .subjects-page, .curriculum-page,
    .people-page, .record-directory, .nursery-settings-page, .report-management, .communication-workspace,
    .attendance-correction-page, .push-operator-page, .staff-announcements, .nursery-pickups,
    .classroom-page, .staff-conversations, .staff-safety-page, .community-workspace, .case-workspace,
    .staff-memories) .workspace-boot-state { display: none; }
.site-footer .atfaly-version { color: var(--atfaly-text-secondary); }

.atfaly-draft-dialog {
    width: min(27rem, calc(100% - 2rem));
    border: 1px solid var(--atfaly-border);
    border-radius: 1rem;
    padding: clamp(1rem, 4vw, 1.75rem);
    background: var(--atfaly-surface);
    color: var(--atfaly-text);
    box-shadow: 0 .9rem 2.5rem #172b4d36;
}
.atfaly-draft-dialog::backdrop { background: #172b4d66; }
.atfaly-draft-dialog h2 { margin: 0; }
.atfaly-draft-dialog p { margin-block: .65rem 1.1rem; }
.atfaly-draft-dialog form { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; }
