*{box-sizing:border-box} :root{--green:#142b4a;--green2:#245b8f;--ink:#1e293b;--muted:#64748b;--line:#e2e8f0;--bg:#f4f7fb}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
a{color:var(--green2);text-decoration:none}.top{background:#fff;border-bottom:1px solid var(--line);padding:12px max(18px,calc((100% - 1080px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:5}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:700}.brand small{display:block;font-size:10px;color:var(--muted);font-weight:400}.brandmark{width:42px;height:42px;background:var(--green);color:white;border-radius:13px;display:grid;place-items:center;font-size:22px}
nav{display:flex;gap:16px;flex-wrap:wrap}nav a{font-size:14px;font-weight:600}.container{max-width:1080px;margin:28px auto;padding:0 18px 80px}
.hero{background:linear-gradient(125deg,#142b4a,#245b8f);border-radius:24px;padding:44px;color:#fff;min-height:280px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.hero h1{font-size:clamp(32px,5vw,48px);line-height:1.1;margin:8px 0 14px}.hero p{max-width:590px;color:#e5effa}.hero-small{min-height:170px;padding:28px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#c4d9ef;font-weight:700}.points{background:#ffffff20;border:1px solid #ffffff40;border-radius:16px;padding:18px;min-width:125px;text-align:center}.points strong{display:block;font-size:32px}.points span{font-size:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:var(--green);color:#fff;padding:13px 18px;font-weight:700;cursor:pointer;font-size:15px}.btn:hover{background:var(--green2);color:#fff}.btn-light{background:#fff;color:var(--green)}.btn-outline{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn-small{padding:8px 12px;font-size:13px}
.panel,.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:18px;box-shadow:0 5px 20px #0f172a08}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card h2{margin-top:0}.linkcard{display:block;color:var(--ink)}.linkcard:hover{border-color:#8aaed2;transform:translateY(-1px)}.narrow{max-width:560px;margin:30px auto}.pagehead{margin:10px 0 22px}.pagehead h1{font-size:34px;margin:0 0 6px}.muted,small{color:var(--muted)}.center{text-align:center}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px}.pill{display:inline-block;background:#eaf2fb;color:#245b8f;padding:4px 10px;border-radius:99px;font-size:12px;font-weight:700;text-transform:capitalize}
form{display:grid;gap:10px}label{font-size:14px;font-weight:700;margin-top:7px}input,select,textarea{width:100%;padding:13px 14px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:var(--ink);font:inherit;min-height:48px}textarea{resize:vertical}.inlineform{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.inlineform>*{flex:1;min-width:140px}.inlineform button{flex:0 0 auto}.listitem{border-top:1px solid var(--line);padding:14px 0}.listitem:first-of-type{border-top:0}.listitem h3{margin:5px 0}.notice,.error{padding:13px 16px;border-radius:12px;margin-bottom:16px}.notice{background:#eaf2fb;color:#17395f}.error{background:#fff0f0;color:#991b1b}.footer{text-align:center;padding:25px;color:var(--muted);font-size:12px}.bottom{display:none}
@media(max-width:700px){.top{padding:10px 14px}.top nav{display:none}.container{margin:16px auto;padding:0 13px 88px}.hero{padding:26px 22px;min-height:0;display:block}.hero-small{display:flex}.grid{grid-template-columns:1fr}.panel,.card{padding:18px}.bottom{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);justify-content:space-around;padding:12px 4px calc(12px + env(safe-area-inset-bottom));z-index:10}.bottom a{font-size:11px;font-weight:700;color:var(--muted)}.inlineform{display:grid}.inlineform>*{width:100%}}

/* LifeHub playful learning layer — original design, inspired by friendly habit-learning apps */
:root{--green:#245b8f;--green2:#397fbd;--ink:#1d2a3a;--bg:#f4f7fb;--line:#dce5f0;--lime:#b8d6f2;--orange:#ff9f43}
body{background:radial-gradient(circle at 8% 4%,#eaf2fb 0,transparent 28rem),var(--bg);color:var(--ink)}
.top{box-shadow:0 3px 14px #1b56300b}.brandmark{background:linear-gradient(145deg,#397fbd,#17395f);border-radius:15px;box-shadow:0 4px 0 #17395f;animation:brand-bob 3.5s ease-in-out infinite}
.container{max-width:1000px}.hero{background:linear-gradient(120deg,#1c4773 0%,#397fbd 60%,#6b9bc9 100%);border-radius:28px;box-shadow:0 8px 0 #dce7f3;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:250px;height:250px;border:2px solid #ffffff20;border-radius:50%;right:-75px;top:-110px;box-shadow:0 0 0 28px #ffffff0d,0 0 0 58px #ffffff0a;pointer-events:none}.hero h1{letter-spacing:-.035em}.hero p{font-size:17px}.dashboard-hero{min-height:190px;padding:28px 34px;align-items:center}.hero-link{display:inline-flex;gap:9px;align-items:center;color:#fff;font-weight:800;border-bottom:2px solid #ffffff75;padding-bottom:3px}.hero-link span{font-size:22px;transition:transform .2s}.hero-link:hover span{transform:translateX(5px)}.hero-buddy{width:118px;height:118px;flex:0 0 118px;border-radius:34px;background:#ffffff24;border:1px solid #ffffff4a;display:grid;place-items:center;align-content:center;gap:0;transform:rotate(4deg);animation:buddy-float 3s ease-in-out infinite}.hero-buddy span{font-size:52px;filter:drop-shadow(0 5px 0 #17395f30)}.hero-buddy small{color:#fff;font-weight:800;font-size:12px}
.stats-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:18px 0}.stat-card{background:#fff;border:2px solid var(--line);border-radius:20px;padding:16px 19px;display:grid;grid-template-columns:48px 1fr;align-items:center;column-gap:12px;box-shadow:0 4px 0 #e3eaf3}.stat-icon{grid-row:span 2;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;font-size:25px;background:#fff1dc}.points-card .stat-icon{background:#fff7cf}.stat-card strong{font-size:29px;line-height:1.05;display:block;font-weight:900;letter-spacing:-.04em}.stat-card span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.stat-card>small{grid-column:2;color:#6b7e95;font-size:12px;margin-top:5px}.streak-panel{border:2px solid var(--line);box-shadow:0 5px 0 #e3eaf3;padding:24px}.streak-panel h2{margin:3px 0 0;font-size:22px}.dark-eyebrow{color:#6b86a6}.pill{background:#eaf2fb;color:#245b8f}.pill-done{background:#dcfce7;color:#245b8f}.week-track{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:23px 0 25px}.day-node{display:flex;flex-direction:column;align-items:center;gap:7px;color:#7b8da4;font-weight:800}.day-dot{width:43px;height:43px;border:2px solid #dce5f0;border-radius:15px;display:grid;place-items:center;background:#f7f9fc;font-size:19px;color:#91a1b5;transition:transform .2s,background .2s}.day-node.is-done .day-dot{background:#e1eefb;border-color:#80aeda;color:#1c4773;box-shadow:0 3px 0 #c3d9f0;animation:pop-in .35s ease both}.day-node.is-today .day-dot{border-color:#f4b04f;box-shadow:0 0 0 4px #fff3dc}.day-node small{font-size:11px}.checkin-form{border-top:1px solid var(--line);padding-top:18px}.checkin-form>label{font-size:16px}.checkin-controls{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;margin-top:8px}.checkin-controls input,.checkin-controls select{min-width:0}.btn-pop{background:#397fbd;box-shadow:0 4px 0 #1c4773;transition:transform .15s,box-shadow .15s}.btn-pop:hover{background:#245b8f;transform:translateY(-2px);box-shadow:0 6px 0 #1c4773}.btn-pop:active{transform:translateY(2px);box-shadow:0 1px 0 #1c4773}.completed-banner{display:flex;gap:13px;align-items:center;background:#eaf2fb;border:1px solid #cbdcf0;border-radius:16px;padding:15px 17px}.completed-banner>span{font-size:30px;animation:celebrate 1.2s ease-in-out infinite}.completed-banner strong,.completed-banner small{display:block}.completed-banner small{font-size:13px;margin-top:2px}.landing-hero{min-height:365px;padding:44px;display:flex;align-items:center}.landing-hero>div:first-child{position:relative;z-index:1}.landing-hero .btn{margin-top:6px}.hero-proof{font-size:12px;font-weight:700;color:#dcfce7;margin-top:18px}.landing-buddy{position:relative;flex:0 0 245px;min-height:230px;display:grid;place-items:center}.buddy-sun{position:absolute;right:15px;top:4px;font-size:38px;animation:spin-slow 18s linear infinite}.buddy-face{width:170px;height:170px;background:#d9e9f8;border:8px solid #fff;border-radius:48% 52% 46% 54%;display:grid;place-items:center;font-size:88px;box-shadow:0 10px 0 #17395f30;transform:rotate(-8deg);animation:buddy-float 3.2s ease-in-out infinite}.buddy-caption{position:absolute;bottom:0;right:0;background:#fff;color:#245b8f;padding:9px 13px;border-radius:13px;font-size:12px;font-weight:800;box-shadow:0 4px 0 #17395f20;transform:rotate(2deg)}
.card,.panel{transition:transform .18s,box-shadow .18s}.linkcard:hover{transform:translateY(-4px);box-shadow:0 8px 0 #dce5f0}.notice{border:1px solid #cbdcf0;box-shadow:0 4px 0 #e5edf7;animation:pop-in .35s ease both}
@keyframes buddy-float{0%,100%{transform:translateY(0) rotate(4deg)}50%{transform:translateY(-8px) rotate(-2deg)}}@keyframes brand-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes pop-in{0%{transform:scale(.8);opacity:.3}75%{transform:scale(1.06)}100%{transform:scale(1);opacity:1}}@keyframes celebrate{0%,100%{transform:rotate(-8deg) scale(1)}50%{transform:rotate(9deg) scale(1.16)}}@keyframes spin-slow{to{transform:rotate(360deg)}}
@media(max-width:700px){.dashboard-hero{display:flex;gap:8px;padding:23px 19px}.hero-buddy{width:82px;height:82px;flex-basis:82px;border-radius:24px}.hero-buddy span{font-size:36px}.hero-buddy small{font-size:10px}.stats-row{gap:9px}.stat-card{padding:13px 11px;grid-template-columns:39px 1fr;column-gap:8px}.stat-icon{width:38px;height:38px;font-size:21px}.stat-card strong{font-size:25px}.stat-card span{font-size:10px}.stat-card>small{font-size:10px}.streak-panel{padding:18px 14px}.streak-panel h2{font-size:19px}.week-track{gap:3px}.day-dot{width:36px;height:36px;border-radius:12px;font-size:16px}.day-node small{font-size:10px}.checkin-controls{grid-template-columns:1fr}.landing-hero{padding:28px 22px;display:block}.landing-buddy{min-height:185px;margin-top:15px}.buddy-face{width:130px;height:130px;font-size:68px}.buddy-caption{right:5px}.hero-proof{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* Biodeft Medlines: the welcoming, in-person home of Biodeft Gitagum */
.hub-section{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:25px;align-items:center;background:#fff;border:2px solid #dce5f0;border-radius:24px;padding:18px;margin:22px 0;box-shadow:0 6px 0 #e3eaf3;overflow:hidden}
.hub-photo-wrap{position:relative;min-width:0}.hub-photo{display:block;width:100%;height:100%;min-height:300px;max-height:390px;object-fit:cover;border-radius:17px}.hub-photo-tag{position:absolute;left:12px;bottom:12px;background:#fff;color:#245b8f;padding:9px 13px;border-radius:99px;font-size:12px;font-weight:900;box-shadow:0 3px 12px #10203324}
.hub-copy h2{font-size:clamp(25px,3vw,34px);line-height:1.12;letter-spacing:-.03em;margin:8px 0 12px}.hub-copy p{line-height:1.65}.hub-actions{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 10px}.hub-actions .btn{font-size:14px}.hub-address{font-size:13px;color:var(--muted);margin-bottom:0}
.yakap-panel{border:2px solid #dce5f0;box-shadow:0 6px 0 #e3eaf3;padding:25px}.yakap-heading{display:flex;align-items:center;gap:14px}.yakap-heading h2{margin:3px 0 0;font-size:26px}.yakap-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:17px;background:#eaf2fb;color:#245b8f;font-size:30px;font-weight:900}.yakap-panel>p{line-height:1.65}.yakap-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:20px 0}.yakap-benefits>div{background:#f5f8fc;border:1px solid #dce5f0;border-radius:15px;padding:14px;display:flex;flex-direction:column;gap:6px}.yakap-benefits span{font-size:25px}.yakap-benefits strong{font-size:14px;line-height:1.25}.yakap-benefits small{font-size:12px;line-height:1.45}.yakap-note{background:#eaf2fb;border-left:4px solid #397fbd;padding:15px 17px;border-radius:10px;line-height:1.6}.yakap-copay{font-size:13px;color:#56677e}.hub-welcome{font-size:16px;font-weight:700;color:#245b8f;background:#fbfcfe;border:1px dashed #bfd2e8;border-radius:13px;padding:14px 16px}.yakap-links{display:flex;flex-wrap:wrap;gap:18px;font-size:13px;font-weight:800}
@media(max-width:760px){.hub-section{grid-template-columns:1fr;padding:13px;gap:16px}.hub-photo{min-height:210px;max-height:270px}.hub-copy{padding:0 5px 7px}.hub-actions{display:grid}.hub-actions .btn{width:100%}.yakap-panel{padding:19px 16px}.yakap-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.yakap-benefits>div{padding:12px}.yakap-heading h2{font-size:22px}}
.hub-map{margin-top:13px;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#f7f9fc}.hub-map iframe{display:block;width:100%;height:175px;border:0}.hub-map>a{display:block;padding:10px 12px;font-size:13px;font-weight:900;color:#245b8f}

/* Quick SMS composer for the Biodeft LifeHub physical hub */
.sms-dialog{width:min(520px,calc(100% - 28px));border:1px solid #dce5f0;border-radius:22px;padding:0;box-shadow:0 24px 80px #10203340;color:var(--ink)}.sms-dialog::backdrop{background:#10203388;backdrop-filter:blur(3px)}.sms-dialog form{padding:25px;position:relative}.sms-dialog h3{font-size:25px;margin:6px 0}.sms-dialog p{margin:0 0 8px}.sms-dialog textarea{resize:vertical;min-height:110px}.sms-close{position:absolute;right:17px;top:12px;border:0;background:#eaf2fb;color:#245b8f;width:36px;height:36px;border-radius:50%;font-size:25px;line-height:1;cursor:pointer}.sms-dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.sms-dialog-actions .btn{flex:1}@media(max-width:520px){.sms-dialog form{padding:22px 18px}.sms-dialog-actions{display:grid}.sms-dialog-actions .btn{width:100%}}

/* Biodeft Gitagum brand system */
.brand-logo{width:54px;height:54px;object-fit:cover;border-radius:14px;flex:0 0 54px;border:1px solid #d8dee9;box-shadow:0 3px 8px #0f172a18}.brand{gap:12px;font-size:19px;letter-spacing:-.02em}.brand small{font-size:11px;letter-spacing:0}.brand-banner{margin:0 0 22px;border-radius:22px;overflow:hidden;background:#101a2e;box-shadow:0 7px 0 #dce5f0}.brand-banner img{display:block;width:100%;height:auto;max-height:390px;object-fit:cover}.landing-hero{border:1px solid #ffffff30}.hub-photo-tag{background:#17243b;color:#f4d49b}
@media(max-width:700px){.brand-logo{width:45px;height:45px;flex-basis:45px}.brand{font-size:17px}.brand small{font-size:9px}.brand-banner{border-radius:15px;margin-bottom:16px}.brand-banner img{min-height:160px;object-fit:cover}}

/* Biodeft corporate palette: navy, slate blue and restrained gold accents */
:root{--green:#142b4a;--green2:#245b8f;--ink:#1d2a3a;--muted:#64748b;--line:#dce5f0;--bg:#f4f7fb;--lime:#b8d6f2;--orange:#d6ad67}
body{background:radial-gradient(circle at 8% 4%,#eaf2fb 0,transparent 28rem),var(--bg);color:var(--ink)}
.hero,.landing-hero{background:linear-gradient(120deg,#142b4a 0%,#245b8f 62%,#397fbd 100%);box-shadow:0 8px 0 #dce5f0}
.brandmark{background:linear-gradient(145deg,#397fbd,#142b4a);box-shadow:0 4px 0 #10243d}
.eyebrow{color:#d6e6f7}.hero-proof{color:#e5effa}.hero-buddy{background:#ffffff20;border-color:#ffffff4a}.hero-buddy span{filter:drop-shadow(0 5px 0 #10243d30)}
.buddy-face{background:#d9e9f8;box-shadow:0 10px 0 #10243d30}.buddy-caption{color:#245b8f;box-shadow:0 4px 0 #10243d20}
.stat-card,.streak-panel{box-shadow:0 4px 0 #e3eaf3}.day-node.is-done .day-dot{background:#e1eefb;border-color:#80aeda;color:#245b8f;box-shadow:0 3px 0 #c3d9f0}
.day-node.is-today .day-dot{border-color:#d6ad67;box-shadow:0 0 0 4px #f7f0e4}.pill{background:#eaf2fb;color:#245b8f}.pill-done{background:#e1eefb;color:#245b8f}
.btn,.btn-pop{background:#245b8f;box-shadow:0 4px 0 #17395f}.btn:hover,.btn-pop:hover{background:#397fbd}.btn-light{color:#142b4a}.btn-pop:active{box-shadow:0 1px 0 #17395f}
.completed-banner,.notice{background:#eaf2fb;border-color:#cbdcf0;color:#17395f}.completed-banner>span{color:#245b8f}.linkcard:hover{border-color:#8aaed2;box-shadow:0 8px 0 #dce5f0}
.hub-section,.yakap-panel{border-color:#dce5f0;box-shadow:0 6px 0 #e3eaf3}.hub-photo-tag{background:#17243b;color:#f4d49b}.yakap-icon{background:#eaf2fb;color:#245b8f}.yakap-benefits>div{background:#f5f8fc;border-color:#dce5f0}.yakap-note{background:#eaf2fb;border-left-color:#397fbd}.hub-welcome{color:#245b8f;background:#fbfcfe;border-color:#bfd2e8}.hub-map{background:#f7f9fc}.hub-map>a{color:#245b8f}
.sms-dialog{border-color:#dce5f0}.sms-close{background:#eaf2fb;color:#245b8f}

/* v1.8 accessibility fix: ensure readable text on corporate blue buttons */
button.btn, a.btn, input.btn, .btn-pop,
button.btn-pop, a.btn-pop {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
button.btn *, a.btn *, .btn-pop *,
button.btn-pop *, a.btn-pop * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
button.btn-light, a.btn-light,
button.btn-outline, a.btn-outline {
  color: #142b4a !important;
  -webkit-text-fill-color: #142b4a !important;
}
button.btn-light *, a.btn-light *,
button.btn-outline *, a.btn-outline * {
  color: #142b4a !important;
  -webkit-text-fill-color: #142b4a !important;
}
.btn:focus-visible, .btn-pop:focus-visible {
  outline: 3px solid #d6ad67;
  outline-offset: 3px;
}

/* v1.9 contrast correction: secondary buttons are white with navy text */
.btn-outline, button.btn-outline, a.btn-outline, input.btn-outline,
.sms-dialog-actions .btn-outline {
  background:#fff !important;
  color:#142b4a !important;
  -webkit-text-fill-color:#142b4a !important;
  border:1px solid #b9cbe0 !important;
  box-shadow:0 3px 0 #dce5f0 !important;
}
.btn-outline *, button.btn-outline *, a.btn-outline *,
.sms-dialog-actions .btn-outline * {
  color:#142b4a !important;
  -webkit-text-fill-color:#142b4a !important;
}
.btn-outline:hover, button.btn-outline:hover, a.btn-outline:hover {
  background:#eaf2fb !important;
  color:#142b4a !important;
  -webkit-text-fill-color:#142b4a !important;
}
.btn-light, button.btn-light, a.btn-light, input.btn-light {
  background:#fff !important;
  color:#142b4a !important;
  -webkit-text-fill-color:#142b4a !important;
}
.btn-light *, button.btn-light *, a.btn-light * {
  color:#142b4a !important;
  -webkit-text-fill-color:#142b4a !important;
}
/* Primary blue buttons always have white text */
.btn:not(.btn-outline):not(.btn-light), .btn-pop {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.btn:not(.btn-outline):not(.btn-light) *, .btn-pop * {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}

/* v1.11 Member Center, resident posting and author disclosure */
.consent{display:flex;align-items:flex-start;gap:10px;background:#f5f8fc;border:1px solid #dce5f0;border-radius:12px;padding:12px;margin:14px 0;line-height:1.45}.consent input{width:20px;height:20px;flex:0 0 20px;margin-top:1px}.post-author{font-size:13px;font-weight:800;color:#245b8f;margin-top:12px}.member-grid{margin:18px 0}.member-grid .card{min-height:120px}

.member-post-image{display:block;width:100%;max-width:720px;max-height:420px;object-fit:contain;object-position:left center;border-radius:14px;margin:12px 0;background:#f1f5f9;border:1px solid #d7e1ef}
input[type=file]{display:block;width:100%;padding:12px;border:1px dashed #9fb4cc;border-radius:10px;background:#f8fbff}


/* v1.15 — colorful, service-led visual identity */
.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}
.service-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:230px;padding:23px;border-radius:22px;border:1px solid transparent;overflow:hidden;color:#18324d;box-shadow:0 6px 0 #0f172a0b;transition:transform .2s,box-shadow .2s}
.service-tile:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-58px;bottom:-88px;background:#ffffff65}
.service-tile:hover{transform:translateY(-4px);box-shadow:0 10px 0 #0f172a10;color:#18324d}
.service-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;font-size:28px;background:#ffffffb8;box-shadow:0 3px 0 #18324d10;margin-bottom:12px}
.service-kicker{font-size:10px;letter-spacing:.13em;font-weight:900;color:#425c76}
.service-tile h2{font-size:24px;line-height:1.1;margin:7px 0}
.service-tile p{font-size:14px;line-height:1.5;margin:0 0 16px;max-width:380px;color:#40556b}
.service-arrow{font-size:13px;font-weight:900;margin-top:auto;position:relative;z-index:1}.service-arrow b{font-size:19px;margin-left:5px}
.service-health{background:linear-gradient(135deg,#e2f6eb,#c4ead8);border-color:#a8dbc0}
.service-jobs{background:linear-gradient(135deg,#fff0d9,#ffddb0);border-color:#f2cf9d}
.service-market{background:linear-gradient(135deg,#e5efff,#c9dcff);border-color:#b6cdf4}
.service-community{background:linear-gradient(135deg,#f5e8ff,#e6d1fb);border-color:#d9bff2}
.service-clinic{background:linear-gradient(135deg,#ffe6e8,#ffd0d5);border-color:#f2b8c0}
.service-yakap{background:linear-gradient(135deg,#e1f3ff,#c8e6fa);border-color:#b4d9ef}
.youtube-feature{display:grid;grid-template-columns:64px 1fr 100px;gap:18px;align-items:center;background:linear-gradient(115deg,#7e1d2d,#c73542 64%,#e46b5c);border-radius:24px;padding:25px 28px;color:#fff;margin:22px 0;box-shadow:0 7px 0 #e7d7d9}
.youtube-feature h2{font-size:25px;margin:5px 0}.youtube-feature p{color:#ffe9e9;margin:0 0 14px;max-width:620px}.youtube-feature .service-kicker{color:#ffd8d8}
.youtube-mark{width:58px;height:42px;border-radius:13px;background:#fff;color:#bd2638;display:grid;place-items:center;font-size:25px;font-weight:900;box-shadow:0 4px 0 #68152155}
.youtube-art{font-size:65px;text-align:center;filter:drop-shadow(0 6px 0 #68152140)}
.btn-youtube{background:#fff;color:#a21e31}.btn-youtube:hover{background:#ffe7e8;color:#8c1526}
.text-link-light{font-weight:900;color:#fff;text-decoration:underline;text-underline-offset:4px}
.youtube-feature-compact{grid-template-columns:56px 1fr;padding:20px 24px}
.section-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:34px 38px;border-radius:26px;margin:0 0 24px;overflow:hidden;min-height:235px;color:#17324b;box-shadow:0 7px 0 #0f172a0c}
.section-hero:after{content:"";position:absolute;width:260px;height:260px;border:2px solid #ffffff75;border-radius:50%;right:-70px;top:-125px;box-shadow:0 0 0 28px #ffffff25,0 0 0 58px #ffffff1c}
.section-hero>div:first-child{position:relative;z-index:1;max-width:700px}
.section-hero h1{font-size:clamp(30px,4.4vw,43px);line-height:1.08;letter-spacing:-.04em;margin:9px 0 12px}
.section-hero p{max-width:650px;font-size:16px;line-height:1.6;color:#40556b}
.section-hero-art{font-size:92px;min-width:120px;text-align:center;filter:drop-shadow(0 8px 0 #17324b16);transform:rotate(-7deg)}
.section-hero .service-kicker{color:#405c72}
.health-hero{background:linear-gradient(120deg,#dff5e8,#bde8d0 65%,#a8ddc1)}
.clinic-hero{background:linear-gradient(120deg,#ffe5e8,#ffcbd2 65%,#f8b7c1)}
.explore-hero{background:linear-gradient(120deg,#e4edff,#c8d9ff 65%,#b5cdf8)}
.community-hero{background:linear-gradient(120deg,#f5e8ff,#e5d0fa 65%,#d9baf2)}
.btn-health{background:#26764e;box-shadow:0 4px 0 #175236}.btn-clinic{background:#a92f4a;box-shadow:0 4px 0 #7e1f35}.btn-explore{background:#315ea8;box-shadow:0 4px 0 #1e3f79}.btn-community{background:#7541a0;box-shadow:0 4px 0 #4d286d}
.lesson-intro{display:flex;justify-content:space-between;align-items:end;gap:14px;margin:28px 0 14px}.lesson-intro h2{margin:4px 0;font-size:25px}.lesson-intro p{margin:0}.pill-link{white-space:nowrap;font-size:13px;font-weight:900;background:#e8f2ed;color:#236746;padding:10px 14px;border-radius:99px}
.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:15px 0 25px}
.lesson-card{border-radius:19px;padding:19px;border:1px solid #e2e8f0;min-height:230px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 4px 0 #0f172a08}
.lesson-emoji{font-size:31px;margin-bottom:10px}.lesson-tag{font-size:10px;font-weight:900;letter-spacing:.13em;color:#52677d}
.lesson-card h3{font-size:18px;line-height:1.2;margin:8px 0}.lesson-card p{font-size:13px;line-height:1.55;color:#526276;margin:0 0 15px}.lesson-card a{font-size:12px;font-weight:900;margin-top:auto}
.lesson-move{background:#eaf7ef;border-color:#c9e8d3}.lesson-food{background:#fff5df;border-color:#f1dfb5}.lesson-heart{background:#fff0f1;border-color:#f0d0d3}.lesson-sleep{background:#eef0ff;border-color:#d9dcfa}.lesson-safe{background:#e8f4fa;border-color:#cce3ef}.lesson-mind{background:#f5edff;border-color:#e3d4f5}
.health-channel{margin-top:26px}.health-disclaimer{font-size:12px;color:#718096;line-height:1.55;padding:10px 2px}
.service-panel{border-radius:22px;padding:24px;margin:22px 0;border:1px solid transparent;box-shadow:0 6px 0 #0f172a0b}
.service-panel-heading{display:flex;align-items:center;gap:14px;margin-bottom:18px}.service-panel-heading .service-icon{flex:0 0 54px;margin:0}.service-panel-heading h2{margin:3px 0;font-size:25px}.service-panel-heading p{margin:0;color:#526276;font-size:14px}
.market-panel{background:linear-gradient(145deg,#f0f5ff,#e2ebff);border-color:#c8d8f6}.jobs-panel{background:linear-gradient(145deg,#fff7e9,#ffedcf);border-color:#f1dbb5}.community-compose{background:linear-gradient(145deg,#fbf4ff,#f0e3fb);border-color:#dfcbed}
.feed-panel{background:#fff;border:1px solid #e1e7ef;border-radius:20px;padding:22px;margin:18px 0;box-shadow:0 4px 0 #0f172a08}
.market-feed{border-top:5px solid #6e94d6}.jobs-feed{border-top:5px solid #e5a747}.community-feed{border-top:5px solid #a77acb}
.empty-state{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:20px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:15px;margin:12px 0}
.empty-state>span{font-size:30px}.empty-state strong{font-size:16px}.empty-state p{margin:0;color:#64748b;font-size:13px}.empty-state a{font-weight:900;font-size:13px}
.clinic-panel{border-top:5px solid #d77a8a}
.published-lessons{margin-top:28px}
@media(max-width:760px){.service-grid{grid-template-columns:1fr;gap:12px}.service-tile{min-height:195px;padding:20px}.youtube-feature{grid-template-columns:48px 1fr;padding:20px;gap:13px}.youtube-mark{width:45px;height:34px;font-size:20px}.youtube-art{display:none}.youtube-feature h2{font-size:21px}.section-hero{padding:25px 22px;min-height:0}.section-hero-art{font-size:60px;min-width:65px}.section-hero h1{font-size:30px}.section-hero p{font-size:14px}.lesson-grid{grid-template-columns:1fr 1fr;gap:10px}.lesson-card{padding:15px;min-height:245px}.lesson-intro{align-items:flex-start;flex-direction:column}.service-panel{padding:18px}.service-panel-heading h2{font-size:21px}}
@media(max-width:430px){.section-hero-art{display:none}.lesson-grid{grid-template-columns:1fr}.lesson-card{min-height:0}.youtube-feature{grid-template-columns:40px 1fr;padding:17px}.youtube-feature .btn{font-size:13px}}

/* Admin dashboard overview polish v1.17 */
.admin-dashboard{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 20px}.admin-stat{border:1px solid #dce5f0;border-radius:18px;padding:16px;min-height:130px;box-shadow:0 4px 0 #e3eaf3;display:flex;flex-direction:column;gap:6px}.admin-stat>span{font-size:25px}.admin-stat strong{font-size:29px;line-height:1.1;letter-spacing:-.04em}.admin-stat small{font-weight:800;font-size:11px;line-height:1.35}.admin-stat-blue{background:#e8f2ff;color:#1c4773}.admin-stat-violet{background:#f0ebff;color:#56418c}.admin-stat-gold{background:#fff4d8;color:#78570c}.admin-stat-orange{background:#ffeddc;color:#9b4d15}.admin-stat-coral{background:#ffe8e8;color:#9c3434}.admin-quick-panel .sectionhead{flex-wrap:wrap}.admin-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.admin-quick-actions a{display:block;padding:13px 15px;background:#f6f9fd;border:1px solid #dce5f0;border-radius:13px;font-weight:800;color:#245b8f}.admin-quick-actions a:hover{background:#eaf2fb;border-color:#b8d6f2}.admin-recent .listitem small{display:block;margin-top:3px}@media(max-width:850px){.admin-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.admin-stat{padding:13px;min-height:112px}.admin-stat strong{font-size:25px}.admin-quick-actions{grid-template-columns:1fr}}

/* MM/DD/YYYY date-entry guidance */
.date-format-help{display:block;margin-top:4px;font-size:.85rem;color:#64748b}
input.date-mmddyyyy{font-variant-numeric:tabular-nums}


/* Fix white-on-white text for the MyDocPH Health Tips button */
.btn-light, button.btn-light, a.btn-light, input.btn-light {
  background: #a9233b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  text-decoration: none !important;
}
.btn-light *, button.btn-light *, a.btn-light * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.btn-light:hover, .btn-light:focus, .btn-light:active {
  background: #861d30 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

/* FINAL FIX — MyDocPH Health Tips subscribe button (target the banner, not generic button classes) */
.youtube-feature a.btn,
.youtube-feature a.btn-youtube,
.youtube-feature a.btn-light,
.youtube-feature .btn,
.youtube-feature button,
.youtube-feature input[type="button"],
.youtube-feature input[type="submit"] {
  background-color: #a9233b !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border-color: #a9233b !important;
}
.youtube-feature a.btn *,
.youtube-feature a.btn-youtube *,
.youtube-feature a.btn-light *,
.youtube-feature .btn *,
.youtube-feature button * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.youtube-feature a.btn:hover,
.youtube-feature a.btn-youtube:hover,
.youtube-feature a.btn-light:hover,
.youtube-feature .btn:hover,
.youtube-feature button:hover,
.youtube-feature a.btn:focus,
.youtube-feature a.btn-youtube:focus,
.youtube-feature a.btn-light:focus,
.youtube-feature .btn:focus,
.youtube-feature button:focus,
.youtube-feature a.btn:active,
.youtube-feature a.btn-youtube:active,
.youtube-feature a.btn-light:active,
.youtube-feature .btn:active,
.youtube-feature button:active {
  background-color: #861d30 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #861d30 !important;
}


/* Definitive MyDocPH Health Tips button contrast fix.
   The button uses .btn-youtube; this selector overrides generic .btn rules. */
.youtube-feature a.btn-youtube,
.youtube-feature button.btn-youtube,
.youtube-feature .btn.btn-youtube,
.youtube-feature a.btn.btn-youtube {
  background: #a9233b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  text-decoration: none !important;
}
.youtube-feature a.btn-youtube *,
.youtube-feature button.btn-youtube *,
.youtube-feature .btn.btn-youtube * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.youtube-feature a.btn-youtube:hover,
.youtube-feature button.btn-youtube:hover,
.youtube-feature .btn.btn-youtube:hover,
.youtube-feature a.btn-youtube:focus,
.youtube-feature button.btn-youtube:focus,
.youtube-feature .btn.btn-youtube:focus,
.youtube-feature a.btn-youtube:active,
.youtube-feature button.btn-youtube:active,
.youtube-feature .btn.btn-youtube:active {
  background: #861d30 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* v1.20 Admin navigation and roster pagination */
.admin-task-tabs{display:flex;gap:8px;flex-wrap:wrap;position:sticky;top:70px;z-index:4;background:#f4f7fb;padding:10px 0;margin:0 0 16px}
.admin-task-tabs a{display:inline-flex;padding:10px 14px;border-radius:999px;background:#fff;border:1px solid #dce5f0;color:#1c4773;font-weight:800;font-size:13px;box-shadow:0 2px 0 #e3eaf3}
.admin-task-tabs a:hover{background:#e8f2ff;border-color:#b8d6f2}
.admin-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0;padding-top:14px;border-top:1px solid #dce5f0}
.admin-pagination span{font-size:13px;font-weight:800;color:#64748b}
.admin-pagination a[aria-disabled="true"]{opacity:.45;pointer-events:none}
@media(max-width:700px){.admin-task-tabs{top:60px;gap:6px}.admin-task-tabs a{font-size:12px;padding:8px 11px}.admin-pagination{display:grid;grid-template-columns:1fr 1fr}.admin-pagination span{grid-column:1/-1;text-align:center;grid-row:1}.admin-pagination a{width:100%;text-align:center}}

/* v1.22 install guidance UI */
.install-help-link{margin-left:10px;border:0;background:transparent;color:inherit;text-decoration:underline;font:inherit;cursor:pointer}
.gitagum-install-banner{position:fixed;z-index:9998;left:12px;right:12px;bottom:calc(74px + env(safe-area-inset-bottom));max-width:620px;margin:0 auto;display:flex;align-items:center;gap:12px;padding:14px 12px;border-radius:16px;background:#142b4a;color:#fff;box-shadow:0 10px 32px rgba(0,0,0,.25)}
.gitagum-install-banner[hidden],.gitagum-install-guide[hidden]{display:none!important}
.install-banner-copy{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}.install-banner-copy span{font-size:.88rem;opacity:.9}
.gitagum-install-banner .btn{white-space:nowrap;background:#f0b74a;color:#142b4a;border:0;font-weight:800}
.install-dismiss{border:0;background:transparent;color:#fff;font-size:1.5rem;line-height:1;padding:4px 6px;cursor:pointer}
.gitagum-install-guide{position:fixed;inset:0;z-index:9999;background:rgba(7,17,31,.62);display:flex;align-items:center;justify-content:center;padding:18px}
.install-guide-card{position:relative;width:min(100%,440px);background:#fff;color:#18324f;border-radius:20px;padding:24px;box-shadow:0 18px 50px rgba(0,0,0,.3)}
.install-guide-card h3{margin:0 30px 10px 0}.install-guide-card p{line-height:1.5}.install-guide-card ol{padding-left:24px;line-height:1.65}
.install-guide-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:1.7rem;color:#18324f;cursor:pointer}
@media(max-width:480px){.gitagum-install-banner{left:8px;right:8px;padding:12px 10px;gap:8px}.install-banner-copy span{font-size:.8rem}.install-help-link{display:block;margin:8px auto 0}}

/* v1.23: richer YAKAP roster pagination */
.admin-pagination-pages{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin:16px 0;padding:12px 0;border-top:1px solid #dce5f0;border-bottom:1px solid #dce5f0}
.admin-pagination-pages .pagination-pages{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}
.admin-pagination-pages .pagination-pages a{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;padding:0 8px;border:1px solid #d4deea;border-radius:8px;background:#fff;color:#1d4e89;text-decoration:none;font-weight:700;font-size:13px}
.admin-pagination-pages .pagination-pages a.current,.admin-pagination-pages .pagination-pages a[aria-current=page]{background:#1d4e89;color:#fff;border-color:#1d4e89}
.admin-pagination-pages .pagination-ellipsis{padding:0 3px;color:#64748b}
@media(max-width:700px){.admin-pagination-pages{gap:5px}.admin-pagination-pages .pagination-pages{width:100%;order:5}.admin-pagination-pages .pagination-pages a{min-width:32px;height:32px}.admin-pagination-pages>a{flex:1;text-align:center;padding:8px 5px}}

/* v1.24: roster pagination spacing and mobile-safe layout */
.admin-pagination-pages{display:flex!important;align-items:center;justify-content:center;gap:10px!important;flex-wrap:wrap!important;max-width:100%;box-sizing:border-box}
.admin-pagination-pages .pagination-pages{display:flex!important;align-items:center;justify-content:center;gap:8px!important;flex-wrap:wrap!important;min-width:0;max-width:100%;padding:4px 2px}
.admin-pagination-pages .pagination-pages a{flex:0 0 auto;min-width:38px!important;height:38px!important;padding:0 10px!important;box-sizing:border-box;line-height:1;white-space:nowrap}
.admin-pagination-pages .pagination-ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:18px;padding:0 4px!important}
@media(max-width:700px){.admin-pagination-pages{display:flex!important;gap:8px!important;padding:10px 0!important}.admin-pagination-pages>a{flex:1 1 auto!important;width:auto!important;min-width:72px!important;padding:9px 8px!important;white-space:nowrap}.admin-pagination-pages .pagination-pages{order:0!important;width:auto!important;flex:1 1 100%!important;gap:8px!important}.admin-pagination-pages .pagination-pages a{min-width:36px!important;height:36px!important;padding:0 8px!important}}
@media(max-width:380px){.admin-pagination-pages .pagination-pages{gap:6px!important}.admin-pagination-pages .pagination-pages a{min-width:32px!important;height:34px!important;padding:0 6px!important}}
