/* Nursery Manager · MAHAYOFA — warm, bright, accessible design system.
   One visual language across the existing Core, Plus and nursery directory apps.
   No children's data or personal images ever enter this stylesheet. */
:root {
 color-scheme:light;
 --bg:#f6f9fc;--panel:#ffffff;--panel2:#f0f8ff;
 --edge:#dce7f0;--text:#21374c;--muted:#66798c;
 --mint:#0c8b78;--blue:#3269b8;--warn:#a96416;--red:#b84351;
 --radius:23px;--shadow:0 13px 42px rgba(32,68,106,.075);
 --accent:#0c8b78;--line:#dce7f0;--danger:#b84351;
 --navy:#20354e;--sky:#e8f4ff;--cream:#fff5e4;--rose:#fff1f3;--leaf:#e5f8ee;
}
html{background:#f6f9fc!important;overflow-x:clip}
body{color:var(--text)!important;background:radial-gradient(ellipse 620px 450px at 90% -130px,#e2f8f4 0%,transparent 78%),radial-gradient(ellipse 600px 480px at 3% 27%,#eef0ff 0%,transparent 80%),#f6f9fc!important;font-family:'Cairo','Tajawal','Segoe UI',Tahoma,Arial,sans-serif!important;overflow-x:clip}
a{color:#1967a9}a:hover{color:#0a826f}
h1,h2,h3{color:#20364d;letter-spacing:-.025em}
p,.muted{color:#60788d}
:focus-visible{outline:3px solid #0d937f;outline-offset:3px}
.topline,.top{background:rgba(255,255,255,.94)!important;border-color:#dde9f0!important;box-shadow:0 3px 20px rgba(41,77,98,.05);backdrop-filter:blur(16px)}
.company,.brand{color:#20435b!important;letter-spacing:0;font-weight:900}
.company-mark,.logo{background:linear-gradient(140deg,#4bd9be,#9cdbf1)!important;color:#14546b!important;box-shadow:0 8px 22px rgba(24,173,154,.16)}
.connection,.sub{color:#6c8292!important}
.quiet,.btn.secondary,.btn.ghost{background:#fff!important;color:#285572!important;border:1px solid #cfdee8!important;box-shadow:none!important}
.quiet:hover,.btn.secondary:hover,.btn.ghost:hover{background:#e9f7fb!important;border-color:#87cad1!important;color:#115e70!important}
.btn,.btn.primary{color:#fff!important;background:linear-gradient(120deg,#18a996,#138eb5)!important;border:1px solid transparent!important;box-shadow:0 8px 22px rgba(19,152,166,.18)!important;border-radius:13px;transition:transform .18s ease,box-shadow .18s ease}
.btn:hover:not(:disabled){box-shadow:0 12px 28px rgba(19,152,166,.24)!important;transform:translateY(-2px)}
.pill{background:#e7f8f0!important;color:#166d5f!important;border-color:#bfebd6!important}
.pill.warn{background:#fff4d7!important;color:#8d5917!important;border-color:#f1dea9!important}
.pill.red{background:#ffe8ec!important;color:#a02f4e!important;border-color:#f3c4ce!important}
.eyebrow{color:#0b8875!important;letter-spacing:.09em}
.orbs span:first-child{background:radial-gradient(circle,rgba(107,222,201,.22),transparent 70%)}
.orbs span:last-child{background:radial-gradient(circle,rgba(151,184,255,.2),transparent 70%)}
.panel,.auth-card,.setup-card,.metric{background:#fff!important;border:1px solid #dfeaf3!important;color:#263e53!important;box-shadow:0 8px 28px rgba(24,76,121,.055)!important}
.panel,.auth-card,.setup-card{border-radius:22px!important}
.panel h2,.panel h3,.auth-card h2,.setup-card h2{color:#24394f!important}
.auth-layout .pitch{position:relative}
.pitch h1{background:linear-gradient(110deg,#14517a,#0e917d);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.pitch p,.pitch .mini-note{color:#587586!important}
.pitch-points span{background:#e9f8f4!important;color:#0d776b!important;border-color:#c8ebdf!important}
.auth-card,.setup-card{background:linear-gradient(160deg,#fff 70%,#f5fbff)!important}
.auth-switch{background:#f0f6fa!important;border:1px solid #dce8ef!important}
.auth-switch button{color:#4f6881!important}
.auth-switch button.selected{background:#d7f2eb!important;color:#106b60!important;box-shadow:0 2px 6px #176b6920}
label{color:#345067!important}
.field input,input,select,textarea{background:#fff!important;color:#24394d!important;border:1px solid #c9dce7!important}
input::placeholder,textarea::placeholder{color:#8294a4!important}
input:focus,select:focus,textarea:focus{border-color:#39a99c!important;box-shadow:0 0 0 3px rgba(45,179,147,.12)!important}
.checkline,.checkline label,.mini-note,.note,.help{color:#657f8f!important}
input[type=checkbox]{accent-color:#0b9882}
.info-banner,.banner{background:linear-gradient(110deg,#ebf8ff,#e6faf2)!important;border:1px solid #c8e7e7!important;color:#255c6b!important;border-radius:16px}
.info-banner a{color:#00736e!important}
.note{background:#f4f9fd!important;border:1px solid #dcebf2!important}
.note.warn{background:#fff4e2!important;color:#946020!important}
.sidebar{background:#fff!important;border:1px solid #dfe9f1!important;box-shadow:0 9px 38px rgba(30,62,93,.055)!important}
.sidebar-head{padding:.9rem .6rem 1.15rem;border-bottom:1px solid #ecf2f5}
.sidebar-head strong{color:#253f52}
.sidebar-head small,.sidefoot{color:#70879a}
.sidebar-badge{background:linear-gradient(135deg,#bbf2e4,#9fd9fc)!important;color:#167c77}
.sidemenu button,.sidemenu .care-menu-item{color:#4f6682!important}
.sidemenu button:hover,.sidemenu .care-menu-item:hover{background:#f0f9fc!important;color:#076e78!important}
.sidemenu button.active{background:linear-gradient(100deg,#d5f4ea,#e4f5fc)!important;color:#087468!important;font-weight:800}
.menu-title{padding:1rem .8rem .45rem;font-size:.73rem;letter-spacing:.01em;font-weight:900;color:#71869a}
.menu-title-plus{margin-top:.9rem;padding-top:1.4rem;border-top:1px solid #e4eff4;display:flex;justify-content:space-between}
.care-links{display:grid;gap:3px}
.care-menu-item{width:100%;display:flex;align-items:center;gap:.6rem;border-radius:11px;text-decoration:none;padding:.75rem .6rem;font-size:.83rem;font-weight:650;line-height:1.42}
.care-menu-item .menu-icon{font-size:1.13rem;flex:0 0 25px;text-align:center}
.care-menu-item .menu-chevron{margin-inline-start:auto;opacity:.55}
.care-menu-item:hover .menu-chevron{opacity:1}
.content .page-head h1{color:#1f3a53!important}
.metric{border-radius:20px!important}
.metric:nth-child(4n+1){background:linear-gradient(140deg,#f3fff9,#e8f8f2)!important;border-color:#cbeedf!important}
.metric:nth-child(4n+2){background:linear-gradient(140deg,#f7fbff,#e7f1ff)!important;border-color:#d3e5fc!important}
.metric:nth-child(4n+3){background:linear-gradient(140deg,#fff9f1,#fff0dc)!important;border-color:#f7e3c6!important}
.metric:nth-child(4n+4){background:linear-gradient(140deg,#fff8fa,#ffeaf0)!important;border-color:#f5dce3!important}
.metric span{color:#5c7788!important;font-weight:700}
.metric strong{color:#214e62!important}
.metric small{color:#42857b!important}
.table-wrap{border-color:#e0eaf1!important}
th{background:#f2f8fc!important;color:#486779!important}
td{color:#364c60!important;border-color:#e4eef3!important}
tbody tr:hover{background:#f5fbfd!important}
.empty{background:#f9fcff;color:#71869b!important;border-color:#d6e4ef!important}
.notice-item,.item{background:#f7fbfe!important;border:1px solid #dfeaf1!important}
.notice-item p,.item p{color:#5c7486!important}
.notice-item small,.sub,.micro{color:#768a99!important}
.chip,.badge{background:#e9f7f2!important;border:1px solid #bfe8d6!important;color:#167c70!important}
.progress{background:#e5f0f3}
.progress span{background:linear-gradient(90deg,#26c9a4,#7ddac6)}
.toolbar{color:#486779}
.mobile-nav button{background:#fff!important;color:#486879!important;border-color:#d7e5ed!important}
.mobile-nav button.active{background:#dff6eb!important;color:#0d8775!important;border-color:#b3e9d4!important}
.toast{background:#fff!important;color:#136d60!important;border-color:#92d4c6!important;box-shadow:0 12px 35px #23456826!important}
.toast.error{background:#fff0f2!important;color:#ad3150!important;border-color:#f4a6b9!important}
.bottom-note,footer{color:#6e8499!important;border-color:#e0eaf0!important}
.chat-thread{background:#f5faff!important;border-color:#d8e6ef!important}
.bubble{background:#e5f1fe!important;color:#24445f!important}
.bubble.mine{background:#e0f7eb!important;color:#126a65!important}
.alert{background:#fff8ec!important;border-color:#f2dabb!important;color:#995d21!important}
.alert.okay,.okay{background:#e8faf1!important;color:#14634e!important;border-color:#a7e1cb!important}
.alert.error,.error{background:#fff0f1!important;color:#b23851!important;border-color:#edb6c5!important}
.permit{background:#edfff5!important;border-color:#77c6a7!important;color:#195e5a!important}
.permit code{color:#126f67!important}
.sticky-msg{box-shadow:0 10px 34px #35688120}
.hero{border:1px solid #cde7ea!important;background:linear-gradient(115deg,#e3fbf1,#eaf6ff 57%,#fff2dc)!important;box-shadow:0 12px 42px #426f7b12!important}
.hero h1,.hero p{color:#24526a!important}
.hero:after{background:#7fe1cf55!important}
.tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow:visible!important;padding:16px 0 23px}
.tab{white-space:normal!important;min-width:0;overflow-wrap:anywhere;background:#fff!important;color:#43637b!important;border:1px solid #dae8ef!important;font-weight:700}
.tab.active{background:linear-gradient(135deg,#ddf8e9,#e4f2ff)!important;color:#087f73!important;border-color:#8ed6ca!important}
.tab:hover{background:#f0fbf9!important;color:#106b71!important}
.layout .panel{box-shadow:0 8px 27px #2345680b!important}
.layout .stat{color:#0e9782!important}
.layout .toplinks a{font-weight:700;color:#2c6e8f}
.layout .toplinks a:hover{color:#089382}
.layout .grid{gap:16px}
/* New, persistent one-click feature discovery in original nursery dashboard */
.care-mobile-quick{display:none;gap:9px;flex-wrap:wrap}
.care-mobile-quick a{padding:10px 13px;background:#e6f9ef;color:#0b756d;font-weight:800;border:1px solid #c1e9d8;border-radius:14px;font-size:.85rem}
.care-welcome{border-radius:26px;background:linear-gradient(110deg,#dff9ee 0%,#e5f5ff 58%,#fff2db 100%);border:1px solid #c9ebe5;padding:clamp(24px,4vw,42px);margin-bottom:24px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(190px,.65fr);gap:16px;align-items:center;position:relative;overflow:hidden;box-shadow:0 14px 46px rgba(56,135,136,.1)}
.care-welcome::before{content:"";position:absolute;width:240px;height:240px;top:-130px;inset-inline-end:-85px;border-radius:50%;background:#ffffff90}
.care-welcome-copy{position:relative;z-index:1;min-width:0}
.welcome-pill{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #bfe6dd;color:#117a70;border-radius:30px;padding:7px 12px;font-size:.78rem;font-weight:900}
.care-welcome h2{font-size:clamp(1.6rem,3.3vw,2.65rem);font-weight:900;line-height:1.34;margin:16px 0 10px;color:#194d60}
.care-welcome p{font-size:.98rem;color:#4b7481;line-height:1.8;max-width:610px;margin-bottom:21px}
.welcome-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.care-welcome-art{height:240px;position:relative;min-width:0;z-index:1}
.care-welcome-art span{position:absolute;display:grid;place-content:center;filter:drop-shadow(0 8px 12px #2d7a6520);animation:careFloat 4s ease-in-out infinite}
.art-house{font-size:120px;inset:35px 0 auto 0;transform:rotate(-3deg)}
.art-sun{font-size:54px;top:-2px;right:6px}
.art-star{font-size:36px;left:16px;top:25px;animation-delay:-1.5s!important}
.art-bear{font-size:53px;right:6px;bottom:3px;animation-delay:-2s!important}
.art-leaf{font-size:40px;left:15px;bottom:9px}
@keyframes careFloat{0%,100%{translate:0 0}50%{translate:0 -8px}}
.care-hub{margin:18px 0 26px}
.care-hub-header{display:flex;justify-content:space-between;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.care-hub-header h2{font-size:clamp(1.3rem,2.7vw,1.95rem);margin:5px 0;color:#1b455d}
.care-hub-header p{margin:0;color:#658398;max-width:700px}
.feature-count{background:#e4f8ee;color:#0b7d6e;border-radius:99px;padding:7px 14px;font-size:.78rem;font-weight:800;white-space:nowrap}
.care-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.care-feature{--tile:#e9f7ff;display:flex;gap:12px;align-items:center;min-width:0;padding:17px;border-radius:20px;background:linear-gradient(130deg,#fff,var(--tile));border:1px solid #d9eaf0;color:#24415a;box-shadow:0 6px 21px #2546780b;transition:transform .2s,box-shadow .2s,border-color .2s}
.care-feature-business{--tile:#fff1e7}.care-feature-safety{--tile:#eaf5ff}.care-feature-people{--tile:#f0ebff}.care-feature-children{--tile:#e5faed}
.care-feature:hover{transform:translateY(-3px);box-shadow:0 12px 25px #23456818;border-color:#a8dcd8;color:#14776e}
.care-emoji{display:grid;place-content:center;border-radius:17px;background:#ffffffbf;width:56px;height:56px;flex:0 0 56px;font-size:29px;box-shadow:inset 0 0 0 1px #ffffffbd}
.care-feature-body{min-width:0;display:flex;flex-direction:column;gap:5px;flex:1}
.care-feature-body strong{font-size:1rem;color:#284259;line-height:1.5}
.care-feature-body small{font-size:.78rem;color:#687f90;line-height:1.65}
.care-arrow{font-size:1.2rem;color:#189c8c;flex:0 0 18px}
.plus-hub-intro{padding:25px;border:1px solid #c7e9df;background:linear-gradient(120deg,#e7fbf1,#e8f5ff);border-radius:22px;display:flex;align-items:center;gap:15px;justify-content:space-between;margin:0 0 17px}
.plus-hub-intro h2{font-size:clamp(1.35rem,2.5vw,1.9rem);color:#1e4960;margin:4px 0 6px}
.plus-hub-intro p{color:#547587;margin:0;line-height:1.7}
.plus-hub-decoration{white-space:nowrap;font-size:38px}
.plus-hub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.plus-hub-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:148px;padding:17px;border-radius:18px;background:linear-gradient(130deg,#fff,#eef9ff);border:1px solid #d7e9ee;color:#27516a;cursor:pointer;text-align:start}
.plus-hub-card:nth-child(4n+2){background:linear-gradient(135deg,#fff,#fff1e5)}
.plus-hub-card:nth-child(4n+3){background:linear-gradient(135deg,#fff,#e9faee)}
.plus-hub-card:nth-child(4n+4){background:linear-gradient(135deg,#fff,#f2efff)}
.plus-hub-card:hover{border-color:#90d5c6;transform:translateY(-3px)}
.plus-hub-card strong{font-size:.98rem;color:#234960;line-height:1.5}
.hub-icon{font-size:26px}.hub-go{margin-inline-start:auto;color:#158d83;font-size:1.1rem}
@media(max-width:1100px){.care-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.care-welcome{grid-template-columns:minmax(0,1fr) 200px}.plus-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){
 .care-mobile-quick{display:flex;margin:9px 0 18px}
 .care-welcome{grid-template-columns:minmax(0,1fr) 130px;padding:24px}
 .care-welcome-art{height:170px}.art-house{font-size:85px}.art-sun{font-size:35px}.art-bear{font-size:35px}.art-leaf{font-size:28px}
 .tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .plus-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sidebar{display:none!important}
}
@media(max-width:560px){
 .care-grid{grid-template-columns:1fr}
 .care-welcome{display:block;padding:23px}
 .care-welcome-art{display:none}
 .care-welcome h2{font-size:1.75rem}
 .care-feature{padding:13px 12px}
 .care-emoji{width:50px;height:50px;flex-basis:50px;font-size:26px}
 .tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tab{padding:10px 7px!important;font-size:.82rem}
 .plus-hub-intro{padding:18px}.plus-hub-decoration{display:none}
 .plus-hub-card{padding:13px;min-height:126px}
 .page-head{margin-top:.2rem}
 .metric{padding:1rem!important}
 .metric strong{font-size:1.5rem}
}
@media(max-width:365px){.plus-hub-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.care-welcome-art span,.care-feature,.plus-hub-card{animation:none!important;transition:none!important}}

/* Make all service modules reachable in short laptop viewports without hiding the core nav. */
@media(min-width:851px){
 .workspace .sidebar{max-height:calc(100dvh - 34px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7d8da #f1f8fb}
 .workspace .sidebar::-webkit-scrollbar{width:7px}
 .workspace .sidebar::-webkit-scrollbar-thumb{background:#b9d9dd;border-radius:99px}
 .workspace .sidebar .sidebar-head{position:relative}
}
