.gm-page {
  --gm-ink: #19392c;
  --gm-muted: #5f6b61;
  --gm-line: #dce0d5;
  --gm-lime: #dcf399;
  display: grid;
  gap: 20px;
  min-width: 0;
  color: var(--gm-ink);
}
.gm-page *, .gm-page *::before, .gm-page *::after { box-sizing: border-box; }
.gm-page [hidden] { display: none !important; }
.gm-page h1, .gm-page h2, .gm-page p { margin: 0; }
.gm-page-head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 750; }
.gm-page-head p, .gm-card > p { color: var(--gm-muted); font-size: .94rem; line-height: 1.55; }
.gm-page-head p { margin-top: 8px; }
.gm-page h2 { font-size: 1.31rem; line-height: 1.22; letter-spacing: -.033em; }
.gm-page button, .gm-page input, .gm-page select, .gm-page textarea { font: inherit; }
.gm-page button, .gm-page select, .gm-page summary { cursor: pointer; }
.gm-page :focus-visible { outline: 3px solid #5c835c; outline-offset: 3px; }
.gm-connect :focus-visible { outline-color: var(--gm-lime); }
.gm-connect {
  display: flex; align-items: flex-start; gap: clamp(15px, 3vw, 30px);
  padding: clamp(22px, 4vw, 36px); border-radius: 19px;
  background: #213e30; color: #fcfff6;
}
.gm-watch-icon, .gm-symbol, .gm-row-icon { display: inline-grid; flex: none; place-items: center; border-radius: 12px; }
.gm-watch-icon { width: 62px; height: 62px; background: #365441; color: var(--gm-lime); }
.gm-connect-content { min-width: 0; flex: 1; }
.gm-connect h2 { margin-bottom: 6px; font-size: clamp(1.45rem, 3vw, 1.85rem); }
.gm-connect-content > p { max-width: 57ch; color: #e0e9da; line-height: 1.5; }
.gm-connect-content > :last-child:not(p), .gm-connect-content .gm-connection-state { margin-top: 17px; }
.gm-connection-state { display: flex; align-items: center; gap: 8px; font-size: .89rem; }
.gm-key-form { display: grid; gap: 10px; max-width: 480px; }
.gm-key-form > small, .gm-key-form .gm-remember-key small, .gm-remembered-key p { color: #e1ead8; line-height: 1.45; }
.gm-key-form a { color: var(--gm-lime); }
.gm-key-form .gm-remember-key { align-items: flex-start; font-size: .9rem; }
.gm-key-form .gm-remember-key input { margin: 1px 0 0; accent-color: var(--gm-lime); }
.gm-remembered-key { display: grid; gap: 8px; font-size: .9rem; }
.gm-page a { font-weight: 650; text-underline-offset: 3px; }
.gm-page a svg { vertical-align: middle; }
.gm-page a.gm-btn { text-decoration: none; }
.gm-label { display: grid; gap: 6px; min-width: 0; font-size: .83rem; font-weight: 650; line-height: 1.4; }
.gm-label input, .gm-label select, .gm-label textarea {
  width: 100%; min-width: 0; min-height: 43px; border: 1px solid #cfd6ca;
  border-radius: 9px; padding: 9px 10px; background: #fff; color: #203a2a;
  font-size: .94rem; font-weight: 450;
}
.gm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: fit-content; min-height: 41px; max-width: 100%; padding: 9px 15px;
  border: 1px solid transparent; border-radius: 9px; font-size: .9rem !important;
  line-height: 1.2; font-weight: 660 !important; text-align: center; cursor: pointer;
}
.gm-page button:disabled, .gm-page button[aria-disabled="true"] { opacity: .55; cursor: default; }
.gm-primary { background: #254331; color: #fbfff7; }
.gm-primary:hover { background: #33583c; }
.gm-lime { background: var(--gm-lime); color: #263e20; }
.gm-lime:hover { background: #e8ffb2; }
.gm-link-light { background: transparent; color: #eef3e6; }
.gm-secondary { background: #fff; color: var(--gm-ink); border-color: var(--gm-line); }
.gm-secondary:hover { background: #f0f4eb; }
.gm-remove { background: transparent; color: #8b3f36; }
.gm-remove:hover { background: #f8ebe5; }
.gm-danger { background: #8b3f36; color: #fff; }
.gm-danger:hover { background: #713027; }
.gm-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gm-feedback { padding: 12px 15px; border: 1px solid #c6d6b8; border-radius: 10px; background: #eef5e7; font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
.gm-feedback[data-warning="true"] { border-color: #e3c9a9; color: #6f5027; background: #fff5e7; }
.gm-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.gm-card { min-width: 0; padding: clamp(18px, 3vw, 26px); border-radius: 16px; background: #fffefa; border: 1px solid var(--gm-line); }
.gm-tools .gm-card { display: flex; align-items: flex-start; flex-direction: column; }
.gm-tools .gm-card > .gm-label { width: 100%; margin: auto 0 10px; padding-top: 13px; }
.gm-tools .gm-card > p { margin-top: 7px; }
.gm-symbol { width: 43px; height: 43px; margin-bottom: 15px; }
.gm-mint { background: #e5edda; color: #3f6044; }
.gm-lilac { background: #eae5f2; color: #625574; }
.gm-file-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: auto; padding-top: 18px; }
.gm-file-note { color: var(--gm-muted); font-size: .81rem; }
.gm-file-pick { position: relative; overflow: hidden; }
.gm-file-pick:focus-within { outline: 3px solid #5c835c; outline-offset: 3px; }
.gm-file-pick input { position: absolute; inset: 0; height: 100%; width: 100%; opacity: 0; cursor: pointer; }
.gm-wellness { display: grid; gap: 8px; }
.gm-wellness .gm-file-pick:has(input:disabled) { opacity: .55; cursor: default; }
.gm-wellness .gm-file-pick input:disabled { cursor: default; }
.gm-wellness h2 { scroll-margin-top: 80px; }
.gm-wellness h3 { margin: 0; font-size: 1rem; }
.gm-wellness [data-gm-wellness-controls] { display: grid; gap: 12px; }
.gm-wellness .gm-key-form .gm-remember-key small { color: var(--gm-muted); }
.gm-wellness .gm-key-form .gm-remember-key input { accent-color: #355439; }
.gm-wellness [data-gm-wellness-controls] p:not(.gm-feedback) { color: var(--gm-muted); font-size: .89rem; line-height: 1.5; }
.gm-wellness a:not(.gm-btn) { color: #34523c; }
.gm-wellness-options { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
.gm-wellness-options legend { padding: 0; font-size: .89rem; font-weight: 650; }
.gm-wellness-options .gm-check { min-height: 44px; }
.gm-wellness-options:disabled { opacity: .7; }
.gm-wellness-actions [data-gm-wellness-web] { display: contents; }
.gm-wellness-actions :is(.gm-key-form, .gm-connection-state) { flex: 0 0 100%; min-width: 0; }
.gm-wellness-actions .gm-btn { min-height: 44px; padding-inline: 12px; }
.gm-diary-link, .gm-wellness-diary { display: inline-flex; align-items: center; min-height: 44px; gap: 4px; padding-inline: 6px; font-size: .89rem; }
.gm-diary-link { width: fit-content; border: 0; background: transparent; font-weight: 650; color: #34523c; text-decoration: underline; text-underline-offset: .18em; }
.gm-diary-link svg, .gm-wellness-diary svg { flex: none; }
.gm-wellness-preview { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--gm-line); border-radius: 10px; background: #f4f7ef; }
.gm-wellness-reviewed { font-size: .89rem; }
.gm-wellness-reviewed ul { display: grid; gap: 4px 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); max-height: 12rem; margin: 7px 0 0; padding: 0; overflow: auto; list-style: none; }
.gm-wellness-reviewed li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 5px 0; border-bottom: 1px solid var(--gm-line); }
.gm-wellness [data-gm-wellness-feedback]:has(> [hidden]) { display: none; }
.gm-wellness .gm-help { margin-top: 0; }
.gm-wellness code { overflow-wrap: anywhere; }
.gm-wellness-history { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--gm-line); }
.gm-wellness-history ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.gm-wellness-history li { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--gm-line); font-size: .89rem; }
.gm-wellness-history time { color: var(--gm-muted); }
.gm-help { width: 100%; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--gm-line); font-size: .87rem; line-height: 1.5; }
.gm-help summary { color: #3b5945; font-weight: 600; }
.gm-help p { margin-top: 7px; color: var(--gm-muted); }
.gm-help a { color: #34523c; }
.gm-history > p, .gm-review > p { margin-top: 7px; }
.gm-review-rows { max-height: 33rem; overflow: auto; margin: 14px 0; }
.gm-review-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--gm-line); }
.gm-review-fields { display: flex; gap: 8px; flex-wrap: wrap; }
.gm-review-fields > .gm-label { flex: 1 1 150px; }
.gm-check { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gm-check input { width: 18px; height: 18px; flex: none; accent-color: #355439; }
.gm-check strong, .gm-row-text strong { display: block; font-size: .96rem; overflow-wrap: anywhere; }
.gm-check small, .gm-row-text small { display: block; margin-top: 3px; color: var(--gm-muted); font-size: .82rem; }
.gm-row-icon { width: 38px; height: 38px; }
.gm-history-edit { display: grid; gap: 10px; padding: 12px 0 2px; }
.gm-history-edit p { font-size: .86rem; color: var(--gm-muted); }
.gm-history > .gm-btn { margin-top: 16px; }
.gm-calendar-note { display: flex; align-items: flex-start; gap: 9px; color: var(--gm-muted); font-size: .83rem; line-height: 1.5; }
.gm-calendar-note svg { flex-shrink: 0; margin-top: 1px; }
@media (max-width: 720px) {
  .gm-tools { grid-template-columns: minmax(0, 1fr); }
  .gm-review-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 480px) {
  .gm-page { gap: 14px; }
  .gm-connect { padding: 20px 16px; gap: 12px; }
  .gm-watch-icon { width: 38px; height: 42px; border-radius: 9px; }
  .gm-watch-icon svg { width: 24px; }
  .gm-key-form input, .gm-label select { font-size: 16px; }
  .gm-actions .gm-btn { padding-inline: 12px; }
}

.gm-once { margin-top: 21px; padding-top: 16px; border-top: 1px solid #57705b; }
.gm-once h3 { margin: 0 0 5px; font-size: 1rem; }
.gm-once > p { color: #e0e9da; font-size: .9rem; line-height: 1.5; }
.gm-once > .gm-btn, .gm-once > .gm-key-form, .gm-once > .gm-remembered-key { margin-top: 12px; }
.gm-connect-content > [data-garmin-connection]:not(:empty) { margin-top: 12px; }
.gm-suunto-connection { display: grid; justify-items: start; gap: 11px; color: #e0e9da; line-height: 1.5; }
.gm-suunto-import > p, .gm-suunto-import > .gm-actions { margin-top: 10px; }
.gm-suunto-import a { color: #34523c; }
.gm-log-head, .gm-log-link { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.gm-log-head { align-items: flex-start; }
.gm-log-actions { align-items: flex-start; }
.gm-import-tools { position: relative; }
.gm-import-tools summary { list-style: none; }
.gm-import-tools summary::-webkit-details-marker { display: none; }
.gm-import-tools[open] summary svg:last-child { transform: rotate(180deg); }
.gm-import-menu {
  position: absolute; z-index: 2; top: calc(100% + 7px); right: 0; display: grid; gap: 6px;
  min-width: 180px; padding: 7px; border: 1px solid var(--gm-line); border-radius: 11px;
  background: #fffefa; box-shadow: 0 8px 18px #19392c1c;
}
.gm-import-menu .gm-btn { width: 100%; min-height: 38px; white-space: nowrap; }
.gm-log-link p { margin-top: 5px; color: var(--gm-muted); font-size: .9rem; }
.gm-demo-card { background: #f8f6fb; border-color: #e2dbea; }
.gm-demo-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px;
}
.gm-demo-head p { margin-top: 5px; color: var(--gm-muted); font-size: .9rem; overflow-wrap: anywhere; }
.gm-demo-head .gm-chat-link { min-height: 44px; }
.gm-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.gm-section-head .gm-label { display: flex; align-items: center; gap: 8px; }
.gm-section-head select { width: auto; min-height: 38px; }
.gm-log-day { margin-top: 19px; }
.gm-log-day h3 { margin: 0 0 7px; font-size: .8rem; font-weight: 650; color: var(--gm-muted); }
.gm-log-day time { text-transform: capitalize; }
.gm-log-rows { border: 1px solid var(--gm-line); border-radius: 11px; }
.gm-log-row + .gm-log-row { border-top: 1px solid var(--gm-line); }
.gm-log-summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 12px; min-height: 61px; padding: 10px 13px; border-radius: 10px; list-style: none;
}
.gm-log-summary::-webkit-details-marker { display: none; }
.gm-log-summary::marker { content: ''; }
.gm-log-summary:hover, .gm-log-row[open] > .gm-log-summary { background: #f4f6ee; }
.gm-row-text { line-height: 1.32; overflow-wrap: anywhere; }
.gm-log-chevron { display: grid; color: var(--gm-muted); }
.gm-log-row[open] > .gm-log-summary .gm-log-chevron { transform: rotate(180deg); }
.gm-log-details { padding: 12px 13px 15px; }
.gm-log-details h4 { margin: 0; font-size: .93rem; }
.gm-log-details .gm-linked, .gm-log-details .gm-imported-meta, .gm-planned-detail p {
  color: var(--gm-muted); font-size: .86rem; line-height: 1.45; overflow-wrap: anywhere;
}
.gm-log-details .gm-linked { color: #367042; }
.gm-log-details .gm-linked svg { vertical-align: middle; }
.gm-log-details p + .gm-actions { margin-top: 9px; }
.gm-lift-preview {
  display: grid; gap: 7px; list-style: none; margin: 12px 0 0; padding: 0;
  font-size: .86rem; line-height: 1.35;
}
.gm-lift-preview li { display: flex; justify-content: space-between; gap: 8px; overflow-wrap: anywhere; }
.gm-lift-preview li span:last-child { color: var(--gm-muted); white-space: nowrap; }
.gm-linked-details { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--gm-line); }
.gm-linked-details h4, .gm-planned-detail h4 { margin-bottom: 7px; }
.gm-page .gm-chat-link { background: #e5edda; color: #2b4c36; }
.gm-page .gm-chat-link:hover { background: #d9e6cb; }
.gm-log-remove { margin-top: 12px; border-top: 1px solid var(--gm-line); padding-top: 6px; }
.gm-log-remove .gm-btn { padding-inline: 9px; }
.gm-remove-dialog, .gm-manual-dialog {
  width: min(430px, calc(100% - 28px)); padding: clamp(16px, 4vw, 22px); border: 1px solid var(--gm-line);
  border-radius: 15px; background: #fffefa; color: var(--gm-ink); box-shadow: 0 18px 56px #14271f38;
}
.gm-manual-dialog { width: min(540px, calc(100% - 28px)); max-height: calc(100% - 28px); }
.gm-remove-dialog::backdrop, .gm-manual-dialog::backdrop { background: #172b22a8; }
.gm-remove-dialog form, .gm-manual-dialog form { display: grid; gap: 12px; overflow-wrap: anywhere; }
.gm-remove-dialog p { color: var(--gm-muted); font-size: .93rem; line-height: 1.5; }
.gm-remove-dialog .gm-actions, .gm-manual-dialog .gm-actions { justify-content: flex-end; margin-top: 3px; }
.gm-manual-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gm-manual-dialog textarea { resize: vertical; }
.gm-manual-metrics > summary { color: #3b5945; font-size: .85rem; font-weight: 650; }
.gm-manual-metrics > .gm-manual-fields { margin-top: 8px; }
.gm-activity-notes { display: grid; gap: 5px; margin-top: 12px; }
.gm-activity-notes p { color: var(--gm-muted); font-size: .9rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.gm-review fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.gm-review-fields p { color: var(--gm-muted); font-size: .85rem; }
.gm-file-pick:has(input:disabled) { opacity: .55; cursor: default; }
.gm-file-pick input:disabled { cursor: default; }
.gm-edit-fields { display: grid; grid-template-columns: 1.2fr minmax(100px, .65fr) minmax(0, 1.35fr); gap: 9px; }
.gm-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 124px), 1fr));
  gap: 7px;
  margin: 13px 0 0;
  color: #19392c;
}
.gm-metrics div { min-width: 0; padding: 8px 10px; border-radius: 8px; background: #eff3e9; }
.gm-metrics dt { color: #52675a; font-size: .74rem; line-height: 1.25; }
.gm-metrics dd { margin: 4px 0 0; font-size: .92rem; font-weight: 690; line-height: 1.22; overflow-wrap: anywhere; }
.gm-originals { display: grid; gap: 7px; list-style: none; margin: 12px 0 0; padding: 0; }
.gm-originals li { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 8px 9px; border: 1px solid var(--gm-line); border-radius: 8px; }
.gm-originals li > div:first-child { min-width: 0; font-size: .87rem; overflow-wrap: anywhere; }
.gm-originals small { display: block; margin-top: 3px; color: var(--gm-muted); font-size: .82rem; }
.gm-originals .gm-btn { min-height: 37px; padding: 7px 10px; }

@media (max-width: 620px) {
  .gm-edit-fields { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gm-log-head { gap: 10px; }
  .gm-import-tools summary { padding-inline: 9px; gap: 5px; white-space: nowrap; }
  .gm-section-head .gm-label { display: grid; gap: 4px; }
  .gm-log-summary { gap: 9px; padding-inline: 10px; }
  .gm-log-summary .gm-row-icon { width: 34px; height: 34px; border-radius: 9px; }
  .gm-log-details { padding-inline: 10px; }
  .gm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-metrics div { padding: 8px; }
  .gm-edit-fields input, .gm-manual-dialog input, .gm-manual-dialog textarea { font-size: 16px; }
}
.gm-review-metrics { margin-top: 6px; font-size: .82rem; color: var(--gm-muted); }
.gm-review-metrics .gm-metrics { margin-top: 8px; }
.gm-activity-feedback { margin-top: 12px; }
.gm-activity-feedback > summary { color: #3b5945; font-weight: 600; }
.gm-activity-feedback .training-feedback { margin-top: 8px; }
.gm-exercise-sets ol {
  max-height: 16rem;
  overflow: auto;
  margin: 8px 0;
  padding: 0 0 0 1.5rem;
}
.gm-exercise-sets li { padding: 4px 0; overflow-wrap: anywhere; }
.gm-exercise-sets li span { display: block; }
