/* Pre-Alpha Home hierarchy cleanup.
   Visual reorganisation only: primary practice -> eligible Alpha -> quick alternatives -> routines -> recent practice. */

.gc-home-page .gc-home-hero--compact{min-height:0;padding:6px 0 18px}
.gc-home-page .gc-home-hero--compact .gc-kicker{margin-bottom:5px}
.gc-home-page .gc-home-hero--compact .gc-heading{max-width:760px;font-size:clamp(36px,4vw,54px);line-height:.98;letter-spacing:-.045em}

/* Start/Log are recurring actions; the dashboard is reserved for the primary path. */
.gc-home-page .gc-home-dashboard{display:block;margin-top:10px}
.gc-home-page .gc-home-dashboard>div:first-child{width:100%}
.gc-home-page .gc-home-dashboard__side:empty{display:none!important}
.gc-home-page .gc-home-pickup--hero{height:auto}
.gc-home-page .gc-home-pickup--hero .gc-card__body{padding:20px 22px}

.gc-home-quick-actions{margin-top:12px}
.gc-home-quick-actions__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gc-home-quick-actions .gc-home-start-card,
.gc-home-quick-actions .gc-log-practice-card{width:100%;min-height:76px;height:auto;padding:14px 17px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;border-color:rgba(255,255,255,.075);background:rgba(10,27,22,.48);box-shadow:none}
.gc-home-quick-actions .gc-home-start-card:hover,
.gc-home-quick-actions .gc-log-practice-card:hover{background:rgba(13,34,28,.68);border-color:rgba(89,225,176,.2)}
.gc-home-quick-actions .gc-action-icon{width:40px;height:40px;flex-basis:40px}
.gc-home-quick-actions .gc-action-copy strong{font-size:15px;line-height:1.15}
.gc-home-quick-actions .gc-action-copy span{font-size:11.5px;line-height:1.35;color:var(--text-3)}
.gc-home-quick-actions .gc-log-practice-card{grid-template-columns:minmax(0,1fr) auto}

/* An interrupted Free Practice should not offer a competing new Start action. */
.gc-home-page.gc-home--free-recovery .gc-home-start-card{display:none!important}
.gc-home-page.gc-home--free-recovery .gc-home-quick-actions__grid{grid-template-columns:minmax(0,1fr)}
.gc-home-page.gc-home--free-recovery .gc-log-practice-card{max-width:520px}

/* Alpha conversion matters after value, but does not outrank the current practice action. */
.gc-home-page .gc-save-practice{margin-top:12px}
.gc-home-page .gc-save-practice .gc-action-card{min-height:72px;padding:13px 17px;border-color:rgba(89,225,176,.2);background:linear-gradient(100deg,rgba(28,83,65,.32),rgba(10,27,22,.44));box-shadow:none}
.gc-home-page .gc-save-practice .gc-action-copy strong{font-size:15px}
.gc-home-page .gc-save-practice .gc-action-copy span{max-width:680px;font-size:11.5px;line-height:1.35}

/* Operational ordering with tighter section rhythm. */
.gc-home-page .gc-routines-inline{margin-top:24px}
.gc-home-page .gc-recent-section{margin-top:26px}
.gc-home-page .gc-recent-card{box-shadow:none}
.gc-home-page .gc-recent-row{min-height:58px}

/* Routines remain useful but visually quieter than Resume/Start. */
.gc-home-page .gc-routines-inline .gc-routine-quick{background:rgba(9,25,21,.52);border-color:rgba(255,255,255,.07)}
.gc-home-page .gc-routines-inline .gc-routine-quick:hover{background:rgba(12,31,26,.68)}

@media (min-width:1001px){
  .gc-home-page{max-width:1000px}
  .gc-home-page .gc-home-pickup--hero .gc-primary{min-width:170px}
  .gc-home-page .gc-recovery-primary{margin-bottom:0}
}

@media (max-width:700px){
  .gc-home-page .gc-home-hero--compact{padding:2px 0 14px}
  .gc-home-page .gc-home-hero--compact .gc-heading{font-size:36px}
  .gc-home-quick-actions__grid{grid-template-columns:1fr 1fr;gap:8px}
  .gc-home-quick-actions .gc-home-start-card,
  .gc-home-quick-actions .gc-log-practice-card{min-height:78px;padding:13px;grid-template-columns:minmax(0,1fr) auto}
  .gc-home-quick-actions .gc-action-icon{display:none}
  .gc-home-quick-actions .gc-action-copy strong{font-size:14px}
  .gc-home-quick-actions .gc-action-copy span{font-size:11px}
  .gc-home-page.gc-home--free-recovery .gc-home-quick-actions__grid{grid-template-columns:1fr}
  .gc-home-page .gc-save-practice .gc-action-card{padding:14px}
}

.gc-home-page .gc-home-quick-actions__grid>:only-child{grid-column:1/-1;max-width:520px}
.gc-home-page .gc-home-add-item-link{margin:8px 4px 0}
.gc-home-page .gc-home-add-item-link .gc-link{font-size:12px;color:var(--text-3);font-weight:700}
.gc-home-page .gc-home-add-item-link .gc-link:hover{color:var(--accent)}
