/* Scoped to the new home profile, calendar and household dialogs. */
.hh-menu-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%}.hh-menu-primary{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:nowrap;width:100%}.hh-menu-picture-button,.hh-receive-picture-button{display:block;width:clamp(96px,23vw,180px);padding:0;border:0;background:transparent;line-height:0;flex:0 1 auto}.hh-menu-picture-button img,.hh-receive-picture-button img{display:block;width:100%;height:auto}.hh-menu-wrap nav{justify-content:center;flex-wrap:wrap}.hh-home-top{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(160px,.8fr) minmax(300px,1.6fr);gap:22px;align-items:center;margin:24px 0}.hh-home-title h1{font-size:clamp(1.5rem,2.4vw,2rem)}.hh-home-title p{font-size:.9rem}.hh-profile{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.hh-profile h2,.hh-profile p{margin:2px 0;overflow-wrap:anywhere}.hh-portrait{border:3px solid var(--cyan);border-radius:50%;width:clamp(110px,15vw,185px);height:clamp(110px,15vw,185px);display:flex;align-items:center;justify-content:center;margin-bottom:8px;padding:8px;background:transparent}.hh-portrait img{width:100%;height:100%;object-fit:contain}.hh-home-top:not(:has(.hh-profile)){grid-template-columns:1fr 2fr}.hh-home-top:not(:has(.hh-calendar)){grid-template-columns:1fr 1fr}.hh-home-top:not(:has(.hh-profile)):not(:has(.hh-calendar)){grid-template-columns:1fr}.hh-calendar{border:1px solid #2c617a;border-radius:20px;padding:14px;min-width:0;background:linear-gradient(135deg,#0a2942,#071e33)}.hh-cal-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.hh-cal-tabs button{padding:8px 3px;font-size:.85rem;min-width:0}.hh-cal-heading{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;margin:10px 0}.hh-cal-heading button{padding:5px;font-size:1.5rem}.hh-cal-tools,.hh-popup-tools{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}.hh-cal-tools button{padding:5px 10px;font-size:.8rem}.hh-cal-tools .help{padding:0}.hh-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.hh-weekday{font-size:.68rem;color:#b5cddd;padding:6px 0}.hh-day{padding:4px 0;border-color:#214c65;border-radius:8px;font-size:.85rem;min-width:0;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.hh-today{border-color:var(--green)}.hh-selected{background:#43cffa33}.hh-dots{display:flex;gap:3px;height:5px}.hh-dot{display:block;width:5px;height:5px;border-radius:50%;background:var(--cyan)}.hh-holiday.hh-dot{background:#f2c75b}.hh-work.hh-dot{background:#bd9aff}.hh-no-school.hh-dot,.hh-half-day.hh-dot{background:#ff8d7a}.hh-menu.hh-dot{background:var(--green)}.hh-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hh-year-month{min-width:0;border:1px solid #214c65;border-radius:10px;padding:4px}.hh-year-month>button{width:100%;font-size:.7rem;padding:4px;min-height:44px;border:0}.hh-mini-grid{gap:1px}.hh-mini-grid .hh-weekday{font-size:.48rem;padding:2px 0}.hh-mini-day{font-size:.5rem;min-height:18px;border:0;padding:1px}.hh-mini-day .hh-dots{height:3px}.hh-mini-day .hh-dot{width:3px;height:3px}.hh-week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.hh-week-strip button{padding:6px 0;font-size:.65rem;display:flex;flex-direction:column;gap:5px}.hh-agenda{display:flex;flex-direction:column;gap:8px;margin-top:12px}.hh-agenda-event{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere;border-left:3px solid var(--cyan)}.hh-agenda-event span{font-size:.8em;color:#b5cddd}.hh-agenda-event.hh-work{border-left-color:#bd9aff}.hh-agenda-event.hh-holiday{border-left-color:#f2c75b}.hh-agenda-event.hh-no-school,.hh-agenda-event.hh-half-day{border-left-color:#ff8d7a}.hh-form{display:flex;flex-direction:column;gap:14px}.hh-field{display:flex;flex-direction:column;gap:6px;align-items:center;min-width:0}.hh-field input:not([type=checkbox]),.hh-field select,.hh-field textarea{width:min(100%,340px);min-width:0;text-align:center}.hh-field input[type=file]{font-size:.8rem}.hh-switches{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin:16px 0}.hh-avatar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hh-avatar-grid h3{grid-column:1/-1;margin:12px 0 4px}.hh-avatar-grid button{padding:4px}.hh-avatar-grid img{display:block;width:100%;height:100px;object-fit:contain}.hh-work-days{display:flex;flex-direction:column;gap:8px}.hh-work-row{display:grid;grid-template-columns:minmax(70px,1fr) 105px 105px;gap:6px;align-items:center}.hh-work-row label{justify-content:center;flex-wrap:wrap;font-size:.85rem}.hh-work-row input[type=time]{width:100%;padding:6px;min-width:0;font-size:.8rem}.hh-list-row,.hh-import-row{border:1px solid #2c617a;border-radius:14px;padding:12px;margin:10px 0;overflow-wrap:anywhere}.hh-list-row>label{justify-content:center;flex-wrap:wrap}.hh-list-row p{margin:8px 0}.hh-list-row a{display:block;margin:8px}.hh-list-row input[type=number]{width:6ch;text-align:center;margin:4px}.hh-list-row button{margin:4px}.hh-planned-total{display:block;color:var(--green);margin:18px 0}.hh-import-rows{display:flex;flex-direction:column}.hh-import-row{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.hh-import-row input:not([type=checkbox]),.hh-import-row select{max-width:100%;min-width:0;width:100%;text-align:center}.hh-import-row label{flex-direction:column}.hh-import-row label:first-child{flex-direction:row}.hh-import-warnings{font-size:.85rem;color:#ffd18b}.hh-date-fields{display:flex;gap:12px;justify-content:center}.hh-date-fields .hh-field{width:110px}.hh-original{width:100%;max-height:65vh;object-fit:contain}.hh-source-frame{width:100%;height:60vh;border:0;background:white}.hh-exception{border-top:1px solid #315c74;padding:10px;display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.hh-exception strong{width:100%}.hh-calendar .hh-year-grid .hh-mini-day{min-height:20px}.hh-calendar:has(.hh-year-grid){grid-column:3}.hh-year-month .hh-mini-day:focus-visible{outline-offset:0}
@media(max-width:900px){.hh-home-top{grid-template-columns:minmax(130px,1fr) minmax(280px,1.7fr)}.hh-home-title{grid-column:1/-1;grid-row:1}.hh-calendar{grid-column:2}.hh-calendar:has(.hh-year-grid){grid-column:2}.hh-profile{grid-column:1}.hh-home-top:not(:has(.hh-profile)){grid-template-columns:1fr}.hh-home-top:not(:has(.hh-profile)) .hh-calendar{grid-column:1}.hh-home-top:not(:has(.hh-calendar)){grid-template-columns:1fr}.hh-home-top:not(:has(.hh-calendar)) .hh-profile{grid-row:2}}
@media(max-width:600px){.hh-home-top,.hh-home-top:not(:has(.hh-profile)),.hh-home-top:not(:has(.hh-calendar)){grid-template-columns:1fr;gap:16px}.hh-home-title{grid-column:1;grid-row:1}.hh-profile{grid-column:1;grid-row:2}.hh-calendar,.hh-calendar:has(.hh-year-grid){grid-column:1;grid-row:3;width:100%;padding:10px}.hh-portrait{width:140px;height:140px}.hh-work-row{grid-template-columns:76px minmax(80px,1fr) minmax(80px,1fr)}.hh-work-row label{font-size:.7rem}.hh-avatar-grid img{height:80px}.hh-menu-wrap nav button{font-size:.85rem}.hh-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hh-calendar .hh-year-grid .hh-mini-day{min-height:22px}}

.hh-source-text{white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;max-height:60vh;overflow:auto}
.help[data-action="hh-help"]{position:relative;margin:12px 8px}.help[data-action="hh-help"]::before{left:50%;top:50%;transform:translate(-50%,-50%)}.hh-cal-tools .help[data-action="hh-help"]{margin:0 8px}

/* Approved compact brief/calendar update only. Portrait geometry is preserved. */
.hh-home-top{grid-template-columns:minmax(150px,.8fr) minmax(230px,1fr) minmax(300px,1.6fr)}
.hh-profile{position:relative}.hh-profile-gear{position:absolute;right:0;top:0;padding:4px;min-width:44px;min-height:44px;background:transparent}
.hh-brief,.hh-calendar{height:260px;box-sizing:border-box;min-width:0;overflow:hidden}
.hh-brief{border:1px solid #2c617a;border-radius:20px;padding:14px;background:linear-gradient(135deg,#0a2942,#071e33);display:flex;flex-direction:column;gap:8px}
.hh-brief-heading{display:flex;align-items:center;justify-content:center;gap:6px}.hh-brief-heading h2{font-size:1.3rem;margin:0}.hh-brief-heading button{min-width:36px;padding:4px}.hh-brief-heading .help[data-action="hh-help"]{margin:0 3px}
.hh-brief-body{flex:1;min-height:0;overflow:hidden}.hh-brief-group h3{font-size:.9rem;margin:8px 0;color:#bfdbe9}.hh-brief-group h3:before,.hh-brief-group h3:after{content:'';display:inline-block;vertical-align:middle;width:16px;margin:0 6px;border-top:1px solid #2c617a}
.hh-brief-row{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:55px;margin:6px 0;padding:8px;border-color:#2c617a}.hh-brief-row span{min-width:0;overflow-wrap:anywhere}.hh-brief-row strong{font-size:.9rem}.hh-brief-row small{display:block;margin:5px 0;color:#b5cddd}.hh-brief-row.hh-prescription,.hh-brief-row.hh-supply{border-color:#ad863f}.hh-brief-icon{width:32px;height:32px;flex-shrink:0;color:var(--cyan)}.hh-prescription .hh-brief-icon{color:var(--green)}.hh-supply .hh-brief-icon{color:#ffc35a}.hh-brief-open{width:100%;font-size:.85rem;padding:8px}
.hh-calendar>.hh-calendar-expanded{height:auto}.hh-calendar>div{height:100%;display:flex;flex-direction:column}.hh-cal-body{min-height:0;flex:1}.hh-calendar .hh-cal-body{overflow:hidden}.hh-cal-tabs,.hh-cal-heading,.hh-cal-tools{flex-shrink:0}.hh-cal-tools{margin:4px 0 8px}.hh-cal-heading{margin:7px 0}.hh-calendar-summary{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:12px}.hh-calendar-summary .hh-brief-icon{width:60px;height:60px}.hh-calendar-summary p{margin:0;color:#b5cddd}
.hh-week-agenda{display:flex;flex-direction:column;gap:2px}.hh-week-line{display:grid;grid-template-columns:65px minmax(0,1fr);gap:5px;align-items:center;min-height:26px;border-bottom:1px solid #214c65}.hh-week-line>button{min-height:26px;padding:2px;font-size:.7rem}.hh-week-line>span{min-width:0}.hh-week-line span button{width:100%;min-height:26px;padding:3px;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hh-calendar .hh-cal-body>button{width:100%;padding:4px;min-height:36px;font-size:.8rem;margin-top:4px}.hh-calendar .hh-agenda{margin-top:5px}.hh-calendar .hh-agenda-event{max-height:76px;overflow:hidden}
#popup:has(.hh-calendar-expanded){width:min(1050px,95vw)!important;max-width:95vw!important}.hh-calendar-expanded .hh-week-line{min-height:44px}.hh-calendar-expanded .hh-week-line>button,.hh-calendar-expanded .hh-week-line span button{min-height:44px;white-space:normal}.hh-calendar-expanded .hh-cal-tools{margin:12px}.hh-calendar-expanded .hh-cal-body{overflow:visible}.hh-year-halves{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hh-year-half{display:flex;flex-direction:column;gap:12px}.hh-year-month>button{font-size:1rem}.hh-year-month .hh-mini-day{font-size:.7rem;min-height:20px;display:flex;align-items:center;justify-content:center;gap:3px}.hh-year-month .hh-weekday{font-size:.6rem}
.hh-usual-hours{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.hh-usual-hours .hh-field{flex:1;min-width:110px}.hh-work-row{grid-template-columns:1fr 1fr;border-bottom:1px solid #214c65;padding:8px 0}.hh-shift-override{grid-column:1/-1;display:flex;justify-content:center;gap:10px}.hh-shift-override input{max-width:130px}
@media(max-width:900px){.hh-home-top{grid-template-columns:minmax(130px,1fr) minmax(280px,1.7fr)}.hh-brief{grid-column:1;grid-row:2}.hh-profile{grid-column:1;grid-row:1}.hh-calendar{grid-column:2;grid-row:2}.hh-home-top:not(:has(.hh-profile)) .hh-calendar{grid-column:2}.hh-home-top:not(:has(.hh-calendar)){grid-template-columns:1fr 1fr}.hh-home-top:not(:has(.hh-calendar)) .hh-profile{grid-row:1}.hh-home-top:not(:has(.hh-calendar)) .hh-brief{grid-column:2;grid-row:1}}
@media(max-width:600px){.hh-home-top,.hh-home-top:not(:has(.hh-profile)),.hh-home-top:not(:has(.hh-calendar)){grid-template-columns:1fr}.hh-profile{grid-column:1;grid-row:1}.hh-brief,.hh-home-top:not(:has(.hh-calendar)) .hh-brief{grid-column:1;grid-row:2;width:100%}.hh-calendar,.hh-home-top:not(:has(.hh-profile)) .hh-calendar{grid-column:1;grid-row:3;width:100%}.hh-brief,.hh-calendar{height:260px}.hh-year-halves{gap:8px}#popup:has(.hh-calendar-expanded){max-width:95vw!important}.hh-year-month{padding:2px}.hh-year-month .hh-mini-day{font-size:.55rem}.hh-year-month>button{font-size:.8rem}.hh-brief-heading h2{font-size:1.2rem}}
.hh-brief-body .hh-brief-row strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.hh-brief-body .hh-brief-row{height:55px;box-sizing:border-box}.hh-week-line span{display:block}

/* Compact home summaries; full content remains in the existing popups. */
.hh-brief,.hh-calendar{padding:10px}.hh-brief-body .hh-brief-row{height:60px;margin:5px 0}.hh-brief-body .hh-brief-row small{margin:2px 0}.hh-calendar .hh-calendar-summary{justify-content:flex-start;padding-top:10px}.hh-calendar .hh-calendar-summary button{width:100%}.hh-brief-open{min-height:36px;padding:5px}.hh-brief-heading h2{font-size:1.2rem}

/* Approved F8 inset frame: preserve portrait size and neighboring panels. */
.hh-profile{height:260px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:center;justify-items:center;column-gap:6px;box-sizing:border-box;border:1px solid var(--cyan);border-radius:20px;padding:10px 8px;justify-content:center;isolation:isolate}.hh-profile:before{content:'';position:absolute;inset:5px;border:1px solid #50dcaa70;border-radius:15px;pointer-events:none;z-index:-1}.hh-profile-gear{right:6px;top:6px;z-index:1}.hh-profile .hh-portrait{grid-column:1/-1;flex-shrink:0;cursor:pointer;min-height:0}.hh-profile h2{font-size:1.1rem}.hh-profile p{font-size:.8rem}.hh-profile h2,.hh-profile p{flex-shrink:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* M3 medical tabs, responsive field cards, and read-only tag assignment. */
#popup:has(.hh-medical){width:min(760px,95vw)}.hh-medical-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 18px}.hh-medical-tabs button{min-width:0;padding:9px 3px;font-size:.85rem;min-height:44px}.hh-medical-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hh-medical-card{border:1px solid #2c617a;border-radius:14px;padding:12px;min-width:0}.hh-medical-card h3{color:var(--cyan);font-size:.9rem;margin:0 0 8px}.hh-medical-card p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.hh-medical-visibility{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hh-medical-visibility label{justify-content:center;overflow-wrap:anywhere}.hh-nfc-open{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:var(--cyan);padding:8px}.hh-nfc-status{color:#ffd18b;font-size:.85rem}.hh-scan-page{max-width:760px;margin:24px auto}.hh-scan-page #scan-status{color:#ffd18b}.hh-scan-page code{overflow-wrap:anywhere}.hh-medical-grid input,.hh-medical-grid textarea{max-width:100%}
@media(max-width:600px){.hh-medical-grid,.hh-medical-visibility{grid-template-columns:1fr}.hh-profile{width:100%}.hh-medical-tabs{gap:3px}.hh-medical-tabs button{font-size:.75rem}.hh-scan-page{margin:18px 0}}

.dialog-foot .help[data-action="hh-medical-help"]{width:44px;height:44px;min-width:44px;max-width:44px;padding:0;border-radius:50%;justify-self:center;margin:0}

/* Menu popup rebuilt from scratch. Match Daily Care Hub picture-button sizing. */
#popup:has(.menu-rebuilt-grid){
  width:min(720px,95vw);
  max-width:95vw;
  max-height:94dvh;
}
#popup:has(.menu-rebuilt-grid) .dialog-body{
  padding:14px;
}
.menu-rebuilt-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 12px;
  width:min(440px,100%);
  margin:0 auto;
  align-items:start;
  justify-items:center;
  grid-auto-rows:max-content;
}
.menu-rebuilt-button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:0;
  padding:0;
  border:0;
  background:transparent;
  line-height:0;
}
.menu-rebuilt-art{
  display:block;
  width:clamp(118px,34vw,164px);
  height:auto;
  max-width:100%;
  object-fit:contain;
  object-position:center;
  clip-path:none;
  pointer-events:none;
}
.menu-rebuilt-button:focus-visible{
  outline:3px solid #ffd976;
  outline-offset:3px;
}
@media(max-width:360px){
  .menu-rebuilt-grid{gap:8px 10px}
}


/* Approved paired Contacts and read-only medical contact cards. */
.sg-contacts .sg-contact-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0;align-items:stretch}
.sg-contacts .sg-contact-card{min-width:0;padding:20px;text-align:center}
.sg-contacts .sg-contact-card h3{font-size:1.35rem;color:var(--text,#eff8fc);margin:10px 0 18px}
.sg-contacts .sg-contact-role,.sg-contacts .sg-contact-detail strong{color:var(--cyan,#55d5f7)}
.sg-contacts .sg-contact-detail{margin:16px 0;display:grid;gap:8px}
.sg-contacts .sg-contact-detail a{color:var(--text,#eff8fc);font-size:1.15rem;overflow-wrap:anywhere;display:block;padding:6px 0;min-height:32px}
.sg-contacts .sg-contact-detail p{overflow-wrap:anywhere;white-space:pre-wrap}
.sg-contacts .sg-alert-toggle{display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px}
.sg-contacts .sg-alert-toggle input{width:28px;height:28px;flex-shrink:0}
.sg-contacts .hh-tools{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:8px 0 20px}
@media(max-width:600px){.sg-contacts .sg-contact-pair{grid-template-columns:1fr}}


/* Private Documents and Eye Exam; no changes to the locked home profile. */
.medical-document-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:590px;margin:0 auto}
.medical-document-button{padding:0!important;border:0!important;background:transparent!important;min-width:0;line-height:0}
.medical-document-button img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.medical-document-list{display:grid;gap:12px}.medical-document-row{display:flex;flex-direction:column;gap:8px;width:100%;text-align:center;min-height:80px;padding:16px!important;overflow-wrap:anywhere}.medical-document-row strong{color:var(--green)}.medical-document-row small,.medical-source{display:block;color:#b5cddd;font-size:.8em;line-height:1.4;margin-top:8px}
#popup:has(.medical-pdf-reader){width:min(1100px,96vw)}.medical-pdf-reader{min-width:0;width:100%}.medical-pdf-tools{display:flex;align-items:center;justify-content:center;gap:14px;position:sticky;top:0;background:#082033;padding:8px;z-index:1}.medical-pdf-tools button{min-width:48px;min-height:48px;padding:8px}.medical-pdf-page{min-height:280px;overflow:auto;margin:14px 0}.medical-pdf-page canvas{display:block;margin:0 auto;background:white;max-width:none}.medical-pdf-page p{font-size:.8em;color:#b5cddd}
@media(max-width:420px){.medical-document-categories{gap:8px}}

.hh-profile-name-button{all:unset;display:inline;max-width:100%;color:inherit;font:inherit;line-height:inherit;text-align:center;cursor:pointer;border-radius:6px}.hh-profile-name-button:hover{text-decoration:underline;text-decoration-color:var(--cyan);text-underline-offset:3px}.hh-profile-name-button:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}

/* Symbols occupy the existing cells without contributing to grid dimensions. */
.hh-day,.hh-mini-day{position:relative}
.hh-event-symbols{position:absolute;bottom:2px;left:1px;right:1px;height:12px;display:flex;align-items:center;justify-content:center;gap:2px;overflow:hidden;pointer-events:none;font-size:11px;line-height:12px}
.hh-event-symbol{display:inline-flex;align-items:center;gap:1px;white-space:nowrap;color:#e5faff}
.hh-event-symbol b,.hh-symbol-more{font:bold 8px Arial,sans-serif}
.hh-mini-day .hh-event-symbols{height:7px;bottom:0;font-size:6px;line-height:7px;gap:0}
.hh-mini-day .hh-symbol-more{font-size:5px}

/* Option 4: bounded Home date and four independently clickable overlay slots. */
.hh-calendar-showcase{position:relative;height:230px;width:100%;isolation:isolate;background:radial-gradient(ellipse at center,#075da0,#062c58 58%,#061c38);border:1px solid #39dfff;border-radius:16px;box-shadow:inset 0 0 12px #00dfff33;overflow:hidden}
.hh-showcase-month{position:absolute;top:5px;left:0;right:0;text-align:center;font-size:.95rem;font-weight:bold;text-transform:uppercase}
.hh-date-medallion{position:absolute;left:34%;top:25%;width:32%;height:58%;padding:3px;min-height:0;border:3px solid #60faff;border-radius:50%;background:radial-gradient(circle at 35% 20%,#24d8fa,#087ed1 45%,#053b8e);box-shadow:0 0 0 3px #0865bd,0 0 10px #30efff;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hh-date-medallion strong{font-size:clamp(2rem,4vw,3.6rem);line-height:1}
.hh-date-medallion span{font-size:.85rem;font-weight:bold;text-transform:uppercase;color:#a3faff}
.hh-calendar-slot{position:absolute;width:30%;height:39%;padding:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:transparent;border:0;border-radius:12px;overflow:hidden}
.hh-calendar-slot:hover{background:#0d6db555}
.hh-calendar-slot.slot-0{left:2%;top:14%}.hh-calendar-slot.slot-1{left:2%;top:54%}.hh-calendar-slot.slot-2{right:2%;top:14%}.hh-calendar-slot.slot-3{right:2%;top:54%}
.hh-calendar-slot img,.hh-calendar-slot svg{width:100%;height:72%;object-fit:contain;flex:none}
.hh-calendar-slot small{display:block;width:100%;font-size:.7rem;line-height:1.2;font-weight:bold;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.hh-showcase-hint{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:.65rem;color:#b5e8fa;pointer-events:none}
.hh-more-count{font-size:2rem;color:#75faff;font-weight:bold}
.hh-calendar-detail{text-align:center}.hh-calendar-detail>img{width:110px;height:110px;object-fit:contain}
.hh-agenda-event>.hh-event-art{width:48px;height:48px;object-fit:contain;align-self:center}
.hh-event-symbol img{width:12px;height:12px;object-fit:contain}
@media(min-width:901px){.rowan-pc-top>.hh-calendar>.hh-calendar-showcase{height:100%}}

/* Compact Home-only return button occupies the header above the icon slots. */
.hh-showcase-heading{position:absolute;top:4px;left:5px;right:5px;height:26px;display:grid;grid-template-columns:50px minmax(0,1fr) 50px;align-items:center;gap:3px;z-index:2}
.hh-showcase-heading .hh-showcase-month{position:static;min-width:0;font-size:clamp(.72rem,1.1vw,.95rem);line-height:1.2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.hh-calendar-showcase .hh-home-today{width:50px;height:26px;min-height:26px;padding:2px 4px;margin:0;border:1px solid #61cffa;border-radius:8px;background:linear-gradient(#086caa,#073a6b);color:#fff;font-size:.7rem;font-weight:600;line-height:1.1;justify-self:end}
.hh-calendar-showcase .hh-home-today:focus-visible{outline:2px solid #fff;outline-offset:1px}
