/* «تصميم هوية نمط بطاقات الكاتلوج»: the identity taken from the guidance catalog's cards (22-irshad-catalog v1.0.0) and
   carried to a whole site (Faisal, 17 November 2026, 1:33–1:34).
   Colours: the cream ground and card, the label's warm grey, the school's navy, and four families, each an accent, a
   dark and a tint. Shapes: the tinted ring with its flat two-tone icon, the pill, the four dots, the two soft corner
   circles, the rounded cream card. Type: Noto Naskh Arabic, bold for every title. Parts: the header (the official chain
   and a menu of ringed icons, a drop-down menu on a phone), the cover, the section heads, the catalog card (the services,
   exactly as the catalog draws them: a size container, everything in cqi), the news and counsellor cards, the footer
   with its menus, the door. Fluid from a phone to a 4K screen: the root size grows with the screen. */
@font-face{font-family:'Noto Naskh Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/noto-naskh-arabic-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'Noto Naskh Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/noto-naskh-arabic-arabic-700-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'Noto Naskh Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/noto-naskh-arabic-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Naskh Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/noto-naskh-arabic-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---- the identity's tokens */
:root{
  --page:#F4EEE3; --cream:#FBF7F0; --paper:#FFFFFF; --ink:#243746; --navy:#0F3460; --navy-d:#0B2848;
  --label:#6B6460; --muted:#625B57; --line:#E6DED2; --edge:#E9DFCF; --soft:#F4EEE4;
  --coral:#EE7B6A; --coral-d:#B9473A; --coral-t:#FCE4DF;
  --sage:#86B794; --sage-d:#3A7349; --sage-t:#E3F0E6;
  --gold:#EDBB4A; --gold-d:#8F6200; --gold-t:#FBEFCF;
  --turq:#33B0AE; --turq-d:#116B69; --turq-t:#D8F1F0;
  --wa:#0E7A55; --err:#A62F23;
  --r:1.1rem; --r-card:1.6rem; --r-wide:2rem;
  --lift:0 .9rem 2.2rem rgba(90,64,30,.12); --rest:0 .15rem .5rem rgba(90,64,30,.06);
  color-scheme:light;
}
*{box-sizing:border-box}
html{font-size:clamp(15px,0.32vw + 11px,23px);-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--page);color:var(--ink);font-family:'Noto Naskh Arabic',serif;line-height:1.8;overflow-x:hidden}
a{color:var(--navy)}
h1,h2,h3{line-height:1.35;margin:0;text-wrap:balance}
p{margin:0}
img,svg{display:block}
bdi{unicode-bidi:isolate}
:focus-visible{outline:3px solid var(--turq);outline-offset:2px;border-radius:.4rem}
.fam-coral{--tint:var(--coral-t);--dark:var(--coral-d);--acc:var(--coral)}
.fam-sage{--tint:var(--sage-t);--dark:var(--sage-d);--acc:var(--sage)}
.fam-gold{--tint:var(--gold-t);--dark:var(--gold-d);--acc:var(--gold)}
.fam-turq{--tint:var(--turq-t);--dark:var(--turq-d);--acc:var(--turq)}
.d-coral{background:var(--coral)}.d-sage{background:var(--sage)}.d-gold{background:var(--gold)}.d-turq{background:var(--turq)}
.ui-ic{width:1.15em;height:1.15em;flex:none}
.ui-ic.flip{transform:scaleX(-1)}

/* ---- the shapes: the soft corner circles of a wide card */
.dc{position:absolute;border-radius:50%;opacity:.55;z-index:-1;aspect-ratio:1}
.dc1{width:clamp(8rem,20vw,18rem);top:clamp(-8.5rem,-8vw,-3.6rem);inset-inline-start:clamp(-7rem,-6vw,-3rem);background:var(--c1,var(--coral-t))}
.dc2{width:clamp(5.5rem,13vw,12rem);bottom:clamp(-6rem,-5vw,-2.6rem);inset-inline-end:clamp(-4.6rem,-4vw,-2rem);background:var(--c2,var(--turq-t))}

