/* v170 Claude Design — exact Home presentation adapter.
 * Loaded after the legacy Home styles. Functional IDs and canonical controls
 * remain in pwa-home-v153.js; this file only owns the Home composition.
 */

.app-view.hp153-installed.hp153-home-active {
  background: var(--gn-surface);
  color: var(--gn-text);
  font-family: var(--gn-font-sans);
  overflow-x: clip;
}

.app-view.hp153-installed.hp153-home-active .app-header {
  display: none !important;
}

.app-view.hp153-installed.hp153-home-active .tab-stage {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  overflow: visible;
}

.app-view.hp153-installed.hp153-home-active #tab-home {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.app-view #pwa-home-v153.gn170-home {
  width: 100%;
  max-width: 600px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 0 calc(92px + var(--gn-safe-bottom));
  background: var(--gn-surface);
  color: var(--gn-text);
  overflow: clip;
  isolation: isolate;
}

.app-view #pwa-home-v153.gn170-home,
.app-view #pwa-home-v153.gn170-home * {
  box-sizing: border-box;
}

.app-view #pwa-home-v153.gn170-home :is(button, input, select, textarea) {
  font: inherit;
}

.app-view #pwa-home-v153 .gn170-home-hero {
  position: relative;
  display: flex;
  min-height: 640px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--gn-navy);
  box-shadow: none;
}

.app-view #pwa-home-v153 .gn170-home-hero::before,
.app-view #pwa-home-v153 .gn170-home-hero::after {
  display: none;
}

.app-view #pwa-home-v153 .gn170-hero-photo-frame {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--gn-navy);
  box-shadow: none;
}

.app-view #pwa-home-v153 .gn170-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  background-color: var(--gn-navy);
  background-position: center;
  background-size: cover;
  filter: var(--gn-photo-filter);
  transform: scale(1.002);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(.22, 1, .36, 1);
}

.app-view #pwa-home-v153 .gn170-site-identity {
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1);
}

.app-view #pwa-home-v153.is-site-transitioning .gn170-hero-photo {
  opacity: .68;
  transform: scale(1.012);
}

.app-view #pwa-home-v153.is-site-transitioning .gn170-site-identity {
  opacity: 0;
  transform: translateY(5px);
}

.app-view #pwa-home-v153 .gn170-hero-photo::after {
  display: none;
}

.app-view #pwa-home-v153 .gn170-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background:
    linear-gradient(to bottom, rgb(10 37 64 / 52%) 0%, rgb(10 37 64 / 10%) 26%, rgb(10 37 64 / 66%) 70%, #0a2540 100%),
    linear-gradient(var(--gn-photo-overlay), var(--gn-photo-overlay));
  pointer-events: none;
}

.app-view #pwa-home-v153 .gn170-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 640px;
  padding: max(20px, calc(env(safe-area-inset-top, 0px) + 5px)) 26px 74px;
  color: var(--gn-on-photo);
  -webkit-text-fill-color: currentColor;
}

.app-view.hp153-installed.hp153-home-active #pwa-home-v153 #pwa-home-brand-v153.gn170-home-brand {
  position: relative;
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  color: var(--gn-on-photo);
}

.app-view.hp153-installed.hp153-home-active #pwa-home-v153 #pwa-home-brand-v153 .gn170-home-brand-lockup {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  overflow: hidden;
}

.app-view.hp153-installed.hp153-home-active #pwa-home-v153 #pwa-home-brand-v153 .hp153-brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  flex: none;
  object-fit: contain;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  clip-path: circle(50% at 50% 50%);
  filter: none;
}

.app-view.hp153-installed.hp153-home-active #pwa-home-v153 #pwa-home-brand-v153 .hp153-brand-copy {
  display: block;
  min-width: 0;
  color: var(--gn-on-photo);
  line-height: 1;
}

