/* NOTE_GROWTH_20261023; scoped to preserve notes, folders and editor controls. */
.growth-card {margin:12px 24px;padding:14px 16px;border:1px solid #e1e7f0;border-radius:12px;background:#fff;color:#30445f;font:13px/1.5 Arial,"Microsoft YaHei",sans-serif;overflow-wrap:anywhere}
.growth-card * {box-sizing:border-box}
.growth-card button,.growth-card input,.growth-card textarea,.growth-card select {font:inherit}
.growth-card button {cursor:pointer;border:1px solid #dce4ef;background:#fff;color:#486184;border-radius:7px;padding:6px 10px;min-height:34px}
.growth-card button:hover {background:#f0f5ff}
.growth-card button:disabled {cursor:default;opacity:.48}
.growth-card button:focus-visible,.growth-card summary:focus-visible,.growth-card input:focus-visible {outline:2px solid #557ed4;outline-offset:2px}
.growth-card .growth-primary {background:#436cc8;border-color:#436cc8;color:white}
.growth-top {display:flex;justify-content:space-between;align-items:center;gap:12px}
.growth-top strong {font-size:16px;letter-spacing:.3px}
.growth-subtitle {display:block;color:#8290a4;font-size:12px;margin-top:2px}
.growth-progress-row {display:flex;align-items:center;gap:12px;margin-top:10px;font-variant-numeric:tabular-nums}
.growth-progress-row span {white-space:nowrap}
.growth-progress-row progress {flex:1;width:0;height:6px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#edf1f7;accent-color:#668dcc}
.growth-progress-row progress::-webkit-progress-bar {background:#edf1f7}
.growth-progress-row progress::-webkit-progress-value {background:#668dcc;border-radius:8px}
.growth-progress-row progress::-moz-progress-bar {background:#668dcc;border-radius:8px}
.growth-stats {display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:#78889e;margin-top:7px}
.growth-card .growth-award-badge {font-size:12px;min-height:28px;padding:3px 8px;background:#f5f0e6;color:#8b6b32;border-color:#ede2cb}
.growth-nav {display:flex;gap:12px;margin-top:8px}
.growth-footer {display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;margin-top:7px}
.growth-footer .growth-nav,.growth-footer .growth-others {margin-top:0}
.growth-nav button {font-size:12px;border:0;padding:0;min-height:30px;background:transparent}
.growth-status {font-size:12px;color:#6b8199;margin:5px 0 0}
.growth-status:empty {display:none}
.growth-status[data-error=true] {color:#a44747}
.growth-others {font-size:12px;color:#78889e;margin-top:4px}
.growth-others summary {cursor:pointer;min-height:28px;display:list-item}
.growth-others .note-countdowns {padding:10px 0;border-bottom:0}
.growth-panel {border-top:1px solid #edf0f5;margin-top:8px;padding-top:12px;max-width:740px}
.growth-card h3 {font-size:14px;margin:0 0 10px}
.growth-muted {font-size:12px;color:#8090a5;margin:8px 0}
.growth-checks {margin-top:10px}
.growth-check {display:flex;gap:10px;align-items:flex-start;padding:9px 0;cursor:pointer}
.growth-check input {flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:#557dc6;cursor:pointer}
.growth-check strong {display:block;font-size:13px}
.growth-check small {display:block;color:#7c8ba0;font-size:12px;line-height:1.65;margin-top:2px}
.growth-phase {padding:10px 12px;background:#f6f8fc;border-radius:8px;margin:8px 0;color:#6d7e94;font-size:12px}
.growth-phase p {margin:4px 0}
.growth-field {display:grid;gap:5px;margin:10px 0;font-size:12px;color:#61738e}
.growth-field input,.growth-field textarea,.growth-card select {width:100%;min-width:0;border:1px solid #dce4ef;border-radius:7px;padding:8px 10px;background:white;color:#30445f;font-size:16px}
.growth-field textarea {resize:vertical}
.growth-month {display:flex;justify-content:space-between;align-items:center;margin:12px 0;gap:10px}
.growth-calendar {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.growth-calendar>small {color:#8b98a9;padding:4px}
.growth-calendar button {padding:5px 0;min-width:0;min-height:48px;font-variant-numeric:tabular-nums;color:#54657d}
.growth-calendar button small {display:block;font-size:10px;line-height:1.3}
.growth-calendar button[data-grade=excellent] {background:#e8f4ed;border-color:#d3e9dc;color:#477861}
.growth-calendar button[data-grade=pass] {background:#edf3ff;border-color:#dce6fa;color:#4d6d9e}
.growth-calendar button[data-grade=low] {background:#f6f0e7;border-color:#eee2cf;color:#8b785a}
.growth-calendar button[aria-pressed=true] {outline:2px solid #668dcc;outline-offset:0}
.growth-calendar button[aria-current=date] {font-weight:700;text-decoration:underline;text-underline-offset:3px}
.growth-reward-row {display:flex;flex-wrap:wrap;gap:5px 12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f5}
.growth-reward-row strong {font-size:13px}
.growth-reward-row small {width:100%;font-size:12px;color:#8491a3}
.growth-card details>summary {cursor:pointer;padding:6px 0}
@media(max-width:700px){.growth-card{margin:9px 10px;padding:11px 12px}.growth-top strong{font-size:15px}.growth-top{gap:8px}.growth-progress-row{gap:8px;font-size:12px}.growth-stats{gap:8px 12px}.growth-calendar{gap:3px}.growth-calendar button{min-height:45px}.growth-nav{gap:14px}.growth-check{padding:8px 0}.growth-panel{padding-top:10px}}

/* GROWTH_CHART_20261107 */
.growth-card .growth-nav {flex-wrap:wrap;row-gap:0}
.growth-chart-head,.growth-chart-meta,.growth-chart-detail-head {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.growth-chart-head {margin:0 0 10px}
.growth-chart-head>strong {font-size:14px}
.growth-chart-ranges {display:flex;gap:4px}
.growth-chart-ranges button {min-height:30px;padding:3px 9px;font-size:12px}
.growth-chart-ranges button[aria-pressed=true] {background:#eef3fb;color:#3c63a1;border-color:#cfdbed}
.growth-chart-meta {font-size:11px;color:#8290a2;margin:12px 0 6px;font-variant-numeric:tabular-nums}
.growth-chart-meta strong {font-size:12px;color:#5f738e}
.growth-chart-svg {display:block;width:100%;height:176px;overflow:visible;touch-action:pan-y}
.growth-chart-svg text {font-family:Arial,"Microsoft YaHei",sans-serif}
.growth-chart-browse {display:flex;align-items:center;gap:10px;margin:3px 0 9px}
.growth-chart-browse button {flex:0 0 36px;padding:0;min-height:36px;font-size:22px;line-height:1}
.growth-chart-browse input {flex:1;width:0;min-width:0;height:36px;margin:0;accent-color:#6c8ec7;cursor:pointer}
.growth-chart-detail {padding:10px 12px;background:#f7f9fc;border:1px solid #e6ebf2;border-radius:9px}
.growth-chart-detail-head {font-size:12px;color:#63748c;gap:5px 10px}
.growth-chart-detail-head strong {font-size:12px;font-variant-numeric:tabular-nums}
.growth-chart-detail-head button {margin-left:auto;min-height:28px;padding:3px 8px;font-size:11px;background:transparent}
.growth-chart-habits {display:flex;flex-wrap:wrap;gap:5px 14px;margin-top:7px;font-size:11px;color:#8a97a8}
.growth-chart-habits>span {display:inline-flex;align-items:center;gap:4px}
.growth-chart-habits i {font-style:normal;font-weight:700}
.growth-chart-habits [data-done=true] {color:#4a7d67}
.growth-chart-habits [data-done=false] {color:#8b929f}
.growth-card .growth-chart-heat {display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:3px;margin-top:8px}
.growth-card .growth-chart-heat button {width:100%;min-width:0;min-height:0;padding:0;aspect-ratio:1;border-radius:3px;border:1px solid transparent;opacity:1}
.growth-chart-heat button[data-tone=excellent],.growth-chart-legend i[data-tone=excellent] {background:#42876a}
.growth-chart-heat button[data-tone=pass],.growth-chart-legend i[data-tone=pass] {background:#5c83c8}
.growth-chart-heat button[data-tone=low],.growth-chart-legend i[data-tone=low] {background:#c9ab7b}
.growth-chart-heat button[data-tone=empty],.growth-chart-legend i[data-tone=empty] {background:#dce2e9}
.growth-chart-heat button[data-tone=future],.growth-chart-legend i[data-tone=future] {background:#f7f8fa;border:1px dashed #e0e5eb}
.growth-card .growth-chart-heat button[aria-pressed=true] {outline:2px solid #2c4669;outline-offset:1px}
.growth-card .growth-chart-heat button[data-today=true] {box-shadow:inset 0 0 0 1px #243f64}
.growth-chart-legend {display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:9px;font-size:10px;color:#8793a4}
.growth-chart-legend span {display:inline-flex;align-items:center;gap:4px}
.growth-chart-legend i {display:inline-block;width:8px;height:8px;border-radius:2px}
@media(max-width:420px){.growth-chart-meta{font-size:10px}.growth-chart-heat{gap:2px!important}.growth-chart-habits{gap:5px 10px}.growth-chart-detail{padding:8px 9px}.growth-chart-legend{gap:6px 10px}}
