.hid-entry[hidden], .hid-dialog [hidden] { display: none !important; }
#tutorGlobalNav .hid-nav { text-align:center; font-weight:inherit; }
#tutorGlobalNav .hid-nav b { display:block; margin-inline:auto; }
.hid-screen .hid-body { max-width:860px; margin-inline:auto; }
#phPlanIntro .visualDogCard .storyPhotoMain { display:block; overflow:hidden; }
#phPlanIntro .visualDogCard .storyPhotoMain img {
  position:absolute; inset:0; display:block; width:100%; height:100%;
  max-width:none; max-height:none; object-fit:cover; object-position:center;
}
.hid-dialog [data-weight-chart] svg { display: block; width: 100%; max-height: 180px; }
.hid-dialog .hid-chart-dates { display:flex; justify-content:space-between; gap:6px; font-size:.78rem; margin-bottom:10px; }
.hid-record-bars { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:7px; list-style:none; padding:0; }
.hid-record-bars li { min-width:0; display:grid; grid-template-rows:auto 90px auto; gap:4px; text-align:center; }
.hid-record-bars small { font-size:.7rem; }
.hid-record-bar { display:block; background:linear-gradient(to top,#16799a var(--hid-bar),#eef6fa var(--hid-bar)); border-radius:6px; }
@media (max-width: 600px) {
  dialog.hid-dialog.hid-destination { inset: 0; margin: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; border-radius: 0; }
  .hid-destination .hid-body { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}
.hid-entry { text-align: left; }
.hid-entry span { display: block; }
dialog.hid-dialog {
  box-sizing: border-box;
  width: min(580px, calc(100% - 24px));
  max-height: calc(100dvh - 30px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #f6fafd;
  color: #193c61;
}
.hid-dialog::backdrop { background: #132e4bb0; }
.hid-screen { box-sizing:border-box; color:var(--hv-ink,#193c61); }
@media (max-width: 760px) {
  #tutorHuellaId .hid-body { padding-bottom:calc(92px + env(safe-area-inset-bottom)); }
}
.hid-brandbar {
  padding: max(18px,env(safe-area-inset-top)) 20px 32px;
  color: white;
  background: radial-gradient(ellipse at 88% 85%,#2d668e,transparent 64%),linear-gradient(150deg,#193c61,#174f75);
  border-radius: 0 0 36% 8% / 0 0 16% 8%;
}
.hid-brand-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.dt-full-logo {
  display:block; flex:none; align-self:flex-start;
  width:clamp(92px,25vw,154px); max-width:34%;
  height:auto; aspect-ratio:1.82; object-fit:cover; object-position:center;
  filter:none; mix-blend-mode:normal;
}
.brandbar .brandWordmark:has(> .dt-full-logo) { display:flex; align-items:flex-start; justify-content:flex-end; }
.brandbar .brandWordmark > .dt-full-logo { max-width:100%; }
.hid-dialog [data-record-fields] { background:var(--hv-sky,#d9f1fa); border-radius:16px; padding:4px 12px; }
.hid-dialog [data-record-fields]:empty { display:none; }
.hid-dialog header h2 { margin: 12px 0 3px; color: inherit; }
.hid-dialog header p { margin: 0; color: #e1f5ff; }
.hid-dialog .hid-body { padding: 16px; }
.hid-dialog label { display: grid; gap: 5px; margin: 8px 0; font-weight: 650; }
.hid-dialog small { font-weight: normal; }
.hid-dialog :is(input, textarea, select) {
  box-sizing: border-box;
  min-height: 44px;
  width: 100%;
  min-width: 0;
  border: 1px solid #bccddb;
  border-radius: 12px;
  background: white;
  color: #193c61;
  padding: 9px;
  font: inherit;
  font-size: max(16px, 1em);
}
.hid-dialog button { min-height: 44px; border: 0; border-radius: 12px; padding: 8px 12px; background: #e2f3fb; color: #164666; font: inherit; font-weight: 700; cursor: pointer; }
.hid-dialog button[type=submit] { background: #08799b; color: white; }
.hid-dialog :focus-visible { outline: 3px solid #1190c0; outline-offset: 2px; }
.hid-dialog .hid-card { border: 1px solid #d9e8f1; border-radius: 23px; padding: 16px; margin: 12px 0; background: white; box-shadow: var(--hv-shadow,0 9px 26px #193d5d15); }
.hid-dialog code, .hid-dialog article { overflow-wrap: anywhere; }
.hid-dialog article { border-top: 1px solid #d9e8f1; margin-top: 10px; padding-top: 10px; }
.hid-dialog article h4 { margin: 0; }
.hid-dialog article p { white-space: pre-wrap; }
.ph-profile-details fieldset { border:1px solid #d9e8f1; border-radius:16px; margin:12px 0; padding:12px; min-width:0; }
.ph-profile-details legend { font-weight:750; color:var(--hv-ink,#193d5d); }
.ph-profile-details label { display:grid; gap:4px; margin-bottom:10px; }
[data-profile-details] dd, #phHuellaProfileDetails dd { margin:0 0 10px; overflow-wrap:anywhere; }
.hid-dialog [data-experiments] label:has(input[type=checkbox]) { display:flex; align-items:center; gap:10px; min-height:44px; overflow-wrap:anywhere; }
.hid-dialog [data-experiments] input[type=checkbox] { width:20px; min-height:0; height:20px; flex:none; }
.hid-dialog [data-link] img { display:block; max-width:100%; height:auto; }

.hid-dialog [data-prepare] { background:#08799b; color:white; margin:0 8px 8px 0; }