/* ---- the header: the official chain, then the menu of ringed icons */
.site-head{width:min(100% - 2rem,100rem);margin:1rem auto 0;display:flex;flex-direction:column;gap:.85rem}
.official{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.85rem;border-bottom:3px solid transparent;border-image:linear-gradient(90deg,var(--turq-d),var(--navy)) 1}
.chain{display:flex;flex-direction:column;color:var(--ink);font-weight:700;font-size:.86rem;line-height:1.6}
.chain strong{color:var(--navy);font-size:1.12rem}
.moe{width:clamp(5.4rem,9vw,8rem);height:auto}
.navbar{display:flex;align-items:center}
.topnav{display:flex;gap:.3rem;flex-wrap:wrap;background:var(--cream);border:1px solid var(--edge);border-radius:999px;padding:.3rem;box-shadow:var(--rest)}
.ni{display:inline-flex;align-items:center;gap:.55rem;text-decoration:none;font-weight:700;color:var(--ink);border-radius:999px;padding-block:.22rem;padding-inline:.25rem 1.05rem;transition:background .15s ease,color .15s ease}
.nav-ring{width:2.1rem;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--tint);flex:none}
.nav-ring svg{width:66%;height:66%}
.ni:hover{background:var(--tint);color:var(--dark)}
.ni[aria-current="page"]{background:var(--dark);color:#fff}
.ni[aria-current="page"] .nav-ring{background:var(--cream)}
.menu{display:none;position:relative}
.menu>summary{list-style:none;display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:700;color:var(--navy);background:var(--cream);border:1px solid var(--edge);border-radius:999px;padding:.35rem 1.1rem .45rem;box-shadow:var(--rest)}
.menu>summary::-webkit-details-marker{display:none}
.menu[open]>summary{background:var(--navy);border-color:var(--navy);color:#fff}
.menu-list{position:absolute;inset-inline-start:0;top:calc(100% + .5rem);z-index:30;width:min(86vw,21rem);background:var(--cream);border:1px solid var(--edge);border-radius:1.4rem;box-shadow:var(--lift);padding:.45rem;display:flex;flex-direction:column;gap:.2rem}
.mi{display:flex;align-items:center;gap:.75rem;text-decoration:none;font-weight:700;color:var(--ink);border-radius:1rem;padding:.4rem .55rem}
.mi .nav-t{flex:1}
.mi .chev{width:1.05rem;height:1.05rem;color:var(--label)}
.mi:hover,.mi[aria-current="page"]{background:var(--tint);color:var(--dark)}
@media (max-width:719px){.topnav{display:none}.menu{display:block}}

.wrap{width:min(100% - 2rem,100rem);margin:0 auto;flex:1;padding:1.4rem 0 2.6rem;display:flex;flex-direction:column;gap:2.2rem}

/* ---- the section heads: a ring, the title, the gold bar */
.block{display:flex;flex-direction:column;gap:1.1rem}
.groups{display:flex;flex-direction:column;gap:2.2rem;scroll-margin-top:1rem}
.block-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.block h2,.page-title{color:var(--navy);font-size:clamp(1.25rem,2vw,1.8rem);display:flex;align-items:center;gap:.65rem}
.page-title{font-size:clamp(1.5rem,3vw,2.5rem)}
.block h2::after,.page-title::after{content:"";flex:0 0 2.4rem;height:.26rem;border-radius:9px;background:var(--gold)}
.h-ring{width:2.5rem;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--tint);flex:none}
.h-ring svg{width:64%;height:64%}

/* ---- the catalog card, as the catalog draws it */
.ccard{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;aspect-ratio:1/1;container-type:inline-size;overflow:hidden;background:var(--cream);border:1px solid var(--edge);border-radius:var(--r-card);text-decoration:none;color:inherit;box-shadow:var(--rest);transition:transform .18s ease,box-shadow .18s ease}
a.ccard:hover{transform:translateY(-3px);box-shadow:var(--lift)}
.cc-c1,.cc-c2{position:absolute;border-radius:50%;background:var(--tint);opacity:.55;z-index:-1}
.cc-c1{width:27.8cqi;height:27.8cqi;top:-10.2cqi;inset-inline-start:-10.2cqi}
.cc-c2{width:20.4cqi;height:20.4cqi;bottom:-8.3cqi;inset-inline-end:-7.4cqi}
.cc-top{position:absolute;top:5.2cqi;inset-inline:0;text-align:center;color:var(--label);font-weight:700;font-size:max(11px,3.15cqi);line-height:1.6}
.cc-ring{margin-top:13.9cqi;width:48.15cqi;height:48.15cqi;flex:none;border-radius:50%;background:var(--tint);display:grid;place-items:center}
.cc-ring svg{width:63.5%;height:63.5%}
.cc-initial{color:var(--dark);font-weight:700;font-size:22cqi;line-height:1;margin-top:-3cqi}
.cc-title{margin-top:5.2cqi;color:var(--dark);font-weight:700;font-size:7.22cqi;line-height:1.25;text-align:center;padding-inline:6.5cqi}
.cc-title.long{font-size:5.93cqi}
.cc-tag{margin-top:2.78cqi;background:var(--dark);color:#fff;font-weight:700;font-size:max(11px,3.33cqi);line-height:1.5;border-radius:999px;padding:.56cqi 3.5cqi 1.11cqi;white-space:nowrap}
.cc-note{margin-top:1.6cqi;color:var(--label);font-size:max(11px,3.1cqi);max-width:84cqi;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-dots{position:absolute;bottom:3.7cqi;display:flex;gap:1.48cqi}
.cc-dots i{width:max(5px,1.48cqi);height:max(5px,1.48cqi);border-radius:50%;display:block}
/* a row you swipe, as the catalog is browsed on a phone; a grid from a tablet up where asked */
.cc-strip{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:.3rem .15rem 1rem;scrollbar-width:thin}
.cc-strip>.ccard{flex:0 0 min(82%,20rem);scroll-snap-align:center}
@media (min-width:720px){
  .cc-strip.cc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem;overflow:visible;padding:0}
  .cc-strip.cc-grid>.ccard{flex:none}
}
@media (min-width:720px) and (max-width:1079px){.cc-strip.cc-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1080px){.cc-strip.cc-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---- the cover: the card, wide, its words beside its rings */
.cover{position:relative;isolation:isolate;overflow:hidden;background:var(--cream);border:1px solid var(--edge);border-radius:var(--r-wide);box-shadow:var(--rest);padding:clamp(1.6rem,4vw,3.4rem) clamp(1.3rem,4vw,3.6rem) clamp(2.8rem,4.8vw,3.8rem);display:grid;gap:clamp(1.2rem,3vw,2.6rem);grid-template-areas:"art" "text";justify-items:center;text-align:center}
.cover-school{--c1:var(--sage-t);--c2:var(--gold-t)}
.cover-guidance{--c1:var(--coral-t);--c2:var(--turq-t)}
.cv-text{grid-area:text;display:flex;flex-direction:column;align-items:center;gap:.85rem;min-width:0}
.cv-top{color:var(--label);font-weight:700;font-size:clamp(.88rem,1.3vw,1.12rem)}
.cover h1{color:var(--navy);font-size:clamp(1.9rem,5vw,3.7rem);line-height:1.25}
.cover .about{max-width:44rem;display:flex;flex-direction:column;gap:.6rem;font-size:1.05rem}
.cv-acts{display:flex;gap:.65rem;flex-wrap:wrap;justify-content:center;margin-top:.3rem}
.cv-art{grid-area:art;position:relative;padding:clamp(1rem,2.6vw,2rem)}
.cv-big{width:clamp(9.5rem,24vw,17rem);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--tint)}
.cv-big svg{width:60%;height:60%}
.cv-orb{position:absolute;width:clamp(3.3rem,7.2vw,5.4rem);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--tint);border:.3rem solid var(--cream)}
.cv-orb svg{width:60%;height:60%}
.cv-orb.o1{top:0;inset-inline-start:0}
.cv-orb.o2{bottom:4%;inset-inline-start:-2%}
.cv-orb.o3{bottom:14%;inset-inline-end:-4%}
.cv-quad{display:grid;grid-template-columns:repeat(2,auto);gap:clamp(.6rem,1.8vw,1.1rem)}
.cv-quad .q{width:clamp(4.6rem,11vw,8.2rem);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--tint)}
.cv-quad .q svg{width:62%;height:62%}
.cv-quad .q:nth-child(2),.cv-quad .q:nth-child(3){transform:translateY(clamp(.6rem,1.6vw,1.2rem))}
.cv-dots{position:absolute;bottom:clamp(.9rem,1.6vw,1.25rem);inset-inline:0;display:flex;justify-content:center;gap:.55rem}
.cv-dots i{width:.62rem;height:.62rem;border-radius:50%;display:block}
@media (min-width:900px){
  .cover{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-areas:"text art";justify-items:start;align-items:center;text-align:start}
  .cv-text{align-items:flex-start}
  .cv-acts{justify-content:flex-start}
  .cv-art{justify-self:center}
}