.app-view.hp153-installed.hp153-home-active #pwa-home-v153 #pwa-home-brand-v153 .hp153-brand-copy b {
  display: block;
  overflow: hidden;
  color: inherit;
  font-family: var(--gn-font-mincho);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-view.hp153-installed.hp153-home-active #pwa-home-v153 #pwa-home-brand-v153 .hp153-brand-copy small {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: inherit;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: var(--gn-label-tracking);
  opacity: .76;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-view.hp153-installed.hp153-home-active #pwa-home-v153 #pwa-home-brand-v153 .gn170-home-tools {
  display: flex;
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 96px;
}

.app-view #pwa-home-v153 :is(.hp153-photo-edit, .hp153-bell) {
  position: relative;
  inset: auto;
  display: grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid var(--gn-chip-border);
  border-radius: 50%;
  background: var(--gn-chip-base);
  color: var(--gn-on-photo);
  -webkit-text-fill-color: currentColor;
  box-shadow: inset 0 0 0 1px var(--gn-chip-tint);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  appearance: none;
}

.app-view #pwa-home-v153 .hp153-bell {
  margin-left: 0;
}

.app-view #pwa-home-v153 :is(.hp153-photo-edit, .hp153-bell) svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.app-view #pwa-home-v153 .hp153-photo-edit svg {
  fill: none;
}

.app-view #pwa-home-v153 .hp153-bell-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--gn-warning);
}

.app-view #pwa-home-v153 .hp153-bell-dot[hidden] {
  display: none;
}

.app-view #pwa-home-v153 .hp153-photo-message {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: block;
  min-height: 0;
  margin: 0;
  color: var(--gn-on-photo);
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
  text-shadow: 0 1px 8px rgb(6 23 42 / 76%);
  pointer-events: none;
}

.app-view #pwa-home-v153 .gn170-home-hero .hp153-hero-top {
  display: block;
  min-height: 0;
  margin: auto 0 0;
  padding: 0;
}

.app-view #pwa-home-v153 .gn170-home-hero .hp153-hero-main {
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
  color: inherit;
}

.app-view #pwa-home-v153 .hp153-date {
  min-height: 1em;
  margin: 0 0 12px;
  color: var(--gn-on-photo);
  font-family: var(--gn-font-sans);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: var(--gn-label-tracking);
  opacity: .76;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .hp153-clock {
  margin: 0 0 0 -6px;
  color: var(--gn-on-photo);
  font-family: var(--gn-font-mincho);
  font-size: clamp(104px, 29.5vw, 116px);
  font-weight: 400;
  font-variant-numeric: var(--gn-number-variant);
  font-feature-settings: "tnum" 1;
  line-height: .9;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-hero-metrics {
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 26px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-metric {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 11px;
  border: 1px solid var(--gn-chip-border);
  border-radius: 20px;
  background: var(--gn-chip-base);
  color: var(--gn-on-photo);
  box-shadow: inset 0 0 0 1px var(--gn-chip-tint);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.app-view #pwa-home-v153 .gn170-metric + .gn170-metric {
  margin: 0;
}

.app-view #pwa-home-v153 .gn170-metric dt {
  overflow: hidden;
  margin: 0;
  color: inherit;
  font-size: 8px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .1em;
  opacity: .76;
  text-overflow: clip;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-metric dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 400;
  font-variant-numeric: var(--gn-number-variant);
  font-feature-settings: "tnum" 1;
  line-height: 1;
  text-overflow: clip;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-metric.is-alert {
  border-color: color-mix(in srgb, var(--gn-warning) 70%, transparent);
}

.app-view #pwa-home-v153 .gn170-site-identity {
  display: block;
  margin: auto 0 0;
  padding: 28px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gn-on-photo);
  box-shadow: none;
}

.app-view #pwa-home-v153 .hp153-site {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-family: var(--gn-font-mincho);
  font-size: clamp(29px, 9.15vw, 36px);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .hp153-site[data-site-state="unselected"] {
  color: inherit;
  font-size: clamp(25px, 7.8vw, 31px);
  opacity: .9;
}

