/* d1-land.css · KAN-1748/1749/1751 (lane D1): page layout on the Nabras design system. Generated once by
   scripts/d1_ds_convert.py from the page's own styles; tokens and components come from /ds/. Tokens only, var(--font-sans) only. */:root{--l-bg:var(--section-alt);--l-card:var(--surface);--l-bg3:var(--surface-sunken);--l-border:var(--hairline);--l-text:var(--ink);--l-muted:var(--ink-muted);--l-link:var(--action);
  --l-cta:var(--action);--l-soft:var(--brand-tint);--l-ok:var(--correct);--l-scrim:var(--hairline);--l-shadow:var(--shadow-raised)}
html,body{margin:0;background:var(--l-bg);color:var(--l-text)}
body{font-family:var(--font-sans);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
.lp-sheet{box-sizing:border-box}
.lp-sheet *{box-sizing:border-box;margin:0}
.lp-h{font-size:16px;font-weight:500;line-height:1.4}
.lp-muted{color:var(--l-muted);font-size:15px}
.lp-strong{font-weight:500;margin-top:8px}
.lp-btn{min-height:52px;width:100%;border-radius:var(--radius-md);font:inherit;font-weight:600;font-size:19px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;padding:0 18px;cursor:pointer;text-decoration:none}
.lp-p{background:var(--l-cta);color:var(--on-action);box-shadow:none}
.lp-s{background:var(--l-bg3);color:var(--l-text);border:1px solid var(--l-border);font-size:16px;font-weight:500}
.lp-sm{min-height:44px;width:auto;font-size:15px;padding:0 14px;border-radius:var(--radius-md);box-shadow:none}
.lp-btn:focus-visible,.lp-link:focus-visible,.lp-close:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.lp-link{color:var(--l-link);font:inherit;font-weight:500;font-size:15px;min-height:44px;display:inline-flex;align-items:center;gap:4px;padding:0 6px;background:none;border:0;cursor:pointer;text-decoration:none}
.lp-card{background:var(--l-card);border:1px solid var(--l-border);border-radius:var(--radius-lg);padding:16px;box-shadow:var(--l-shadow)}
.lp-row{display:flex;align-items:center;gap:10px}
.lp-steps{list-style:none;padding:0;counter-reset:s}
.lp-steps li{display:flex;gap:12px;align-items:flex-start;padding:10px 0}
.lp-steps li::before{counter-increment:s;content:counter(s);width:32px;height:32px;border-radius:var(--radius-full);background:var(--l-soft);color:var(--l-link);font-weight:500;display:grid;place-items:center;flex-shrink:0}
.lp-mt8{margin-top:8px}
.lp-mt12{margin-top:12px}
.lp-mt16{margin-top:16px}
.lp-center{text-align:center}
.lp-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.lp-grid2 .lp-btn{width:100%}
.lp-lbl{display:block;font-weight:500;font-size:15px;margin:12px 0 6px}
.lp-field{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--l-border);border-radius:var(--radius-md);font:inherit;font-size:15px;background:var(--l-bg);color:var(--l-text)}
.lp-status{min-height:1.4em;margin-top:8px;font-size:15px;font-weight:600;color:var(--l-link)}
.lp-other{border-top:1px dashed var(--l-border);margin-top:10px;padding-top:8px;font-size:15px}
.lp-other code{display:block;direction:ltr;text-align:left;font-family:ui-monospace,Menlo,monospace;font-size:13px;overflow-wrap:anywhere}
.lp-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:560px;max-height:92vh;overflow:auto;border:0;padding:10px 16px calc(28px + env(safe-area-inset-bottom));
  background:var(--l-card);color:var(--l-text);border-radius:var(--radius-xl) var(--radius-xl) 0 0;box-shadow:var(--shadow-overlay);font-family:inherit}