/* ---- the news: cream cards, each in a family, a ring and a corner circle */
.news-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
@media (min-width:720px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1080px){.news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.news{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:.9rem;row-gap:.2rem;align-items:start;text-decoration:none;color:var(--ink);background:var(--cream);border:1px solid var(--edge);border-radius:1.4rem;padding:1.1rem 1.2rem 1.3rem;box-shadow:var(--rest);transition:transform .18s ease,box-shadow .18s ease}
.news::after{content:"";position:absolute;width:7.5rem;aspect-ratio:1;border-radius:50%;background:var(--tint);opacity:.6;bottom:-3.6rem;inset-inline-end:-2.8rem;z-index:-1}
.news:hover{transform:translateY(-2px);box-shadow:var(--lift)}
.news-ring{grid-row:1 / span 3;width:2.9rem;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--tint)}
.news-ring svg{width:62%;height:62%}
.news time{color:var(--label);font-weight:700;font-size:.84rem}
.news strong{color:var(--dark);font-size:1.13rem;line-height:1.5}
.news .ex{color:var(--muted);font-size:.93rem}
.news-page{position:relative;isolation:isolate;overflow:hidden;align-self:center;width:min(100%,62rem);background:var(--cream);border:1px solid var(--edge);border-radius:var(--r-wide);box-shadow:var(--rest);padding:clamp(1.4rem,3.4vw,2.8rem);display:flex;flex-direction:column;gap:1rem}
.news-page{--c1:var(--tint);--c2:var(--gold-t)}
.np-ring{width:3.6rem;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--tint)}
.np-ring svg{width:62%;height:62%}
.news-page h1{color:var(--dark);font-size:clamp(1.45rem,2.8vw,2.4rem)}
.when{color:var(--label);font-weight:700;display:flex;gap:1.2rem;flex-wrap:wrap}
.news-body,.descr{display:flex;flex-direction:column;gap:.8rem;font-size:1.04rem}