.app-view #pwa-home-v153 .hp153-site-address {
  display: -webkit-box;
  max-width: 100%;
  margin: 9px 0 0;
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .03em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app-view #pwa-home-v153 .gn170-site-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
  margin: 15px 0 0;
  padding: 0;
  color: inherit;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .16em;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-site-meta > * {
  display: inline-block;
  width: auto;
  min-height: 0;
  min-width: 0;
  max-width: 31%;
  flex: 0 1 auto;
  align-self: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-site-meta > :is(.hp153-target-state, .hp153-target-state.is-selected, .hp153-target-state.is-working) {
  display: block;
  width: auto;
  min-width: 0;
  min-height: 0;
  max-width: 31%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.app-view #pwa-home-v153 .hp153-status::before,
.app-view #pwa-home-v153 .hp153-target-state::before {
  display: none;
}

.app-view #pwa-home-v153 .hp153-status-note:empty {
  display: none;
}

.app-view #pwa-home-v153 .gn170-primary-wrap {
  position: relative;
  z-index: 6;
  display: block;
  width: auto;
  margin: -64px 0 0;
  padding: 0 26px;
  background: transparent;
}

.app-view #pwa-home-v153 .hp153-punch {
  display: flex;
  width: 100%;
  height: var(--gn-main-action-height);
  min-height: var(--gn-main-action-height);
  margin: 0;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--gn-main-action-radius);
  background: var(--gn-primary-bg);
  color: var(--gn-primary-fg);
  -webkit-text-fill-color: currentColor;
  box-shadow: 0 20px 46px rgb(10 37 64 / 40%), 0 4px 14px rgb(10 37 64 / 22%);
  appearance: none;
}

.app-view #pwa-home-v153 .hp153-punch > svg,
.app-view #pwa-home-v153 .hp153-punch-arrow {
  display: none;
}

.app-view #pwa-home-v153 .hp153-punch-copy {
  display: block;
  min-width: 0;
}

.app-view #pwa-home-v153 .hp153-punch-site {
  display: none;
}

.app-view #pwa-home-v153 .hp153-punch b {
  display: block;
  color: inherit;
  font-family: var(--gn-font-mincho);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .1em;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .hp153-punch:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.app-view #pwa-home-v153 .gn170-home-sheet {
  position: relative;
  z-index: 4;
  min-height: 420px;
  margin-top: -30px;
  padding: 44px 0 0;
  overflow: hidden;
  border: 0;
  border-radius: 34px 34px 0 0;
  background: var(--gn-surface);
  color: var(--gn-text);
  box-shadow: none;
}

.app-view #pwa-home-v153 .gn170-primary-note {
  min-height: 16px;
  margin: 0;
  padding: 0 26px;
  color: var(--gn-text-muted);
  font-size: 11px;
  font-weight: 400;
  font-variant-numeric: var(--gn-number-variant);
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-connection-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 0;
  margin: 12px 26px 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.app-view #pwa-home-v153 .gn170-connection-row .hp153-signal {
  display: flex;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gn-text-quiet);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-connection-row .hp153-signal + .hp153-signal {
  margin: 0;
}

.app-view #pwa-home-v153 .gn170-connection-row .hp153-signal svg {
  width: 12px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.app-view #pwa-home-v153 .gn170-editorial-section {
  margin: 52px 26px 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.app-view #pwa-home-v153 .gn170-section-heading,
.app-view #pwa-home-v153 .hp153-shortcuts-head,
.app-view #pwa-home-v153 .hp153-card-head {
  display: flex;
  min-height: 44px;
  margin: 0;
  padding: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
}

.app-view #pwa-home-v153 :is(.gn170-section-heading, .hp153-shortcuts-head, .hp153-card-head) > p {
  margin: 0;
  color: var(--gn-text-muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--gn-label-tracking);
  white-space: nowrap;
}

.app-view #pwa-home-v153 :is(.gn170-section-heading, .hp153-shortcuts-head, .hp153-card-head) h2 {
  margin: 0;
  color: var(--gn-text);
  font-family: var(--gn-font-mincho);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .04em;
}

