.gp-card {
  --gp-ink:#19352a;
  --gp-muted:#53695c;
  --gp-border:#d8e8df;
  --gp-green:#006341;
  --gp-tint:#e4f7eb;
  --gp-soft:#f4faf6;
  position:relative; min-width:0; width:100%; color:var(--gp-ink); background:#fff;
  border:1px solid var(--gp-border); border-radius:19px;
  box-shadow:0 3px 14px -8px #0c583438; font:inherit; overflow-wrap:anywhere;
}
.gp-card *, .gp-card *::before, .gp-card *::after {box-sizing:border-box}
.gp-card :is(h2,h3,p) {margin:0}
.gp-card .gp-glyph {width:18px;height:18px;display:block;flex:none;}
.gp-card button, .gp-card summary {font-family:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.gp-button {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:44px;padding:4px 9px;border:0;border-radius:12px;color:inherit;background:transparent;font-size:.875rem;font-weight:600;line-height:1.3;text-align:start;text-decoration:none;cursor:pointer}
.gp-card :is(button,summary):focus-visible {outline:3px solid #16804b;outline-offset:2px}
.gp-card summary {list-style:none;cursor:pointer}
.gp-card summary::-webkit-details-marker {display:none}
.gp-mark {display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:13px;color:#eafff0;background:#08734e;box-shadow:inset 0 0 0 1px #096847}
.gp-mark .gp-glyph {width:24px;height:24px}
.gp-opener {width:100%;min-height:60px;gap:11px;padding:8px 14px;justify-content:flex-start;border-radius:inherit}
.gp-closed-copy {flex:1;min-width:0}
.gp-closed-copy strong {display:block;font-size:.98rem;line-height:1.3}
.gp-closed-copy small {display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--gp-muted);font-size:.78rem;line-height:1.42;font-weight:500}
.gp-opener>.gp-glyph {color:var(--gp-green)}
.gp-header {display:flex;align-items:center;gap:11px;min-height:68px;padding:11px 15px;background:#edf8f0;border-radius:18px 18px 0 0;border-bottom:1px solid var(--gp-border)}
.gp-header>h2 {flex:1;font-size:1.06rem;font-weight:700;letter-spacing:-.02em}
.gp-direction {flex:1;min-width:0}
.gp-direction>h2 {font-size:.72rem;line-height:1.3;letter-spacing:.012em;font-weight:600;color:var(--gp-muted)}
.gp-header .gp-pick-head {display:inline-flex;max-width:100%;align-items:center;justify-content:flex-start;gap:8px;font-size:1.12rem;line-height:1.3;font-weight:700;letter-spacing:-.025em;min-height:31px;padding:0 4px 0 0}
.gp-pick-head>.gp-glyph {width:15px;height:15px;color:var(--gp-green)}
.gp-direction .gp-pick-head::before {content:"";position:absolute;inset:-11px 0 -2px;}
.gp-picker {position:relative;min-width:0}
.gp-pick-head {position:relative;border-radius:8px}
.gp-pick-head>span {min-width:0}
.gp-icon-btn {flex:none;width:44px;height:44px;padding:0;color:var(--gp-muted)}
.gp-icon-btn .gp-glyph {width:17px;height:17px}
.gp-close {margin-right:-5px;color:var(--gp-green)}
.gp-close .gp-glyph, .gp-picker[open]>.gp-pick-head>.gp-glyph:last-child {transform:rotate(180deg)}
.gp-body,.gp-inset {padding:5px 15px 10px}
.gp-goals-bar,.gp-agenda-head,.gp-goal-controls,.gp-goal-tools {display:flex;align-items:center;justify-content:space-between;gap:7px}
.gp-goals-bar {border-bottom:1px solid #e4eee7;padding:3px 0}
.gp-goals-bar>.gp-picker {flex:1}
.gp-goals-bar .gp-pick-head {display:inline-flex;align-items:center;gap:7px;max-width:100%;min-height:44px;font-size:.91rem;font-weight:650;color:var(--gp-ink)}
.gp-goal-symbol {color:var(--gp-green);display:flex;align-items:center}
.gp-goal-name {overflow-wrap:anywhere}
.gp-count,.gp-result-count {display:inline-flex;align-items:center;justify-content:center;color:var(--gp-green);background:var(--gp-tint);border-radius:999px;min-width:21px;min-height:21px;font-size:.73rem;font-weight:700;line-height:1;padding:3px 6px;white-space:nowrap;font-variant-numeric:tabular-nums}
.gp-text-btn,.gp-add,.gp-state-btn {color:var(--gp-green);flex:none}
.gp-text-btn>.gp-glyph,.gp-add>.gp-glyph {width:16px;height:16px}
.gp-text-btn {padding-inline:6px}
.gp-menu {
  position:absolute;top:100%;left:0;z-index:8;min-width:min(220px,100%);width:max-content;max-width:100%;
  max-height:min(320px,45dvh);overflow:auto;padding:5px;border:1px solid #d1e3d8;background:#fff;border-radius:13px;
  box-shadow:0 9px 30px #154b3324;
}
.gp-direction .gp-menu,.gp-goals-bar .gp-menu {min-width:min(258px,100%);max-width:min(100%,340px)}
.gp-menu-title {display:block;padding:5px 8px;font-size:.77rem;color:var(--gp-muted);font-weight:600}
.gp-option {width:100%;justify-content:space-between;text-align:left;overflow-wrap:anywhere;padding:8px 10px;border-radius:9px}
.gp-option[aria-pressed=true] {color:var(--gp-green);background:var(--gp-soft)}
.gp-option.gp-menu-action {justify-content:flex-start;color:var(--gp-green)}
.gp-option[aria-pressed]+.gp-menu-action {border-top:1px solid #e6eee8;margin-top:3px}
.gp-goal-detail {padding:8px 0 3px;border-bottom:1px solid #e4eee7}
.gp-goal-meta {display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;color:var(--gp-muted);font-size:.79rem}
.gp-goal-meta>span {display:inline-flex;align-items:center;gap:4px}
.gp-goal-meta .gp-glyph {width:14px;height:14px}
.gp-goal-meta .gp-late {color:#8a4534}
.gp-goal-tools {gap:0;flex:none}
.gp-state-btn {font-size:.80rem;white-space:nowrap;border-radius:8px;font-weight:600;padding-inline:6px}
.gp-state-btn>.gp-glyph {width:12px;height:12px}
.gp-results {margin:2px 0 4px;background:var(--gp-soft);border-radius:12px}
.gp-results>summary {display:flex;align-items:center;gap:7px;min-height:42px;padding:4px 11px;color:var(--gp-ink);font-size:.86rem;font-weight:650}
.gp-results>summary>.gp-glyph {width:15px;height:15px;margin-left:auto;color:var(--gp-green)}
.gp-results[open]>summary>.gp-glyph,.gp-more[open]>summary>.gp-glyph {transform:rotate(180deg)}
.gp-result-list,.gp-results-foot {padding:0 8px}
.gp-result {display:flex;align-items:center;gap:4px;border-top:1px solid #dce9df}
.gp-result-update {flex:1;justify-content:flex-start;padding:8px 1px;gap:9px}
.gp-result-copy {min-width:0;overflow-wrap:anywhere}
.gp-result-copy strong,.gp-result-copy small,.gp-task-copy strong,.gp-task-copy small {display:block}
.gp-result-copy strong {font-size:.86rem;font-weight:650}
.gp-result-copy small {font-size:.8rem;font-weight:500;color:var(--gp-green);margin-top:2px}
.gp-result-symbol {display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:8px;color:var(--gp-green);background:#e4f1e8}
.gp-result-symbol .gp-glyph {width:14px;height:14px}
.gp-result-symbol.gp-met {color:white;background:var(--gp-green)}
.gp-results-foot {display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.gp-agenda-head {gap:8px;padding:5px 0 1px}
.gp-agenda-head h3 {font-size:1rem;font-weight:700;line-height:1.3;letter-spacing:-.025em}
.gp-add {display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:4px 9px;position:relative;isolation:isolate;font-size:.82rem;font-weight:650;border-radius:12px}
.gp-add::before {content:"";position:absolute;inset:6px 0;z-index:-1;background:var(--gp-tint);border-radius:10px}
.gp-new-task .gp-menu {left:auto;right:0;min-width:min(250px,72vw);width:max-content;max-width:min(320px,76vw)}
.gp-day {display:grid;grid-template-columns:minmax(54px,auto) minmax(0,1fr);align-items:start;border-top:1px solid #e5eee7;padding:4px 0}
.gp-day-button {display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;margin:1px 4px 0 -3px;padding:6px 5px;font-size:.79rem;font-weight:700;white-space:nowrap;color:var(--gp-muted);border-radius:7px}
.gp-day-button small {color:var(--gp-muted);font-size:.71rem;font-weight:500}
.gp-day.gp-current .gp-day-button {color:var(--gp-green);background:var(--gp-tint)}
.gp-day-rows {min-width:0}
.gp-task {display:flex;align-items:center;gap:2px;min-height:46px}
.gp-task+.gp-task {border-top:1px solid #e6eee8}
.gp-check-button {width:44px;flex:0 0 44px;min-height:44px;padding:0}
.gp-check-ring {width:18px;height:18px;border:1.5px solid #87a995;border-radius:50%;display:grid;place-items:center}
.gp-check-ring .gp-glyph {width:13px;height:13px;stroke-width:2.5}
.gp-done .gp-check-ring {color:white;border-color:var(--gp-green);background:var(--gp-green)}
.gp-task-copy {display:block;flex:1;overflow-wrap:anywhere;min-width:0;padding:5px 1px;font-size:.88rem}
.gp-task-copy strong {font-weight:650;line-height:1.34}
.gp-task-copy small {color:var(--gp-muted);font-size:.75rem;font-weight:450;line-height:1.4;margin-top:2px}
.gp-done .gp-task-copy strong {color:var(--gp-muted);text-decoration:line-through}
.gp-shift {color:var(--gp-green);font-size:.76rem;white-space:nowrap;flex:none;margin-right:-3px;padding:4px 6px;min-width:48px}
.gp-more {border-top:1px solid #e5eee7}
.gp-more>summary {display:flex;align-items:center;gap:7px;color:var(--gp-muted);font-size:.81rem;font-weight:600;min-height:44px}
.gp-more>summary .gp-glyph {width:14px;height:14px}
.gp-card .gp-empty {color:var(--gp-muted);padding:7px 1px 11px;font-size:.88rem}
@media(hover:hover) {
  .gp-card :is(.gp-button,.gp-picker>summary,.gp-results>summary,.gp-more>summary):hover {background:#eaf5ed}
}
@media(max-width:600px) {
  .gp-card {border-radius:15px}
  .gp-header {padding:8px 11px;border-radius:14px 14px 0 0;min-height:58px}
  .gp-body,.gp-inset {padding-inline:11px}
  .gp-mark {width:35px;height:35px;flex-basis:35px;border-radius:11px}
  .gp-mark .gp-glyph {width:21px;height:21px}
  .gp-opener {min-height:54px;padding:6px 10px}
  .gp-goal-controls {flex-wrap:wrap}
  .gp-day {grid-template-columns:52px minmax(0,1fr)}
  .gp-check-button {width:44px;flex-basis:44px;margin-left:-6px;margin-right:-3px}
}
@media (max-width:360px) {
  .gp-day {grid-template-columns:45px minmax(0,1fr)}
  .gp-goal-tools {gap:0}
}
@media(prefers-reduced-motion:no-preference) {
  .gp-button,.gp-card summary {transition:background-color .12s ease-out}
}

.gp-card .gp-schedule-feedback {display:flex;align-items:flex-start;gap:7px;color:#345c45;background:#edf6f0;padding:8px 10px;margin:5px 0;border-radius:10px;font-size:.82rem;line-height:1.38;overflow-wrap:anywhere}
.gp-schedule-feedback .gp-glyph {flex:none;width:16px;height:16px;margin-top:1px}
