/* The same seven-day strip in Home and Training. */
.phone :is(#home,#training) .calendar .days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;padding:0;background:transparent;border-radius:0;align-items:stretch}
.phone :is(#home,#training) .calendar .day{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-width:0;min-height:86px;padding:10px 2px 13px;border:0;border-radius:18px;background:transparent;color:#86868b;font-size:11px;line-height:1.15;box-shadow:none;position:relative;cursor:pointer}
.phone :is(#home,#training) .calendar .day-name{display:block;white-space:nowrap;font-size:11px;line-height:14px;font-weight:450;color:inherit}
.phone :is(#home,#training) .calendar .day b{display:flex;align-items:center;justify-content:center;align-self:center;flex-shrink:0;box-sizing:border-box;text-align:center;text-indent:0;letter-spacing:0;padding:0;direction:ltr;font-feature-settings:"tnum" 1;width:min(36px,100%);aspect-ratio:1;height:auto;margin:0;border:1.5px solid #d7d7e0;border-radius:50%;color:#1d1d1f;font-size:16px;font-weight:550;line-height:1;font-variant-numeric:tabular-nums;background:transparent}
.phone :is(#home,#training) .calendar .day.past b{border-style:solid}
.phone :is(#home,#training) .calendar .day.future{color:#b6b6bd}.phone :is(#home,#training) .calendar .day.future b{border-color:#e3e3e9;color:#b6b6bd}
.phone :is(#home,#training) .calendar .day.active{background:#fff;color:#1d1d1f;box-shadow:0 3px 15px #1d1d1f04}
.phone :is(#home,#training) .calendar .day.active .day-name{text-transform:capitalize;font-weight:550}
.phone :is(#home,#training) .calendar .day.active b{color:#1d1d1f;background:transparent;border-color:#d0d0da}
.phone :is(#home,#training) .calendar .day.planned:after{bottom:4px;width:3px;height:3px;background:#007aff}
.phone :is(#home,#training) .calendar .day.training-day-done:after{background:#34a66b}
.phone :is(#home,#training) .calendar .day:focus-visible{outline:2px solid #007aff;outline-offset:-2px}
/* The supplied isotipo is tall and narrow. Match the letters' cap height without distorting it. */
.phone .home-brand{font-size:22px;gap:9px;align-items:center;line-height:1.15}
.phone .home-brand b{font-size:inherit;line-height:inherit}
.phone .home-brand .logo,.intro .brand .logo,.phone .ob-logo img{display:block;flex:none;width:auto;min-width:0;height:.75em;height:1cap;max-height:none;max-width:none;object-fit:contain;font-size:inherit;line-height:1;padding:0;border:0}
@media(max-width:360px){.phone :is(#home,#training) .calendar .day{min-height:81px;gap:8px}.phone :is(#home,#training) .calendar .day-name{font-size:10px}.phone :is(#home,#training) .calendar .day b{font-size:15px;width:min(32px,100%)}}
/* Colour only the circle, keeping the selected white capsule and readable numbers. */
.phone :is(#home,#training) .calendar .day.goal-green b{border-color:#d7d7e0;border-style:solid;border-width:1.5px}
.phone :is(#home,#training) .calendar .day.goal-yellow b{border-color:#d7d7e0;border-style:solid;border-width:1.5px}
.phone :is(#home,#training) .calendar .day.goal-red b{border-color:#d7d7e0;border-style:solid;border-width:1.5px}
/* Today's result stays black until local midnight. */
.phone :is(#home,#training) .calendar .day.goal-black b{border-color:#d7d7e0;border-style:solid;border-width:1.5px}
.phone .home-brand .logo{height:32px;width:auto;padding:0}.intro .brand .logo,.phone .ob-logo img{height:1.45em;width:auto;padding:0}

/* Fixed square number cells keep every date centred, including two digits. */
.phone :is(#home,#training) .calendar .day b{display:grid;place-items:center;width:36px;height:36px;max-width:100%;aspect-ratio:1;line-height:1;text-align:center;text-indent:0;padding:0;margin:0;letter-spacing:0;transform:none;position:static;font-family:Arial,sans-serif;font-variant-numeric:tabular-nums}
@media(max-width:360px){.phone :is(#home,#training) .calendar .day b{width:32px;height:32px;line-height:1}}

/* Uniform neutral day circles, independent of goal completion. */
html[data-app-look="apple"] .phone :is(#home,#training) .calendar .day b{border:1.5px solid #d7d7e0!important}
.phone :is(#home,#training) .calendar .day.planned:after{background:#a5a5ae}

/* Selected, hovered and keyboard-focused days use the same black outline. */
html[data-app-look="apple"] .phone :is(#home,#training) .calendar .day:is(.active,:hover,:focus-visible) b{border:2px solid #000!important;color:#000;font-weight:700}