.app-view #pwa-home-v153 .gn170-section-count {
  margin-left: auto;
  color: var(--gn-text-quiet);
  font-size: 10px;
  font-variant-numeric: var(--gn-number-variant);
  letter-spacing: var(--gn-label-tracking);
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-foreman-grid,
.app-view #pwa-home-v153 .gn170-today-list {
  display: flex;
  flex-direction: column;
  margin: 14px 0 0;
  padding: 0;
}

.app-view #pwa-home-v153 .gn170-foreman-stat,
.app-view #pwa-home-v153 .gn170-today-list > div {
  display: flex;
  min-height: 76px;
  margin: 0;
  padding: 16px 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid var(--gn-hairline);
  border-radius: 0;
  background: transparent;
}

.app-view #pwa-home-v153 .gn170-foreman-stat + .gn170-foreman-stat {
  margin: 0;
}

.app-view #pwa-home-v153 .gn170-foreman-stat span,
.app-view #pwa-home-v153 .gn170-today-list dt {
  margin: 0;
  color: var(--gn-text-muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--gn-label-tracking);
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-foreman-stat b {
  color: var(--gn-number);
  font-family: var(--gn-font-sans);
  font-size: 40px;
  font-weight: 400;
  font-variant-numeric: var(--gn-number-variant);
  font-feature-settings: "tnum" 1;
  line-height: 1;
  letter-spacing: -.02em;
}

.app-view #pwa-home-v153 .gn170-today-list dd {
  margin: 0;
  color: var(--gn-number);
  font-size: 28px;
  font-weight: 400;
  font-variant-numeric: var(--gn-number-variant);
  font-feature-settings: "tnum" 1;
  line-height: 1.1;
}

.app-view #pwa-home-v153 .gn170-session-list {
  display: flex;
  flex-direction: column;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.app-view #pwa-home-v153 .gn170-session-item {
  display: flex;
  min-height: 76px;
  margin: 0;
  padding: 16px 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid var(--gn-hairline);
  background: transparent;
}

.app-view #pwa-home-v153 .gn170-session-item + .gn170-session-item {
  margin: 0;
}

.app-view #pwa-home-v153 .gn170-session-item > span {
  display: block;
  min-width: 0;
}

.app-view #pwa-home-v153 .gn170-session-item b {
  display: block;
  overflow: hidden;
  color: var(--gn-text);
  font-family: var(--gn-font-mincho);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-session-item small {
  display: block;
  margin-top: 9px;
  color: var(--gn-text-muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: var(--gn-label-tracking);
}

.app-view #pwa-home-v153 .gn170-session-item time {
  flex: none;
  color: var(--gn-number);
  font-size: 20px;
  font-variant-numeric: var(--gn-number-variant);
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-site-rail {
  margin-right: 0;
  margin-left: 0;
}

.app-view #pwa-home-v153 .gn170-site-rail-heading {
  margin: 0 26px;
}

.app-view #pwa-home-v153 .hp153-site-change {
  display: inline-flex;
  min-width: 0;
  min-height: var(--gn-control-height);
  margin: 0;
  padding: 0;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gn-text-muted);
  -webkit-text-fill-color: currentColor;
  box-shadow: none;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--gn-label-tracking);
  white-space: nowrap;
  appearance: none;
}

.app-view #pwa-home-v153 .hp153-site-change::after {
  content: "›";
  margin-left: 8px;
  color: var(--gn-text-quiet);
  font-size: 18px;
  letter-spacing: 0;
}

.app-view #pwa-home-v153 .gn170-site-rail-list {
  display: flex;
  gap: 14px;
  width: 100%;
  margin: 14px 0 0;
  padding: 0 26px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: 26px;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.app-view #pwa-home-v153 .gn170-site-rail-list::-webkit-scrollbar {
  display: none;
}