.lp-sheet::backdrop{background:var(--l-scrim)}
.lp-handle{width:40px;height:5px;border-radius:var(--radius-sm);background:var(--l-border);margin:0 auto 14px}
.lp-close{position:absolute;top:8px;left:8px;display:grid;place-items:center;width:44px;height:44px;border:0;background:none;color:var(--l-muted);cursor:pointer;border-radius:var(--radius-full)}
.lp-addr{user-select:all;direction:ltr;unicode-bidi:isolate;font-weight:500}
.lp-sheet-title{padding-left:48px}
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes tap{0%,45%{border-color:var(--hairline);background:var(--surface)}55%{border-color:var(--action);background:var(--brand-tint)}75%,100%{border-color:var(--wrong);background:var(--wrong-tint)}}
@keyframes ok{from{border-color:var(--hairline);background:var(--surface)}to{border-color:var(--correct);background:var(--correct-tint)}}
@keyframes whyin{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes pop{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
html.pg-teachers body{margin:0;background:var(--surface);color:var(--ink);font-family:var(--font-sans)}
html.pg-teachers a{color:var(--action)}
html.pg-teachers a:hover{color:var(--action-pressed)}
html.pg-teachers .wrap{max-width:var(--content-max);margin-inline:auto;padding-inline:32px;box-sizing:border-box}
html.pg-teachers .pillbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:var(--radius-md);font-family:inherit;font-weight:600;font-size:16px;text-decoration:none;border:1px solid transparent;box-sizing:border-box;cursor:pointer;transition:transform .2s ease}
html.pg-teachers .pillbtn:hover{transform:none}
html.pg-teachers .dark{background:var(--deep);color:var(--on-action)}
html.pg-teachers .dark:hover{color:var(--on-action)}
html.pg-teachers .ghost{background:var(--surface);color:var(--ink);border-color:var(--hairline)}
html.pg-teachers .cyan{background:var(--brand);color:var(--ink)}
html.pg-teachers .pillbtn:focus-visible{outline:2px solid var(--action);outline-offset:3px}
html.pg-teachers .muted{color:var(--ink-muted)}
html.pg-teachers .card{background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-xl);box-sizing:border-box}
html.pg-teachers .step{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:10px;padding:28px;border-radius:var(--radius-xl);background:var(--section-alt)}
html.pg-teachers .step b{font-size:15px;color:var(--action)}
html.pg-teachers .fcard{display:flex;flex-direction:column;gap:8px}
html.pg-teachers details{border-bottom:1px solid var(--hairline);padding:18px 0}
html.pg-teachers summary{font-weight:600;font-size:18px;cursor:pointer}
html.pg-teachers .rise{animation:rise .8s cubic-bezier(.2,.8,.2,1) both}
html.pg-teachers .d1{animation-delay:.1s}
html.pg-teachers .d3{animation-delay:.5s}
html.pg-teachers .d4{animation-delay:1.6s}
@media (prefers-reduced-motion: reduce){html.pg-teachers *{animation:none!important;transition:none!important}}
html.pg-teachers .lm-av{flex:0 0 auto;width:28px;height:28px;border-radius:25%;overflow:hidden;display:inline-flex;vertical-align:middle}
html.pg-teachers .lm-head{display:flex;align-items:center;gap:8px}
@media (max-width: 1000px){html.pg-teachers .s4w{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
html.pg-teachers footer nav a,html.pg-teachers nav[aria-label="صفحات القدرات"] a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px}
@media (prefers-reduced-motion: reduce){html.pg-teachers .tap{border-color:var(--wrong)!important;background:var(--wrong-tint)!important}
html.pg-teachers .ok{border-color:var(--correct)!important;background:var(--correct-tint)!important}
html.pg-teachers .rise{opacity:1!important;transform:none!important}}
@media (max-width: 760px){html.pg-teachers .wrap{padding-inline:16px!important}
html.pg-teachers h1{line-height:1.35!important}
html.pg-teachers h2{font-size:24px !important}
html.pg-teachers nav[aria-label="القائمة الرئيسية"]{order:3;flex:1 1 100%!important;display:flex!important;flex-wrap:nowrap!important;gap:0 4px!important;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;scrollbar-width:none}
html.pg-teachers nav[aria-label="القائمة الرئيسية"]::-webkit-scrollbar{display:none}
html.pg-teachers header .pillbtn{min-height:44px!important;padding:0 14px!important;font-size:15px !important}
html.pg-teachers .s4w{grid-template-columns:1fr!important}
html.pg-teachers #lammah > div{padding:32px 18px!important}
html.pg-teachers #lammah h2{font-size:32px !important}
html.pg-teachers article p{font-size:16px !important}}
html.pg-teachers 
  main [hidden],html.pg-teachers dialog [hidden]{display:none!important}
html.pg-teachers .lp-own-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:6px 0;border-top:1px solid var(--l-border)}
html.pg-teachers .lp-own-row:first-child{border-top:0}
html.pg-teachers .lp-own-name{font-weight:500;overflow-wrap:anywhere;min-width:0}
html.pg-teachers a.lp-own-name{display:inline-flex;align-items:center;min-height:44px}
html.pg-teachers .lp-own-row .lp-muted{white-space:nowrap;font-size:15px}
html.pg-teachers 
  .lp-qr{width:min(240px,70vw);aspect-ratio:1;margin:12px auto 0;background:var(--surface);border-radius:var(--radius-md);padding:6px}