/* ---- a service's page: its catalog card, then its words */
.svc-page{display:grid;gap:clamp(1.2rem,3vw,2.6rem);align-items:start;justify-items:center}
.svc-page>.ccard{width:min(100%,30rem)}
.svc-text{width:min(100%,40rem);display:flex;flex-direction:column;gap:.9rem;align-items:flex-start}
.svc-name{color:var(--dark);font-size:clamp(1.4rem,2.6vw,2.2rem)}
.aud{display:inline-block;font-weight:700;font-size:.9rem;border-radius:999px;padding:.05rem 1rem .25rem;background:var(--tint);color:var(--dark)}
.svc-text .acts{justify-content:flex-start}
@media (min-width:900px){.svc-page{grid-template-columns:minmax(0,30rem) minmax(0,1fr);justify-items:start}.svc-text{padding-top:1.2rem}}

/* ---- buttons and pills: as wide as their words */
.cta,.acts{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;font:inherit;font-weight:700;font-size:1rem;line-height:1.5;border-radius:999px;padding:.42rem 1.5rem .56rem;border:2px solid transparent;cursor:pointer;text-decoration:none;transition:background .15s ease,border-color .15s ease}
.btn.primary{background:var(--navy);color:#fff}
.btn.primary:hover{background:var(--navy-d)}
.btn.ghost{background:var(--cream);border-color:var(--edge);color:var(--navy)}
.btn.ghost:hover{border-color:var(--navy)}
.btn.wa{background:var(--wa);color:#fff}
.btn.wa:hover{background:#0B6446}
.btn.danger{background:var(--paper);border-color:#E9C5BF;color:var(--err)}
.btn.sm{font-size:.86rem;padding:.16rem .95rem .3rem}
.btn:disabled{opacity:.55;cursor:default}

/* ---- the footer: the school, its menus, its contact */
.site-foot{position:relative;isolation:isolate;overflow:hidden;width:min(100% - 2rem,100rem);margin:0 auto;background:var(--cream);border:1px solid var(--edge);border-radius:var(--r-wide);box-shadow:var(--rest);padding:clamp(1.4rem,3.5vw,2.4rem) clamp(1.3rem,4vw,3rem) 3.1rem;display:grid;gap:1.5rem;grid-template-columns:minmax(0,1fr);--c1:var(--sage-t);--c2:var(--gold-t);scroll-margin-top:1rem}
@media (min-width:900px){.site-foot{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.3fr);align-items:start}}
.foot-id{display:flex;align-items:center;gap:.9rem}
.foot-ring{width:3.7rem;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--tint);flex:none}
.foot-ring svg{width:62%;height:62%}
.foot-id strong{display:block;color:var(--navy);font-size:1.1rem}
.foot-id span{color:var(--label);font-weight:700;font-size:.86rem}
.foot-menu{display:flex;flex-direction:column;gap:.3rem}
.foot-menu a{text-decoration:none;font-weight:700;color:var(--ink);width:max-content}
.foot-menu a:hover{color:var(--navy);text-decoration:underline;text-underline-offset:.3em}
.foot-contact{display:flex;flex-direction:column;gap:.75rem;align-items:flex-start;scroll-margin-top:1rem}
.contacts{list-style:none;margin:0;padding:0;display:flex;gap:.5rem;flex-wrap:wrap}
.contacts a{display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;font-weight:700;color:var(--ink);background:var(--paper);border:1px solid var(--edge);border-radius:999px;padding-block:.2rem;padding-inline:.22rem 1rem}
.contacts a:hover{border-color:var(--turq)}
.c-ring{width:1.9rem;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--tint)}
.c-ring svg{width:64%;height:64%}

/* ---- the door and its states: the card, its ring holding the site's mark */
.door,.state{position:relative;isolation:isolate;overflow:hidden;align-self:center;margin-top:clamp(1rem,6vh,4rem);background:var(--cream);border:1px solid var(--edge);border-radius:var(--r-wide);box-shadow:var(--rest);padding:clamp(1.8rem,5vw,2.8rem) clamp(1.4rem,5vw,3.2rem) 3.1rem;display:flex;flex-direction:column;align-items:center;gap:1rem;text-align:center;width:min(100%,27rem)}
.door .dc1,.state .dc1{width:9rem;top:-3.6rem;inset-inline-start:-3.6rem}
.door .dc2,.state .dc2{width:6.5rem;bottom:-2.8rem;inset-inline-end:-2.4rem}
.door-ring{width:7.4rem;aspect-ratio:1;border-radius:50%;background:var(--tint,var(--gold-t));display:grid;place-items:center}
.door-ring svg{width:60%;height:60%}
.site-mark{width:4.4rem;height:4.4rem}
.site-mark svg{width:100%;height:100%}
.sm-b{fill:var(--navy)}
.sm-c{fill:var(--gold)}
.door h1,.state h1{color:var(--navy);font-size:clamp(1.4rem,2.6vw,2rem)}
.door .state-text{font-size:clamp(1.2rem,2.2vw,1.6rem)}
.err{color:var(--err);font-weight:700}

footer.rights{text-align:center;color:var(--muted);font-size:.9rem;padding:1.2rem 1rem 1.6rem;display:flex;flex-direction:column;line-height:1.7}
footer.rights b{color:var(--navy)}
@media (max-width:640px){.official{align-items:flex-start}.chain{font-size:.8rem}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}html{scroll-behavior:auto}}