.app-view #pwa-home-v153 .gn170-site-option {
  position: relative;
  display: block;
  width: 236px;
  min-width: 236px;
  min-height: 256px;
  margin: 0;
  padding: 0;
  flex: 0 0 236px;
  overflow: visible;
  scroll-snap-align: start;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gn-text);
  -webkit-text-fill-color: currentColor;
  box-shadow: none;
  text-align: left;
  appearance: none;
}

.app-view #pwa-home-v153 .gn170-site-option-photo {
  position: relative;
  display: block;
  width: 236px;
  height: 196px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 28px;
  background-color: var(--gn-navy);
  background-image: var(--pwa-photo-url, url('/assets/pwa/site-industrial.jpg'));
  background-position: center;
  background-size: cover;
  box-shadow: var(--gn-shadow-surface);
  filter: var(--gn-photo-filter);
  transition: border-color 180ms ease, filter 180ms ease;
}

.app-view #pwa-home-v153 .gn170-site-option-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(to bottom, transparent 44%, rgb(10 37 64 / 70%) 100%),
    linear-gradient(var(--gn-photo-overlay), var(--gn-photo-overlay));
  pointer-events: none;
}

.app-view #pwa-home-v153 .gn170-site-option.is-selected .gn170-site-option-photo {
  border-color: var(--gn-accent);
}

.app-view #pwa-home-v153 .gn170-site-option-copy {
  display: block;
  min-width: 0;
  margin-top: 16px;
}

.app-view #pwa-home-v153 .gn170-site-option-copy b {
  display: block;
  overflow: hidden;
  color: var(--gn-text);
  font-family: var(--gn-font-mincho);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-site-option-copy small {
  display: block;
  margin-top: 9px;
  overflow: hidden;
  color: var(--gn-text-muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .gn170-site-option-selected {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  height: 30px;
  padding: 0 12px;
  align-items: center;
  border: 1px solid var(--gn-chip-border);
  border-radius: 15px;
  background: var(--gn-chip-base);
  color: var(--gn-on-photo);
  font-size: 8px;
  letter-spacing: .16em;
  box-shadow: inset 0 0 0 1px var(--gn-chip-tint);
  animation: gn170-selected-in 180ms cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes gn170-selected-in {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-view #pwa-home-v153 .hp153-duration {
  display: block;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.app-view #pwa-home-v153 .hp153-duration b {
  display: none;
}

.app-view #pwa-home-v153 .hp153-duration small,
.app-view #pwa-home-v153 .hp153-duration-status {
  color: var(--gn-text-quiet);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .08em;
}

.app-view #pwa-home-v153 .hp153-progress {
  height: 2px;
  margin: 10px 0;
  overflow: hidden;
  border-radius: 1px;
  background: var(--gn-hairline);
}

.app-view #pwa-home-v153 .hp153-progress i {
  display: block;
  height: 100%;
  background: var(--gn-accent);
}

.app-view #pwa-home-v153 .hp153-shortcuts {
  display: block;
}

.app-view #pwa-home-v153 .hp153-shortcuts-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label control" "title control";
  align-items: end;
}

.app-view #pwa-home-v153 .hp153-shortcuts-head > p {
  grid-area: label;
}

.app-view #pwa-home-v153 .hp153-shortcuts-head h2 {
  grid-area: title;
  margin-top: 8px;
}

.app-view #pwa-home-v153 #hp153-shortcut-controls {
  grid-area: control;
}

.app-view #pwa-home-v153 .hp153-shortcut-settings {
  display: inline-flex;
  min-height: var(--gn-control-height);
  padding: 0;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--gn-text-muted);
  -webkit-text-fill-color: currentColor;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .08em;
}

.app-view #pwa-home-v153 .hp153-shortcut-settings::after {
  content: "›";
  margin-left: 7px;
  font-size: 18px;
}

.app-view #pwa-home-v153 .hp153-shortcut-grid,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid {
  counter-reset: gn170-frequent;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 14px 0 0;
  padding: 0;
}