html.pg-teachers .lp-qr svg{width:100%;height:100%;display:block}
html.pg-teachers .lp-center{text-align:center}
/* KAN-1899 A3 (Samer 12 Nov, iPhone 390: the share sheet ran past the right edge and swung sideways): the copy textarea sat at
   left:-9999px inside an RTL scrolling sheet, which Safari counts as sideways scroll room. Now it is clipped in place, and the sheet
   never scrolls sideways; the link fields can shrink. */
html.pg-teachers .lp-kit-msg{position:absolute;top:0;inset-inline-start:0;width:1px;height:1px;opacity:0;overflow:hidden;clip-path:inset(50%);pointer-events:none;resize:none;border:0;padding:0}
.lp-sheet{overflow-x:hidden;max-width:min(560px,100vw)}
.lp-sheet .lp-field,.lp-sheet .lp-btn,.lp-sheet .lp-card{min-width:0;max-width:100%}
.lp-sheet .lp-h,.lp-sheet .lp-muted,.lp-sheet .lp-strong{overflow-wrap:anywhere}
html.pg-teachers body{background:var(--surface);color:var(--ink)}
html.pg-teachers .res a{display:inline-flex;align-items:center;min-height:44px}
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
html.pg-schools body{margin:0;background:var(--surface);color:var(--ink);font-family:var(--font-sans)}
html.pg-schools a{color:var(--action)}
html.pg-schools a:hover{color:var(--action-pressed)}
/* Button audit 2026-11-12 (B2): the page link colour above (0,1,2) beat .lp-p (0,1,0), so the main sheet button
   («أرسل في قروب الفصل» on /teachers, «راسلنا بالإيميل» on /schools) drew its label in the colour of its own background. */