/* ---------------------------------------------------------------- the management */
.app{display:flex;flex-direction:column;gap:1.2rem}
.app-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.app-head h1{color:var(--navy);font-size:clamp(1.35rem,2.4vw,2rem)}
.who{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;color:var(--muted)}
.who b{color:var(--navy)}
.tabs{display:flex;gap:.45rem;overflow-x:auto;scrollbar-width:none;padding-bottom:.2rem}
.tabs::-webkit-scrollbar{display:none}
.tabs button{flex:none;font:inherit;font-weight:700;color:var(--navy);background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:.25rem 1.1rem .4rem;cursor:pointer}
.tabs button[aria-selected="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:calc(var(--r) * 1.2);padding:clamp(.9rem,2vw,1.6rem);display:flex;flex-direction:column;gap:1rem}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}
.panel-head h2{color:var(--navy);font-size:1.25rem}
.tw{overflow-x:auto;border:1px solid var(--line);border-radius:.9rem}
table.tbl{width:100%;border-collapse:collapse;table-layout:fixed;word-break:break-word;font-size:.95rem}
.tbl th{background:var(--navy);color:#fff;text-align:start;font-weight:700;padding:.55rem .8rem;vertical-align:top}
.tbl td{padding:.55rem .8rem;vertical-align:top;border-top:1px solid #E7ECF2}
.tbl tbody tr:nth-child(odd){background:#fff}
.tbl tbody tr:nth-child(even){background:#F0F4F8}
.tbl td.num{white-space:nowrap}
.tbl .acts-cell{display:flex;gap:.4rem;flex-wrap:wrap}
.tbl.w5{min-width:44rem}
.pill{display:inline-block;font-weight:700;font-size:.8rem;border-radius:999px;padding:0 .7rem .1rem}
.pill.on{background:var(--sage-t);color:var(--sage-d)}
.pill.off{background:var(--soft);color:var(--muted)}
.pill.wait{background:var(--gold-t);color:var(--gold-d)}
.pill.no{background:var(--coral-t);color:var(--coral-d)}
.form{display:grid;gap:.9rem;max-width:46rem}
.field{display:grid;gap:.3rem}
.field>span{font-weight:700;color:var(--navy);font-size:.92rem}
.form input[type=text],.form input[type=email],.form input[type=url],.form input[type=tel],.form select,.form textarea{font:inherit;color:var(--ink);background:#fff;border:1px solid #D7CFC3;border-radius:.8rem;padding:.45rem .8rem;width:100%}
.form textarea{resize:none;min-height:9rem;line-height:1.8;field-sizing:content}
.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:var(--turq);box-shadow:0 0 0 3px var(--turq-t)}
.check{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;color:var(--navy)}
.check input{width:1.15rem;height:1.15rem;accent-color:var(--navy)}
.choices{display:flex;gap:.5rem;flex-wrap:wrap}
.choices label{display:inline-flex;align-items:center;gap:.4rem;background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:.2rem .9rem .3rem;font-weight:700;color:var(--navy);cursor:pointer}
.choices input{accent-color:var(--navy)}
.row-end{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}
.contact-row{display:grid;grid-template-columns:1fr 2fr auto;gap:.5rem;align-items:center}
.muted{color:var(--muted)}
dialog.sheet{border:0;border-radius:calc(var(--r) * 1.3);padding:0;width:min(100% - 1.5rem,48rem);max-height:calc(100vh - 2rem);background:var(--paper);color:var(--ink)}
dialog.sheet::backdrop{background:rgba(15,52,96,.35)}
.sheet-in{padding:clamp(1rem,3vw,1.8rem);display:flex;flex-direction:column;gap:1rem}
.sheet-in h2{color:var(--navy);font-size:1.3rem}
.toast{position:fixed;inset-inline:0;bottom:1.2rem;margin:0 auto;width:max-content;max-width:calc(100% - 2rem);background:var(--navy);color:#fff;font-weight:700;border-radius:999px;padding:.35rem 1.3rem .5rem;z-index:20}
.toast.bad{background:var(--err)}
.toast[hidden]{display:none}
.stack{display:flex;flex-direction:column;gap:1.2rem}
.ah-title{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap}
.views{display:flex;gap:.4rem;flex-wrap:wrap}
.views a{text-decoration:none;font-weight:700;font-size:.86rem;color:var(--navy);background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:.05rem .9rem .2rem}
.views a:hover{border-color:var(--navy)}
.who form{margin:0}
.field-set{border:0;margin:0;padding:0;display:grid;gap:.35rem;min-width:0}
.field-set legend{font-weight:700;color:var(--navy);font-size:.92rem;padding:0;margin-bottom:.3rem}
.form.inline{display:flex;align-items:flex-end;gap:.8rem;flex-wrap:wrap;max-width:none}
.form.inline .field{flex:0 1 18rem}
.contact-list{display:grid;gap:.5rem}
.svc-name{display:inline-flex;align-items:center;gap:.5rem;font-weight:700}
.svc-name .dot{width:.7rem;height:.7rem;border-radius:50%;flex:none;display:block}
.svc-name.fam-coral .dot{background:var(--coral)}.svc-name.fam-sage .dot{background:var(--sage)}.svc-name.fam-gold .dot{background:var(--gold)}.svc-name.fam-turq .dot{background:var(--turq)}
.tbl th.w-num{width:3.4rem}
.tbl th.w-s{width:7.5rem}
.tbl th.w-m{width:9.5rem}
.tbl th.w-act{width:10.5rem}
.tbl.w6{min-width:52rem}
.tbl td.mail{font-size:.88rem}
@media (max-width:640px){.contact-row{grid-template-columns:1fr}}