.app-view #pwa-home-v153 .hp153-shortcut,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card:nth-child(n + 5):not([hidden]) {
  counter-increment: gn170-frequent;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  min-height: 66px;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid var(--gn-hairline);
  border-radius: 0;
  background: transparent;
  color: var(--gn-text);
  -webkit-text-fill-color: currentColor;
  box-shadow: none;
  text-align: left;
}

.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card[hidden] {
  display: none;
}

.app-view #pwa-home-v153 .hp153-shortcut::before,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card::before {
  content: counter(gn170-frequent, decimal-leading-zero);
  color: var(--gn-text-quiet);
  font-size: 10px;
  font-variant-numeric: var(--gn-number-variant);
  letter-spacing: .2em;
}

.app-view #pwa-home-v153 .hp153-shortcut .v15-action-icon,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card .v15-action-icon,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card:nth-child(n + 5):not([hidden]) .v15-action-icon {
  display: none;
}

.app-view #pwa-home-v153 .hp153-shortcut b,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card b,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card:nth-child(n + 5):not([hidden]) b {
  display: block;
  color: var(--gn-text);
  font-family: var(--gn-font-mincho);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .04em;
}

.app-view #pwa-home-v153 .hp153-shortcut small,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card small,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card:nth-child(n + 5):not([hidden]) small {
  display: none;
}

.app-view #pwa-home-v153 .hp153-shortcut > i,
.app-view #pwa-home-v153 #v15-launcher.hp153-shortcut-grid .v15-action-card > i {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gn-text-quiet);
  font-size: 20px;
  font-style: normal;
}

.app-view #pwa-home-v153 .hp153-summary-grid,
.app-view #pwa-home-v153 .hp153-lower-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 52px 26px 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.app-view #pwa-home-v153 .hp153-card,
.app-view #pwa-home-v153 .hp153-card + .hp153-card {
  margin: 0;
  padding: 0 0 38px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--gn-hairline);
  border-radius: 0;
  background: var(--gn-surface);
  box-shadow: none;
}

.app-view #pwa-home-v153 .hp153-card + .hp153-card {
  padding-top: 38px;
}

.app-view #pwa-home-v153 .hp153-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label action" "title action";
  align-items: end;
}

.app-view #pwa-home-v153 .hp153-card-head > p {
  grid-area: label;
}

.app-view #pwa-home-v153 .hp153-card-head h2 {
  grid-area: title;
  margin-top: 8px;
}

.app-view #pwa-home-v153 :is(.hp153-card-icon, .hp153-card-head > button) {
  grid-area: action;
}

.app-view #pwa-home-v153 .hp153-card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--gn-hairline);
  border-radius: 50%;
  background: var(--gn-surface-soft);
  color: var(--gn-text);
}

.app-view #pwa-home-v153 .hp153-card-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.app-view #pwa-home-v153 .hp153-card-body,
.app-view #pwa-home-v153 .hp153-personal-entry,
.app-view #pwa-home-v153 .hp153-record-list {
  min-height: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.app-view #pwa-home-v153 .hp153-schedule-list,
.app-view #pwa-home-v153 .hp153-record-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-view #pwa-home-v153 .hp153-schedule-list li,
.app-view #pwa-home-v153 .hp153-record-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 52px;
  margin: 0;
  padding: 12px 0;
  align-items: baseline;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--gn-hairline);
  color: var(--gn-text);
}

.app-view #pwa-home-v153 .hp153-schedule-list time,
.app-view #pwa-home-v153 .hp153-record-list time,
.app-view #pwa-home-v153 .hp153-personal-entry time {
  color: var(--gn-number);
  font-size: 28px;
  font-weight: 400;
  font-variant-numeric: var(--gn-number-variant);
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .hp153-schedule-list span,
.app-view #pwa-home-v153 .hp153-personal-entry b,
.app-view #pwa-home-v153 .hp153-record-text {
  overflow: hidden;
  color: var(--gn-text);
  font-family: var(--gn-font-mincho);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-view #pwa-home-v153 .hp153-personal-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 18px;
  align-items: baseline;
}