html.pg-teachers a.lp-p,html.pg-teachers a.lp-p:hover,html.pg-schools a.lp-p,html.pg-schools a.lp-p:hover{color:var(--on-action)}
html.pg-schools .wrap{max-width:var(--content-max);margin-inline:auto;padding-inline:32px;box-sizing:border-box}
html.pg-schools .pillbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:var(--radius-md);font-family:inherit;font-weight:600;font-size:16px;text-decoration:none;border:1px solid transparent;box-sizing:border-box;cursor:pointer;transition:transform .2s ease}
html.pg-schools .pillbtn:hover{transform:none}
html.pg-schools .dark{background:var(--deep);color:var(--on-action)}
html.pg-schools .dark:hover{color:var(--on-action)}
html.pg-schools .ghost{background:var(--surface);color:var(--ink);border-color:var(--hairline)}
html.pg-schools .cyan{background:var(--brand);color:var(--ink)}
html.pg-schools .pillbtn:focus-visible{outline:2px solid var(--action);outline-offset:3px}
html.pg-schools .muted{color:var(--ink-muted)}
html.pg-schools .card{background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-xl);box-sizing:border-box}
html.pg-schools .step{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:10px;padding:28px;border-radius:var(--radius-xl);background:var(--section-alt)}
html.pg-schools .step b{font-size:15px;color:var(--action)}
html.pg-schools .fcard{display:flex;flex-direction:column;gap:8px}
html.pg-schools details{border-bottom:1px solid var(--hairline);padding:18px 0}
html.pg-schools summary{font-weight:600;font-size:18px;cursor:pointer}
html.pg-schools .rise{animation:rise .8s cubic-bezier(.2,.8,.2,1) both}
html.pg-schools .d1{animation-delay:.1s}
html.pg-schools .d3{animation-delay:.5s}
@media (prefers-reduced-motion: reduce){html.pg-schools *{animation:none!important;transition:none!important}}
html.pg-schools .lm-av{flex:0 0 auto;width:28px;height:28px;border-radius:25%;overflow:hidden;display:inline-flex;vertical-align:middle}
html.pg-schools .lm-head{display:flex;align-items:center;gap:8px}
@media (max-width: 1000px){html.pg-schools .s4w{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
html.pg-schools footer nav a,html.pg-schools nav[aria-label="صفحات القدرات"] a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px}
@media (prefers-reduced-motion: reduce){html.pg-schools .tap{border-color:var(--wrong)!important;background:var(--wrong-tint)!important}
html.pg-schools .ok{border-color:var(--correct)!important;background:var(--correct-tint)!important}
html.pg-schools .rise{opacity:1!important;transform:none!important}}
@media (max-width: 760px){html.pg-schools .wrap{padding-inline:16px!important}
html.pg-schools h1{line-height:1.35!important}
html.pg-schools h2{font-size:24px !important}
html.pg-schools nav[aria-label="القائمة الرئيسية"]{order:3;flex:1 1 100%!important;display:flex!important;flex-wrap:nowrap!important;gap:0 4px!important;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;scrollbar-width:none}
html.pg-schools nav[aria-label="القائمة الرئيسية"]::-webkit-scrollbar{display:none}
html.pg-schools header .pillbtn{min-height:44px!important;padding:0 14px!important;font-size:15px !important}
html.pg-schools .s4w{grid-template-columns:1fr!important}
html.pg-schools #lammah > div{padding:32px 18px!important}
html.pg-schools #lammah h2{font-size:32px !important}
html.pg-schools article p{font-size:16px !important}}
html.pg-schools #lp-pack-card{max-width:1000px}
html.pg-schools main [hidden],html.pg-schools dialog [hidden]{display:none!important}
html.pg-schools body{background:var(--surface);color:var(--ink)}
html.pg-schools .res a{display:inline-flex;align-items:center;min-height:44px}
:root:root:root .s0{position: absolute;width: 0;height: 0;overflow: hidden}
:root:root:root .s1{direction: rtl;overflow: hidden}
:root:root:root .se{min-height: 56px;font-size:18px;padding: 0 32px}
:root:root:root .sf{min-height: 56px;font-size:18px}
:root:root:root .sk{display: flex;align-items: center;gap: 8px;padding: 12px 16px;border-bottom: 1px solid var(--hairline);direction: ltr}
:root:root:root .so{margin-left: 12px;font-size:13px;color: var(--ink-muted);border: 1px solid var(--hairline);border-radius: var(--radius-full);padding: 2px 12px}
:root:root:root .ss{font-size:13px;font-weight:500}
:root:root:root .st{margin: 0;font-size:24px;font-weight:500}
:root:root:root .sv{background: var(--brand-tint);border-radius: var(--radius-lg);padding: 20px;color: var(--lm-ink);display: flex;flex-direction: column;gap: 8px}
:root:root:root .sw{font-size:18px}
:root:root:root .sy{margin: 0;font-size:15px;font-weight:500}
:root:root:root .s1m{margin: 0}
:root:root:root .s1x{font-size:15px}
:root:root:root .s29{margin: 0;font-size:13px}
:root:root:root .s2f{align-self: flex-start}
:root:root:root .s35{display: flex;flex-wrap: wrap;gap: 12px}
:root:root:root .s3l{margin: 0 0 12px;text-align: center}
:root:root:root .s3m{font-size:16px;line-height: 1.8}
:root:root:root .s3o{font-size:16px;line-height: 1.8}
:root:root:root .s3p{border-radius: var(--radius-xl);background: var(--deep);color: var(--on-deep);padding: 64px 24px;display: flex;flex-direction: column;align-items: center;gap: 18px;text-align: center}
:root:root:root .s3s{min-height: 56px;font-size:18px;padding: 0 36px}
:root:root:root .s43{margin: 0}
:root:root:root .s45{margin: 24px auto}
:root:root:root .s46{display: flex;flex-wrap: wrap;gap: 56px;align-items: center}
:root:root:root .s47{flex: 1 1 460px;min-width: 0;display: flex;flex-direction: column;gap: 20px}
:root:root:root .s49{margin: 0}
:root:root:root .s4a{margin: 0;font-size:19px;line-height: 1.8}
:root:root:root .s4b{margin: 0;font-size:13px;color: var(--ink-muted)}
:root:root:root .s4c{display: flex;flex-wrap: wrap;gap: 8px 28px;font-size:15px;font-weight:500;color: var(--ink-secondary)}
:root:root:root .s4f{font-size:19px}
:root:root:root .s4m{width: 22px;height: 22px}
:root:root:root .s4n{margin: 6px 0 0;font-size:15px;line-height: 1.7}
:root:root:root .s4p{margin: 0 0 28px;text-align: center}
:root:root:root .s4q{display: flex;flex-wrap: wrap;gap: 24px}
:root:root:root .s4r{font-size:24px}
:root:root:root .s4s{background: var(--section-alt);border-top: 1px solid var(--hairline);border-bottom: 1px solid var(--hairline)}
:root:root:root .s4u{margin: 0 0 8px;text-align: center}
:root:root:root .s4v{margin: 0 0 32px;font-size:18px;text-align: center}
:root:root:root .s4w{display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 20px}
:root:root:root .s4x{background: var(--surface)}
:root:root:root .s4y{font-size:15px;line-height: 1.7}
:root:root:root .s4z{margin-top: 24px;border-radius: var(--radius-xl);padding: 28px;background: var(--deep);color: var(--on-deep);display: flex;flex-wrap: wrap;gap: 16px;align-items: center;justify-content: space-between}
:root:root:root .s50{display: block;font-size:24px;margin-top: 8px}
:root:root:root .s51{font-size:15px;font-weight:500}
:root:root:root .s52{max-width: 820px}
:root:root:root .s53{font-size:15px;line-height: 2}
:root:root:root .s54{display: flex;flex-wrap: wrap;gap: 56px;align-items: center}
:root:root:root .s55{flex: 1 1 420px;min-width: 0;display: flex;flex-direction: column;gap: 20px}
:root:root:root .s5d{margin: 0 0 32px;text-align: center}
:root:root:root .s5e{font-size:15px}/* D1: the hero buttons follow Button (primary = action, secondary = hairline-strong), no lift on hover */html.pg-teachers .pillbtn,html.pg-schools .pillbtn{font-weight:500;font-size:15px;transition:background var(--nb-fast) var(--nb-ease)}
html.pg-teachers .pillbtn:hover,html.pg-schools .pillbtn:hover{transform:none}
html.pg-teachers .pillbtn.dark,html.pg-schools .pillbtn.dark{background:var(--action);color:var(--on-action)}
html.pg-teachers .pillbtn.dark:hover,html.pg-schools .pillbtn.dark:hover{background:var(--action-pressed)}
html.pg-teachers .ghost,html.pg-schools .ghost{border-color:var(--border-strong)}
html.pg-teachers .ghost:hover,html.pg-schools .ghost:hover{background:var(--surface-sunken)}/* D1: on the deep band the button is Button on-deep and quiet text stays on-deep (4.5:1) */html.pg-teachers .pillbtn.cyan,html.pg-schools .pillbtn.cyan{background:var(--on-deep);color:var(--deep)}
:root:root:root .s4z .muted{color:var(--on-deep)}/* D1: marketing pages are light only (README «Themes»): the shared theme toggle may darken the header, never the page *//* D1: design-system rules the old page styles missed *//* D1 fix round: system type, sections, mock, cards (Design review 22281/22282) */:is(html.pg-teachers,html.pg-schools) main h1{font-size:48px;line-height:60px;font-weight:600;margin:0;text-wrap:balance}
:is(html.pg-teachers,html.pg-schools) main h2{font-size:32px;line-height:44px;font-weight:600;text-wrap:balance}
:is(html.pg-teachers,html.pg-schools) main h3,:is(html.pg-teachers,html.pg-schools) .s4f,:is(html.pg-teachers,html.pg-schools) .s4r{font-size:19px;line-height:28px;font-weight:600}
@media (max-width:600px){:is(html.pg-teachers,html.pg-schools) main h1{font-size:36px;line-height:48px}
:is(html.pg-teachers,html.pg-schools) main h2{font-size:28px;line-height:38px}}
:root:root:root:root section.nb-section{padding-block:var(--space-8)}
@media (min-width:900px){:root:root:root:root section.nb-section{padding-block:var(--space-9)}}
:root:root:root:root .s4s.nb-section{padding-block:0}
:root:root:root:root .s4s>.s4t{padding-block:var(--space-8)}
@media (min-width:900px){:root:root:root:root .s4s>.s4t{padding-block:var(--space-9)}}
.nb-sh-over{align-self:flex-start}
.d1-lm-line{margin:0;color:var(--ink-muted)}
.d1-mock{flex:1 1 460px;min-width:0}
.d1-mock .nb-bars{margin-block:var(--space-2)}
.d1-mock .muted{font-size:13px;line-height:20px;color:var(--ink-muted);margin:0}
.d1-lm-note p{margin:0}
.d1-bl-sub{color:var(--ink-muted)}
.d1-bh{font-size:13px;line-height:20px;color:var(--ink-muted)}
.fcard.nb-card{transition:border-color var(--nb-fast) var(--nb-ease),transform var(--nb-fast) var(--nb-ease)}
.fcard.nb-card:hover{border-color:var(--border-strong)}
.fcard.nb-card:active{transform:scale(.98)}
@media (prefers-reduced-motion:reduce){.fcard.nb-card{transition:none}
.fcard.nb-card:active{transform:none}}
.lmh-d1{margin-inline-start:var(--space-2);vertical-align:middle}
.pillbtn{box-shadow:none}/* D1 fix round: card header row and the example badge */.d1-mock .sq{display:flex;justify-content:space-between;align-items:baseline;gap:var(--space-2);flex-wrap:wrap}

/* Landing design (audit 2026-11-12 T11, lane landing-design). To add to the design system: «ToolSchedule» (.d1-week,
   tools grouped by the teacher's week or by plan inside one surface card, hairline rows, no pills), «PlusRow» (.d1-plus,
   «فعّل بلس» + «مجاني لك» on a brand-tint row), «FaqSplit» (.d1-faq, heading column + reading-width list from 1100px),
   «EndBand» (.d1-end, closing action on a brand-tint band that meets the footer), quiet text action (.pillbtn.d1-quiet). */
:root:root:root:is(.pg-teachers,.pg-schools) :is(.s4p,.s4u,.s4v,.s5d){text-align:start}
:root:root:root:is(.pg-teachers,.pg-schools) .s4v{max-width:var(--reading-max);margin-bottom:var(--space-6);font-size:18px;line-height:28px;color:var(--ink-secondary)}
:root:root:root:is(.pg-teachers,.pg-schools) .s5d{margin-bottom:var(--space-6)}
.d1-week{display:grid;grid-template-columns:minmax(0,1fr);background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-lg)}
.d1-week-col{min-width:0;padding:var(--space-5)}
.d1-week-col+.d1-week-col{border-top:1px solid var(--hairline)}
.d1-week-h{margin:0 0 var(--space-2);font-size:19px;line-height:28px;font-weight:600;color:var(--ink)}
.d1-tools{list-style:none;margin:0;padding:0}
.d1-tool{display:flex;flex-direction:column;gap:var(--space-1);padding-block:var(--space-4);border-top:1px solid var(--hairline)}
.d1-tool:last-child{padding-bottom:0}
.d1-tool-t{font-size:16px;line-height:24px;font-weight:600;color:var(--ink);text-wrap:balance}
.d1-by{display:inline-block;margin-inline-start:var(--space-2);font-size:13px;line-height:20px;font-weight:500;color:var(--ink-muted)}
.d1-tool-d{font-size:15px;line-height:24px;color:var(--ink-secondary)}
@media (min-width:900px){
  .d1-week{grid-template-columns:repeat(3,minmax(0,1fr))}
  .d1-week.d1-week-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .d1-week-col{padding:var(--space-6)}
  .d1-week-col+.d1-week-col{border-top:0;border-inline-start:1px solid var(--hairline)}
}
.d1-plus{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-4) var(--space-6);margin-top:var(--space-4);padding:var(--space-5);background:var(--brand-tint);border-radius:var(--radius-lg)}
.d1-plus-t{flex:1 1 320px;min-width:0}
.d1-plus-over{display:block;font-size:13px;line-height:20px;font-weight:600;color:var(--action)}
.d1-plus-s{display:block;font-size:19px;line-height:28px;font-weight:600;color:var(--ink);text-wrap:balance}
.d1-plus-a{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap}
.d1-plus-free{font-size:15px;line-height:22px;font-weight:500;color:var(--ink-secondary)}
@media (min-width:900px){.d1-plus{padding:var(--space-5) var(--space-6)}}
.d1-faq-h{margin:0 0 var(--space-4);text-align:start}
.d1-faq-list{max-width:var(--reading-max)}
@media (min-width:1100px){
  .d1-faq{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:var(--space-7);align-items:start}
  .d1-faq-h{margin:0;padding-top:var(--space-4)}
}
:root:root:root:root .d1-res{padding-block:0 var(--space-8)}
.d1-res .s43+.s43{margin-top:var(--space-2)}
.d1-end{background:var(--brand-tint)}
.d1-end-in{display:flex;flex-direction:column;align-items:center;gap:var(--space-5);padding-block:var(--space-8);text-align:center}
.d1-end-in h2{color:var(--ink)}
.d1-end-a{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-3)}
@media (min-width:900px){.d1-end-in{padding-block:var(--space-9)}}
:is(html.pg-teachers,html.pg-schools) #nb-footer{margin-top:0}
:is(html.pg-teachers,html.pg-schools) .pillbtn.d1-quiet{background:transparent;border-color:transparent;color:var(--action);padding:0 var(--space-3)}
:is(html.pg-teachers,html.pg-schools) .pillbtn.d1-quiet:hover{background:var(--brand-tint)}
.d1-quiet-row{display:inline-flex;flex-wrap:wrap;gap:var(--space-1)}

/* Bulk 4 (design audit close-out, audit-4 lane). Hero on /teachers and /schools = the design system Hero (README «Audit
   close-out additions»): copy, then the example card stacked under it (max 640px) below 1100px; two equal columns from
   1100px; both aligned to the top, so the copy never floats mid-band. Under 375px (320 phones) the hero packs so the first
   button is in the first screen: top padding space-5, stack gap space-3, H1 on the small display step (32/42), lead 16/26,
   hero buttons control-h. The note lines (s4b) sit under the buttons, after «يشتغل بلمّاح». */
:root:root:root:root :is(.s46,.s54){display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-7);align-items:start}
:root:root:root:root :is(.s46,.s54)>.d1-mock{max-width:640px}
:root:root:root:root :is(.s46,.s54)>:is(.s47,.s55){max-width:var(--reading-max)}
@media (min-width:1100px){:root:root:root:root :is(.s46,.s54){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}:root:root:root:root :is(.s46,.s54)>:is(.d1-mock,.s47,.s55){max-width:none}}
@media (max-width:374.98px){
  :root:root:root:root section.nb-section:is(.s46,.s54){padding-top:var(--space-5)}
  :root:root:root:root :is(.s47,.s55){gap:var(--space-3)}
  :is(html.pg-teachers,html.pg-schools) main h1{font-size:32px;line-height:42px}
  :root:root:root:root .s4a{font-size:16px;line-height:26px}
  :root:root:root:root :is(.s46,.s54) .s35 .pillbtn{min-height:var(--control-h);font-size:16px}
}
/* Bulk 4 (audit P1/T8): the large-screen step of the design system (tokens.css, from 1600px): H1 on display 56/70,
   h2 on title-1 36/48, as .display and .title-1 do; the grid widens through --content-max. */
@media (min-width:1600px){:is(html.pg-teachers,html.pg-schools) main h1{font-size:56px;line-height:70px}:is(html.pg-teachers,html.pg-schools) main h2{font-size:36px;line-height:48px}}