.app-view #pwa-home-v153 .hp153-personal-entry small {
  grid-column: 2;
  color: var(--gn-text-quiet);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .08em;
}

.app-view #pwa-home-v153 .hp153-card-link,
.app-view #pwa-home-v153 .hp153-add {
  display: inline-flex;
  min-height: var(--gn-control-height);
  margin: 12px 0 0;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gn-text-muted);
  -webkit-text-fill-color: currentColor;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .08em;
  text-align: left;
  appearance: none;
}

.app-view #pwa-home-v153 .hp153-card-head > .hp153-card-link,
.app-view #pwa-home-v153 .hp153-card-head > .hp153-add {
  margin: 0;
}

.app-view #pwa-home-v153 .hp153-record-type {
  display: none;
}

.app-view #pwa-home-v153 .hp153-empty {
  color: var(--gn-text-muted);
  font-family: var(--gn-font-sans);
  font-size: 12px;
  letter-spacing: 0;
}

.app-view #pwa-home-v153 :is(button, a):focus-visible {
  outline: 3px solid var(--gn-accent);
  outline-offset: 3px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .app-view #pwa-home-v153 :is(.gn170-metric, .hp153-photo-edit, .hp153-bell, .gn170-site-option-selected) {
    background: var(--gn-chip-base);
  }
}

@media (max-width: 374px) {
  .app-view #pwa-home-v153 .gn170-hero-content {
    padding-right: 22px;
    padding-left: 22px;
  }

  .app-view #pwa-home-v153 .hp153-clock {
    font-size: 104px;
  }

  .app-view #pwa-home-v153 .gn170-metric {
    gap: 4px;
    padding-inline: 6px;
  }

  .app-view #pwa-home-v153 .gn170-metric dt {
    font-size: 7.5px;
  }

  .app-view #pwa-home-v153 .gn170-metric dd {
    font-size: 11px;
  }

  .app-view #pwa-home-v153 .gn170-primary-wrap,
  .app-view #pwa-home-v153 .gn170-site-rail-list {
    padding-right: 22px;
    padding-left: 22px;
  }

  .app-view #pwa-home-v153 .gn170-editorial-section,
  .app-view #pwa-home-v153 .hp153-summary-grid,
  .app-view #pwa-home-v153 .hp153-lower-grid,
  .app-view #pwa-home-v153 .gn170-site-rail-heading {
    margin-right: 22px;
    margin-left: 22px;
  }
}

@media (prefers-color-scheme: dark) and (prefers-color-scheme: light) {
  .app-view.hp153-installed.hp153-home-active,
  .app-view #pwa-home-v153.gn170-home,
  .app-view #pwa-home-v153 .gn170-home-sheet,
  .app-view #pwa-home-v153 .hp153-card {
    background: var(--gn-surface);
    color: var(--gn-text);
  }

  .app-view #pwa-home-v153 .gn170-hero-shade {
    background:
      linear-gradient(to bottom, rgb(10 37 64 / 64%) 0%, rgb(10 37 64 / 22%) 26%, rgb(10 37 64 / 78%) 70%, #06172a 100%),
      linear-gradient(var(--gn-photo-overlay), var(--gn-photo-overlay));
  }

  .app-view #pwa-home-v153 .hp153-punch {
    box-shadow: 0 20px 46px rgb(0 0 0 / 52%), 0 4px 14px rgb(0 0 0 / 34%);
  }

  .app-view #pwa-home-v153 .gn170-site-option-photo {
    box-shadow: 0 24px 54px rgb(0 0 0 / 42%);
  }

  .app-view #pwa-home-v153 .gn170-site-option-photo::after {
    background:
      linear-gradient(to bottom, transparent 44%, rgb(10 37 64 / 82%) 100%),
      linear-gradient(var(--gn-photo-overlay), var(--gn-photo-overlay));
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-view #pwa-home-v153 *,
  .app-view #pwa-home-v153 *::before,
  .app-view #pwa-home-v153 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
